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

28 lines
820 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";
2019-09-13 17:08:57 +00:00
version = "0.16.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}";
sha256 = "1vs4hf2x3qjnffs9kjx56rzl67kpcy8xvng6p0r9fp9mfnblxg6j";
2018-07-08 11:02:08 +00:00
};
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
2019-09-13 17:08:57 +00:00
cargoSha256 = "1y3vk8bzsaisx7wrncjxcqdh355f2wk4n59vq5qgj37fph2zpy7f";
# 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;
license = licenses.mit;
maintainers = [ maintainers.mpickering ];
platforms = platforms.all;
};
}