2014-05-31 00:13:26 +00:00
|
|
|
{ stdenv, fetchurl, attr, acl, zlib, libuuid, e2fsprogs, lzo
|
|
|
|
, asciidoc, xmlto, docbook_xml_dtd_45, docbook_xsl, libxslt }:
|
2009-04-01 05:42:07 +00:00
|
|
|
|
2014-05-31 00:13:26 +00:00
|
|
|
let version = "3.14.2"; in
|
2013-12-30 16:50:18 +00:00
|
|
|
|
2013-12-29 00:50:42 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2013-12-30 16:50:18 +00:00
|
|
|
name = "btrfs-progs-${version}";
|
2009-10-02 15:06:07 +00:00
|
|
|
|
2013-12-29 00:50:42 +00:00
|
|
|
src = fetchurl {
|
2013-12-30 16:50:18 +00:00
|
|
|
url = "mirror://kernel/linux/kernel/people/mason/btrfs-progs/btrfs-progs-v${version}.tar.xz";
|
2014-05-31 00:13:26 +00:00
|
|
|
sha256 = "14vpj6f2v076v9zabgrz8l4dp6n1ar2mvk3lvii51ykvi35d1qbh";
|
2009-04-01 05:42:07 +00:00
|
|
|
};
|
|
|
|
|
2014-05-31 00:13:26 +00:00
|
|
|
buildInputs = [
|
|
|
|
attr acl zlib libuuid e2fsprogs lzo
|
|
|
|
asciidoc xmlto docbook_xml_dtd_45 docbook_xsl libxslt
|
|
|
|
];
|
2011-12-13 04:30:49 +00:00
|
|
|
|
2013-10-27 09:19:18 +00:00
|
|
|
# for btrfs to get the rpath to libgcc_s, needed for pthread_cancel to work
|
|
|
|
NIX_CFLAGS_LINK = "-lgcc_s";
|
|
|
|
|
2012-07-18 13:21:33 +00:00
|
|
|
makeFlags = "prefix=$(out)";
|
2009-04-01 05:42:07 +00:00
|
|
|
|
|
|
|
meta = {
|
2012-07-18 13:21:33 +00: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 05:42:07 +00:00
|
|
|
};
|
|
|
|
}
|