12 src = fetchFromGitHub {
16 sha256 = "sha256-y5gep3v+totupFbsAuGhySUbcESmQeGHWteQFFXj2Kw=";
19 vendorHash = "sha256-cRPAjFVvjCgT+m8ceAQJt5ZE8ax7jefzdVWPGM45LpY=";
27 nativeBuildInputs = [ installShellFiles ];
29 # test fails with the injected version
31 substituteInPlace internal/cmd/cmds_test.go \
32 --replace "version (development)" ${version}
38 "-X=github.com/homeport/dyff/internal/cmd.version=${version}"
42 installShellCompletion --cmd dyff \
43 --bash <($out/bin/dyff completion bash) \
44 --fish <($out/bin/dyff completion fish) \
45 --zsh <($out/bin/dyff completion zsh)
49 description = "Diff tool for YAML files, and sometimes JSON";
52 dyff is inspired by the way the old BOSH v1 deployment output reported
53 changes from one version to another by only showing the parts of a YAML
56 Each difference is referenced by its location in the YAML document by
57 using either the Spruce or go-patch path syntax.
59 homepage = "https://github.com/homeport/dyff";
60 license = licenses.mit;
61 maintainers = with maintainers; [