diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-11-08 11:21:13 -0300 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-11-11 16:47:12 -0300 |
commit | 8bcd650eded018e9b96e932640911e668a1e4287 (patch) | |
tree | 906e7ac8b81a3f440916c4825f82a1012bef9594 /pkgs/by-name/wo | |
parent | 8197b693591f594a81c83a406f197e06c09d5110 (diff) |
worker: adopt and refactor
- migrate to by-name - use finalAttrs design pattern - split outputs - update meta attributes
Diffstat (limited to 'pkgs/by-name/wo')
-rw-r--r-- | pkgs/by-name/wo/worker/package.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/by-name/wo/worker/package.nix b/pkgs/by-name/wo/worker/package.nix new file mode 100644 index 0000000000000..772efc7015edb --- /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; + }; +}) |