diff options
Diffstat (limited to 'pkgs/development/python-modules/gamble/default.nix')
-rw-r--r-- | pkgs/development/python-modules/gamble/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/gamble/default.nix b/pkgs/development/python-modules/gamble/default.nix new file mode 100644 index 0000000000000..0df84510efd41 --- /dev/null +++ b/pkgs/development/python-modules/gamble/default.nix @@ -0,0 +1,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 ]; + }; +} |