nixpkgs/pkgs/tools/graphics/spirv-cross/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
755 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, python3 }:
2020-02-07 16:23:57 +03:00
stdenv.mkDerivation (finalAttrs: {
2020-02-07 16:23:57 +03:00
pname = "spirv-cross";
version = "1.3.250.0";
2020-02-07 16:23:57 +03:00
src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "SPIRV-Cross";
rev = "sdk-${finalAttrs.version}";
hash = "sha256-H4UkR/EiBWpdhdPHNBrdRkl4eN8kD9gEOzpnwfFSdpI=";
2020-02-07 16:23:57 +03:00
};
nativeBuildInputs = [ cmake python3 ];
meta = with lib; {
2020-02-07 16:23:57 +03:00
description = "A tool designed for parsing and converting SPIR-V to other shader languages";
homepage = "https://github.com/KhronosGroup/SPIRV-Cross";
changelog = "https://github.com/KhronosGroup/SPIRV-Cross/releases/tag/${version}";
2021-03-18 18:24:08 +03:00
platforms = platforms.all;
2020-02-07 16:23:57 +03:00
license = licenses.asl20;
maintainers = with maintainers; [ Flakebi ];
};
})