3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/tinyobjloader/default.nix

27 lines
599 B
Nix
Raw Normal View History

{ lib, stdenv
2020-12-01 04:06:20 +00:00
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "tinyobjloader";
2021-08-21 22:52:32 +01:00
version = "1.0.7";
2020-12-01 04:06:20 +00:00
src = fetchFromGitHub {
owner = "tinyobjloader";
repo = "tinyobjloader";
rev = "v${version}";
2021-08-21 22:52:32 +01:00
sha256 = "sha256-BNffbicnLTGK2GQ2/bB328LFU9fqHxrpAVj2hJaekWc=";
2020-12-01 04:06:20 +00:00
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
2020-12-01 04:06:20 +00:00
homepage = "https://github.com/tinyobjloader/tinyobjloader";
description = "Tiny but powerful single file wavefront obj loader";
license = licenses.mit;
maintainers = [ maintainers.ivar ];
2021-03-10 10:58:01 +00:00
platforms = platforms.all;
2020-12-01 04:06:20 +00:00
};
}