Unverified Commit c8daa7ea authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

rtlamr: init at 0.9.3-unstable-2023-08-13 (#340833)

parents 0798cdca e49b60f6
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -9936,6 +9936,12 @@
      { fingerprint = "816D 23F5 E672 EC58 7674  4A73 197F 9A63 2D13 9E30"; }
    ];
  };
  jmendyk = {
    email = "jakub@ndyk.me";
    github = "JMendyk";
    githubId = 9089004;
    name = "Jakub Mendyk";
  };
  jmettes = {
    email = "jonathan@jmettes.com";
    github = "jmettes";
+31 −0
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  buildGoModule,
}:

buildGoModule rec {
  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;
  };
}