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

24 lines
692 B
Nix
Raw Normal View History

{ 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";
2020-11-04 10:12:09 +00:00
version = "1.4.0";
2018-07-08 11:02:08 +00:00
src = fetchFromGitHub {
owner = "jblindsay";
repo = "whitebox-tools";
2020-11-04 10:12:09 +00:00
rev = version;
sha256 = "0s5byn8qyi1bm59j9vhwqaygw5cxipc7wbd3flh7n24nx0s8pr8c";
2018-07-08 11:02:08 +00:00
};
2021-01-15 13:21:58 +00:00
buildInputs = lib.optional stdenv.isDarwin Security;
2018-07-08 11:02:08 +00:00
cargoSha256 = "0rdg9k44si37iyqlcl1rw7ilajcvqy93gbfpd7n4cr1hg9ypm0m3";
2018-07-08 11:02:08 +00:00
meta = with lib; {
2018-07-08 11:02:08 +00:00
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 ];
};
}