Skip to content

Commit

Permalink
add goatcounter
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Dec 23, 2020
1 parent 133758d commit e53a57f
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
12 changes: 12 additions & 0 deletions nix/sources.json
Expand Up @@ -29,6 +29,18 @@
"rev": "2ae4cd999d368f1c556485c81cf786157370f73d",
"type": "git"
},
"goatcounter": {
"branch": "release-1.4",
"description": "Easy web analytics. No tracking of personal data.",
"homepage": "https://www.goatcounter.com",
"owner": "zgoat",
"repo": "goatcounter",
"rev": "9303ec02e214354a6c85e9868cba79e4d9abb818",
"sha256": "1d0vcchw5222q5bj1gk8ph5388qmkxyxz3zhmsz46vv64appmgaw",
"type": "tarball",
"url": "https://github.com/zgoat/goatcounter/archive/9303ec02e214354a6c85e9868cba79e4d9abb818.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"niv": {
"branch": "master",
"description": "Easy dependency management for Nix projects",
Expand Down
13 changes: 13 additions & 0 deletions pkgs/goatcounter/default.nix
@@ -0,0 +1,13 @@
{ sources ? import ../../nix/sources.nix, pkgs ? import sources.nixpkgs { }, ...
}:
pkgs.buildGoModule {
pname = "goatcounter";
version = sources.goatcounter.branch;
src = sources.goatcounter;

subPackages = [ "cmd/goatcounter" ];

vendorSha256 = "0zd994rccrsmg54jygd3spqzk4ahcqyffzpzqgjiw939hlbxvb6s";

doCheck = false;
}

0 comments on commit e53a57f

Please sign in to comment.