1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-23 17:56:53 +03:00
nixpkgs/pkgs/development/python-modules/python-docs-theme/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
705 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchFromGitHub, flit-core, sphinx }:
buildPythonPackage rec {
pname = "python-docs-theme";
version = "2023.9";
format = "pyproject";
src = fetchFromGitHub {
owner = "python";
repo = "python-docs-theme";
rev = "refs/tags/${version}";
sha256 = "sha256-XVwMEfprTNdNnaW38HMCAu4CswdVjBXYtNWBgqXfbno=";
};
nativeBuildInputs = [ flit-core ];
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 ];
};
}