9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
71 lines
1.1 KiB
Nix
71 lines
1.1 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, vulkan-headers
|
|
, vulkan-tools
|
|
, vulkan-loader
|
|
, glslang
|
|
, glfw
|
|
, libjpeg
|
|
, pkg-config
|
|
, rsync
|
|
, cmake
|
|
, clang
|
|
, llvm
|
|
, llvmPackages
|
|
, pugixml
|
|
, freetype
|
|
, exiv2
|
|
, ffmpeg
|
|
, libvorbis
|
|
, libmad
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "vkdt";
|
|
version = "0.6.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/hanatos/${pname}/releases/download/${version}/${pname}-${version}.tar.xz";
|
|
sha256 = "sha256-Au0S+9Y+H0FuoHZacnN4azQFQB0tarT2bHNsLxujfLw=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [
|
|
clang
|
|
cmake
|
|
glslang
|
|
llvm
|
|
llvmPackages.openmp
|
|
pkg-config
|
|
rsync
|
|
];
|
|
|
|
buildInputs = [
|
|
exiv2
|
|
ffmpeg
|
|
freetype
|
|
glfw
|
|
libjpeg
|
|
libmad
|
|
libvorbis
|
|
llvmPackages.openmp
|
|
pugixml
|
|
vulkan-headers
|
|
vulkan-loader
|
|
vulkan-tools
|
|
];
|
|
|
|
dontUseCmakeConfigure = true;
|
|
|
|
makeFlags = [ "DESTDIR=$(out)" "prefix=" ];
|
|
|
|
meta = with lib; {
|
|
description = "A vulkan-powered raw image processor";
|
|
homepage = "https://github.com/hanatos/vkdt";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ paperdigits ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|