Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, ncurses }: 2 3stdenv.mkDerivation rec { 4 pname = "cdk"; 5 version = "5.0-20221025"; 6 7 src = fetchurl { 8 urls = [ 9 "ftp://ftp.invisible-island.net/cdk/cdk-${version}.tgz" 10 "https://invisible-mirror.net/archives/cdk/cdk-${version}.tgz" 11 ]; 12 hash = "sha256-A8z6Icn8PWHd0P2hnaVFNZBVu+71ociC37n/SPN0avI="; 13 }; 14 15 buildInputs = [ 16 ncurses 17 ]; 18 19 enableParallelBuilding = true; 20 21 meta = with lib; { 22 description = "Curses development kit"; 23 homepage = "https://invisible-island.net/cdk/"; 24 changelog = "https://invisible-island.net/cdk/CHANGES"; 25 license = licenses.mit; 26 maintainers = with maintainers; [ raskin ]; 27 platforms = platforms.linux; 28 }; 29}