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

24 lines
708 B
Nix
Raw Normal View History

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