mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
Merge pull request #176420 from dotlambda/nixops-insecure
nixops: mark insecure
This commit is contained in:
commit
b1d10e8209
2 changed files with 15 additions and 0 deletions
|
@ -40,5 +40,8 @@ buildPythonPackage rec {
|
|||
description = "JSON Web Token implementation in Python";
|
||||
homepage = "https://github.com/jpadilla/pyjwt";
|
||||
license = licenses.mit;
|
||||
knownVulnerabilities = [
|
||||
"CVE-2022-29217"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -6,6 +6,18 @@ let
|
|||
inherit (poetry2nix.mkPoetryPackages {
|
||||
projectDir = ./python-env;
|
||||
python = python2;
|
||||
overrides = [
|
||||
poetry2nix.defaultPoetryOverrides
|
||||
(self: super: {
|
||||
pyjwt = super.pyjwt.overridePythonAttrs (old: {
|
||||
meta = old.meta // {
|
||||
knownVulnerabilities = lib.optionals (lib.versionOlder old.version "2.4.0") [
|
||||
"CVE-2022-29217"
|
||||
];
|
||||
};
|
||||
});
|
||||
})
|
||||
];
|
||||
}) python;
|
||||
pythonPackages = python.pkgs;
|
||||
|
||||
|
|
Loading…
Reference in a new issue