Merge pull request #118994 from 06kellyjac/master

octant: 0.18.0 -> 0.19.0
This commit is contained in:
Sandro 2021-04-10 21:39:11 +02:00 committed by GitHub
commit 570652d728
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 19 deletions

View File

@ -1,26 +1,26 @@
{ lib, stdenv, fetchzip }: { lib, stdenv, fetchzip }:
let stdenv.mkDerivation rec {
pname = "octant";
version = "0.19.0";
src =
let
inherit (stdenv.hostPlatform) system; inherit (stdenv.hostPlatform) system;
suffix = { suffix = {
x86_64-linux = "Linux-64bit"; x86_64-linux = "Linux-64bit";
aarch64-linux = "Linux-arm64"; aarch64-linux = "Linux-arm64";
x86_64-darwin = "macOS-64bit"; x86_64-darwin = "macOS-64bit";
}.${system} or (throw "Unsupported system: ${system}"); }.${system} or (throw "Unsupported system: ${system}");
baseurl = "https://github.com/vmware-tanzu/octant/releases/download";
fetchsrc = version: sha256: fetchzip { fetchsrc = version: sha256: fetchzip {
url = "${baseurl}/v${version}/octant_${version}_${suffix}.tar.gz"; url = "https://github.com/vmware-tanzu/octant/releases/download/v${version}/octant_${version}_${suffix}.tar.gz";
sha256 = sha256."${system}"; sha256 = sha256.${system};
}; };
in in
stdenv.mkDerivation rec { fetchsrc version {
pname = "octant"; x86_64-linux = "sha256-TKvUBof4TLcHr9hg6AOLjVd1NcAX9HHVuuABdFKRNQA=";
version = "0.18.0"; aarch64-linux = "sha256-BJb7h6kJZ3QhdlEqNHkiFp91uYLXzYHvKftxEAhjY38=";
x86_64-darwin = "sha256-Ig98IqLmlN9D4iXrP9SXYwTrQOvbtQ/tQW+uEmntm+I=";
src = fetchsrc version {
x86_64-linux = "sha256-D/pHOXR7XQoJCGqUep1lBAY4239HH35m+evFd21pcK0=";
aarch64-linux = "sha256-aL1axz3ebqrKQ3xK2UgDMQ+o6ZKgIvwy6Phici7WT2c=";
x86_64-darwin = "sha256-MFxOAAEnLur0LJJNU0SSlO+bH4f18zOfZNA49fKEQEw=";
}; };
dontConfigure = true; dontConfigure = true;