1
0
Fork 0
nix-overlay/packages/anonymous-overflow.nix
Daniel Kempkens 74da09a319
All checks were successful
Update Flake / update-flake (push) Successful in 1m18s
Build / build-amd64-linux (push) Successful in 1m26s
Build / build-arm64-linux (push) Successful in 12m23s
all: switch to vendorHash
2023-12-26 12:59:53 +01:00

29 lines
825 B
Nix

{ pkgs, lib }:
pkgs.buildGoModule rec {
pname = "anonymous-overflow";
version = "1.10.1";
src = pkgs.fetchFromGitHub {
owner = "httpjamesm";
repo = "AnonymousOverflow";
rev = "v${version}";
hash = "sha256-g4/C2L+ZTb+oJ9+vfMP4PxyBKRF30VCTvEQCuIALInE=";
};
vendorHash = "sha256-dIzK8r3pPmV8B2xhpSK7Vg82RnsZ2kptEYOkYPZrPik=";
postInstall = ''
mkdir -p $out/share/anonymous-overflow
cp -r public $out/share/anonymous-overflow/public
cp -r templates $out/share/anonymous-overflow/templates
'';
meta = with lib; {
description = "View StackOverflow in privacy and without the clutter.";
homepage = "https://github.com/httpjamesm/AnonymousOverflow";
license = [ licenses.mpl20 ];
platforms = [ "x86_64-darwin" "aarch64-darwin" "aarch64-linux" "x86_64-linux" ];
};
}