Skip to content

Commit

Permalink
riffdiff: 3.3.3 -> 3.3.6 (#352930)
Browse files Browse the repository at this point in the history
  • Loading branch information
Scrumplex authored Nov 3, 2024
2 parents 6fa1961 + 4071a30 commit 70d6d08
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 25 deletions.
39 changes: 39 additions & 0 deletions pkgs/by-name/ri/riffdiff/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
lib,
rustPlatform,
fetchFromGitHub,
nix-update-script,
riffdiff,
testers,
}:

rustPlatform.buildRustPackage rec {
pname = "riffdiff";
version = "3.3.6";

src = fetchFromGitHub {
owner = "walles";
repo = "riff";
rev = "refs/tags/${version}";
hash = "sha256-qXFSO2VIPaGnB+5Wp/u0FTcKnpcMLxW6uNykKL681lU=";
};

cargoHash = "sha256-i6/wa2/ogyLwLBdIXqTYdJX9+SFf+p7Zm2j2Q3mje6w=";

passthru = {
tests.version = testers.testVersion { package = riffdiff; };
updateScript = nix-update-script { };
};

meta = {
description = "Diff filter highlighting which line parts have changed";
homepage = "https://github.com/walles/riff";
changelog = "https://github.com/walles/riff/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
johnpyp
getchoo
];
mainProgram = "riff";
};
}
23 changes: 0 additions & 23 deletions pkgs/tools/text/riffdiff/default.nix

This file was deleted.

2 changes: 0 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18138,8 +18138,6 @@ with pkgs;

riff = callPackage ../development/tools/misc/riff { };

riffdiff = callPackage ../tools/text/riffdiff {};

rman = callPackage ../development/tools/misc/rman { };

rnginline = with python3Packages; toPythonApplication rnginline;
Expand Down

0 comments on commit 70d6d08

Please sign in to comment.