yaml2json: init at unstable-2017-05-03

This commit is contained in:
adisbladis 2018-02-09 16:41:49 +08:00
parent 7ca084292a
commit d1c5b483d2
No known key found for this signature in database
GPG key ID: ED58F95069B004F5
3 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "yaml2json-${version}";
version = "unstable-2017-05-03";
goPackagePath = "github.com/bronze1man/yaml2json";
goDeps = ./deps.nix;
src = fetchFromGitHub {
rev = "ee8196e587313e98831c040c26262693d48c1a0c";
owner = "bronze1man";
repo = "yaml2json";
sha256 = "16a2sqzbam5adbhfvilnpdabzwncs7kgpr0cn4gp09h2imzsprzw";
};
meta = with stdenv.lib; {
homepage = https://github.com/bronze1man/yaml2json;
description = "Convert yaml to json";
license = with licenses; [ mit ];
maintainers = [ maintainers.adisbladis ];
};
}

View file

@ -0,0 +1,11 @@
[
{
goPackagePath = "gopkg.in/yaml.v2";
fetch = {
type = "git";
url = "https://gopkg.in/yaml.v2";
rev = "d670f9405373e636a5a2765eea47fac0c9bc91a4";
sha256 = "1w1xid51n8v1mydn2m3vgggw8qgpd5a5sr62snsc77d99fpjsrs0";
};
}
]

View file

@ -8058,6 +8058,8 @@ with pkgs;
yacc = bison;
yaml2json = callPackage ../development/tools/yaml2json { };
ycmd = callPackage ../development/tools/misc/ycmd {
inherit (darwin.apple_sdk.frameworks) Cocoa;
llvmPackages = llvmPackages_5;