mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
57 lines
1.0 KiB
Nix
57 lines
1.0 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitLab
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, vala
|
|
, gobject-introspection
|
|
, glib
|
|
, gtk3
|
|
, freerdp
|
|
, unstableGitUpdater
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gtk-frdp";
|
|
version = "unstable-2021-10-28";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.gnome.org";
|
|
owner = "GNOME";
|
|
repo = pname;
|
|
rev = "a44d84ec687f41ad37e43697b28a018f65780780";
|
|
sha256 = "7J4jf3gDiorsc4zs6zwC+j/Zg0oZWKAFAz9vvJJ2CYM=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
vala
|
|
gobject-introspection
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
gtk3
|
|
freerdp
|
|
];
|
|
|
|
passthru = {
|
|
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";
|
|
};
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|