nixpkgs/pkgs/by-name/fl/flac123/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

40 lines
753 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 = "Command-line program for playing FLAC audio files";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ kiike ];
mainProgram = "flac123";
platforms = lib.platforms.unix;
};
})