depot/third_party/nixpkgs/pkgs/development/python-modules/sphinx-lv2-theme/default.nix

33 lines
692 B
Nix

{
buildPythonPackage,
lib,
fetchFromGitLab,
setuptools,
sphinx,
}:
buildPythonPackage rec {
pname = "sphinx-lv2-theme";
version = "1.4.2";
pyproject = true;
src = fetchFromGitLab {
owner = "LV2";
repo = "sphinx_lv2_theme";
rev = "v${version}";
hash = "sha256-x3h2hOQIyzOmnh58WMHjuOARdML1sDiVAf7m0YghhJ4=";
};
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 ];
};
}