Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 gettext, 6 meson, 7 ninja, 8 pkg-config, 9 libmpd, 10 libxfce4util, 11 xfce4-panel, 12 libxfce4ui, 13 glib, 14 gtk3, 15 gitUpdater, 16}: 17 18stdenv.mkDerivation (finalAttrs: { 19 pname = "xfce4-mpc-plugin"; 20 version = "0.6.0"; 21 22 src = fetchurl { 23 url = "mirror://xfce/src/panel-plugins/xfce4-mpc-plugin/${lib.versions.majorMinor finalAttrs.version}/xfce4-mpc-plugin-${finalAttrs.version}.tar.xz"; 24 hash = "sha256-3uW8wFZrotyVucO0yt1eizuyeYpUoqjYZScIkV/kXVA="; 25 }; 26 27 strictDeps = true; 28 29 nativeBuildInputs = [ 30 gettext 31 meson 32 ninja 33 pkg-config 34 ]; 35 36 buildInputs = [ 37 libmpd 38 libxfce4util 39 libxfce4ui 40 xfce4-panel 41 glib 42 gtk3 43 ]; 44 45 passthru.updateScript = gitUpdater { 46 url = "https://gitlab.xfce.org/panel-plugins/xfce4-mpc-plugin"; 47 rev-prefix = "xfce4-mpc-plugin-"; 48 }; 49 50 meta = { 51 homepage = "https://docs.xfce.org/panel-plugins/xfce4-mpc-plugin"; 52 description = "MPD plugin for Xfce panel"; 53 platforms = lib.platforms.linux; 54 license = lib.licenses.bsd0; 55 teams = [ lib.teams.xfce ]; 56 }; 57})