pythonPackages.inifile: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 17:25:00 -04:00 committed by Frederik Rietdijk
parent 7a35ae188f
commit 45f47bd75f
2 changed files with 23 additions and 15 deletions

View File

@ -0,0 +1,22 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "inifile";
version = "0.3";
src = fetchPypi {
inherit pname version;
sha256 = "0zgd53czc1irwx6b5zip8xlmyfr40hz2pd498d8yv61znj6lm16h";
};
meta = with stdenv.lib; {
description = "A small INI library for Python";
homepage = "https://github.com/mitsuhiko/python-inifile";
license = licenses.bsd0;
maintainers = with maintainers; [ vozz ];
};
}

View File

@ -2486,21 +2486,7 @@ in {
infoqscraper = callPackage ../development/python-modules/infoqscraper { };
inifile = buildPythonPackage rec {
name = "inifile-0.3";
meta = {
description = "A small INI library for Python";
homepage = "https://github.com/mitsuhiko/python-inifile";
license = "BSD";
maintainers = with maintainers; [ vozz ];
};
src = pkgs.fetchurl {
url = "mirror://pypi/i/inifile/${name}.tar.gz";
sha256 = "0zgd53czc1irwx6b5zip8xlmyfr40hz2pd498d8yv61znj6lm16h";
};
};
inifile = callPackage ../development/python-modules/inifile { };
interruptingcow = callPackage ../development/python-modules/interruptingcow {};