Loading pkgs/development/python-modules/munch/default.nix +24 −9 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchPypi , six , fetchFromGitHub # build-system , pbr , setuptools # tests , pytestCheckHook , pyyaml }: buildPythonPackage rec { pname = "munch"; version = "4.0.0"; format = "setuptools"; pyproject = true; src = fetchPypi { inherit pname version; sha256 = "sha256-VCyxUUYSYyFqTjfD/Zr8Ql/urziqowJc0qmB+ttCIjU="; src = fetchFromGitHub { owner = "Infinidat"; repo = "munch"; rev = "refs/tags/${version}"; hash = "sha256-p7DvOGRhkCmtJ32EfttyKXGGmO5kfb2bQGqok/RJtU8="; }; propagatedBuildInputs = [ six pbr ]; env.PBR_VERSION = version; nativeBuildInputs = [ pbr setuptools ]; # No tests in archive doCheck = false; nativeCheckInputs = [ pytestCheckHook pyyaml ]; meta = with lib; { description = "A dot-accessible dictionary (a la JavaScript objects)"; Loading Loading
pkgs/development/python-modules/munch/default.nix +24 −9 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchPypi , six , fetchFromGitHub # build-system , pbr , setuptools # tests , pytestCheckHook , pyyaml }: buildPythonPackage rec { pname = "munch"; version = "4.0.0"; format = "setuptools"; pyproject = true; src = fetchPypi { inherit pname version; sha256 = "sha256-VCyxUUYSYyFqTjfD/Zr8Ql/urziqowJc0qmB+ttCIjU="; src = fetchFromGitHub { owner = "Infinidat"; repo = "munch"; rev = "refs/tags/${version}"; hash = "sha256-p7DvOGRhkCmtJ32EfttyKXGGmO5kfb2bQGqok/RJtU8="; }; propagatedBuildInputs = [ six pbr ]; env.PBR_VERSION = version; nativeBuildInputs = [ pbr setuptools ]; # No tests in archive doCheck = false; nativeCheckInputs = [ pytestCheckHook pyyaml ]; meta = with lib; { description = "A dot-accessible dictionary (a la JavaScript objects)"; Loading