2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, openssl, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "open-isns";
|
2022-09-11 15:47:08 +00:00
|
|
|
version = "0.102";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-02-05 17:12:51 +00:00
|
|
|
owner = "open-iscsi";
|
2020-04-24 23:36:52 +00:00
|
|
|
repo = "open-isns";
|
|
|
|
rev = "v${version}";
|
2022-09-11 15:47:08 +00:00
|
|
|
sha256 = "sha256-Vz6VqqvEr0f8AdN9NcVnruapswmoOgvAXxXSfrM3yRA=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ openssl ];
|
|
|
|
outputs = [ "out" "lib" ];
|
|
|
|
outputInclude = "lib";
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-shared" ];
|
|
|
|
|
|
|
|
installFlags = [ "etcdir=$(out)/etc" "vardir=$(out)/var/lib/isns" ];
|
|
|
|
installTargets = [ "install" "install_hdrs" "install_lib" ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "iSNS server and client for Linux";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = licenses.lgpl21Only;
|
|
|
|
homepage = "https://github.com/open-iscsi/open-isns";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.markuskowa ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|