worker: adopt and refactor
- migrate to by-name - use finalAttrs design pattern - split outputs - update meta attributes
This commit is contained in:
parent
8197b69359
commit
8bcd650ede
3 changed files with 38 additions and 22 deletions
|
@ -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 = [];
|
||||
};
|
||||
}
|
38
pkgs/by-name/wo/worker/package.nix
Normal file
38
pkgs/by-name/wo/worker/package.nix
Normal file
|
@ -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;
|
||||
};
|
||||
})
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue