2023-09-12 08:44:05 -06:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, ...
|
2023-08-09 12:46:14 -06:00
|
|
|
}:
|
|
|
|
with lib;
|
2023-09-12 08:44:05 -06:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "rtlamr";
|
|
|
|
version = "0.9.3";
|
2023-08-09 12:46:14 -06:00
|
|
|
|
2023-09-12 08:44:05 -06:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bemasher";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-0LufLU/wTmCRqTnQBNJg5UnDv0u1Thec5FSWATWqZsQ=";
|
|
|
|
};
|
2023-08-09 12:46:14 -06:00
|
|
|
|
2023-09-12 08:44:05 -06:00
|
|
|
vendorHash = "sha256-uT6zfsWgIot0EMNqwtwJNFXN/WaAyOGfcYJjuyOXT4g=";
|
2023-08-09 12:46:14 -06:00
|
|
|
|
2023-09-12 08:44:05 -06:00
|
|
|
meta = {
|
|
|
|
description = "rtl-sdr receiver for Itron ETR meters";
|
|
|
|
homepage = "https://github.com/bemasher/rtlamr";
|
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = with maintainers; [ qbit ];
|
|
|
|
};
|
|
|
|
}
|