1{stdenv, fetchurl, autoconf, automake, ncurses}:
2let
3 s = # Generated upstream information
4 rec {
5 baseName="conspy";
6 version="1.14";
7 name="${baseName}-${version}";
8 hash="069k26xpzsvrn3197ix5yd294zvz03zi2xqj4fip6rlsw74habsf";
9 url="mirror://sourceforge/project/conspy/conspy-1.14-1/conspy-1.14.tar.gz";
10 sha256="069k26xpzsvrn3197ix5yd294zvz03zi2xqj4fip6rlsw74habsf";
11 };
12 buildInputs = [
13 autoconf automake ncurses
14 ];
15in
16stdenv.mkDerivation {
17 inherit (s) name version;
18 inherit buildInputs;
19 src = fetchurl {
20 inherit (s) url sha256;
21 curlOpts = " -A application/octet-stream ";
22 };
23 preConfigure = ''
24 touch NEWS
25 echo "EPL 1.0" > COPYING
26 aclocal
27 automake --add-missing
28 autoconf
29 '';
30 meta = {
31 inherit (s) version;
32 description = "Linux text console viewer";
33 license = stdenv.lib.licenses.epl10 ;
34 maintainers = [stdenv.lib.maintainers.raskin];
35 platforms = stdenv.lib.platforms.linux;
36 };
37}