diff --git a/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
index 845a5f09dae4..2427ed6f3f3c 100644
--- a/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
+++ b/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
@@ -297,6 +297,12 @@
follow with upstream changes.
+
+
+ pkgs.docbookrx was removed since it’s
+ unmaintained
+
+
diff --git a/nixos/doc/manual/release-notes/rl-2205.section.md b/nixos/doc/manual/release-notes/rl-2205.section.md
index ad4743d7cd9c..41ff367efb6b 100644
--- a/nixos/doc/manual/release-notes/rl-2205.section.md
+++ b/nixos/doc/manual/release-notes/rl-2205.section.md
@@ -95,6 +95,8 @@ In addition to numerous new and upgraded packages, this release has the followin
- `services.thelounge.private` was removed in favor of `services.thelounge.public`, to follow with upstream changes.
+- `pkgs.docbookrx` was removed since it's unmaintained
+
## Other Notable Changes {#sec-release-22.05-notable-changes}
- The option [services.redis.servers](#opt-services.redis.servers) was added
diff --git a/pkgs/tools/typesetting/docbookrx/Gemfile b/pkgs/tools/typesetting/docbookrx/Gemfile
deleted file mode 100644
index d5290dcb0093..000000000000
--- a/pkgs/tools/typesetting/docbookrx/Gemfile
+++ /dev/null
@@ -1,2 +0,0 @@
-source 'https://rubygems.org'
-gem 'nokogiri', '~> 1.11.7'
diff --git a/pkgs/tools/typesetting/docbookrx/Gemfile.lock b/pkgs/tools/typesetting/docbookrx/Gemfile.lock
deleted file mode 100644
index 07b58b649f4c..000000000000
--- a/pkgs/tools/typesetting/docbookrx/Gemfile.lock
+++ /dev/null
@@ -1,38 +0,0 @@
-PATH
- remote: .
- specs:
- docbookrx (1.0.0.dev)
- nokogiri (~> 1.11.7)
-
-GEM
- remote: https://rubygems.org/
- specs:
- diff-lcs (1.4.4)
- nokogiri (1.11.7-x86_64-linux)
- racc (~> 1.4)
- racc (1.6.0)
- rake (13.0.6)
- rspec (3.9.0)
- rspec-core (~> 3.9.0)
- rspec-expectations (~> 3.9.0)
- rspec-mocks (~> 3.9.0)
- rspec-core (3.9.3)
- rspec-support (~> 3.9.3)
- rspec-expectations (3.9.4)
- diff-lcs (>= 1.2.0, < 2.0)
- rspec-support (~> 3.9.0)
- rspec-mocks (3.9.1)
- diff-lcs (>= 1.2.0, < 2.0)
- rspec-support (~> 3.9.0)
- rspec-support (3.9.4)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- docbookrx!
- rake (~> 13.0.0)
- rspec (~> 3.9.0)
-
-BUNDLED WITH
- 2.2.24
diff --git a/pkgs/tools/typesetting/docbookrx/default.nix b/pkgs/tools/typesetting/docbookrx/default.nix
deleted file mode 100644
index 059233d09b08..000000000000
--- a/pkgs/tools/typesetting/docbookrx/default.nix
+++ /dev/null
@@ -1,53 +0,0 @@
-{ lib
-, fetchFromGitHub
-, stdenv
-, ruby
-, bundlerEnv
-}:
-
-let
- env = bundlerEnv {
- name = "docbookrx-env";
- gemdir = ./.;
-
- inherit ruby;
-
- gemfile = ./Gemfile;
- lockfile = ./Gemfile.lock;
- gemset = ./gemset.nix;
- };
-
-in stdenv.mkDerivation {
-
- pname = "docbookrx";
- version = "unstable-2018-05-18";
-
- buildInputs = [ env.wrappedRuby ];
-
- src = fetchFromGitHub {
- owner = "asciidoctor";
- repo = "docbookrx";
- rev = "83d1d1235e3bb44506123eda337780a912581cd0";
- sha256 = "sha256-OdPRh7ZIhgM7hs5qPiuxLEUuMEtaXcgZ83M6i6CV6AY=";
- };
-
- # TODO: I don't know ruby packaging but this does the trick for now
- installPhase = ''
- runHook preInstall
-
- mkdir -p $out/bin
- cp -a bin/docbookrx $out/bin
- cp -a lib $out
-
- runHook postInstall
- '';
-
- meta = with lib; {
- description = "(An early version of) a DocBook to AsciiDoc converter written in Ruby";
- homepage = "https://asciidoctor.org/";
- license = licenses.mit;
- maintainers = with maintainers; [ ];
- platforms = platforms.unix;
- };
-
-}
diff --git a/pkgs/tools/typesetting/docbookrx/gemset.nix b/pkgs/tools/typesetting/docbookrx/gemset.nix
deleted file mode 100644
index fde67f2d4ee9..000000000000
--- a/pkgs/tools/typesetting/docbookrx/gemset.nix
+++ /dev/null
@@ -1,107 +0,0 @@
-{
- diff-lcs = {
- groups = ["default" "development"];
- platforms = [];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "0m925b8xc6kbpnif9dldna24q1szg4mk0fvszrki837pfn46afmz";
- type = "gem";
- };
- version = "1.4.4";
- };
- docbookrx = {
- dependencies = ["nokogiri"];
- groups = ["default"];
- platforms = [];
- source = {
- path = ./.;
- type = "path";
- };
- version = "1.0.0.dev";
- };
- nokogiri = {
- dependencies = ["racc"];
- groups = ["default"];
- platforms = [];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "4976a9c9e796527d51dc6c311b9bd93a0233f6a7962a0f569aa5c782461836ef";
- type = "gem";
- };
- version = "1.11.7";
- };
- racc = {
- groups = ["default"];
- platforms = [];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "0la56m0z26j3mfn1a9lf2l03qx1xifanndf9p3vx1azf6sqy7v9d";
- type = "gem";
- };
- version = "1.6.0";
- };
- rake = {
- groups = ["development"];
- platforms = [];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "15whn7p9nrkxangbs9hh75q585yfn66lv0v2mhj6q6dl6x8bzr2w";
- type = "gem";
- };
- version = "13.0.6";
- };
- rspec = {
- dependencies = ["rspec-core" "rspec-expectations" "rspec-mocks"];
- groups = ["development"];
- platforms = [];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "1hzsig4pi9ybr0xl5540m1swiyxa74c8h09225y5sdh2rjkkg84h";
- type = "gem";
- };
- version = "3.9.0";
- };
- rspec-core = {
- dependencies = ["rspec-support"];
- groups = ["default" "development"];
- platforms = [];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "0b8891149l4rdlaz58k1dprc09rhpvq98bblk4qpd3dvcvqklkvh";
- type = "gem";
- };
- version = "3.9.3";
- };
- rspec-expectations = {
- dependencies = ["diff-lcs" "rspec-support"];
- groups = ["default" "development"];
- platforms = [];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "0gjqa3h4r8jna8dh22al4f6ks4x6l4knshx2b8jygkd1gk68n92q";
- type = "gem";
- };
- version = "3.9.4";
- };
- rspec-mocks = {
- dependencies = ["diff-lcs" "rspec-support"];
- groups = ["default" "development"];
- platforms = [];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "19vmdqym1v2g1zbdnq37zwmyj87y9yc9ijwc8js55igvbb9hx0mr";
- type = "gem";
- };
- version = "3.9.1";
- };
- rspec-support = {
- groups = ["default" "development"];
- platforms = [];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "0ig6wk1ln6wy0d6fjlbfwxibps1nidc6111fcnm0jfa1z5nkqczl";
- type = "gem";
- };
- version = "3.9.4";
- };
-}
diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix
index 0d98bf688189..861d649d0796 100644
--- a/pkgs/top-level/aliases.nix
+++ b/pkgs/top-level/aliases.nix
@@ -217,6 +217,7 @@ mapAliases ({
dmtx = dmtx-utils; # added 2018-04-25
dnnl = oneDNN; # added 2020-04-22
docbook5_xsl = docbook_xsl_ns; # added 2018-04-25
+ docbookrx = throw "docbookrx has been removed since it was unmaintained"; # added 2021-01-12
docbook_xml_xslt = docbook_xsl; # added 2018-04-25
dolphinEmu = dolphin-emu; # added 2021-11-10
dolphinEmuMaster = dolphin-emu-beta; # added 2021-11-10
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 77500d7fbaf6..a545271e2d95 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -4706,8 +4706,6 @@ with pkgs;
docbook2mdoc = callPackage ../tools/misc/docbook2mdoc { };
- docbookrx = callPackage ../tools/typesetting/docbookrx { };
-
docear = callPackage ../applications/office/docear { };
dockbarx = callPackage ../applications/misc/dockbarx { };