libei: init at 1.0.0rc1

This commit is contained in:
PedroHLC ☭
2023-05-25 19:40:22 +00:00
committed by Anderson Torres
parent 541f88fb79
commit 88c31e1e13
2 changed files with 73 additions and 0 deletions
@@ -0,0 +1,71 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchFromGitLab
, attr
, libevdev
, libxkbcommon
, meson
, ninja
, pkg-config
, protobuf
, protobufc
, python3
, python3Packages
, systemd
}:
let
munit = fetchFromGitHub {
owner = "nemequ";
repo = "munit";
rev = "fbbdf1467eb0d04a6ee465def2e529e4c87f2118";
hash = "sha256-qm30C++rpLtxBhOABBzo+6WILSpKz2ibvUvoe8ku4ow=";
};
in
stdenv.mkDerivation rec {
pname = "libei";
version = "0.99.1";
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "libinput";
repo = "libei";
rev = version;
hash = "sha256-r/rkN2d8P30P/IL1YaLWWRbA5s3uVq5Fc/K1vhS31tw=";
};
buildInputs = [
libevdev
libxkbcommon
protobuf
protobufc
systemd
];
nativeBuildInputs = [
attr
meson
ninja
pkg-config
python3
] ++
(with python3Packages; [
jinja2
pytest
python-dbusmock
strenum
structlog
]);
postPatch = ''
ln -s "${munit}" ./subprojects/munit
patchShebangs ./proto/ei-scanner
'';
meta = with lib; {
description = "Library for Emulated Input";
homepage = "https://gitlab.freedesktop.org/libinput/libei";
license = licenses.mit;
maintainers = [ maintainers.pedrohlc ];
platforms = platforms.linux;
};
}
+2
View File
@@ -21733,6 +21733,8 @@ with pkgs;
libedit = callPackage ../development/libraries/libedit { };
libei = callPackage ../development/libraries/libei { };
libelf = callPackage ../development/libraries/libelf { };
libelfin = callPackage ../development/libraries/libelfin { };