mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
pantheon.gnome-bluetooth-contract: fix version, add passthru.updateScript
Upstream doesn't tag release, we use unstableGitUpdater.
This commit is contained in:
parent
60b8276d82
commit
60e289a6d0
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user