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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
617 B
Nix
Raw Normal View History

2023-06-23 01:26:06 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
2018-02-09 08:41:49 +00:00
2023-06-23 01:26:06 +00:00
buildGoModule rec {
pname = "yaml2json";
2023-06-23 01:26:06 +00:00
version = "1.3.2";
2018-02-09 08:41:49 +00:00
src = fetchFromGitHub {
owner = "bronze1man";
repo = "yaml2json";
2021-02-15 13:50:48 +00:00
rev = "v${version}";
2023-06-23 01:26:06 +00:00
hash = "sha256-yVA5eV+/TxWN3wzsHy5++IGMAopkCz+PBfjSD+TNKc8=";
2018-02-09 08:41:49 +00:00
};
2023-06-23 01:26:06 +00:00
vendorHash = "sha256-g+yaVIx4jxpAQ/+WrGKxhVeliYx7nLQe/zsGpxV4Fn4=";
subPackages = [ "." ];
ldflags = [ "-s" "-w" ];
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 ];
};
}