mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
36 lines
636 B
Nix
36 lines
636 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nocasedict";
|
|
version = "2.0.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-lgy2mfEgnagKw546tQqnNC/oyp9wYGwjRHpRBVBDXlA=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|