mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
ce182fda38
Diff: https://github.com/markqvist/NomadNet/compare/refs/tags/0.3.3...0.3.5 Changelog: https://github.com/markqvist/NomadNet/releases/tag/0.3.5
47 lines
865 B
Nix
47 lines
865 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, rns
|
|
, fetchFromGitHub
|
|
, lxmf
|
|
, urwid
|
|
, pythonOlder
|
|
, qrcode
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nomadnet";
|
|
version = "0.3.5";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "markqvist";
|
|
repo = "NomadNet";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-SPQ/3ntdD+EBW2YZJKfg2lornlg1ktnvTd1PNAqNSIg=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
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 ];
|
|
};
|
|
}
|