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
51
pkgs/development/python-modules/alarmdecoder/default.nix
Normal file
51
pkgs/development/python-modules/alarmdecoder/default.nix
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, mock
|
||||
, pyftdi
|
||||
, pyopenssl
|
||||
, pyserial
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pyusb
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "alarmdecoder";
|
||||
version = "1.13.11";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nutechsoftware";
|
||||
repo = "alarmdecoder";
|
||||
rev = version;
|
||||
sha256 = "sha256-q2s+wngDKtWm5mxGHNAc63Ed6tiQD9gLHVoQZNWFB0w=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyftdi
|
||||
pyopenssl
|
||||
pyserial
|
||||
pyusb
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Socket issue, https://github.com/nutechsoftware/alarmdecoder/issues/45
|
||||
"test_ssl"
|
||||
"test_ssl_exception"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "alarmdecoder" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python interface for the Alarm Decoder (AD2USB, AD2SERIAL and AD2PI) devices";
|
||||
homepage = "https://github.com/nutechsoftware/alarmdecoder";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue