depot/third_party/nixpkgs/pkgs/development/python-modules/rns/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

46 lines
924 B
Nix

{
lib,
buildPythonPackage,
cryptography,
fetchFromGitHub,
netifaces,
pyserial,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "rns";
version = "0.7.5";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "markqvist";
repo = "Reticulum";
rev = "refs/tags/${version}";
hash = "sha256-TWaDRJQ695kjoKjWQeAO+uxSZGgQiHoWYIsS+XnYVOQ=";
};
build-system = [ setuptools ];
dependencies = [
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 ];
};
}