diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2024-03-10 17:46:02 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2024-03-10 13:44:51 -0400 |
commit | e9c8a189182e8191a8ed15e52203c2b4154b3a20 (patch) | |
tree | c77a9ab3182c640996fa5f14bc22e425bb61bd57 /pkgs/development | |
parent | 69acd20548120b56ae0d030700f07d54a885c9c0 (diff) |
gnome-online-accounts: Switch back to GNOME sources
Partially reverts 5366676eba2713a27c9854926d652cd731ffb1f2. Meson is now the only build system. Also switch to finalAttrs pattern.
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/libraries/gnome-online-accounts/default.nix | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/pkgs/development/libraries/gnome-online-accounts/default.nix b/pkgs/development/libraries/gnome-online-accounts/default.nix index db6fc891c755e..9b13a780250f3 100644 --- a/pkgs/development/libraries/gnome-online-accounts/default.nix +++ b/pkgs/development/libraries/gnome-online-accounts/default.nix @@ -1,6 +1,6 @@ { stdenv , lib -, fetchFromGitLab +, fetchurl , fetchpatch , pkg-config , vala @@ -31,18 +31,15 @@ , wrapGAppsHook }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "gnome-online-accounts"; version = "3.48.0"; outputs = [ "out" "dev" ] ++ lib.optionals enableBackend [ "man" "devdoc" ]; - src = fetchFromGitLab { - domain = "gitlab.gnome.org"; - owner = "GNOME"; - repo = "gnome-online-accounts"; - rev = version; - sha256 = "sha256-USl0Qay9pSgbbp3n/L8eBaRQwaBYledht5j+afmo++o="; + src = fetchurl { + url = "mirror://gnome/sources/gnome-online-accounts/${lib.versions.majorMinor finalAttrs.version}/gnome-online-accounts-${finalAttrs.version}.tar.xz"; + hash = "sha256-QYu5/P/b1yqYIFrTZRN2F/weNVGlTedPapjUXSZhdb8="; }; patches = [ @@ -100,7 +97,7 @@ stdenv.mkDerivation rec { passthru = { updateScript = gnome.updateScript { versionPolicy = "odd-unstable"; - packageName = pname; + packageName = "gnome-online-accounts"; }; }; @@ -111,4 +108,4 @@ stdenv.mkDerivation rec { license = licenses.lgpl2Plus; maintainers = teams.gnome.members; }; -} +}) |