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