b96e6f4393
GitOrigin-RevId: 20887e4bbfdae3aed6bfa1f53ddf138ee325515e
22 lines
607 B
Nix
22 lines
607 B
Nix
{ stdenv, lib, fetchFromGitHub, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libbaseencode";
|
|
version = "1.0.11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "paolostivanin";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1f52yh052z8k90d1ag6nk01p1gf4i1zxp1daw8mashs8avqr2m7g";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = with lib; {
|
|
description = "Library written in C for encoding and decoding data using base32 or base64 (RFC-4648)";
|
|
homepage = "https://github.com/paolostivanin/libbaseencode";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ alexbakker ];
|
|
};
|
|
}
|