base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / li / libstrophe / package.nix
blobc78411b5c4f20fda208700467c494575eb9a48cc
1 { lib, stdenv
2 , fetchFromGitHub
3 , autoreconfHook
4 , libtool
5 , openssl
6 , expat
7 , pkg-config
8 , check
9 , zlib
12 stdenv.mkDerivation rec {
13   pname = "libstrophe";
14   version = "0.13.1";
16   src = fetchFromGitHub {
17     owner = "strophe";
18     repo = pname;
19     rev = version;
20     hash = "sha256-JMuvWspgXs+1dVWoo6kJVaf6cVvYj8lhyyu4ZILKeOg=";
21   };
23   nativeBuildInputs = [ autoreconfHook pkg-config ];
24   buildInputs = [ openssl expat libtool check zlib ];
26   dontDisableStatic = true;
28   strictDeps = true;
30   doCheck = true;
32   meta = with lib; {
33     description = "Simple, lightweight C library for writing XMPP clients";
34     longDescription = ''
35       libstrophe is a lightweight XMPP client library written in C. It has
36       minimal dependencies and is configurable for various environments. It
37       runs well on both Linux, Unix, and Windows based platforms.
38     '';
39     homepage = "https://strophe.im/libstrophe/";
40     changelog = "https://github.com/strophe/libstrophe/blob/${src.rev}/ChangeLog";
41     license = with licenses; [ gpl3Only mit ];
42     platforms = platforms.unix;
43     maintainers = with maintainers; [ devhell flosse ];
44   };