2016-04-24 14:29:33 +02:00
|
|
|
{ stdenv, openssl, fetchFromGitHub }:
|
2017-02-02 04:08:14 +01:00
|
|
|
|
2016-04-24 14:29:33 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "open-isns-${version}";
|
2018-03-21 06:46:20 +01:00
|
|
|
version = "0.98";
|
2016-04-24 14:29:33 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gonzoleeman";
|
|
|
|
repo = "open-isns";
|
|
|
|
rev = "v${version}";
|
2018-03-21 06:46:20 +01:00
|
|
|
sha256 = "055gjwz5hxaj5jk23bf7dy9wbxk9m8cfgl1msbzjc60gr2mmcbdg";
|
2016-04-24 14:29:33 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ openssl ];
|
2017-02-02 04:08:14 +01:00
|
|
|
outputs = [ "out" "lib" ];
|
2016-04-24 14:29:33 +02:00
|
|
|
outputInclude = "lib";
|
|
|
|
|
2017-03-01 01:43:44 +01:00
|
|
|
configureFlags = [ "--enable-shared" ];
|
|
|
|
|
2016-04-24 14:29:33 +02:00
|
|
|
installFlags = "etcdir=$(out)/etc vardir=$(out)/var/lib/isns";
|
|
|
|
installTargets = "install install_hdrs install_lib";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "iSNS server and client for Linux";
|
|
|
|
license = stdenv.lib.licenses.lgpl21;
|
|
|
|
homepage = https://github.com/gonzoleeman/open-isns;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2016-04-24 14:29:33 +02:00
|
|
|
};
|
|
|
|
}
|