fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 autoreconfHook,
6 flac,
7 libao,
8 libogg,
9 popt,
10}:
11
12stdenv.mkDerivation (finalAttrs: {
13 pname = "flac123";
14 version = "2.1.1";
15
16 src = fetchFromGitHub {
17 owner = "flac123";
18 repo = "flac123";
19 rev = "v${finalAttrs.version}";
20 hash = "sha256-LtL69t2r9TlIkpQWZLge8ib7NZ5rvLW6JllG2UM16Kw=";
21 };
22
23 nativeBuildInputs = [ autoreconfHook ];
24 buildInputs = [
25 flac
26 libao
27 libogg
28 popt
29 ];
30
31 meta = {
32 homepage = "https://github.com/flac123/flac123";
33 changelog = "https://github.com/flac123/flac123/blob/${finalAttrs.src.rev}/NEWS";
34 description = "Command-line program for playing FLAC audio files";
35 license = lib.licenses.gpl2Plus;
36 maintainers = with lib.maintainers; [ kiike ];
37 mainProgram = "flac123";
38 platforms = lib.platforms.unix;
39 };
40})