depot/third_party/nixpkgs/pkgs/development/python-modules/requirements-parser/default.nix
Default email 2189cff663 Project import generated by Copybara.
GitOrigin-RevId: 1fe6ed37fd9beb92afe90671c0c2a662a03463dd
2021-04-24 22:57:28 -05:00

33 lines
616 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, nose
}:
buildPythonPackage rec {
pname = "requirements-parser";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "5963ee895c2d05ae9f58d3fc641082fb38021618979d6a152b6b1398bd7d4ed4";
};
checkInputs = [
nose
];
checkPhase = ''
nosetests
'';
pythonImportsCheck = [
"requirements"
];
meta = with lib; {
description = "A Pip requirements file parser";
homepage = "https://github.com/davidfischer/requirements-parser";
license = licenses.bsd2;
maintainers = teams.determinatesystems.members;
};
}