mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
aa4707fc34
These packages should in theory work with our GCC toolchains, but there are some definite breakages that need to be tracked down. Comparing output of these to old gcc-arm-embedded is important. Affected packages include: - axolooti - avrdudess - opentx - microscheme - betaflight - inav - blackmagic - simavr - gnuk
31 lines
831 B
Nix
31 lines
831 B
Nix
{ 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 ];
|
|
};
|
|
}
|