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