2012-07-18 14:21:33 +01:00
|
|
|
{ stdenv, fetchgit, zlib, libuuid, acl, attr, e2fsprogs }:
|
2009-04-01 06:42:07 +01:00
|
|
|
|
2012-07-18 14:21:33 +01:00
|
|
|
let version = "0.19-20120328"; in
|
2009-10-02 16:06:07 +01:00
|
|
|
|
2012-07-18 14:21:33 +01:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "btrfs-progs-${version}";
|
2009-10-02 16:06:07 +01:00
|
|
|
|
2012-07-18 14:21:33 +01:00
|
|
|
src = fetchgit {
|
|
|
|
url = "git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git";
|
|
|
|
rev = "1957076ab4fefa47b6efed3da541bc974c83eed7";
|
|
|
|
sha256 = "566d863c5500652e999d0d6b823365fb06f2f8f9523e65e69eaa3e993e9b26e1";
|
2009-04-01 06:42:07 +01:00
|
|
|
};
|
|
|
|
|
2012-07-18 14:21:33 +01:00
|
|
|
buildInputs = [ zlib libuuid acl attr e2fsprogs ];
|
2011-12-13 04:30:49 +00:00
|
|
|
|
2012-07-18 14:21:33 +01:00
|
|
|
makeFlags = "prefix=$(out)";
|
2009-04-01 06:42:07 +01:00
|
|
|
|
|
|
|
meta = {
|
2012-07-18 14:21:33 +01:00
|
|
|
description = "Utilities for the btrfs filesystem";
|
|
|
|
homepage = https://btrfs.wiki.kernel.org/;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.raskin ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-04-01 06:42:07 +01:00
|
|
|
};
|
|
|
|
}
|