Unverified Commit 4a643e8e authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #223159 from fabaff/dpath-bump

python310Packages.dpath: 2.1.4 -> 2.1.5
parents 123a98fc 28182088
Loading
Loading
Loading
Loading
+14 −6
Original line number Diff line number Diff line
@@ -2,24 +2,29 @@
, buildPythonPackage
, fetchPypi
, hypothesis
, isPy27
, pythonOlder
, mock
, nose2
, pytestCheckHook
, setuptools
}:

buildPythonPackage rec {
  pname = "dpath";
  version = "2.1.4";
  version = "2.1.5";
  format = "setuptools";

  disabled = isPy27; # uses python3 imports
  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-M4CnfQ20q/EEElhg/260vQfJfGW4Gq1CpglxcImhvtA=";
    hash = "sha256-zNlk24ObqtSqggYStLhzGwn0CiRdQBtyMVbOTvRbIrc=";
  };

  # use pytest as nosetests hangs
  nativeBuildInputs = [
    setuptools
  ];

  nativeCheckInputs = [
    hypothesis
    mock
@@ -27,11 +32,14 @@ buildPythonPackage rec {
    pytestCheckHook
  ];

  pythonImportsCheck = [ "dpath" ];
  pythonImportsCheck = [
    "dpath"
  ];

  meta = with lib; {
    description = "Python library for accessing and searching dictionaries via /slashed/paths ala xpath";
    homepage = "https://github.com/akesterson/dpath-python";
    changelog = "https://github.com/dpath-maintainers/dpath-python/releases/tag/v${version}";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ mmlb ];
  };