nixpkgs-suyu/pkgs/desktops/gnome-3/apps/ghex/default.nix
Jan Tojnar 5cc18c4781
gnome3: remove versionBranch attribute
Standard library now contains stdenv.lib.versions.majorMinor,
which does the same.
2018-10-05 02:17:19 +02:00

27 lines
808 B
Nix

{ stdenv, fetchurl, pkgconfig, gnome3, intltool, itstool, libxml2,
wrapGAppsHook }:
stdenv.mkDerivation rec {
name = "ghex-${version}";
version = "3.18.3";
src = fetchurl {
url = "mirror://gnome/sources/ghex/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "c67450f86f9c09c20768f1af36c11a66faf460ea00fbba628a9089a6804808d3";
};
passthru = {
updateScript = gnome3.updateScript { packageName = "ghex"; attrPath = "gnome3.ghex"; };
};
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
buildInputs = [ gnome3.gtk intltool itstool libxml2 ];
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Ghex;
description = "Hex editor for GNOME desktop environment";
platforms = platforms.linux;
maintainers = gnome3.maintainers;
};
}