added btrfs utilities
svn path=/nixpkgs/trunk/; revision=14818
This commit is contained in:
parent
9379c34b11
commit
a2803bc5c3
27
pkgs/os-specific/linux/btrfsprogs/default.nix
Normal file
27
pkgs/os-specific/linux/btrfsprogs/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
a :
|
||||
let
|
||||
fetchurl = a.fetchurl;
|
||||
|
||||
version = a.lib.getAttr ["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";
|
||||
};
|
||||
}
|
@ -6637,6 +6637,10 @@ let
|
||||
inherit fetchurl stdenv autoconf automake;
|
||||
};
|
||||
|
||||
btrfsProgs = builderDefsPackage (import ../os-specific/linux/btrfsprogs) {
|
||||
inherit e2fsprogs zlib acl;
|
||||
};
|
||||
|
||||
cpufrequtils = import ../os-specific/linux/cpufrequtils {
|
||||
inherit fetchurl stdenv libtool gettext;
|
||||
glibc = stdenv.gcc.libc;
|
||||
|
Loading…
x
Reference in New Issue
Block a user