From 28d9936cec38475f6766cf07dd0b8a9d279e7632 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 28 Jul 2024 11:40:14 +0200 Subject: Remove goatcounter module/package (available upstream) --- pkgs/goatcounter/default.nix | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 pkgs/goatcounter/default.nix (limited to 'pkgs/goatcounter') diff --git a/pkgs/goatcounter/default.nix b/pkgs/goatcounter/default.nix deleted file mode 100644 index 2dcd1e3..0000000 --- a/pkgs/goatcounter/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub - -, withSQLite ? true -}: - -buildGoModule rec { - pname = "goatcounter"; - version = "2.5.0"; - - src = fetchFromGitHub { - owner = "arp242"; - repo = "goatcounter"; - rev = "v${version}"; - sha256 = "sha256-lwiLk/YYxX4QwSDjpU/mAikumGXYMzleRzmPjZGruZU="; - }; - - CGO_ENABLED = if withSQLite then 1 else 0; - subPackages = [ "cmd/goatcounter" ]; - - ldflags = [ "-X=zgo.at/goatcounter/v2.Version=${version}" ]; - - doCheck = false; - - vendorHash = "sha256-YAb3uBWQc6hWzF1Z5cAg8RzJQSJV+6dkppfczKS832s="; - - meta = with lib; { - description = "Easy web analytics. No tracking of personal data."; - homepage = "https://www.goatcounter.com/"; - license = { - spdxId = "LicenseRef-Goatcounter-EUPL-Modified"; - fullName = "European Union Public License (EUPL) 1.2 (modified)"; - url = "https://github.com/arp242/goatcounter/blob/master/LICENSE"; - free = true; - }; - platforms = platforms.unix; - }; -} -- cgit 1.4.1