1{ lib
2, stdenv
3, fetchFromGitHub
4, cmake
5}:
6
7stdenv.mkDerivation rec {
8 pname = "base16384";
9 version = "2.2.3";
10
11 src = fetchFromGitHub {
12 owner = "fumiama";
13 repo = pname;
14 rev = "v${version}";
15 hash = "sha256-E/dcicqu/i+GpLDqgkwZfEIoUxAuNGsoLLnG0blMNaw=";
16 };
17
18 nativeBuildInputs = [ cmake ];
19
20 meta = with lib; {
21 description = "Encode binary files to printable utf16be";
22 homepage = "https://github.com/fumiama/base16384";
23 license = licenses.gpl3Plus;
24 maintainers = with maintainers; [ aleksana ];
25 platforms = platforms.all;
26 };
27}