yaml2json: init at unstable-2017-05-03
This commit is contained in:
parent
7ca084292a
commit
d1c5b483d2
3 changed files with 37 additions and 0 deletions
24
pkgs/development/tools/yaml2json/default.nix
Normal file
24
pkgs/development/tools/yaml2json/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
11
pkgs/development/tools/yaml2json/deps.nix
Normal file
11
pkgs/development/tools/yaml2json/deps.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
[
|
||||
{
|
||||
goPackagePath = "gopkg.in/yaml.v2";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://gopkg.in/yaml.v2";
|
||||
rev = "d670f9405373e636a5a2765eea47fac0c9bc91a4";
|
||||
sha256 = "1w1xid51n8v1mydn2m3vgggw8qgpd5a5sr62snsc77d99fpjsrs0";
|
||||
};
|
||||
}
|
||||
]
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue