python.pkgs.chainmap: move to separate expression

This commit is contained in:
wisut hantanong 2017-07-28 15:51:59 +07:00
parent 3182658a4f
commit b01adce061
2 changed files with 23 additions and 18 deletions

View File

@ -0,0 +1,22 @@
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "chainmap";
version = "1.0.2";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "09h5gq43w516fqswlca0nhmd2q3v8hxq15z4wqrznfwix6ya6pa0";
};
# Requires tox
doCheck = false;
meta = with stdenv.lib; {
description = "Backport/clone of ChainMap";
homepage = "https://bitbucket.org/jeunice/chainmap";
license = licenses.psfl;
maintainers = with maintainers; [ abbradar ];
};
}

View File

@ -621,24 +621,7 @@ in {
chai = callPackage ../development/python-modules/chai { };
chainmap = buildPythonPackage rec {
name = "chainmap-1.0.2";
src = pkgs.fetchurl {
url = "mirror://pypi/c/chainmap/${name}.tar.gz";
sha256 = "09h5gq43w516fqswlca0nhmd2q3v8hxq15z4wqrznfwix6ya6pa0";
};
# Requires tox
doCheck = false;
meta = {
description = "Backport/clone of ChainMap";
homepage = "https://bitbucket.org/jeunice/chainmap";
license = licenses.psfl;
maintainers = with maintainers; [ abbradar ];
};
};
chainmap = callPackage ../development/python-modules/chainmap { };
arelle = callPackage ../development/python-modules/arelle {
gui = true;