2021-05-14 14:25:32 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitLab
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, vala
|
|
|
|
, gobject-introspection
|
|
|
|
, glib
|
|
|
|
, gtk3
|
|
|
|
, freerdp
|
2021-10-15 01:30:44 +01:00
|
|
|
, unstableGitUpdater
|
2021-05-14 14:25:32 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gtk-frdp";
|
2021-10-15 01:30:44 +01:00
|
|
|
version = "unstable-2021-10-01";
|
2021-05-14 14:25:32 +01:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.gnome.org";
|
|
|
|
owner = "GNOME";
|
|
|
|
repo = pname;
|
2021-10-15 01:30:44 +01:00
|
|
|
rev = "9c15c1202ed66fe20334e33d798cc5ebd39917f0";
|
|
|
|
sha256 = "2YOLpyd26qWQKvneH4ww2DS8h/ZNYDmfbYIjQDvDMko=";
|
2021-05-14 14:25:32 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
vala
|
|
|
|
gobject-introspection
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gtk3
|
|
|
|
freerdp
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru = {
|
2021-10-15 01:30:44 +01:00
|
|
|
updateScript = unstableGitUpdater {
|
|
|
|
# The updater tries src.url by default, which does not exist for fetchFromGitHub (fetchurl).
|
|
|
|
url = "${meta.homepage}.git";
|
|
|
|
branch = "gtk-frdp-0-1";
|
2021-05-14 14:25:32 +01: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;
|
|
|
|
};
|
|
|
|
}
|