nixpkgs/pkgs/applications/audio/ario/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

61 lines
1.0 KiB
Nix
Raw Normal View History

2021-02-12 11:29:51 +00:00
{ lib
, stdenv
, fetchurl
2022-11-02 12:51:11 +00:00
, autoreconfHook
2021-02-12 11:29:51 +00:00
, pkg-config
, intltool
, avahi
, curl
, dbus-glib
, gettext
, gtk3
, libmpdclient
, libsoup
, libxml2
, taglib
, wrapGAppsHook
}:
2015-03-14 06:46:17 +00:00
stdenv.mkDerivation rec {
pname = "ario";
2021-02-12 11:29:51 +00:00
version = "1.6";
2015-03-14 06:46:17 +00:00
src = fetchurl {
url = "mirror://sourceforge/ario-player/${pname}-${version}.tar.gz";
2018-11-18 00:05:11 +00:00
sha256 = "16nhfb3h5pc7flagfdz7xy0iq6kvgy6h4bfpi523i57rxvlfshhl";
2015-03-14 06:46:17 +00:00
};
2022-11-02 12:51:11 +00:00
nativeBuildInputs = [
autoreconfHook
pkg-config
gettext
intltool
wrapGAppsHook
];
2015-03-14 06:46:17 +00:00
buildInputs = [
2021-02-12 11:29:51 +00:00
avahi
curl
dbus-glib
gtk3
libmpdclient
libsoup
libxml2
taglib
2015-03-14 06:46:17 +00:00
];
2022-11-02 12:51:11 +00:00
postInstall = lib.optionalString stdenv.isDarwin ''
for file in $out/lib/ario/plugins/*.dylib; do
ln -s $file $out/lib/ario/plugins/$(basename $file .dylib).so
done
'';
2021-02-12 11:29:51 +00:00
meta = with lib; {
2018-11-18 00:05:11 +00:00
description = "GTK client for MPD (Music player daemon)";
homepage = "https://ario-player.sourceforge.net/";
2021-02-12 11:29:51 +00:00
license = licenses.gpl2Plus;
maintainers = [ maintainers.garrison ];
platforms = platforms.all;
2015-03-14 06:46:17 +00:00
};
}