nixpkgs/pkgs/tools/text/base16384/default.nix
2023-05-18 21:19:14 +08:00

28 lines
573 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "base16384";
version = "2.2.3";
src = fetchFromGitHub {
owner = "fumiama";
repo = pname;
rev = "v${version}";
hash = "sha256-E/dcicqu/i+GpLDqgkwZfEIoUxAuNGsoLLnG0blMNaw=";
};
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;
};
}