Merge remote-tracking branch 'upstream/master' into HEAD
This commit is contained in:
@@ -34,11 +34,11 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "bokeh";
|
||||
name = "${pname}${version}";
|
||||
version = "0.12.7";
|
||||
version = "0.12.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "2c42c95bf1a418c758dbff8446b4f5e5fc72ac10ea5da4e6b5010067396d0880";
|
||||
sha256 = "00jx3yycy6fziihz45hwj1dsh520h3vmypp28mw0877rxpxl2yxg";
|
||||
};
|
||||
|
||||
disabled = isPyPy;
|
||||
@@ -79,4 +79,4 @@ buildPythonPackage rec {
|
||||
homepage = "http://github.com/bokeh/bokeh";
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,56 +0,0 @@
|
||||
{lib, fetchurl, python, buildPythonPackage, isPyPy, gfortran, nose, numpy}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "scipy";
|
||||
version = "0.17.1";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/s/scipy/scipy-${version}.tar.gz";
|
||||
sha256 = "1b1qpfz2j2rvmlplsjbnznnxnqr9ckbmis506110ii1w07wd4k4w";
|
||||
};
|
||||
|
||||
buildInputs = [ gfortran nose numpy.blas ];
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
|
||||
# Remove tests because of broken wrapper
|
||||
prePatch = ''
|
||||
rm scipy/linalg/tests/test_lapack.py
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
sed -i '0,/from numpy.distutils.core/s//import setuptools;from numpy.distutils.core/' setup.py
|
||||
export NPY_NUM_BUILD_JOBS=$NIX_BUILD_CORES
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
echo "Creating site.cfg file..."
|
||||
cat << EOF > site.cfg
|
||||
[openblas]
|
||||
include_dirs = ${numpy.blas}/include
|
||||
library_dirs = ${numpy.blas}/lib
|
||||
EOF
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
pushd dist
|
||||
${python.interpreter} -c 'import scipy; scipy.test("fast", verbose=10)'
|
||||
popd
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
blas = numpy.blas;
|
||||
};
|
||||
|
||||
setupPyBuildFlags = [ "--fcompiler='gnu95'" ];
|
||||
|
||||
meta = {
|
||||
description = "SciPy (pronounced 'Sigh Pie') is open-source software for mathematics, science, and engineering. ";
|
||||
homepage = http://www.scipy.org/;
|
||||
maintainers = with lib.maintainers; [ fridh ];
|
||||
};
|
||||
}
|
||||
29
pkgs/development/python-modules/supervise_api/default.nix
Normal file
29
pkgs/development/python-modules/supervise_api/default.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, supervise
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "supervise_api";
|
||||
version = "0.1.5";
|
||||
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1pqqlw80cjdgrlpvdmydkyhsrr4s531mn6bfkshm68j9gk4kq6px";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ supervise ];
|
||||
|
||||
# no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "An API for running processes safely and securely";
|
||||
homepage = https://github.com/catern/supervise;
|
||||
license = lib.licenses.lgpl3;
|
||||
maintainers = with lib.maintainers; [ catern ];
|
||||
};
|
||||
}
|
||||
@@ -5,6 +5,7 @@
|
||||
, numpy
|
||||
, pandas
|
||||
, python
|
||||
, fetchurl
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -17,6 +18,15 @@ buildPythonPackage rec {
|
||||
sha256 = "f649a41d43b5a6c64bdcbd57e994932656b689f9593a86dd0be95778a2b47494";
|
||||
};
|
||||
|
||||
# Temporary patch until next release (later than 0.9.6) to fix
|
||||
# a broken test case.
|
||||
patches = [
|
||||
(fetchurl {
|
||||
url = "https://github.com/pydata/xarray/commit/726c6a3638ecf95889c541d84e892a106c2f2f92.patch";
|
||||
sha256 = "1i2hsj5v5qlvqfj48vyn9931yndsf4k4wrk3qpqpywh32s7r007b";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ pytest ];
|
||||
propagatedBuildInputs = [numpy pandas];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user