c0aa3bf53d
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: - built on NixOS - ran `/nix/store/fabx95vlf0nyw2dvsq2zjsv8j2vdqs12-open-isns-0.98/bin/isnsadm -h` got 0 exit code - ran `/nix/store/fabx95vlf0nyw2dvsq2zjsv8j2vdqs12-open-isns-0.98/bin/isnsadm --help` got 0 exit code - ran `/nix/store/fabx95vlf0nyw2dvsq2zjsv8j2vdqs12-open-isns-0.98/bin/isnsd -h` got 0 exit code - ran `/nix/store/fabx95vlf0nyw2dvsq2zjsv8j2vdqs12-open-isns-0.98/bin/isnsd --help` got 0 exit code - ran `/nix/store/fabx95vlf0nyw2dvsq2zjsv8j2vdqs12-open-isns-0.98/bin/isnsdd -h` got 0 exit code - ran `/nix/store/fabx95vlf0nyw2dvsq2zjsv8j2vdqs12-open-isns-0.98/bin/isnsdd --help` got 0 exit code - found 0.98 with grep in /nix/store/fabx95vlf0nyw2dvsq2zjsv8j2vdqs12-open-isns-0.98 - directory tree listing: https://gist.github.com/1ad3d6e680af4f1462bda181b2cdc43e
30 lines
769 B
Nix
30 lines
769 B
Nix
{ stdenv, openssl, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "open-isns-${version}";
|
|
version = "0.98";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gonzoleeman";
|
|
repo = "open-isns";
|
|
rev = "v${version}";
|
|
sha256 = "055gjwz5hxaj5jk23bf7dy9wbxk9m8cfgl1msbzjc60gr2mmcbdg";
|
|
};
|
|
|
|
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";
|
|
|
|
meta = {
|
|
description = "iSNS server and client for Linux";
|
|
license = stdenv.lib.licenses.lgpl21;
|
|
homepage = https://github.com/gonzoleeman/open-isns;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|