Unverified Commit 2901b67d authored by Martin Weinelt's avatar Martin Weinelt
Browse files

python310Packages.resize-right: init at 0.0.2

parent 1b28a9b9
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi

# dependencies
, numpy
, torch
}:

buildPythonPackage rec {
  pname = "resize-right";
  version = "0.0.2";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-fcNbcs5AErd/fMkEmDUWN5OrmKWKuIk2EPsRn+Wa9SA=";
  };

  propagatedBuildInputs = [
    numpy
    torch
  ];

  pythonImportsCheck = [
    "resize_right"
  ];

  # no tests
  doCheck = false;

  meta = with lib; {
    description = "The correct way to resize images or tensors. For Numpy or Pytorch (differentiable";
    homepage = "https://github.com/assafshocher/ResizeRight";
    license = licenses.mit;
    maintainers = teams.tts.members;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -10463,6 +10463,8 @@ self: super: with self; {

  resampy = callPackage ../development/python-modules/resampy { };

  resize-right = callPackage ../development/python-modules/resize-right { };

  resolvelib = callPackage ../development/python-modules/resolvelib { };

  responses = callPackage ../development/python-modules/responses { };