meld: add updateScript
This commit is contained in:
parent
7f3b5e6de1
commit
26dc2abc2b
@ -4,14 +4,14 @@
|
||||
|
||||
|
||||
let
|
||||
minor = "3.18";
|
||||
version = "${minor}.0";
|
||||
pname = "meld";
|
||||
version = "3.18.0";
|
||||
inherit (python3Packages) python buildPythonApplication pycairo pygobject3;
|
||||
in buildPythonApplication rec {
|
||||
name = "meld-${version}";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/meld/${minor}/meld-${version}.tar.xz";
|
||||
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
||||
sha256 = "0gi2jzgsrd5q2icyp6wphbn532ddg82nxhfxlffkniy7wnqmi0c4";
|
||||
};
|
||||
|
||||
@ -43,6 +43,12 @@ in buildPythonApplication rec {
|
||||
|
||||
doCheck = false;
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome3.updateScript {
|
||||
packageName = pname;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Visual diff and merge tool";
|
||||
homepage = http://meldmerge.org/;
|
||||
|
Loading…
Reference in New Issue
Block a user