1
0
Fork 0
nix-overlay/packages/anonymous-overflow.nix

29 lines
825 B
Nix
Raw Normal View History

2023-05-10 23:04:05 +00:00
{ pkgs, lib }:
2023-02-15 14:00:38 +00:00
pkgs.buildGoModule rec {
pname = "anonymous-overflow";
2023-10-21 11:04:56 +00:00
version = "1.10.1";
2023-02-15 14:00:38 +00:00
src = pkgs.fetchFromGitHub {
owner = "httpjamesm";
repo = "AnonymousOverflow";
rev = "v${version}";
2023-10-21 11:04:56 +00:00
hash = "sha256-g4/C2L+ZTb+oJ9+vfMP4PxyBKRF30VCTvEQCuIALInE=";
2023-02-15 14:00:38 +00:00
};
2023-12-26 11:59:53 +00:00
vendorHash = "sha256-dIzK8r3pPmV8B2xhpSK7Vg82RnsZ2kptEYOkYPZrPik=";
2023-02-15 14:00:38 +00:00
postInstall = ''
mkdir -p $out/share/anonymous-overflow
cp -r public $out/share/anonymous-overflow/public
cp -r templates $out/share/anonymous-overflow/templates
'';
2023-02-15 14:00:38 +00:00
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" ];
};
}