depot/third_party/nixpkgs/pkgs/development/python-modules/prefixed/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

32 lines
751 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "prefixed";
version = "0.9.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-FkQD+p68gygLvEcF9LJDoog34WQxC05lw4zKseuv7rM=";
};
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 ];
};
}