2018-10-16 03:41:48 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, python
|
2020-06-07 13:06:52 +00:00
|
|
|
, six
|
2018-10-16 03:41:48 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "iniparse";
|
2020-06-06 06:47:14 +00:00
|
|
|
version = "0.5";
|
2018-10-16 03:41:48 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 06:47:14 +00:00
|
|
|
sha256 = "932e5239d526e7acb504017bb707be67019ac428a6932368e6851691093aa842";
|
2018-10-16 03:41:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} runtests.py
|
|
|
|
'';
|
|
|
|
|
2020-06-07 13:06:52 +00:00
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
2018-10-16 03:41:48 +00:00
|
|
|
# Does not install tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Accessing and Modifying INI files";
|
2019-12-08 16:50:31 +00:00
|
|
|
homepage = "https://github.com/candlepin/python-iniparse";
|
2018-10-16 03:41:48 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ danbst ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|