pythonPackages.pivy: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 17:38:11 -04:00
parent f54484f527
commit c33c576212
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 28 additions and 11 deletions

View File

@ -0,0 +1,27 @@
{ stdenv
, buildPythonPackage
, fetchhg
, pkgs
, isPy3k
}:
buildPythonPackage rec {
version = "20101207";
pname = "pivy";
disabled = isPy3k; # Judging from SyntaxError
src = fetchhg {
url = "https://bitbucket.org/Coin3D/pivy";
rev = "8eab90908f2a3adcc414347566f4434636202344";
sha256 = "18n14ha2d3j3ghg2f2aqnf2mks94nn7ma9ii7vkiwcay93zm82cf";
};
buildInputs = [ pkgs.swig1 pkgs.coin3d pkgs.soqt pkgs.libGLU_combined pkgs.xorg.libXi ];
meta = with stdenv.lib; {
homepage = http://pivy.coin3d.org/;
description = "A Python binding for Coin";
license = licenses.bsd0;
};
}

View File

@ -4635,17 +4635,7 @@ in {
hypchat = callPackage ../development/python-modules/hypchat { };
pivy = buildPythonPackage rec {
version = "20101207";
name = "pivy-${version}";
src = pkgs.fetchhg {
url = "https://bitbucket.org/Coin3D/pivy";
rev = "8eab90908f2a3adcc414347566f4434636202344";
sha256 = "18n14ha2d3j3ghg2f2aqnf2mks94nn7ma9ii7vkiwcay93zm82cf";
};
disabled = isPy3k; # Judging from SyntaxError
buildInputs = with self; [ pkgs.swig1 pkgs.coin3d pkgs.soqt pkgs.libGLU_combined pkgs.xorg.libXi ];
};
pivy = callPackage ../development/python-modules/pivy { };
smugpy = callPackage ../development/python-modules/smugpy { };