65 lines
1 KiB
Nix
65 lines
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.5.1";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "https://github.com/hanatos/${pname}/releases/download/${version}/${pname}-${version}.tar.xz";
|
||
|
sha256 = "sha256-IMCS6bJqOzPeAFZyQtjzd1rQ5ugIevqoFUW6Y0w1Pzs=";
|
||
|
};
|
||
|
|
||
|
buildInputs = [
|
||
|
vulkan-headers
|
||
|
vulkan-tools
|
||
|
vulkan-loader
|
||
|
glslang
|
||
|
glfw
|
||
|
libjpeg
|
||
|
pkg-config
|
||
|
rsync
|
||
|
cmake
|
||
|
clang
|
||
|
llvm
|
||
|
llvmPackages.openmp
|
||
|
pugixml
|
||
|
freetype
|
||
|
exiv2
|
||
|
ffmpeg
|
||
|
libvorbis
|
||
|
libmad
|
||
|
];
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|