mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 07:31:20 +00:00
22 lines
607 B
Nix
22 lines
607 B
Nix
{ stdenv, fetchurl, libogg }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "flac-1.3.0";
|
|
|
|
src = fetchurl {
|
|
url = "http://downloads.xiph.org/releases/flac/${name}.tar.xz";
|
|
sha256 = "1p0hh190kqvpkbk1bbajd81jfbmkyl4fn2i7pggk2zppq6m68bgs";
|
|
};
|
|
|
|
buildInputs = [ libogg ];
|
|
|
|
doCheck = true; # takes lots of time but will be run rarely (small build-time closure)
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://xiph.org/flac/;
|
|
description = "Library and tools for encoding and decoding the FLAC lossless audio file format";
|
|
platforms = platforms.all;
|
|
maintainers = maintainers.mornfall;
|
|
};
|
|
}
|