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

24 lines
708 B
Nix
Raw Normal View History

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