python310Packages.aeppl: init at 0.0.31

This commit is contained in:
Fabian Affolter 2022-05-24 16:19:53 +02:00
parent 0fb3b8bddf
commit 91824e3192
2 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,51 @@
{ lib
, aesara
, buildPythonPackage
, fetchFromGitHub
, numdifftools
, numpy
, pytestCheckHook
, pythonOlder
, scipy
}:
buildPythonPackage rec {
pname = "aeppl";
version = "0.0.31";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "aesara-devs";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-fbBtjU2skvfDCnRRW+9PIObsEOfKhl15qSLw3TGhl4k=";
};
propagatedBuildInputs = [
aesara
numpy
scipy
];
checkInputs = [
numdifftools
pytestCheckHook
];
preCheck = ''
export HOME=$(mktemp -d);
'';
pythonImportsCheck = [
"aeppl"
];
meta = with lib; {
description = "Library for an Aesara-based PPL";
homepage = "https://github.com/aesara-devs/aeppl";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -209,6 +209,8 @@ in {
aenum = callPackage ../development/python-modules/aenum { };
aeppl = callPackage ../development/python-modules/aeppl { };
aesara = callPackage ../development/python-modules/aesara { };
aesedb = callPackage ../development/python-modules/aesedb { };