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/btchip/default.nix
Normal file
24
pkgs/development/python-modules/btchip/default.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, hidapi, pyscard, ecdsa }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "btchip-python";
|
||||
version = "0.1.32";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "34f5e0c161c08f65dc0d070ba2ff4c315ed21c4b7e0faa32a46862d0dc1b8f55";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ hidapi pyscard ecdsa ];
|
||||
|
||||
# tests requires hardware
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "btchip.btchip" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python communication library for Ledger Hardware Wallet products";
|
||||
homepage = "https://github.com/LedgerHQ/btchip-python";
|
||||
license = licenses.asl20;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue