Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

libsecret: add updateScript

+10 -3
+10 -3
pkgs/development/libraries/libsecret/default.nix
··· 1 { stdenv, fetchurl, glib, pkgconfig, intltool, libxslt, docbook_xsl, gtk-doc 2 - , libgcrypt, gobjectIntrospection, vala_0_38 }: 3 let 4 version = "0.18.5"; 5 in 6 stdenv.mkDerivation rec { 7 - name = "libsecret-${version}"; 8 9 src = fetchurl { 10 - url = "mirror://gnome/sources/libsecret/0.18/${name}.tar.xz"; 11 sha256 = "1cychxc3ff8fp857iikw0n2s13s2mhw2dn1mr632f7w3sn6vvrww"; 12 }; 13 ··· 19 nativeBuildInputs = [ pkgconfig intltool libxslt docbook_xsl ]; 20 buildInputs = [ libgcrypt gobjectIntrospection vala_0_38 ]; 21 # optional: build docs with gtk-doc? (probably needs a flag as well) 22 23 meta = { 24 description = "A library for storing and retrieving passwords and other secrets";
··· 1 { stdenv, fetchurl, glib, pkgconfig, intltool, libxslt, docbook_xsl, gtk-doc 2 + , libgcrypt, gobjectIntrospection, vala_0_38, gnome3 }: 3 let 4 + pname = "libsecret"; 5 version = "0.18.5"; 6 in 7 stdenv.mkDerivation rec { 8 + name = "${pname}-${version}"; 9 10 src = fetchurl { 11 + url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz"; 12 sha256 = "1cychxc3ff8fp857iikw0n2s13s2mhw2dn1mr632f7w3sn6vvrww"; 13 }; 14 ··· 20 nativeBuildInputs = [ pkgconfig intltool libxslt docbook_xsl ]; 21 buildInputs = [ libgcrypt gobjectIntrospection vala_0_38 ]; 22 # optional: build docs with gtk-doc? (probably needs a flag as well) 23 + 24 + passthru = { 25 + updateScript = gnome3.updateScript { 26 + packageName = pname; 27 + }; 28 + }; 29 30 meta = { 31 description = "A library for storing and retrieving passwords and other secrets";