2020-06-12 21:40:29 +01:00
|
|
|
{ stdenv, fetchFromGitHub, gtk3, pkgconfig, intltool, libxslt, makeWrapper,
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2020-06-12 21:40:29 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig 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 \
|
|
|
|
--prefix PATH : ${stdenv.lib.makeBinPath [ zip unzip p7zip unrar gnutar bzip2 gzip lhasa coreutils ]}
|
|
|
|
'';
|
|
|
|
|
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";
|
2016-05-17 12:57:28 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.domenkozar ];
|
2014-02-21 12:18:56 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|