Author: egorochkin
Date: Thu Oct 14 12:12:27 2010
New Revision: 24283
URL: https://svn.nixos.org/websvn/nix/?rev=24283&sc=1

Log:
IPW2100 Firmware: Packaged

Added:
   nixpkgs/trunk/pkgs/os-specific/linux/firmware/ipw2100/
   nixpkgs/trunk/pkgs/os-specific/linux/firmware/ipw2100/default.nix
Modified:
   nixpkgs/trunk/pkgs/top-level/all-packages.nix

Added: nixpkgs/trunk/pkgs/os-specific/linux/firmware/ipw2100/default.nix
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/os-specific/linux/firmware/ipw2100/default.nix   Thu Oct 
14 12:12:27 2010        (r24283)
@@ -0,0 +1,25 @@
+{stdenv, fetchurl}:
+
+stdenv.mkDerivation {
+  name = "ipw2100-fw-1.3";
+  src = fetchurl {
+    url = http://bughost.org/firmware/ipw2100-fw-1.3.tgz;
+    sha256 = "18m7wgd062qwfdr6y0kjrvf1715wjcjn4yml2sk29ls8br2pq471";
+  };
+
+  unpackPhase = "tar xvzf $src";
+
+  # Installation copies the firmware AND the license.  The license
+  # says: "Your rights to redistribute the Software shall be
+  # contingent upon your installation of this Agreement in its
+  # entirety in the same directory as the Software."
+  installPhase = "ensureDir $out; cp * $out";
+  
+  meta = {
+    # "... you may transfer a copy of the Software ... provided such
+    # recipient agrees to be fully bound by the terms hereof."
+    description = "Firmware for the Intel 2100BG wireless card (requires 
acceptance of license, see http://ipw2100.sourceforge.net/firmware.php?fid=2)";
+    homepage = http://ipw2100.sourceforge.net/firmware.php;
+    license = http://ipw2100.sourceforge.net/firmware.php?fid=2;
+  };
+}

Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix       Thu Oct 14 12:11:37 
2010        (r24282)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix       Thu Oct 14 12:12:27 
2010        (r24283)
@@ -4456,6 +4456,8 @@
 
   iptables = callPackage ../os-specific/linux/iptables { };
 
+  ipw2100fw = callPackage ../os-specific/linux/firmware/ipw2100 { };
+
   ipw2200fw = callPackage ../os-specific/linux/firmware/ipw2200 { };
 
   iwlwifi1000ucode = callPackage 
../os-specific/linux/firmware/iwlwifi-1000-ucode { };
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to