depot/third_party/nixpkgs/pkgs/applications/misc/gmtp/default.nix
Default email d6cfb865ad Project import generated by Copybara.
GitOrigin-RevId: 5265d49a36bb5a18c85e6817b338b456acc3b8cc
2020-10-18 20:13:06 -04:00

32 lines
897 B
Nix

{ stdenv, fetchurl, pkgconfig, libmtp, libid3tag, flac, libvorbis, gtk3
, gsettings-desktop-schemas, wrapGAppsHook
}:
let version = "1.3.11"; in
stdenv.mkDerivation {
pname = "gmtp";
inherit version;
src = fetchurl {
url = "mirror://sourceforge/gmtp/gMTP-${version}/gmtp-${version}.tar.gz";
sha256 = "04q6byyq002fhzkc2rkkahwh5b6272xakaj4m3vwm8la8jf0r0ss";
};
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
buildInputs = [ libmtp libid3tag flac libvorbis gtk3 gsettings-desktop-schemas ];
enableParallelBuilding = true;
preFixup = ''
gappsWrapperArgs+=(--add-flags "--datapath \"$out/share\"");
'';
meta = {
description = "A simple MP3 and Media player client for UNIX and UNIX like systems";
homepage = "https://gmtp.sourceforge.io";
platforms = stdenv.lib.platforms.linux;
maintainers = [ ];
license = stdenv.lib.licenses.bsd3;
};
}