about summary refs log tree commit diff
path: root/pkgs/development/python-modules/gamble/default.nix
blob: 0df84510efd41ea8db9bd1bfb4c9380383b9280e (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
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:

buildPythonPackage rec {
  pname = "gamble";
  version = "0.10";
  disabled = pythonOlder "3.6";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1lb5x076blnnz2hj7k92pyq0drbjwsls6pmnabpvyvs4ddhz5w9w";
  };

  checkInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "gamble"
  ];

  meta = with lib; {
    description = "Collection of gambling classes/tools";
    homepage = "https://github.com/jpetrucciani/gamble";
    license = licenses.mit;
    maintainers = with maintainers; [ jpetrucciani ];
  };
}