2022-05-02 04:07:23 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2016-07-20 22:24:46 +01:00
|
|
|
|
2022-05-02 04:07:23 +01:00
|
|
|
buildGoModule rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "jmespath";
|
2022-05-02 04:07:23 +01:00
|
|
|
version = "0.4.0";
|
2016-07-20 22:24:46 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jmespath";
|
|
|
|
repo = "go-jmespath";
|
2022-05-02 04:07:23 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-djA/7TCmAqCsht28b1itoiWd8Mtdsn/5uLxyT23K/qM=";
|
2016-07-20 22:24:46 +01:00
|
|
|
};
|
2022-05-02 04:07:23 +01:00
|
|
|
|
|
|
|
vendorSha256 = "sha256-Q12muprcKB7fCxemESb4sGPyYIdmgOt3YXVUln7oabw=";
|
|
|
|
|
|
|
|
excludedPackages = [
|
|
|
|
"./internal/testify"
|
|
|
|
];
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2016-07-20 22:24:46 +01:00
|
|
|
description = "A JMESPath implementation in Go";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/jmespath/go-jmespath";
|
2016-07-20 22:24:46 +01:00
|
|
|
license = licenses.asl20;
|
2022-05-05 01:46:39 +01:00
|
|
|
maintainers = with maintainers; [ cransom ];
|
|
|
|
mainProgram = "jpgo";
|
2016-07-20 22:24:46 +01:00
|
|
|
};
|
|
|
|
}
|