voc-telemetry/package.nix

35 lines
670 B
Nix
Raw Normal View History

2023-12-28 21:32:48 +01:00
{ pkgs ? import <nixpkgs> { } }:
with pkgs;
let
version = "0.0.1";
deps = [ ];
nativeDeps = [ ];
in
2023-12-29 11:13:57 +01:00
pkgs.buildGo121Module {
2023-12-28 21:32:48 +01:00
pname = "voc-telemetry";
inherit version;
src = ./.;
buildInputs = [
stdenv
] ++deps;
nativeBuildInputs = [
musl
] ++nativeDeps;
tags = [ ];
CGO_ENABLED = 0;
ldflags = [
"-s" "-w"
"-linkmode external"
"-extldflags '-static -L${musl}/lib'"
];
allowGoReference = false;
#vendorSha256 = lib.fakeSha256;
vendorHash = "sha256-RNGVk+X1TpWch1y3JV/RUSao48m19lawkHfwAh7xi2Y=";
meta = {
description = "TBA";
homepage = "https://git.entr0py.de/garionion/voc-telemetry";
};
}