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; inherit Foundation libobjc;
version = "4.0.4.1"; version = "4.0.4.1";
sha256 = "1ydw9l89apc9p7xr5mdzy0h97g2q6v243g82mxswfc2rrqhfs4gd"; sha256 = "1ydw9l89apc9p7xr5mdzy0h97g2q6v243g82mxswfc2rrqhfs4gd";
meta = {
knownVulnerabilities = [ "CVE-2009-0689" ];
};
}) })

View file

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