nixpkgs/pkgs/development/python-modules/prefixed/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
756 B
Nix
Raw Normal View History

2021-07-21 02:03:13 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
2021-07-21 02:03:13 +00:00
}:
buildPythonPackage rec {
pname = "prefixed";
version = "0.7.0";
format = "setuptools";
disabled = pythonOlder "3.7";
2021-07-21 02:03:13 +00:00
src = fetchPypi {
inherit pname version;
hash = "sha256-C1TRXmAuuK9Kwxsdsho36pXOWJDgdBuw3Z3tSTzvu+k=";
2021-07-21 02:03:13 +00:00
};
nativeCheckInputs = [
pytestCheckHook
];
2021-07-21 02:03:13 +00:00
pythonImportsCheck = [
"prefixed"
];
2021-07-21 02:03:13 +00:00
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}";
2021-07-21 02:03:13 +00:00
license = with licenses; [ mpl20 ];
maintainers = with maintainers; [ veprbl ];
};
}