nixpkgs/pkgs/development/libraries/termbox/default.nix

23 lines
620 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub }:
2018-10-12 10:48:05 +00:00
stdenv.mkDerivation rec {
pname = "termbox";
version = "1.1.4";
2018-10-12 10:48:05 +00:00
src = fetchFromGitHub {
owner = "termbox";
2018-10-12 10:48:05 +00:00
repo = "termbox";
rev = "v${version}";
sha256 = "075swv6ajx8m424dbmgbf6fs6nd5q004gjpvx48gkxmnf9spvykl";
2018-10-12 10:48:05 +00:00
};
makeFlags = [ "prefix=${placeholder "out"}" ];
meta = with lib; {
2018-10-12 10:48:05 +00:00
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";
2018-10-12 10:48:05 +00:00
maintainers = with maintainers; [ fgaz ];
};
}