nixpkgs/pkgs/development/python-modules/pallets-sphinx-themes/default.nix

27 lines
691 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub, sphinx, packaging }:
buildPythonPackage rec {
pname = "pallets-sphinx-themes";
version = "2.1.0";
src = fetchFromGitHub {
owner = "pallets";
repo = "pallets-sphinx-themes";
rev = "refs/tags/${version}";
sha256 = "sha256-u1sHeO0fk11+M5M0yqDcWsMJKBMeAGW+GPOgu1oniok=";
};
propagatedBuildInputs = [ packaging sphinx ];
pythonImportsCheck = [ "pallets_sphinx_themes" ];
doCheck = false;
meta = with lib; {
homepage = "https://github.com/pallets/pallets-sphinx-themes";
description = "Sphinx theme for Pallets projects";
license = licenses.bsd3;
maintainers = with maintainers; [ kaction ];
};
}