mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 00:33:10 +00:00
Merge pull request #168001 from fabaff/rns
python3Packages.rns: init at 0.3.4, python3Packages.nomadnet: init at 0.1.7, python3Packages.lxmf: init at 0.1.4
This commit is contained in:
commit
2f336f4efd
39
pkgs/development/python-modules/lxmf/default.nix
Normal file
39
pkgs/development/python-modules/lxmf/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, rns
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lxmf";
|
||||
version = "0.1.4";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "markqvist";
|
||||
repo = "lxmf";
|
||||
rev = version;
|
||||
hash = "sha256-kWawKlEAnn/uNjM2TT2aVW2V4M0+S/1Ysrw/muJhC0s=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
rns
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"LXMF"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Lightweight Extensible Message Format for Reticulum";
|
||||
homepage = "https://github.com/markqvist/lxmf";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
43
pkgs/development/python-modules/nomadnet/default.nix
Normal file
43
pkgs/development/python-modules/nomadnet/default.nix
Normal file
@ -0,0 +1,43 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, rns
|
||||
, fetchFromGitHub
|
||||
, lxmf
|
||||
, urwid
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nomadnet";
|
||||
version = "0.1.7";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "markqvist";
|
||||
repo = "NomadNet";
|
||||
rev = version;
|
||||
hash = "sha256-WJpcV6+cnK1525lbYvkWqrGasioph72nuoNV4oWxVK0=";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
43
pkgs/development/python-modules/rns/default.nix
Normal file
43
pkgs/development/python-modules/rns/default.nix
Normal file
@ -0,0 +1,43 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, cryptography
|
||||
, fetchFromGitHub
|
||||
, netifaces
|
||||
, pyserial
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rns";
|
||||
version = "0.3.4";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "markqvist";
|
||||
repo = "Reticulum";
|
||||
rev = version;
|
||||
hash = "sha256-fpXbp0Tj22flco9Rg4JTWZes6oxY7FhvYD76jA3yVuE=";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -4903,6 +4903,8 @@ in {
|
||||
|
||||
lupupy = callPackage ../development/python-modules/lupupy { };
|
||||
|
||||
lxmf= callPackage ../development/python-modules/lxmf { };
|
||||
|
||||
lxml = callPackage ../development/python-modules/lxml {
|
||||
inherit (pkgs) libxml2 libxslt zlib;
|
||||
};
|
||||
@ -5422,6 +5424,8 @@ in {
|
||||
|
||||
nanoleaf = callPackage ../development/python-modules/nanoleaf { };
|
||||
|
||||
nomadnet = callPackage ../development/python-modules/nomadnet { };
|
||||
|
||||
nanomsg-python = callPackage ../development/python-modules/nanomsg-python {
|
||||
inherit (pkgs) nanomsg;
|
||||
};
|
||||
@ -8894,6 +8898,8 @@ in {
|
||||
|
||||
rnginline = callPackage ../development/python-modules/rnginline { };
|
||||
|
||||
rns = callPackage ../development/python-modules/rns { };
|
||||
|
||||
robomachine = callPackage ../development/python-modules/robomachine { };
|
||||
|
||||
robot-detection = callPackage ../development/python-modules/robot-detection { };
|
||||
|
Loading…
Reference in New Issue
Block a user