nixpkgs/pkgs/os-specific/linux/open-isns/default.nix
Ryan Mulligan c0aa3bf53d openisns: 0.97 -> 0.98
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
2018-03-21 22:48:48 +00:00

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;
};
}