Merge pull request #55757 from NixOS/python-unstable
Python: package set updates before branch-off
This commit is contained in:
commit
081ce64e6e
@ -602,10 +602,9 @@ as the interpreter unless overridden otherwise.
|
||||
All parameters from `stdenv.mkDerivation` function are still supported. The following are specific to `buildPythonPackage`:
|
||||
|
||||
* `catchConflicts ? true`: If `true`, abort package build if a package name appears more than once in dependency tree. Default is `true`.
|
||||
* `checkInputs ? []`: Dependencies needed for running the `checkPhase`. These are added to `buildInputs` when `doCheck = true`.
|
||||
* `disabled` ? false: If `true`, package is not build for the particular Python interpreter version.
|
||||
* `dontWrapPythonPrograms ? false`: Skip wrapping of python programs.
|
||||
* `installFlags ? []`: A list of strings. Arguments to be passed to `pip install`. To pass options to `python setup.py install`, use `--install-option`. E.g., `installFlags=["--install-option='--cpp_implementation'"].
|
||||
* `installFlags ? []`: A list of strings. Arguments to be passed to `pip install`. To pass options to `python setup.py install`, use `--install-option`. E.g., `installFlags=["--install-option='--cpp_implementation'"]`.
|
||||
* `format ? "setuptools"`: Format of the source. Valid options are `"setuptools"`, `"flit"`, `"wheel"`, and `"other"`. `"setuptools"` is for when the source has a `setup.py` and `setuptools` is used to build a wheel, `flit`, in case `flit` should be used to build a wheel, and `wheel` in case a wheel is provided. Use `other` when a custom `buildPhase` and/or `installPhase` is needed.
|
||||
* `makeWrapperArgs ? []`: A list of strings. Arguments to be passed to `makeWrapper`, which wraps generated binaries. By default, the arguments to `makeWrapper` set `PATH` and `PYTHONPATH` environment variables before calling the binary. Additional arguments here can allow a developer to set environment variables which will be available when the binary is run. For example, `makeWrapperArgs = ["--set FOO BAR" "--set BAZ QUX"]`.
|
||||
* `namePrefix`: Prepends text to `${name}` parameter. In case of libraries, this defaults to `"python3.5-"` for Python 3.5, etc., and in case of applications to `""`.
|
||||
@ -615,6 +614,14 @@ All parameters from `stdenv.mkDerivation` function are still supported. The foll
|
||||
* `removeBinByteCode ? true`: Remove bytecode from `/bin`. Bytecode is only created when the filenames end with `.py`.
|
||||
* `setupPyBuildFlags ? []`: List of flags passed to `setup.py build_ext` command.
|
||||
|
||||
The `stdenv.mkDerivation` function accepts various parameters for describing build inputs (see "Specifying dependencies"). The following are of special
|
||||
interest for Python packages, either because these are primarily used, or because their behaviour is different:
|
||||
|
||||
* `nativeBuildInputs ? []`: Build-time only dependencies. Typically executables as well as the items listed in `setup_requires`.
|
||||
* `buildInputs ? []`: Build and/or run-time dependencies that need to be be compiled for the host machine. Typically non-Python libraries which are being linked.
|
||||
* `checkInputs ? []`: Dependencies needed for running the `checkPhase`. These are added to `nativeBuildInputs` when `doCheck = true`. Items listed in `tests_require` go here.
|
||||
* `propagatedBuildInputs ? []`: Aside from propagating dependencies, `buildPythonPackage` also injects code into and wraps executables with the paths included in this list. Items listed in `install_requires` go here.
|
||||
|
||||
##### Overriding Python packages
|
||||
|
||||
The `buildPythonPackage` function has a `overridePythonAttrs` method that
|
||||
@ -1123,6 +1130,14 @@ LLVM implementation. To use that one instead, Intel recommends users set it with
|
||||
Note that `mkl` is only available on `x86_64-{linux,darwin}` platforms;
|
||||
moreover, Hydra is not building and distributing pre-compiled binaries using it.
|
||||
|
||||
### What inputs do `setup_requires`, `install_requires` and `tests_require` map to?
|
||||
|
||||
In a `setup.py` or `setup.cfg` it is common to declare dependencies:
|
||||
|
||||
* `setup_requires` corresponds to `nativeBuildInputs`
|
||||
* `install_requires` corresponds to `propagatedBuildInputs`
|
||||
* `tests_require` corresponds to `checkInputs`
|
||||
|
||||
## Contributing
|
||||
|
||||
### Contributing guidelines
|
||||
|
@ -151,6 +151,14 @@
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
The <varname>buildPythonPackage</varname> now sets <varname>strictDeps = true</varname>
|
||||
to help distinguish between native and non-native dependencies in order to
|
||||
improve cross-compilation compatibility. Note however that this may break
|
||||
user expressions.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
The Syncthing state and configuration data has been moved from
|
||||
|
@ -14,7 +14,7 @@ pythonPackages.buildPythonApplication rec {
|
||||
pyGtkGlade
|
||||
];
|
||||
|
||||
buildInputs = [ gettext ];
|
||||
nativeBuildInputs = [ gettext ];
|
||||
|
||||
propagatedBuildInputs = [ klick ];
|
||||
|
||||
|
@ -28,6 +28,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
];
|
||||
|
||||
buildInputs = with gst_all_1; [
|
||||
gobject-introspection
|
||||
gst-libav
|
||||
gst-plugins-bad
|
||||
gst-plugins-base
|
||||
|
@ -13,7 +13,7 @@ in pythonPackages.buildPythonApplication rec {
|
||||
sha256 = "1p2bvfzby0nk1vh04yfmsvjcldgkj6m6s1hcv9v13hc8q1cbdfk5";
|
||||
};
|
||||
|
||||
buildInputs = [ gettext ];
|
||||
nativeBuildInputs = [ gettext ];
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [
|
||||
pyqt5
|
||||
|
@ -11,7 +11,7 @@ pythonPackages.buildPythonApplication rec {
|
||||
rev = "b2fdc13feb65b93762928f7e99bac7b1b7b31591";
|
||||
sha256 = "1p6vllqaf9s6crj47xqp97hkglch1kd4y8y4lxvzx3g2shhhk9hh";
|
||||
};
|
||||
buildInputs = with pythonPackages; [ pytest responses ];
|
||||
checkInputs = with pythonPackages; [ pytest responses ];
|
||||
propagatedBuildInputs = with pythonPackages; [ colorama lxml requests pbr ];
|
||||
|
||||
disabled = pythonPackages.pythonOlder "3.3";
|
||||
|
@ -4,7 +4,7 @@
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
name = "electrum-ltc-${version}";
|
||||
pname = "electrum-ltc";
|
||||
version = "3.1.3.1";
|
||||
|
||||
src = fetchurl {
|
||||
@ -12,6 +12,8 @@ python3Packages.buildPythonApplication rec {
|
||||
sha256 = "0kxcx1xf6h9z8x0k483d6ykpnmfr30n6z3r6lgqxvbl42pq75li7";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python3Packages; [ pyqt5 ];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
pyaes
|
||||
ecdsa
|
||||
|
@ -18,9 +18,9 @@ pythonPackages.buildPythonApplication rec {
|
||||
sha256 = "1a85rcg561792kdyv744cgzw7mmpmgv6d6li1sijfdpqa1ninf8g";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ wafHook ];
|
||||
nativeBuildInputs = [ wafHook intltool ];
|
||||
buildInputs = [
|
||||
docbook2x libxslt gnome-doc-utils intltool dbus-glib hicolor-icon-theme
|
||||
docbook2x libxslt gnome-doc-utils dbus-glib hicolor-icon-theme
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [ pygobject2 pygtk pyxdg gnome_python dbus-python ];
|
||||
|
@ -7,8 +7,8 @@
|
||||
|
||||
with python3Packages;
|
||||
buildPythonApplication rec {
|
||||
pname = "kitty";
|
||||
version = "0.13.3";
|
||||
name = "kitty-${version}";
|
||||
format = "other";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
@ -24,7 +24,7 @@ buildPythonApplication rec {
|
||||
wayland-protocols wayland dbus
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig which sphinx ];
|
||||
nativeBuildInputs = [ pkgconfig which sphinx ncurses ];
|
||||
|
||||
outputs = [ "out" "terminfo" ];
|
||||
|
||||
@ -36,7 +36,7 @@ buildPythonApplication rec {
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
python3 setup.py linux-package
|
||||
${python.interpreter} setup.py linux-package
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
|
@ -32,14 +32,17 @@ let
|
||||
"flask"
|
||||
"future"
|
||||
"futures"
|
||||
"monotonic"
|
||||
"pkginfo"
|
||||
"psutil"
|
||||
"pyserial"
|
||||
"python-dateutil"
|
||||
"requests"
|
||||
"rsa"
|
||||
"sarge"
|
||||
"scandir"
|
||||
"semantic_version"
|
||||
"watchdog"
|
||||
"websocket-client"
|
||||
"werkzeug"
|
||||
"wrapt"
|
||||
@ -47,13 +50,13 @@ let
|
||||
|
||||
in py.pkgs.buildPythonApplication rec {
|
||||
pname = "OctoPrint";
|
||||
version = "1.3.9";
|
||||
version = "1.3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "foosel";
|
||||
repo = "OctoPrint";
|
||||
rev = version;
|
||||
sha256 = "1yqbsfmkx4wiykjrh66a05lhn15qhpc9ay67l37kv8bhdqf2xkj4";
|
||||
sha256 = "1pvh7ay76zrvfzcsadh3sl48sgf3by9vpiaqlrkscsw02zirx9r7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with py.pkgs; [
|
||||
@ -75,7 +78,9 @@ in py.pkgs.buildPythonApplication rec {
|
||||
setup.py
|
||||
'';
|
||||
|
||||
checkPhase = "nosetests";
|
||||
checkPhase = ''
|
||||
HOME=$(mktemp -d) nosetests
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://octoprint.org/;
|
||||
|
@ -28,6 +28,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
|
||||
buildInputs = with gst_all_1; [
|
||||
glib-networking
|
||||
gobject-introspection
|
||||
gst-libav
|
||||
gst-plugins-base
|
||||
gst-plugins-ugly
|
||||
|
@ -18,13 +18,14 @@ in pythonPackages.buildPythonApplication rec {
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
gettext gtk3 gdk_pixbuf libnotify gst_all_1.gstreamer
|
||||
gtk3 gdk_pixbuf libnotify gst_all_1.gstreamer
|
||||
gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
|
||||
gst_all_1.gst-plugins-bad
|
||||
gnome3.adwaita-icon-theme
|
||||
] ++ stdenv.lib.optional withGnomeKeyring libgnome-keyring3;
|
||||
|
||||
nativeBuildInputs = [
|
||||
gettext
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
inherit (python3Packages.paperwork-backend) version src;
|
||||
name = "paperwork-${version}";
|
||||
pname = "paperwork";
|
||||
|
||||
sourceRoot = "source/paperwork-gtk";
|
||||
|
||||
@ -46,7 +46,7 @@ python3Packages.buildPythonApplication rec {
|
||||
paths = lib.collect lib.isDerivation aspellDicts;
|
||||
}}/lib/aspell";
|
||||
|
||||
checkInputs = [ xvfb_run dbus.daemon ];
|
||||
checkInputs = [ xvfb_run dbus.daemon ] ++ (with python3Packages; [ paperwork-backend ]);
|
||||
buildInputs = [
|
||||
gnome3.adwaita-icon-theme hicolor-icon-theme libnotify librsvg
|
||||
];
|
||||
|
@ -1,22 +1,44 @@
|
||||
{ stdenv, python3, makeDesktopItem }:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
let
|
||||
|
||||
spyder-kernels = with python3.pkgs; buildPythonPackage rec {
|
||||
pname = "spyder-kernels";
|
||||
version = "0.4.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a13cefb569ef9f63814cb5fcf3d0db66e09d2d7e6cc68c703d5118b2d7ba062b";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cloudpickle
|
||||
ipykernel
|
||||
wurlitzer
|
||||
];
|
||||
|
||||
# No tests
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Jupyter kernels for Spyder's console";
|
||||
homepage = https://github.com/spyder-ide/spyder-kernels;
|
||||
license = stdenv.lib.licenses.mit;
|
||||
};
|
||||
};
|
||||
|
||||
in python3.pkgs.buildPythonApplication rec {
|
||||
pname = "spyder";
|
||||
version = "3.2.8";
|
||||
version = "3.3.3";
|
||||
|
||||
src = python3.pkgs.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0iwcby2bxvayz0kp282yh864br55w6gpd8rqcdj1cp3jbn3q6vg5";
|
||||
sha256 = "ef31de03cf6f149077e64ed5736b8797dbd278e3c925e43f0bfc31bb55f6e5ba";
|
||||
};
|
||||
|
||||
# Somehow setuptools can't find pyqt5. Maybe because the dist-info folder is missing?
|
||||
postPatch = ''
|
||||
sed -i -e '/pyqt5/d' setup.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
jedi pycodestyle psutil pyflakes rope numpy scipy matplotlib pylint
|
||||
numpydoc qtconsole qtawesome nbconvert mccabe pyopengl cloudpickle
|
||||
jedi pycodestyle psutil pyflakes rope numpy scipy matplotlib pylint keyring
|
||||
numpydoc qtconsole qtawesome nbconvert mccabe pyopengl cloudpickle spyder-kernels
|
||||
];
|
||||
|
||||
# There is no test for spyder
|
||||
|
@ -15,6 +15,8 @@ python2Packages.buildPythonApplication rec {
|
||||
|
||||
buildInputs = [ git graphviz ];
|
||||
|
||||
checkInputs = [ git ];
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/git-big-picture \
|
||||
--prefix PATH ":" ${ stdenv.lib.makeBinPath buildInputs }
|
||||
|
@ -17,7 +17,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
|
||||
nativeBuildInputs = [ meson ninja gettext itstool pkgconfig libxml2 wrapGAppsHook desktop-file-utils appstream-glib gobject-introspection ];
|
||||
buildInputs = with gst_all_1; [
|
||||
gtk3 glib libmediaart gnome-online-accounts
|
||||
gtk3 glib libmediaart gnome-online-accounts gobject-introspection
|
||||
gdk_pixbuf gnome3.adwaita-icon-theme python3
|
||||
grilo grilo-plugins libnotify libdazzle libsoup
|
||||
gnome3.gsettings-desktop-schemas tracker
|
||||
|
@ -87,6 +87,9 @@ let self = toPythonModule (python.stdenv.mkDerivation (builtins.removeAttrs attr
|
||||
# Propagate python and setuptools. We should stop propagating setuptools.
|
||||
propagatedBuildInputs = propagatedBuildInputs ++ [ python setuptools ];
|
||||
|
||||
# Enabled to detect some (native)BuildInputs mistakes
|
||||
strictDeps = true;
|
||||
|
||||
# Python packages don't have a checkPhase, only an installCheckPhase
|
||||
doCheck = false;
|
||||
doInstallCheck = doCheck;
|
||||
|
@ -26,11 +26,11 @@ let
|
||||
|
||||
in buildPythonPackage rec {
|
||||
pname = "Cython";
|
||||
version = "0.29.2";
|
||||
version = "0.29.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "2ac187ff998a95abb7fae452b5178f91e1a713698c9ced89836c94e6b1d3f41e";
|
||||
sha256 = "9d5290d749099a8e446422adfb0aa2142c711284800fb1eb70f595101e32cbf1";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -4,7 +4,7 @@
|
||||
, markupsafe
|
||||
, nose
|
||||
, mock
|
||||
, pytest
|
||||
, pytest_3
|
||||
, isPyPy
|
||||
}:
|
||||
|
||||
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
sha256 = "4e02fde57bd4abb5ec400181e4c314f56ac3e49ba4fb8b0d50bba18cb27d25ae";
|
||||
};
|
||||
|
||||
checkInputs = [ markupsafe nose mock pytest ];
|
||||
checkInputs = [ markupsafe nose mock pytest_3 ];
|
||||
propagatedBuildInputs = [ markupsafe ];
|
||||
|
||||
doCheck = !isPyPy; # https://bitbucket.org/zzzeek/mako/issue/238/2-tests-failed-on-pypy-24-25
|
||||
|
@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Pygments";
|
||||
version = "2.2.0";
|
||||
version = "2.3.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1k78qdvir1yb1c634nkv6rbga8wv4289xarghmsbbvzhvr311bnv";
|
||||
sha256 = "5ffada19f6203563680669ee7f53b64dabbeb100eb51b61996085e99c03b284a";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ docutils ];
|
||||
|
@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Wand";
|
||||
version = "0.5.0";
|
||||
version = "0.5.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0rp1zdp2p7qngva5amcw4jb5i8gf569v8469gf6zj36hcnzksxjj";
|
||||
sha256 = "7d6b8dc9d4eaccc430b9c86e6b749013220c994970a3f39e902b397e2fa732c3";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -3,11 +3,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "WazeRouteCalculator";
|
||||
version = "0.6";
|
||||
version = "0.7.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0zmnw4198a2kvqvsz1i4a3aa20r4afp2lai6fxbpq1ppv120h857";
|
||||
sha256 = "09fe1bfb32291a658ba9baffe3fe176693f41362d74caba60fb04be01b447fa1";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "XlsxWriter";
|
||||
version = "1.1.2";
|
||||
version = "1.1.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0dmznx6q3b5xkvlqpw4vqinxh5ynzz8i7hlpz9syiff51y56a8mf";
|
||||
sha256 = "07e38c73b687e2f867151adce821e43e02856c4d8c6e482807b6ea7f4ac9506c";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
@ -8,11 +8,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "absl-py";
|
||||
version = "0.6.1";
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "87519e3b91a3d573664c6e2ee33df582bb68dca6642ae3cf3a4361b1c0a4e9d6";
|
||||
sha256 = "8718189e4bd6013bf79910b9d1cb0a76aecad8ce664f78e1144980fabdd2cd23";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -3,11 +3,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "adal";
|
||||
version = "1.2.0";
|
||||
version = "1.2.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1hgm62wil1avc3h0dwbks2v6l19xfsjl3azai16llsyp70y92lms";
|
||||
sha256 = "b6edd095be66561382bdaa59d40b04490e93149fb3b7fa44c1fa5504eed5b8b9";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests pyjwt dateutil ];
|
||||
|
@ -10,11 +10,11 @@
|
||||
# wrapped to be able to find aioconsole and any other packages.
|
||||
buildPythonPackage rec {
|
||||
pname = "aioconsole";
|
||||
version = "0.1.11";
|
||||
version = "0.1.13";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0xjfx7fnmc9c8s1agj5mva3api4dywrf1q81yccb1gk7ifrrn04c";
|
||||
sha256 = "8b9898f0f6539bdce3bc3720d75189e21813f1a7f8350228fc7fd54bf7327d0f";
|
||||
};
|
||||
|
||||
# hardcodes a test dependency on an old version of pytest-asyncio
|
||||
|
@ -1,17 +1,16 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, isPy33, isPy27, isPyPy, python, pycares, asyncio, trollius }:
|
||||
, isPy33, isPy27, isPyPy, python, pycares, typing, asyncio, trollius }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiodns";
|
||||
version = "1.1.1";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d8677adc679ce8d0ef706c14d9c3d2f27a0e0cc11d59730cdbaf218ad52dd9ea";
|
||||
sha256 = "d67e14b32176bcf3ff79b5d47c466011ce4adeadfa264f7949da1377332a0449";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with stdenv.lib; [ pycares ]
|
||||
++ optional isPy33 asyncio
|
||||
propagatedBuildInputs = with stdenv.lib; [ pycares typing ]
|
||||
++ optional (isPy27 || isPyPy) trollius;
|
||||
|
||||
checkPhase = ''
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiohue";
|
||||
version = "1.7.0";
|
||||
version = "1.9.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "26989babdc3f38575164b60b9536309271d58db005a03045b6e9cca4fc5201d8";
|
||||
sha256 = "3b6cb87652cf1ffc904443b9c5514873c331e159953f2ebf77a051444b350594";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ aiohttp ];
|
||||
|
@ -5,11 +5,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "alembic";
|
||||
version = "1.0.6";
|
||||
version = "1.0.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "35660f7e6159288e2be111126be148ef04cbf7306da73c8b8bd4400837bb08e3";
|
||||
sha256 = "16505782b229007ae905ef9e0ae6e880fddafa406f086ac7d442c1aaf712f8c2";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest pytestcov mock coverage ];
|
||||
|
@ -1,17 +1,17 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, makeWrapper
|
||||
{ stdenv, buildPythonPackage, fetchPypi, makeWrapper, pythonOlder, pyyaml
|
||||
, python-dateutil, requests, pymongo, raven, bcrypt, flask, pyjwt, flask-cors, psycopg2, pytz, flask-compress, jinja2
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "alerta-server";
|
||||
version = "6.3.2";
|
||||
version = "6.7.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0mp97scdz2scdzi9va99hghmjz25zssgwg07i6cldzkc8j71kax5";
|
||||
sha256 = "5ca2783f6e9211fdebd433b9eae83fbcf75ed127dc87946257d101a7d7a465db";
|
||||
};
|
||||
|
||||
buildInputs = [ python-dateutil requests pymongo raven bcrypt flask pyjwt flask-cors psycopg2 pytz flask-compress jinja2 ];
|
||||
propagatedBuildInputs = [ python-dateutil requests pymongo raven bcrypt flask pyjwt flask-cors psycopg2 pytz flask-compress jinja2 pyyaml];
|
||||
|
||||
doCheck = false; # We can't run the tests from Nix, because they rely on the presence of a working MongoDB server
|
||||
|
||||
@ -19,6 +19,8 @@ buildPythonPackage rec {
|
||||
wrapProgram $out/bin/alertad --prefix PYTHONPATH : "$PYTHONPATH"
|
||||
'';
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://alerta.io;
|
||||
description = "Alerta Monitoring System server";
|
||||
|
@ -1,17 +1,17 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, makeWrapper
|
||||
, six, click, requests, pytz, tabulate
|
||||
, six, click, requests, pytz, tabulate, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "alerta";
|
||||
version = "6.3.1";
|
||||
version = "6.5.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "08l366g0arpd23bm7bzk0hpmfd3z6brb8p24rjwkb3gvafhk7cz9";
|
||||
sha256 = "f9f0f8f800798fae83c05dd52dc2f06bd77fb318c784c4b44e3acfba81338881";
|
||||
};
|
||||
|
||||
buildInputs = [ six click requests pytz tabulate ];
|
||||
propagatedBuildInputs = [ six click requests pytz tabulate ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
@ -19,6 +19,8 @@ buildPythonPackage rec {
|
||||
wrapProgram $out/bin/alerta --prefix PYTHONPATH : "$PYTHONPATH"
|
||||
'';
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://alerta.io;
|
||||
description = "Alerta Monitoring System command-line interface";
|
||||
|
@ -5,24 +5,23 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "altair";
|
||||
version = "2.2.2";
|
||||
version = "2.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c158699026eb5a19f95c1ca742e2e82bc20c27013ef5785f10836283e2233f8a";
|
||||
sha256 = "9f4bc7cd132c0005deb6b36c7041ee213a69bbdfcd8c0b1a9f1ae8c1fba733f6";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# Tests require network
|
||||
rm altair/examples/boxplot_max_min.py altair/examples/line_percent.py
|
||||
'';
|
||||
|
||||
checkInputs = [ pytest jinja2 sphinx vega_datasets ipython glibcLocales recommonmark ];
|
||||
|
||||
propagatedBuildInputs = [ entrypoints jsonschema numpy pandas six toolz ]
|
||||
++ stdenv.lib.optionals (pythonOlder "3.5") [ typing ];
|
||||
|
||||
# hack to prevent typing from being required for python > 3.5
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "typing" ""
|
||||
'';
|
||||
|
||||
checkPhase = ''
|
||||
export LANG=en_US.UTF-8
|
||||
py.test altair --doctest-modules
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "amqp";
|
||||
version = "2.3.2";
|
||||
version = "2.4.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "073dd02fdd73041bffc913b767866015147b61f2a9bc104daef172fc1a0066eb";
|
||||
sha256 = "6816eed27521293ee03aa9ace300a07215b11fee4e845588a9b863a7ba30addb";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest case pytest-sugar ];
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, pytest, setuptools_scm }:
|
||||
, pytest_3, setuptools_scm }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "apipkg";
|
||||
@ -10,8 +10,8 @@ buildPythonPackage rec {
|
||||
sha256 = "37228cda29411948b422fae072f57e31d3396d2ee1c9783775980ee9c9990af6";
|
||||
};
|
||||
|
||||
buildInputs = [ setuptools_scm ];
|
||||
checkInputs = [ pytest ];
|
||||
nativeBuildInputs = [ setuptools_scm ];
|
||||
checkInputs = [ pytest_3 ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
|
@ -23,9 +23,8 @@ buildPythonPackage rec {
|
||||
./tests.patch
|
||||
];
|
||||
postPatch = "rm testParser2.py";
|
||||
buildInputs = [
|
||||
nativeBuildInputs = [
|
||||
sphinx
|
||||
pytest
|
||||
py3to2
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
@ -33,7 +32,7 @@ buildPythonPackage rec {
|
||||
isodate
|
||||
numpy
|
||||
openpyxl
|
||||
] ++ lib.optional gui [
|
||||
] ++ lib.optionals gui [
|
||||
tkinter
|
||||
];
|
||||
|
||||
@ -53,7 +52,11 @@ buildPythonPackage rec {
|
||||
(cd apidocs && make html && cp -r _build $doc)
|
||||
'';
|
||||
|
||||
doCheck = if gui then true else false;
|
||||
doCheck = false;
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = ''
|
||||
|
@ -9,12 +9,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "argon2_cffi";
|
||||
version = "18.3.0";
|
||||
version = "19.1.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "003f588de43a817af6ecc1c06103fa0801de63849db3cb0f37576bb2da29043d";
|
||||
sha256 = "81548a27b919861040cb928a350733f4f9455dd67c7d1ba92eb5960a1d7f8b26";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cffi six ];
|
||||
|
@ -1,21 +1,22 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, nose, chai, simplejson, backports_functools_lru_cache
|
||||
, dateutil }:
|
||||
, dateutil, pytz
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "arrow";
|
||||
version = "0.12.1";
|
||||
version = "0.13.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a558d3b7b6ce7ffc74206a86c147052de23d3d4ef0e17c210dd478c53575c4cd";
|
||||
sha256 = "6f54d9f016c0b7811fac9fb8c2c7fa7421d80c54dbdd75ffb12913c55db60b8a";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
nosetests --cover-package=arrow
|
||||
'';
|
||||
|
||||
checkInputs = [ nose chai simplejson ];
|
||||
checkInputs = [ nose chai simplejson pytz ];
|
||||
propagatedBuildInputs = [ dateutil backports_functools_lru_cache ];
|
||||
|
||||
postPatch = ''
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aspy.yaml";
|
||||
version = "1.1.1";
|
||||
version = "1.1.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1ajb97kn044ximkzq2090h4yblrhw77540pwiw345cp7mwzy4xqa";
|
||||
sha256 = "5eaaacd0886e8b581f0e4ff383fb6504720bb2b3c7be17307724246261a41adf";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyyaml ];
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "astral";
|
||||
version = "1.9.2";
|
||||
version = "1.10.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "179f72a086cee96487e60514bab81e821966953fc2e2f7091500d3d2c314e38b";
|
||||
sha256 = "d2a67243c4503131c856cafb1b1276de52a86e5b8a1d507b7e08bee51cb67bf1";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pytz requests ];
|
||||
|
@ -7,11 +7,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "astunparse";
|
||||
version = "1.6.1";
|
||||
version = "1.6.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d27b16fb33dea0778c5a2c01801554eae0d3f8a8d6f604f15627589c3d6f11ca";
|
||||
sha256 = "dab3e426715373fd76cd08bb1abe64b550f5aa494cf1e32384f26fd60961eb67";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six wheel ];
|
||||
|
@ -5,12 +5,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "asyncssh";
|
||||
version = "1.14.0";
|
||||
version = "1.15.1";
|
||||
disabled = pythonOlder "3.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0f1i5a760a3jylkj00bxkshnylzyhyqz50v8mb8s9ygllpzja058";
|
||||
sha256 = "f2065a8b3af0c514c8de264e7b01f08df5213b707bacb7e7c080bd46c3e3bc35";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "atom";
|
||||
version = "0.4.1";
|
||||
version = "0.4.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0awzja4k3f32y01gd068yyxvh35km62m4wka0vbg1yyy37ahgjmv";
|
||||
sha256 = "5b1c15599681398e343fcfcf2c00d26071964f5305a403fc590c45388bacdf16";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ future ];
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "atomicwrites";
|
||||
version = "1.2.1";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "ec9ae8adaae229e4f8446952d204a3e4b5fdd2d099f9be3aaf556120135fb3ee";
|
||||
sha256 = "75a9445bac02d8d058d5e1fe689654ba5a6556a1dfd8ce6ec55a0ed79866cfa6";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
@ -13,12 +13,12 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.2.3";
|
||||
version = "1.2.4";
|
||||
pname = "atomman";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "9eb6acc5497263cfa89be8d0f383a9a69f0726b4ac6798c1b1d96f26705ec09c";
|
||||
sha256 = "c204d52cdfb2a7cc4d7d2c4f7a89c215a9fd63b92495a83adf25ae4e820cea3e";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "attrdict";
|
||||
version = "2.0.0";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1lrailzxy40dx6sn1hbpnpqfbg7ar75dfj41kx0480wyh39vdbl6";
|
||||
sha256 = "35c90698b55c683946091177177a9e9c0713a0860f0e049febd72649ccd77b70";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ coverage nose six ];
|
||||
|
@ -8,11 +8,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "audio-metadata";
|
||||
version = "0.3.0";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1jd0wzhh9as2qyiwggqmvsbsm5nlb73qnxix2mcar53cddvwrvj7";
|
||||
sha256 = "a881f0f3b82752d306ac0a7850ed0e31bad275a399f63097733b4890986084b2";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -4,11 +4,11 @@
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "autobahn";
|
||||
version = "18.10.1";
|
||||
version = "19.1.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b5767bebd94ba13fc286604f889f208e7babc77d72d9f372d331bc14c89c5a40";
|
||||
sha256 = "aebbadb700c13792a2967c79002855d1153b9ec8f2949d169e908388699596ff";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six txaio twisted zope_interface cffi ] ++
|
||||
|
@ -2,24 +2,25 @@
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose
|
||||
, pillow
|
||||
, numpy
|
||||
, ffmpeg_4
|
||||
, git
|
||||
, libav
|
||||
, pkgconfig
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "av";
|
||||
version = "6.1.0";
|
||||
version = "6.1.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0h5d6yy6mjaflzh9z8fv3j1rjwijmzqfrpz88zxk0qfmbprdc91z";
|
||||
sha256 = "eebbb56eeae650b1fc551f94d51aee39b487bf4df73c39daea186c5d2950650f";
|
||||
};
|
||||
|
||||
buildInputs = [ nose pillow numpy ffmpeg_4 git pkgconfig ];
|
||||
checkInputs = [ nose numpy ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ ffmpeg_4 ];
|
||||
|
||||
# Tests require downloading files from internet
|
||||
doCheck = false;
|
||||
|
@ -9,11 +9,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "awkward";
|
||||
version = "0.5.6";
|
||||
version = "0.8.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c6b84d2356c8b1af955054bbef088c61bf87f68e062e866fa8d9ea5cb871389f";
|
||||
sha256 = "7016dc02d15b8797b59a461ccc8d218f37c335b97fa6b376638c0edd4ffc9de2";
|
||||
};
|
||||
|
||||
buildInputs = [ pytestrunner h5py ];
|
||||
|
@ -2,12 +2,12 @@
|
||||
, pytest, pytestrunner, pytestcov, mock, glibcLocales, lxml, boto3, requests, click, configparser }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.12.2";
|
||||
version = "1.12.3";
|
||||
pname = "aws-adfs";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "e35fbd33e1878310099346a95b7eb5244831c9f5f6554bca7193ac50dcd41aa3";
|
||||
sha256 = "b7df3fbe0572eb12294b2e072327ca97fd94d435b39cc10612e460cde914b831";
|
||||
};
|
||||
|
||||
# Relax version constraint
|
||||
|
@ -10,11 +10,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aws-sam-translator";
|
||||
version = "1.9.0";
|
||||
version = "1.9.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1334795a85077cd5741822149260f90104fb2a01699171c9e9567c0db76ed74d";
|
||||
sha256 = "1008d149599d5d629b0c7bdfaa249d59eaab6d194faf5f0f941fa7209e68e6f2";
|
||||
};
|
||||
|
||||
# Tests are not included in the PyPI package
|
||||
|
@ -10,11 +10,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aws-xray-sdk";
|
||||
version = "2.2.0";
|
||||
version = "2.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "fc5537268cc8041f74e14077c4b4b4cef0f3de25ecef793ace63cedf87fe4a2a";
|
||||
sha256 = "bb74e1cc2388bd29c45e2e3eb31d0416d0f53d83baafca7b72ca9c945a2e249a";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -7,14 +7,14 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.1.17";
|
||||
version = "1.1.18";
|
||||
pname = "azure-common";
|
||||
disabled = isPyPy;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "e7cd5a8ee2ec0639454c1bd0f1ea5f609d83977376abfd304527ec7343fef1be";
|
||||
sha256 = "5fd62ae10b1add97d3c69af970328ec3bd869184396bcf6bfa9c7bc94d688424";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ azure-nspkg ];
|
||||
|
@ -6,13 +6,13 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.20.1";
|
||||
version = "4.4.0";
|
||||
pname = "azure-mgmt-compute";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "97298fc7f133f1d50a974ed6299151eda494a574b0f7fdf8192a388015c2215a";
|
||||
sha256 = "356219a354140ea26e6b4f4be4f855f1ffaf63af60de24cd2ca335b4ece9db00";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
|
@ -6,13 +6,13 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.20.1";
|
||||
version = "2.5.1";
|
||||
pname = "azure-mgmt-network";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "10vj22h6nxpw0qpvib5x2g6qs5j8z31142icvh4qk8k40fcrs9hx";
|
||||
sha256 = "cef9bf5d36700966e52f7cea86e29c622bc5bbb92d0ce7a75420e29fb0e75f45";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
|
@ -5,13 +5,13 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.0.0";
|
||||
version = "3.0.2";
|
||||
pname = "azure-mgmt-nspkg";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "1rq92fj3kvnqkk18596dybw0kvhgscvc6cd8hp1dhy3wrkqnhwmq";
|
||||
sha256 = "8b2287f671529505b296005e6de9150b074344c2c7d1c805b3f053d081d58c52";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ azure-nspkg ];
|
||||
|
@ -7,13 +7,13 @@
|
||||
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.20.1";
|
||||
version = "2.1.0";
|
||||
pname = "azure-mgmt-resource";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "0slh9qfm5nfacrdm3lid0sr8kwqzgxvrwf27laf9v38kylkfqvml";
|
||||
sha256 = "aef8573066026db04ed3e7c5e727904e42f6462b6421c2e8a3646e4c4f8128be";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
|
@ -6,13 +6,13 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.20.0";
|
||||
version = "3.1.1";
|
||||
pname = "azure-mgmt-storage";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "16iw7hqhq97vlzfwixarfnirc60l5mz951p57brpcwyylphl3yim";
|
||||
sha256 = "22a779cae5e09712b7d62ef9bc3d8907a5666893a8a113b6d9348e933170236f";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "backports.ssl_match_hostname";
|
||||
version = "3.5.0.1";
|
||||
version = "3.7.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1wndipik52cyqy0677zdgp90i435pmvwd89cz98lm7ri0y3xjajh";
|
||||
sha256 = "bb82e60f9fbf4c080eabd957c39f0641f0fc247d9a16e31e26d594d8f42b9fd2";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -1,19 +1,21 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, nose }:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, soupsieve, pytest, python }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "beautifulsoup4";
|
||||
version = "4.6.3";
|
||||
version = "4.7.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "90f8e61121d6ae58362ce3bed8cd997efb00c914eae0ff3d363c32f9a9822d10";
|
||||
sha256 = "945065979fb8529dd2f37dbb58f00b661bdbcbebf954f93b32fdf5263ef35348";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
checkInputs = [ pytest ];
|
||||
checkPhase = ''
|
||||
nosetests build
|
||||
py.test $out/${python.sitePackages}/bs4/tests
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ soupsieve ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://crummy.com/software/BeautifulSoup/bs4/;
|
||||
description = "HTML and XML parser";
|
||||
|
@ -11,11 +11,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bidict";
|
||||
version = "0.17.5";
|
||||
version = "0.18.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1icj0fnfx47n6i33pj5gfrmd1rzpvah1jihhdhqiqx2cy9rs6x4c";
|
||||
sha256 = "4d10630fd5d86b7c165387473c5180e7fca7635f12e24b1f426aac259c72c81a";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools_scm ];
|
||||
|
@ -1,16 +1,16 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPyPy, pytest, case }:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPyPy, pytest, case, psutil }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "billiard";
|
||||
version = "3.5.0.5";
|
||||
version = "3.6.0.0";
|
||||
disabled = isPyPy;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "03msmapj3s5zgqk87d646mafz7a01h5bm2wijalgpi0s80ks5na2";
|
||||
sha256 = "756bf323f250db8bf88462cd042c992ba60d8f5e07fc5636c24ba7d6f4261d84";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest case ];
|
||||
checkInputs = [ pytest case psutil ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/celery/billiard;
|
||||
|
@ -9,11 +9,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bleach";
|
||||
version = "3.0.2";
|
||||
version = "3.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "48d39675b80a75f6d1c3bdbffec791cf0bbbab665cf01e20da701c77de278718";
|
||||
sha256 = "3fdf7f77adcf649c9911387df51254b813185e32b2c6619f690b593a617e19fa";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytestrunner ];
|
||||
|
@ -14,13 +14,13 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "18.9.1";
|
||||
version = "19.1.1";
|
||||
pname = "BoltzTraP2";
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b828ad2b3b3a40956ef866e462e4c82faf83be79348af3945d4e7cede8a53913";
|
||||
sha256 = "81e8a5ef8240c6a2205463fa7bc643b8033125237927f5492dab0b5d1aadb35a";
|
||||
};
|
||||
|
||||
buildInputs = [ cython cmake ];
|
||||
|
@ -3,26 +3,26 @@
|
||||
let
|
||||
wheel_source = fetchPypi {
|
||||
pname = "wheel";
|
||||
version = "0.32.2";
|
||||
version = "0.33.0";
|
||||
format = "wheel";
|
||||
sha256 = "1216licil12jjixfqvkb84xkync5zz0fdc2kgzhl362z3xqjsgn9";
|
||||
sha256 = "b79ffea026bc0dbd940868347ae9eee36789b6496b6623bd2dec7c7c540a8f99";
|
||||
};
|
||||
setuptools_source = fetchPypi {
|
||||
pname = "setuptools";
|
||||
version = "40.6.3";
|
||||
version = "40.8.0";
|
||||
format = "wheel";
|
||||
sha256 = "e2c1ce9a832f34cf7a31ed010aabcab5008eb65ce8f2aadc04622232c14bdd0b";
|
||||
sha256 = "e8496c0079f3ac30052ffe69b679bd876c5265686127a3159cfa415669b7f9ab";
|
||||
};
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "pip";
|
||||
version = "18.1";
|
||||
version = "19.0.2";
|
||||
name = "${python.libPrefix}-bootstrapped-${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
format = "wheel";
|
||||
sha256 = "7909d0a0932e88ea53a7014dfd14522ffef91a464daaaf5c573343852ef98550";
|
||||
sha256 = "6a59f1083a63851aeef60c7d68b119b46af11d9d803ddc1cf927b58edcd0b312";
|
||||
};
|
||||
|
||||
unpackPhase = ''
|
||||
|
@ -13,11 +13,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "boto3";
|
||||
version = "1.9.80"; # N.B: if you change this, change botocore too
|
||||
version = "1.9.96"; # N.B: if you change this, change botocore too
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "99ec19dc4f0aa8a8354db7baebe1ff57bd18aeb6a539b28693b2e8ca8dc3d85b";
|
||||
sha256 = "c103241394d396ee08548b03d5d1f0f89a7ad1dfa7ccca88a47131f329cca093";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ botocore jmespath s3transfer ] ++ lib.optionals (!isPy3k) [ futures ];
|
||||
|
@ -12,11 +12,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "botocore";
|
||||
version = "1.12.80"; # N.B: if you change this, change boto3 and awscli to a matching version
|
||||
version = "1.12.96"; # N.B: if you change this, change boto3 and awscli to a matching version
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "76a2969278250e010253ddf514f4b54eaa7d2b1430f682874c3c2ab92f25a96d";
|
||||
sha256 = "55c1594041e6716847d5a8b38181e3cc44e245edbf4598ae2b99e3040073b2cf";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zc.buildout";
|
||||
version = "2.12.2";
|
||||
version = "2.13.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "ff5d7e8a1361da8dfe1025d35ef6ce55e929dd8518d2a811a1cf2c948950a043";
|
||||
sha256 = "3d14d07226963a517295dfad5879d2799e2e3b65b2c61c71b53cb80f5ab11484";
|
||||
};
|
||||
|
||||
patches = [ ./nix.patch ];
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zc.buildout";
|
||||
version = "2.12.2";
|
||||
version = "2.13.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "ff5d7e8a1361da8dfe1025d35ef6ce55e929dd8518d2a811a1cf2c948950a043";
|
||||
sha256 = "3d14d07226963a517295dfad5879d2799e2e3b65b2c61c71b53cb80f5ab11484";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cachetools";
|
||||
version = "2.1.0";
|
||||
version = "3.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "90f1d559512fc073483fe573ef5ceb39bf6ad3d39edc98dc55178a2b2b176fa3";
|
||||
sha256 = "9efcc9fab3b49ab833475702b55edd5ae07af1af7a4c627678980b45e459c460";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
@ -17,11 +17,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cairocffi";
|
||||
version = "0.9.0";
|
||||
version = "1.0.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "15386c3a9e08823d6826c4491eaccc7b7254b1dc587a3b9ce60c350c3f990337";
|
||||
sha256 = "01ac51ae12c4324ca5809ce270f9dd1b67f5166fe63bd3e497e9ea3ca91946ff";
|
||||
};
|
||||
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
|
@ -1,4 +1,5 @@
|
||||
{ stdenv
|
||||
, libev
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pkgs
|
||||
@ -28,7 +29,10 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
pkgs.libev
|
||||
libev
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
# NOTE: next version will work with cython 0.29
|
||||
# Requires 'Cython!=0.25,<0.29,>=0.20'
|
||||
(cython.overridePythonAttrs(old: rec {
|
||||
|
@ -1,39 +1,16 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy37, fetchpatch, iana-etc, libredirect,
|
||||
pytest, case, kombu, billiard, pytz, anyjson, amqp, eventlet
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy37, fetchpatch, iana-etc, libredirect
|
||||
, case, pytest, boto3, moto, kombu, billiard, pytz, anyjson, amqp, eventlet
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "celery";
|
||||
version = "4.2.1";
|
||||
version = "4.3.0rc1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0y66rz7z8dfcgs3s0qxmdddlaq57bzbgxgfz896nbp14grkv9nkp";
|
||||
sha256 = "1jmg47l0b3bnwmg44x48bwziwyk6xqs1y5plvr99a3ikz1l807yf";
|
||||
};
|
||||
|
||||
# See https://github.com/celery/celery/issues/4500
|
||||
# TODO: Remove once upgraded to 4.3
|
||||
disabled = isPy37;
|
||||
|
||||
patches = [
|
||||
# Skip test_RedisBackend.test_timeouts_in_url_coerced
|
||||
# See https://github.com/celery/celery/pull/4847
|
||||
(fetchpatch {
|
||||
url = https://github.com/celery/celery/commit/b2668607c909c61becd151905b4525190c19ff4a.patch;
|
||||
sha256 = "11w0z2ycyh8kccj4y69zb7bxppiipcwwigg6jn1q9yrcsvz170jq";
|
||||
})
|
||||
# Allow usage of a newer pytest version
|
||||
# See https://github.com/celery/celery/pull/4912
|
||||
(fetchpatch {
|
||||
url = https://github.com/celery/celery/commit/16f56fe6f84cac9f92affac3ad06a1f168a19798.patch;
|
||||
sha256 = "0vz68rl32m34k51nhs898jcfdbj5m7cszzxx0w0j3j1fhn1wq594";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements/test.txt --replace ",<3.9" ""
|
||||
'';
|
||||
|
||||
# make /etc/protocols accessible to fix socket.getprotobyname('tcp') in sandbox
|
||||
preCheck = stdenv.lib.optionalString stdenv.isLinux ''
|
||||
export NIX_REDIRECTS=/etc/protocols=${iana-etc}/etc/protocols \
|
||||
@ -43,7 +20,7 @@ buildPythonPackage rec {
|
||||
unset NIX_REDIRECTS LD_PRELOAD
|
||||
'';
|
||||
|
||||
checkInputs = [ pytest case ];
|
||||
checkInputs = [ case pytest boto3 moto ];
|
||||
propagatedBuildInputs = [ kombu billiard pytz anyjson amqp eventlet ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
if isPyPy then null else buildPythonPackage rec {
|
||||
pname = "cffi";
|
||||
version = "1.11.5";
|
||||
version = "1.12.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "e90f17980e6ab0f3c2f3730e56d1fe9bcba1891eeea58966e89d352492cc74f4";
|
||||
sha256 = "08090454ff236239e583a9119d0502a6b9817594c0a3714dd1d8593f2350ba11";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "chainer";
|
||||
version = "5.0.0";
|
||||
version = "5.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "74c11c3f20c33f85d3f42cc237a55efc384dc6f42035d6d2448318b182f236ee";
|
||||
sha256 = "cc8390a7f445a14a1bc71d54de348be247158fe2813a5ef11c5046265001c8c4";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
|
@ -20,11 +20,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "chalice";
|
||||
version = "1.6.2";
|
||||
version = "1.7.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "96c22f95ccc91ed3e79cc4a9a88bf27f95a13a2caf5a55137ab081d371258f0f";
|
||||
sha256 = "98a1237bf77f18761d8f964cb3c3b794e2d377a261b5e1640268608ec94336fa";
|
||||
};
|
||||
|
||||
checkInputs = [ watchdog pytest hypothesis mock ];
|
||||
|
@ -3,11 +3,11 @@
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "channels";
|
||||
version = "2.1.6";
|
||||
version = "2.1.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "15qmwkpmia9y32amg7dqx3ph81b6m3fa0pawhq8gshvdfjdvhfjd";
|
||||
sha256 = "e13ba874d854ac493ece329dcd9947e82357c15437ac1a90ed1040d0e5b87aad";
|
||||
};
|
||||
|
||||
# Files are missing in the distribution
|
||||
|
@ -13,6 +13,10 @@ buildPythonPackage rec {
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg --replace "[pytest]" "[tool:pytest]"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Python attributes without boilerplate";
|
||||
homepage = https://characteristic.readthedocs.org;
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, pytest, pytestrunner, hypothesis }:
|
||||
, pytest_3, pytestrunner, hypothesis }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "chardet";
|
||||
@ -10,7 +10,7 @@ buildPythonPackage rec {
|
||||
sha256 = "1bpalpia6r5x1kknbk11p1fzph56fmmnp405ds8icksd3knr5aw4";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytestrunner hypothesis ];
|
||||
checkInputs = [ pytest_3 pytestrunner hypothesis ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/chardet/chardet;
|
||||
|
@ -1,14 +1,14 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
||||
, cheroot, contextlib2, portend, routes, six
|
||||
, setuptools_scm, zc_lockfile
|
||||
, setuptools_scm, zc_lockfile, more-itertools
|
||||
, backports_unittest-mock, objgraph, pathpy, pytest, pytestcov
|
||||
, backports_functools_lru_cache, requests_toolbelt
|
||||
, backports_functools_lru_cache, requests_toolbelt, pytest-services
|
||||
}:
|
||||
|
||||
let
|
||||
srcInfo = if isPy3k then {
|
||||
version = "18.0.1";
|
||||
sha256 = "3002fc47b982c3df4d08dbe5996b093fd73f85b650ab8df19e8b9b95f5c00520";
|
||||
version = "18.1.0";
|
||||
sha256 = "4dd2f59b5af93bd9ca85f1ed0bb8295cd0f5a8ee2b84d476374d4e070aa5c615";
|
||||
} else {
|
||||
version = "17.4.1";
|
||||
sha256 = "1kl17anzz535jgkn9qcy0c2m0zlafph0iv7ph3bb9mfrs2bgvagv";
|
||||
@ -22,14 +22,26 @@ in buildPythonPackage rec {
|
||||
inherit (srcInfo) version sha256;
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cheroot contextlib2 portend routes six zc_lockfile ];
|
||||
propagatedBuildInputs = if isPy3k then [
|
||||
# required
|
||||
cheroot portend more-itertools zc_lockfile
|
||||
# optional
|
||||
routes
|
||||
] else [
|
||||
cheroot contextlib2 portend routes six zc_lockfile
|
||||
];
|
||||
|
||||
buildInputs = [ setuptools_scm ];
|
||||
|
||||
checkInputs = [ backports_unittest-mock objgraph pathpy pytest pytestcov backports_functools_lru_cache requests_toolbelt ];
|
||||
checkInputs = if isPy3k then [
|
||||
objgraph pytest pytestcov pathpy requests_toolbelt pytest-services
|
||||
] else [
|
||||
backports_unittest-mock objgraph pathpy pytest pytestcov backports_functools_lru_cache requests_toolbelt
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
LANG=en_US.UTF-8 pytest
|
||||
# 3 out of 5 SignalHandlingTests need network access
|
||||
LANG=en_US.UTF-8 pytest -k "not SignalHandlingTests and not test_4_Autoreload"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cloudpickle";
|
||||
version = "0.6.1";
|
||||
version = "0.8.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "f169a8523a40eb0a3452e1878aac31da6759409fbafa51dd50d89d4a6b42bcf1";
|
||||
sha256 = "18d3a5dfc82f752b9f4c844cceb663213e26e130f4a2894a18ad1f11d57a30bc";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest mock ];
|
||||
|
@ -6,11 +6,11 @@
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "cmd2";
|
||||
version = "0.9.7";
|
||||
version = "0.9.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b04a3421be2ae35e7e8347e29c2f3960eed38d0163e312845147d5d828a09379";
|
||||
sha256 = "22c3461af56769e74225e3aeecab0e98ef86ab8d9b4ded29ba84722449fe7608";
|
||||
};
|
||||
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cmdline";
|
||||
version = "0.1.8";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "324cc8fc6580f221824821c47232c297ed1f7cc737186a57305a8c08fc902dd7";
|
||||
sha256 = "7cf6af53549892b2218c2f56a199dff54a733be5c5515c0fd626812070b0a86a";
|
||||
};
|
||||
|
||||
# No tests, https://github.com/rca/cmdline/issues/1
|
||||
|
@ -3,11 +3,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "colander";
|
||||
version = "1.5.1";
|
||||
version = "1.7.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "18ah4cwwxnpm6qxi6x9ipy51dal4spd343h44s5wd01cnhgrwsyq";
|
||||
sha256 = "d758163a22d22c39b9eaae049749a5cd503f341231a02ed95af480b1145e81f2";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ translationstring iso8601 enum34 ];
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "colorama";
|
||||
version = "0.3.9";
|
||||
version = "0.4.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1wd1szk0z3073ghx26ynw43gnc140ibln1safgsis6s6z3s25ss8";
|
||||
sha256 = "05eed71e2e327246ad6b38c540c4a3117230b19679b875190486ddd2d721422d";
|
||||
};
|
||||
|
||||
# No tests in archive
|
||||
|
@ -3,11 +3,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "colorlover";
|
||||
version = "0.2.1";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1clwvssrj007r07prfvkqnpjy3f77dlp584lj879x8mwl8f0japi";
|
||||
sha256 = "b8fb7246ab46e1f5e6715649453c1762e245a515de5ff2d2b4aab7a6e67fa4e2";
|
||||
};
|
||||
|
||||
# no tests included in distributed archive
|
||||
|
@ -2,22 +2,23 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "configparser";
|
||||
version = "3.5.0";
|
||||
version = "3.7.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0fi7vf09vi1588jd8f16a021m5y6ih2hy7rpbjb408xw45qb822k";
|
||||
sha256 = "5bd5fa2a491dc3cfe920a3f2a107510d65eceae10e9c6e547b90261a4710df32";
|
||||
};
|
||||
|
||||
# No tests available
|
||||
doCheck = false;
|
||||
|
||||
# Fix issue when used together with other namespace packages
|
||||
# https://github.com/NixOS/nixpkgs/issues/23855
|
||||
patches = [
|
||||
./0001-namespace-fix.patch
|
||||
];
|
||||
preConfigure = ''
|
||||
export LC_ALL=C.UTF-8
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Updated configparser from Python 3.7 for Python 2.6+.";
|
||||
license = licenses.mit;
|
||||
homepage = https://github.com/jaraco/configparser;
|
||||
};
|
||||
}
|
||||
|
@ -9,11 +9,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cornice";
|
||||
version = "3.4.4";
|
||||
version = "3.5.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1355f998ac6af53bda985e13ed0695cd206b0a3f14657b83979b31bbc72f1acb";
|
||||
sha256 = "e95dceaee9ce16a09564c1226977a0fe62f1399701581b59c4188f5c91a86687";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyramid simplejson six venusian ];
|
||||
|
@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cupy";
|
||||
version = "5.0.0";
|
||||
version = "5.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "557e665d6f2e74e21987b6736d580ec919f51205623fe3d79df06b9d22b3e09d";
|
||||
sha256 = "664acff0e1094f0135acca8899318d300258b704e049b1ef0c59154912da53b2";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
|
@ -16,13 +16,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cvxopt";
|
||||
version = "1.2.2";
|
||||
version = "1.2.3";
|
||||
|
||||
disabled = isPyPy; # hangs at [translation:info]
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "19ipi6ljj9qv87lhgcsky1gy9543gcmqdbgzpk6v5ccv90nrcf00";
|
||||
sha256 = "ea62a2a1b8e2db3a6ae44ac394f58e4620149af226c250c6f2b18739b48cfc21";
|
||||
};
|
||||
|
||||
# similar to Gsl, glpk, fftw there is also a dsdp interface
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cx_Oracle";
|
||||
version = "7.0.0";
|
||||
version = "7.1.0";
|
||||
|
||||
buildInputs = [ odpic ];
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "75ee5edccf385d8e8b1443058909fbf3477bb1db12ab7f367aafba8d993fc828";
|
||||
sha256 = "57f084bbd7d28af4deff22ef358188c06dec885c818df92fb74e093ab22fdd8f";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
|
@ -29,8 +29,11 @@ buildPythonPackage rec {
|
||||
${python.pythonForBuild.pkgs.bootstrapped-pip}/bin/pip install --no-index --prefix=$out --no-cache --build=tmpdir .
|
||||
'';
|
||||
|
||||
buildInputs = [
|
||||
nativeBuildInputs = [
|
||||
pari
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gmp
|
||||
];
|
||||
|
||||
|
@ -12,11 +12,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dask";
|
||||
version = "0.20.2";
|
||||
version = "1.1.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d4139a03ab5eb6cedeb06cf1e39af90fb5226ca214d77408def7677d7e6b7af3";
|
||||
sha256 = "2e70135d6856805699b52774d8e0cec41beda92bdfc9f9c776962b4bfb34822c";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
@ -4,11 +4,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "datadog";
|
||||
version = "0.25.0";
|
||||
version = "0.26.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "e71f9024fb0b968bd704178c7e48fa41ce728281cc6913994db5e065596cddf1";
|
||||
sha256 = "cbaa6b4b2b88fd552605e6730f60d5437017bb76d6b701432eaafbc983735b79";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -42,5 +42,7 @@ in buildPythonPackage rec {
|
||||
description = "A data description language";
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = with lib.maintainers; [ fridh ];
|
||||
# Package is no longer maintained upstream, and more and more tests are failing.
|
||||
broken = true;
|
||||
};
|
||||
}
|
@ -1,15 +1,23 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, six, setuptools_scm }:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, six, setuptools_scm, pytest }:
|
||||
buildPythonPackage rec {
|
||||
pname = "python-dateutil";
|
||||
version = "2.7.5";
|
||||
version = "2.8.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "88f9287c0174266bb0d8cedd395cfba9c58e87e5ad86b2ce58859bc11be3cf02";
|
||||
sha256 = "c89805f6f4d64db21ed966fda138f8a5ed7a4fdbc1a8ee329ce1b74e3c74da9e";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ six setuptools_scm ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test dateutil/test
|
||||
'';
|
||||
|
||||
# Requires fixing
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Powerful extensions to the standard datetime module";
|
||||
homepage = https://pypi.python.org/pypi/python-dateutil;
|
||||
|
@ -5,11 +5,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "decorator";
|
||||
version = "4.3.0";
|
||||
version = "4.3.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c39efa13fbdeb4506c476c9b3babf6a718da943dab7811c206005a4a956c080c";
|
||||
sha256 = "33cd704aea07b4c28b3eb2c97d288a06918275dac0ecebdaf1bc8a48d98adb9e";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "deluge-client";
|
||||
version = "1.6.0";
|
||||
version = "1.7.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a95d5bc3cf12e842793cb90eecef5c91f4bd8a7fc4e1e8fdef36d62b643d87cb";
|
||||
sha256 = "7c2bb6baa3183f039125fc490f47f8c6699312c3e69fcada89e9e70f63c6e092";
|
||||
};
|
||||
|
||||
# it will try to connect to a running instance
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "derpconf";
|
||||
version = "0.8.2";
|
||||
version = "0.8.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "ce4f0cd55d367a3357538a18422c916dced0617a00056b4ebabe775059eace4f";
|
||||
sha256 = "1bb152d8a1cf5c2a6d629bf29acd4af0c00811339642fc0a56172b0a83b31a15";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
@ -3,11 +3,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "detox";
|
||||
version = "0.18";
|
||||
version = "0.19";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1yvfhnkw6zpm11yrl2shl794yi68jcfqj8m5n596gqxxbiq6gp90";
|
||||
sha256 = "e650f95f0c7f5858578014b3b193e5dac76c89285c1bbe4bae598fd641bf9cd3";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest ];
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user