nixpkgs/pkgs/development/tools/remarshal/default.nix
Kamil Chmielewski 914e0e594c buildGoPackage: deps.json -> deps.nix in NIXON
https://github.com/NixOS/nixpkgs/pull/17254#issuecomment-245295541

* update docs to describe `deps.nix`
* include goDeps in nix-shell GOPATH
* NixOS 16.09 rel notes about replacing goPackages
2016-09-16 00:04:55 +01:00

24 lines
605 B
Nix

{ 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;
};
}