Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, fetchFromGitHub, buildGoModule }: 2 3buildGoModule rec { 4 pname = "go-org"; 5 version = "1.5.0"; 6 7 src = fetchFromGitHub { 8 owner = "niklasfasching"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-Wp8WEfRcrtn+VdcbehYcOJI5FkPQiyo6nLsTDvR7riE="; 12 }; 13 14 vendorSha256 = "sha256-njx89Ims7GZql8sbVmH/E9gM/ONRWiPRLVs+FzsCSzI="; 15 16 postInstallCheck = '' 17 $out/bin/go-org > /dev/null 18 ''; 19 20 meta = with lib; { 21 description = "Org-mode parser and static site generator in go"; 22 homepage = "https://niklasfasching.github.io/go-org"; 23 license = licenses.mit; 24 maintainers = with maintainers; [ payas ]; 25 }; 26}