forked from mirrors/nixpkgs
python310Packages.packvers: init at 21.5
This commit is contained in:
parent
146d29f75a
commit
dc95c9023a
44
pkgs/development/python-modules/packvers/default.nix
Normal file
44
pkgs/development/python-modules/packvers/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pretend
|
||||
, pyparsing
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "packvers";
|
||||
version = "21.5";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nexB";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-nCSYL0g7mXi9pGFt24pOXbmmYsaRuB+rRZrygf8DTLE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyparsing
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pretend
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"packvers"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module for version handling of modules";
|
||||
homepage = "https://github.com/nexB/dparse2";
|
||||
changelog = "https://github.com/nexB/packvers/blob/${version}/CHANGELOG.rst";
|
||||
license = with licenses; [ asl20 /* and */ bsd2 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -6662,6 +6662,8 @@ self: super: with self; {
|
|||
|
||||
packet-python = callPackage ../development/python-modules/packet-python { };
|
||||
|
||||
packvers = callPackage ../development/python-modules/packvers { };
|
||||
|
||||
pafy = callPackage ../development/python-modules/pafy { };
|
||||
|
||||
pagelabels = callPackage ../development/python-modules/pagelabels { };
|
||||
|
|
Loading…
Reference in a new issue