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