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
|
|
|
, 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
|
2024-01-02 11:29:13 +00:00
|
|
|
, libpeas2
|
2023-03-15 16:39:30 +00:00
|
|
|
, libportal-gtk4
|
|
|
|
, pulseaudio
|
|
|
|
, sqlite
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "valent";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "unstable-2023-11-11";
|
2023-03-15 16:39:30 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "andyholmes";
|
|
|
|
repo = "valent";
|
2024-01-02 11:29:13 +00:00
|
|
|
rev = "51bca834b1c52a1cc49b79fe79d45dfcd9113c02";
|
2023-03-15 16:39:30 +00:00
|
|
|
fetchSubmodules = true;
|
2024-01-02 11:29:13 +00:00
|
|
|
hash = "sha256-jmhio/vS+w37IW81XgV4xfb/6ralMgAlwi3zigr4t20=";
|
2023-03-15 16:39:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
desktop-file-utils
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
2023-04-12 12:48:02 +00:00
|
|
|
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
|
2024-01-02 11:29:13 +00:00
|
|
|
libpeas2
|
2023-03-15 16:39:30 +00:00
|
|
|
libportal-gtk4
|
|
|
|
pulseaudio
|
|
|
|
sqlite
|
|
|
|
];
|
|
|
|
|
|
|
|
mesonFlags = [
|
|
|
|
"-Dplugin_bluez=true"
|
2024-01-02 11:29:13 +00:00
|
|
|
# FIXME: libpeas2 (and libpeas) not compiled with -Dvapi=true
|
|
|
|
"-Dvapi=false"
|
2023-03-15 16:39:30 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|