depot/third_party/nixpkgs/pkgs/development/python-modules/uhi/default.nix
Default email b5f92a349c Project import generated by Copybara.
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
2023-10-19 15:55:26 +02:00

39 lines
644 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, hatchling
, hatch-vcs
, numpy
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "uhi";
version = "0.4.0";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-DctrGXdQh9OKMe44jLLHDy7P4ExP/iymMiNBDK5b7vo=";
};
buildInputs = [
hatchling
hatch-vcs
];
propagatedBuildInputs = [
numpy
];
checkInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Universal Histogram Interface";
homepage = "https://uhi.readthedocs.io/";
license = licenses.bsd3;
maintainers = with maintainers; [ veprbl ];
};
}