hdr10plus_tool: init at 1.6.0

This commit is contained in:
John Titor 2024-09-05 10:48:58 +05:30
parent 2be1b1b474
commit 4a534aabe3
No known key found for this signature in database
GPG Key ID: 29B0514F4E3C1CC0
2 changed files with 1477 additions and 0 deletions

1431
pkgs/by-name/hd/hdr10plus_tool/Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,46 @@
{
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
fontconfig,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "hdr10plus_tool";
version = "1.6.0";
src = fetchFromGitHub {
owner = "quietvoid";
repo = "hdr10plus_tool";
rev = "refs/tags/${version}";
hash = "sha256-EyKCdrilb6Ha9avEe5L4Snbufq8pEiTvr8tcdj0M6Zs=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"plotters-0.3.5" = "sha256-cz8/chdq8C/h1q5yFcQp0Rzg89XHnQhIN1Va52p6Z2Y=";
};
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ fontconfig ];
passthru = {
updateScript = nix-update-script { };
};
doCheck = false;
meta = with lib; {
description = "CLI utility to work with HDR10+ in HEVC files.";
homepage = "https://github.com/quietvoid/hdr10plus_tool";
changelog = "https://github.com/quietvoid/hdr10plus_tool/releases";
license = licenses.mit;
maintainers = with maintainers; [ johnrtitor ];
mainProgram = "hdr10plus_tool";
};
}