diff --git a/pkgs/development/arduino/arduino-mk/default.nix b/pkgs/development/arduino/arduino-mk/default.nix new file mode 100644 index 000000000000..9cefd1dfe54f --- /dev/null +++ b/pkgs/development/arduino/arduino-mk/default.nix @@ -0,0 +1,25 @@ +{ stdenv, lib, fetchFromGitHub }: + +stdenv.mkDerivation rec { + version = "1.6.0"; + name = "arduino-mk-${version}"; + + 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; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0de7bc686c32..07e3d1b2241b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -507,6 +507,8 @@ in withGui = false; }; + arduino-mk = callPackage ../development/arduino/arduino-mk {}; + apitrace = libsForQt5.callPackage ../applications/graphics/apitrace {}; arguments = callPackage ../development/libraries/arguments { };