1 { stdenv, lib, fetchFromGitHub, cmake }:
3 stdenv.mkDerivation rec {
4 pname = "libbaseencode";
7 src = fetchFromGitHub {
8 owner = "paolostivanin";
11 sha256 = "sha256-cSiinuIc/qONuy9ZVsmsF4DiN1VUL43ZAXffCiIGgkY=";
14 nativeBuildInputs = [ cmake ];
17 description = "Library written in C for encoding and decoding data using base32 or base64 (RFC-4648)";
18 homepage = "https://github.com/paolostivanin/libbaseencode";
19 license = licenses.asl20;
20 maintainers = with maintainers; [ alexbakker ];