nixpkgs/pkgs/development/libraries/tinyobjloader/default.nix

27 lines
600 B
Nix
Raw Normal View History

{ lib, stdenv
2020-12-01 04:06:20 +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 ];
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
};
}