7d542a9f98
GitOrigin-RevId: b72b8b94cf0c012b0252a9100a636cad69696666
35 lines
750 B
Nix
35 lines
750 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "prefixed";
|
|
version = "0.5.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-sTTXNBNiULF7aO7eZaM3D6sBNEEstmvIvjVo/wW9+OQ=";
|
|
};
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"prefixed"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Prefixed alternative numeric library";
|
|
homepage = "https://github.com/Rockhopper-Technologies/prefixed";
|
|
changelog = "https://github.com/Rockhopper-Technologies/prefixed/releases/tag/${version}";
|
|
license = with licenses; [ mpl20 ];
|
|
maintainers = with maintainers; [ veprbl ];
|
|
};
|
|
}
|