2021-02-12 11:31:12 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, pkg-config
|
|
|
|
, dbus-glib
|
|
|
|
, audacious
|
|
|
|
, gtk2
|
|
|
|
, gsl
|
|
|
|
, libaudclient
|
|
|
|
, libmpdclient
|
|
|
|
}:
|
2015-08-13 11:13:11 +00:00
|
|
|
|
2021-02-12 11:31:12 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gjay";
|
|
|
|
version = "0.3.2";
|
2015-08-13 11:13:11 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-02-12 11:31:12 +00:00
|
|
|
url = "mirror://sourceforge/project/gjay/${pname}-${version}.tar.gz";
|
2015-08-13 11:13:11 +00:00
|
|
|
sha256 = "1a1vv4r0vnxjdyl0jyv7gga3zfd5azxlwjm1l6hjrf71lb228zn8";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2015-08-13 11:13:11 +00:00
|
|
|
|
2021-02-12 11:31:12 +00:00
|
|
|
buildInputs = [
|
|
|
|
libmpdclient
|
|
|
|
dbus-glib
|
|
|
|
audacious
|
|
|
|
gtk2
|
|
|
|
gsl
|
|
|
|
libaudclient
|
|
|
|
];
|
2015-08-13 11:13:11 +00:00
|
|
|
|
2016-08-03 20:02:44 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-08-13 11:13:11 +00:00
|
|
|
description = "Generates playlists such that each song sounds good following the previous song";
|
2023-01-21 21:41:12 +00:00
|
|
|
homepage = "https://gjay.sourceforge.net/";
|
2021-02-12 11:31:12 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2015-08-13 11:13:11 +00:00
|
|
|
maintainers = with maintainers; [ pSub ];
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = with platforms; linux;
|
2015-08-13 11:13:11 +00:00
|
|
|
};
|
|
|
|
}
|