riffdiff: 3.3.3 -> 3.3.6 (#352930)

This commit is contained in:
Sefa Eyeoglu
2024-11-03 19:36:21 +01:00
committed by GitHub
3 changed files with 39 additions and 25 deletions
+39
View File
@@ -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
View File
@@ -1,23 +0,0 @@
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "riffdiff";
version = "3.3.3";
src = fetchFromGitHub {
owner = "walles";
repo = "riff";
rev = version;
hash = "sha256-IdYQ8vD3ZIzqdNY4JtR8f2huV/DWOhV8FUn7tuRe7IQ=";
};
cargoHash = "sha256-1on4CTstEvjNLtk1RG6dcNl0XhaPYAy+U0DYn/aVzEg=";
meta = with lib; {
description = "Diff filter highlighting which line parts have changed";
homepage = "https://github.com/walles/riff";
license = licenses.mit;
maintainers = with maintainers; [ johnpyp ];
mainProgram = "riff";
};
}
-2
View File
@@ -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;