fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
32 lines
751 B
Nix
32 lines
751 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "prefixed";
|
|
version = "0.7.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-0QrJCs/EzBTYLBQIszCy/ahe187CIGqADUOJn4w4UmU=";
|
|
};
|
|
|
|
nativeCheckInputs = [ 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 ];
|
|
};
|
|
}
|