3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #30559 from earldouglas/dump1090

dump1090: init at bff92c4
This commit is contained in:
Orivej Desh 2017-11-05 18:05:19 +00:00 committed by GitHub
commit 3350cd141a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ stdenv, fetchFromGitHub, pkgconfig, libusb, rtl-sdr }:
stdenv.mkDerivation rec {
name = "dump1090-${version}";
version = "2014-10-31";
src = fetchFromGitHub {
owner = "MalcolmRobb";
repo = "dump1090";
rev = "bff92c4ad772a0a8d433f788d39dae97e00e4dbe";
sha256 = "06aaj9gpz5v4qzvnp8xf18wdfclp0jvn3hflls79ly46gz2dh9hy";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libusb rtl-sdr ];
makeFlags = [ "PREFIX=$out" ];
installPhase = ''
mkdir -p $out/bin $out/share
cp -v dump1090 $out/bin/dump1090
cp -vr public_html $out/share/dump1090
'';
meta = with stdenv.lib; {
description = "A simple Mode S decoder for RTLSDR devices";
homepage = https://github.com/MalcolmRobb/dump1090;
license = licenses.bsd3;
platforms = platforms.linux;
maintainers = with maintainers; [ earldouglas ];
};
}

View file

@ -122,6 +122,8 @@ with pkgs;
dispad = callPackage ../tools/X11/dispad { };
dump1090 = callPackage ../applications/misc/dump1090 { };
vsenv = callPackage ../build-support/vsenv {
vs = vs90wrapper;
};