diff --git a/pkgs/development/libraries/coin3d/default.nix b/pkgs/development/libraries/coin3d/default.nix new file mode 100644 index 000000000000..f676c9abaa00 --- /dev/null +++ b/pkgs/development/libraries/coin3d/default.nix @@ -0,0 +1,22 @@ +{ fetchurl, stdenv, mesa }: + +stdenv.mkDerivation rec { + name = "coin3d-${version}"; + version = "3.1.3"; + + src = fetchurl { + url = "http://ftp.coin3d.org/coin/src/all/Coin-${version}.tar.gz"; + sha256 = "05ylhrcglm81dajbk132l1w892634z2i97x10fm64y1ih72phd2q"; + }; + + buildInputs = [ mesa ]; + + meta = { + homepage = http://www.coin3d.org/; + license = "GPLv2+"; + description = "High-level, retained-mode toolkit for effective 3D graphics development."; + + maintainers = [ stdenv.lib.maintainers.viric ]; + platforms = stdenv.lib.platforms.linux; + }; +} diff --git a/pkgs/development/libraries/soqt/default.nix b/pkgs/development/libraries/soqt/default.nix new file mode 100644 index 000000000000..f5a7724c5065 --- /dev/null +++ b/pkgs/development/libraries/soqt/default.nix @@ -0,0 +1,22 @@ +{ fetchurl, stdenv, coin3d, qt4 }: + +stdenv.mkDerivation rec { + name = "soqt-${version}"; + version = "1.5.0"; + + src = fetchurl { + url = "http://ftp.coin3d.org/coin/src/all/SoQt-${version}.tar.gz"; + sha256 = "14dbh8ynzjcgwgxjc6530c5plji7vn62kbdf447w0dp53564p8zn"; + }; + + buildInputs = [ coin3d qt4 ]; + + meta = { + homepage = http://www.coin3d.org/; + license = "GPLv2+"; + description = "Glue between Coin high-level 3D visualization library and Qt"; + + maintainers = [ stdenv.lib.maintainers.viric ]; + platforms = stdenv.lib.platforms.linux; + }; +}