Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 25 lines 690 B view raw
1{ stdenv, buildGoPackage, fetchFromGitHub }: 2 3buildGoPackage rec { 4 name = "easyjson-unstable-${version}"; 5 version = "2018-08-23"; 6 goPackagePath = "github.com/mailru/easyjson"; 7 goDeps = ./deps.nix; 8 9 src = fetchFromGitHub { 10 owner = "mailru"; 11 repo = "easyjson"; 12 rev = "60711f1a8329503b04e1c88535f419d0bb440bff"; 13 sha256 = "0234jp6134wkihdpdwq1hvzqblgl5khc1wp6dyi2h0hgh88bhdk1"; 14 }; 15 16 enableParallelBuilding = true; 17 18 meta = with stdenv.lib; { 19 homepage = "https://github.com/mailru/easyjson"; 20 description = "Fast JSON serializer for golang"; 21 license = licenses.mit; 22 maintainers = with maintainers; [ chiiruno ]; 23 platforms = platforms.all; 24 }; 25}