Merge pull request #39344 from matthewbauer/mono-fixes

Mono: add vulnerabilities
This commit is contained in:
Matthew Justin Bauer 2018-04-22 17:07:09 -05:00 committed by GitHub
commit 6ec7c3935b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 3 deletions

View File

@ -3,4 +3,7 @@ callPackage ./generic.nix (rec {
inherit Foundation libobjc;
version = "4.0.4.1";
sha256 = "1ydw9l89apc9p7xr5mdzy0h97g2q6v243g82mxswfc2rrqhfs4gd";
meta = {
knownVulnerabilities = [ "CVE-2009-0689" ];
};
})

View File

@ -5,13 +5,15 @@
, version, sha256
, withLLVM ? false
, enableParallelBuilding ? true
, meta ? {}
}:
let
llvm = callPackage ./llvm.nix { };
in
stdenv.mkDerivation rec {
name = "mono-${version}";
in
stdenv.mkDerivation {
inherit name;
src = fetchurl {
inherit sha256;
@ -91,5 +93,5 @@ stdenv.mkDerivation rec {
platforms = stdenv.lib.platforms.x86;
maintainers = with stdenv.lib.maintainers; [ viric thoughtpolice obadz vrthra ];
license = stdenv.lib.licenses.free; # Combination of LGPL/X11/GPL ?
};
} // meta;
}