blob: 12c3175424d3fabe43e7c8f9dfa19b9739266f3e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{ lib
, buildPythonPackage
, fastnumbers
, fetchFromGitHub
, hypothesis
, pytestCheckHook
, pythonOlder
, typing-extensions
}:
buildPythonPackage rec {
pname = "fastnumbers";
version = "3.2.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "SethMMorton";
repo = pname;
rev = version;
sha256 = "1v9l5p90y6ygrs0qmgdzxfv2vp1mpfp65snkl9jp6kcy44g3alhp";
};
propagatedBuildInputs = [
typing-extensions
];
checkInputs = [
hypothesis
pytestCheckHook
];
pythonImportsCheck = [
"fastnumbers"
];
meta = with lib; {
description = "Python module for number conversion";
homepage = "https://github.com/SethMMorton/fastnumbers";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}
|