nixpkgs/pkgs/development/libraries/libftdi/default.nix
Bjørn Forsman d67fc9d604 libftdi: bump to version 0.20
Needed for openocd 0.7.0 (added in the next commit).

NOTE: There is also a libftdi 1.0 version, but openocd only needs 0.20
so I didn't bother. (libftdi 1.0 uses CMake build system and has lots of
changes.)
2013-05-10 15:30:11 +02:00

21 lines
501 B
Nix

{stdenv, fetchurl, libusb}:
stdenv.mkDerivation rec {
name = "libftdi-0.20";
src = fetchurl {
url = "http://www.intra2net.com/en/developer/libftdi/download/${name}.tar.gz";
sha256 = "13l39f6k6gff30hsgh0wa2z422g9pyl91rh8a8zz6f34k2sxaxii";
};
buildInputs = [ libusb ];
propagatedBuildInputs = [ libusb ];
meta = {
description = "A library to talk to FTDI chips using libusb";
homepage = http://www.intra2net.com/en/developer/libftdi/;
license = "LGPLv2.1";
};
}