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