about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2023-02-21 04:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2023-02-21 04:20:00 +0000
commit23ed00b4bf739a9d87a91d0bd58376164c758874 (patch)
tree0bdeb320486aa6234151ce76a2c44a3b8fd39df7
parent23f105f5a2c14d42420c10f69baf1fd648edb4eb (diff)
python310Packages.sphinx-book-theme: 0.4.0rc1 -> 1.0.0rc2
https://github.com/executablebooks/sphinx-book-theme/releases/tag/v1.0.0rc1
https://github.com/executablebooks/sphinx-book-theme/releases/tag/v1.0.0rc2
-rw-r--r--pkgs/development/python-modules/sphinx-book-theme/default.nix13
1 files changed, 10 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/sphinx-book-theme/default.nix b/pkgs/development/python-modules/sphinx-book-theme/default.nix
index 6c5597755a361..12a5878024b82 100644
--- a/pkgs/development/python-modules/sphinx-book-theme/default.nix
+++ b/pkgs/development/python-modules/sphinx-book-theme/default.nix
@@ -5,11 +5,12 @@
 , sphinx
 , pydata-sphinx-theme
 , pyyaml
+, jupyter-book
 }:
 
 buildPythonPackage rec {
   pname = "sphinx-book-theme";
-  version = "0.4.0rc1";
+  version = "1.0.0rc2";
 
   format = "wheel";
 
@@ -20,7 +21,7 @@ buildPythonPackage rec {
     dist = "py3";
     python = "py3";
     pname = "sphinx_book_theme";
-    sha256 = "bfad8ef469885da5633f7cf7f8cd9a0ae11ea2351a91e507b44cf15973934512";
+    sha256 = "43977402f55b79706e117c6de6f50e67dac6dad698eb9b75be07dc2e6a689bde";
   };
 
   propagatedBuildInputs = [
@@ -29,7 +30,13 @@ buildPythonPackage rec {
     pyyaml
   ];
 
-  pythonImportsCheck = [ "sphinx_book_theme" ];
+  pythonImportsCheck = [
+    "sphinx_book_theme"
+  ];
+
+  passthru.tests = {
+    inherit jupyter-book;
+  };
 
   meta = with lib; {
     description = "A clean book theme for scientific explanations and documentation with Sphinx";