nixpkgs/pkgs/applications/audio/flac/default.nix

21 lines
561 B
Nix
Raw Normal View History

2012-08-23 19:57:31 +02:00
{ stdenv, fetchurl, libogg }:
stdenv.mkDerivation rec {
name = "flac-1.3.0";
2012-08-23 19:57:31 +02:00
src = fetchurl {
url = "http://downloads.xiph.org/releases/flac/${name}.tar.xz";
sha256 = "1p0hh190kqvpkbk1bbajd81jfbmkyl4fn2i7pggk2zppq6m68bgs";
};
2012-08-23 19:57:31 +02:00
buildInputs = [ libogg ];
doCheck = true; # takes lots of time but will be run rarely (small build-time closure)
meta = {
homepage = http://xiph.org/flac/;
2012-08-23 19:57:31 +02:00
description = "Library and tools for encoding and decoding the FLAC lossless audio file format";
platforms = stdenv.lib.platforms.all;
};
}