mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
looseversion: init at 1.0.3
This commit is contained in:
parent
f515d4ad45
commit
7509871fea
2 changed files with 31 additions and 0 deletions
29
pkgs/development/python-modules/looseversion/default.nix
Normal file
29
pkgs/development/python-modules/looseversion/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -5742,6 +5742,8 @@ self: super: with self; {
|
||||||
|
|
||||||
loopy = callPackage ../development/python-modules/loopy { };
|
loopy = callPackage ../development/python-modules/loopy { };
|
||||||
|
|
||||||
|
looseversion = callPackage ../development/python-modules/looseversion { };
|
||||||
|
|
||||||
losant-rest = callPackage ../development/python-modules/losant-rest { };
|
losant-rest = callPackage ../development/python-modules/losant-rest { };
|
||||||
|
|
||||||
lrcalc-python = callPackage ../development/python-modules/lrcalc-python { };
|
lrcalc-python = callPackage ../development/python-modules/lrcalc-python { };
|
||||||
|
|
Loading…
Reference in a new issue