python310Packages.resize-right: init at 0.0.2
This commit is contained in:
parent
1b28a9b9b8
commit
2901b67d76
37
pkgs/development/python-modules/resize-right/default.nix
Normal file
37
pkgs/development/python-modules/resize-right/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue