mrkd: remove from python3Packages

It's a CLI tool.

+53 -33
-30
pkgs/development/python-modules/mrkd/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchPypi 4 - , jinja2 5 - , mistune 6 - , pygments 7 - , setuptools 8 - }: 9 - 10 - buildPythonPackage rec { 11 - pname = "mrkd"; 12 - version = "0.2.0"; 13 - 14 - src = fetchPypi { 15 - inherit pname version; 16 - sha256 = "456f8c1be99da268554b29c6b5383532e58119def5a65d85270bc6a0ecc26aaf"; 17 - }; 18 - 19 - propagatedBuildInputs = [ jinja2 mistune pygments setuptools ]; 20 - 21 - pythonImportsCheck = [ "mrkd" ]; 22 - 23 - meta = with lib; { 24 - description = "Write man pages using Markdown, and convert them to Roff or HTML"; 25 - homepage = "https://github.com/refi64/mrkd"; 26 - license = licenses.bsd2; 27 - # https://github.com/refi64/mrkd/pull/6 28 - broken = versionAtLeast mistune.version "2"; 29 - }; 30 - }
···
+51
pkgs/tools/text/mrkd/default.nix
···
··· 1 + { lib 2 + , python3 3 + , fetchPypi 4 + }: 5 + 6 + let 7 + python = python3.override { 8 + packageOverrides = self: super: { 9 + # https://github.com/refi64/mrkd/pull/6 10 + mistune = super.mistune.overridePythonAttrs (old: rec { 11 + version = "0.8.4"; 12 + src = fetchPypi { 13 + inherit (old) pname; 14 + inherit version; 15 + hash = "sha256-WaNCnbU8ULXGvMigf4hIywDX3IvbQxpKtBkg0gHUdW4="; 16 + }; 17 + meta = old.meta // { 18 + knownVulnerabilities = [ 19 + "CVE-2022-34749" 20 + ]; 21 + }; 22 + }); 23 + }; 24 + }; 25 + in python.pkgs.buildPythonApplication rec { 26 + pname = "mrkd"; 27 + version = "0.2.0"; 28 + 29 + format = "setuptools"; 30 + 31 + src = fetchPypi { 32 + inherit pname version; 33 + sha256 = "456f8c1be99da268554b29c6b5383532e58119def5a65d85270bc6a0ecc26aaf"; 34 + }; 35 + 36 + propagatedBuildInputs = with python.pkgs; [ 37 + jinja2 38 + mistune 39 + pygments 40 + setuptools 41 + ]; 42 + 43 + pythonImportsCheck = [ "mrkd" ]; 44 + 45 + meta = with lib; { 46 + description = "Write man pages using Markdown, and convert them to Roff or HTML"; 47 + homepage = "https://github.com/refi64/mrkd"; 48 + license = licenses.bsd2; 49 + maintainers = with maintainers; [ prusnak ]; 50 + }; 51 + }
+1 -1
pkgs/top-level/all-packages.nix
··· 5865 5866 mq-cli = callPackage ../tools/system/mq-cli { }; 5867 5868 - mrkd = with python3Packages; toPythonApplication mrkd; 5869 5870 naproche = callPackage ../applications/science/logic/naproche { }; 5871
··· 5865 5866 mq-cli = callPackage ../tools/system/mq-cli { }; 5867 5868 + mrkd = callPackage ../tools/text/mrkd { }; 5869 5870 naproche = callPackage ../applications/science/logic/naproche { }; 5871
+1
pkgs/top-level/python-aliases.nix
··· 205 mistune_0_8 = throw "mistune_0_8 was removed because it was outdated and insecure"; # added 2022-08-12 206 mistune_2_0 = mistune; # added 2022-08-12 207 mox = throw "mox was removed because it is unmaintained"; # added 2023-02-21 208 mutmut = throw "mutmut has been promoted to a top-level attribute"; # added 2022-10-02 209 net2grid = gridnet; # add 2022-04-22 210 nose-cover3 = throw "nose-cover3 has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-02-16
··· 205 mistune_0_8 = throw "mistune_0_8 was removed because it was outdated and insecure"; # added 2022-08-12 206 mistune_2_0 = mistune; # added 2022-08-12 207 mox = throw "mox was removed because it is unmaintained"; # added 2023-02-21 208 + mrkd = throw "mrkd has been promoted to a top-level attribute"; # added 2023-08-01 209 mutmut = throw "mutmut has been promoted to a top-level attribute"; # added 2022-10-02 210 net2grid = gridnet; # add 2022-04-22 211 nose-cover3 = throw "nose-cover3 has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-02-16
-2
pkgs/top-level/python-packages.nix
··· 6704 6705 mrjob = callPackage ../development/python-modules/mrjob { }; 6706 6707 - mrkd = callPackage ../development/python-modules/mrkd { }; 6708 - 6709 ms-active-directory = callPackage ../development/python-modules/ms-active-directory { }; 6710 6711 ms-cv = callPackage ../development/python-modules/ms-cv { };
··· 6704 6705 mrjob = callPackage ../development/python-modules/mrjob { }; 6706 6707 ms-active-directory = callPackage ../development/python-modules/ms-active-directory { }; 6708 6709 ms-cv = callPackage ../development/python-modules/ms-cv { };