summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/recursivenodes/default.nix
blob: ff26f35e681ee469b2bb30a22dd9738968b3a8cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
  lib,
  buildPythonPackage,
  fetchFromGitLab,
  setuptools,
  numpy,
  pytestCheckHook,
}:

buildPythonPackage (finalAttrs: {
  pname = "recursivenodes";
  version = "0.3.0";
  pyproject = true;

  src = fetchFromGitLab {
    owner = "tisaac";
    repo = "recursivenodes";
    tag = "v${finalAttrs.version}";
    hash = "sha256-RThTrYxM4dvTclUZrnne1q1ij9k6aJEeYKTZaxqzs5g=";
  };

  build-system = [ setuptools ];

  dependencies = [
    numpy
  ];

  pythonImportsCheck = [ "recursivenodes" ];

  nativeCheckInputs = [ pytestCheckHook ];

  meta = {
    homepage = "https://tisaac.gitlab.io/recursivenodes/";
    downloadPage = "https://gitlab.com/tisaac/recursivenodes";
    description = "Recursive, parameter-free, explicitly defined interpolation nodes for simplices";
    changelog = "https://gitlab.com/tisaac/recursivenodes/-/releases/v${finalAttrs.version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ qbisi ];
  };
})