Update spaceapid to v0.1.0

This commit is contained in:
June 2024-08-04 21:03:29 +02:00
parent 028b5dc9e8
commit 1ffc959ce3
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0

View file

@ -1,19 +1,20 @@
{ pkgs, ... }:
let
spaceapidSrc = builtins.fetchGit {
version = "v0.1.0";
spaceapidSrc = pkgs.fetchgit {
url = "https://git.hamburg.ccc.de/CCCHH/spaceapid.git";
ref = "main";
rev = "17753f535c68157e80f30f50deb488133cc98258";
rev = version;
hash = "sha256-2SDhliltzyydPPZdNn/htDydiK/SHQcYyG/dQ0EyFrY=";
};
spaceapid = pkgs.buildGoModule rec {
pname = "spaceapid";
version = "main";
inherit version;
src = spaceapidSrc;
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