summary refs log tree commit diff
path: root/pkgs/development/python-modules/dpath/default.nix
blob: 9db726a12a196c270d39a1ac9f0fbeb02522708a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, fetchPypi, buildPythonPackage, isPy27
, mock, pytestCheckHook, nose, hypothesis
}:

buildPythonPackage rec {
  pname = "dpath";
  version = "2.0.1";
  disabled = isPy27; # uses python3 imports

  src = fetchPypi {
    inherit pname version;
    sha256 = "bea06b5f4ff620a28dfc9848cf4d6b2bfeed34238edeb8ebe815c433b54eb1fa";
  };

  # use pytest as nosetests hangs
  checkInputs = [ mock nose pytestCheckHook hypothesis ];

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