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