mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
ff323ed355
via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
23 lines
562 B
Nix
23 lines
562 B
Nix
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
pname = "refmt";
|
|
version = "1.6.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rjeczalik";
|
|
repo = "refmt";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-HiAWSR2S+3OcIgwdQ0ltW37lcG+OHkDRDUF07rfNcJY=";
|
|
};
|
|
|
|
vendorHash = "sha256-MiYUDEF9W0VAiOX6uE8doXtGAekIrA1cfA8A2a7xd2I=";
|
|
|
|
meta = with lib; {
|
|
description = "Reformat HCL <-> JSON <-> YAML";
|
|
homepage = "https://github.com/rjeczalik/refmt";
|
|
license = licenses.agpl3Only;
|
|
maintainers = with lib.maintainers; [ deemp ];
|
|
};
|
|
}
|