mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
78 lines
1.2 KiB
Nix
78 lines
1.2 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
|
|
, testers
|
|
, vkdt
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "vkdt";
|
|
version = "0.7.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/hanatos/${pname}/releases/download/${version}/${pname}-${version}.tar.xz";
|
|
hash = "sha256-Sk/K+EWvJBkwwD5R1gH9ZQHetojrJTTJrKW9Dvr+lHA=";
|
|
};
|
|
|
|
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=" ];
|
|
|
|
passthru.tests.version = testers.testVersion {
|
|
package = vkdt;
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Vulkan-powered raw image processor";
|
|
homepage = "https://github.com/hanatos/vkdt";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ paperdigits ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|