1{ stdenv, fetchzip, vim, makeWrapper }:
2
3stdenv.mkDerivation rec {
4 pname = "microscheme";
5 version = "0.9.3";
6
7 src = fetchzip {
8 name = "${pname}-${version}-src";
9 url = "https://github.com/ryansuchocki/microscheme/archive/v${version}.tar.gz";
10 sha256 = "1r3ng4pw1s9yy1h5rafra1rq19d3vmb5pzbpcz1913wz22qdd976";
11 };
12
13 buildInputs = [ makeWrapper vim ];
14
15 installPhase = ''
16 make install PREFIX=$out
17 '';
18
19 meta = with stdenv.lib; {
20 homepage = "http://microscheme.org";
21 description = "A Scheme subset for Atmel microcontrollers";
22 longDescription = ''
23 Microscheme is a Scheme subset/variant designed for Atmel
24 microcontrollers, especially as found on Arduino boards.
25 '';
26 license = licenses.mit;
27 platforms = platforms.linux;
28 maintainers = with maintainers; [ ardumont ];
29 };
30}