2021-02-20 21:12:16 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2018-10-12 11:48:05 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "termbox";
|
2021-02-20 21:12:16 +00:00
|
|
|
version = "1.1.4";
|
2018-10-12 11:48:05 +01:00
|
|
|
src = fetchFromGitHub {
|
2021-02-20 21:12:16 +00:00
|
|
|
owner = "termbox";
|
2018-10-12 11:48:05 +01:00
|
|
|
repo = "termbox";
|
|
|
|
rev = "v${version}";
|
2021-02-20 21:12:16 +00:00
|
|
|
sha256 = "075swv6ajx8m424dbmgbf6fs6nd5q004gjpvx48gkxmnf9spvykl";
|
2018-10-12 11:48:05 +01:00
|
|
|
};
|
2019-01-10 00:59:44 +00:00
|
|
|
|
2021-02-20 21:12:16 +00:00
|
|
|
makeFlags = [ "prefix=${placeholder "out"}" ];
|
2019-01-10 00:59:44 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2018-10-12 11:48:05 +01:00
|
|
|
description = "Library for writing text-based user interfaces";
|
|
|
|
license = licenses.mit;
|
2021-02-20 21:12:16 +00:00
|
|
|
homepage = "https://github.com/termbox/termbox#readme";
|
|
|
|
downloadPage = "https://github.com/termbox/termbox/releases";
|
2018-10-12 11:48:05 +01:00
|
|
|
maintainers = with maintainers; [ fgaz ];
|
|
|
|
};
|
|
|
|
}
|