Unverified Commit 44c57e88 authored by kirillrdy's avatar kirillrdy Committed by GitHub
Browse files

python3Packages.llama-cpp-python: 0.3.9 -> 0.3.12 (#424204)

parents 5b6bf19b 25eb426e
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -39,14 +39,14 @@ let
in
buildPythonPackage rec {
  pname = "llama-cpp-python";
  version = "0.3.9";
  version = "0.3.12";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "abetlen";
    repo = "llama-cpp-python";
    tag = "v${version}";
    hash = "sha256-iw9teWZ612gUNM2Zm5WGdFTq7aNo8QRRIGeHoFpXdfQ=";
    hash = "sha256-TTGweGfav1uI2+87iUYc1Esmuor9sEZdZqSU2YVPCdQ=";
    fetchSubmodules = true;
  };
  # src = /home/gaetan/llama-cpp-python;
@@ -118,7 +118,10 @@ buildPythonPackage rec {
  pythonImportsCheck = [ "llama_cpp" ];

  passthru = {
    updateScript = gitUpdater { rev-prefix = "v"; };
    updateScript = gitUpdater {
      rev-prefix = "v";
      allowedVersions = "^[.0-9]+$";
    };
    tests = lib.optionalAttrs stdenvTarget.hostPlatform.isLinux {
      withCuda = llama-cpp-python.override {
        cudaSupport = true;