pythonPackages.configobj: Move to own file

This commit is contained in:
Elis Hirwing 2018-03-31 19:23:04 +02:00 committed by Frederik Rietdijk
parent ecc939eb19
commit bf363467f0
2 changed files with 24 additions and 21 deletions

View File

@ -0,0 +1,23 @@
{ stdenv, buildPythonPackage, fetchPypi, six }:
buildPythonPackage rec {
pname = "configobj";
version = "5.0.6";
src = fetchPypi {
inherit pname version;
sha256 = "00h9rcmws03xvdlfni11yb60bz3kxfvsj6dg6nrpzj71f03nbxd2";
};
# error: invalid command 'test'
doCheck = false;
propagatedBuildInputs = [ six ];
meta = with stdenv.lib; {
description = "Config file reading, writing and validation";
homepage = https://pypi.python.org/pypi/configobj;
license = licenses.bsd3;
maintainers = with maintainers; [ garbas ];
};
}

View File

@ -1631,27 +1631,7 @@ in {
conda = callPackage ../development/python-modules/conda { };
configobj = buildPythonPackage (rec {
name = "configobj-5.0.6";
src = pkgs.fetchurl {
url = "mirror://pypi/c/configobj/${name}.tar.gz";
sha256 = "a2f5650770e1c87fb335af19a9b7eb73fc05ccf22144eb68db7d00cd2bcb0902";
};
# error: invalid command 'test'
doCheck = false;
propagatedBuildInputs = with self; [ six ];
meta = {
description = "Config file reading, writing and validation";
homepage = https://pypi.python.org/pypi/configobj;
license = licenses.bsd3;
maintainers = with maintainers; [ garbas ];
};
});
configobj = callPackage ../development/python-modules/configobj { };
confluent-kafka = callPackage ../development/python-modules/confluent-kafka {};