2021-01-25 00:26:54 -08:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2018-02-09 00:41:49 -08:00
|
|
|
|
|
|
|
|
2021-02-15 05:50:48 -08:00
|
|
|
buildGoPackage rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "yaml2json";
|
2021-02-15 05:50:48 -08:00
|
|
|
version = "1.3";
|
2018-02-09 00:41:49 -08:00
|
|
|
goPackagePath = "github.com/bronze1man/yaml2json";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bronze1man";
|
|
|
|
repo = "yaml2json";
|
2021-02-15 05:50:48 -08:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0bhjzl4qibiyvn56wcsm85f3vwnlzf4gywy2gq9mrnbrl629amq1";
|
2018-02-09 00:41:49 -08:00
|
|
|
};
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/bronze1man/yaml2json";
|
2018-02-09 00:41:49 -08:00
|
|
|
description = "Convert yaml to json";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = [ maintainers.adisbladis ];
|
|
|
|
};
|
|
|
|
}
|