about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pallets-sphinx-themes/default.nix
blob: a021db9db3072110c9a732d68995ae9f59b0f6d4 (plain) (blame)
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
34
35
36
{
  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 ];
  };
}