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.

28 lines
794 B
Nix
Raw Normal View History

{ 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";
sha256 = "0mngw99aj60bf02y3piimxc1z1zbw1dhwyixndxh3b3m9xqhk51h";
2018-07-08 11:02:08 +00:00
};
2021-12-11 18:38:32 +00:00
cargoPatches = [./update-cargo-lock.patch];
2021-01-15 13:21:58 +00:00
buildInputs = lib.optional stdenv.isDarwin Security;
2018-07-08 11:02:08 +00:00
2021-12-11 18:38:32 +00:00
cargoSha256 = "08xif13vqhy71w7fnxdyxsd9hvkr22c6kffh521sr0l8z6zlp0gq";
doCheck = false;
2018-07-08 11:02:08 +00:00
meta = with lib; {
2018-07-08 11:02:08 +00:00
description = "An advanced geospatial data analysis platform";
2020-06-17 21:46:43 +00:00
homepage = "https://jblindsay.github.io/ghrg/WhiteboxTools/index.html";
2018-07-08 11:02:08 +00:00
license = licenses.mit;
maintainers = [ maintainers.mpickering ];
};
}