direwolf: nixpkgs-fmt
This commit is contained in:
@@ -1,7 +1,15 @@
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, alsa-lib, espeak, gpsd
|
||||
, hamlib, perl, python3, udev }:
|
||||
|
||||
with lib;
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, alsa-lib
|
||||
, gpsd
|
||||
, hamlib
|
||||
, perl
|
||||
, python3
|
||||
, espeak
|
||||
, udev
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "direwolf";
|
||||
@@ -19,8 +27,12 @@ stdenv.mkDerivation rec {
|
||||
strictDeps = true;
|
||||
|
||||
buildInputs = [
|
||||
espeak gpsd hamlib perl python3
|
||||
] ++ (optionals stdenv.isLinux [alsa-lib udev]);
|
||||
espeak
|
||||
gpsd
|
||||
hamlib
|
||||
perl
|
||||
python3
|
||||
] ++ (lib.optionals stdenv.isLinux [ alsa-lib udev ]);
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace conf/CMakeLists.txt \
|
||||
@@ -41,7 +53,7 @@ stdenv.mkDerivation rec {
|
||||
--replace 'GPSD_API_MAJOR_VERSION > 11' 'GPSD_API_MAJOR_VERSION > 14'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "A Soundcard Packet TNC, APRS Digipeater, IGate, APRStt gateway";
|
||||
homepage = "https://github.com/wb2osz/direwolf/";
|
||||
license = licenses.gpl2;
|
||||
|
||||
Reference in New Issue
Block a user