summary refs log tree commit diff
path: root/pkgs/os-specific/linux/conspy/default.nix
blob: 12e7f798e79e3615518003192477abcf00d2cce2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ lib, stdenv, fetchurl, autoconf, automake, ncurses }:

stdenv.mkDerivation rec {
  pname = "conspy";
  version = "1.16";

  src = fetchurl {
    url = "mirror://sourceforge/project/conspy/conspy-${version}-1/conspy-${version}.tar.gz";
    sha256 = "02andak806vd04bgjlr0y0d2ddx7cazyf8nvca80vlh8x94gcppf";
    curlOpts = " -A application/octet-stream ";
  };

  buildInputs = [
    autoconf
    automake
    ncurses
  ];

  preConfigure = ''
    touch NEWS
    echo "EPL 1.0" > COPYING
    aclocal
    automake --add-missing
    autoconf
  '';

  meta = with lib; {
    description = "Linux text console viewer";
    license = licenses.epl10;
    maintainers = with maintainers; [ raskin ];
    platforms = platforms.linux;
  };
}