greatfet: init at 2019.05.01.dev0

This commit is contained in:
Matthew O'Gorman
2019-07-06 11:41:07 -04:00
parent da20f61444
commit 8dc44053d9
4 changed files with 97 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k, pyusb, pyserial }:
buildPythonPackage rec {
pname = "facedancer";
version = "2019.3.2";
src = fetchPypi {
inherit pname version;
sha256 = "1zhwnlfksblgp54njd9gjsrr5ibg12cx1x9xxcqkcdfhn3m2kmm0";
};
disabled = !isPy3k;
propagatedBuildInputs = [ pyusb pyserial ];
preBuild = ''
echo "$version" > VERSION
'';
meta = with lib; {
description = "library for emulating usb devices";
homepage = https://greatscottgadgets.com/greatfet/;
license = licenses.bsd3;
maintainers = with maintainers; [ mog ];
};
}