commit 0c0d1daa6b3abaa41531c2553e55b06c04f03aaa parent cb0b373aca494657e1fe9541f29dbd00535d8d6a Author: Nikolay Korotkiy <sikmir@gmail.com> Date: Sun, 17 Oct 2021 22:22:45 +0300 Add smallrx Diffstat:
M | pkgs/default.nix | | | 1 | + |
A | pkgs/radio/smallrx/default.nix | | | 23 | +++++++++++++++++++++++ |
2 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -332,6 +332,7 @@ lib.makeScope newScope ( inherit sigutils suscan suwidgets; }; sigutils = callPackage ./radio/sigutils { }; + smallrx = callPackage ./radio/smallrx { }; suscan = callPackage ./radio/suscan { }; suwidgets = libsForQt5.callPackage ./radio/suwidgets { inherit sigutils; diff --git a/pkgs/radio/smallrx/default.nix b/pkgs/radio/smallrx/default.nix @@ -0,0 +1,23 @@ +{ lib, stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + pname = "smallrx"; + version = "2018-12-18"; + + src = fetchFromGitHub { + owner = "ha7ilm"; + repo = pname; + rev = "e3938a59ffea7aa8e7fa699e471557ed2dfdeed9"; + hash = "sha256-VcTMQAr5617CSPJbktzrKciNiBbveDWjIeE8Gzf9pa8="; + }; + + installPhase = "install -Dm755 rx -t $out/bin"; + + meta = with lib; { + description = "amateur radio receiver in <100 code lines"; + inherit (src.meta) homepage; + license = licenses.agpl3Only; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +}