package.nix (927B)
1 { 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 pkg-config, 7 airspy, 8 airspyhf, 9 hackrf, 10 libsamplerate, 11 openssl, 12 rtl-sdr, 13 soxr, 14 zeromq, 15 zlib, 16 }: 17 18 stdenv.mkDerivation (finalAttrs: { 19 pname = "ais-catcher"; 20 version = "0.66"; 21 22 __structuredAttrs = true; 23 24 src = fetchFromGitHub { 25 owner = "jvde-github"; 26 repo = "AIS-catcher"; 27 tag = "v${finalAttrs.version}"; 28 hash = "sha256-O+6b5AWlQjUJDFEunmsGNs3vV8h/4iCR9PxzwuSVfoM="; 29 }; 30 31 nativeBuildInputs = [ 32 cmake 33 pkg-config 34 ]; 35 36 buildInputs = [ 37 airspy 38 airspyhf 39 hackrf 40 libsamplerate 41 openssl 42 rtl-sdr 43 soxr 44 zeromq 45 zlib 46 ]; 47 48 meta = { 49 description = "A multi-platform AIS Receiver"; 50 homepage = "https://github.com/jvde-github/AIS-catcher"; 51 license = lib.licenses.gpl3Plus; 52 maintainers = [ lib.maintainers.sikmir ]; 53 platforms = lib.platforms.unix; 54 mainProgram = "AIS-catcher"; 55 }; 56 })
