gitea-attachements-proxy/package.nix
Garionion b2eb57d24a
Some checks reported errors
continuous-integration/drone/push Build was killed
add flake support, build docker image with nix
2022-01-14 17:16:48 +01:00

33 lines
642 B
Nix

{ pkgs ? import <nixpkgs> { } }:
with pkgs;
assert lib.versionAtLeast go.version "1.16";
let
version = "0.0.1";
deps = [];
nativeDeps = [
go_1_17
];
in
pkgs.buildGoModule {
pname = "gitea-attachements-proxy";
inherit version;
src = ./.;
buildInputs = [
] ++deps;
nativeBuildInputs = [
go_1_17
] ++nativeDeps;
tags = [ ];
allowGoReference = true;
vendorSha256 = "sha256-9ppXRHVSzXyEvCx+5ZOB+A//THbl/5k2wRy+jLaRUkE=";
meta = {
description = "A Wrapper around the gitea API to get attachments by tags";
homepage = "https://git.entr0py.de/garionion/gitea-attachements-proxy";
};
}