nur-packages

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

default.nix (772B)


      1 {
      2   lib,
      3   stdenv,
      4   fetchFromGitHub,
      5   cmake,
      6   boost,
      7   gdal,
      8   gsl,
      9   hdf5,
     10   kealib,
     11   muparser,
     12   python3,
     13 }:
     14 
     15 stdenv.mkDerivation (finalAttrs: {
     16   pname = "rsgislib";
     17   version = "5.1.7";
     18 
     19   src = fetchFromGitHub {
     20     owner = "remotesensinginfo";
     21     repo = "rsgislib";
     22     rev = finalAttrs.version;
     23     hash = "sha256-IaDSn+8cF7fo+l4/gTUJrF5iro3qHnXUd5iImekaqLg=";
     24   };
     25 
     26   nativeBuildInputs = [ cmake ];
     27 
     28   buildInputs = [
     29     boost
     30     gdal
     31     gsl
     32     hdf5
     33     kealib
     34     muparser
     35     python3
     36   ];
     37 
     38   meta = {
     39     description = "Remote Sensing and GIS Software Library";
     40     homepage = "https://www.rsgislib.org/";
     41     license = lib.licenses.gpl3Plus;
     42     maintainers = [ lib.maintainers.sikmir ];
     43     platforms = lib.platforms.unix;
     44     skip.ci = true;
     45   };
     46 })