3
0
Fork 0
forked from mirrors/nixpkgs

Revert " - remove old versions"

This reverts commit 65d3ef369e.
This commit is contained in:
Jack Cummings 2012-10-05 09:07:11 -07:00
parent 65d3ef369e
commit 8043344266
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ stdenv, fetchgit, kernel, linuxHeaders, perl }:
stdenv.mkDerivation {
name = "spl-0.6.0-rc4";
src = fetchgit {
url = git://github.com/behlendorf/spl.git;
rev = "dde6b7b137f56894a457";
sha256 = "c402517a647de0c22a69588219aa214f96d1cf9d2f8751b99c5a2795898c726b";
};
patches = [ ./install_prefix.patch ./module_prefix.patch ];
buildInputs = [ perl kernel linuxHeaders ];
configureFlags = [ "--with-linux=${kernel}/lib/modules/${kernel.version}/build"
"--with-linux-obj=${kernel}/lib/modules/${kernel.version}/build" ];
meta = {
description = "Kernel module driver for solaris porting layer (needed by in-kernel zfs)";
homepage = http://zfsonlinux.org/;
license = "CDDL";
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -0,0 +1,23 @@
{ stdenv, fetchgit, kernel, linuxHeaders, spl, perl, zlib, libuuid }:
stdenv.mkDerivation {
name = "zfs-0.6.0-rc4";
src = fetchgit {
url = git://github.com/behlendorf/zfs.git;
rev = "3613204cd7e3ab1ae658";
sha256 = "217ca162b1b0178dd2e3acc543d3c0cce3a7be7e884a9118ffa0a84d3cbc73f5";
};
patches = [ ./module_perm_prefix.patch ./mount_zfs_prefix.patch ./kerneldir_path.patch ];
buildInputs = [ kernel linuxHeaders spl perl zlib libuuid];
configureFlags = " --with-linux=${kernel}/lib/modules/${kernel.version}/build --with-linux-obj=${kernel}/lib/modules/${kernel.version}/build --with-spl=${spl}/libexec/spl-0.6.0/${kernel.version}";
meta = {
description = "Native ZFS for Linux";
homepage = http://zfsonlinux.org/;
license = "CDDL";
platforms = stdenv.lib.platforms.linux;
};
}