Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, autoconf, automake, ncurses }: 2 3stdenv.mkDerivation rec { 4 pname = "conspy"; 5 version = "1.16"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/project/conspy/conspy-${version}-1/conspy-${version}.tar.gz"; 9 sha256 = "02andak806vd04bgjlr0y0d2ddx7cazyf8nvca80vlh8x94gcppf"; 10 curlOpts = " -A application/octet-stream "; 11 }; 12 13 nativeBuildInputs = [ autoconf automake ]; 14 buildInputs = [ 15 ncurses 16 ]; 17 18 preConfigure = '' 19 touch NEWS 20 echo "EPL 1.0" > COPYING 21 aclocal 22 automake --add-missing 23 autoconf 24 ''; 25 26 meta = with lib; { 27 description = "Linux text console viewer"; 28 license = licenses.epl10; 29 maintainers = with maintainers; [ raskin ]; 30 platforms = platforms.linux; 31 }; 32}