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