diff --git a/pkgs/applications/file-managers/worker/default.nix b/pkgs/applications/file-managers/worker/default.nix deleted file mode 100644 index 3848487cbdc8..000000000000 --- a/pkgs/applications/file-managers/worker/default.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ lib, stdenv, libX11, fetchurl }: - -stdenv.mkDerivation rec { - pname = "worker"; - version = "4.12.1"; - - src = fetchurl { - url = "http://www.boomerangsworld.de/cms/worker/downloads/${pname}-${version}.tar.gz"; - sha256 = "sha256-11tSOVuGuCU0IvqpEKiKvUZj9DtjWJErLpM8IsTtvcs="; - }; - - buildInputs = [ libX11 ]; - - meta = with lib; { - description = "A two-pane file manager with advanced file manipulation features"; - homepage = "http://www.boomerangsworld.de/cms/worker/index.html"; - license = licenses.gpl2; - maintainers = []; - }; -} diff --git a/pkgs/by-name/wo/worker/package.nix b/pkgs/by-name/wo/worker/package.nix new file mode 100644 index 000000000000..772efc7015ed --- /dev/null +++ b/pkgs/by-name/wo/worker/package.nix @@ -0,0 +1,38 @@ +{ lib +, stdenv +, fetchurl +, libX11 +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "worker"; + version = "4.12.1"; + + src = fetchurl { + url = "http://www.boomerangsworld.de/cms/worker/downloads/worker-${finalAttrs.version}.tar.gz"; + hash = "sha256-11tSOVuGuCU0IvqpEKiKvUZj9DtjWJErLpM8IsTtvcs="; + }; + + buildInputs = [ libX11 ]; + + outputs = [ "out" "man" ]; + + strictDeps = true; + + meta = { + homepage = "http://www.boomerangsworld.de/cms/worker/index.html"; + description = "Advanced orthodox file manager"; + longDescription = '' + Worker is a two-pane file manager for the X Window System on UN*X. The + directories and files are shown in two independent panels supporting a lot + of advanced file manipulation features. The main focus is to make managing + files easy with full keyboard control, also assisting in finding files and + directories by using history of accessed directories, live filtering, and + access to commands by using the keyboard. + ''; + license = with lib.licenses; [ gpl2Plus ]; + mainProgram = "worker"; + maintainers = with lib.maintainers; [ AndersonTorres ]; + inherit (libX11.meta) platforms; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 96704b98bc1b..192ab35fe9c8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2999,8 +2999,6 @@ with pkgs; walk = callPackage ../applications/file-managers/walk { }; - worker = callPackage ../applications/file-managers/worker { }; - xfe = callPackage ../applications/file-managers/xfe { fox = fox_1_6; };