nixpkgs/pkgs/development/python-modules/rns/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

44 lines
805 B
Nix
Raw Normal View History

2022-04-09 13:54:26 +00:00
{ lib
, buildPythonPackage
, cryptography
, fetchFromGitHub
, netifaces
, pyserial
, pythonOlder
}:
buildPythonPackage rec {
pname = "rns";
2022-11-03 20:24:42 +00:00
version = "0.4.0";
2022-04-09 13:54:26 +00:00
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "markqvist";
repo = "Reticulum";
2022-05-18 00:48:30 +00:00
rev = "refs/tags/${version}";
2022-11-03 20:24:42 +00:00
hash = "sha256-tWqXhVpg6hxMrbesLRXjbhtEXOOrGh787+z0tliEmNE=";
2022-04-09 13:54:26 +00:00
};
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 ];
};
}