at 24.05-pre 887 B view raw
1{ lib 2, buildPythonPackage 3, cryptography 4, fetchFromGitHub 5, netifaces 6, pyserial 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "rns"; 12 version = "0.6.8"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "markqvist"; 19 repo = "Reticulum"; 20 rev = "refs/tags/${version}"; 21 hash = "sha256-MDD0Vs5XIWqxKHbrAa0vXJRd8uYZDlr//hP1NBf4b7U="; 22 }; 23 24 propagatedBuildInputs = [ 25 cryptography 26 netifaces 27 pyserial 28 ]; 29 30 # Module has no tests 31 doCheck = false; 32 33 pythonImportsCheck = [ 34 "RNS" 35 ]; 36 37 meta = with lib; { 38 description = "Cryptography-based networking stack for wide-area networks"; 39 homepage = "https://github.com/markqvist/Reticulum"; 40 changelog = "https://github.com/markqvist/Reticulum/releases/tag/${version}"; 41 license = licenses.mit; 42 maintainers = with maintainers; [ fab ]; 43 }; 44}