diff options
author | Andreas Wagner <andreas.wagner@lowfatcomputing.org> | 2015-09-16 10:22:41 -0400 |
---|---|---|
committer | Moritz Ulrich <moritz@tarn-vedra.de> | 2015-09-16 19:14:01 +0200 |
commit | 937741c9f3e5bbfddb751a39a19344995af3629e (patch) | |
tree | 58792e6754208c2b55f66fa7bd5a2d71d0c910cc /pkgs/development | |
parent | f02eed27f9010977f1e161eb46de9d3a96256b13 (diff) | |
download | nixlib-937741c9f3e5bbfddb751a39a19344995af3629e.tar nixlib-937741c9f3e5bbfddb751a39a19344995af3629e.tar.gz nixlib-937741c9f3e5bbfddb751a39a19344995af3629e.tar.bz2 nixlib-937741c9f3e5bbfddb751a39a19344995af3629e.tar.lz nixlib-937741c9f3e5bbfddb751a39a19344995af3629e.tar.xz nixlib-937741c9f3e5bbfddb751a39a19344995af3629e.tar.zst nixlib-937741c9f3e5bbfddb751a39a19344995af3629e.zip |
teensy-loader-cli: consistent naming, version bump
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/tools/misc/teensy-loader-cli/default.nix | 26 | ||||
-rw-r--r-- | pkgs/development/tools/misc/teensy/default.nix | 26 |
2 files changed, 26 insertions, 26 deletions
diff --git a/pkgs/development/tools/misc/teensy-loader-cli/default.nix b/pkgs/development/tools/misc/teensy-loader-cli/default.nix new file mode 100644 index 000000000000..db86f1a56d6e --- /dev/null +++ b/pkgs/development/tools/misc/teensy-loader-cli/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchurl, unzip, libusb, fetchgit }: +let + version = "2.1"; +in +stdenv.mkDerivation { + name = "teensy-loader-cli-${version}"; + src = fetchgit { + url = "git://github.com/PaulStoffregen/teensy_loader_cli.git"; + rev = "001da416bc362ff24485ff97e3a729bd921afe98"; + sha256 = "36aed0a725055e36d71183ff57a023993099fdc380072177cffc7676da3c3966"; + }; + + buildInputs = [ unzip libusb ]; + + installPhase = '' + install -Dm755 teensy_loader_cli $out/bin/teensy-loader-cli + ''; + + meta = with stdenv.lib; { + license = licenses.gpl3; + description = "Firmware uploader for the Teensy microcontroller boards"; + homepage = http://www.pjrc.com/teensy/; + maintainers = with maintainers; [ the-kenny ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/development/tools/misc/teensy/default.nix b/pkgs/development/tools/misc/teensy/default.nix deleted file mode 100644 index 9902cd034539..000000000000 --- a/pkgs/development/tools/misc/teensy/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ stdenv, fetchurl, unzip, libusb }: -let - version = "2.1"; -in -stdenv.mkDerivation { - name = "teensy-loader-${version}"; - src = fetchurl { - url = "http://www.pjrc.com/teensy/teensy_loader_cli.2.1.zip"; - sha256 = "0iidj3q0l2hds1gaadnwgni4qdgk6r0nv101986jxda8cw6h9zfs"; - }; - - buildInputs = [ unzip libusb ]; - - installPhase = '' - mkdir -p $out/bin - cp -v teensy_loader_cli $out/bin/ - ''; - - meta = with stdenv.lib; { - license = licenses.gpl3; - description = "Firmware uploader for the Teensy microcontroller board"; - homepage = http://www.pjrc.com/teensy/; - maintainers = with maintainers; [ the-kenny ]; - platforms = platforms.linux; - }; -} |