pythonPackages.debian: Move to own file

This commit is contained in:
Elis Hirwing 2018-03-31 12:42:10 +02:00 committed by Frederik Rietdijk
parent 15ae9cfeca
commit adb19caa9d
2 changed files with 15 additions and 10 deletions

View File

@ -0,0 +1,14 @@
{ stdenv, buildPythonPackage, fetchPypi
, chardet, six}:
buildPythonPackage rec {
pname = "python-debian";
version = "0.1.23";
src = fetchPypi {
inherit pname version;
sha256 = "193faznwnjc3n5991wyzim6h9gyq1zxifmfrnpm3avgkh7ahyynh";
};
propagatedBuildInputs = [ chardet six ];
}

View File

@ -1195,16 +1195,7 @@ in {
datadog = callPackage ../development/python-modules/datadog {};
debian = buildPythonPackage rec {
name = "${pname}-${version}";
pname = "python-debian";
version = "0.1.23";
src = pkgs.fetchurl {
url = "mirror://pypi/p/${pname}/${name}.tar.gz";
sha256 = "193faznwnjc3n5991wyzim6h9gyq1zxifmfrnpm3avgkh7ahyynh";
};
propagatedBuildInputs = with self; [ chardet six ];
};
debian = callPackage ../development/python-modules/debian {};
defusedxml = buildPythonPackage rec {
name = "${pname}-${version}";