diff --git a/pkgs/development/libraries/gecko-sharp/builder.sh b/pkgs/development/libraries/gecko-sharp/builder.sh new file mode 100644 index 00000000000..f6911c63ac9 --- /dev/null +++ b/pkgs/development/libraries/gecko-sharp/builder.sh @@ -0,0 +1,11 @@ +. $stdenv/setup + +genericBuild + +# !!! hack +export ALL_INPUTS="$out $pkgs" + +find $out -name "*.dll.config" | while read configFile; do + echo "modifying config file $configFile" + $monoDLLFixer "$configFile" +done diff --git a/pkgs/development/libraries/gecko-sharp/default.nix b/pkgs/development/libraries/gecko-sharp/default.nix new file mode 100644 index 00000000000..2d9fb78caf5 --- /dev/null +++ b/pkgs/development/libraries/gecko-sharp/default.nix @@ -0,0 +1,17 @@ +{stdenv, fetchurl, pkgconfig, mono, gtksharp, gtk, monoDLLFixer}: + +stdenv.mkDerivation { + name = "gecko-sharp-0.5"; + + builder = ./builder.sh; + src = fetchurl { + url = http://www.go-mono.com/archive/1.0/gecko-sharp-0.5.tar.gz; + md5 = "71e75186b2ee5c644d5dd1560ce27357"; + }; + + buildInputs = [ + pkgconfig mono gtksharp gtk + ]; + + inherit monoDLLFixer; +}