depot/third_party/nixpkgs/pkgs/development/python-modules/nomadnet/default.nix
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

43 lines
749 B
Nix

{ lib
, buildPythonPackage
, rns
, fetchFromGitHub
, lxmf
, urwid
, pythonOlder
}:
buildPythonPackage rec {
pname = "nomadnet";
version = "0.2.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "markqvist";
repo = "NomadNet";
rev = version;
hash = "sha256-VNfsuCN251C+6uvywosHmuz76f263wCeIisQldvFRVg=";
};
propagatedBuildInputs = [
rns
lxmf
urwid
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"nomadnet"
];
meta = with lib; {
description = "Off-grid, resilient mesh communication";
homepage = "https://github.com/markqvist/NomadNet";
license = licenses.gpl3Only;
maintainers = with maintainers; [ fab ];
};
}