d2: update to latest master
This commit is contained in:
parent
b11347fa9d
commit
5f07d4e256
2 changed files with 6 additions and 6 deletions
|
@ -4,7 +4,7 @@
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let version = "2023-01-04"; in
|
let version = "2023-02-15"; 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 = "80892f9ff9317b709d7176a6bffbbd4ca92bf9a3";
|
rev = "758446783426613df61a84b70e685fb64282f9ea";
|
||||||
sha256 = "sha256-nG4elO7yA58XXCs74Y1CPulYcr7OfeaEA9N7Bfa/X0Y=";
|
sha256 = "sha256-Sf82OqDyCLUXreY1GmIo4+ePUCBEWOa6eSOlBGcTnZk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-t94xCNteYRpbV2GzrD4ppD8xfUV1HTJPkipEzr36CaM=";
|
vendorSha256 = "sha256-VUedaPnwLvfnL+WXKGBdeG1eUQynQSYPQSdpUqHixc0=";
|
||||||
|
|
||||||
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.11";
|
version = "0.2.15";
|
||||||
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-Ld8GxZvbV6PGZisQah1yePCMtAyPgNHQEU9o4MfXIaA=";
|
sha256 = "sha256-CZvtNGtaJgeto+I9J8avcOQLeEChDVtwkvb2MWaP5pc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
Loading…
Reference in a new issue