Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / libtermkey / default.nix
bloba96baf0d9f3e04b3df74db0119e448efc943bda2
1 { stdenv, lib, fetchzip, libtool, pkg-config, ncurses, unibilium }:
3 stdenv.mkDerivation rec {
4   pname = "libtermkey";
5   version = "0.22";
7   src = fetchzip {
8     url = "http://www.leonerd.org.uk/code/libtermkey/libtermkey-${version}.tar.gz";
9     sha256 = "02dks6bj7n23lj005yq41azf95wh3hapmgc2lzyh12vigkjh67rg";
10   };
12   makeFlags = [ "PREFIX=$(out)" "LIBTOOL=${libtool}/bin/libtool" ];
14   nativeBuildInputs = [ libtool pkg-config ];
15   buildInputs = [ ncurses unibilium ];
17   strictDeps = true;
19   meta = with lib; {
20     description = "Terminal keypress reading library";
21     homepage = "http://www.leonerd.org.uk/code/libtermkey";
22     license = licenses.mit;
23     platforms = platforms.unix;
24   };