mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 18:23:09 +00:00
9ed6821ef0
The `test` target was not working, because `prove` was not found. Fix it by adding `pearl` to `checkInputs`.
55 lines
1.1 KiB
Nix
55 lines
1.1 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, libtool
|
|
, perl
|
|
, libtermkey
|
|
, unibilium
|
|
}:
|
|
stdenv.mkDerivation rec {
|
|
pname = "libtickit";
|
|
version = "0.4.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "leonerd";
|
|
repo = "libtickit";
|
|
rev = "v${version}";
|
|
hash = "sha256-QCrym8g5J1qwsFpU/PB8zZIWdM3YzOySknISSbQE4Sc=";
|
|
};
|
|
|
|
makeFlags = [
|
|
"PREFIX=$(out)"
|
|
"LIBTOOL=${lib.getExe libtool}"
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
libtool
|
|
];
|
|
buildInputs = [
|
|
libtermkey
|
|
unibilium
|
|
];
|
|
nativeCheckInputs = [ perl ];
|
|
|
|
patches = [
|
|
./skipTestMacOS.patch
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
description = "A terminal interface construction kit";
|
|
longDescription = ''
|
|
This library provides an abstracted mechanism for building interactive full-screen terminal
|
|
programs. It provides a full set of output drawing functions, and handles keyboard and mouse
|
|
input events.
|
|
'';
|
|
homepage = "https://www.leonerd.org.uk/code/libtickit/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ onemoresuza ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|