2019-02-13 21:47:50 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gnome3, intltool, itstool, libxml2, gtk3,
|
2017-07-11 09:03:28 +01:00
|
|
|
wrapGAppsHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 20:07:20 +00:00
|
|
|
name = "ghex-${version}";
|
|
|
|
version = "3.18.3";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 01:12:11 +01:00
|
|
|
url = "mirror://gnome/sources/ghex/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2018-02-25 20:07:20 +00:00
|
|
|
sha256 = "c67450f86f9c09c20768f1af36c11a66faf460ea00fbba628a9089a6804808d3";
|
|
|
|
};
|
|
|
|
|
2017-07-11 09:03:28 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
|
|
|
|
|
2019-02-13 21:47:50 +00:00
|
|
|
buildInputs = [ gtk3 intltool itstool libxml2 ];
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "ghex";
|
|
|
|
attrPath = "gnome3.ghex";
|
|
|
|
};
|
|
|
|
};
|
2017-07-11 09:03:28 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://wiki.gnome.org/Apps/Ghex;
|
|
|
|
description = "Hex editor for GNOME desktop environment";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
};
|
|
|
|
}
|