2021-07-24 12:14:16 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytestCheckHook
|
2022-12-02 08:20:57 +00:00
|
|
|
, pythonOlder
|
2021-07-24 12:14:16 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "prefixed";
|
2023-01-20 10:41:00 +00:00
|
|
|
version = "0.6.0";
|
2022-12-02 08:20:57 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2021-07-24 12:14:16 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-01-20 10:41:00 +00:00
|
|
|
hash = "sha256-s5+/rHJhj6HutbP9ntE0HxDdkN91SZy0w4psPvR83ZQ=";
|
2021-07-24 12:14:16 +00:00
|
|
|
};
|
|
|
|
|
2022-12-02 08:20:57 +00:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2021-07-24 12:14:16 +00:00
|
|
|
|
2022-12-02 08:20:57 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"prefixed"
|
|
|
|
];
|
2021-07-24 12:14:16 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Prefixed alternative numeric library";
|
|
|
|
homepage = "https://github.com/Rockhopper-Technologies/prefixed";
|
2022-12-02 08:20:57 +00:00
|
|
|
changelog = "https://github.com/Rockhopper-Technologies/prefixed/releases/tag/${version}";
|
2021-07-24 12:14:16 +00:00
|
|
|
license = with licenses; [ mpl20 ];
|
|
|
|
maintainers = with maintainers; [ veprbl ];
|
|
|
|
};
|
|
|
|
}
|