mono: allow custom meta in generic

This commit is contained in:
Matthew Bauer 2018-04-22 15:46:12 -05:00
parent e3239a266d
commit b577f3292e

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;
} }