Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 pythonOlder, 7 poetry-core, 8}: 9 10buildPythonPackage rec { 11 pname = "gamble"; 12 version = "0.13"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchFromGitHub { 18 owner = "jpetrucciani"; 19 repo = "gamble"; 20 rev = "refs/tags/${version}"; 21 hash = "sha256-eHosY/JfJr317S7WI8phy7DNHf3cZzs6c5MMfw7yzAE="; 22 }; 23 24 build-system = [ poetry-core ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "gamble" ]; 29 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 }; 37}