1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-01 01:51:24 +00:00
nixpkgs/pkgs/os-specific/linux/conspy/default.nix

38 lines
973 B
Nix
Raw Normal View History

2013-10-20 15:02:07 +01:00
{stdenv, fetchurl, autoconf, automake, ncurses}:
let
s = # Generated upstream information
rec {
baseName="conspy";
2016-01-01 01:30:16 +00:00
version="1.13";
2013-10-20 15:02:07 +01:00
name="${baseName}-${version}";
2016-01-01 01:30:16 +00:00
hash="059sag372n09y1ddb1i0sx013kzkbr8a9pjqk03kyijn8h1z5hl2";
url="mirror://sourceforge/project/conspy/conspy-1.13-1/conspy-1.13.tar.gz";
sha256="059sag372n09y1ddb1i0sx013kzkbr8a9pjqk03kyijn8h1z5hl2";
2013-10-20 15:02:07 +01: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";
license = stdenv.lib.licenses.epl10 ;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
};
}