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