nixpkgs/pkgs/os-specific/linux/firmware/zd1211/default.nix
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00

24 lines
584 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "zd1211-firmware";
version = "1.4";
name = "${pname}-${version}";
src = fetchurl {
url = "http://surfnet.dl.sourceforge.net/sourceforge/zd1211/${name}.tar.bz2";
sha256 = "866308f6f59f7075f075d4959dff2ede47735c751251fecd1496df1ba4d338e1";
};
buildPhase = "true";
installPhase = "mkdir -p $out/zd1211; cp * $out/zd1211";
meta = {
description = "Firmware for the ZyDAS ZD1211(b) 802.11a/b/g USB WLAN chip";
homepage = http://sourceforge.net/projects/zd1211/;
license = "GPL";
};
}