2018-10-12 21:21:26 +01:00
|
|
|
{ stdenv, fetchzip, vim, makeWrapper }:
|
2015-02-14 23:32:34 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "microscheme";
|
2016-06-20 15:29:23 +01:00
|
|
|
version = "0.9.3";
|
2015-02-14 23:32:34 +00:00
|
|
|
|
2015-02-23 08:11:08 +00:00
|
|
|
src = fetchzip {
|
2019-08-15 13:41:18 +01:00
|
|
|
name = "${pname}-${version}-src";
|
2015-02-23 08:11:08 +00:00
|
|
|
url = "https://github.com/ryansuchocki/microscheme/archive/v${version}.tar.gz";
|
2016-06-20 15:29:23 +01:00
|
|
|
sha256 = "1r3ng4pw1s9yy1h5rafra1rq19d3vmb5pzbpcz1913wz22qdd976";
|
2015-02-14 23:32:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ makeWrapper vim ];
|
|
|
|
|
|
|
|
installPhase = ''
|
2015-02-23 08:11:08 +00:00
|
|
|
make install PREFIX=$out
|
2015-02-14 23:32:34 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://microscheme.org;
|
|
|
|
description = "A Scheme subset for Atmel microcontrollers";
|
|
|
|
longDescription = ''
|
|
|
|
Microscheme is a Scheme subset/variant designed for Atmel
|
|
|
|
microcontrollers, especially as found on Arduino boards.
|
|
|
|
'';
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ ardumont ];
|
|
|
|
};
|
|
|
|
}
|