forked from mirrors/nixpkgs
mono40: refactor to generic 40
This commit is contained in:
parent
a605b54b38
commit
d3fedc6a9d
6
pkgs/development/compilers/mono/4.0.nix
Normal file
6
pkgs/development/compilers/mono/4.0.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ stdenv, callPackage, Foundation, libobjc }:
|
||||
callPackage ./generic.nix (rec {
|
||||
inherit Foundation libobjc;
|
||||
version = "4.0.4.1";
|
||||
sha256 = "1ydw9l89apc9p7xr5mdzy0h97g2q6v243g82mxswfc2rrqhfs4gd";
|
||||
})
|
|
@ -1,9 +1,7 @@
|
|||
{ stdenv, fetchurl, bison, pkgconfig, glib, gettext, perl, libgdiplus, libX11, callPackage, ncurses, zlib, withLLVM ? false, cacert, Foundation, libobjc, python }:
|
||||
{ stdenv, fetchurl, bison, pkgconfig, glib, gettext, perl, libgdiplus, libX11, callPackage, ncurses, zlib, withLLVM ? false, cacert, Foundation, libobjc, python, version, sha256 }:
|
||||
|
||||
let
|
||||
llvm = callPackage ./llvm.nix { };
|
||||
sha256 = "1ydw9l89apc9p7xr5mdzy0h97g2q6v243g82mxswfc2rrqhfs4gd";
|
||||
version = "4.0.4.1";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mono-${version}";
|
|
@ -4829,7 +4829,9 @@ in
|
|||
|
||||
mlton = callPackage ../development/compilers/mlton { };
|
||||
|
||||
mono = callPackage ../development/compilers/mono {
|
||||
mono = mono40;
|
||||
|
||||
mono40 = callPackage ../development/compilers/mono/4.0.nix {
|
||||
inherit (darwin) libobjc;
|
||||
inherit (darwin.apple_sdk.frameworks) Foundation;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue