3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/gis/whitebox-tools/default.nix

24 lines
708 B
Nix
Raw Normal View History

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