vifm: update to 0.7.5 and enabling new options
This commit is contained in:
parent
0fc82b73be
commit
3c6b2f7501
@ -1,48 +1,31 @@
|
||||
x@{builderDefsPackage
|
||||
, ncurses
|
||||
, ...}:
|
||||
builderDefsPackage
|
||||
(a :
|
||||
let
|
||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
||||
[];
|
||||
{ pkgs, fetchurl, stdenv, ncurses, utillinux, file, libX11 }:
|
||||
|
||||
buildInputs = map (n: builtins.getAttr n x)
|
||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||
sourceInfo = rec {
|
||||
baseName="vifm";
|
||||
version="0.6.3";
|
||||
name="${baseName}-${version}";
|
||||
url="mirror://sourceforge/project/${baseName}/${baseName}/${name}.tar.bz2";
|
||||
hash="1v5kiifjk7iyqrzjd94wn6a5dz4j3krl06pbp1ps9g3zdq2w2skv";
|
||||
};
|
||||
in
|
||||
rec {
|
||||
src = a.fetchurl {
|
||||
url = sourceInfo.url;
|
||||
sha256 = sourceInfo.hash;
|
||||
let
|
||||
name = "vifm-${version}";
|
||||
version = "0.7.5";
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
inherit name;
|
||||
|
||||
src = fetchurl {
|
||||
url="mirror://sourceforge/project/vifm/vifm/${name}.tar.bz2";
|
||||
sha256 ="1r1d92zrff94rfx011dw2qsgdwd2ksqlz15la74d6h7sfcsnyd01";
|
||||
};
|
||||
|
||||
inherit (sourceInfo) name version;
|
||||
inherit buildInputs;
|
||||
#phaseNames = ["doConfigure" "doMakeInstall"];
|
||||
buildInputs = [ utillinux ncurses file libX11 ];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
||||
|
||||
meta = {
|
||||
description = "A vi-like file manager";
|
||||
maintainers = with a.lib.maintainers;
|
||||
[
|
||||
raskin
|
||||
];
|
||||
platforms = with a.lib.platforms;
|
||||
linux;
|
||||
license = a.lib.licenses.gpl2;
|
||||
maintainers = with pkgs.lib.maintainers; [ raskin garbas ];
|
||||
platforms = pkgs.lib.platforms.linux;
|
||||
license = pkgs.lib.licenses.gpl2;
|
||||
};
|
||||
|
||||
passthru = {
|
||||
updateInfo = {
|
||||
downloadPage = "http://vifm.sf.net";
|
||||
};
|
||||
};
|
||||
}) x
|
||||
}
|
||||
|
||||
|
@ -1830,7 +1830,9 @@ let
|
||||
|
||||
vfdecrypt = callPackage ../tools/misc/vfdecrypt { };
|
||||
|
||||
vifm = callPackage ../applications/misc/vifm {};
|
||||
vifm = callPackage ../applications/misc/vifm {
|
||||
inherit (xlibs) libX11;
|
||||
};
|
||||
|
||||
viking = callPackage ../applications/misc/viking {
|
||||
inherit (gnome) scrollkeeper;
|
||||
|
Loading…
Reference in New Issue
Block a user