depot/third_party/nixpkgs/pkgs/development/python-modules/gamble/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

35 lines
719 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "gamble";
version = "0.11";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-zsEBqhKidgO1e0lpKhw+LY75I2Df+IefNLaSkBBFKFU=";
};
nativeCheckInputs = [
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}";
license = licenses.mit;
maintainers = with maintainers; [ jpetrucciani ];
};
}