Merge branch 'master' into staging
Hydra: ?compare=1480463
This commit is contained in:
@@ -9,6 +9,10 @@ buildPythonPackage rec {
|
||||
sha256 = "0ivqsihk994rxw58vdgzrx4d77d7lpzjm4qxb38hjdgvi5xm4cb0";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace tests/test_integration.py --replace 'static_path=' 'static_url_path='
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ flask webassets flask_script nose ];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, isPy3k
|
||||
, boost, freetype, ftgl, libGLU_combined }:
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k
|
||||
, boost, freetype, ftgl, libGLU_combined
|
||||
, python
|
||||
}:
|
||||
|
||||
let
|
||||
|
||||
pythonVersion = with lib.versions; "${major python.version}${minor python.version}";
|
||||
|
||||
in
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyftgl";
|
||||
@@ -13,13 +21,13 @@ buildPythonPackage rec {
|
||||
sha256 = "12zcjv4cwwjihiaf74kslrdmmk4bs47h7006gyqfwdfchfjdgg4r";
|
||||
};
|
||||
|
||||
postPatch = stdenv.lib.optional isPy3k ''
|
||||
sed -i "s,'boost_python','boost_python3',g" setup.py
|
||||
postPatch = ''
|
||||
sed -i "s,'boost_python','boost_python${pythonVersion}',g" setup.py
|
||||
'';
|
||||
|
||||
buildInputs = [ boost freetype ftgl libGLU_combined ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Python bindings for FTGL (FreeType for OpenGL)";
|
||||
license = licenses.gpl2Plus;
|
||||
};
|
||||
|
||||
21
pkgs/development/python-modules/pyjet/default.nix
Normal file
21
pkgs/development/python-modules/pyjet/default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, nose, numpy }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyjet";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1glcwv9ni8i40smfw6m456xjadlkackim5nk33xmas1fa96lpagg";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
checkInputs = [ nose ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/scikit-hep/pyjet";
|
||||
description = "The interface between FastJet and NumPy";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ veprbl ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user