direwolf: nixpkgs-fmt
This commit is contained in:
parent
d90e8fdfb7
commit
ba0d5f213b
1 changed files with 19 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue