Update spaceapid to v0.1.0

This commit is contained in:
June 2024-08-04 21:03:29 +02:00 committed by echtnurich
parent 94f8269d22
commit 3401265e6f
Signed by: echtnurich
SSH key fingerprint: SHA256:1eIkxME0VPeXC2WMl9Haus+q0SLFymSAWU7f6Z+A8Aw

View file

@ -1,19 +1,20 @@
{ pkgs, ... }: { pkgs, ... }:
let let
spaceapidSrc = builtins.fetchGit { version = "v0.1.0";
spaceapidSrc = pkgs.fetchgit {
url = "https://git.hamburg.ccc.de/CCCHH/spaceapid.git"; url = "https://git.hamburg.ccc.de/CCCHH/spaceapid.git";
ref = "main"; rev = version;
rev = "17753f535c68157e80f30f50deb488133cc98258"; hash = "sha256-2SDhliltzyydPPZdNn/htDydiK/SHQcYyG/dQ0EyFrY=";
}; };
spaceapid = pkgs.buildGoModule rec { spaceapid = pkgs.buildGoModule rec {
pname = "spaceapid"; pname = "spaceapid";
version = "main"; inherit version;
src = spaceapidSrc; src = spaceapidSrc;
ldflags = [ ldflags = [
"-X main.version=${version}-${spaceapidSrc.rev}" "-X main.version=${version}"
]; ];
# Since spaceapid doesn't have any dependencies, we can set this to null and # Since spaceapid doesn't have any dependencies, we can set this to null and