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

28 lines
716 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchFromGitHub, sphinx, packaging }:
buildPythonPackage rec {
pname = "pallets-sphinx-themes";
version = "2.1.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "pallets";
repo = "pallets-sphinx-themes";
rev = "refs/tags/${version}";
sha256 = "sha256-Z03rsqkwF2rYaqRZflf5qc5EdHPIEcEcB1ftYIm5DQs=";
};
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 ];
};
}