@@ -0,0 +1,27 @@
1+{ stdenv, fetchurl, pkgconfig, libmtp, libid3tag, flac, libvorbis, gtk3
2+, gsettings_desktop_schemas, wrapGAppsHook
3+}:
4+
5+let version = "1.3.10"; in
6+
7+stdenv.mkDerivation {
8+ name = "gmtp-${version}";
9+
10+ src = fetchurl {
11+ url = "mirror://sourceforge/gmtp/gMTP-${version}/gmtp-${version}.tar.gz";
12+ sha256 = "b21b9a8e66ae7bb09fc70ac7e317a0e32aff3917371a7241dea73c41db1dd13b";
13+ };
14+
15+ nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
16+ buildInputs = [ libmtp libid3tag flac libvorbis gtk3 gsettings_desktop_schemas ];
17+
18+ enableParallelBuilding = true;
19+
20+ meta = {
21+ description = "A simple MP3 and Media player client for UNIX and UNIX like systems.";
22+ homepage = "https://gmtp.sourceforge.io";
23+ platforms = stdenv.lib.platforms.linux;
24+ maintainers = [ stdenv.lib.maintainers.pbogdan ];
25+ license = stdenv.lib.licenses.bsd3;
26+ };
27+}