about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/gojsontoyaml/default.nix
blob: f05d0405aebf11ae7a2ad13d094c1418b8cecff5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "gojsontoyaml";
  version = "0.1.0";

  src = fetchFromGitHub {
    owner = "brancz";
    repo = "gojsontoyaml";
    rev = "v${version}";
    sha256 = "sha256-ebxz2uTH7XwD3j6JnsfET6aCGYjvsCjow/sU9pagg50=";
  };

  vendorHash = null;

  meta = with lib; {
    description = "Simply tool to convert json to yaml written in Go";
    mainProgram = "gojsontoyaml";
    homepage = "https://github.com/brancz/gojsontoyaml";
    license = licenses.mit;
    maintainers = [ maintainers.bryanasdev000 ];
  };
}