Unverified Commit 76c19e9e authored by Samuel W. Flint's avatar Samuel W. Flint Committed by Sandro Jäckel
Browse files

python310Packages.autograd-gamma: init at 0.4.3

parent 1e00e82f
Loading
Loading
Loading
Loading
+29 −0
Original line number Diff line number Diff line
{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, autograd, scipy }:

buildPythonPackage rec {
  pname = "autograd-gamma";
  version = "0.4.3";

  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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -812,6 +812,8 @@ self: super: with self; {

  autograd = callPackage ../development/python-modules/autograd { };

  autograd-gamma = callPackage ../development/python-modules/autograd-gamma { };

  autoit-ripper = callPackage ../development/python-modules/autoit-ripper { };

  autologging = callPackage ../development/python-modules/autologging { };