anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / autograd-gamma / default.nix
blob0e38848d6f7d49ef79117374ef8e60ebee707535
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   autograd,
7   scipy,
8 }:
10 buildPythonPackage rec {
11   pname = "autograd-gamma";
12   version = "0.4.3";
13   format = "setuptools";
15   src = fetchFromGitHub {
16     owner = "CamDavidsonPilon";
17     repo = "autograd-gamma";
18     rev = "v${version}";
19     sha256 = "0v03gly5k3a1hzb54zpw6409m3riak49qd27hkq2f66ai42ivqz2";
20   };
22   propagatedBuildInputs = [
23     autograd
24     scipy
25   ];
27   pythonImportsCheck = [ "autograd_gamma" ];
29   checkInputs = [ pytestCheckHook ];
31   meta = {
32     homepage = "https://github.com/CamDavidsonPilon/autograd-gamma";
33     description = "Autograd compatible approximations to the gamma family of functions";
34     license = lib.licenses.mit;
35     maintainers = with lib.maintainers; [ swflint ];
36   };