git.iko.soy/typeable/nixpkgs
on master help sign in
python.pkgs.chainmap: move to separate expression
b01adcewisut hantanong
pkgs/development/python-modules/chainmap/default.nixnew file+22
@@ -0,0 +1,22 @@
1+{ stdenv, buildPythonPackage, fetchPypi }:
2+
3+buildPythonPackage rec {
4+ pname = "chainmap";
5+ version = "1.0.2";
6+ name = "${pname}-${version}";
7+
8+ src = fetchPypi {
9+ inherit pname version;
10+ sha256 = "09h5gq43w516fqswlca0nhmd2q3v8hxq15z4wqrznfwix6ya6pa0";
11+ };
12+
13+ # Requires tox
14+ doCheck = false;
15+
16+ meta = with stdenv.lib; {
17+ description = "Backport/clone of ChainMap";
18+ homepage = "https://bitbucket.org/jeunice/chainmap";
19+ license = licenses.psfl;
20+ maintainers = with maintainers; [ abbradar ];
21+ };
22+}
pkgs/top-level/python-packages.nix+1−18
@@ -621,24 +621,7 @@ in {
621
621
622 chai = callPackage ../development/python-modules/chai { };
622 chai = callPackage ../development/python-modules/chai { };
623
623
624− chainmap = buildPythonPackage rec {
624+ chainmap = callPackage ../development/python-modules/chainmap { };
625− name = "chainmap-1.0.2";
626−
627− src = pkgs.fetchurl {
628− url = "mirror://pypi/c/chainmap/${name}.tar.gz";
629− sha256 = "09h5gq43w516fqswlca0nhmd2q3v8hxq15z4wqrznfwix6ya6pa0";
630− };
631−
632− # Requires tox
633− doCheck = false;
634−
635− meta = {
636− description = "Backport/clone of ChainMap";
637− homepage = "https://bitbucket.org/jeunice/chainmap";
638− license = licenses.psfl;
639− maintainers = with maintainers; [ abbradar ];
640− };
641− };
642
625
643 arelle = callPackage ../development/python-modules/arelle {
626 arelle = callPackage ../development/python-modules/arelle {
644 gui = true;
627 gui = true;