depot/third_party/nixpkgs/pkgs/development/python-modules/torchvision/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 lines
569 B
Nix

{ buildPythonPackage
, fetchPypi
, six
, numpy
, pillow
, pytorch
, lib
}:
buildPythonPackage rec {
version = "0.2.1";
pname = "torchvision";
format = "wheel";
src = fetchPypi {
inherit pname version;
format = "wheel";
sha256 = "18gvdabkmzfjg47ns0lw38mf85ry28nq1mas5rzlwvb4l5zmw2ms";
};
propagatedBuildInputs = [ six numpy pillow pytorch ];
meta = {
description = "PyTorch vision library";
homepage = "https://pytorch.org/";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ ericsagnes ];
};
}