Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 73 lines 1.3 kB view raw
1{ 2 stdenv, 3 lib, 4 fetchFromGitLab, 5 meson, 6 ninja, 7 pkg-config, 8 wrapGAppsHook3, 9 dbus, 10 dbus-glib, 11 gst_all_1, 12 glib, 13 gtk3, 14 libnotify, 15 libX11, 16 libxfce4ui, 17 libxfce4util, 18 taglib, 19 xfconf, 20 gitUpdater, 21}: 22 23stdenv.mkDerivation (finalAttrs: { 24 pname = "parole"; 25 version = "4.20.0"; 26 27 src = fetchFromGitLab { 28 domain = "gitlab.xfce.org"; 29 owner = "apps"; 30 repo = "parole"; 31 tag = "parole-${finalAttrs.version}"; 32 hash = "sha256-I1wZsuZ/NM5bH6QTJpwd5WL9cIGNtkAxA2j5vhhdaTE="; 33 }; 34 35 strictDeps = true; 36 37 nativeBuildInputs = [ 38 dbus-glib # dbus-binding-tool 39 glib # glib-genmarshal 40 meson 41 ninja 42 pkg-config 43 wrapGAppsHook3 44 ]; 45 46 buildInputs = [ 47 dbus 48 dbus-glib 49 gst_all_1.gst-plugins-bad 50 gst_all_1.gst-plugins-base 51 gst_all_1.gst-plugins-good 52 gst_all_1.gst-plugins-ugly 53 glib 54 gtk3 55 libnotify 56 libX11 57 libxfce4ui 58 libxfce4util 59 taglib 60 xfconf 61 ]; 62 63 passthru.updateScript = gitUpdater { rev-prefix = "parole-"; }; 64 65 meta = { 66 description = "Modern simple media player"; 67 homepage = "https://gitlab.xfce.org/apps/parole"; 68 license = lib.licenses.gpl2Plus; 69 mainProgram = "parole"; 70 teams = [ lib.teams.xfce ]; 71 platforms = lib.platforms.linux; 72 }; 73})