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
This commit is contained in:
Daniel Schaefer
2019-05-12 22:23:48 +02:00
parent 5b9bb1b431
commit b85ccbac54
29 changed files with 205 additions and 113 deletions
+2 -2
View File
@@ -4,11 +4,11 @@
}:
stdenv.mkDerivation rec {
name = "pdfmod-${version}";
pname = "pdfmod";
version = "0.9.1";
src = fetchurl {
url = "mirror://gnome/sources/pdfmod/0.9/pdfmod-${version}.tar.bz2";
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
sha256 = "eb7c987514a053106ddf03f26544766c751c801d87762909b36415d46bc425c9";
};