Skip to content

Commit 70d6d08

Browse files
authored
riffdiff: 3.3.3 -> 3.3.6 (NixOS#352930)
2 parents 6fa1961 + 4071a30 commit 70d6d08

File tree

3 files changed

+39
-25
lines changed

3 files changed

+39
-25
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
lib,
3+
rustPlatform,
4+
fetchFromGitHub,
5+
nix-update-script,
6+
riffdiff,
7+
testers,
8+
}:
9+
10+
rustPlatform.buildRustPackage rec {
11+
pname = "riffdiff";
12+
version = "3.3.6";
13+
14+
src = fetchFromGitHub {
15+
owner = "walles";
16+
repo = "riff";
17+
rev = "refs/tags/${version}";
18+
hash = "sha256-qXFSO2VIPaGnB+5Wp/u0FTcKnpcMLxW6uNykKL681lU=";
19+
};
20+
21+
cargoHash = "sha256-i6/wa2/ogyLwLBdIXqTYdJX9+SFf+p7Zm2j2Q3mje6w=";
22+
23+
passthru = {
24+
tests.version = testers.testVersion { package = riffdiff; };
25+
updateScript = nix-update-script { };
26+
};
27+
28+
meta = {
29+
description = "Diff filter highlighting which line parts have changed";
30+
homepage = "https://github.com/walles/riff";
31+
changelog = "https://github.com/walles/riff/releases/tag/${version}";
32+
license = lib.licenses.mit;
33+
maintainers = with lib.maintainers; [
34+
johnpyp
35+
getchoo
36+
];
37+
mainProgram = "riff";
38+
};
39+
}

pkgs/tools/text/riffdiff/default.nix

Lines changed: 0 additions & 23 deletions
This file was deleted.

pkgs/top-level/all-packages.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18138,8 +18138,6 @@ with pkgs;
1813818138

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

18141-
riffdiff = callPackage ../tools/text/riffdiff {};
18142-
1814318141
rman = callPackage ../development/tools/misc/rman { };
1814418142

1814518143
rnginline = with python3Packages; toPythonApplication rnginline;

0 commit comments

Comments
 (0)