nixpkgs/pkgs/development/libraries/tremor/default.nix
Andreas Rammhold c89ec027eb
tremor: svn-17866 -> git-562307a
This updates tremor to a newer version and it's new home in a git
repository. It hasn't been updated since 2011 and is used as a build
input for other packages.

Also fixes CVE-2018-5146 [1].

[1] http://seclists.org/oss-sec/2018/q1/243
2018-03-17 19:25:51 +01:00

25 lines
675 B
Nix

{ stdenv, fetchgit, autoreconfHook, pkgconfig, libogg }:
stdenv.mkDerivation rec {
name = "tremor-git-${src.rev}";
src = fetchgit {
url = https://git.xiph.org/tremor.git;
rev = "562307a4a7082e24553f3d2c55dab397a17c4b4f";
sha256 = "0m07gq4zfgigsiz8b518xyb19v7qqp76qmp7lb262825vkqzl3zq";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
propagatedBuildInputs = [ libogg ];
preConfigure = ''
sed -i /XIPH_PATH_OGG/d configure
'';
meta = {
homepage = https://xiph.org/tremor/;
description = "Fixed-point version of the Ogg Vorbis decoder";
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.unix;
};
}