nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 67 lines 1.2 kB view raw
1{ stdenv 2, lib 3, buildPythonPackage 4, fetchFromGitHub 5, numpy 6, scipy 7, filelock 8, etuples 9, logical-unification 10, minikanren 11, cons 12, numba 13, numba-scipy 14, libgpuarray 15, sympy 16, cython 17, pytestCheckHook 18}: 19 20buildPythonPackage rec { 21 pname = "aesara"; 22 version = "2.5.3"; 23 24 src = fetchFromGitHub { 25 owner = "aesara-devs"; 26 repo = "aesara"; 27 rev = "refs/tags/rel-${version}"; 28 sha256 = "sha256-20nc70gNdcGjtGxv2WxmYxmswNH8v7yGLkToP2iazjc="; 29 }; 30 31 nativeBuildInputs = [ 32 cython 33 ]; 34 35 propagatedBuildInputs = [ 36 numpy 37 scipy 38 filelock 39 etuples 40 logical-unification 41 minikanren 42 cons 43 numba 44 numba-scipy 45 libgpuarray 46 sympy 47 ]; 48 49 checkInputs = [ 50 pytestCheckHook 51 ]; 52 53 preBuild = '' 54 export HOME=$(mktemp -d) 55 ''; 56 57 pythonImportsCheck = [ "aesara" ]; 58 59 meta = with lib; { 60 broken = (stdenv.isLinux && stdenv.isAarch64); 61 description = "Python library to define, optimize, and efficiently evaluate mathematical expressions involving multi-dimensional arrays"; 62 homepage = "https://github.com/aesara-devs/aesara"; 63 changelog = "https://github.com/aesara-devs/aesara/releases"; 64 license = licenses.bsd3; 65 maintainers = with maintainers; [ Etjean ]; 66 }; 67}