3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libde265/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
923 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkg-config }:
2018-07-01 10:05:29 +01:00
stdenv.mkDerivation rec {
2020-11-11 13:07:28 +00:00
version = "1.0.8";
pname = "libde265";
2018-07-01 10:05:29 +01:00
src = fetchFromGitHub {
owner = "strukturag";
repo = "libde265";
rev = "v${version}";
2020-11-11 13:07:28 +00:00
sha256 = "1dzflqbk248lz5ws0ni5acmf32b3rmnq5gsfaz7691qqjxkl1zml";
2018-07-01 10:05:29 +01:00
};
patches = [
(fetchpatch {
name = "CVE-2022-1253.patch";
url = "https://github.com/strukturag/libde265/commit/8e89fe0e175d2870c39486fdd09250b230ec10b8.patch";
sha256 = "sha256-F1BOWFx9oXR2trM22atyD3AJ5x6vVfURQ/PTlYP2Ibg=";
})
];
nativeBuildInputs = [ autoreconfHook pkg-config ];
2018-07-01 10:05:29 +01:00
2019-06-11 00:18:53 +01:00
enableParallelBuilding = true;
2018-07-01 10:05:29 +01:00
meta = {
homepage = "https://github.com/strukturag/libde265";
description = "Open h.265 video codec implementation";
license = lib.licenses.lgpl3;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ gebner ];
2018-07-01 10:05:29 +01:00
};
}