depot/third_party/nixpkgs/pkgs/development/python-modules/nocasedict/default.nix

32 lines
652 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchPypi,
pytest7CheckHook,
six,
}:
buildPythonPackage rec {
pname = "nocasedict";
version = "2.0.3";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-HJImx/WoqXrVHcsK4xV6cg4/fLnEVo0i6joF4/hWWKk=";
};
propagatedBuildInputs = [ six ];
nativeCheckInputs = [ pytest7CheckHook ];
pythonImportsCheck = [ "nocasedict" ];
meta = with lib; {
description = "A case-insensitive ordered dictionary for Python";
homepage = "https://github.com/pywbem/nocasedict";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ freezeboy ];
};
}