python310Packages.verspec: init at 0.1.0

This commit is contained in:
Mario Rodas 2023-05-27 04:20:00 +00:00
parent b21becc783
commit 2619e47187
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,42 @@
{ lib
, buildPythonPackage
, fetchPypi
, pretend
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "verspec";
version = "0.1.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-xFBMppeyBWzbS/pxIUYfWg6BgJJVtBwD3aS6gjY3wB4=";
};
nativeCheckInputs = [
pretend
pytestCheckHook
];
disabledTestPaths = [
# Import fail
"test/test_specifiers.py"
];
pythonImportsCheck = [
"verspec"
];
meta = with lib; {
description = "Flexible version handling";
homepage = "https://github.com/jimporter/verspec";
changelog = "https://github.com/jimporter/averspec/releases/tag/v${version}";
license = with licenses; [ bsd2 /* and */ asl20 ];
maintainers = with maintainers; [ marsam ];
};
}

View file

@ -12750,6 +12750,8 @@ self: super: with self; {
versiontools = callPackage ../development/python-modules/versiontools { };
verspec = callPackage ../development/python-modules/verspec { };
vertica-python = callPackage ../development/python-modules/vertica-python { };
veryprettytable = callPackage ../development/python-modules/veryprettytable { };