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

Commit

Permalink
Try
Browse files Browse the repository at this point in the history
  • Loading branch information
DataEraserC committed Oct 14, 2023
1 parent 02aee9b commit 2e72ad1
Showing 1 changed file with 4 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
# When you use pkgs.callPackage, parameters here will be filled with packages from Nixpkgs (if there's a match)
{ lib
, stdenv
, fetchFromGitHub
, cmake
, ...
} @ args:
{ lib, stdenv, fetchFromGitHub, cmake, ... }@args:

stdenv.mkDerivation rec {
# Specify package name and version
Expand All @@ -16,7 +11,7 @@ stdenv.mkDerivation rec {
owner = "Program-Learning";
repo = "waybar-bluetooth_battery_parse";
# Commit or tag, note that fetchFromGitHub cannot follow a branch!
# rev = "0.7.1";
rev = "9c7eeca741c92aa8d16d55d71b492ba481e1672e";
# Download git submodules, most packages don't need this
fetchSubmodules = false;
# Don't know how to calculate the SHA256 here? Comment it out and build the package
Expand All @@ -35,9 +30,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];

# Arguments to CMake that controls functionalities of liboqs
cmakeFlags = [
"-DBUILD_SHARED_LIBS=ON"
];
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];

# stdenv.mkDerivation automatically does the rest for you
}
}

0 comments on commit 2e72ad1

Please sign in to comment.