mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
Merge branch 'master' into staging-next
- Thunderbird 68 has been dropped on master. - gccCrossLibcStdenv has been factored out on staging-next in all-packages.nix, while the file has been re-formatted on master.
This commit is contained in:
@@ -10,11 +10,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "awkward";
|
||||
version = "1.2.2";
|
||||
version = "1.2.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "89f126a072d3a6eee091e1afeed87e0b2ed3c34ed31a1814062174de3cab8d9b";
|
||||
sha256 = "7d727542927a926f488fa62d04e2c5728c72660f17f822e627f349285f295063";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
, colorama
|
||||
, click
|
||||
, email_validator
|
||||
, fetchpatch
|
||||
, flask
|
||||
, flask-babel
|
||||
, flask_login
|
||||
@@ -20,21 +21,27 @@
|
||||
, python-dateutil
|
||||
, prison
|
||||
, pyjwt
|
||||
, pyyaml
|
||||
, sqlalchemy-utils
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flask-appbuilder";
|
||||
version = "3.1.1";
|
||||
version = "3.2.3";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "Flask-AppBuilder";
|
||||
inherit version;
|
||||
sha256 = "076b020b0ba125339a2e710e74eab52648cde2b18599f7cb0fa1eada9bbb648c";
|
||||
sha256 = "sha256-+ZYrn2LnVORyYsnZtsH3JX+4XbGgAZZ/Eh6O5gUP+y4=";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
nose
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "flask_jwt_extended-and-pyjwt-patch";
|
||||
url = "https://github.com/dpgaspar/Flask-AppBuilder/commit/7097a7b133f27c78d2b54d2a46e4a4c24478a066.patch";
|
||||
sha256 = "sha256-ZpY8+2Hoz3z01GVtw2OIbQcsmAwa7iwilFWzgcGhY1w=";
|
||||
includes = [ "flask_appbuilder/security/manager.py" "setup.py" ];
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -56,22 +63,23 @@ buildPythonPackage rec {
|
||||
python-dateutil
|
||||
prison
|
||||
pyjwt
|
||||
pyyaml
|
||||
sqlalchemy-utils
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "apispec[yaml]>=3.3, <4" "apispec" \
|
||||
--replace "Flask-Login>=0.3, <0.5" "Flask-Login" \
|
||||
--replace "Flask-Babel>=1, <2" "Flask-Babel" \
|
||||
--replace "marshmallow-sqlalchemy>=0.22.0, <0.24.0" "marshmallow-sqlalchemy" \
|
||||
--replace "prison>=0.1.3, <1.0.0" "prison"
|
||||
--replace "apispec[yaml]>=3.3, <4" "apispec[yaml] >=3.3, <5" \
|
||||
--replace "Flask-Login>=0.3, <0.5" "Flask-Login >=0.3, <0.6" \
|
||||
--replace "Flask-Babel>=1, <2" "Flask-Babel >=1, <3" \
|
||||
--replace "marshmallow-sqlalchemy>=0.22.0, <0.24.0" "marshmallow-sqlalchemy >=0.22.0, <0.25.0"
|
||||
'';
|
||||
|
||||
|
||||
# majority of tests require network access or mongo
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "flask_appbuilder" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple and rapid application development framework, built on top of Flask";
|
||||
homepage = "https://github.com/dpgaspar/flask-appbuilder/";
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "prison";
|
||||
version = "0.1.2";
|
||||
version = "0.1.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "betodealmeida";
|
||||
repo = "python-rison";
|
||||
rev = version;
|
||||
sha256 = "14vb468iznf9416z993bbqihywp9ibyslw5vp67wfr200zyxjwak";
|
||||
sha256 = "sha256-qor40vUQeTdlO3vwug3GGNX5vkNaF0H7EWlRdsY4bvc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
, websocket_client
|
||||
, websockets
|
||||
, pytestCheckHook
|
||||
, pythonAtLeast
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -63,5 +64,6 @@ buildPythonPackage rec {
|
||||
homepage = "https://github.com/miguelgrinberg/python-engineio/";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ graham33 ];
|
||||
broken = stdenv.isDarwin && (pythonAtLeast "3.9"); # See https://github.com/miguelgrinberg/python-socketio/issues/567
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPyPy
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -15,6 +16,14 @@ buildPythonPackage rec {
|
||||
sha256 = "34ad30aac341039872401595df9ab2c9dc36d0b7c077db1cea9ade430ed1c007";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Patch test suite for python >= 3.9
|
||||
(fetchpatch {
|
||||
url = "https://github.com/strichter/random2/pull/3/commits/1bac6355d9c65de847cc445d782c466778b94fbd.patch";
|
||||
sha256 = "064137pg1ilv3f9r10123lqbqz45070jca8pjjyp6gpfd0yk74pi";
|
||||
})
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://pypi.python.org/pypi/random2";
|
||||
description = "Python 3 compatible Python 2 `random` Module";
|
||||
|
||||
Reference in New Issue
Block a user