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

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

62 lines
1.1 KiB
Nix
Raw Normal View History

2021-02-12 12:29:51 +01:00
{ lib
, stdenv
, fetchurl
2022-11-02 13:51:11 +01:00
, autoreconfHook
2021-02-12 12:29:51 +01:00
, pkg-config
, intltool
, avahi
, curl
, dbus-glib
, gettext
, gtk3
, libmpdclient
, libsoup
, libxml2
, taglib
, wrapGAppsHook3
2021-02-12 12:29:51 +01:00
}:
2015-03-14 07:46:17 +01:00
stdenv.mkDerivation rec {
pname = "ario";
2021-02-12 12:29:51 +01:00
version = "1.6";
2015-03-14 07:46:17 +01:00
src = fetchurl {
url = "mirror://sourceforge/ario-player/${pname}-${version}.tar.gz";
2018-11-18 01:05:11 +01:00
sha256 = "16nhfb3h5pc7flagfdz7xy0iq6kvgy6h4bfpi523i57rxvlfshhl";
2015-03-14 07:46:17 +01:00
};
2022-11-02 13:51:11 +01:00
nativeBuildInputs = [
autoreconfHook
pkg-config
gettext
intltool
wrapGAppsHook3
2022-11-02 13:51:11 +01:00
];
2015-03-14 07:46:17 +01:00
buildInputs = [
2021-02-12 12:29:51 +01:00
avahi
curl
dbus-glib
gtk3
libmpdclient
libsoup
libxml2
taglib
2015-03-14 07:46:17 +01:00
];
2022-11-02 13:51:11 +01: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 12:29:51 +01:00
meta = with lib; {
2018-11-18 01:05:11 +01:00
description = "GTK client for MPD (Music player daemon)";
mainProgram = "ario";
homepage = "https://ario-player.sourceforge.net/";
2021-02-12 12:29:51 +01:00
license = licenses.gpl2Plus;
maintainers = [ maintainers.garrison ];
platforms = platforms.all;
2015-03-14 07:46:17 +01:00
};
}