1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 python,
6 six,
7}:
8
9buildPythonPackage rec {
10 pname = "iniparse";
11 version = "0.5";
12 format = "setuptools";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "932e5239d526e7acb504017bb707be67019ac428a6932368e6851691093aa842";
17 };
18
19 checkPhase = ''
20 ${python.interpreter} runtests.py
21 '';
22
23 propagatedBuildInputs = [ six ];
24
25 # Does not install tests
26 doCheck = false;
27
28 meta = with lib; {
29 description = "Accessing and Modifying INI files";
30 homepage = "https://github.com/candlepin/python-iniparse";
31 license = licenses.mit;
32 maintainers = with maintainers; [ danbst ];
33 };
34}