uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
34
pkgs/development/python-modules/greatfet/default.nix
Normal file
34
pkgs/development/python-modules/greatfet/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ lib, fetchFromGitHub, buildPythonPackage, isPy3k, future, pyusb, ipython, pygreat }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "GreatFET";
|
||||
version = "2019.5.1.dev0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "greatscottgadgets";
|
||||
repo = "greatfet";
|
||||
rev = "v${version}";
|
||||
sha256 = "054vkx4xkbhxhh5grjbs9kw3pjkv1zapp91ysrqr0c8mg1pc7zxv";
|
||||
};
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
propagatedBuildInputs = [ future pyusb ipython pygreat ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
preBuild = ''
|
||||
cd host
|
||||
echo "$version" > ../VERSION
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Hardware hacking with the greatfet";
|
||||
homepage = "https://greatscottgadgets.com/greatfet";
|
||||
license = lib.licenses.bsd3;
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = with lib.maintainers; [ mog ];
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue