2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv
|
2020-12-03 08:41:04 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tinyobjloader";
|
|
|
|
version = "1.0.6";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tinyobjloader";
|
|
|
|
repo = "tinyobjloader";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "162168995f4xch7hm3iy6m57r8iqkpzi5x9qh1gsghlxwdxxqbis";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-12-03 08:41:04 +00:00
|
|
|
homepage = "https://github.com/tinyobjloader/tinyobjloader";
|
|
|
|
description = "Tiny but powerful single file wavefront obj loader";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.ivar ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|