mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
b23126fcc3
can be distinguished in nix-env -qa output. svn path=/nixpkgs/trunk/; revision=32352
25 lines
614 B
Nix
25 lines
614 B
Nix
{ stdenv, fetchurl, kernel}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "open-iscsi-2.0-871-${kernel.version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.open-iscsi.org/bits/${name}.tar.gz";
|
|
sha256 = "1jvx1agybaj4czhz41bz37as076spicsmlh5pjksvwl2mr38gsmw";
|
|
};
|
|
|
|
KSRC = "${kernel}/lib/modules/*/build";
|
|
DESTDIR = "$(out)";
|
|
|
|
preConfigure = ''
|
|
sed -i 's|/usr/|/|' Makefile
|
|
'';
|
|
|
|
patches = [./kernel.patch];
|
|
|
|
meta = {
|
|
description = "A high performance, transport independent, multi-platform implementation of RFC3720";
|
|
license = "GPLv2+";
|
|
homepage = http://www.open-iscsi.org;
|
|
};
|
|
}
|