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

buildPythonPackage rec {
  pname = "python_docs_theme";
  version = "2023.7";
  format = "flit";

  src = fetchFromGitHub {
    owner = "python";
    repo = "python-docs-theme";
    rev = "refs/tags/${version}";
    sha256 = "sha256-43/TlgYm7Q4ZtY25MiLU9fd1atDmiDUeUK6AYfDfmag=";
  };

  propagatedBuildInputs = [ sphinx ];

  pythonImportsCheck = [ "python_docs_theme" ];

  meta = with lib; {
    homepage = "https://github.com/python/python-docs-theme";
    description = "Sphinx theme for CPython project";
    license = licenses.psfl;
    maintainers = with maintainers; [ kaction ];
  };
}