504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
30 lines
770 B
Nix
30 lines
770 B
Nix
{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, autograd, scipy }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "autograd-gamma";
|
|
version = "0.4.3";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "CamDavidsonPilon";
|
|
repo = "autograd-gamma";
|
|
rev = "v${version}";
|
|
sha256 = "0v03gly5k3a1hzb54zpw6409m3riak49qd27hkq2f66ai42ivqz2";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
autograd
|
|
scipy
|
|
];
|
|
|
|
pythonImportsCheck = [ "autograd_gamma" ];
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/CamDavidsonPilon/autograd-gamma";
|
|
description = "Autograd compatible approximations to the gamma family of functions";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ swflint ];
|
|
};
|
|
}
|