lol
1{ lib, stdenv, fetchFromGitLab, autoreconfHook, pkg-config, libogg }:
2
3stdenv.mkDerivation {
4 pname = "tremor";
5 version = "unstable-2018-03-16";
6
7 src = fetchFromGitLab {
8 owner = "xiph";
9 repo = "tremor";
10 domain = "gitlab.xiph.org";
11 rev = "562307a4a7082e24553f3d2c55dab397a17c4b4f";
12 sha256 = "0m07gq4zfgigsiz8b518xyb19v7qqp76qmp7lb262825vkqzl3zq";
13 };
14
15 outputs = [ "out" "dev" ];
16
17 nativeBuildInputs = [ autoreconfHook pkg-config ];
18 propagatedBuildInputs = [ libogg ];
19
20 preConfigure = ''
21 sed -i /XIPH_PATH_OGG/d configure
22 '';
23
24 meta = {
25 homepage = "https://xiph.org/tremor/";
26 description = "Fixed-point version of the Ogg Vorbis decoder";
27 license = lib.licenses.bsd3;
28 platforms = lib.platforms.unix;
29 };
30}