diff options
author | Aaron Lindsay <aerialx@users.noreply.github.com> | 2019-03-26 11:19:09 -0700 |
---|---|---|
committer | Aaron Lindsay <aerialx@users.noreply.github.com> | 2019-03-26 11:21:02 -0700 |
commit | bc2c8db7f834a07a1b7b619fb0346cdca3fbe9ec (patch) | |
tree | 88cbf065b3862a73d0d040ad5cdd34a81270976a /pkgs/development/misc/msp430 | |
parent | e3f6b083078c6948be9dedfca735d9fae30337c2 (diff) | |
download | nixlib-bc2c8db7f834a07a1b7b619fb0346cdca3fbe9ec.tar nixlib-bc2c8db7f834a07a1b7b619fb0346cdca3fbe9ec.tar.gz nixlib-bc2c8db7f834a07a1b7b619fb0346cdca3fbe9ec.tar.bz2 nixlib-bc2c8db7f834a07a1b7b619fb0346cdca3fbe9ec.tar.lz nixlib-bc2c8db7f834a07a1b7b619fb0346cdca3fbe9ec.tar.xz nixlib-bc2c8db7f834a07a1b7b619fb0346cdca3fbe9ec.tar.zst nixlib-bc2c8db7f834a07a1b7b619fb0346cdca3fbe9ec.zip |
mspdebug: init at 0.25
Diffstat (limited to 'pkgs/development/misc/msp430')
-rw-r--r-- | pkgs/development/misc/msp430/mspdebug.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/misc/msp430/mspdebug.nix b/pkgs/development/misc/msp430/mspdebug.nix new file mode 100644 index 000000000000..a39dd4cfc046 --- /dev/null +++ b/pkgs/development/misc/msp430/mspdebug.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchFromGitHub, libusb, readline ? null }: + +let + version = "0.25"; +in stdenv.mkDerivation { + name = "mspdebug-${version}"; + src = fetchFromGitHub { + owner = "dlbeer"; + repo = "mspdebug"; + rev = "v${version}"; + sha256 = "0prgwb5vx6fd4bj12ss1bbb6axj2kjyriyjxqrzd58s5jyyy8d3c"; + }; + + buildInputs = [ readline libusb ]; + makeFlags = [ + "PREFIX=$(out)" + "INSTALL=install" + ] ++ (if readline == null then ["WITHOUT_READLINE=1"] else []); + + meta = with stdenv.lib; { + description = "A free programmer, debugger, and gdb proxy for MSP430 MCUs"; + homepage = https://dlbeer.co.nz/mspdebug/; + license = licenses.gpl2; + platforms = platforms.all; + maintainers = with maintainers; [ aerialx ]; + }; +} |