depot/third_party/nixpkgs/pkgs/development/python-modules/munch/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

44 lines
722 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 = "Dot-accessible dictionary (a la JavaScript objects)";
license = licenses.mit;
homepage = "https://github.com/Infinidat/munch";
};
}