mono: allow custom meta in generic
This commit is contained in:
parent
e3239a266d
commit
b577f3292e
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user