nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, buildGoPackage, fetchFromGitHub }:
2
3
4buildGoPackage {
5 pname = "yaml2json";
6 version = "unstable-2017-05-03";
7 goPackagePath = "github.com/bronze1man/yaml2json";
8
9 goDeps = ./deps.nix;
10
11 src = fetchFromGitHub {
12 rev = "ee8196e587313e98831c040c26262693d48c1a0c";
13 owner = "bronze1man";
14 repo = "yaml2json";
15 sha256 = "16a2sqzbam5adbhfvilnpdabzwncs7kgpr0cn4gp09h2imzsprzw";
16 };
17
18 meta = with stdenv.lib; {
19 homepage = https://github.com/bronze1man/yaml2json;
20 description = "Convert yaml to json";
21 license = with licenses; [ mit ];
22 maintainers = [ maintainers.adisbladis ];
23 };
24}