mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 11:23:29 +00:00
python310Packages.autograd-gamma: init at 0.4.3
This commit is contained in:
parent
1e00e82f9d
commit
76c19e9e2f
29
pkgs/development/python-modules/autograd-gamma/default.nix
Normal file
29
pkgs/development/python-modules/autograd-gamma/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user