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

31 lines
904 B
Nix
Raw Normal View History

2018-07-08 04:02:08 -07:00
{ stdenv, rustPlatform , fetchFromGitHub, Security }:
rustPlatform.buildRustPackage rec {
2019-08-31 04:41:23 -07:00
pname = "whitebox_tools";
2020-02-22 02:45:35 -08:00
version = "1.2.0";
2018-07-08 04:02:08 -07:00
src = fetchFromGitHub {
owner = "jblindsay";
repo = "whitebox-tools";
2019-09-13 10:08:57 -07:00
rev = "v${version}";
2020-02-22 02:45:35 -08:00
sha256 = "0zi32d0wrbl2763dcllv2g0liwacsfiza5lkx52620prjjbhby8i";
2018-07-08 04:02:08 -07:00
};
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
# Delete this on next update; see #79975 for details
legacyCargoFetcher = true;
2020-02-22 02:45:35 -08:00
cargoSha256 = "0zn4b4md3pn1rvb15rnz3zcx9a359x26nfy7zcfp7nx27ais13n5";
2019-09-13 10:08:57 -07:00
# failures: structures::polyline::test::test_polyline_split
doCheck = false;
2018-07-08 04:02:08 -07: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;
};
}