diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2008-12-08 12:44:42 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2008-12-08 12:44:42 +0000 |
commit | e66080438b663e311ed1ff4e000e5c03c5b3d2a6 (patch) | |
tree | a3f6e2029e4df37ac1779832c90d2a853e3c72ed /pkgs | |
parent | bcb25659a1822a69206d9d17fdbfd2f2a92e7a0a (diff) | |
download | nixpkgs-e66080438b663e311ed1ff4e000e5c03c5b3d2a6.tar nixpkgs-e66080438b663e311ed1ff4e000e5c03c5b3d2a6.tar.gz nixpkgs-e66080438b663e311ed1ff4e000e5c03c5b3d2a6.tar.bz2 nixpkgs-e66080438b663e311ed1ff4e000e5c03c5b3d2a6.tar.lz nixpkgs-e66080438b663e311ed1ff4e000e5c03c5b3d2a6.tar.xz nixpkgs-e66080438b663e311ed1ff4e000e5c03c5b3d2a6.tar.zst nixpkgs-e66080438b663e311ed1ff4e000e5c03c5b3d2a6.zip |
Added FBTerm - framebuffer terminal emulator
svn path=/nixpkgs/trunk/; revision=13596
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/os-specific/linux/fbterm/default.nix | 26 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 | ||||
-rw-r--r-- | pkgs/top-level/template-composing-builder.nix | 3 |
3 files changed, 31 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/fbterm/default.nix b/pkgs/os-specific/linux/fbterm/default.nix new file mode 100644 index 00000000000..189272b7d9b --- /dev/null +++ b/pkgs/os-specific/linux/fbterm/default.nix @@ -0,0 +1,26 @@ +a : +let + fetchurl = a.fetchurl; + + version = a.lib.getAttr ["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 = []; + + /* doConfigure should be removed if not needed */ + phaseNames = ["doConfigure" "doMakeInstall"]; + + name = "fbterm-" + version; + meta = { + description = "Framebuffer terminal emulator"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ec4391d83d3..beaa73d43fc 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5926,6 +5926,10 @@ let inherit fetchurl stdenv gettext; }; + fbterm = builderDefsPackage (import ../os-specific/linux/fbterm) { + inherit fontconfig gpm freetype pkgconfig; + }; + fuse = import ../os-specific/linux/fuse { inherit fetchurl stdenv utillinux; }; diff --git a/pkgs/top-level/template-composing-builder.nix b/pkgs/top-level/template-composing-builder.nix index b7b3db268b5..0efb347d821 100644 --- a/pkgs/top-level/template-composing-builder.nix +++ b/pkgs/top-level/template-composing-builder.nix @@ -1,9 +1,8 @@ a : let - lib = a.lib; fetchurl = a.fetchurl; - version = lib.getAttr ["version"] "" a; + version = a.lib.getAttr ["version"] "" a; buildInputs = with a; [ ]; |