2015-09-23 12:03:42 +02:00
|
|
|
{ stdenv, fetchurl }:
|
2014-01-05 02:57:21 +01:00
|
|
|
let
|
2015-09-23 12:03:42 +02:00
|
|
|
pname = "open-iscsi-2.0-873";
|
2014-01-05 02:57:21 +01:00
|
|
|
in stdenv.mkDerivation {
|
2015-09-23 12:03:42 +02:00
|
|
|
name = "${pname}";
|
2012-02-17 15:32:28 +01:00
|
|
|
|
2010-08-30 11:40:44 +02:00
|
|
|
src = fetchurl {
|
2014-01-05 02:57:21 +01:00
|
|
|
url = "http://www.open-iscsi.org/bits/${pname}.tar.gz";
|
2015-09-23 12:03:42 +02:00
|
|
|
sha256 = "1nbwmj48xzy45h52917jbvyqpsfg9zm49nm8941mc5x4gpwz5nbx";
|
2010-08-30 11:40:44 +02:00
|
|
|
};
|
|
|
|
|
2012-02-17 15:32:28 +01:00
|
|
|
DESTDIR = "$(out)";
|
2010-08-30 11:40:44 +02:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
sed -i 's|/usr/|/|' Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2012-02-17 15:32:28 +01:00
|
|
|
description = "A high performance, transport independent, multi-platform implementation of RFC3720";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2012-02-17 15:32:28 +01:00
|
|
|
homepage = http://www.open-iscsi.org;
|
2010-08-30 11:40:44 +02:00
|
|
|
};
|
|
|
|
}
|