about summary refs log tree commit diff
path: root/pkgs/tools/text/base16384
diff options
context:
space:
mode:
authoraleksana <me@aleksana.moe>2023-05-08 23:06:50 +0800
committeraleksana <me@aleksana.moe>2023-05-09 01:50:21 +0800
commitd2e06ffe205ca3836a16b27d7fba7e392cc333ec (patch)
tree2d0a3f192cb5746e1fbbe19a70386596e3e0ad0d /pkgs/tools/text/base16384
parent2909d9b11778ee01908656f63398aa5b9831bc27 (diff)
base16384: init at 2.2.2
Diffstat (limited to 'pkgs/tools/text/base16384')
-rw-r--r--pkgs/tools/text/base16384/default.nix27
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;
+  };
+}