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/consonance/default.nix
Normal file
51
pkgs/development/python-modules/consonance/default.nix
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, dissononce
|
||||
, python-axolotl-curve25519
|
||||
, transitions
|
||||
, protobuf
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "consonance";
|
||||
version = "0.1.5";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tgalal";
|
||||
repo = "consonance";
|
||||
rev = version;
|
||||
hash = "sha256-BhgxLxjKZ4dSL7DqkaoS+wBPCd1SYZomRKrtDLdGmYQ=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dissononce
|
||||
python-axolotl-curve25519
|
||||
transitions
|
||||
protobuf
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"tests/test_handshakes_offline.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"consonance"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "WhatsApp's handshake implementation using Noise Protocol";
|
||||
homepage = "https://github.com/tgalal/consonance";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue