Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 59 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ lib, stdenv, buildPythonPackage, fetchFromGitHub, numpy, treelog, stringly, flit-core, bottombar, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "nutils"; version = "8.4"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "evalf"; repo = "nutils"; rev = "refs/tags/v${version}"; hash = "sha256-cwMo3ixTK7UO9sxhcQBN4/gNZNAoBH/xL2tZ1Orh8LE="; };
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [ numpy treelog stringly bottombar ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "nutils" ];
disabledTestPaths = [ # AttributeError: type object 'setup' has no attribute '__code__' "tests/test_cli.py" ];
meta = with lib; { description = "Numerical Utilities for Finite Element Analysis"; changelog = "https://github.com/evalf/nutils/releases/tag/v${version}"; homepage = "https://www.nutils.org/"; license = licenses.mit; maintainers = with maintainers; [ Scriptkiddi ]; };}