eb11feaa0b
Changes the default fetcher in the Rust Platform to be the newer `fetchCargoTarball`, and changes every application using the current default to instead opt out. This commit does not change any hashes or cause any rebuilds. Once integrated, we will start deleting the opt-outs and recomputing hashes. See #79975 for details.
31 lines
905 B
Nix
31 lines
905 B
Nix
{ stdenv, rustPlatform , fetchFromGitHub, Security }:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "whitebox_tools";
|
|
version = "0.16.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jblindsay";
|
|
repo = "whitebox-tools";
|
|
rev = "v${version}";
|
|
sha256 = "1vs4hf2x3qjnffs9kjx56rzl67kpcy8xvng6p0r9fp9mfnblxg6j";
|
|
};
|
|
|
|
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
|
|
|
# Delete this on next update; see #79975 for details
|
|
legacyCargoFetcher = true;
|
|
|
|
cargoSha256 = "1y3vk8bzsaisx7wrncjxcqdh355f2wk4n59vq5qgj37fph2zpy7f";
|
|
|
|
# failures: structures::polyline::test::test_polyline_split
|
|
doCheck = false;
|
|
|
|
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;
|
|
};
|
|
}
|