at 24.05-pre 1.0 kB view raw
1{ lib 2, aesara 3, buildPythonPackage 4, fetchFromGitHub 5, numdifftools 6, numpy 7, pytestCheckHook 8, pythonOlder 9, scipy 10}: 11 12buildPythonPackage rec { 13 pname = "aeppl"; 14 version = "0.1.5"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchFromGitHub { 20 owner = "aesara-devs"; 21 repo = pname; 22 rev = "refs/tags/v${version}"; 23 hash = "sha256-mqBbXwWJwQA2wSHuEdBeXQMfTIcgwYEjpq8AVmOjmHM="; 24 }; 25 26 propagatedBuildInputs = [ 27 aesara 28 numpy 29 scipy 30 ]; 31 32 nativeCheckInputs = [ 33 numdifftools 34 pytestCheckHook 35 ]; 36 37 preCheck = '' 38 export HOME=$(mktemp -d); 39 ''; 40 41 pythonImportsCheck = [ 42 "aeppl" 43 ]; 44 45 disabledTests = [ 46 # Compute issue 47 "test_initial_values" 48 ]; 49 50 meta = with lib; { 51 description = "Library for an Aesara-based PPL"; 52 homepage = "https://github.com/aesara-devs/aeppl"; 53 changelog = "https://github.com/aesara-devs/aeppl/releases/tag/v${version}"; 54 license = licenses.mit; 55 maintainers = with maintainers; [ fab ]; 56 }; 57}