diff options
Diffstat (limited to 'nixpkgs/pkgs/development/compilers/microscheme/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/compilers/microscheme/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/compilers/microscheme/default.nix b/nixpkgs/pkgs/development/compilers/microscheme/default.nix new file mode 100644 index 000000000000..f15a76243277 --- /dev/null +++ b/nixpkgs/pkgs/development/compilers/microscheme/default.nix @@ -0,0 +1,30 @@ +{ stdenv, fetchzip, vim, makeWrapper }: + +stdenv.mkDerivation rec { + name = "microscheme-${version}"; + version = "0.9.3"; + + src = fetchzip { + name = "${name}-src"; + url = "https://github.com/ryansuchocki/microscheme/archive/v${version}.tar.gz"; + sha256 = "1r3ng4pw1s9yy1h5rafra1rq19d3vmb5pzbpcz1913wz22qdd976"; + }; + + buildInputs = [ makeWrapper vim ]; + + installPhase = '' + make install PREFIX=$out + ''; + + 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 ]; + }; +} |