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