mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 12:34:15 +00:00
Merge pull request #48261 from fgaz/termbox/init
termbox: init at 1.1.2
This commit is contained in:
commit
ef0c38422d
24
pkgs/development/libraries/termbox/default.nix
Normal file
24
pkgs/development/libraries/termbox/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, python3 }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "termbox-${version}";
|
||||||
|
version = "1.1.2";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "nsf";
|
||||||
|
repo = "termbox";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "08yqxzb8fny8806p7x8a6f3phhlbfqdd7dhkv25calswj7w1ssvs";
|
||||||
|
};
|
||||||
|
nativeBuildInputs = [ python3 ];
|
||||||
|
configurePhase = "python3 ./waf configure --prefix=$out";
|
||||||
|
buildPhase = "python3 ./waf build";
|
||||||
|
installPhase = "python3 ./waf install --destdir=$out";
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -12364,6 +12364,8 @@ with pkgs;
|
|||||||
|
|
||||||
telepathy-qt = callPackage ../development/libraries/telepathy/qt { qtbase = qt4; };
|
telepathy-qt = callPackage ../development/libraries/telepathy/qt { qtbase = qt4; };
|
||||||
|
|
||||||
|
termbox = callPackage ../development/libraries/termbox { };
|
||||||
|
|
||||||
tevent = callPackage ../development/libraries/tevent {
|
tevent = callPackage ../development/libraries/tevent {
|
||||||
python = python2;
|
python = python2;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user