summary refs log tree commit diff
path: root/pkgs/applications/audio/gjay/default.nix
blob: 29d676598203e901909ac69e7c7b1398232499c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{ lib
, stdenv
, fetchurl
, pkg-config
, dbus-glib
, audacious
, gtk2
, gsl
, libaudclient
, libmpdclient
}:

stdenv.mkDerivation rec {
  pname = "gjay";
  version = "0.3.2";

  src = fetchurl {
    url = "mirror://sourceforge/project/gjay/${pname}-${version}.tar.gz";
    sha256 = "1a1vv4r0vnxjdyl0jyv7gga3zfd5azxlwjm1l6hjrf71lb228zn8";
  };

  nativeBuildInputs = [ pkg-config ];

  buildInputs = [
    libmpdclient
    dbus-glib
    audacious
    gtk2
    gsl
    libaudclient
  ];

  hardeningDisable = [ "format" ];

  meta = with lib; {
    description = "Generates playlists such that each song sounds good following the previous song";
    homepage = "https://gjay.sourceforge.net/";
    license = licenses.gpl2Plus;
    maintainers = with maintainers; [ pSub ];
    platforms = with platforms; linux;
  };
}