depot/third_party/nixpkgs/pkgs/development/python-modules/prefixed/default.nix
Default email 92b3d6365d Project import generated by Copybara.
GitOrigin-RevId: 412b9917cea092f3d39f9cd5dead4effd5bc4053
2022-10-30 16:09:59 +01:00

26 lines
573 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "prefixed";
version = "0.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-z5awVvmKubphXQMR7Kg3s9oBIBXNxZTz/uJIyvcCKLc=";
};
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "prefixed" ];
meta = with lib; {
description = "Prefixed alternative numeric library";
homepage = "https://github.com/Rockhopper-Technologies/prefixed";
license = with licenses; [ mpl20 ];
maintainers = with maintainers; [ veprbl ];
};
}