about summary refs log tree commit diff
path: root/pkgs/desktops
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2022-01-30 15:54:06 +0800
committerBobby Rong <rjl931189261@126.com>2022-01-30 15:54:06 +0800
commit60e289a6d067842b339bc6b1a0b4d59b53796d10 (patch)
tree72a5ed2771b779cafb8c7286c0c83552faac3459 /pkgs/desktops
parent60b8276d825b510de3a7bdedee254d352e56b515 (diff)
downloadnixlib-60e289a6d067842b339bc6b1a0b4d59b53796d10.tar
nixlib-60e289a6d067842b339bc6b1a0b4d59b53796d10.tar.gz
nixlib-60e289a6d067842b339bc6b1a0b4d59b53796d10.tar.bz2
nixlib-60e289a6d067842b339bc6b1a0b4d59b53796d10.tar.lz
nixlib-60e289a6d067842b339bc6b1a0b4d59b53796d10.tar.xz
nixlib-60e289a6d067842b339bc6b1a0b4d59b53796d10.tar.zst
nixlib-60e289a6d067842b339bc6b1a0b4d59b53796d10.zip
pantheon.gnome-bluetooth-contract: fix version, add passthru.updateScript
Upstream doesn't tag release, we use unstableGitUpdater.
Diffstat (limited to 'pkgs/desktops')
-rw-r--r--pkgs/desktops/pantheon/desktop/gnome-bluetooth-contract/default.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/desktops/pantheon/desktop/gnome-bluetooth-contract/default.nix b/pkgs/desktops/pantheon/desktop/gnome-bluetooth-contract/default.nix
index 36f4d3e539f0..e1a25eea4a63 100644
--- a/pkgs/desktops/pantheon/desktop/gnome-bluetooth-contract/default.nix
+++ b/pkgs/desktops/pantheon/desktop/gnome-bluetooth-contract/default.nix
@@ -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";