nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchurl,
5 gettext,
6 pkg-config,
7 icu,
8}:
9
10stdenv.mkDerivation rec {
11 pname = "dwdiff";
12 version = "2.1.4";
13
14 src = fetchurl {
15 url = "https://os.ghalkes.nl/dist/dwdiff-${version}.tar.bz2";
16 sha256 = "sha256-3xb+xE3LRn1lpCRqQ2KPk3QZlsF3PpMLkMbd4i3Vjgo=";
17 };
18
19 nativeBuildInputs = [ pkg-config ];
20
21 buildInputs = [
22 gettext
23 icu
24 ];
25
26 meta = with lib; {
27 description = "Front-end for the diff program that operates at the word level instead of the line level";
28 homepage = "https://os.ghalkes.nl/dwdiff.html";
29 license = licenses.gpl3Only;
30 maintainers = with maintainers; [ onny ];
31 };
32
33}