Files
nixpkgs/pkgs/development/python-modules/mplhep-data/default.nix
T
Michael Daniels 075e8c2c4f treewide: change 'format = "pyproject";' to 'pyproject = true;'
This is almost all find-and-replace.

I manually edited:
* pkgs/development/python-modules/notifications-android-tv/default.nix,
* pkgs/servers/home-assistant/default.nix,
* pkgs/development/tools/continuous-integration/buildbot/master.nix

A few files have not been changed in this PR because they would cause rebuilds.

This PR should have 0 rebuilds.
2026-01-12 17:50:35 -05:00

38 lines
686 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "mplhep-data";
version = "0.0.4";
pyproject = true;
src = fetchPypi {
pname = "mplhep_data";
inherit version;
hash = "sha256-zR8606+dv/M67550BtITDWJKC9HVqllw/HE6ZCEWWk4=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
];
pythonImportsCheck = [ "mplhep_data" ];
meta = {
description = "Sub-package to hold data (fonts) for mplhep";
homepage = "https://github.com/scikit-hep/mplhep_data";
license = with lib.licenses; [
mit
gfl
ofl
];
maintainers = with lib.maintainers; [ veprbl ];
};
}