3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libstrophe/default.nix

44 lines
1 KiB
Nix
Raw Normal View History

{ lib, stdenv
2021-01-05 12:47:29 +00:00
, fetchFromGitHub
2020-12-26 16:24:39 +00:00
, autoreconfHook
2021-01-05 12:47:29 +00:00
, libtool
, openssl
, expat
2020-12-26 16:24:39 +00:00
, pkg-config
2021-01-05 12:47:29 +00:00
, check
}:
stdenv.mkDerivation rec {
pname = "libstrophe";
2021-01-05 12:47:29 +00:00
version = "0.10.1";
src = fetchFromGitHub {
owner = "strophe";
repo = pname;
rev = version;
2020-12-26 16:24:39 +00:00
sha256 = "11d341avsfr0z4lq15cy5dkmff6qpy91wkgzdpfdy31l27pa1g79";
};
2020-12-26 16:24:39 +00:00
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ openssl expat libtool check ];
dontDisableStatic = true;
doCheck = true;
meta = with lib; {
description = "A simple, lightweight C library for writing XMPP clients";
longDescription = ''
libstrophe is a lightweight XMPP client library written in C. It has
minimal dependencies and is configurable for various environments. It
runs well on both Linux, Unix, and Windows based platforms.
'';
2020-10-02 05:20:00 +01:00
homepage = "https://strophe.im/libstrophe/";
2020-12-26 16:24:39 +00:00
license = with licenses; [ gpl3Only mit ];
2021-01-05 12:47:29 +00:00
platforms = platforms.unix;
2020-12-26 16:24:39 +00:00
broken = stdenv.isDarwin;
2021-01-05 12:47:29 +00:00
maintainers = with maintainers; [ devhell flosse ];
};
}
2020-12-26 16:24:39 +00:00