depot/third_party/nixpkgs/pkgs/development/python-modules/gamble/default.nix
Default email a66bca1520 Project import generated by Copybara.
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
2022-12-17 11:02:37 +01:00

35 lines
713 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=";
};
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}";
license = licenses.mit;
maintainers = with maintainers; [ jpetrucciani ];
};
}