python310Packages.nutils: add format

main
Fabian Affolter 2 years ago committed by GitHub
parent fa03d60746
commit f174d308de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 25
      pkgs/development/python-modules/nutils/default.nix

@ -1,8 +1,18 @@
{ lib, buildPythonPackage, fetchFromGitHub, numpy, treelog, stringly, pytestCheckHook, pythonOlder }: { lib
, buildPythonPackage
, fetchFromGitHub
, numpy
, treelog
, stringly
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "nutils"; pname = "nutils";
version = "7.0"; version = "7.0";
format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -12,26 +22,29 @@ buildPythonPackage rec {
hash = "sha256-V7lSMhwzc9+36uXMCy5uF241XwJ62Pdf59RUulOt4i8="; hash = "sha256-V7lSMhwzc9+36uXMCy5uF241XwJ62Pdf59RUulOt4i8=";
}; };
pythonImportsCheck = [ "nutils" ];
propagatedBuildInputs = [ propagatedBuildInputs = [
numpy numpy
treelog treelog
stringly stringly
]; ];
checkInputs = [ pytestCheckHook ]; checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"nutils"
];
disabledTestPaths = [ disabledTestPaths = [
# AttributeError: type object 'setup' has no attribute '__code__' # AttributeError: type object 'setup' has no attribute '__code__'
"tests/test_cli.py" "tests/test_cli.py"
]; ];
meta = with lib; { meta = with lib; {
description = "Numerical Utilities for Finite Element Analysis"; description = "Numerical Utilities for Finite Element Analysis";
homepage = "https://www.nutils.org/"; homepage = "https://www.nutils.org/";
license = licenses.mit; license = licenses.mit;
maintainers = [ maintainers.Scriptkiddi ]; maintainers = with maintainers; [ Scriptkiddi ];
}; };
} }

Loading…
Cancel
Save