1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/os-specific/linux/open-isns/default.nix

30 lines
769 B
Nix
Raw Normal View History

2016-04-24 13:29:33 +01:00
{ stdenv, openssl, fetchFromGitHub }:
2017-02-02 03:08:14 +00:00
2016-04-24 13:29:33 +01:00
stdenv.mkDerivation rec {
name = "open-isns-${version}";
2017-02-02 03:08:14 +00:00
version = "0.97";
2016-04-24 13:29:33 +01:00
src = fetchFromGitHub {
owner = "gonzoleeman";
repo = "open-isns";
rev = "v${version}";
2017-02-02 03:08:14 +00:00
sha256 = "17aichjgkwjfp9dx1piw7dw8ddz1bgm5mk3laid2zvjks1h739k3";
2016-04-24 13:29:33 +01:00
};
propagatedBuildInputs = [ openssl ];
2017-02-02 03:08:14 +00:00
outputs = [ "out" "lib" ];
2016-04-24 13:29:33 +01:00
outputInclude = "lib";
configureFlags = [ "--enable-shared" ];
2016-04-24 13:29:33 +01: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;
platforms = stdenv.lib.platforms.linux;
2016-04-24 13:29:33 +01:00
};
}