depot/third_party/nixpkgs/pkgs/development/python-modules/munch/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

44 lines
724 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
pbr,
setuptools,
# tests
pytestCheckHook,
pyyaml,
}:
buildPythonPackage rec {
pname = "munch";
version = "4.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Infinidat";
repo = "munch";
rev = "refs/tags/${version}";
hash = "sha256-p7DvOGRhkCmtJ32EfttyKXGGmO5kfb2bQGqok/RJtU8=";
};
env.PBR_VERSION = version;
nativeBuildInputs = [
pbr
setuptools
];
nativeCheckInputs = [
pytestCheckHook
pyyaml
];
meta = with lib; {
description = "A dot-accessible dictionary (a la JavaScript objects)";
license = licenses.mit;
homepage = "https://github.com/Infinidat/munch";
};
}