From ba0e5d7be182f1ba32004d4de373daa7f40f1628 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Thu, 6 Nov 2014 00:32:05 +0000 Subject: [PATCH] Adds monodevelop 5.1 --- .../editors/monodevelop/default.nix | 47 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 49 insertions(+) create mode 100644 pkgs/applications/editors/monodevelop/default.nix diff --git a/pkgs/applications/editors/monodevelop/default.nix b/pkgs/applications/editors/monodevelop/default.nix new file mode 100644 index 000000000000..737576a1da0d --- /dev/null +++ b/pkgs/applications/editors/monodevelop/default.nix @@ -0,0 +1,47 @@ +{stdenv, fetchgit +, autoconf, automake, pkgconfig, shared_mime_info, intltool +, glib, mono, gtk-sharp, gnome-sharp +}: + +stdenv.mkDerivation rec { + version = "5.1.4.0"; + revision = "7d45bbe2ee22625f125d0c52548524f02d005cca"; + name = "monodevelop-${version}"; + src = fetchgit { + url = https://github.com/mono/monodevelop.git; + rev = revision; + sha256 = "0qy12zdvb0jiic3pq1w9mcsz2wwxrn0m92abd184q06yg5m48g1b"; + }; + + buildInputs = [ + autoconf automake pkgconfig shared_mime_info intltool + mono gtk-sharp gnome-sharp + ]; + + preConfigure = "patchShebangs ./configure"; + preBuild = '' + cat > ./main/buildinfo < export MONO_GAC_PREFIX=${gtk-sharp}:\$MONO_GAC_PREFIX + > export PATH=${mono}/bin:\$PATH + > export LD_LIBRARY_PATH=${glib}/lib:${gnome-sharp}/lib:${gtk-sharp}/lib:${gtk-sharp.gtk}/lib:\$LD_LIBRARY_PATH + > + EOF + done + ''; + + dontStrip = true; + + meta = with stdenv.lib; { + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7b87003869f3..6d0c452803d0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10480,6 +10480,8 @@ let monkeysAudio = callPackage ../applications/audio/monkeys-audio { }; + monodevelop = callPackage ../applications/editors/monodevelop {}; + monotone = callPackage ../applications/version-management/monotone { lua = lua5; };