My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/nutils/default.nix

37 lines
859 B

{ lib, buildPythonPackage, fetchFromGitHub, numpy, treelog, stringly, pytestCheckHook, pythonOlder }:
buildPythonPackage rec {
pname = "nutils";
version = "7.0";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "evalf";
repo = "nutils";
rev = "refs/tags/v${version}";
hash = "sha256-V7lSMhwzc9+36uXMCy5uF241XwJ62Pdf59RUulOt4i8=";
};
pythonImportsCheck = [ "nutils" ];
propagatedBuildInputs = [
numpy
treelog
stringly
];
checkInputs = [ pytestCheckHook ];
disabledTestPaths = [
# AttributeError: type object 'setup' has no attribute '__code__'
"tests/test_cli.py"
];
meta = with lib; {
description = "Numerical Utilities for Finite Element Analysis";
homepage = "https://www.nutils.org/";
license = licenses.mit;
maintainers = [ maintainers.Scriptkiddi ];
};
}