summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/sphinx-lv2-theme/default.nix
blob: b921984f7e74e789ee254c0204eefed5ac18fcb3 (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
{
  buildPythonPackage,
  lib,
  fetchFromGitLab,
  setuptools,
  sphinx,
}:

buildPythonPackage rec {
  pname = "sphinx-lv2-theme";
  version = "1.4.6";
  pyproject = true;

  src = fetchFromGitLab {
    owner = "LV2";
    repo = "sphinx_lv2_theme";
    rev = "v${version}";
    hash = "sha256-WOunukFWa4AMrLpeKjuvmFT+3GhCzV3k/hl4mQXN0GQ=";
  };

  build-system = [ setuptools ];

  dependencies = [ sphinx ];

  pythonImportsCheck = [ "sphinx_lv2_theme" ];

  meta = {
    description = "Sphinx theme in the style of the LV2 plugin";
    homepage = "https://gitlab.com/lv2/sphinx_lv2_theme";
    license = lib.licenses.isc;
    maintainers = with lib.maintainers; [ samueltardieu ];
  };
}