2022-06-09 03:29:24 +02:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
, Security
|
|
|
|
}:
|
|
|
|
|
2018-07-08 13:02:08 +02:00
|
|
|
rustPlatform.buildRustPackage rec {
|
2019-08-31 13:41:23 +02:00
|
|
|
pname = "whitebox_tools";
|
2023-03-21 18:12:04 +01:00
|
|
|
version = "2.2.0";
|
2018-07-08 13:02:08 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jblindsay";
|
|
|
|
repo = "whitebox-tools";
|
2023-03-21 18:12:04 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-DQ7BPRd90GNQVfD5NoVcxoyd2L3WZvIkecmRJVUY1R4=";
|
2018-07-08 13:02:08 +02:00
|
|
|
};
|
|
|
|
|
2023-03-21 18:12:04 +01:00
|
|
|
cargoHash = "sha256-BounjGGhbU5dxNV8WjVDQtV7YONNVRldc/t+wet1Gh8=";
|
2018-07-08 13:02:08 +02:00
|
|
|
|
2022-06-09 03:29:24 +02:00
|
|
|
buildInputs = lib.optional stdenv.isDarwin Security;
|
2021-12-11 19:38:32 +01:00
|
|
|
|
|
|
|
doCheck = false;
|
2018-07-08 13:02:08 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-06-17 23:46:43 +02:00
|
|
|
homepage = "https://jblindsay.github.io/ghrg/WhiteboxTools/index.html";
|
2022-06-09 03:29:24 +02:00
|
|
|
description = "An advanced geospatial data analysis platform";
|
2018-07-08 13:02:08 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.mpickering ];
|
|
|
|
};
|
|
|
|
}
|