5e9e1146e1
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
29 lines
643 B
Nix
29 lines
643 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "looseversion";
|
|
version = "1.3.0";
|
|
format = "flit";
|
|
|
|
src = fetchPypi {
|
|
inherit version pname;
|
|
sha256 = "sha256-695l8/a7lTGoEBbG/vPrlaYRga3Ee3+UnpwOpHkRZp4=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|