2018-03-12 20:31:10 +01:00
|
|
|
{ stdenv, fetchFromGitHub, fetchpatch, gtk3, pkgconfig, intltool, libxslt, hicolor-icon-theme }:
|
2014-02-21 13:18:56 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-11-03 14:25:01 +01:00
|
|
|
version = "0.5.4.12";
|
2014-02-21 13:18:56 +01:00
|
|
|
name = "xarchiver-${version}";
|
|
|
|
|
2016-07-15 18:23:26 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ib";
|
|
|
|
repo = "xarchiver";
|
2017-11-03 14:25:01 +01:00
|
|
|
rev = "${version}";
|
|
|
|
sha256 = "13d8slcx3frz0dhl1w4llj7001n57cjjb8r7dlaw5qacaas3xfwi";
|
2014-02-21 13:18:56 +01:00
|
|
|
};
|
|
|
|
|
2018-03-12 20:31:10 +01:00
|
|
|
patches = [
|
|
|
|
# Fixes darwin build, remove with next update.
|
|
|
|
(fetchpatch {
|
|
|
|
url = https://github.com/ib/xarchiver/commit/8c69d066a827419feafd0bd047d19207ceadc7df.patch;
|
|
|
|
sha256 = "1ch1409hx1ynkm0mz93zy8h7wvcrsn56sz7lczsf6hznc8yzl0qg";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2018-02-28 17:18:37 +01:00
|
|
|
buildInputs = [ gtk3 intltool libxslt hicolor-icon-theme ];
|
2014-02-21 13:18:56 +01:00
|
|
|
|
|
|
|
meta = {
|
2016-07-15 18:23:26 +02:00
|
|
|
description = "GTK+ frontend to 7z,zip,rar,tar,bzip2, gzip,arj, lha, rpm and deb (open and extract only)";
|
2016-07-23 13:18:42 +02:00
|
|
|
homepage = https://github.com/ib/xarchiver;
|
2016-05-17 13:57:28 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.domenkozar ];
|
2014-02-21 13:18:56 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|