d2: bump to latest master
This commit is contained in:
parent
225af4c892
commit
8d9b81f1c8
2 changed files with 6 additions and 6 deletions
|
@ -4,7 +4,7 @@
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let version = "2022-12-19"; in
|
let version = "2022-12-26"; in
|
||||||
buildGoModule {
|
buildGoModule {
|
||||||
pname = "d2";
|
pname = "d2";
|
||||||
inherit version;
|
inherit version;
|
||||||
|
@ -12,11 +12,11 @@ buildGoModule {
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "terrastruct";
|
owner = "terrastruct";
|
||||||
repo = "d2";
|
repo = "d2";
|
||||||
rev = "9aef6b80493878eadc7c846be5bc3b0caeeb4a51";
|
rev = "1efc46d21766bc6fb8cd49ab9ed572e073658b84";
|
||||||
sha256 = "sha256-IUXHmuQgBBnn/LvVukVVQ0JkAKLl9Fb/jvV8E0R8mgA=";
|
sha256 = "sha256-X+/tBdJvkzHd/6qQKrdR0ox4KX4TuEffBnAD05yLP+I=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-k9zaZ28vs3R5usWUW5N78zz0PuP5UrYEhgXxpQ+v5sE=";
|
vendorSha256 = "sha256-t94xCNteYRpbV2GzrD4ppD8xfUV1HTJPkipEzr36CaM=";
|
||||||
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
"-s"
|
"-s"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
let
|
let
|
||||||
platform = if stdenv.isLinux then "linux" else "darwin";
|
platform = if stdenv.isLinux then "linux" else "darwin";
|
||||||
arch = if lib.hasPrefix "x86_" system then "amd64" else "arm64";
|
arch = if lib.hasPrefix "x86_" system then "amd64" else "arm64";
|
||||||
version = "0.2.8";
|
version = "0.2.9";
|
||||||
fileName = "tala-v${version}-${platform}-${arch}.tar.gz";
|
fileName = "tala-v${version}-${platform}-${arch}.tar.gz";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/terrastruct/TALA/releases/download/v${version}/${fileName}";
|
url = "https://github.com/terrastruct/TALA/releases/download/v${version}/${fileName}";
|
||||||
sha256 = "sha256-p6nXOcveZ28Q1ODpbV9dVrGTtoXgxkFdsiXY61BK0dA=";
|
sha256 = "sha256-u5wR71Nga9s0hFfAsUlSTTswbwVmtlDXU7vrVesX/Gs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
Loading…
Reference in a new issue