My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/rns/default.nix

43 lines
805 B

{ lib
, buildPythonPackage
, cryptography
, fetchFromGitHub
, netifaces
, pyserial
, pythonOlder
}:
buildPythonPackage rec {
pname = "rns";
version = "0.3.6";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "markqvist";
repo = "Reticulum";
rev = "refs/tags/${version}";
hash = "sha256-awVUE5sViaGBne82oAxGeabZSnLn/dzBQTwP7xRdYKE=";
};
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 ];
};
}