nixpkgs/pkgs/os-specific/linux/fbterm/default.nix
Michael Raskin 25b3fe32ad Adding myself as a maintainer of some of the packages
svn path=/nixpkgs/trunk/; revision=16572
2009-08-04 07:49:16 +00:00

32 lines
782 B
Nix

a :
let
fetchurl = a.fetchurl;
version = a.lib.attrByPath ["version"] "1.2" a;
buildInputs = with a; [
gpm fontconfig freetype pkgconfig
];
in
rec {
src = fetchurl {
url = "http://fbterm.googlecode.com/files/fbterm-${version}.tar.gz";
sha256 = "0q4axmnpwlpjlpaj19iw7nyxkqsvwq767szdkzsgancq99afwqyd";
};
inherit buildInputs;
configureFlags = [];
fixInc = a.fullDepEntry (''
sed -e '/ifdef SYS_signalfd/atypedef long long loff_t;' -i src/fbterm.cpp
'') ["doUnpack" "minInit"];
/* doConfigure should be removed if not needed */
phaseNames = ["fixInc" "doConfigure" "doMakeInstall"];
name = "fbterm-" + version;
meta = {
description = "Framebuffer terminal emulator";
maintainers = [a.lib.maintainers.raskin];
};
}