about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libuev
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libuev')
-rw-r--r--nixpkgs/pkgs/development/libraries/libuev/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libuev/default.nix b/nixpkgs/pkgs/development/libraries/libuev/default.nix
new file mode 100644
index 000000000000..a124c25a2040
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/libuev/default.nix
@@ -0,0 +1,23 @@
+{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook }:
+
+stdenv.mkDerivation rec {
+  pname = "libuev";
+  version = "2.4.1";
+
+  src = fetchFromGitHub {
+    owner = "troglobit";
+    repo = "libuev";
+    rev = "v${version}";
+    hash = "sha256-x1Sk7IuhlBQPFL7Rq4tmEanBxI/WaQ2L5fpUyEWOoi8=";
+  };
+
+  nativeBuildInputs = [ pkg-config autoreconfHook ];
+
+  meta = with lib; {
+    description = "Lightweight event loop library for Linux epoll() family APIs";
+    homepage = "https://codedocs.xyz/troglobit/libuev/";
+    license = licenses.mit;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ vifino ];
+  };
+}