about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pallets-sphinx-themes/default.nix
blob: 460d99575b9e92baeedea745bf4e15421adfee6f (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
{ lib, buildPythonPackage, fetchFromGitHub, sphinx, packaging }:

buildPythonPackage rec {
  pname = "pallets-sphinx-themes";
  version = "2.1.1";

  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 ];
  };
}