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