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