Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / fl / flac123 / package.nix
blob9837a48c426e0457f633dcf153cc698256f06fed
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   autoreconfHook,
6   flac,
7   libao,
8   libogg,
9   popt,
12 stdenv.mkDerivation (finalAttrs: {
13   pname = "flac123";
14   version = "2.1.1";
16   src = fetchFromGitHub {
17     owner = "flac123";
18     repo = "flac123";
19     rev = "v${finalAttrs.version}";
20     hash = "sha256-LtL69t2r9TlIkpQWZLge8ib7NZ5rvLW6JllG2UM16Kw=";
21   };
23   nativeBuildInputs = [ autoreconfHook ];
24   buildInputs = [
25     flac
26     libao
27     libogg
28     popt
29   ];
31   meta = {
32     homepage = "https://github.com/flac123/flac123";
33     description = "Command-line program for playing FLAC audio files";
34     license = lib.licenses.gpl2Plus;
35     maintainers = with lib.maintainers; [ kiike ];
36     mainProgram = "flac123";
37     platforms = lib.platforms.unix;
38   };