My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/dparse2/default.nix

50 lines
837 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, toml
, pyyaml
, packaging
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "dparse2";
version = "0.6.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "nexB";
repo = pname;
rev = version;
hash = "sha256-1tbNW7Gy7gvMnETdAM2ahHiwbhG9qvdYZggia1+7eGo=";
};
propagatedBuildInputs = [
toml
pyyaml
packaging
];
checkInputs = [
pytestCheckHook
];
disabledTestPaths = [
# Requries pipenv
"tests/test_parse.py"
];
pythonImportsCheck = [
"dparse2"
];
meta = with lib; {
description = "Module to parse Python dependency files";
homepage = "https://github.com/nexB/dparse2";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}