mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:33:57 +00:00
273251e593
Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Co-authored-by: Jan Christoph Ebersbach <jan-christoph.ebersbach@identinet.io>
37 lines
988 B
Nix
37 lines
988 B
Nix
{ lib, buildGoModule, fetchFromGitHub}:
|
|
|
|
buildGoModule rec {
|
|
pname = "dyff";
|
|
version = "1.4.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "homeport";
|
|
repo = "dyff";
|
|
rev = "v${version}";
|
|
sha256 = "0r1nfwglyw8b46n17bpmgscfmjhjsbk83lgkpm63ysy0h5r84dq8";
|
|
};
|
|
|
|
vendorSha256 = "12mirnw229x5jkzda0c45vnjnv7fjvzf0rm3fcy5f3wza6hkx6q7";
|
|
|
|
subPackages = [
|
|
"cmd/dyff"
|
|
"pkg/dyff"
|
|
"internal/cmd"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A diff tool for YAML files, and sometimes JSON";
|
|
longDescription = ''
|
|
dyff is inspired by the way the old BOSH v1 deployment output reported
|
|
changes from one version to another by only showing the parts of a YAML
|
|
file that change.
|
|
|
|
Each difference is referenced by its location in the YAML document by
|
|
using either the Spruce or go-patch path syntax.
|
|
'';
|
|
homepage = "https://github.com/homeport/dyff";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ edlimerkaj ];
|
|
};
|
|
}
|