nixpkgs/pkgs/by-name/wo/worker/package.nix
Anderson Torres 8bcd650ede worker: adopt and refactor
- migrate to by-name
- use finalAttrs design pattern
- split outputs
- update meta attributes
2023-11-11 16:47:12 -03:00

39 lines
1.2 KiB
Nix

{ 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;
};
})