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

24 lines
644 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, python3 }:
2020-02-07 05:23:57 -08:00
stdenv.mkDerivation rec {
pname = "spirv-cross";
2020-06-30 08:54:44 -07:00
version = "2020-06-29";
2020-02-07 05:23:57 -08:00
src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "SPIRV-Cross";
rev = version;
2020-06-30 08:54:44 -07:00
sha256 = "0mnccmhlqmpdx92v495z39i07hbvjwdr5n4zbarlrr1d7rm99lx4";
2020-02-07 05:23:57 -08:00
};
nativeBuildInputs = [ cmake python3 ];
meta = with lib; {
2020-02-07 05:23:57 -08:00
description = "A tool designed for parsing and converting SPIR-V to other shader languages";
homepage = "https://github.com/KhronosGroup/SPIRV-Cross";
platforms = platforms.linux;
license = licenses.asl20;
maintainers = with maintainers; [ Flakebi ];
};
}