2017-03-22 14:20:16 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libmtp, libid3tag, flac, libvorbis, gtk3
|
2018-02-25 02:23:58 +00:00
|
|
|
, gsettings-desktop-schemas, wrapGAppsHook
|
2017-03-22 14:20:16 +00:00
|
|
|
}:
|
|
|
|
|
2018-03-08 19:44:47 +00:00
|
|
|
let version = "1.3.11"; in
|
2017-03-22 14:20:16 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "gmtp-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/gmtp/gMTP-${version}/gmtp-${version}.tar.gz";
|
2018-03-08 19:44:47 +00:00
|
|
|
sha256 = "04q6byyq002fhzkc2rkkahwh5b6272xakaj4m3vwm8la8jf0r0ss";
|
2017-03-22 14:20:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
|
2018-02-25 02:23:58 +00:00
|
|
|
buildInputs = [ libmtp libid3tag flac libvorbis gtk3 gsettings-desktop-schemas ];
|
2017-03-22 14:20:16 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2018-03-30 22:40:36 +01:00
|
|
|
preFixup = ''
|
|
|
|
gappsWrapperArgs+=(--add-flags "--datapath \"$out/share\"");
|
|
|
|
'';
|
|
|
|
|
2017-03-22 14:20:16 +00:00
|
|
|
meta = {
|
|
|
|
description = "A simple MP3 and Media player client for UNIX and UNIX like systems.";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://gmtp.sourceforge.io;
|
2017-03-22 14:20:16 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.pbogdan ];
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|