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 f84898a
Showing 1 changed file with 3 additions and 6 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 @@ -29,10 +29,7 @@ in stdenv.mkDerivation rec {
dontFixCmake = true;

# 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 f84898a

Please sign in to comment.