Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
924 B · 48 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, toml, pyyaml, packvers, pytestCheckHook,}:
buildPythonPackage rec { pname = "dparse2"; version = "0.7.0"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "nexB"; repo = "dparse2"; tag = version; hash = "sha256-JUTL+SVf1RRIXQqwFR7MnExsgGseSiO0a5YzzcqdXHw="; };
propagatedBuildInputs = [ toml pyyaml packvers ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTestPaths = [ # Requires pipenv "tests/test_parse.py" ];
pythonImportsCheck = [ "dparse2" ];
meta = with lib; { description = "Module to parse Python dependency files"; homepage = "https://github.com/nexB/dparse2"; changelog = "https://github.com/nexB/dparse2/blob/${version}/CHANGELOG.rst"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };}