Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 23 lines 644 B view raw
1{ stdenv, fetchFromGitHub, cmake, pkgconfig }: 2 3stdenv.mkDerivation rec { 4 pname = "libevdevplus"; 5 version = "unstable-2019-10-01"; 6 7 src = fetchFromGitHub { 8 owner = "YukiWorkshop"; 9 repo = "libevdevPlus"; 10 rev = "e863df2ade43e2c7d7748cc33ca27fb3eed325ca"; 11 sha256 = "18z6pn4j7fhmwwh0q22ip5nn7sc1hfgwvkdzqhkja60i8cw2cvvj"; 12 }; 13 14 nativeBuildInputs = [ cmake pkgconfig ]; 15 16 meta = with stdenv.lib; { 17 inherit (src.meta) homepage; 18 description = "Easy-to-use event device library in C++"; 19 license = licenses.mit; 20 maintainers = with maintainers; [ willibutz ]; 21 platforms = with platforms; linux; 22 }; 23}