traefik: add djds as maintainer (#377217)
[NixPkgs.git] / pkgs / by-name / ot / otpclient / package.nix
blob85cc6f8d942c5e20230ed1737d28c3acf251f46e
2   stdenv,
3   lib,
4   fetchFromGitHub,
5   cmake,
6   pkg-config,
7   gtk3,
8   wrapGAppsHook3,
9   jansson,
10   libgcrypt,
11   libzip,
12   libpng,
13   libcotp,
14   protobuf,
15   protobufc,
16   qrencode,
17   libsecret,
18   libuuid,
19   zbar,
22 stdenv.mkDerivation rec {
23   pname = "otpclient";
24   version = "4.0.2";
26   src = fetchFromGitHub {
27     owner = "paolostivanin";
28     repo = pname;
29     tag = "v${version}";
30     hash = "sha256-lSGXxwtys3V8dDTAW7l7+9VlF9tZQnWqNaV8neBvMRg=";
31   };
33   nativeBuildInputs = [
34     cmake
35     pkg-config
36     wrapGAppsHook3
37   ];
39   buildInputs = [
40     gtk3
41     jansson
42     libcotp
43     libgcrypt
44     libpng
45     libsecret
46     libuuid
47     libzip
48     protobuf
49     protobufc
50     qrencode
51     zbar
52   ];
54   meta = with lib; {
55     description = "Highly secure and easy to use OTP client written in C/GTK that supports both TOTP and HOTP";
56     homepage = "https://github.com/paolostivanin/OTPClient";
57     changelog = "https://github.com/paolostivanin/OTPClient/releases/tag/v${version}";
58     license = licenses.gpl3Only;
59     maintainers = with maintainers; [ alexbakker ];
60     platforms = platforms.linux;
61   };