567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
28 lines
623 B
Nix
28 lines
623 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libbaseencode";
|
|
version = "1.0.15";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "paolostivanin";
|
|
repo = "libbaseencode";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-WiE+ZMX4oZieER1pu43aSWytkxfkQdX+S3JI98XPpL4=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = {
|
|
description = "Library written in C for encoding and decoding data using base32 or base64 (RFC-4648)";
|
|
homepage = "https://github.com/paolostivanin/libbaseencode";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ alexbakker ];
|
|
};
|
|
}
|