summary refs log tree commit diff
path: root/pkgs/applications/virtualization/bochs/default.nix
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@gmail.com>2014-09-10 15:59:54 -0300
committerAndersonTorres <torres.anderson.85@gmail.com>2014-09-10 21:34:50 -0300
commitb39e5ce957175d939a8f4d20bca406d8880dc1af (patch)
tree5d7d00cd28d24c66237c9a6867639ccb4c9243d3 /pkgs/applications/virtualization/bochs/default.nix
parentff1b7aa33298ceae8e604fc89c8276f8c8ed62de (diff)
downloadnixpkgs-b39e5ce957175d939a8f4d20bca406d8880dc1af.tar
nixpkgs-b39e5ce957175d939a8f4d20bca406d8880dc1af.tar.gz
nixpkgs-b39e5ce957175d939a8f4d20bca406d8880dc1af.tar.bz2
nixpkgs-b39e5ce957175d939a8f4d20bca406d8880dc1af.tar.lz
nixpkgs-b39e5ce957175d939a8f4d20bca406d8880dc1af.tar.xz
nixpkgs-b39e5ce957175d939a8f4d20bca406d8880dc1af.tar.zst
nixpkgs-b39e5ce957175d939a8f4d20bca406d8880dc1af.zip
Small style fixups
In this commit, I modified some files, conforming them to a
idiosyncratic standard - mainly, a template for meta attribs.
Diffstat (limited to 'pkgs/applications/virtualization/bochs/default.nix')
-rw-r--r--pkgs/applications/virtualization/bochs/default.nix17
1 files changed, 10 insertions, 7 deletions
diff --git a/pkgs/applications/virtualization/bochs/default.nix b/pkgs/applications/virtualization/bochs/default.nix
index 74ce7bdfcaa..95db0dd67a1 100644
--- a/pkgs/applications/virtualization/bochs/default.nix
+++ b/pkgs/applications/virtualization/bochs/default.nix
@@ -5,8 +5,7 @@
 , termSupport ? true , ncurses ? null, readline ? null
 , wxSupport ? false, wxGTK ? null
 , wgetSupport ? false, wget ? null
-, curlSupport ? false, curl ? null
-}:
+, curlSupport ? false, curl ? null }:
 
 assert sdlSupport -> (SDL != null);
 assert termSupport -> (ncurses != null&& readline != null);
@@ -52,15 +51,19 @@ stdenv.mkDerivation rec {
 
   NIX_CFLAGS_COMPILE="-I${gtk}/include/gtk-2.0/";
 	
-  meta = {
+  meta = with stdenv.lib; {
     description = "An open-source IA-32 (x86) PC emulator";
     longDescription = ''
-    Bochs is an open-source (LGPL), highly portable IA-32 PC emulator, written in C++, that runs on most popular platforms. It includes emulation of the Intel x86 CPU, common I/O devices, and a custom BIOS.
+    Bochs is an open-source (LGPL), highly portable IA-32 PC emulator,
+    written in C++, that runs on most popular platforms. It includes
+    emulation of the Intel x86 CPU, common I/O devices, and a custom
+    BIOS.
     '';
     homepage = http://bochs.sourceforge.net/;
-    license = stdenv.lib.licenses.lgpl2Plus;
-    maintainers = [ stdenv.lib.maintainers.AndersonTorres ];
-    platforms = stdenv.lib.platforms.linux;
+    license = licenses.lgpl2Plus;
+    maintainers = [ maintainers.AndersonTorres ];
+    platforms = platforms.linux;
   };
 }
+
 # TODO: study config.bochs.* implementation (like config.ffmpeg.* options)