2016-01-22 15:22:49 +03:00
|
|
|
{ stdenv, fetchFromGitHub, unzip, alsaLib }:
|
2015-07-27 17:52:50 +03:00
|
|
|
let
|
|
|
|
version = "1.2";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "direwolf-${version}";
|
|
|
|
inherit version;
|
|
|
|
|
2016-01-22 15:22:49 +03:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wb2osz";
|
|
|
|
repo = "direwolf";
|
|
|
|
rev = "8b81a32";
|
|
|
|
sha256 = "0r4fgdxghh292bzhqshr7zl5cg2lfsvlgmy4d5vqcli7x6qa1gcs";
|
2015-07-27 17:52:50 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
unzip alsaLib
|
|
|
|
];
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
substituteInPlace Makefile.linux \
|
|
|
|
--replace "/usr/local" "$out" \
|
|
|
|
--replace "/usr/share" "$out/share"
|
|
|
|
'';
|
|
|
|
|
|
|
|
preInstall = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2016-02-27 20:24:00 +03:00
|
|
|
description = "A Soundcard Packet TNC, APRS Digipeater, IGate, APRStt gateway";
|
2015-07-27 17:52:50 +03:00
|
|
|
# On the page: This page will be disappearing on October 8, 2015.
|
|
|
|
homepage = https://home.comcast.net/~wb2osz/site/;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.the-kenny ];
|
|
|
|
};
|
|
|
|
}
|