mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
gdbgui: 0.14.0.2 -> 0.15.0.1
This commit is contained in:
parent
13ca8e47f0
commit
b9a93b91db
@ -2,80 +2,35 @@
|
|||||||
, buildPythonApplication
|
, buildPythonApplication
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, gdb
|
, gdb
|
||||||
, flask
|
|
||||||
, six
|
|
||||||
, bidict
|
|
||||||
, python-engineio
|
|
||||||
, python-socketio
|
|
||||||
, flask-socketio
|
, flask-socketio
|
||||||
, flask-compress
|
, flask-compress
|
||||||
, pygdbmi
|
, pygdbmi
|
||||||
, pygments
|
, pygments
|
||||||
, gevent
|
|
||||||
, gevent-websocket
|
|
||||||
, eventlet
|
|
||||||
, }:
|
, }:
|
||||||
|
|
||||||
let
|
|
||||||
# gdbgui only works with the latest previous major version of flask-socketio,
|
|
||||||
# which depends itself on the latest previous major versions of dependencies.
|
|
||||||
python-engineio' = python-engineio.overridePythonAttrs (old: rec {
|
|
||||||
version = "3.14.2";
|
|
||||||
src = fetchPypi {
|
|
||||||
inherit (old) pname;
|
|
||||||
inherit version;
|
|
||||||
sha256 = "119halljynqsgswlhlh750qv56js1p7j52sc0nbwxh8450zmbd7a";
|
|
||||||
};
|
|
||||||
propagatedBuildInputs = [ six ];
|
|
||||||
doCheck = false;
|
|
||||||
});
|
|
||||||
python-socketio' = python-socketio.overridePythonAttrs (old: rec {
|
|
||||||
version = "4.6.1";
|
|
||||||
src = fetchPypi {
|
|
||||||
inherit (old) pname;
|
|
||||||
inherit version;
|
|
||||||
sha256 = "047syhrrxh327p0fnab0d1zy25zijnj3gs1qg3kjpsy1jaj5l7yd";
|
|
||||||
};
|
|
||||||
propagatedBuildInputs = [ bidict python-engineio' ];
|
|
||||||
doCheck = false;
|
|
||||||
});
|
|
||||||
flask-socketio' = flask-socketio.overridePythonAttrs (old: rec {
|
|
||||||
version = "4.3.2";
|
|
||||||
src = fetchPypi {
|
|
||||||
inherit (old) pname;
|
|
||||||
inherit version;
|
|
||||||
sha256 = "0s2xs9kv9cbwy8bcxszhdwlcb9ldv0fj33lwilf5vypj0wsin01p";
|
|
||||||
};
|
|
||||||
propagatedBuildInputs = [ flask python-socketio' ];
|
|
||||||
doCheck = false;
|
|
||||||
});
|
|
||||||
in
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "gdbgui";
|
pname = "gdbgui";
|
||||||
version = "0.14.0.2";
|
|
||||||
|
version = "0.15.0.1";
|
||||||
|
|
||||||
|
|
||||||
buildInputs = [ gdb ];
|
buildInputs = [ gdb ];
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
flask
|
flask-socketio
|
||||||
flask-socketio'
|
|
||||||
flask-compress
|
flask-compress
|
||||||
pygdbmi
|
pygdbmi
|
||||||
pygments
|
pygments
|
||||||
gevent
|
|
||||||
gevent-websocket
|
|
||||||
eventlet
|
|
||||||
];
|
];
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1v6wwsncgnhlg5c7gsmzcp52hfblfnz5kf5pk4d0zybflsxak02d";
|
sha256 = "sha256-bwrleLn3GBx4Mie2kujtaUo+XCALM+hRLySIZERlBg0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
echo ${version} > gdbgui/VERSION.txt
|
echo ${version} > gdbgui/VERSION.txt
|
||||||
# remove upper version bound
|
# remove upper version bound
|
||||||
sed -ie 's!, <.*"!"!' setup.py
|
sed -ie 's!,.*<.*!!' requirements.in
|
||||||
sed -i 's/greenlet==/greenlet>=/' setup.py
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user