meld: add updateScript

+10 -4
+10 -4
pkgs/applications/version-management/meld/default.nix
··· 4 5 6 let 7 - minor = "3.18"; 8 - version = "${minor}.0"; 9 inherit (python3Packages) python buildPythonApplication pycairo pygobject3; 10 in buildPythonApplication rec { 11 - name = "meld-${version}"; 12 13 src = fetchurl { 14 - url = "mirror://gnome/sources/meld/${minor}/meld-${version}.tar.xz"; 15 sha256 = "0gi2jzgsrd5q2icyp6wphbn532ddg82nxhfxlffkniy7wnqmi0c4"; 16 }; 17 ··· 42 pythonPath = [ gtk3 ]; 43 44 doCheck = false; 45 46 meta = with stdenv.lib; { 47 description = "Visual diff and merge tool";
··· 4 5 6 let 7 + pname = "meld"; 8 + version = "3.18.0"; 9 inherit (python3Packages) python buildPythonApplication pycairo pygobject3; 10 in buildPythonApplication rec { 11 + name = "${pname}-${version}"; 12 13 src = fetchurl { 14 + url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz"; 15 sha256 = "0gi2jzgsrd5q2icyp6wphbn532ddg82nxhfxlffkniy7wnqmi0c4"; 16 }; 17 ··· 42 pythonPath = [ gtk3 ]; 43 44 doCheck = false; 45 + 46 + passthru = { 47 + updateScript = gnome3.updateScript { 48 + packageName = pname; 49 + }; 50 + }; 51 52 meta = with stdenv.lib; { 53 description = "Visual diff and merge tool";