libogg: 1.3.4 -> 1.3.5

This commit is contained in:
Sergei Trofimovich 2021-09-15 08:29:37 +01:00 committed by Emery Hemingway
parent 52ebc93c96
commit 56878bb656

View File

@ -1,23 +1,16 @@
{ lib, stdenv, fetchurl, fetchpatch }:
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "libogg-1.3.4";
pname = "libogg";
version = "1.3.5";
src = fetchurl {
url = "http://downloads.xiph.org/releases/ogg/${name}.tar.xz";
sha256 = "1zlk33vxvxr0l9lhkbhkdwvylw96d2n0fnd3d8dl031hph9bqqy1";
url = "http://downloads.xiph.org/releases/ogg/${pname}-${version}.tar.xz";
sha256 = "01b7050bghdvbxvw0gzv588fn4a27zh42ljpwzm4vrf8dziipnf4";
};
outputs = [ "out" "dev" "doc" ];
patches = lib.optionals stdenv.isDarwin [
# Fix unsigned typedefs on darwin. Remove with the next release https://github.com/xiph/ogg/pull/64
(fetchpatch {
url = "https://github.com/xiph/ogg/commit/c8fca6b4a02d695b1ceea39b330d4406001c03ed.patch";
sha256 = "1s72g37y87x0a74zjji9vx2hyk86kr4f2l3m4y2fipvlf9348b3f";
})
];
meta = with lib; {
description = "Media container library to manipulate Ogg files";
longDescription = ''