Merge staging-next into staging
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
, setuptools-scm
|
||||
, scipy
|
||||
, scikitlearn
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -21,13 +21,9 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
checkInputs = [ pytest ];
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
propagatedBuildInputs = [ cloudpickle dask numpy toolz multipledispatch scipy scikitlearn ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test dask_glm
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/dask/dask-glm/";
|
||||
description = "Generalized Linear Models with Dask";
|
||||
|
||||
@@ -26,6 +26,10 @@ buildPythonPackage rec {
|
||||
sha256 = "8fc4ac3ec1915e382fb8cae9ff1ec9b5ac1bee0b6f4c6975d6e6cb7191a4a815";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dask
|
||||
dask-glm
|
||||
@@ -39,7 +43,6 @@ buildPythonPackage rec {
|
||||
scipy
|
||||
six
|
||||
toolz
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
# has non-standard build from source, and pypi doesn't include tests
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, bokeh
|
||||
, buildPythonPackage
|
||||
, fetchpatch
|
||||
@@ -77,9 +78,7 @@ buildPythonPackage rec {
|
||||
"-m 'not network'"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"test_annotation_pack_unpack"
|
||||
"test_annotations_blockwise_unpack"
|
||||
disabledTests = lib.optionals stdenv.isDarwin [
|
||||
# this test requires features of python3Packages.psutil that are
|
||||
# blocked in sandboxed-builds
|
||||
"test_auto_blocksize_csv"
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
{ lib
|
||||
, astral
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, poetry-core
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pytz
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hdate";
|
||||
version = "0.10.2";
|
||||
disabled = pythonOlder "3.6";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "py-libhdate";
|
||||
repo = "py-libhdate";
|
||||
rev = "v${version}";
|
||||
sha256 = "07b0c7q8w6flj4q72v58d3wymsxfp5qz8z97qhhc2977mjx5fsxd";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
astral
|
||||
pytz
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
patches = [
|
||||
# Version was not updated for the release
|
||||
(fetchpatch {
|
||||
name = "update-version.patch";
|
||||
url = "https://github.com/py-libhdate/py-libhdate/commit/b8186a891b29fed99def5ce0985ee0ae1e0dd77e.patch";
|
||||
sha256 = "1pmhgh57x9390ff5gyisng0l6b79sd6dxmf172hpk1gr03c3hv98";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml --replace "^2020.5" ">=2020.5"
|
||||
'';
|
||||
|
||||
pytestFlagsArray = [
|
||||
"tests"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "hdate" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module for Jewish/Hebrew date and Zmanim";
|
||||
homepage = "https://github.com/py-libhdate/py-libhdate";
|
||||
license = with licenses; [ gpl3Plus ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
@@ -8,12 +8,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pg8000";
|
||||
version = "1.19.2";
|
||||
version = "1.19.4";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-RMu008kS8toWfKAr+YoAQPfpMmDk7xFMKNXWFSAS6gc=";
|
||||
sha256 = "sha256-fJxtV1QbDyFT4jqNdZzrPXy5MIkY+6atnpL44OWpC8g=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyatspi";
|
||||
version = "2.38.0";
|
||||
version = "2.38.1";
|
||||
format = "other";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "/4CTEv0ML2HhkcGBoaY4owtXm5G2gs+1oFU1pVJltD0=";
|
||||
sha256 = "0lc1p6p296c9q3lffi03v902jlsj34i7yyl3rcyaq94wwbljg7z4";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
@@ -23,6 +23,7 @@ buildPythonPackage rec {
|
||||
updateScript = gnome3.updateScript {
|
||||
packageName = pname;
|
||||
attrPath = "python3.pkgs.${pname}";
|
||||
versionPolicy = "odd-unstable";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -23,13 +23,6 @@ buildPythonPackage rec {
|
||||
++ lib.optionals stdenv.isDarwin [ which ncurses ];
|
||||
propagatedBuildInputs = [ pycairo cairo ];
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome3.updateScript {
|
||||
packageName = pname;
|
||||
attrPath = "python3.pkgs.${pname}3";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://pygobject.readthedocs.io/";
|
||||
description = "Python bindings for Glib";
|
||||
|
||||
@@ -1,37 +1,66 @@
|
||||
{ lib, stdenv, fetchurl, buildPythonPackage, pkg-config, glib, gobject-introspection,
|
||||
pycairo, cairo, which, ncurses, meson, ninja, isPy3k, gnome3 }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, buildPythonPackage
|
||||
, pkg-config
|
||||
, glib
|
||||
, gobject-introspection
|
||||
, pycairo
|
||||
, cairo
|
||||
, which
|
||||
, ncurses
|
||||
, meson
|
||||
, ninja
|
||||
, isPy3k
|
||||
, gnome3
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pygobject";
|
||||
version = "3.38.0";
|
||||
version = "3.40.1";
|
||||
|
||||
disabled = ! isPy3k;
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
format = "other";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "A3LRu5Ei/Bn1AKJJsfOMK7Z0hQAPWIdJe0sgWz5whNU=";
|
||||
sha256 = "0d80g5kgf2i9cginyhalvb7ibfk9g30yilqzmcsw6h6byj8xbih0";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
meson
|
||||
ninja
|
||||
gobject-introspection
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkg-config meson ninja gobject-introspection ];
|
||||
buildInputs = [ glib gobject-introspection ]
|
||||
++ lib.optionals stdenv.isDarwin [ which ncurses ];
|
||||
propagatedBuildInputs = [ pycairo cairo ];
|
||||
buildInputs = [
|
||||
glib
|
||||
gobject-introspection
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
ncurses
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pycairo
|
||||
cairo
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome3.updateScript {
|
||||
packageName = pname;
|
||||
attrPath = "python3.pkgs.${pname}3";
|
||||
versionPolicy = "odd-unstable";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://pygobject.readthedocs.io/";
|
||||
description = "Python bindings for Glib";
|
||||
license = licenses.gpl2;
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = with maintainers; [ jtojnar ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tap.py";
|
||||
version = "3.0";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-9e7u6/1k5T0yZhdSu0wohYmjuru5bbPzkaTsKfE1nHA=";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "tap" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/python-tap/tappy";
|
||||
description = "A set of tools for working with the Test Anything Protocol (TAP) in Python";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ sfrijters ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user