mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
Merge pull request #176420 from dotlambda/nixops-insecure
nixops: mark insecure
This commit is contained in:
commit
b1d10e8209
@ -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 New Issue
Block a user