c7f94ff3ce
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
44 lines
887 B
Nix
44 lines
887 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, cryptography
|
|
, fetchFromGitHub
|
|
, netifaces
|
|
, pyserial
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "rns";
|
|
version = "0.5.7";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "markqvist";
|
|
repo = "Reticulum";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-0WNgJKhxK4WjYQ0n7ofqrRxf4m9uWn2ygcZiv3uhrhM=";
|
|
};
|
|
|
|
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";
|
|
changelog = "https://github.com/markqvist/Reticulum/releases/tag/${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|