2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchPypi,
|
|
|
|
buildPythonPackage,
|
|
|
|
hatchling,
|
|
|
|
hatch-vcs,
|
|
|
|
numpy,
|
|
|
|
pytestCheckHook,
|
2023-02-16 17:41:37 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "uhi";
|
2023-10-19 13:55:26 +00:00
|
|
|
version = "0.4.0";
|
2023-02-16 17:41:37 +00:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-DctrGXdQh9OKMe44jLLHDy7P4ExP/iymMiNBDK5b7vo=";
|
2023-02-16 17:41:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
hatchling
|
|
|
|
hatch-vcs
|
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [ numpy ];
|
2023-02-16 17:41:37 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
2023-02-16 17:41:37 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Universal Histogram Interface";
|
|
|
|
homepage = "https://uhi.readthedocs.io/";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ veprbl ];
|
|
|
|
};
|
|
|
|
}
|