22017988c6
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
43 lines
790 B
Nix
43 lines
790 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, cryptography
|
|
, fetchFromGitHub
|
|
, netifaces
|
|
, pyserial
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "rns";
|
|
version = "0.3.5";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "markqvist";
|
|
repo = "Reticulum";
|
|
rev = version;
|
|
hash = "sha256-LzrI5pJ3mLaxikqS1eWFvdgneoCnsRTYWbshVX7U8lg=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
cryptography
|
|
netifaces
|
|
pyserial
|
|
];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"RNS"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Cryptography-based networking stack for wide-area networks";
|
|
homepage = "https://github.com/markqvist/Reticulum";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|