nixpkgs/pkgs/development/libraries/tremor/default.nix

30 lines
745 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitLab, autoreconfHook, pkg-config, libogg }:
2019-08-13 21:52:01 +00:00
stdenv.mkDerivation {
name = "tremor-unstable-2018-03-16";
2020-06-15 10:06:03 +00:00
src = fetchFromGitLab {
owner = "xiph";
repo = "tremor";
domain = "gitlab.xiph.org";
rev = "562307a4a7082e24553f3d2c55dab397a17c4b4f";
sha256 = "0m07gq4zfgigsiz8b518xyb19v7qqp76qmp7lb262825vkqzl3zq";
};
outputs = [ "out" "dev" ];
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;
};
}