nixpkgs/pkgs/applications/gis/whitebox-tools/default.nix

24 lines
692 B
Nix
Raw Normal View History

{ lib, stdenv, rustPlatform, fetchFromGitHub, Security }:
2018-07-08 12:02:08 +01:00
rustPlatform.buildRustPackage rec {
2019-08-31 12:41:23 +01:00
pname = "whitebox_tools";
2020-11-04 10:12:09 +00:00
version = "1.4.0";
2018-07-08 12:02:08 +01:00
src = fetchFromGitHub {
owner = "jblindsay";
repo = "whitebox-tools";
2020-11-04 10:12:09 +00:00
rev = version;
sha256 = "0s5byn8qyi1bm59j9vhwqaygw5cxipc7wbd3flh7n24nx0s8pr8c";
2018-07-08 12:02:08 +01:00
};
2021-01-15 13:21:58 +00:00
buildInputs = lib.optional stdenv.isDarwin Security;
2018-07-08 12:02:08 +01:00
2020-11-04 10:12:09 +00:00
cargoSha256 = "09rz8f1xyc64qjbj6pgw8jxr2a7chghmdc6sfkbv7hdvx6vg4wvk";
2018-07-08 12:02:08 +01:00
meta = with lib; {
2018-07-08 12:02:08 +01:00
description = "An advanced geospatial data analysis platform";
2020-06-17 22:46:43 +01:00
homepage = "https://jblindsay.github.io/ghrg/WhiteboxTools/index.html";
2018-07-08 12:02:08 +01:00
license = licenses.mit;
maintainers = [ maintainers.mpickering ];
};
}