diff --git a/pkgs/development/python-modules/gamble/default.nix b/pkgs/development/python-modules/gamble/default.nix new file mode 100644 index 000000000000..0df84510efd4 --- /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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index a1bbaeb7205f..3184d8979ce2 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3103,6 +3103,8 @@ in { pythonPackages = self; }); + gamble = callPackage ../development/python-modules/gamble { }; + gaphas = callPackage ../development/python-modules/gaphas { }; garminconnect-aio = callPackage ../development/python-modules/garminconnect-aio { };