4d5a95770c
GitOrigin-RevId: 3c5319ad3aa51551182ac82ea17ab1c6b0f0df89
41 lines
839 B
Nix
41 lines
839 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, autoreconfHook
|
|
, pkg-config
|
|
|
|
# for passthru.tests
|
|
, imagemagick
|
|
, libheif
|
|
, imlib2Full
|
|
, gst_all_1
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.0.11";
|
|
pname = "libde265";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "strukturag";
|
|
repo = "libde265";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-0aRUh5h49fnjBjy42A5fWYHnhnQ4CFoeSIXZilZewW8=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
passthru.tests = {
|
|
inherit imagemagick libheif imlib2Full;
|
|
inherit (gst_all_1) gst-plugins-bad;
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|