about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authornatsukium <tomoya.otabi@gmail.com>2023-10-06 14:06:57 +0900
committernatsukium <tomoya.otabi@gmail.com>2023-10-26 23:05:14 +0900
commit90d64bab00da86eecbc6852d386b28c7a03e729a (patch)
tree8fa7d9300c8e22ef88a25be928ea208c7ca78aa2 /pkgs/development
parentdf59f9411978fea8783ca4843869cc8f02d83b7f (diff)
python311Packages.sphinxcontrib-applehelp: 1.0.2 -> 1.0.7
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/sphinxcontrib-applehelp/default.nix20
1 files changed, 14 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/sphinxcontrib-applehelp/default.nix b/pkgs/development/python-modules/sphinxcontrib-applehelp/default.nix
index f65c9edc9b107..3e8fe11d192fe 100644
--- a/pkgs/development/python-modules/sphinxcontrib-applehelp/default.nix
+++ b/pkgs/development/python-modules/sphinxcontrib-applehelp/default.nix
@@ -1,19 +1,27 @@
 { lib
 , buildPythonPackage
 , fetchPypi
-, isPy27
+, pythonOlder
+, flit-core
 }:
 
 buildPythonPackage rec {
   pname = "sphinxcontrib-applehelp";
-  version = "1.0.2";
-  disabled = isPy27;
+  version = "1.0.7";
+  pyproject = true;
+
+  disabled = pythonOlder "3.9";
 
   src = fetchPypi {
-    inherit pname version;
-    sha256 = "a072735ec80e7675e3f432fcae8610ecf509c5f1869d17e2eecff44389cdbc58";
+    pname = "sphinxcontrib_applehelp";
+    inherit version;
+    hash = "sha256-Of3I12LTOwGn2PAmo7fXFWPqO3J4fV8ArYRlvZ1t+/o=";
   };
 
+  nativeBuildInputs = [
+    flit-core
+  ];
+
   # Check is disabled due to circular dependency of sphinx
   doCheck = false;
 
@@ -22,7 +30,7 @@ buildPythonPackage rec {
   meta = with lib; {
     description = "sphinxcontrib-applehelp is a sphinx extension which outputs Apple help books";
     homepage = "https://github.com/sphinx-doc/sphinxcontrib-applehelp";
-    license = licenses.bsd0;
+    license = licenses.bsd2;
     maintainers = teams.sphinx.members;
   };
 }