nixpkgs/pkgs/os-specific/linux/conspy/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

34 lines
778 B
Nix

{ 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 ";
};
nativeBuildInputs = [ autoconf automake ];
buildInputs = [
ncurses
];
preConfigure = ''
touch NEWS
echo "EPL 1.0" > COPYING
aclocal
automake --add-missing
autoconf
'';
meta = with lib; {
description = "Linux text console viewer";
mainProgram = "conspy";
license = licenses.epl10;
maintainers = with maintainers; [ raskin ];
platforms = platforms.linux;
};
}