nixpkgs/pkgs/development/python-modules/torchvision/default.nix
Austin Seipp 6980edf2ba pythonPackages.torchvision: 0.1.9 -> 0.2.1
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-05-23 18:35:18 -05:00

32 lines
601 B
Nix

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