evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / six / default.nix
blob89e77586339b72082da26c1fb346f2f294865f59
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   isPyPy,
6   pytestCheckHook,
7 }:
9 buildPythonPackage rec {
10   pname = "six";
11   version = "1.16.0";
13   format = "setuptools";
15   src = fetchPypi {
16     inherit pname version;
17     sha256 = "1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926";
18   };
20   nativeCheckInputs = [ pytestCheckHook ];
22   pytestFlagsArray =
23     if isPyPy then
24       [
25         # uses ctypes to find native library
26         "--deselect=test_six.py::test_move_items"
27       ]
28     else
29       null;
31   pythonImportsCheck = [ "six" ];
33   meta = {
34     changelog = "https://github.com/benjaminp/six/blob/${version}/CHANGES";
35     description = "Python 2 and 3 compatibility library";
36     homepage = "https://github.com/benjaminp/six";
37     license = lib.licenses.mit;
38     maintainers = with lib.maintainers; [ dotlambda ];
39   };