nixpkgs/pkgs/applications/gis/whitebox-tools/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
803 B
Nix
Raw Normal View History

2022-06-09 01:29:24 +00:00
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, Security
}:
2018-07-08 11:02:08 +00:00
rustPlatform.buildRustPackage rec {
2019-08-31 11:41:23 +00:00
pname = "whitebox_tools";
2021-12-11 18:38:32 +00:00
version = "2.0.0";
2018-07-08 11:02:08 +00:00
src = fetchFromGitHub {
owner = "jblindsay";
repo = "whitebox-tools";
2021-12-11 18:38:32 +00:00
rev = "7551aa70e8d9cbd8b3744fde48e82aa40393ebf8";
2022-06-09 01:29:24 +00:00
hash = "sha256-MJQJcU91rAF7sz16Dlvg64cfWK8x3uEFcAsYqVLiz1Y=";
2018-07-08 11:02:08 +00:00
};
2022-06-09 01:29:24 +00:00
cargoSha256 = "sha256-+IFLv/mIgqyDKNC5aZgQeW6Ymu6+desOD8dDvEdwsSM=";
2021-12-11 18:38:32 +00:00
2022-06-09 01:29:24 +00:00
cargoPatches = [
./update-cargo-lock.patch
];
2018-07-08 11:02:08 +00:00
2022-06-09 01:29:24 +00:00
buildInputs = lib.optional stdenv.isDarwin Security;
2021-12-11 18:38:32 +00:00
doCheck = false;
2018-07-08 11:02:08 +00:00
meta = with lib; {
2020-06-17 21:46:43 +00:00
homepage = "https://jblindsay.github.io/ghrg/WhiteboxTools/index.html";
2022-06-09 01:29:24 +00:00
description = "An advanced geospatial data analysis platform";
2018-07-08 11:02:08 +00:00
license = licenses.mit;
maintainers = [ maintainers.mpickering ];
};
}