summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/mplhep-data/default.nix
blob: 27c2399e2c7ce5b51c55a79c57d3e8eaefc6cd20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
  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 ];
  };
}