blob: 3611c1a0bd8c9cd28f57befdb4844898b532ade6 (
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
31
32
33
34
35
36
37
38
39
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytestCheckHook,
packaging,
}:
buildPythonPackage rec {
pname = "requirements-parser";
version = "0.13.0";
pyproject = true;
src = fetchFromGitHub {
owner = "madpah";
repo = "requirements-parser";
tag = "v${version}";
hash = "sha256-AwsLcHjPfP+cYpKCQVgIcyzUhnqeIBJ92QLR48E6EtI=";
};
build-system = [ poetry-core ];
dependencies = [
packaging
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "requirements" ];
meta = {
description = "Pip requirements file parser";
homepage = "https://github.com/davidfischer/requirements-parser";
changelog = "https://github.com/madpah/requirements-parser/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.bsd2;
maintainers = [ ];
};
}
|