vifm: 0.10.1 -> 0.11

This commit is contained in:
R. RyanTM 2020-09-27 02:33:03 +00:00 committed by zowoq
parent 020ff6989a
commit 40b1a628b6

View File

@ -4,25 +4,25 @@
, utillinux, file, which, groff , utillinux, file, which, groff
# adds support for handling removable media (vifm-media). Linux only! # adds support for handling removable media (vifm-media). Linux only!
, mediaSupport ? false, python3 ? null, udisks2 ? null, lib ? null , mediaSupport ? false, python3 ? null, udisks2 ? null, lib ? null
}: }:
let isFullPackage = mediaSupport; let isFullPackage = mediaSupport;
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = if isFullPackage then "vifm-full" else "vifm"; pname = if isFullPackage then "vifm-full" else "vifm";
version = "0.10.1"; version = "0.11";
src = fetchurl { src = fetchurl {
url = "https://github.com/vifm/vifm/releases/download/v${version}/vifm-${version}.tar.bz2"; url = "https://github.com/vifm/vifm/releases/download/v${version}/vifm-${version}.tar.bz2";
sha256 = "0fyhxh7ndjn8fyjhj14ymkr3pjcs3k1xbs43g7xvvq85vdb6y04r"; sha256 = "0rqyd424y0g5b5basw2ybb60r9gar4f40d1xgzr3c2dsy4jpwvyh";
}; };
nativeBuildInputs = [ pkgconfig makeWrapper ]; nativeBuildInputs = [ pkgconfig makeWrapper ];
buildInputs = [ ncurses libX11 utillinux file which groff ]; buildInputs = [ ncurses libX11 utillinux file which groff ];
postFixup = let postFixup = let
path = lib.makeBinPath path = lib.makeBinPath
[ udisks2 [ udisks2
(python3.withPackages (p: [p.dbus-python])) (python3.withPackages (p: [p.dbus-python]))
]; ];
@ -42,4 +42,3 @@ in stdenv.mkDerivation rec {
updateWalker = true; updateWalker = true;
}; };
} }