diff options
author | aleksana <me@aleksana.moe> | 2023-05-08 23:06:50 +0800 |
---|---|---|
committer | aleksana <me@aleksana.moe> | 2023-05-09 01:50:21 +0800 |
commit | d2e06ffe205ca3836a16b27d7fba7e392cc333ec (patch) | |
tree | 2d0a3f192cb5746e1fbbe19a70386596e3e0ad0d /pkgs/tools/text | |
parent | 2909d9b11778ee01908656f63398aa5b9831bc27 (diff) |
base16384: init at 2.2.2
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r-- | pkgs/tools/text/base16384/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/text/base16384/default.nix b/pkgs/tools/text/base16384/default.nix new file mode 100644 index 0000000000000..caa41f0615757 --- /dev/null +++ b/pkgs/tools/text/base16384/default.nix @@ -0,0 +1,27 @@ +{ lib +, stdenv +, fetchFromGitHub +, cmake +}: + +stdenv.mkDerivation rec { + pname = "base16384"; + version = "2.2.2"; + + src = fetchFromGitHub { + owner = "fumiama"; + repo = pname; + rev = "v${version}"; + hash = "sha256-5Dfu88aAVtpNAwHAo+LOxe+jpgDhNdHYkWex42dCK0s="; + }; + + nativeBuildInputs = [ cmake ]; + + meta = with lib; { + description = "Encode binary files to printable utf16be"; + homepage = "https://github.com/fumiama/base16384"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ aleksana ]; + platforms = platforms.all; + }; +} |