From d2e06ffe205ca3836a16b27d7fba7e392cc333ec Mon Sep 17 00:00:00 2001 From: aleksana Date: Mon, 8 May 2023 23:06:50 +0800 Subject: [PATCH] base16384: init at 2.2.2 --- pkgs/tools/text/base16384/default.nix | 27 +++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/tools/text/base16384/default.nix diff --git a/pkgs/tools/text/base16384/default.nix b/pkgs/tools/text/base16384/default.nix new file mode 100644 index 000000000000..caa41f061575 --- /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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 013f7bda2c86..9b4f21313f97 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3050,6 +3050,8 @@ with pkgs; base16-universal-manager = callPackage ../applications/misc/base16-universal-manager { }; + base16384 = callPackage ../tools/text/base16384 { }; + bashate = python3Packages.callPackage ../development/tools/bashate { }; bash-my-aws = callPackage ../tools/admin/bash-my-aws { };