forked from mirrors/nixpkgs
2f199f0c96
Repointing repo to termbox/termbox as nsf/termbox is no longer maintained.
23 lines
620 B
Nix
23 lines
620 B
Nix
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "termbox";
|
|
version = "1.1.4";
|
|
src = fetchFromGitHub {
|
|
owner = "termbox";
|
|
repo = "termbox";
|
|
rev = "v${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 ];
|
|
};
|
|
}
|