depot/third_party/nixpkgs/pkgs/desktops/pantheon/services/elementary-bluetooth-daemon/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

51 lines
931 B
Nix

{
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";
};
})