nixpkgs/pkgs/os-specific/linux/conspy/default.nix

38 lines
957 B
Nix
Raw Normal View History

2021-01-15 14:45:37 +00:00
{lib, stdenv, fetchurl, autoconf, automake, ncurses}:
2013-10-20 14:02:07 +00:00
let
s = # Generated upstream information
rec {
baseName="conspy";
2020-08-25 06:32:06 +00:00
version="1.16";
2013-10-20 14:02:07 +00:00
name="${baseName}-${version}";
2020-08-25 06:32:06 +00:00
hash="02andak806vd04bgjlr0y0d2ddx7cazyf8nvca80vlh8x94gcppf";
url="mirror://sourceforge/project/conspy/conspy-1.16-1/conspy-1.16.tar.gz";
sha256="02andak806vd04bgjlr0y0d2ddx7cazyf8nvca80vlh8x94gcppf";
2013-10-20 14:02:07 +00:00
};
buildInputs = [
autoconf automake ncurses
];
in
stdenv.mkDerivation {
inherit (s) name version;
inherit buildInputs;
src = fetchurl {
inherit (s) url sha256;
curlOpts = " -A application/octet-stream ";
};
preConfigure = ''
touch NEWS
echo "EPL 1.0" > COPYING
aclocal
automake --add-missing
autoconf
'';
meta = {
inherit (s) version;
description = "Linux text console viewer";
2021-01-15 14:45:37 +00:00
license = lib.licenses.epl10 ;
maintainers = [lib.maintainers.raskin];
platforms = lib.platforms.linux;
2013-10-20 14:02:07 +00:00
};
}