at 25.11-pre 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 flit-core, 6 appdirs, 7 bottombar, 8 numpy, 9 nutils-poly, 10 psutil, 11 stringly, 12 treelog, 13 pytestCheckHook, 14 pythonOlder, 15}: 16 17buildPythonPackage rec { 18 pname = "nutils"; 19 version = "8.8"; 20 pyproject = true; 21 22 disabled = pythonOlder "3.8"; 23 24 src = fetchFromGitHub { 25 owner = "evalf"; 26 repo = "nutils"; 27 tag = "v${version}"; 28 hash = "sha256-E/y1YXW+0+LfntRQsdIU9rMOmN8mlFwXktD/sViJo3I="; 29 }; 30 31 build-system = [ flit-core ]; 32 33 dependencies = [ 34 appdirs 35 bottombar 36 numpy 37 nutils-poly 38 psutil 39 stringly 40 treelog 41 ]; 42 43 pythonRelaxDeps = [ "psutil" ]; 44 45 nativeCheckInputs = [ pytestCheckHook ]; 46 47 pythonImportsCheck = [ "nutils" ]; 48 49 disabledTestPaths = [ 50 # AttributeError: type object 'setup' has no attribute '__code__' 51 "tests/test_cli.py" 52 ]; 53 54 meta = with lib; { 55 description = "Numerical Utilities for Finite Element Analysis"; 56 changelog = "https://github.com/evalf/nutils/releases/tag/v${version}"; 57 homepage = "https://www.nutils.org/"; 58 license = licenses.mit; 59 maintainers = with maintainers; [ Scriptkiddi ]; 60 }; 61}