{ pkgs ? import <nixpkgs> { }, gdal ? null }:
let
package = import ./default.nix { inherit pkgs gdal; };
in
pkgs.mkShell {
inputsFrom = [ package ];
buildInputs = with pkgs; [
cargo-tarpaulin # Get test coverage statistics
(pkgs.python312.withPackages (ps: with ps; [
pip
pytest
virtualenv
xarray
h5netcdf
numpy
matplotlib
]))
rustfmt
clippy
proj
gdal
netcdf
maturin
];
shellHook = ''
${pkgs.zsh}/bin/zsh
alias ridal="$(pwd)/target/release/ridal";
'';
}