From f06889aa3b12b618fadb3e312872068e61b72b0f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 9 Mar 2005 15:40:16 +0000 Subject: [PATCH] * Gecko#. svn path=/nixpkgs/trunk/; revision=2349 --- .../libraries/gecko-sharp/builder.sh | 11 +++++++++++ .../libraries/gecko-sharp/default.nix | 17 +++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/development/libraries/gecko-sharp/builder.sh create mode 100644 pkgs/development/libraries/gecko-sharp/default.nix diff --git a/pkgs/development/libraries/gecko-sharp/builder.sh b/pkgs/development/libraries/gecko-sharp/builder.sh new file mode 100644 index 000000000000..f6911c63ac92 --- /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 000000000000..2d9fb78caf59 --- /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; +}