2012-08-23 19:57:31 +02:00
|
|
|
{ stdenv, fetchurl, libogg }:
|
2009-02-09 17:51:03 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-06-11 14:17:56 +02:00
|
|
|
name = "flac-1.3.0";
|
2012-08-23 19:57:31 +02:00
|
|
|
|
2009-02-09 17:51:03 +01:00
|
|
|
src = fetchurl {
|
2013-06-11 14:17:56 +02:00
|
|
|
url = "http://downloads.xiph.org/releases/flac/${name}.tar.xz";
|
|
|
|
sha256 = "1p0hh190kqvpkbk1bbajd81jfbmkyl4fn2i7pggk2zppq6m68bgs";
|
2009-02-09 17:51:03 +01:00
|
|
|
};
|
|
|
|
|
2012-08-23 19:57:31 +02:00
|
|
|
buildInputs = [ libogg ];
|
|
|
|
|
2013-06-11 14:17:56 +02:00
|
|
|
doCheck = true; # takes lots of time but will be run rarely (small build-time closure)
|
2009-02-12 22:19:31 +01:00
|
|
|
|
2014-01-28 18:11:00 +01:00
|
|
|
meta = with stdenv.lib; {
|
2013-06-11 14:17:56 +02:00
|
|
|
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";
|
2014-01-28 18:11:00 +01:00
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = maintainers.mornfall;
|
2009-02-09 17:51:03 +01:00
|
|
|
};
|
|
|
|
}
|