depot/third_party/nixpkgs/pkgs/applications/radio/rtl-ais/default.nix
Default email 8a45d4525b Project import generated by Copybara.
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
2022-03-30 11:31:56 +02:00

24 lines
692 B
Nix

{ lib, stdenv, fetchFromGitHub, pkg-config, libusb1, rtl-sdr }:
stdenv.mkDerivation {
pname = "rtl-ais";
version = "0.8.1";
buildInputs = [ pkg-config rtl-sdr libusb1 ];
src = fetchFromGitHub {
owner = "dgiardini";
repo = "rtl-ais";
rev = "0e85f4e5f9ce7378834c3129bc894580efc24291";
sha256 = "0wm4zai1vs89mf0zgz52q5w5rj8f3i3v6zg42hfb7aqabi25r3jf";
};
makeFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
description = "A simple AIS tuner and generic dual-frequency FM demodulator";
homepage = "https://github.com/dgiardini/rtl-ais";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ mgdm ];
platforms = platforms.unix;
};
}