mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-09 15:23:16 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
35 lines
780 B
Nix
35 lines
780 B
Nix
{ lib
|
|
, python3
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "loramon";
|
|
version = "0.9.7";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "markqvist";
|
|
repo = "LoRaMon";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-94tXhuAoaS1y/zGz63PPqOayRylGK0Ei2a6H4/BCB30";
|
|
};
|
|
|
|
nativeBuildInputs = with python3.pkgs; [
|
|
setuptools
|
|
];
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
pyserial
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "LoRa packet sniffer for RNode hardware";
|
|
mainProgram = "loramon";
|
|
homepage = "https://github.com/markqvist/LoRaMon";
|
|
changelog = "https://github.com/markqvist/LoRaMon/releases/tag/${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ erethon ];
|
|
};
|
|
}
|