a :  
let 
  fetchurl = a.fetchurl;

  version = a.lib.attrByPath ["version"] "0.18" a; 
  buildInputs = with a; [
    zlib e2fsprogs acl 
  ];
in
rec {
  src = fetchurl {
    url = "http://www.kernel.org/pub/linux/kernel/people/mason/btrfs/btrfs-progs-${version}.tar.bz2";
    sha256 = "032g9lyrinpnrx4b8hs5i6qfbmv8x4ss02p26fgvk4zbc0slh7z8";
  };

  inherit buildInputs;
  configureFlags = [];
  makeFlags = ["prefix=$out"];

  /* doConfigure should be removed if not needed */
  phaseNames = ["doMakeInstall"];
      
  name = "btrfs-progs-" + version;
  meta = {
    description = "BTRFS utilities";
  };
}

a :  
let 
  fetchurl = a.fetchurl;

  version = a.lib.attrByPath ["version"] "0.19" a; 
  buildInputs = with a; [
    zlib e2fsprogs acl 
  ];
in
rec {
  src = fetchurl {
    url = "http://www.kernel.org/pub/linux/kernel/people/mason/btrfs/btrfs-progs-${version}.tar.bz2";
    sha256 = "1z3hmfgv7h489gnh55abm0gzyf2cgjkybhfc2rnm0cvsx01xv8zq";
  };

  inherit buildInputs;
  configureFlags = [];
  makeFlags = ["prefix=$out"];

  /* doConfigure should be removed if not needed */
  phaseNames = ["doMakeInstall"];
      
  name = "btrfs-progs-" + version;
  meta = {
    description = "BTRFS utilities";
  };
}

Update BtrFS progs. Note: incompatible with older kernels - like 2.6.30
Update BtrFS progs. Note: incompatible with older kernels - like 2.6.30

svn path=/nixpkgs/trunk/; revision=16205
