nur-packages

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

default.nix (837B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5   cmocean,
      6 }:
      7 
      8 python3Packages.buildPythonPackage rec {
      9   pname = "riverrem";
     10   version = "1.1.2";
     11   pyproject = true;
     12 
     13   src = fetchFromGitHub {
     14     owner = "OpenTopography";
     15     repo = "RiverREM";
     16     tag = "v${version}";
     17     hash = "sha256-/HutRO6GBrTAE4KNGU+JrFQpfP+Bf+FjdHVaucEkKe0=";
     18   };
     19 
     20   build-system = with python3Packages; [ setuptools ];
     21 
     22   dependencies = with python3Packages; [
     23     cmocean
     24     gdal
     25     geopandas
     26     numpy
     27     osmnx
     28     requests
     29     scipy
     30     seaborn
     31     shapely
     32   ];
     33 
     34   meta = {
     35     description = "Make river relative elevation models (REM) and REM visualizations from an input digital elevation model (DEM)";
     36     homepage = "https://github.com/OpenTopography/RiverREM";
     37     license = lib.licenses.gpl3;
     38     maintainers = [ lib.maintainers.sikmir ];
     39   };
     40 }