2021-01-23 12:26:19 +00:00
|
|
|
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
|
2016-07-20 22:24:46 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "jmespath";
|
2016-07-20 22:24:46 +01:00
|
|
|
version = "0.2.2";
|
2019-09-09 00:38:31 +01:00
|
|
|
rev = version;
|
2016-07-20 22:24:46 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/jmespath/go-jmespath";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
owner = "jmespath";
|
|
|
|
repo = "go-jmespath";
|
|
|
|
sha256 = "0f4j0m44limnjd6q5fk152g6jq2a5cshcdms4p3a1br8pl9wp5fb";
|
|
|
|
};
|
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
|
|
|
maintainers = with maintainers; [ cransom ];
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|