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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
717 B
Nix
Raw Normal View History

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";
version = "2.2.0";
2018-07-08 13:02:08 +02:00
src = fetchFromGitHub {
owner = "jblindsay";
repo = "whitebox-tools";
rev = "v${version}";
hash = "sha256-DQ7BPRd90GNQVfD5NoVcxoyd2L3WZvIkecmRJVUY1R4=";
2018-07-08 13:02:08 +02: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
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 ];
};
}