5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
39 lines
755 B
Nix
39 lines
755 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
flac,
|
|
libao,
|
|
libogg,
|
|
popt,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "flac123";
|
|
version = "2.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "flac123";
|
|
repo = "flac123";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-LtL69t2r9TlIkpQWZLge8ib7NZ5rvLW6JllG2UM16Kw=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
buildInputs = [
|
|
flac
|
|
libao
|
|
libogg
|
|
popt
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/flac123/flac123";
|
|
description = "A command-line program for playing FLAC audio files";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = with lib.maintainers; [ kiike ];
|
|
mainProgram = "flac123";
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
})
|