2021-05-20 23:08:51 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitLab
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, vala
|
|
|
|
, gobject-introspection
|
|
|
|
, glib
|
|
|
|
, gtk3
|
|
|
|
, freerdp
|
2021-10-17 02:12:59 +00:00
|
|
|
, unstableGitUpdater
|
2021-05-20 23:08:51 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gtk-frdp";
|
2022-04-15 01:41:22 +00:00
|
|
|
version = "unstable-2022-04-11";
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.gnome.org";
|
|
|
|
owner = "GNOME";
|
|
|
|
repo = pname;
|
2022-04-15 01:41:22 +00:00
|
|
|
rev = "d7f408fb23adc01db14c708b35b74a317418de4b";
|
|
|
|
sha256 = "EyReJX3f7G5+EEB/gbLTnrxdltedbzm7Bg02hCb+XO0=";
|
2021-05-20 23:08:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
vala
|
|
|
|
gobject-introspection
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gtk3
|
|
|
|
freerdp
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru = {
|
2021-10-17 02:12:59 +00:00
|
|
|
updateScript = unstableGitUpdater {
|
|
|
|
branch = "gtk-frdp-0-1";
|
2021-05-20 23:08:51 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
NIX_CFLAGS_COMPILE = lib.optionals stdenv.isDarwin [
|
2022-10-21 18:38:19 +00:00
|
|
|
"-DTARGET_OS_IPHONE=0"
|
|
|
|
"-DTARGET_OS_WATCH=0"
|
|
|
|
];
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|