mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
commit
34eee7a230
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user