diff --git a/pkgs/applications/gis/whitebox-tools/default.nix b/pkgs/applications/gis/whitebox-tools/default.nix index c60523e3e996..fc4648eb9dce 100644 --- a/pkgs/applications/gis/whitebox-tools/default.nix +++ b/pkgs/applications/gis/whitebox-tools/default.nix @@ -1,4 +1,10 @@ -{ lib, stdenv, rustPlatform, fetchFromGitHub, Security }: +{ lib +, stdenv +, rustPlatform +, fetchFromGitHub +, Security +}: + rustPlatform.buildRustPackage rec { pname = "whitebox_tools"; version = "2.0.0"; @@ -7,20 +13,22 @@ rustPlatform.buildRustPackage rec { owner = "jblindsay"; repo = "whitebox-tools"; rev = "7551aa70e8d9cbd8b3744fde48e82aa40393ebf8"; - sha256 = "0mngw99aj60bf02y3piimxc1z1zbw1dhwyixndxh3b3m9xqhk51h"; + hash = "sha256-MJQJcU91rAF7sz16Dlvg64cfWK8x3uEFcAsYqVLiz1Y="; }; - cargoPatches = [./update-cargo-lock.patch]; + cargoSha256 = "sha256-+IFLv/mIgqyDKNC5aZgQeW6Ymu6+desOD8dDvEdwsSM="; + + cargoPatches = [ + ./update-cargo-lock.patch + ]; buildInputs = lib.optional stdenv.isDarwin Security; - cargoSha256 = "08xif13vqhy71w7fnxdyxsd9hvkr22c6kffh521sr0l8z6zlp0gq"; - doCheck = false; meta = with lib; { - description = "An advanced geospatial data analysis platform"; homepage = "https://jblindsay.github.io/ghrg/WhiteboxTools/index.html"; + description = "An advanced geospatial data analysis platform"; license = licenses.mit; maintainers = [ maintainers.mpickering ]; };