`buildDotnetModule`: add support for installing pre-release tools (#374663)
[NixPkgs.git] / pkgs / development / python-modules / gamble / default.nix
blobe063be70c3f0b8dea3e67e6b66ab88646e722724
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     tag = 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   };