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