depot/third_party/nixpkgs/pkgs/development/python-modules/iniparse/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 lines
584 B
Nix

{ 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 ];
};
}