default.nix (784B)
1 { 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 pkg-config, 7 opencv4, 8 rtl-sdr, 9 zlib, 10 }: 11 12 stdenv.mkDerivation { 13 pname = "goestools"; 14 version = "0-unstable-2024-02-10"; 15 16 src = fetchFromGitHub { 17 owner = "pietern"; 18 repo = "goestools"; 19 rev = "80ece1a7ab8a93fb5dfa50d47387ae7c4a8f2a73"; 20 hash = "sha256-qrtLiS1nFsGIFrazitLQetrEPiMP5SbBSbwp0bPhCV0="; 21 fetchSubmodules = true; 22 }; 23 24 nativeBuildInputs = [ 25 cmake 26 pkg-config 27 ]; 28 29 buildInputs = [ 30 opencv4 31 rtl-sdr 32 zlib 33 ]; 34 35 meta = { 36 description = "Tools to work with signals and files from GOES satellites"; 37 homepage = "https://pietern.github.io/goestools/"; 38 license = lib.licenses.bsd2; 39 maintainers = [ lib.maintainers.sikmir ]; 40 platforms = lib.platforms.unix; 41 }; 42 }