pythonPackages.iniparse: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-15 23:41:48 -04:00
committed by Frederik Rietdijk
parent 202f7192e3
commit 05887b8eed
2 changed files with 31 additions and 23 deletions

View File

@@ -0,0 +1,30 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, python
}:
buildPythonPackage rec {
pname = "iniparse";
version = "0.4";
src = fetchPypi {
inherit pname version;
sha256 = "0m60k46vr03x68jckachzsipav0bwhhnqb8715hm1cngs89fxhdb";
};
checkPhase = ''
${python.interpreter} runtests.py
'';
# Does not install tests
doCheck = false;
meta = with stdenv.lib; {
description = "Accessing and Modifying INI files";
homepage = http://code.google.com/p/iniparse/;
license = licenses.mit;
maintainers = with maintainers; [ danbst ];
};
}