mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
36 lines
756 B
Nix
36 lines
756 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "prefixed";
|
|
version = "0.7.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-C1TRXmAuuK9Kwxsdsho36pXOWJDgdBuw3Z3tSTzvu+k=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|