2022-09-09 14:08:57 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, sphinx, packaging }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pallets-sphinx-themes";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "2.1.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2022-09-09 14:08:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pallets";
|
|
|
|
repo = "pallets-sphinx-themes";
|
2023-05-24 13:37:59 +00:00
|
|
|
rev = "refs/tags/${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
sha256 = "sha256-Z03rsqkwF2rYaqRZflf5qc5EdHPIEcEcB1ftYIm5DQs=";
|
2022-09-09 14:08:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|