nixpkgs/pkgs/by-name/ba/base16384/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
604 B
Nix
Raw Normal View History

2023-05-08 15:06:50 +00:00
{ lib
, stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "base16384";
2024-04-10 17:14:46 +00:00
version = "2.3.1";
2023-05-08 15:06:50 +00:00
src = fetchFromGitHub {
owner = "fumiama";
repo = pname;
rev = "v${version}";
2024-04-10 17:14:46 +00:00
hash = "sha256-2HZeom+8eEH4CrphCoOV+wJbqhYKVUcAQrYLyEVACkQ=";
2023-05-08 15:06:50 +00:00
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "Encode binary files to printable utf16be";
mainProgram = "base16384";
2023-05-08 15:06:50 +00:00
homepage = "https://github.com/fumiama/base16384";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ aleksana ];
platforms = platforms.all;
};
}