whitebox_tools: 2.2.0 -> 2.4.0
add missing dependencies add nix-update-script
This commit is contained in:
parent
fc6e6b8ffb
commit
4fdaae34eb
@ -1,27 +1,46 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
|
, cmake
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
|
, pkg-config
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, atk
|
||||||
|
, gtk3
|
||||||
|
, glib
|
||||||
|
, openssl
|
||||||
, Security
|
, Security
|
||||||
|
, nix-update-script
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "whitebox_tools";
|
pname = "whitebox_tools";
|
||||||
version = "2.2.0";
|
version = "2.4.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jblindsay";
|
owner = "jblindsay";
|
||||||
repo = "whitebox-tools";
|
repo = "whitebox-tools";
|
||||||
rev = "v${version}";
|
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;
|
doCheck = false;
|
||||||
|
|
||||||
|
passthru.updateScript = nix-update-script {};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://jblindsay.github.io/ghrg/WhiteboxTools/index.html";
|
homepage = "https://jblindsay.github.io/ghrg/WhiteboxTools/index.html";
|
||||||
description = "An advanced geospatial data analysis platform";
|
description = "An advanced geospatial data analysis platform";
|
||||||
|
Loading…
Reference in New Issue
Block a user