simple-scan: 46.0 → 48.1

https://gitlab.gnome.org/GNOME/simple-scan/-/compare/46.0...48.1

Switch to fetchFromGitLab due to https://gitlab.gnome.org/GNOME/simple-scan/-/issues/488

+12 -24
+12 -24
pkgs/by-name/si/simple-scan/package.nix
··· 1 { 2 lib, 3 stdenv, 4 - fetchurl, 5 - fetchpatch, 6 meson, 7 ninja, 8 pkg-config, 9 gettext, 10 itstool, 11 - python3, 12 wrapGAppsHook4, 13 cairo, 14 gdk-pixbuf, ··· 22 libxml2, 23 sane-backends, 24 vala, 25 - gnome, 26 gobject-introspection, 27 }: 28 29 stdenv.mkDerivation rec { 30 pname = "simple-scan"; 31 - version = "46.0"; 32 33 - src = fetchurl { 34 - url = "mirror://gnome/sources/simple-scan/${lib.versions.major version}/simple-scan-${version}.tar.xz"; 35 - hash = "sha256-wW5lkBQv5WO+UUMSKzu7U/awCn2p2VL2HEf6Jve08Kk="; 36 }; 37 38 - patches = [ 39 - # simple-scan: Use RDNN app ID 40 - # https://gitlab.gnome.org/GNOME/simple-scan/-/issues/390 41 - (fetchpatch { 42 - url = "https://gitlab.gnome.org/GNOME/simple-scan/-/commit/c09a6def153e52494072a36233c7e7b3307b67bf.patch"; 43 - hash = "sha256-deyssrsVwPAfT5ru6c0LFwR2pEFnZ0v8wMqoi96tw8s="; 44 - }) 45 - ]; 46 - 47 nativeBuildInputs = [ 48 meson 49 ninja 50 gettext 51 itstool 52 pkg-config 53 - python3 54 wrapGAppsHook4 55 libxml2 56 gobject-introspection # For setup hook ··· 70 sane-backends 71 ]; 72 73 - postPatch = '' 74 - patchShebangs data/meson_compile_gschema.py 75 - ''; 76 - 77 doCheck = true; 78 79 passthru = { 80 - updateScript = gnome.updateScript { 81 - packageName = "simple-scan"; 82 }; 83 }; 84
··· 1 { 2 lib, 3 stdenv, 4 + fetchFromGitLab, 5 meson, 6 ninja, 7 pkg-config, 8 gettext, 9 itstool, 10 wrapGAppsHook4, 11 cairo, 12 gdk-pixbuf, ··· 20 libxml2, 21 sane-backends, 22 vala, 23 + gitUpdater, 24 gobject-introspection, 25 }: 26 27 stdenv.mkDerivation rec { 28 pname = "simple-scan"; 29 + version = "48.1"; 30 31 + src = fetchFromGitLab { 32 + domain = "gitlab.gnome.org"; 33 + owner = "GNOME"; 34 + repo = "simple-scan"; 35 + tag = version; 36 + hash = "sha256-Y+uVAW0jpXJgadP6CjG8zeLgikFY2Pm0z4TZoyYK4+g="; 37 }; 38 39 nativeBuildInputs = [ 40 meson 41 ninja 42 gettext 43 itstool 44 pkg-config 45 wrapGAppsHook4 46 libxml2 47 gobject-introspection # For setup hook ··· 61 sane-backends 62 ]; 63 64 doCheck = true; 65 66 passthru = { 67 + updateScript = gitUpdater { 68 + # Ignore tags like 48.1-2, which actually does not introduce any changes. 69 + ignoredVersions = "-"; 70 }; 71 }; 72