2016-04-24 12:29:33 +00:00
|
|
|
{ stdenv, openssl, fetchFromGitHub }:
|
2017-02-02 03:08:14 +00:00
|
|
|
|
2016-04-24 12:29:33 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "open-isns";
|
2018-10-27 04:17:27 +00:00
|
|
|
version = "0.99";
|
2016-04-24 12:29:33 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gonzoleeman";
|
|
|
|
repo = "open-isns";
|
|
|
|
rev = "v${version}";
|
2018-10-27 04:17:27 +00:00
|
|
|
sha256 = "0m294aiv80rkihacw5094093pc0kd5bkbxqgs6i32jsglxy33hvf";
|
2016-04-24 12:29:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ openssl ];
|
2017-02-02 03:08:14 +00:00
|
|
|
outputs = [ "out" "lib" ];
|
2016-04-24 12:29:33 +00:00
|
|
|
outputInclude = "lib";
|
|
|
|
|
2017-03-01 00:43:44 +00:00
|
|
|
configureFlags = [ "--enable-shared" ];
|
|
|
|
|
2019-11-05 01:10:31 +00:00
|
|
|
installFlags = [ "etcdir=$(out)/etc" "vardir=$(out)/var/lib/isns" ];
|
|
|
|
installTargets = [ "install" "install_hdrs" "install_lib" ];
|
2016-04-24 12:29:33 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "iSNS server and client for Linux";
|
|
|
|
license = stdenv.lib.licenses.lgpl21;
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/gonzoleeman/open-isns";
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2016-04-24 12:29:33 +00:00
|
|
|
};
|
|
|
|
}
|