mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-27 00:10:12 +00:00
generated using https://git.kybe.xyz/2kybe3/nixpkgs-github-redirect continuation of: #580644
46 lines
901 B
Nix
46 lines
901 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
toml,
|
|
pyyaml,
|
|
packvers,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dparse2";
|
|
version = "0.7.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "aboutcode-org";
|
|
repo = "dparse2";
|
|
tag = version;
|
|
hash = "sha256-JUTL+SVf1RRIXQqwFR7MnExsgGseSiO0a5YzzcqdXHw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
toml
|
|
pyyaml
|
|
packvers
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
disabledTestPaths = [
|
|
# Requires pipenv
|
|
"tests/test_parse.py"
|
|
];
|
|
|
|
pythonImportsCheck = [ "dparse2" ];
|
|
|
|
meta = {
|
|
description = "Module to parse Python dependency files";
|
|
homepage = "https://github.com/aboutcode-org/dparse2";
|
|
changelog = "https://github.com/aboutcode-org/dparse2/blob/${version}/CHANGELOG.rst";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|