blob: bb1005663422fe029b312b792cae42e44775a17f (
plain)
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
33
34
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
poetry-core,
}:
buildPythonPackage rec {
pname = "gamble";
version = "0.14.0";
pyproject = true;
src = fetchFromGitHub {
owner = "jpetrucciani";
repo = "gamble";
tag = version;
hash = "sha256-vzaY5gJ0Ou2ArUJ0kuTWzTeLfiRDhUt/Hxpns9rFiDk=";
};
build-system = [ poetry-core ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "gamble" ];
meta = {
description = "Collection of gambling classes/tools";
homepage = "https://github.com/jpetrucciani/gamble";
changelog = "https://github.com/jpetrucciani/gamble/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jpetrucciani ];
};
}
|