about summary refs log tree commit diff
path: root/pkgs/applications/audio/flac123/default.nix
blob: 646e361524d487322e0fccf51e1057f655492c46 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, stdenv, fetchurl, autoreconfHook, flac, libao, libogg, popt }:

stdenv.mkDerivation rec {
  pname = "flac123";
  version = "0.0.12";

  src = fetchurl {
    url = "mirror://sourceforge/flac-tools/${pname}-${version}-release.tar.gz";
    sha256 = "0zg4ahkg7v81za518x32wldf42g0rrvlrcqhrg9sv3li9bayyxhr";
  };

  nativeBuildInputs = [ autoreconfHook ];
  buildInputs = [ flac libao libogg popt ];

  meta = with lib; {
    homepage = "https://flac-tools.sourceforge.net/";
    description = "A command-line program for playing FLAC audio files";
    license = licenses.gpl2Plus;
    platforms = platforms.all;
    mainProgram = "flac123";
  };
}