lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 17.09-beta 36 lines 1.1 kB view raw
1{ stdenv, fetchFromGitHub, automake, autoconf, libtool, gettext, utillinux, openisns, openssl, kmod }: 2stdenv.mkDerivation rec { 3 name = "open-iscsi-${version}"; 4 version = "2.0-873-${stdenv.lib.substring 0 7 src.rev}"; 5 6 buildInputs = [ automake autoconf libtool gettext utillinux openisns.lib openssl kmod ]; 7 8 src = fetchFromGitHub { 9 owner = "open-iscsi"; 10 repo = "open-iscsi"; 11 rev = "4c1f2d90ef1c73e33d9f1e4ae9c206ffe015a8f9"; 12 sha256 = "0h030zk4zih3l8z5662b3kcifdxlakbwwkz1afb7yf0cicds7va8"; 13 }; 14 15 DESTDIR = "$(out)"; 16 17 NIX_LDFLAGS = "-lkmod"; 18 NIX_CFLAGS_COMPILE = "-DUSE_KMOD"; 19 20 preConfigure = '' 21 sed -i 's|/usr|/|' Makefile 22 ''; 23 24 postInstall = '' 25 cp usr/iscsistart $out/sbin/ 26 $out/sbin/iscsistart -v 27 ''; 28 29 meta = with stdenv.lib; { 30 description = "A high performance, transport independent, multi-platform implementation of RFC3720"; 31 license = licenses.gpl2Plus; 32 homepage = http://www.open-iscsi.com; 33 platforms = platforms.linux; 34 maintainers = with maintainers; [ cleverca22 ]; 35 }; 36}