nixpkgs-suyu/pkgs/development/python-modules/nocasedict/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

35 lines
636 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, six
}:
buildPythonPackage rec {
pname = "nocasedict";
version = "2.0.0";
src = fetchPypi {
inherit pname version;
hash = "sha256-M797DqUO7mutFtx0AP2J3S1Tedm6nPF2NL8qWa42/wo=";
};
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 ];
};
}