2021-01-17 03:51:22 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, gtk3, pkg-config, intltool, libxslt, makeWrapper,
|
2020-06-12 21:40:29 +01:00
|
|
|
coreutils, zip, unzip, p7zip, unrar, gnutar, bzip2, gzip, lhasa, wrapGAppsHook }:
|
2014-02-21 12:18:56 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-05-29 08:45:05 +01:00
|
|
|
version = "0.5.4.14";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "xarchiver";
|
2014-02-21 12:18:56 +00:00
|
|
|
|
2016-07-15 17:23:26 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ib";
|
|
|
|
repo = "xarchiver";
|
2019-09-09 00:38:31 +01:00
|
|
|
rev = version;
|
2019-05-29 08:45:05 +01:00
|
|
|
sha256 = "1iklwgykgymrwcc5p1cdbh91v0ih1m58s3w9ndl5kyd44bwlb7px";
|
2014-02-21 12:18:56 +00:00
|
|
|
};
|
|
|
|
|
2021-01-17 03:51:22 +00:00
|
|
|
nativeBuildInputs = [ pkg-config makeWrapper wrapGAppsHook ];
|
2019-09-12 15:25:05 +01:00
|
|
|
buildInputs = [ gtk3 intltool libxslt ];
|
2014-02-21 12:18:56 +00:00
|
|
|
|
2020-06-12 21:40:29 +01:00
|
|
|
postFixup = ''
|
|
|
|
wrapProgram $out/bin/xarchiver \
|
2021-01-15 09:19:50 +00:00
|
|
|
--prefix PATH : ${lib.makeBinPath [ zip unzip p7zip unrar gnutar bzip2 gzip lhasa coreutils ]}
|
2020-06-12 21:40:29 +01:00
|
|
|
'';
|
|
|
|
|
2014-02-21 12:18:56 +00:00
|
|
|
meta = {
|
2019-09-03 23:49:40 +01:00
|
|
|
description = "GTK frontend to 7z,zip,rar,tar,bzip2, gzip,arj, lha, rpm and deb (open and extract only)";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/ib/xarchiver";
|
2021-01-15 09:19:50 +00:00
|
|
|
maintainers = [ lib.maintainers.domenkozar ];
|
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.all;
|
2014-02-21 12:18:56 +00:00
|
|
|
};
|
|
|
|
}
|