Unverified Commit 56f391f6 authored by Samuel Ainsworth's avatar Samuel Ainsworth Committed by GitHub
Browse files

Merge pull request #243010 from GaetanLepage/tensorflow-datasets-update

python3Packages.tensorflow-datasets: 4.8.2 -> 4.9.2
parents 6accf8e5 83f61a06
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, nose
}:

buildPythonPackage rec {
  pname = "jsonable";
  version = "0.3.1";

  src = fetchFromGitHub {
    owner = "halfak";
    repo = "python-jsonable";
    rev = "refs/tags/${version}";
    hash = "sha256-3FIzG2djSZOPDdoYeKqs3obQjgHrFtyp0sdBwZakkHA=";
  };

  nativeCheckInputs = [ pytestCheckHook ];

  checkInputs = [ nose ];

  pythonImportsCheck = [ "jsonable" ];

  meta = with lib; {
    description = "Provides an abstract base class and utilities for defining trivially JSONable python objects";
    homepage = "https://github.com/halfak/python-jsonable";
    license = licenses.mit;
    maintainers = with maintainers; [ GaetanLepage ];
  };
}
+41 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, pythonRelaxDepsHook
, docopt
, para
}:

buildPythonPackage rec {
  pname = "mwcli";
  version = "0.0.3";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-ADMb0P8WtXIcnGJ02R4l/TVfRewHc8ig45JurAWHGaA=";
  };

  # Prevent circular dependency
  pythonRemoveDeps = [
    "mwxml"
  ];

  nativeBuildInputs = [
    pythonRelaxDepsHook
  ];

  propagatedBuildInputs = [
    docopt
    para
  ];

  # Tests require mwxml which itself depends on this package (circular dependency)
  doCheck = false;

  meta = with lib; {
    description = "A set of helper functions and classes for mediawiki-utilities command-line utilities";
    homepage = "https://github.com/mediawiki-utilities/python-mwcli";
    license = licenses.mit;
    maintainers = with maintainers; [ GaetanLepage ];
  };
}
+37 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, jsonable
, pytestCheckHook
, nose
}:

buildPythonPackage rec {
  pname = "mwtypes";
  version = "0.3.2";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-3BF2xZZWKcEj6FmzGa5hUdTjhVMemngWBMDUyjQ045k=";
  };

  propagatedBuildInputs = [ jsonable ];

  nativeCheckInputs = [ pytestCheckHook ];

  checkInputs = [ nose ];

  disabledTests = [
    "test_normalize_path_bad_extension"
    "test_open_file"
  ];

  pythonImportsCheck = [ "mwtypes" ];

  meta = with lib; {
    description = "A set of classes for working with MediaWiki data types.";
    homepage = "https://github.com/mediawiki-utilities/python-mwtypes";
    license = licenses.mit;
    maintainers = with maintainers; [ GaetanLepage ];
  };
}
+42 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, jsonschema
, mwcli
, mwtypes
, pytestCheckHook
, nose
}:

buildPythonPackage rec {
  pname = "mwxml";
  version = "0.3.3";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-CEjfDPLik3GPVUMRrPRxW9Z59jn05Sy+R9ggZYnbHTE=";
  };

  propagatedBuildInputs = [
    jsonschema
    mwcli
    mwtypes
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  checkInputs = [ nose ];

  disabledTests = [
    "test_page_with_discussion"
  ];

  pythonImportsCheck = [ "mwxml" ];

  meta = with lib; {
    description = "A set of utilities for processing MediaWiki XML dump data";
    homepage = "https://github.com/mediawiki-utilities/python-mwxml";
    license = licenses.mit;
    maintainers = with maintainers; [ GaetanLepage ];
  };
}
+29 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, nose
}:

buildPythonPackage rec {
  pname = "para";
  version = "0.0.8";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-RsMjKunY6p2IbP0IzdESiSICvthkX0C2JVWXukz+8hc=";
  };

  nativeCheckInputs = [ pytestCheckHook ];

  checkInputs = [ nose ];

  pythonImportsCheck = [ "para" ];

  meta = with lib; {
    description = "A set utilities that ake advantage of python's 'multiprocessing' module to distribute CPU-intensive tasks";
    homepage = "https://pypi.org/project/para";
    license = licenses.mit;
    maintainers = with maintainers; [ GaetanLepage ];
  };
}
Loading