python3.pkgs.requirements-parser: init at 0.2.0
This commit is contained in:
parent
a961ceae54
commit
ad3c61a4f1
2 changed files with 35 additions and 0 deletions
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue