Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / libuinputplus / default.nix
blob28110b577047d900355b25dab7978c4ede1a19bd
1 { lib, stdenv, fetchFromGitHub, cmake, pkg-config }:
2 stdenv.mkDerivation rec {
3   pname = "libuinputplus";
4   version = "2021-04-02";
6   # adds missing cmake install directives
7   # https://github.com/YukiWorkshop/libuInputPlus/pull/7
8   patches = [ ./0001-Add-cmake-install-directives.patch];
10   src  = fetchFromGitHub {
11     owner  = "YukiWorkshop";
12     repo   = "libuInputPlus";
13     rev    = "f7f18eb339bba61a43f2cad481a9b1a453a66957";
14     sha256 = "0sind2ghhy4h9kfkr5hsmhcq0di4ifwqyv4gac96rgj5mwvs33lp";
15   };
17   nativeBuildInputs = [ cmake pkg-config ];
19   meta = with lib; {
20     inherit (src.meta) homepage;
21     description = "Easy-to-use uinput library in C++";
22     license = licenses.mit;
23     maintainers = with maintainers; [ willibutz ];
24     platforms = with platforms; linux;
25   };