depot/third_party/nixpkgs/pkgs/development/libraries/termbox/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

22 lines
641 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation (finalAttrs: {
pname = "termbox";
version = "1.1.4";
src = fetchFromGitHub {
owner = "termbox";
repo = "termbox";
rev = "v${finalAttrs.version}";
sha256 = "075swv6ajx8m424dbmgbf6fs6nd5q004gjpvx48gkxmnf9spvykl";
};
makeFlags = [ "prefix=${placeholder "out"}" ];
meta = with lib; {
description = "Library for writing text-based user interfaces";
license = licenses.mit;
homepage = "https://github.com/termbox/termbox#readme";
downloadPage = "https://github.com/termbox/termbox/releases";
maintainers = with maintainers; [ fgaz ];
};
})