Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
662 B · 37 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738{ 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; };}