depot/third_party/nixpkgs/pkgs/development/arduino/arduino-mk/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

25 lines
613 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
version = "1.6.0";
pname = "arduino-mk";
src = fetchFromGitHub {
owner = "sudar";
repo = "Arduino-Makefile";
rev = version;
sha256 = "0flpl97d2231gp51n3y4qvf3y1l8xzafi1sgpwc305vwc2h4dl2x";
};
phases = ["installPhase"];
installPhase = "ln -s $src $out";
meta = {
description = "Makefile for Arduino sketches";
homepage = "https://github.com/sudar/Arduino-Makefile";
license = stdenv.lib.licenses.lgpl21;
maintainers = [ stdenv.lib.maintainers.eyjhb ];
platforms = stdenv.lib.platforms.unix;
};
}