You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

37 lines
727 B

{ pkgs ? import <nixpkgs> { } }:
with pkgs;
let
version = "0.0.1";
deps = [ gcc];
nativeDeps = [
];
in
pkgs.buildGo117Module {
pname = "gitea-attachements-proxy";
inherit version;
src = ./.;
buildInputs = [
stdenv glibc.static
] ++deps;
nativeBuildInputs = [
] ++nativeDeps;
tags = [ ];
ldflags = [
"-s" "-w"
"-linkmode external"
"-extldflags -static"
];
allowGoReference = false;
#vendorSha256 = lib.fakeSha256;
vendorSha256 = "sha256-wc6znykuNaichhoeeOykuxqSElEf15rRdhHoZJ2PkGM=";
meta = {
description = "A Wrapper around the gitea API to get attachments by tags";
homepage = "https://git.entr0py.de/garionion/gitea-attachements-proxy";
};
}