mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
pythonPackages.pivy: refactor move to python-modules
This commit is contained in:
parent
f54484f527
commit
c33c576212
27
pkgs/development/python-modules/pivy/default.nix
Normal file
27
pkgs/development/python-modules/pivy/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user