nixpkgs/pkgs/applications/misc/valent/default.nix
Federico Damián Schonborn 9acd60aa46
valent: init at unstable-2023-03-02
Signed-off-by: Federico Damián Schonborn <fdschonborn@gmail.com>
2023-03-03 21:44:26 -03:00

68 lines
1.3 KiB
Nix

{ lib
, stdenv
, fetchFromGitHub
, desktop-file-utils
, meson
, ninja
, pkg-config
, wrapGAppsHook
, evolution-data-server-gtk4
, glib
, gnutls
, gst_all_1
, json-glib
, libadwaita
, libpeas
, libportal-gtk4
, pulseaudio
, sqlite
}:
stdenv.mkDerivation rec {
pname = "valent";
version = "unstable-2023-03-02";
src = fetchFromGitHub {
owner = "andyholmes";
repo = "valent";
rev = "4b60f28f46bc948c5f3b30189bb9b5fbe29d2745";
fetchSubmodules = true;
sha256 = "sha256-ltf/srQLqtqE71sxEh7VTQqXy2wOpTSdGDsjITOt3f8=";
};
nativeBuildInputs = [
desktop-file-utils
meson
ninja
pkg-config
wrapGAppsHook
];
buildInputs = [
evolution-data-server-gtk4
glib
gnutls
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
json-glib
libadwaita
libpeas
libportal-gtk4
pulseaudio
sqlite
];
mesonFlags = [
"-Dplugin_bluez=true"
];
meta = with lib; {
description = "An implementation of the KDE Connect protocol, built on GNOME platform libraries";
homepage = "https://github.com/andyholmes/valent/";
changelog = "https://github.com/andyholmes/valent/blob/${src.rev}/CHANGELOG.md";
license = with licenses; [ gpl3Plus cc0 ];
maintainers = with maintainers; [ federicoschonborn ];
platforms = platforms.linux;
};
}