1{ stdenv
2, buildPythonPackage
3, fetchhg
4, pkgs
5, isPy3k
6}:
7
8buildPythonPackage rec {
9 version = "20101207";
10 pname = "pivy";
11 disabled = isPy3k; # Judging from SyntaxError
12
13 src = fetchhg {
14 url = "https://bitbucket.org/Coin3D/pivy";
15 rev = "8eab90908f2a3adcc414347566f4434636202344";
16 sha256 = "18n14ha2d3j3ghg2f2aqnf2mks94nn7ma9ii7vkiwcay93zm82cf";
17 };
18
19 nativeBuildInputs = with pkgs; [
20 swig1 coin3d soqt
21 ];
22
23 buildInputs = with pkgs; with xorg; [
24 coin3d soqt
25 libGLU_combined
26 libXi libXext libSM libICE libX11
27 ];
28
29 meta = with stdenv.lib; {
30 homepage = http://pivy.coin3d.org/;
31 description = "A Python binding for Coin";
32 license = licenses.bsd0;
33 };
34
35}