2015-11-16 12:59:30 +01:00
|
|
|
{ lib, goPackages, fetchFromGitHub }:
|
|
|
|
|
|
|
|
goPackages.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";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = with goPackages; [ toml yaml-v2 ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Convert between TOML, YAML and JSON";
|
|
|
|
license = licenses.mit;
|
|
|
|
homepage = https://github.com/dbohdan/remarshal;
|
|
|
|
maintainers = with maintainers; [ offline ];
|
2015-11-18 11:33:50 +01:00
|
|
|
platforms = platforms.linux;
|
2015-11-16 12:59:30 +01:00
|
|
|
};
|
|
|
|
}
|