Update spaceapid to v0.1.0
This commit is contained in:
parent
94f8269d22
commit
3401265e6f
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue