Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
48 lines
952 B
Nix
48 lines
952 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitLab,
|
|
autoreconfHook,
|
|
pkg-config,
|
|
libogg,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "tremor";
|
|
version = "unstable-2018-03-16";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "xiph";
|
|
repo = "tremor";
|
|
domain = "gitlab.xiph.org";
|
|
rev = "562307a4a7082e24553f3d2c55dab397a17c4b4f";
|
|
sha256 = "0m07gq4zfgigsiz8b518xyb19v7qqp76qmp7lb262825vkqzl3zq";
|
|
};
|
|
|
|
outputs = [
|
|
"out"
|
|
"dev"
|
|
];
|
|
|
|
configureFlags = lib.optional (
|
|
stdenv.cc.bintools.isLLVM && lib.versionAtLeast stdenv.cc.bintools.version "17"
|
|
) "LDFLAGS=-Wl,--undefined-version";
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
];
|
|
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 = lib.licenses.bsd3;
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|