2021-02-22 21:28:39 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "termbox";
|
2021-02-22 21:28:39 +00:00
|
|
|
version = "1.1.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
2021-02-22 21:28:39 +00:00
|
|
|
owner = "termbox";
|
2020-04-24 23:36:52 +00:00
|
|
|
repo = "termbox";
|
2024-04-21 15:54:59 +00:00
|
|
|
rev = "v${finalAttrs.version}";
|
2021-02-22 21:28:39 +00:00
|
|
|
sha256 = "075swv6ajx8m424dbmgbf6fs6nd5q004gjpvx48gkxmnf9spvykl";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-22 21:28:39 +00:00
|
|
|
makeFlags = [ "prefix=${placeholder "out"}" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Library for writing text-based user interfaces";
|
|
|
|
license = licenses.mit;
|
2021-02-22 21:28:39 +00:00
|
|
|
homepage = "https://github.com/termbox/termbox#readme";
|
|
|
|
downloadPage = "https://github.com/termbox/termbox/releases";
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ fgaz ];
|
|
|
|
};
|
2024-04-21 15:54:59 +00:00
|
|
|
})
|