1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytestCheckHook
5, pythonOlder
6}:
7
8buildPythonPackage rec {
9 pname = "gamble";
10 version = "0.10";
11 disabled = pythonOlder "3.6";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "1lb5x076blnnz2hj7k92pyq0drbjwsls6pmnabpvyvs4ddhz5w9w";
16 };
17
18 checkInputs = [
19 pytestCheckHook
20 ];
21
22 pythonImportsCheck = [
23 "gamble"
24 ];
25
26 meta = with lib; {
27 description = "Collection of gambling classes/tools";
28 homepage = "https://github.com/jpetrucciani/gamble";
29 license = licenses.mit;
30 maintainers = with maintainers; [ jpetrucciani ];
31 };
32}