Make vkdt 0.9.0 build

This commit is contained in:
Korrat 2024-10-20 11:12:23 +02:00
parent dd8698895c
commit 0b30706a8d
2 changed files with 1371 additions and 2 deletions

1353
pkgs/applications/graphics/vkdt/Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -21,20 +21,33 @@
, libmad
, testers
, vkdt
, xxd
, alsa-lib
, cargo
, rustPlatform
}:
stdenv.mkDerivation rec {
pname = "vkdt";
version = "0.7.0";
version = "0.9.0";
src = fetchurl {
url = "https://github.com/hanatos/${pname}/releases/download/${version}/${pname}-${version}.tar.xz";
hash = "sha256-Sk/K+EWvJBkwwD5R1gH9ZQHetojrJTTJrKW9Dvr+lHA=";
hash = "sha256-LXUTDwUjlfyhtXkYW4Zivqt8vyctoz+ID5AQ7gg+d9A=";
};
strictDeps = true;
cargoDeps = rustPlatform.importCargoLock {
lockFile = ./Cargo.lock;
outputHashes = {
"rawler-0.6.3" = "sha256-EJ0uWc3pp7ixRxDIdTIVVaT2ph3P2IvuK+ecBSB5HYw=";
};
};
cargoRoot = "src/pipe/modules/i-raw/rawloader-c";
nativeBuildInputs = [
cargo
clang
cmake
glslang
@ -42,9 +55,12 @@ stdenv.mkDerivation rec {
llvmPackages.openmp
pkg-config
rsync
rustPlatform.cargoSetupHook
xxd
];
buildInputs = [
alsa-lib
exiv2
ffmpeg
freetype