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";
|
2019-09-13 18:08:57 +01:00
|
|
|
version = "0.16.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}";
|
|
|
|
sha256 = "1vs4hf2x3qjnffs9kjx56rzl67kpcy8xvng6p0r9fp9mfnblxg6j";
|
2018-07-08 12:02:08 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
|
|
|
|
2019-09-13 18:08:57 +01:00
|
|
|
cargoSha256 = "1y3vk8bzsaisx7wrncjxcqdh355f2wk4n59vq5qgj37fph2zpy7f";
|
|
|
|
|
|
|
|
# failures: structures::polyline::test::test_polyline_split
|
|
|
|
doCheck = false;
|
2018-07-08 12:02:08 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An advanced geospatial data analysis platform";
|
|
|
|
homepage = http://www.uoguelph.ca/~hydrogeo/WhiteboxTools/index.html;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.mpickering ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|