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

28 lines
821 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-02-22 10:45:35 +00:00
version = "1.2.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-02-22 10:45:35 +00:00
sha256 = "0zi32d0wrbl2763dcllv2g0liwacsfiza5lkx52620prjjbhby8i";
2018-07-08 11:02:08 +00:00
};
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
cargoSha256 = "13k21akyfqgamywj39bw73sldby1s02vyvxfglxbaqq1x96xcy4i";
2019-09-13 17:08:57 +00:00
# failures: structures::polyline::test::test_polyline_split
doCheck = false;
2018-07-08 11:02:08 +00:00
meta = with stdenv.lib; {
description = "An advanced geospatial data analysis platform";
homepage = "http://www.uoguelph.ca/~hydrogeo/WhiteboxTools/index.html";
2018-07-08 11:02:08 +00:00
license = licenses.mit;
maintainers = [ maintainers.mpickering ];
platforms = platforms.all;
};
}