pantheon.gnome-bluetooth-contract: fix version, add passthru.updateScript

Upstream doesn't tag release, we use unstableGitUpdater.
This commit is contained in:
Bobby Rong 2022-01-30 15:54:06 +08:00
parent 60b8276d82
commit 60e289a6d0
No known key found for this signature in database
GPG Key ID: ED07364437C91161

View File

@ -1,13 +1,14 @@
{ lib
, stdenv
, fetchFromGitHub
, unstableGitUpdater
, substituteAll
, gnome-bluetooth
}:
stdenv.mkDerivation rec {
pname = "gnome-bluetooth-contract";
version = "unstable-2021-02-23";
version = "unstable-2021-02-22";
src = fetchFromGitHub {
owner = "elementary";
@ -36,6 +37,12 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
passthru = {
updateScript = unstableGitUpdater {
url = "https://github.com/elementary/gnome-bluetooth-contract.git";
};
};
meta = with lib; {
description = "Contractor extension for GNOME Bluetooth";
homepage = "https://github.com/elementary/gnome-bluetooth-contract";