Unverified Commit dd429d7a authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

Merge pull request #336272 from GaetanLepage/correctionlib

python312Packages.correctionlib: 2.6.1 -> 2.6.4
parents b152577c 86df6818
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -26,14 +26,14 @@

buildPythonPackage rec {
  pname = "correctionlib";
  version = "2.6.1";
  version = "2.6.4";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "cms-nanoAOD";
    repo = "correctionlib";
    rev = "refs/tags/v${version}";
    hash = "sha256-mfNSETMjhLoa3MK7zPggz568j1T6ay42cKa1GGKKfT8=";
    hash = "sha256-l+JjW/giGzU00z0jBN3D4KB/LjTIxeJb3CS+Ge0gbiA=";
    fetchSubmodules = true;
  };

@@ -64,6 +64,11 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "correctionlib" ];

  # One test requires running the produced `correctionlib` binary
  preCheck = ''
    export PATH=$out/bin:$PATH
  '';

  meta = {
    description = "Provides a well-structured JSON data format for a wide variety of ad-hoc correction factors encountered in a typical HEP analysis";
    mainProgram = "correction";