2009-04-01 07:42:07 +02:00
|
|
|
a :
|
|
|
|
let
|
|
|
|
fetchurl = a.fetchurl;
|
|
|
|
|
2009-07-07 12:02:53 +02:00
|
|
|
version = a.lib.attrByPath ["version"] "0.19" a;
|
2009-04-01 07:42:07 +02:00
|
|
|
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";
|
2009-07-07 12:02:53 +02:00
|
|
|
sha256 = "1z3hmfgv7h489gnh55abm0gzyf2cgjkybhfc2rnm0cvsx01xv8zq";
|
2009-04-01 07:42:07 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
inherit buildInputs;
|
|
|
|
configureFlags = [];
|
|
|
|
makeFlags = ["prefix=$out"];
|
|
|
|
|
|
|
|
/* doConfigure should be removed if not needed */
|
|
|
|
phaseNames = ["doMakeInstall"];
|
|
|
|
|
|
|
|
name = "btrfs-progs-" + version;
|
|
|
|
meta = {
|
|
|
|
description = "BTRFS utilities";
|
|
|
|
};
|
|
|
|
}
|