1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytestCheckHook
5, pythonOlder
6}:
7
8buildPythonPackage rec {
9 pname = "prefixed";
10 version = "0.7.0";
11 format = "setuptools";
12
13 disabled = pythonOlder "3.7";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-C1TRXmAuuK9Kwxsdsho36pXOWJDgdBuw3Z3tSTzvu+k=";
18 };
19
20 nativeCheckInputs = [
21 pytestCheckHook
22 ];
23
24 pythonImportsCheck = [
25 "prefixed"
26 ];
27
28 meta = with lib; {
29 description = "Prefixed alternative numeric library";
30 homepage = "https://github.com/Rockhopper-Technologies/prefixed";
31 changelog = "https://github.com/Rockhopper-Technologies/prefixed/releases/tag/${version}";
32 license = with licenses; [ mpl20 ];
33 maintainers = with maintainers; [ veprbl ];
34 };
35}