Merge pull request #172671 from fabaff/dparse2
python310Packages.dparse2: init at 0.6.1
This commit is contained in:
commit
caca78be0f
50
pkgs/development/python-modules/dparse2/default.nix
Normal file
50
pkgs/development/python-modules/dparse2/default.nix
Normal file
|
@ -0,0 +1,50 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
|
@ -2514,6 +2514,8 @@ in {
|
|||
|
||||
dparse = callPackage ../development/python-modules/dparse { };
|
||||
|
||||
dparse2 = callPackage ../development/python-modules/dparse2 { };
|
||||
|
||||
dpath = callPackage ../development/python-modules/dpath { };
|
||||
|
||||
dpkt = callPackage ../development/python-modules/dpkt { };
|
||||
|
|
Loading…
Reference in a new issue