about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2023-11-23 21:42:46 +0100
committerGitHub <noreply@github.com>2023-11-23 21:42:46 +0100
commit6e31010bb321acfebdb43952d9cde86eaf0e70ad (patch)
tree2c31c7c8143ce035e104beaa892ba99c60388d63
parent0b59886c20b7a5ad4f8da5809b9f4ef93bff0d9a (diff)
parent471655e878b33f1482c8136db7fedb7ff60b92f8 (diff)
downloadnixlib-6e31010bb321acfebdb43952d9cde86eaf0e70ad.tar
nixlib-6e31010bb321acfebdb43952d9cde86eaf0e70ad.tar.gz
nixlib-6e31010bb321acfebdb43952d9cde86eaf0e70ad.tar.bz2
nixlib-6e31010bb321acfebdb43952d9cde86eaf0e70ad.tar.lz
nixlib-6e31010bb321acfebdb43952d9cde86eaf0e70ad.tar.xz
nixlib-6e31010bb321acfebdb43952d9cde86eaf0e70ad.tar.zst
nixlib-6e31010bb321acfebdb43952d9cde86eaf0e70ad.zip
Merge pull request #269394 from r-ryantm/auto-update/python311Packages.mdformat-mkdocs
python311Packages.mdformat-mkdocs: 1.0.6 -> 1.1.0
-rw-r--r--pkgs/development/python-modules/mdformat-mkdocs/default.nix17
1 files changed, 11 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/mdformat-mkdocs/default.nix b/pkgs/development/python-modules/mdformat-mkdocs/default.nix
index 8b5db005eddf..9052c67be207 100644
--- a/pkgs/development/python-modules/mdformat-mkdocs/default.nix
+++ b/pkgs/development/python-modules/mdformat-mkdocs/default.nix
@@ -6,20 +6,21 @@
 , mdformat-gfm
 , mdit-py-plugins
 , pythonOlder
+, pytestCheckHook
 }:
 
 buildPythonPackage rec {
   pname = "mdformat-mkdocs";
-  version = "1.0.6";
-  format = "pyproject";
+  version = "1.1.0";
+  pyproject = true;
 
-  disabled = pythonOlder "3.7";
+  disabled = pythonOlder "3.8";
 
   src = fetchFromGitHub {
     owner = "KyleKing";
-    repo = pname;
+    repo = "mdformat-mkdocs";
     rev = "refs/tags/v${version}";
-    hash = "sha256-l4B/DR0pKZG62+sBG+fiux/XeF3ewxb2TYa+Zs1O3kU=";
+    hash = "sha256-5MCsXCkYnoLEZZoj9WrO/Z3VzTKagoOrMCuTpA4dGAQ=";
   };
 
   nativeBuildInputs = [
@@ -32,6 +33,10 @@ buildPythonPackage rec {
     mdit-py-plugins
   ];
 
+  nativeCheckInputs = [
+    pytestCheckHook
+  ];
+
   pythonImportsCheck = [
     "mdformat_mkdocs"
   ];
@@ -39,7 +44,7 @@ buildPythonPackage rec {
   meta = with lib; {
     description = "mdformat plugin for MkDocs";
     homepage = "https://github.com/KyleKing/mdformat-mkdocs";
-changelog = "https://github.com/KyleKing/mdformat-mkdocs/releases/tag/v${version}";
+    changelog = "https://github.com/KyleKing/mdformat-mkdocs/releases/tag/v${version}";
     license = licenses.mit;
     maintainers = with maintainers; [ aldoborrero ];
   };