2022-03-31 21:08:39 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytestCheckHook
|
|
|
|
, six
|
2020-10-31 21:47:43 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nocasedict";
|
2022-08-05 05:54:04 +00:00
|
|
|
version = "1.0.4";
|
2020-10-31 21:47:43 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-08-05 05:54:04 +00:00
|
|
|
sha256 = "sha256-fBEdpM79JEQzy2M3ev8IGkD4S92unm83bGfwhsD4Bto=";
|
2020-10-31 21:47:43 +00:00
|
|
|
};
|
|
|
|
|
2022-03-31 21:08:39 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
2020-10-31 21:47:43 +00:00
|
|
|
checkInputs = [
|
2022-03-31 21:08:39 +00:00
|
|
|
pytestCheckHook
|
2020-10-31 21:47:43 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|