Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 65 lines 1.2 kB view raw
1{ 2 stdenv, 3 lib, 4 fetchFromGitLab, 5 gettext, 6 meson, 7 ninja, 8 pkg-config, 9 wrapGAppsHook3, 10 glib, 11 gtk3, 12 libxfce4ui, 13 libxfce4util, 14 xfconf, 15 libwnck, 16 libX11, 17 libXmu, 18 gitUpdater, 19}: 20 21stdenv.mkDerivation (finalAttrs: { 22 pname = "xfce4-taskmanager"; 23 version = "1.6.0"; 24 25 src = fetchFromGitLab { 26 domain = "gitlab.xfce.org"; 27 owner = "apps"; 28 repo = "xfce4-taskmanager"; 29 tag = "xfce4-taskmanager-${finalAttrs.version}"; 30 hash = "sha256-HQsZ7SmOX8Z5yuQUe+AvQFx+HVWNRRHEO7dE5DnfT/8="; 31 }; 32 33 strictDeps = true; 34 35 nativeBuildInputs = [ 36 gettext 37 glib # glib-compile-resources 38 meson 39 ninja 40 pkg-config 41 wrapGAppsHook3 42 ]; 43 44 buildInputs = [ 45 glib 46 gtk3 47 libxfce4ui 48 libxfce4util 49 xfconf 50 libwnck 51 libX11 52 libXmu 53 ]; 54 55 passthru.updateScript = gitUpdater { rev-prefix = "xfce4-taskmanager-"; }; 56 57 meta = { 58 description = "Easy to use task manager for Xfce"; 59 homepage = "https://gitlab.xfce.org/apps/xfce4-taskmanager"; 60 license = lib.licenses.gpl2Plus; 61 mainProgram = "xfce4-taskmanager"; 62 teams = [ lib.teams.xfce ]; 63 platforms = lib.platforms.linux; 64 }; 65})