nixpkgs/pkgs/os-specific/linux/open-isns/default.nix

30 lines
775 B
Nix
Raw Normal View History

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 {
pname = "open-isns";
version = "0.99";
2016-04-24 14:29:33 +02:00
src = fetchFromGitHub {
owner = "gonzoleeman";
repo = "open-isns";
rev = "v${version}";
sha256 = "0m294aiv80rkihacw5094093pc0kd5bkbxqgs6i32jsglxy33hvf";
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";
configureFlags = [ "--enable-shared" ];
2019-11-05 02:10:31 +01:00
installFlags = [ "etcdir=$(out)/etc" "vardir=$(out)/var/lib/isns" ];
installTargets = [ "install" "install_hdrs" "install_lib" ];
2016-04-24 14:29:33 +02:00
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;
2016-04-24 14:29:33 +02:00
};
}