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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
620 B
Nix
Raw Normal View History

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