From 82dd20a14d19659ee5ae678c6a6def41aa00d2e6 Mon Sep 17 00:00:00 2001 From: Clemens Fruhwirth Date: Sun, 24 Apr 2016 14:29:33 +0200 Subject: [PATCH] open-isns: init at 0.95 --- pkgs/os-specific/linux/open-isns/default.nix | 25 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/os-specific/linux/open-isns/default.nix diff --git a/pkgs/os-specific/linux/open-isns/default.nix b/pkgs/os-specific/linux/open-isns/default.nix new file mode 100644 index 000000000000..2ef08cd13ce2 --- /dev/null +++ b/pkgs/os-specific/linux/open-isns/default.nix @@ -0,0 +1,25 @@ +{ stdenv, openssl, fetchFromGitHub }: +stdenv.mkDerivation rec { + name = "open-isns-${version}"; + version = "0.95"; + + src = fetchFromGitHub { + owner = "gonzoleeman"; + repo = "open-isns"; + rev = "v${version}"; + sha256 = "1c2x3yf9806gbjsw4xi805rfhyxk353a3whqvpccz8dwas6jajwh"; + }; + + propagatedBuildInputs = [ openssl ]; + outputs = ["out" "lib" ]; + outputInclude = "lib"; + + 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f4de0702e2b1..662db7a2065a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10420,6 +10420,8 @@ in openiscsi = callPackage ../os-specific/linux/open-iscsi { }; + openisns = callPackage ../os-specific/linux/open-isns { }; + tgt = callPackage ../tools/networking/tgt { }; # -- Linux kernel expressions ------------------------------------------------