13 buildPythonPackage rec {
18 disabled = pythonOlder "3.6";
21 inherit pname version;
22 hash = "sha256-J7uLS8rv7DmXaXuj9uBrJEcgC6JzwLCFw9ASoEVxtSg=";
27 name = "fix-configparser-deprecation-warning.patch";
28 url = "https://github.com/pyupio/dparse/pull/69.patch";
29 hash = "sha256-RolD6xDJpI8/UHgAdcsXoyxOGLok7AogLMOTl1ZPKvw=";
37 propagatedBuildInputs = [
39 ] ++ lib.optionals (pythonOlder "3.11") [
43 passthru.optional-dependencies = {
44 # FIXME pipenv = [ pipenv ];
50 ] ++ lib.flatten (lib.attrValues passthru.optional-dependencies);
52 pythonImportsCheck = [
57 # requires unpackaged dependency pipenv
62 description = "A parser for Python dependency files";
63 homepage = "https://github.com/pyupio/dparse";
64 changelog = "https://github.com/pyupio/dparse/blob/${version}/HISTORY.rst";
65 license = licenses.mit;
66 maintainers = with maintainers; [ thomasdesr ];