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
24
pkgs/development/python-modules/bitbox02/default.nix
Normal file
24
pkgs/development/python-modules/bitbox02/default.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, base58, ecdsa, hidapi, noiseprotocol, protobuf, semver, typing-extensions }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bitbox02";
|
||||
version = "6.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-wTateh3dJycFNozLaQbAzXF0avr2ofBdjlqqcOBLr/0=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ base58 ecdsa hidapi noiseprotocol protobuf semver typing-extensions ];
|
||||
|
||||
# does not contain tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "bitbox02" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Firmware code of the BitBox02 hardware wallet";
|
||||
homepage = "https://github.com/digitalbitbox/bitbox02-firmware/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue