1{ lib, stdenv, fetchurl, unzip }:
2
3stdenv.mkDerivation rec {
4 pname = "lib3ds";
5 version = "1.3.0";
6
7 src = fetchurl {
8 url = "http://lib3ds.googlecode.com/files/lib3ds-${version}.zip";
9 sha256 = "1qr9arfdkjf7q11xhvxwzmhxqz3nhcjkyb8zzfjpz9jm54q0rc7m";
10 };
11
12 nativeBuildInputs = [ unzip ];
13
14 meta = {
15 description = "Library for managing 3D-Studio Release 3 and 4 \".3DS\" files";
16 homepage = "https://lib3ds.sourceforge.net/";
17 license = "LGPL";
18 platforms = lib.platforms.unix;
19 };
20}
21