mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
libomemo-c: init at 0.5.0
This commit is contained in:
parent
a9bf124c46
commit
dbacc08f0a
29
pkgs/by-name/li/libomemo-c/package.nix
Normal file
29
pkgs/by-name/li/libomemo-c/package.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, openssl
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libomemo-c";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dino";
|
||||
repo = "libomemo-c";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-GvHMp0FWoApbYLMhKfNxSBel1xxWWF3TZ4lnkLvu2s4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildsInputs = [ openssl ];
|
||||
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fork of libsignal-protocol-c adding support for OMEMO XEP-0384 0.5.0+";
|
||||
homepage = "https://github.com/dino/libomemo-c";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = [ maintainers.astro ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user