2023-03-15 16:39:30 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, desktop-file-utils
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
2023-04-12 12:48:02 +00:00
|
|
|
, vala
|
|
|
|
, wrapGAppsHook4
|
2023-03-15 16:39:30 +00:00
|
|
|
, evolution-data-server-gtk4
|
|
|
|
, glib
|
2023-04-12 12:48:02 +00:00
|
|
|
, glib-networking
|
2023-03-15 16:39:30 +00:00
|
|
|
, gnutls
|
|
|
|
, gst_all_1
|
|
|
|
, json-glib
|
|
|
|
, libadwaita
|
|
|
|
, libpeas
|
|
|
|
, libportal-gtk4
|
|
|
|
, pulseaudio
|
|
|
|
, sqlite
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "valent";
|
2023-08-04 22:07:22 +00:00
|
|
|
version = "unstable-2023-07-31";
|
2023-03-15 16:39:30 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "andyholmes";
|
|
|
|
repo = "valent";
|
2023-08-04 22:07:22 +00:00
|
|
|
rev = "698f39b496957d50c68437f16e74a7ac41eb5147";
|
2023-03-15 16:39:30 +00:00
|
|
|
fetchSubmodules = true;
|
2023-08-04 22:07:22 +00:00
|
|
|
hash = "sha256-AdW6oMRVIgat8XlH342PEwe6BfkzKVLSadGOTLGwzwo=";
|
2023-03-15 16:39:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
desktop-file-utils
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
2023-04-12 12:48:02 +00:00
|
|
|
vala
|
|
|
|
wrapGAppsHook4
|
2023-03-15 16:39:30 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
evolution-data-server-gtk4
|
|
|
|
glib
|
2023-04-12 12:48:02 +00:00
|
|
|
glib-networking
|
2023-03-15 16:39:30 +00:00
|
|
|
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 ];
|
2023-05-24 13:37:59 +00:00
|
|
|
maintainers = with maintainers; [ federicoschonborn aleksana ];
|
2023-03-15 16:39:30 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|