pantheon.elementary-bluetooth-daemon: init at 1.0.0

We will ship this in Pantheon module by default when new
wingpanel-indicator-bluetooth release happens.
This commit is contained in:
Bobby Rong 2024-07-25 20:42:25 +08:00
parent 872a51a6e7
commit bd76dc9e6b
No known key found for this signature in database
2 changed files with 53 additions and 0 deletions

View File

@ -123,6 +123,8 @@ lib.makeScope pkgs.newScope (self: with self; {
contractor = callPackage ./services/contractor { };
elementary-bluetooth-daemon = callPackage ./services/elementary-bluetooth-daemon { };
elementary-capnet-assist = callPackage ./services/elementary-capnet-assist { };
elementary-notifications = callPackage ./services/elementary-notifications { };

View File

@ -0,0 +1,51 @@
{
stdenv,
lib,
fetchFromGitHub,
meson,
ninja,
pkg-config,
vala,
wrapGAppsHook3,
granite,
gtk3,
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "elementary-bluetooth-daemon";
version = "1.0.0";
src = fetchFromGitHub {
owner = "elementary";
repo = "bluetooth-daemon";
rev = finalAttrs.version;
hash = "sha256-09udSmd51l7zPe83RBg+AihpwsELclEF+Jn+5DKdJUI=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
vala
wrapGAppsHook3
];
buildInputs = [
granite
gtk3
];
passthru = {
updateScript = nix-update-script { };
};
meta = {
description = "Send and receive files via bluetooth";
homepage = "https://github.com/elementary/bluetooth-daemon";
license = lib.licenses.gpl3Plus;
maintainers = lib.teams.pantheon.members;
platforms = lib.platforms.linux;
mainProgram = "io.elementary.bluetooth";
};
})