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