mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
platformio: pin ajsonrpc dependency
This commit is contained in:
parent
083c666d20
commit
6f7e762202
1 changed files with 22 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
{ stdenv, lib, python3
|
||||
, fetchFromGitHub
|
||||
, fetchPypi
|
||||
, git
|
||||
, spdx-license-list-data
|
||||
, version, src
|
||||
|
@ -20,6 +21,15 @@ let
|
|||
doCheck = false;
|
||||
});
|
||||
|
||||
ajsonrpc = super.ajsonrpc.overridePythonAttrs (oldAttrs: rec {
|
||||
pname = "ajsonrpc";
|
||||
version = "1.1.0";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-CgHCtW0gxZho7ZavvEaODNc+KbFW4sAsHtM2Xk5Cuaw=";
|
||||
};
|
||||
});
|
||||
|
||||
click = super.click.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "7.1.2";
|
||||
src = oldAttrs.src.override {
|
||||
|
@ -28,6 +38,18 @@ let
|
|||
};
|
||||
});
|
||||
|
||||
starlette = super.starlette.overridePythonAttrs (oldAttrs: rec {
|
||||
pname = "starlette";
|
||||
version = "0.14.2";
|
||||
src = fetchFromGitHub {
|
||||
owner = "encode";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-Ki5jTEr5w6CrGK6F60E9uvdUlGx8pxdHMpxHvj9D4js=";
|
||||
};
|
||||
doCheck = false;
|
||||
});
|
||||
|
||||
uvicorn = super.uvicorn.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.13.2";
|
||||
src = fetchFromGitHub {
|
||||
|
|
Loading…
Reference in a new issue