1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 autograd, 7 scipy, 8}: 9 10buildPythonPackage rec { 11 pname = "autograd-gamma"; 12 version = "0.4.3"; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "CamDavidsonPilon"; 17 repo = "autograd-gamma"; 18 rev = "v${version}"; 19 sha256 = "0v03gly5k3a1hzb54zpw6409m3riak49qd27hkq2f66ai42ivqz2"; 20 }; 21 22 propagatedBuildInputs = [ 23 autograd 24 scipy 25 ]; 26 27 pythonImportsCheck = [ "autograd_gamma" ]; 28 29 checkInputs = [ pytestCheckHook ]; 30 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 }; 37}