2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
|
2021-02-16 17:04:54 +00:00
|
|
|
buildGoPackage rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "yaml2json";
|
2021-02-16 17:04:54 +00:00
|
|
|
version = "1.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
goPackagePath = "github.com/bronze1man/yaml2json";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bronze1man";
|
|
|
|
repo = "yaml2json";
|
2021-02-16 17:04:54 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0bhjzl4qibiyvn56wcsm85f3vwnlzf4gywy2gq9mrnbrl629amq1";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/bronze1man/yaml2json";
|
|
|
|
description = "Convert yaml to json";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = [ maintainers.adisbladis ];
|
|
|
|
};
|
|
|
|
}
|