diff options
author | SCOTT-HAMILTON <sgn.hamilton+github@protonmail.com> | 2020-06-27 14:00:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-27 14:00:58 +0200 |
commit | b5d5c9d5680d4e0918754098e35a60cf17c8ec07 (patch) | |
tree | b569b0ab7514c2959f5c916ec1a8a122596c7cd0 | |
parent | f90be5f8c963964926cb157f0d850248138a664d (diff) | |
download | nixpkgs-b5d5c9d5680d4e0918754098e35a60cf17c8ec07.tar nixpkgs-b5d5c9d5680d4e0918754098e35a60cf17c8ec07.tar.gz nixpkgs-b5d5c9d5680d4e0918754098e35a60cf17c8ec07.tar.bz2 nixpkgs-b5d5c9d5680d4e0918754098e35a60cf17c8ec07.tar.lz nixpkgs-b5d5c9d5680d4e0918754098e35a60cf17c8ec07.tar.xz nixpkgs-b5d5c9d5680d4e0918754098e35a60cf17c8ec07.tar.zst nixpkgs-b5d5c9d5680d4e0918754098e35a60cf17c8ec07.zip |
WiiUse: Init at 0.15.5 (#91425)
Co-authored-by: SCOTT-HAMILTON <sgn.hamilton@protonmail.com>
-rw-r--r-- | pkgs/development/libraries/wiiuse/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/libraries/wiiuse/default.nix b/pkgs/development/libraries/wiiuse/default.nix new file mode 100644 index 00000000000..4dcc8a47105 --- /dev/null +++ b/pkgs/development/libraries/wiiuse/default.nix @@ -0,0 +1,33 @@ +{ lib +, stdenv +, fetchFromGitHub +, cmake +, pkg-config +, bluez +}: +stdenv.mkDerivation rec { + + pname = "WiiUse"; + version = "0.15.5"; + + src = fetchFromGitHub { + owner = "wiiuse"; + repo = "wiiuse"; + rev = "${version}"; + sha256 = "05gc3s0wxx7ga4g32yyibyxdh46rm9bbslblrc72ynrjxq98sg13"; + }; + + nativeBuildInputs = [ cmake ]; + + buildInputs = [ (lib.getDev bluez) ]; + + cmakeFlags = [ "-DBUILD_EXAMPLE_SDL=NO" ]; + + meta = with lib; { + description = "Feature complete cross-platform Wii Remote access library"; + license = licenses.gpl3; + homepage = "https://github.com/wiiuse/wiiuse"; + maintainers = with maintainers; [ shamilton ]; + platforms = with platforms; linux; + }; +} |