summary refs log tree commit diff
path: root/pkgs/development/tools/remarshal/default.nix
blob: ecf919a982984a1d47efe333545f2b6ed3b43b16 (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
24
{ lib, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  name = "remarshal-${rev}";
  rev = "0.3.0";
  goPackagePath = "github.com/dbohdan/remarshal";

  src = fetchFromGitHub {
    rev = "v${rev}";
    owner  = "dbohdan";
    repo   = "remarshal";
    sha256 = "0lhsqca3lq3xvdwsmrngv4p6b7k2lkbfnxnk5qj6jdd5y7f4b496";
  };

  goDeps = ./deps.nix;

  meta = with lib; {
    description = "Convert between TOML, YAML and JSON";
    license = licenses.mit;
    homepage = https://github.com/dbohdan/remarshal;
    maintainers = with maintainers; [ offline ];
    platforms = platforms.linux;
  };
}