nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

default.nix (745B)


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