2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config }:
|
2019-10-29 13:38:55 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libevdevplus";
|
2020-01-16 19:16:40 +00:00
|
|
|
version = "unstable-2019-10-01";
|
2019-10-29 13:38:55 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "YukiWorkshop";
|
|
|
|
repo = "libevdevPlus";
|
|
|
|
rev = "e863df2ade43e2c7d7748cc33ca27fb3eed325ca";
|
|
|
|
sha256 = "18z6pn4j7fhmwwh0q22ip5nn7sc1hfgwvkdzqhkja60i8cw2cvvj";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2019-10-29 13:38:55 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2019-10-29 13:38:55 +00:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "Easy-to-use event device library in C++";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ willibutz ];
|
|
|
|
platforms = with platforms; linux;
|
|
|
|
};
|
|
|
|
}
|