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 libxfce4ui, 12 libxfce4util, 13 xfce4-panel, 14 xfconf, 15 gitUpdater, 16}: 17 18stdenv.mkDerivation (finalAttrs: { 19 pname = "xfce4-cpufreq-plugin"; 20 version = "1.3.0"; 21 22 src = fetchFromGitLab { 23 domain = "gitlab.xfce.org"; 24 owner = "panel-plugins"; 25 repo = "xfce4-cpufreq-plugin"; 26 tag = "xfce4-cpufreq-plugin-${finalAttrs.version}"; 27 hash = "sha256-IJ0gOzMs2JBS8KIlD5NHyUOf53PtTytm8J/j+5AEh5E="; 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 libxfce4ui 43 libxfce4util 44 xfce4-panel 45 xfconf 46 ]; 47 48 passthru.updateScript = gitUpdater { rev-prefix = "xfce4-cpufreq-plugin-"; }; 49 50 meta = { 51 description = "CPU Freq load plugin for Xfce panel"; 52 homepage = "https://gitlab.xfce.org/panel-plugins/xfce4-cpufreq-plugin"; 53 license = lib.licenses.gpl2Plus; 54 teams = [ lib.teams.xfce ]; 55 platforms = lib.platforms.linux; 56 }; 57})