python3.pkgs.requirements-parser: init at 0.2.0

This commit is contained in:
Cole Helbling 2021-04-17 18:24:30 -07:00
parent a961ceae54
commit ad3c61a4f1
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ 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;
};
}

View file

@ -7398,6 +7398,8 @@ in {
requirements-detector = callPackage ../development/python-modules/requirements-detector { };
requirements-parser = callPackage ../development/python-modules/requirements-parser { };
resampy = callPackage ../development/python-modules/resampy { };
responses = callPackage ../development/python-modules/responses { };