Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 25 lines 722 B view raw
1{ stdenv, buildGoPackage, fetchFromGitHub }: 2 3buildGoPackage { 4 pname = "quicktemplate"; 5 version = "unstable-2019-07-08"; 6 goPackagePath = "github.com/valyala/quicktemplate"; 7 goDeps = ./deps.nix; 8 9 src = fetchFromGitHub { 10 owner = "valyala"; 11 repo = "quicktemplate"; 12 rev = "840e9171940bbc80bb1b925c880664cababae022"; 13 sha256 = "1pimf5bwivklsr438if6l8by34gr48a05gl6hq07cvc8z6wl01m2"; 14 }; 15 16 enableParallelBuilding = true; 17 18 meta = with stdenv.lib; { 19 homepage = "https://github.com/valyala/quicktemplate"; 20 description = "Fast, powerful, yet easy to use template engine for Go"; 21 license = licenses.mit; 22 maintainers = with maintainers; [ chiiruno ]; 23 platforms = platforms.all; 24 }; 25}