3
0
Fork 0
forked from mirrors/nixpkgs

mono40: refactor to generic 40

This commit is contained in:
Rahul Gopinath 2016-07-03 12:50:44 -07:00 committed by Bjørn Forsman
parent a605b54b38
commit d3fedc6a9d
3 changed files with 10 additions and 4 deletions

View file

@ -0,0 +1,6 @@
{ stdenv, callPackage, Foundation, libobjc }:
callPackage ./generic.nix (rec {
inherit Foundation libobjc;
version = "4.0.4.1";
sha256 = "1ydw9l89apc9p7xr5mdzy0h97g2q6v243g82mxswfc2rrqhfs4gd";
})

View file

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

View file

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