1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitLab,
5 setuptools,
6 numpy,
7 pytestCheckHook,
8}:
9
10buildPythonPackage rec {
11 pname = "recursivenodes";
12 version = "0.3.0";
13 pyproject = true;
14
15 src = fetchFromGitLab {
16 owner = "tisaac";
17 repo = "recursivenodes";
18 tag = "v${version}";
19 hash = "sha256-RThTrYxM4dvTclUZrnne1q1ij9k6aJEeYKTZaxqzs5g=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [
25 numpy
26 ];
27
28 pythonImportsCheck = [ "recursivenodes" ];
29
30 nativeCheckInputs = [ pytestCheckHook ];
31
32 meta = {
33 homepage = "https://tisaac.gitlab.io/recursivenodes/";
34 downloadPage = "https://gitlab.com/tisaac/recursivenodes";
35 description = "Recursive, parameter-free, explicitly defined interpolation nodes for simplices";
36 changelog = "https://gitlab.com/tisaac/recursivenodes/-/releases/${src.tag}";
37 license = lib.licenses.mit;
38 maintainers = with lib.maintainers; [ qbisi ];
39 };
40}