summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/rt/rtlamr/package.nix
blob: 31d55264c0d096bb313e18f190a39d10eb961418 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  lib,
  fetchFromGitHub,
  buildGoModule,
}:

buildGoModule {
  pname = "rtlamr";
  version = "0.9.3-unstable-2023-08-13";

  src = fetchFromGitHub {
    owner = "bemasher";
    repo = "rtlamr";
    rev = "dcdddc5a6e7717a038e9346d0adcf9669e4f60b7";
    sha256 = "sha256-r3dMCpNBCQsqSlFYYfOtVMMgPOagWks6PPWOn5PsLZs";
  };

  vendorHash = "sha256-uT6zfsWgIot0EMNqwtwJNFXN/WaAyOGfcYJjuyOXT4g=";

  meta = {
    description = "Rtl-sdr receiver for Itron ERT compatible smart meters";
    longDescription = ''
      An rtl-sdr receiver for Itron ERT compatible smart meters operating
      in the 900MHz ISM band
    '';
    homepage = "https://github.com/bemasher/rtlamr";
    license = lib.licenses.agpl3Only;
    maintainers = with lib.maintainers; [ jmendyk ];
    platforms = lib.platforms.unix;
  };
}