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

24 lines
708 B
Nix
Raw Normal View History

2018-07-08 13:02:08 +02:00
{ stdenv, rustPlatform , fetchFromGitHub, Security }:
rustPlatform.buildRustPackage rec {
2019-08-31 13:41:23 +02:00
pname = "whitebox_tools";
2020-06-17 23:46:43 +02:00
version = "1.3.0";
2018-07-08 13:02:08 +02:00
src = fetchFromGitHub {
owner = "jblindsay";
repo = "whitebox-tools";
2019-09-13 19:08:57 +02:00
rev = "v${version}";
2020-06-17 23:46:43 +02:00
sha256 = "0c9jmfjz6ys65y65zlllv9xvaaavr9jpqc1dc217iywhj07j8k2v";
2018-07-08 13:02:08 +02:00
};
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
2020-06-17 23:46:43 +02:00
cargoSha256 = "05w2jimmygg7dc93i8bpjpjc5yj5xfpfkjnbbgw2sq4kh06r5ii4";
2018-07-08 13:02:08 +02:00
meta = with stdenv.lib; {
description = "An advanced geospatial data analysis platform";
2020-06-17 23:46:43 +02:00
homepage = "https://jblindsay.github.io/ghrg/WhiteboxTools/index.html";
2018-07-08 13:02:08 +02:00
license = licenses.mit;
maintainers = [ maintainers.mpickering ];
};
}