Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / resize-right / default.nix
blob99b42faf3995227d0e8ef6c1468b2fe9361137dd
1 { lib
2 , buildPythonPackage
3 , fetchPypi
5 # dependencies
6 , numpy
7 , torch
8 }:
10 buildPythonPackage rec {
11   pname = "resize-right";
12   version = "0.0.2";
13   format = "setuptools";
15   src = fetchPypi {
16     inherit pname version;
17     hash = "sha256-fcNbcs5AErd/fMkEmDUWN5OrmKWKuIk2EPsRn+Wa9SA=";
18   };
20   propagatedBuildInputs = [
21     numpy
22     torch
23   ];
25   pythonImportsCheck = [
26     "resize_right"
27   ];
29   # no tests
30   doCheck = false;
32   meta = with lib; {
33     description = "The correct way to resize images or tensors. For Numpy or Pytorch (differentiable";
34     homepage = "https://github.com/assafshocher/ResizeRight";
35     license = licenses.mit;
36     maintainers = teams.tts.members;
37   };