mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 17:14:33 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
62 lines
1.1 KiB
Nix
62 lines
1.1 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, autoreconfHook
|
|
, pkg-config
|
|
, intltool
|
|
, avahi
|
|
, curl
|
|
, dbus-glib
|
|
, gettext
|
|
, gtk3
|
|
, libmpdclient
|
|
, libsoup
|
|
, libxml2
|
|
, taglib
|
|
, wrapGAppsHook
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ario";
|
|
version = "1.6";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/ario-player/${pname}-${version}.tar.gz";
|
|
sha256 = "16nhfb3h5pc7flagfdz7xy0iq6kvgy6h4bfpi523i57rxvlfshhl";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
gettext
|
|
intltool
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
avahi
|
|
curl
|
|
dbus-glib
|
|
gtk3
|
|
libmpdclient
|
|
libsoup
|
|
libxml2
|
|
taglib
|
|
];
|
|
|
|
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
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "GTK client for MPD (Music player daemon)";
|
|
mainProgram = "ario";
|
|
homepage = "https://ario-player.sourceforge.net/";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = [ maintainers.garrison ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|