nixpkgs/pkgs/development/python-modules/gamble/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
713 B
Nix
Raw Normal View History

2022-01-17 23:31:14 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "gamble";
2022-12-07 05:50:54 +00:00
version = "0.11";
format = "setuptools";
disabled = pythonOlder "3.7";
2022-01-17 23:31:14 +00:00
src = fetchPypi {
inherit pname version;
hash = "sha256-zsEBqhKidgO1e0lpKhw+LY75I2Df+IefNLaSkBBFKFU=";
2022-01-17 23:31:14 +00:00
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"gamble"
];
meta = with lib; {
description = "Collection of gambling classes/tools";
homepage = "https://github.com/jpetrucciani/gamble";
changelog = "https://github.com/jpetrucciani/gamble/releases/tag/${version}";
2022-01-17 23:31:14 +00:00
license = licenses.mit;
maintainers = with maintainers; [ jpetrucciani ];
};
}