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 glib, 10 gtk3, 11 libX11, 12 libxfce4ui, 13 libxfce4util, 14 xfce4-panel, 15 gitUpdater, 16}: 17 18stdenv.mkDerivation (finalAttrs: { 19 pname = "xfce4-time-out-plugin"; 20 version = "1.2.0"; 21 22 src = fetchFromGitLab { 23 domain = "gitlab.xfce.org"; 24 owner = "panel-plugins"; 25 repo = "xfce4-time-out-plugin"; 26 tag = "xfce4-time-out-plugin-${finalAttrs.version}"; 27 hash = "sha256-hyeqSnynsjAeD67oPjQs0ZeLKreXFMZXmvu38zweqrE="; 28 }; 29 30 strictDeps = true; 31 32 nativeBuildInputs = [ 33 gettext 34 meson 35 ninja 36 pkg-config 37 ]; 38 39 buildInputs = [ 40 glib 41 gtk3 42 libX11 43 libxfce4ui 44 libxfce4util 45 xfce4-panel 46 ]; 47 48 passthru.updateScript = gitUpdater { rev-prefix = "xfce4-time-out-plugin-"; }; 49 50 meta = { 51 description = "Panel plug-in to take periodical breaks from the computer"; 52 homepage = "https://gitlab.xfce.org/panel-plugins/xfce4-time-out-plugin"; 53 license = lib.licenses.gpl2Plus; 54 teams = [ lib.teams.xfce ]; 55 platforms = lib.platforms.linux; 56 }; 57})