evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / gamble / default.nix
blob4f39dd06556be30fb9ea2925e3fca35c0be525a9
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
7   poetry-core,
8 }:
10 buildPythonPackage rec {
11   pname = "gamble";
12   version = "0.14.0";
13   pyproject = true;
15   disabled = pythonOlder "3.10";
17   src = fetchFromGitHub {
18     owner = "jpetrucciani";
19     repo = "gamble";
20     rev = "refs/tags/${version}";
21     hash = "sha256-vzaY5gJ0Ou2ArUJ0kuTWzTeLfiRDhUt/Hxpns9rFiDk=";
22   };
24   build-system = [ poetry-core ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   pythonImportsCheck = [ "gamble" ];
30   meta = with lib; {
31     description = "Collection of gambling classes/tools";
32     homepage = "https://github.com/jpetrucciani/gamble";
33     changelog = "https://github.com/jpetrucciani/gamble/releases/tag/${version}";
34     license = licenses.mit;
35     maintainers = with maintainers; [ jpetrucciani ];
36   };