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
31
pkgs/development/python-modules/nkdfu/default.nix
Normal file
31
pkgs/development/python-modules/nkdfu/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, fire, tqdm, intelhex, libusb1 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nkdfu";
|
||||
version = "0.1";
|
||||
format = "flit";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-Y8GonfCBi3BNMhZ99SN6/SDSa0+dbfPIMPoVzALwH5A=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
fire
|
||||
tqdm
|
||||
intelhex
|
||||
libusb1
|
||||
];
|
||||
|
||||
# no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "nkdfu" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python tool for Nitrokeys' firmware update";
|
||||
homepage = "https://github.com/Nitrokey/nkdfu";
|
||||
license = with licenses; [ gpl2Only ];
|
||||
maintainers = with maintainers; [ frogamic ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue