Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 22 lines 592 B view raw
1{ stdenv, lib, buildGoPackage, fetchFromGitHub }: 2 3buildGoPackage rec { 4 name = "jmespath-${version}"; 5 version = "0.2.2"; 6 rev = "${version}"; 7 8 goPackagePath = "github.com/jmespath/go-jmespath"; 9 10 src = fetchFromGitHub { 11 inherit rev; 12 owner = "jmespath"; 13 repo = "go-jmespath"; 14 sha256 = "0f4j0m44limnjd6q5fk152g6jq2a5cshcdms4p3a1br8pl9wp5fb"; 15 }; 16 meta = with stdenv.lib; { 17 description = "A JMESPath implementation in Go"; 18 homepage = https://github.com/jmespath/go-jmespath; 19 maintainers = with maintainers; [ cransom ]; 20 license = licenses.asl20; 21 }; 22}