about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEvgeny Egorochkin <phreedom.stdin@gmail.com>2010-10-14 12:12:27 +0000
committerEvgeny Egorochkin <phreedom.stdin@gmail.com>2010-10-14 12:12:27 +0000
commit66e7ed0a89902b0d0614c1e687cc4bf0fd366f75 (patch)
treefadfb43abaa7111bbb1d80ee8a17b2a560e45635
parent216ae9feba5360d6c4ce20daadae360146e2fa7c (diff)
downloadnixlib-66e7ed0a89902b0d0614c1e687cc4bf0fd366f75.tar
nixlib-66e7ed0a89902b0d0614c1e687cc4bf0fd366f75.tar.gz
nixlib-66e7ed0a89902b0d0614c1e687cc4bf0fd366f75.tar.bz2
nixlib-66e7ed0a89902b0d0614c1e687cc4bf0fd366f75.tar.lz
nixlib-66e7ed0a89902b0d0614c1e687cc4bf0fd366f75.tar.xz
nixlib-66e7ed0a89902b0d0614c1e687cc4bf0fd366f75.tar.zst
nixlib-66e7ed0a89902b0d0614c1e687cc4bf0fd366f75.zip
IPW2100 Firmware: Packaged
svn path=/nixpkgs/trunk/; revision=24283
-rw-r--r--pkgs/os-specific/linux/firmware/ipw2100/default.nix25
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/firmware/ipw2100/default.nix b/pkgs/os-specific/linux/firmware/ipw2100/default.nix
new file mode 100644
index 000000000000..2ffa8c3e8375
--- /dev/null
+++ b/pkgs/os-specific/linux/firmware/ipw2100/default.nix
@@ -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;
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 9a4d46e4f3e2..ef032e29db77 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -4456,6 +4456,8 @@ let
 
   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 { };