From 45309de8ff0a7cbe417ed00810e9b48bb1f5dc29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Reynier?= Date: Thu, 9 Jun 2022 11:26:26 +0200 Subject: [PATCH] pythonPackages.piccolo-theme: init at 0.11.1 --- .../python-modules/piccolo-theme/default.nix | 26 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/development/python-modules/piccolo-theme/default.nix diff --git a/pkgs/development/python-modules/piccolo-theme/default.nix b/pkgs/development/python-modules/piccolo-theme/default.nix new file mode 100644 index 000000000000..8f04d0ce00dc --- /dev/null +++ b/pkgs/development/python-modules/piccolo-theme/default.nix @@ -0,0 +1,26 @@ +{ lib, buildPythonPackage, fetchPypi, sphinx }: + +buildPythonPackage rec { + pname = "piccolo-theme"; + version = "0.12.0"; + + src = fetchPypi { + pname = "piccolo_theme"; + inherit version; + sha256 = "sha256-o6uaqAo/Nb28doByq40XakKJpA4o6/Z/PzMhmb058FE="; + }; + + propagatedBuildInputs = [ + sphinx + ]; + + pythonImportsCheck = [ "piccolo_theme" ]; + + meta = with lib; { + description = "Clean and modern Sphinx theme"; + homepage = "https://piccolo-theme.readthedocs.io"; + license = licenses.mit; + maintainers = with maintainers; [ loicreynier ]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 2e553cf8addf..6c4382641017 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6463,6 +6463,8 @@ in { picos = callPackage ../development/python-modules/picos { }; + piccolo-theme = callPackage ../development/python-modules/piccolo-theme { }; + pid = callPackage ../development/python-modules/pid { }; piep = callPackage ../development/python-modules/piep { };