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