Merge pull request #17131 from cransom/jmespath

jp: init at 0.1.2
This commit is contained in:
Daiderd Jordan
2016-07-23 00:52:45 +02:00
committed by GitHub
3 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "jmespath-${version}";
version = "0.2.2";
rev = "${version}";
goPackagePath = "github.com/jmespath/go-jmespath";
src = fetchFromGitHub {
inherit rev;
owner = "jmespath";
repo = "go-jmespath";
sha256 = "0f4j0m44limnjd6q5fk152g6jq2a5cshcdms4p3a1br8pl9wp5fb";
};
meta = with stdenv.lib; {
description = "A JMESPath implementation in Go";
homepage = "https://github.com/jmespath/go-jmespath";
maintainers = with maintainers; [ cransom ];
license = licenses.asl20;
};
}

View File

@@ -0,0 +1,22 @@
{ stdenv, lib, buildGoPackage, fetchFromGitHub, jmespath }:
buildGoPackage rec {
name = "jp-${version}";
version = "0.1.2";
rev = "${version}";
goPackagePath = "github.com/jmespath/jp";
src = fetchFromGitHub {
inherit rev;
owner = "jmespath";
repo = "jp";
sha256 = "1i0jl0c062crigkxqx8zpyqliz8j4d37y95cna33jl777kx42r6h";
};
meta = with stdenv.lib; {
description = "A command line interface to the JMESPath expression language for JSON";
homepage = "https://github.com/jmespath/jp";
maintainers = with maintainers; [ cransom ];
license = licenses.asl20;
};
}