2009-09-24 22:28:27 +01:00
|
|
|
{stdenv, fetchurl, libusb}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-05-10 12:34:59 +01:00
|
|
|
name = "libftdi-0.20";
|
2009-09-24 22:28:27 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.intra2net.com/en/developer/libftdi/download/${name}.tar.gz";
|
2013-05-10 12:34:59 +01:00
|
|
|
sha256 = "13l39f6k6gff30hsgh0wa2z422g9pyl91rh8a8zz6f34k2sxaxii";
|
2009-09-24 22:28:27 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libusb ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ libusb ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A library to talk to FTDI chips using libusb";
|
|
|
|
homepage = http://www.intra2net.com/en/developer/libftdi/;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.lgpl21;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2009-09-24 22:28:27 +01:00
|
|
|
};
|
|
|
|
}
|