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
33
pkgs/development/python-modules/ckcc-protocol/default.nix
Normal file
33
pkgs/development/python-modules/ckcc-protocol/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, click
|
||||
, ecdsa
|
||||
, hidapi
|
||||
, fetchPypi
|
||||
, pyaes
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ckcc-protocol";
|
||||
version = "1.3.2";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-4y5pe0CFD3C1+N0kP/2j9Wser2zkn8Uf4203ci45Rq0=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ click ecdsa hidapi pyaes ];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "ckcc" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Communicate with your Coldcard using Python";
|
||||
homepage = "https://github.com/Coldcard/ckcc-protocol";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.hkjn ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue