Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 stdenv, 3 lib, 4 fetchFromGitLab, 5 gettext, 6 meson, 7 ninja, 8 pkg-config, 9 wayland-scanner, 10 wrapGAppsHook3, 11 glib, 12 gtk3, 13 libX11, 14 libXtst, 15 libxfce4ui, 16 libxfce4util, 17 qrencode, 18 xfce4-panel, 19 xfconf, 20 wayland, 21 wlr-protocols, 22 gitUpdater, 23}: 24 25stdenv.mkDerivation (finalAttrs: { 26 pname = "xfce4-clipman-plugin"; 27 version = "1.7.0"; 28 29 src = fetchFromGitLab { 30 domain = "gitlab.xfce.org"; 31 owner = "panel-plugins"; 32 repo = "xfce4-clipman-plugin"; 33 tag = "xfce4-clipman-plugin-${finalAttrs.version}"; 34 hash = "sha256-w9axHJJnTQrkN9s3RQyvkOcK0FOqsvWpoJ+UCDntnZk="; 35 }; 36 37 strictDeps = true; 38 39 depsBuildBuild = [ 40 pkg-config 41 ]; 42 43 nativeBuildInputs = [ 44 gettext 45 meson 46 ninja 47 pkg-config 48 wayland-scanner 49 wrapGAppsHook3 50 ]; 51 52 buildInputs = [ 53 glib 54 gtk3 55 libX11 56 libXtst 57 libxfce4ui 58 libxfce4util 59 qrencode 60 xfce4-panel 61 xfconf 62 wayland 63 wlr-protocols 64 ]; 65 66 passthru.updateScript = gitUpdater { rev-prefix = "xfce4-clipman-plugin-"; }; 67 68 meta = { 69 description = "Clipboard manager for Xfce panel"; 70 homepage = "https://gitlab.xfce.org/panel-plugins/xfce4-clipman-plugin"; 71 license = lib.licenses.gpl2Plus; 72 teams = [ lib.teams.xfce ]; 73 platforms = lib.platforms.linux; 74 }; 75})