2018-07-21 02:44:44 +02:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, mono, makeWrapper, nant
|
|
|
|
, shared-mime-info, gtksourceview, gtk2 }:
|
2016-01-29 21:32:48 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
release = "alpha";
|
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
name = "boo-${version}";
|
|
|
|
version = "2013-10-21";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "boo-lang";
|
|
|
|
repo = "boo";
|
|
|
|
|
|
|
|
rev = "${release}";
|
|
|
|
sha256 = "174abdwfpq8i3ijx6bwqll16lx7xwici374rgsbymyk8g8mla094";
|
|
|
|
};
|
|
|
|
|
2017-09-14 21:24:37 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2016-01-29 21:32:48 +01:00
|
|
|
buildInputs = [
|
2018-02-25 03:23:58 +01:00
|
|
|
mono makeWrapper nant shared-mime-info gtksourceview
|
2016-09-11 23:24:51 +02:00
|
|
|
gtk2
|
2016-01-29 21:32:48 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
patches = [ ./config.patch ];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
sed -e 's|\$out|'$out'|' -i default.build
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
nant -t:mono-4.5
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
nant install
|
|
|
|
cp $out/lib/mono/boo/*.dll $out/lib/boo/
|
|
|
|
'';
|
|
|
|
|
|
|
|
dontStrip = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "The Boo Programming Language";
|
|
|
|
platforms = platforms.linux;
|
2016-06-30 22:06:27 +02:00
|
|
|
broken = true;
|
2016-01-29 21:32:48 +01:00
|
|
|
};
|
|
|
|
}
|