From 1a57267a17c2fc17fb6e104846fabc3e363c326c Mon Sep 17 00:00:00 2001 From: Emile Date: Fri, 16 Aug 2024 19:50:26 +0200 Subject: initial commit --- default.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 default.nix (limited to 'default.nix') diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..dd888fa --- /dev/null +++ b/default.nix @@ -0,0 +1,18 @@ +{ pkgs ? import {}, lib }: + +pkgs.buildGoModule rec { + name = "r2wars-web-${version}"; + version = "1.0.0"; + + src = ./.; + vendorHash = null; + + CGO_ENABLED=0; + + meta = { + description = "A golang implementation of r2wars"; + homepage = "https://r2wa.rs"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ hanemile ]; + }; +} -- cgit 1.4.1