diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2018-07-08 11:02:08 +0000 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2018-07-10 19:10:24 +0100 |
commit | 97a47b81609e1904930a6fa317df523cec60c10d (patch) | |
tree | d5d339d0ed56f57757488134b708e1e1800e87f6 /pkgs/applications/gis/whitebox-tools/default.nix | |
parent | 7ef42d56dc0501245ca44390cc7f0a7d8af62aae (diff) |
whitebox-tools: init at 0.9.0
Diffstat (limited to 'pkgs/applications/gis/whitebox-tools/default.nix')
-rw-r--r-- | pkgs/applications/gis/whitebox-tools/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/gis/whitebox-tools/default.nix b/pkgs/applications/gis/whitebox-tools/default.nix new file mode 100644 index 0000000000000..f6adf7857ede0 --- /dev/null +++ b/pkgs/applications/gis/whitebox-tools/default.nix @@ -0,0 +1,24 @@ +{ stdenv, rustPlatform , fetchFromGitHub, Security }: +rustPlatform.buildRustPackage rec { + name = "whitebox_tools-${version}"; + version = "0.9.0"; + + src = fetchFromGitHub { + owner = "jblindsay"; + repo = "whitebox-tools"; + rev = "6221cdf327be70f0ee4f2053b76bfa01c3f37caa"; + sha256 = "1423ga964mz7qkl88vkcm8qfprsksx04aq4sz9v5ghnmdzzvl89x"; + }; + + buildInputs = stdenv.lib.optional stdenv.isDarwin Security; + + cargoSha256 = "1gbgirng21ak0kl3fiyr6lxwzrjd5v79gcrbzf941nb8y8rlvz7k"; + + meta = with stdenv.lib; { + description = "An advanced geospatial data analysis platform"; + homepage = http://www.uoguelph.ca/~hydrogeo/WhiteboxTools/index.html; + license = licenses.mit; + maintainers = [ maintainers.mpickering ]; + platforms = platforms.all; + }; +} |