gitea-attachements-proxy/package.nix
Garionion 14018315bb
Some checks failed
continuous-integration/drone/push Build is failing
add flake support, build docker image with nix
2022-01-14 17:12:30 +01:00

34 lines
676 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 = lib.fakeSha256;
vendorSha256 = "sha256-iIoRUp1duDJW/OfF4BAHXpY8XtOqVKYV+fJYP/MaVXk=";
meta = {
description = "A Wrapper around the gitea API to get attachments by tags";
homepage = "https://git.entr0py.de/garionion/gitea-attachements-proxy";
};
}