lol

yoda: 2.0.2 -> 2.0.3 (#381889)

authored by

Dmitry Kalinkin and committed by
GitHub
1d182bfc 44f25057

+12 -15
+11 -11
pkgs/development/libraries/physics/yoda/default.nix pkgs/by-name/yo/yoda/package.nix
··· 4 4 fetchFromGitLab, 5 5 autoreconfHook, 6 6 bash, 7 - python, 7 + python3, 8 8 root, 9 9 makeWrapper, 10 10 zlib, ··· 13 13 14 14 stdenv.mkDerivation rec { 15 15 pname = "yoda"; 16 - version = "2.0.2"; 16 + version = "2.0.3"; 17 17 18 18 src = fetchFromGitLab { 19 19 owner = "hepcedar"; 20 20 repo = pname; 21 21 rev = "yoda-${version}"; 22 - hash = "sha256-sHvwgLH22fvdlh4oLjr4fzZ2WtBJMAlvr4Vxi9Xdf84="; 22 + hash = "sha256-No2Lr4nmYNfFnJVpg7xYjd35g12CbQtpW9QMjM3owko="; 23 23 }; 24 24 25 - nativeBuildInputs = with python.pkgs; [ 25 + nativeBuildInputs = with python3.pkgs; [ 26 26 autoreconfHook 27 27 bash 28 28 cython ··· 31 31 32 32 buildInputs = 33 33 [ 34 - python 34 + python3 35 35 ] 36 - ++ (with python.pkgs; [ 36 + ++ (with python3.pkgs; [ 37 37 numpy 38 38 matplotlib 39 39 ]) ··· 54 54 patchShebangs . 55 55 56 56 substituteInPlace pyext/yoda/plotting/script_generator.py \ 57 - --replace '/usr/bin/env python' '${python.interpreter}' 57 + --replace '/usr/bin/env python' '${python3.interpreter}' 58 58 ''; 59 59 60 60 postInstall = '' ··· 70 70 71 71 installCheckTarget = "check"; 72 72 73 - meta = with lib; { 73 + meta = { 74 74 description = "Provides small set of data analysis (specifically histogramming) classes"; 75 - license = licenses.gpl3Only; 75 + license = lib.licenses.gpl3Only; 76 76 homepage = "https://yoda.hepforge.org"; 77 77 changelog = "https://gitlab.com/hepcedar/yoda/-/blob/yoda-${version}/ChangeLog"; 78 - platforms = platforms.unix; 79 - maintainers = with maintainers; [ veprbl ]; 78 + platforms = lib.platforms.unix; 79 + maintainers = with lib.maintainers; [ veprbl ]; 80 80 }; 81 81 }
-3
pkgs/top-level/all-packages.nix
··· 17368 17368 imagemagick = graphicsmagick-imagemagick-compat; 17369 17369 }; 17370 17370 17371 - yoda = callPackage ../development/libraries/physics/yoda { 17372 - python = python3; 17373 - }; 17374 17371 yoda-with-root = lowPrio (yoda.override { 17375 17372 withRootSupport = true; 17376 17373 });
+1 -1
pkgs/top-level/python-packages.nix
··· 18630 18630 18631 18631 yfinance = callPackage ../development/python-modules/yfinance { }; 18632 18632 18633 - yoda = toPythonModule (pkgs.yoda.override { inherit python; }); 18633 + yoda = toPythonModule (pkgs.yoda.override { python3 = python; }); 18634 18634 18635 18635 yolink-api = callPackage ../development/python-modules/yolink-api { }; 18636 18636