libcotp: init at 1.2.3
This commit is contained in:
parent
3d4ddc90f3
commit
2749c98368
23
pkgs/development/libraries/libcotp/default.nix
Normal file
23
pkgs/development/libraries/libcotp/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{ stdenv, lib, fetchFromGitHub, cmake, pkg-config, libgcrypt, libbaseencode }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "libcotp";
|
||||||
|
version = "1.2.3";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "paolostivanin";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1qq4shwiz1if9vys052dnsbm4dfw1ynlj6nsb0v4zjly3ndspfsk";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ libbaseencode libgcrypt ];
|
||||||
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "C library that generates TOTP and HOTP";
|
||||||
|
homepage = "https://github.com/paolostivanin/libcotp";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ alexbakker ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -16155,6 +16155,8 @@ in
|
||||||
|
|
||||||
libctemplate = callPackage ../development/libraries/libctemplate { };
|
libctemplate = callPackage ../development/libraries/libctemplate { };
|
||||||
|
|
||||||
|
libcotp = callPackage ../development/libraries/libcotp { };
|
||||||
|
|
||||||
libcouchbase = callPackage ../development/libraries/libcouchbase { };
|
libcouchbase = callPackage ../development/libraries/libcouchbase { };
|
||||||
|
|
||||||
libcue = callPackage ../development/libraries/libcue { };
|
libcue = callPackage ../development/libraries/libcue { };
|
||||||
|
|
Loading…
Reference in a new issue