d2: update to latest master

This commit is contained in:
Dmitriy Pleshevskiy 2023-02-25 21:53:25 +03:00
parent 5f07d4e256
commit 1230292d1e
Signed by: pleshevskiy
GPG key ID: 79C4487B44403985
2 changed files with 6 additions and 6 deletions

View file

@ -4,7 +4,7 @@
, installShellFiles , installShellFiles
}: }:
let version = "2023-02-15"; in let version = "2023-02-25"; 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 = "758446783426613df61a84b70e685fb64282f9ea"; rev = "a2503328a23613609275e9c9ae981e54c1e59f32";
sha256 = "sha256-Sf82OqDyCLUXreY1GmIo4+ePUCBEWOa6eSOlBGcTnZk="; sha256 = "sha256-zhvKB0Prmuai26IhEYK6mqa1XdT+LJUrLNCjsnn1vsk=";
}; };
vendorSha256 = "sha256-VUedaPnwLvfnL+WXKGBdeG1eUQynQSYPQSdpUqHixc0="; vendorSha256 = "sha256-EqIRujKMqIO8XRJ2yAfLOwcDToDM2nkURqg3Sqyjqa0=";
ldflags = [ ldflags = [
"-s" "-s"

View file

@ -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.15"; version = "0.3.1";
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-CZvtNGtaJgeto+I9J8avcOQLeEChDVtwkvb2MWaP5pc="; sha256 = "sha256-xYHiYLow13c3WaAq7QiD0SL9LVWKAyc8E+gWJezN3L4=";
}; };
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];