2020-08-04 16:44:33 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, gettext
|
|
|
|
, itstool
|
|
|
|
, python3
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, wrapGAppsHook
|
|
|
|
, libxml2
|
|
|
|
, pkg-config
|
|
|
|
, desktop-file-utils
|
|
|
|
, gobject-introspection
|
|
|
|
, gtk3
|
|
|
|
, gtksourceview4
|
|
|
|
, gnome3
|
|
|
|
, gsettings-desktop-schemas
|
2015-01-25 07:59:05 +00:00
|
|
|
}:
|
2015-01-21 19:59:57 +00:00
|
|
|
|
2019-01-13 21:05:01 +00:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2018-03-03 00:45:16 +00:00
|
|
|
pname = "meld";
|
2020-08-04 16:44:33 +01:00
|
|
|
version = "3.21.0";
|
|
|
|
|
|
|
|
format = "other";
|
2010-04-06 20:39:29 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-01-13 21:05:01 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-08-04 16:44:33 +01:00
|
|
|
sha256 = "toARTVq3kzJFSf1Y9OsgLY4oDAYzoLdl7ebfs0FgqBs=";
|
2010-04-06 20:39:29 +01:00
|
|
|
};
|
|
|
|
|
2019-01-13 21:05:01 +00:00
|
|
|
nativeBuildInputs = [
|
2020-08-04 16:44:33 +01:00
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
gettext
|
|
|
|
itstool
|
|
|
|
libxml2
|
|
|
|
pkg-config
|
|
|
|
desktop-file-utils
|
|
|
|
gobject-introspection
|
|
|
|
wrapGAppsHook
|
2020-10-02 16:16:23 +01:00
|
|
|
gtk3 # for gtk-update-icon-cache
|
2019-01-13 21:05:01 +00:00
|
|
|
];
|
2020-08-04 16:44:33 +01:00
|
|
|
|
2015-01-25 07:59:05 +00:00
|
|
|
buildInputs = [
|
2020-08-04 16:44:33 +01:00
|
|
|
gtk3
|
|
|
|
gtksourceview4
|
|
|
|
gsettings-desktop-schemas
|
|
|
|
gnome3.adwaita-icon-theme
|
2019-03-13 21:04:31 +00:00
|
|
|
gobject-introspection # fixes https://github.com/NixOS/nixpkgs/issues/56943 for now
|
2015-01-25 07:59:05 +00:00
|
|
|
];
|
2015-01-21 19:59:57 +00:00
|
|
|
|
2020-08-04 16:44:33 +01:00
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
pygobject3
|
|
|
|
pycairo
|
|
|
|
];
|
2017-12-28 11:29:12 +00:00
|
|
|
|
2018-03-03 00:45:16 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-09-02 20:57:08 +01:00
|
|
|
meta = with stdenv.lib; {
|
2010-04-06 20:39:29 +01:00
|
|
|
description = "Visual diff and merge tool";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://meldmerge.org/";
|
2020-08-04 16:44:33 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2019-01-13 21:05:01 +00:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2019-09-14 11:15:46 +01:00
|
|
|
maintainers = with maintainers; [ jtojnar mimame ];
|
2010-04-06 20:39:29 +01:00
|
|
|
};
|
|
|
|
}
|