openwebrx: init at 1.1.0

Astro 5ab365c2 a3b50485

+97
+92
pkgs/applications/radio/openwebrx/default.nix
···
··· 1 + { stdenv, lib, buildPythonPackage, buildPythonApplication, fetchFromGitHub 2 + , pkg-config, cmake, setuptools 3 + , rtl-sdr, soapysdr-with-plugins, csdr, direwolf 4 + }: 5 + 6 + let 7 + 8 + js8py = buildPythonPackage rec { 9 + pname = "js8py"; 10 + version = "0.1.1"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "jketterl"; 14 + repo = pname; 15 + rev = version; 16 + sha256 = "1j80zclg1cl5clqd00qqa16prz7cyc32bvxqz2mh540cirygq24w"; 17 + }; 18 + 19 + pythonImportsCheck = [ "js8py" "test" ]; 20 + 21 + meta = with lib; { 22 + homepage = "https://github.com/jketterl/js8py"; 23 + description = "A library to decode the output of the js8 binary of JS8Call"; 24 + license = licenses.gpl3Only; 25 + maintainers = with maintainers; [ astro ]; 26 + }; 27 + }; 28 + 29 + owrx_connector = stdenv.mkDerivation rec { 30 + pname = "owrx_connector"; 31 + version = "0.5.0"; 32 + 33 + src = fetchFromGitHub { 34 + owner = "jketterl"; 35 + repo = pname; 36 + rev = version; 37 + sha256 = "0gz4nf2frrkx1mpjfjpz2j919fkc99g5lxd8lhva3lgqyisvf4yj"; 38 + }; 39 + 40 + nativeBuildInputs = [ 41 + cmake 42 + pkg-config 43 + ]; 44 + 45 + buildInputs = [ 46 + rtl-sdr 47 + soapysdr-with-plugins 48 + ]; 49 + 50 + meta = with lib; { 51 + homepage = "https://github.com/jketterl/owrx_connector"; 52 + description = "A set of connectors that are used by OpenWebRX to interface with SDR hardware"; 53 + license = licenses.gpl3Only; 54 + platforms = platforms.unix; 55 + maintainers = with maintainers; [ astro ]; 56 + }; 57 + }; 58 + 59 + in 60 + buildPythonApplication rec { 61 + pname = "openwebrx"; 62 + version = "1.1.0"; 63 + 64 + src = fetchFromGitHub { 65 + owner = "jketterl"; 66 + repo = pname; 67 + rev = version; 68 + sha256 = "0maxs07yx235xknvkbmhi2zds3vfkd66l6wz6kspz3jzl4c0v1f9"; 69 + }; 70 + 71 + propagatedBuildInputs = [ 72 + setuptools 73 + csdr 74 + js8py 75 + soapysdr-with-plugins 76 + owrx_connector 77 + direwolf 78 + ]; 79 + 80 + pythonImportsCheck = [ "csdr" "owrx" "test" ]; 81 + 82 + passthru = { 83 + inherit js8py owrx_connector; 84 + }; 85 + 86 + meta = with lib; { 87 + homepage = "https://github.com/jketterl/openwebrx"; 88 + description = "A simple DSP library and command-line tool for Software Defined Radio"; 89 + license = licenses.gpl3Only; 90 + maintainers = with maintainers; [ astro ]; 91 + }; 92 + }
+5
pkgs/top-level/all-packages.nix
··· 18895 18896 openrct2 = callPackage ../games/openrct2 { }; 18897 18898 optparse-bash = callPackage ../development/libraries/optparse-bash { }; 18899 18900 orcania = callPackage ../development/libraries/orcania { };
··· 18895 18896 openrct2 = callPackage ../games/openrct2 { }; 18897 18898 + openwebrx = callPackage ../applications/radio/openwebrx { 18899 + inherit (python3Packages) 18900 + buildPythonPackage buildPythonApplication setuptools; 18901 + }; 18902 + 18903 optparse-bash = callPackage ../development/libraries/optparse-bash { }; 18904 18905 orcania = callPackage ../development/libraries/orcania { };