94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
29 lines
643 B
Nix
29 lines
643 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "looseversion";
|
|
version = "1.1.2";
|
|
format = "flit";
|
|
|
|
src = fetchPypi {
|
|
inherit version pname;
|
|
sha256 = "sha256-lNgL29C21XwRuIYUe6FgH30VMVcWIbgZM7NFN8vkaa0=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|