looseversion: init at 1.0.3

This commit is contained in:
Andreas Pelme 2023-02-05 20:36:10 +01:00 committed by Bjørn Forsman
parent f515d4ad45
commit 7509871fea
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "looseversion";
version = "1.0.3";
format = "flit";
src = fetchPypi {
inherit version pname;
sha256 = "sha256-A1KIhg4a/mfWPqnHAN2dCVxyTi5XIqOQKd2RZS1DFu0";
};
nativeCheckInputs = [
pytestCheckHook
];
pytestFlagsArray = [ "tests.py" ];
pythonImportsCheck = [ "looseversion" ];
meta = with lib; {
description = "Version numbering for anarchists and software realists";
homepage = "https://github.com/effigies/looseversion";
license = licenses.psfl;
maintainers = with maintainers; [ pelme ];
};
}

View File

@ -5742,6 +5742,8 @@ self: super: with self; {
loopy = callPackage ../development/python-modules/loopy { };
looseversion = callPackage ../development/python-modules/looseversion { };
losant-rest = callPackage ../development/python-modules/losant-rest { };
lrcalc-python = callPackage ../development/python-modules/lrcalc-python { };