libebml: 1.4.2 -> 1.4.4
This commit is contained in:
parent
9bfaebda3e
commit
13bd270b74
1 changed files with 3 additions and 18 deletions
|
@ -1,31 +1,16 @@
|
|||
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, pkg-config }:
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libebml";
|
||||
version = "1.4.2";
|
||||
version = "1.4.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Matroska-Org";
|
||||
repo = "libebml";
|
||||
rev = "release-${version}";
|
||||
sha256 = "1hiilnabar826lfxsaflqjhgsdli6hzzhjv8q2nmw36fvvlyks25";
|
||||
sha256 = "sha256-36SfZUHJ2sIvrrHox583cQqfWWcrL2zW1IHzgDchC9g=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Upstream fix for gcc-11
|
||||
(fetchpatch {
|
||||
url = "https://github.com/Matroska-Org/libebml/commit/f0bfd53647961e799a43d918c46cf3b6bff89806.patch";
|
||||
sha256 = "1yd6rsds03kwx5jki4hihd2bpfh26g5l1pi82qzaqzarixdxwzvl";
|
||||
excludes = [ "ChangeLog" ];
|
||||
})
|
||||
# in master post 1.4.2, see https://github.com/Matroska-Org/libebml/issues/97
|
||||
(fetchpatch {
|
||||
name = "fix-pkg-config.patch";
|
||||
url = "https://github.com/Matroska-Org/libebml/commit/42fbae35d291b737f2bb4ad5d643fd0d48537a88.patch";
|
||||
sha256 = "020qp4a3l60mcm4n310ynxbbv5qlpmybb9xy10pjvx4brp83pmy3";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
|
||||
cmakeFlags = [
|
||||
|
|
Loading…
Reference in a new issue