10 , gobject-introspection
29 pythonenv = python3.withPackages (ps: [
31 ps.dbus-python # For one plugin
35 stdenv.mkDerivation rec {
39 src = fetchFromGitHub {
43 sha256 = "sha256-o2vLNIELd1EYWG26t5gOpnamJrBJeg4P6fcLirkcmfM=";
46 # configure wants to find gst-inspect-1.0 via pkgconfig but
47 # the gstreamer toolsdir points to the wrong derivation output
49 substituteInPlace configure.ac \
50 --replace '$gst10_toolsdir/gst-inspect-1.0' '${gstreamer}/bin/gst-inspect-1.0' \
55 "INCLUDES=-I${glib.dev}/include/gio-unix-2.0"
56 "CFLAGS=-Wno-error" # Otherwise a lot of deprecated warnings are treated as error
87 # to satisfy configure script
88 pythonenv.pkgs.pygobject3
92 wrapProgram $out/bin/xplayer \
93 --prefix PATH : ${lib.makeBinPath [ pythonenv ]}
97 description = "A generic media player from Linux Mint";
98 license = with licenses; [ gpl2Plus lgpl21Plus ];
99 homepage = "https://github.com/linuxmint/xplayer";
100 maintainers = with maintainers; [ tu-maurice bobby285271 ];
101 platforms = platforms.linux;