Gaetan Lepage
2024-08-21 08:47:14 +02:00
parent 8294a46c6c
commit 86df68185d
@@ -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";