depot/third_party/nixpkgs/pkgs/applications/gis/whitebox-tools/default.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

52 lines
1 KiB
Nix

{
lib,
stdenv,
cmake,
rustPlatform,
pkg-config,
fetchFromGitHub,
atk,
gtk3,
glib,
openssl,
Security,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "whitebox_tools";
version = "2.4.0";
src = fetchFromGitHub {
owner = "jblindsay";
repo = "whitebox-tools";
rev = "v${version}";
hash = "sha256-kvtfEEydwonoDux1VbAxqrF/Hf8Qh8mhprYnROGOC6g=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-yQFGuhEGgkaa5N4uUIZ/0GFzP9CsPtiFet0hUppIQzQ=";
buildInputs = [
atk
glib
gtk3
openssl
] ++ lib.optional stdenv.hostPlatform.isDarwin Security;
nativeBuildInputs = [
cmake
pkg-config
];
doCheck = false;
passthru.updateScript = nix-update-script { };
meta = {
homepage = "https://jblindsay.github.io/ghrg/WhiteboxTools/index.html";
description = "Advanced geospatial data analysis platform";
license = lib.licenses.mit;
maintainers = lib.teams.geospatial.members ++ (with lib.maintainers; [ mpickering ]);
};
}