depot/third_party/nixpkgs/pkgs/development/tools/yaml2json/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

26 lines
617 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "yaml2json";
version = "1.3.2";
src = fetchFromGitHub {
owner = "bronze1man";
repo = "yaml2json";
rev = "v${version}";
hash = "sha256-yVA5eV+/TxWN3wzsHy5++IGMAopkCz+PBfjSD+TNKc8=";
};
vendorHash = "sha256-g+yaVIx4jxpAQ/+WrGKxhVeliYx7nLQe/zsGpxV4Fn4=";
subPackages = [ "." ];
ldflags = [ "-s" "-w" ];
meta = with lib; {
homepage = "https://github.com/bronze1man/yaml2json";
description = "Convert yaml to json";
license = with licenses; [ mit ];
maintainers = [ maintainers.adisbladis ];
};
}