Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 25 lines 698 B view raw
1{ stdenv, lib, fetchzip, libtool, pkg-config, ncurses, unibilium }: 2 3stdenv.mkDerivation rec { 4 pname = "libtermkey"; 5 version = "0.22"; 6 7 src = fetchzip { 8 url = "http://www.leonerd.org.uk/code/libtermkey/libtermkey-${version}.tar.gz"; 9 sha256 = "02dks6bj7n23lj005yq41azf95wh3hapmgc2lzyh12vigkjh67rg"; 10 }; 11 12 makeFlags = [ "PREFIX=$(out)" "LIBTOOL=${libtool}/bin/libtool" ]; 13 14 nativeBuildInputs = [ libtool pkg-config ]; 15 buildInputs = [ ncurses unibilium ]; 16 17 strictDeps = true; 18 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 }; 25}