pythonPackages.pyftgl : move to separate expression

This commit is contained in:
wisut hantanong 2017-08-31 21:01:39 +07:00
parent 2d7733b6c2
commit d94d826433
2 changed files with 21 additions and 2 deletions

View File

@ -0,0 +1,20 @@
{ stdenv, buildPythonPackage, fetchFromGitHub
, boost, freetype, ftgl, mesa }:
buildPythonPackage rec {
name = "pyftgl-0.4b";
src = fetchFromGitHub {
owner = "umlaeute";
repo = "pyftgl";
rev = "0.4b";
sha256 = "12zcjv4cwwjihiaf74kslrdmmk4bs47h7006gyqfwdfchfjdgg4r";
};
buildInputs = [ boost freetype ftgl mesa ];
meta = with stdenv.lib; {
description = "Python bindings for FTGL (FreeType for OpenGL)";
license = licenses.gpl2Plus;
};
}

View File

@ -17784,8 +17784,7 @@ in {
pyflakes = callPackage ../development/python-modules/pyflakes { };
pyftgl = buildPythonPackage rec {
name = "pyftgl-0.4b";
pyftgl = callPackage ../development/python-modules/pyftgl { };
src = pkgs.fetchFromGitHub {
owner = "umlaeute";