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

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

57 lines
1.1 KiB
Nix
Raw Normal View History

{ lib
, stdenv
, audacious-plugins
, fetchurl
, gettext
, meson
, ninja
, pkg-config
, qtbase
, wrapQtAppsHook
}:
stdenv.mkDerivation rec {
pname = "audacious";
2023-03-08 07:21:45 +00:00
version = "4.3";
src = fetchurl {
2020-07-16 09:36:06 +00:00
url = "http://distfiles.audacious-media-player.org/audacious-${version}.tar.bz2";
2023-03-08 07:21:45 +00:00
sha256 = "sha256-J1hNyEXH5w24ySZ5kJRfFzIqHsyA/4tFLpypFqDOkJE=";
};
nativeBuildInputs = [
gettext
meson
ninja
pkg-config
wrapQtAppsHook
];
buildInputs = [
2020-07-16 09:36:06 +00:00
qtbase
];
mesonFlags = [
"-Dgtk=false"
"-Dbuildstamp=NixOS"
];
2021-11-25 08:54:23 +00:00
postInstall = lib.optionalString (audacious-plugins != null) ''
ln -s ${audacious-plugins}/lib/audacious $out/lib
'';
2020-07-16 09:36:06 +00:00
meta = with lib; {
description = "A lightweight and versatile audio player";
homepage = "https://audacious-media-player.org/";
maintainers = with maintainers; [ eelco ramkromberg ttuegel thiagokokada ];
platforms = with platforms; linux;
license = with licenses; [
bsd2
bsd3 #https://github.com/audacious-media-player/audacious/blob/master/COPYING
gpl2
gpl3
lgpl2Plus #http://redmine.audacious-media-player.org/issues/46
];
};
}