nixpkgs/pkgs/development/tools/yaml2json/default.nix

23 lines
549 B
Nix
Raw Normal View History

{ lib, buildGoPackage, fetchFromGitHub }:
2018-02-09 08:41:49 +00:00
2021-02-15 13:50:48 +00:00
buildGoPackage rec {
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
};
meta = with lib; {
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 ];
};
}