Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / autograd-gamma / default.nix
bloba772a0967859605e7d25480c07ae0257fd461586
1 { lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, autograd, scipy }:
3 buildPythonPackage rec {
4   pname = "autograd-gamma";
5   version = "0.4.3";
6   format = "setuptools";
8   src = fetchFromGitHub {
9     owner = "CamDavidsonPilon";
10     repo = "autograd-gamma";
11     rev = "v${version}";
12     sha256 = "0v03gly5k3a1hzb54zpw6409m3riak49qd27hkq2f66ai42ivqz2";
13   };
15   propagatedBuildInputs = [
16     autograd
17     scipy
18   ];
20   pythonImportsCheck = [ "autograd_gamma" ];
22   checkInputs = [ pytestCheckHook ];
24   meta = {
25     homepage = "https://github.com/CamDavidsonPilon/autograd-gamma";
26     description = "Autograd compatible approximations to the gamma family of functions";
27     license = lib.licenses.mit;
28     maintainers = with lib.maintainers; [ swflint ];
29   };