From c43b787f960cca5f66328880e816576775adfa27 Mon Sep 17 00:00:00 2001 From: Charles Strahan Date: Sun, 8 Mar 2015 23:35:25 -0400 Subject: [PATCH] unibilium: new package Unibilium is a very basic terminfo library. It doesn't depend on curses or any other library. It also doesn't use global variables, so it should be thread-safe. --- .../libraries/unibilium/default.nix | 23 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/libraries/unibilium/default.nix diff --git a/pkgs/development/libraries/unibilium/default.nix b/pkgs/development/libraries/unibilium/default.nix new file mode 100644 index 000000000000..11f3294b2894 --- /dev/null +++ b/pkgs/development/libraries/unibilium/default.nix @@ -0,0 +1,23 @@ +{ stdenv, lib, fetchFromGitHub, libtool, pkgconfig }: + +stdenv.mkDerivation rec { + name = "unibilium-${version}"; + + version = "1.1.2"; + + src = fetchFromGitHub { + owner = "mauke"; + repo = "unibilium"; + rev = "v${version}"; + sha256 = "143j7qrqjxxmdf3yzhn6av2qwiyjjk4cnskkgz6ir2scjfd5gvja"; + }; + + makeFlags = [ "PREFIX=$(out)" ]; + + buildInputs = [ libtool pkgconfig ]; + + meta = with lib; { + description = "A very basic terminfo library"; + license = with licenses; [ lgpl3Plus ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 62e3a67a5291..5d4cca4cd088 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7501,6 +7501,8 @@ let uid_wrapper = callPackage ../development/libraries/uid_wrapper { }; + unibilium = callPackage ../development/libraries/unibilium { }; + unicap = callPackage ../development/libraries/unicap {}; tsocks = callPackage ../development/libraries/tsocks { };