depot/third_party/nixpkgs/pkgs/development/libraries/gtk-frdp/default.nix
Default email a66bca1520 Project import generated by Copybara.
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
2022-12-17 11:02:37 +01:00

59 lines
1 KiB
Nix

{ lib
, stdenv
, fetchFromGitLab
, meson
, ninja
, pkg-config
, vala
, gobject-introspection
, glib
, gtk3
, freerdp
, unstableGitUpdater
}:
stdenv.mkDerivation rec {
pname = "gtk-frdp";
version = "unstable-2022-04-11";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "GNOME";
repo = pname;
rev = "d7f408fb23adc01db14c708b35b74a317418de4b";
sha256 = "EyReJX3f7G5+EEB/gbLTnrxdltedbzm7Bg02hCb+XO0=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
vala
gobject-introspection
];
buildInputs = [
glib
gtk3
freerdp
];
passthru = {
updateScript = unstableGitUpdater {
branch = "gtk-frdp-0-1";
};
};
NIX_CFLAGS_COMPILE = lib.optionals stdenv.isDarwin [
"-DTARGET_OS_IPHONE=0"
"-DTARGET_OS_WATCH=0"
];
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;
};
}