mitmproxy2swagger: override json-stream
This commit is contained in:
parent
195600bc7e
commit
83da5e3694
@ -3,7 +3,22 @@
|
||||
, python3
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
let
|
||||
python = python3.override {
|
||||
packageOverrides = final: prev: {
|
||||
# https://github.com/alufers/mitmproxy2swagger/issues/27
|
||||
json-stream = prev.json-stream.overridePythonAttrs (old: rec {
|
||||
version = "1.5.1";
|
||||
src = old.src.override {
|
||||
inherit version;
|
||||
hash = "sha256-htajifmbXtivUwsORzBzJA68nJCACcL75kiBysVYCxY=";
|
||||
};
|
||||
});
|
||||
};
|
||||
};
|
||||
in
|
||||
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
pname = "mitmproxy2swagger";
|
||||
version = "0.7.2";
|
||||
format = "pyproject";
|
||||
@ -15,11 +30,11 @@ python3.pkgs.buildPythonApplication rec {
|
||||
hash = "sha256-LnH0RDiRYJAGI7ZT6Idu1AqSz0yBRuBJvhIgY72Z4CA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
nativeBuildInputs = with python.pkgs; [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
propagatedBuildInputs = with python.pkgs; [
|
||||
json-stream
|
||||
mitmproxy
|
||||
ruamel-yaml
|
||||
|
Loading…
Reference in New Issue
Block a user