nixpkgs/pkgs/by-name/co/conspy/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

44 lines
801 B
Nix
Raw Normal View History

2021-12-21 11:10:50 +00:00
{
lib,
stdenv,
fetchurl,
autoconf,
automake,
ncurses,
}:
stdenv.mkDerivation rec {
pname = "conspy";
version = "1.16";
2013-10-20 14:02:07 +00:00
src = fetchurl {
2021-12-21 11:10:50 +00:00
url = "mirror://sourceforge/project/conspy/conspy-${version}-1/conspy-${version}.tar.gz";
sha256 = "02andak806vd04bgjlr0y0d2ddx7cazyf8nvca80vlh8x94gcppf";
2013-10-20 14:02:07 +00:00
curlOpts = " -A application/octet-stream ";
};
2021-12-21 11:10:50 +00:00
nativeBuildInputs = [
autoconf
automake
];
2021-12-21 11:10:50 +00:00
buildInputs = [
ncurses
];
2013-10-20 14:02:07 +00:00
preConfigure = ''
touch NEWS
echo "EPL 1.0" > COPYING
aclocal
automake --add-missing
autoconf
'';
2021-12-21 11:10:50 +00:00
meta = with lib; {
2013-10-20 14:02:07 +00:00
description = "Linux text console viewer";
mainProgram = "conspy";
2021-12-21 11:10:50 +00:00
license = licenses.epl10;
maintainers = with maintainers; [ raskin ];
platforms = platforms.linux;
2013-10-20 14:02:07 +00:00
};
}