Merge pull request #205326 from wegank/ois-bump

ois: 1.5 -> 1.5.1
This commit is contained in:
Azat Bahawi 2022-12-10 17:06:18 +03:00 committed by GitHub
commit 34eee7a230
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,18 +2,23 @@
stdenv.mkDerivation rec {
pname = "ois";
version = "1.5";
version = "1.5.1";
src = fetchFromGitHub {
owner = "wgois";
repo = "OIS";
rev = "v${version}";
sha256 = "0g8krgq5bdx2rw7ig0xva4kqv4x815672i7z6lljp3n8847wmypa";
sha256 = "sha256-ir6p+Tzf8L5VOW/rsG4yelsth7INbhABO2T7pfMHcFo=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ libX11 ] ++ lib.optionals stdenv.isDarwin [ Cocoa IOKit Kernel ];
buildInputs = lib.optionals stdenv.isLinux [ libX11 ]
++ lib.optionals stdenv.isDarwin [ Cocoa IOKit Kernel ];
cmakeFlags = [
"-DCMAKE_INSTALL_LIBDIR=lib"
];
meta = with lib; {
description = "Object-oriented C++ input system";