aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/iniparse/default.nix
blob: 1fdae967a42f2eb7799ae8a4bd21376b85b7f5bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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 = "https://github.com/candlepin/python-iniparse";
    license = licenses.mit;
    maintainers = with maintainers; [ danbst ];
  };

}