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

36 lines
638 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, six
}:
buildPythonPackage rec {
pname = "nocasedict";
version = "1.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-rFUd5pK+aupbQ6w/LDN4DflAATrG3QcY+1Usi1YLpmE=";
};
propagatedBuildInputs = [
six
];
nativeCheckInputs = [
pytestCheckHook
];
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 ];
};
}