diff options
author | Daniel Schaefer <git@danielschaefer.me> | 2019-04-25 08:46:07 +0200 |
---|---|---|
committer | Daniel Schaefer <git@danielschaefer.me> | 2019-05-12 22:23:48 +0200 |
commit | b85ccbac54738a9979af11e0582b5d0ed1c50cbd (patch) | |
tree | dc215fd637742e214fe52dd3ed152f93641762f9 /pkgs/applications/graphics/gthumb | |
parent | 5b9bb1b4311d93085ae3e94bf024d88d150b11eb (diff) |
treewide: Add passthru.updateScript to gnome pkgs
`updateScript` lets us update packages automatically.
For packages that are hosted on the gnome mirror it's very easy to add
that. Inspired by https://github.com/NixOS/nixpkgs/issues/36150
Diffstat (limited to 'pkgs/applications/graphics/gthumb')
-rw-r--r-- | pkgs/applications/graphics/gthumb/default.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/applications/graphics/gthumb/default.nix b/pkgs/applications/graphics/gthumb/default.nix index e88c9222b87c..6bcd16934e30 100644 --- a/pkgs/applications/graphics/gthumb/default.nix +++ b/pkgs/applications/graphics/gthumb/default.nix @@ -4,14 +4,12 @@ libchamplain, librsvg, libwebp, json-glib, webkitgtk, lcms2, bison, flex, wrapGAppsHook, shared-mime-info }: -let +stdenv.mkDerivation rec { pname = "gthumb"; version = "3.6.2"; -in stdenv.mkDerivation rec { - name = "${pname}-${version}"; src = fetchurl { - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; + url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; sha256 = "0rjb0bsjhn7nyl5jyjgrypvr6qdr9dc2g586j3lzan96a2vnpgy9"; }; |