2021-05-20 23:08:51 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitLab
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, vala
|
|
|
|
, gobject-introspection
|
|
|
|
, glib
|
|
|
|
, gtk3
|
2024-05-15 15:35:15 +00:00
|
|
|
, freerdp3
|
2024-01-02 11:29:13 +00:00
|
|
|
, fuse3
|
2021-10-17 02:12:59 +00:00
|
|
|
, unstableGitUpdater
|
2021-05-20 23:08:51 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gtk-frdp";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "3.37.1-unstable-2024-03-01";
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.gnome.org";
|
|
|
|
owner = "GNOME";
|
|
|
|
repo = pname;
|
2024-05-15 15:35:15 +00:00
|
|
|
rev = "11e9fcbee8ca5ec70456dd5b616b2560d7f73adc";
|
|
|
|
sha256 = "2e/bAZFRTbBU4ZfgMFHiN9JwVm4qXSRtirPvbC3oT5s=";
|
2021-05-20 23:08:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
vala
|
|
|
|
gobject-introspection
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gtk3
|
2024-05-15 15:35:15 +00:00
|
|
|
freerdp3
|
2024-01-02 11:29:13 +00:00
|
|
|
fuse3
|
2021-05-20 23:08:51 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
passthru = {
|
2024-05-15 15:35:15 +00:00
|
|
|
updateScript = unstableGitUpdater {
|
|
|
|
tagPrefix = "v";
|
|
|
|
};
|
2021-05-20 23:08:51 +00:00
|
|
|
};
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.isDarwin [
|
2022-10-21 18:38:19 +00:00
|
|
|
"-DTARGET_OS_IPHONE=0"
|
|
|
|
"-DTARGET_OS_WATCH=0"
|
2023-03-04 12:14:45 +00:00
|
|
|
]);
|
2022-10-21 18:38:19 +00:00
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://gitlab.gnome.org/GNOME/gtk-frdp";
|
|
|
|
description = "RDP viewer widget for GTK";
|
|
|
|
maintainers = teams.gnome.members;
|
|
|
|
license = licenses.lgpl3Plus;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|