2009-09-24 21:28:27 +00:00
|
|
|
{stdenv, fetchurl, libusb}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2010-04-17 10:15:47 +00:00
|
|
|
name = "libftdi-0.17";
|
2009-09-24 21:28:27 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.intra2net.com/en/developer/libftdi/download/${name}.tar.gz";
|
2010-04-17 10:15:47 +00:00
|
|
|
sha256 = "1w5bzq4h4v9qah9dx0wbz6w7ircr91ack0sh6wqs8s5b4m8jgh6m";
|
2009-09-24 21:28:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|