Skip to content

Commit

Permalink
dovi_tool: init at 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Plamper committed Feb 18, 2025
1 parent 0d01141 commit 92b6e01
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions pkgs/by-name/do/dovi_tool/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
fontconfig,
nix-update-script,
}:

rustPlatform.buildRustPackage rec {
pname = "dovi_tool";
version = "2.2.0";

src = fetchFromGitHub {
owner = "quietvoid";
repo = pname;
rev = version;
hash = "sha256-z783L6gBr9o44moKYZGwymWEMp5ZW7yOhZcpvbznXK4=";
};

checkFlags = [
# fails because nix-store is read only
"--skip=rpu::plot::plot_p7"
];

nativeBuildInputs = [
pkg-config
];

buildInputs = [
fontconfig
];

passthru.updateScript = nix-update-script { };

useFetchCargoVendor = true;
cargoHash = "sha256-pwB6QBLeHALbYZHzTBm/ODLPHhxM3B5n+B/0iXYNuVc=";

meta = with lib; {
description = "dovi_tool is a CLI tool combining multiple utilities for working with Dolby Vision.";
homepage = "https://github.com/quietvoid/dovi_tool";
changelog = "https://github.com/quietvoid/dovi_tool/releases";
mainProgram = "dovi_tool";
license = licenses.mit;
maintainers = [ maintainers.plamper ];
};
}

0 comments on commit 92b6e01

Please sign in to comment.