2018-11-11 22:20:41 +01:00
|
|
|
{ stdenv, fetchFromGitHub, python3, wafHook }:
|
2018-10-12 12:48:05 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "termbox-${version}";
|
|
|
|
version = "1.1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nsf";
|
|
|
|
repo = "termbox";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "08yqxzb8fny8806p7x8a6f3phhlbfqdd7dhkv25calswj7w1ssvs";
|
|
|
|
};
|
2018-11-11 22:20:41 +01:00
|
|
|
nativeBuildInputs = [ python3 wafHook ];
|
2018-10-12 12:48:05 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Library for writing text-based user interfaces";
|
|
|
|
license = licenses.mit;
|
|
|
|
homepage = "https://github.com/nsf/termbox#readme";
|
|
|
|
downloadPage = "https://github.com/nsf/termbox/releases";
|
|
|
|
maintainers = with maintainers; [ fgaz ];
|
|
|
|
};
|
|
|
|
}
|