From 4b08343f1c23ef720ff38f6929a3db1061815a0d Mon Sep 17 00:00:00 2001 From: Mica Semrick Date: Wed, 7 Sep 2022 21:59:40 -0700 Subject: [PATCH] vkdt: init at 0.5.1 --- pkgs/applications/graphics/vkdt/default.nix | 64 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 66 insertions(+) create mode 100644 pkgs/applications/graphics/vkdt/default.nix diff --git a/pkgs/applications/graphics/vkdt/default.nix b/pkgs/applications/graphics/vkdt/default.nix new file mode 100644 index 000000000000..757bf7cb7b53 --- /dev/null +++ b/pkgs/applications/graphics/vkdt/default.nix @@ -0,0 +1,64 @@ +{ 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8ccdec4f5573..a5048e6a2859 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -23067,6 +23067,8 @@ with pkgs; vkdisplayinfo = callPackage ../tools/graphics/vkdisplayinfo { }; + vkdt = callPackage ../applications/graphics/vkdt { }; + vlock = callPackage ../misc/screensavers/vlock { }; virtualpg = callPackage ../development/libraries/virtualpg { };