summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/sat-tmp/default.nix
blob: 7ac981cfda2b8b304fd5878d3adf95304cd5b13d (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
41
42
43
44
45
46
47
48
{
  lib,
  buildPythonPackage,
  fetchhg,
  setuptools,
  wokkel,
}:

buildPythonPackage rec {
  pname = "sat-tmp";
  version = "0.8.0";
  pyproject = true;

  src = fetchhg {
    url = "https://repos.goffi.org/sat_tmp";
    rev = "v${version}";
    hash = "sha256-CEy0/eaPK0nHzsiJq3m7edNyxzAhfwBaNhFhLS0azOw=";
  };

  build-system = [ setuptools ];

  dependencies = [ wokkel ];

  # Taken from import_test.py
  pythonImportsCheck = [
    "sat_tmp.wokkel.pubsub"
    "sat_tmp.wokkel.rsm"
    "sat_tmp.wokkel.mam"
  ];

  # no pytest tests exist
  doCheck = false;

  # Default-added updateScript doesn't handle Mercurial sources
  passthru.updateScript = null;

  meta = {
    description = "Libervia temporary third party patches";
    longDescription = ''
      This module is used by Libervia project (formerly “Salut à Toi”) project to patch third party modules
      when the patches are not yet available upstream. Patches are removed from this module once merged upstream.
    '';
    homepage = "https://libervia.org";
    license = lib.licenses.agpl3Plus;
    maintainers = [ lib.maintainers.ethancedwards8 ];
    teams = [ lib.teams.ngi ];
  };
}