forked from mirrors/nixpkgs
062210bdff
A recent upgrade of cargo-vendor changed its output slightly, which broke all cargoSha256 hashes in nixpkgs. See https://github.com/NixOS/nixpkgs/issues/60668 for more information. Since then, a few hashes have been fixed in master by hand, but there were a lot still to do, so I did all of the ones left over with some scripts I wrote. The one hash I wasn’t able to update was habitat's, because it’s currently broken and the build doesn’t get far enough to produce a hash anyway.
25 lines
776 B
Nix
25 lines
776 B
Nix
{ stdenv, rustPlatform , fetchFromGitHub, Security }:
|
|
rustPlatform.buildRustPackage rec {
|
|
name = "whitebox_tools-${version}";
|
|
version = "0.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jblindsay";
|
|
repo = "whitebox-tools";
|
|
rev = "6221cdf327be70f0ee4f2053b76bfa01c3f37caa";
|
|
sha256 = "1423ga964mz7qkl88vkcm8qfprsksx04aq4sz9v5ghnmdzzvl89x";
|
|
};
|
|
|
|
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
|
|
|
cargoSha256 = "11m13h9b75xz8dfisfcykar53qsl1crrp3l75s73gkkkvczlfd24";
|
|
|
|
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;
|
|
};
|
|
}
|