Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
Initial Commit for waybar-bluetooth_battery_parse
Browse files Browse the repository at this point in the history
  • Loading branch information
DataEraserC committed Oct 14, 2023
1 parent 9b143be commit 8830f7b
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ in stdenv.mkDerivation rec {
# Specify package name and version
pname = "waybar-bluetooth_battery_parse";
version = "0.0.2";
src = src;
buildInputs = [ cmake ];
inherit src;
buildInputs = [ cmake gcc ];

# Download source code from GitHub

Expand All @@ -26,13 +26,9 @@ in stdenv.mkDerivation rec {
enableParallelBuilding = true;
# If you encounter some weird error when packaging CMake-based software, try enabling this
# This disables some automatic fixes applied to CMake-based software
dontFixCmake = true;
dontFixCmake = false;

# Add CMake to the building environment, to generate Makefile with it
nativeBuildInputs = [ cmake ];

# Arguments to CMake that controls functionalities of liboqs
cmakeFlags = [ "-DCMAKE_INSTALL_PREFIX=$out" ];

nativeBuildInputs = [ cmake gcc ];
# stdenv.mkDerivation automatically does the rest for you
}

0 comments on commit 8830f7b

Please sign in to comment.