-
-
Notifications
You must be signed in to change notification settings - Fork 14k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #316907 from JohnRTitor/whitebox-tools
whitebox-tools: 2.2.0 -> 2.4.0
- Loading branch information
Showing
1 changed file
with
32 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,51 @@ | ||
{ lib | ||
, stdenv | ||
, rustPlatform | ||
, fetchFromGitHub | ||
, Security | ||
{ | ||
lib, | ||
stdenv, | ||
cmake, | ||
rustPlatform, | ||
pkg-config, | ||
fetchFromGitHub, | ||
atk, | ||
gtk3, | ||
glib, | ||
openssl, | ||
Security, | ||
nix-update-script, | ||
}: | ||
|
||
rustPlatform.buildRustPackage rec { | ||
pname = "whitebox_tools"; | ||
version = "2.2.0"; | ||
version = "2.4.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "jblindsay"; | ||
repo = "whitebox-tools"; | ||
rev = "v${version}"; | ||
hash = "sha256-DQ7BPRd90GNQVfD5NoVcxoyd2L3WZvIkecmRJVUY1R4="; | ||
hash = "sha256-kvtfEEydwonoDux1VbAxqrF/Hf8Qh8mhprYnROGOC6g="; | ||
}; | ||
|
||
cargoHash = "sha256-BounjGGhbU5dxNV8WjVDQtV7YONNVRldc/t+wet1Gh8="; | ||
cargoHash = "sha256-6v/3b6BHh/n7M2ZhLVKRvv0Va2xbLUSsxUb5paOStbQ="; | ||
|
||
buildInputs = lib.optional stdenv.isDarwin Security; | ||
buildInputs = [ | ||
atk | ||
glib | ||
gtk3 | ||
openssl | ||
] ++ lib.optional stdenv.isDarwin Security; | ||
|
||
nativeBuildInputs = [ | ||
cmake | ||
pkg-config | ||
]; | ||
|
||
doCheck = false; | ||
|
||
meta = with lib; { | ||
passthru.updateScript = nix-update-script { }; | ||
|
||
meta = { | ||
homepage = "https://jblindsay.github.io/ghrg/WhiteboxTools/index.html"; | ||
description = "An advanced geospatial data analysis platform"; | ||
license = licenses.mit; | ||
maintainers = [ maintainers.mpickering ]; | ||
license = lib.licenses.mit; | ||
maintainers = with lib.maintainers; [ mpickering ]; | ||
}; | ||
} |