3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/compilers/microscheme/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

31 lines
833 B
Nix

{ stdenv, fetchzip, vim, makeWrapper }:
stdenv.mkDerivation rec {
pname = "microscheme";
version = "0.9.3";
src = fetchzip {
name = "${pname}-${version}-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 ];
};
}