depot/third_party/nixpkgs/pkgs/development/python-modules/nomadnet/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

49 lines
933 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
lxmf,
pythonOlder,
qrcode,
rns,
setuptools,
urwid,
}:
buildPythonPackage rec {
pname = "nomadnet";
version = "0.5.2";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "markqvist";
repo = "NomadNet";
rev = "refs/tags/${version}";
hash = "sha256-4CT5WBpWoK7c8bS7hw0F5mL8MDg8ud+f3SITC5lEVFM=";
};
build-system = [ setuptools ];
dependencies = [
rns
lxmf
urwid
qrcode
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "nomadnet" ];
meta = with lib; {
description = "Off-grid, resilient mesh communication";
homepage = "https://github.com/markqvist/NomadNet";
changelog = "https://github.com/markqvist/NomadNet/releases/tag/${version}";
license = licenses.gpl3Only;
maintainers = with maintainers; [ fab ];
mainProgram = "nomadnet";
};
}