12 buildPythonPackage rec {
13 pname = "pip-requirements-parser";
15 format = "setuptools";
17 disabled = pythonOlder "3.6";
19 src = fetchFromGitHub {
22 rev = "refs/tags/v${version}";
23 hash = "sha256-UMrwDXxk+sD3P2jk7s95y4OX6DRBjWWZZ8IhkR6tnZ4=";
28 nativeBuildInputs = [ setuptools-scm ];
30 propagatedBuildInputs = [
35 nativeCheckInputs = [ pytestCheckHook ];
37 pythonImportsCheck = [ "pip_requirements_parser" ];
40 "test_RequirementsFile_to_dict"
41 "test_RequirementsFile_dumps_unparse"
42 "test_legacy_version_is_deprecated"
46 description = "Module to parse pip requirements";
47 homepage = "https://github.com/nexB/pip-requirements-parser";
48 changelog = "https://github.com/nexB/pip-requirements-parser/blob/v${version}/CHANGELOG.rst";
49 license = licenses.mit;
50 maintainers = with maintainers; [ fab ];