nixpkgs/pkgs/development/python-modules/torchvision/default.nix

31 lines
601 B
Nix
Raw Normal View History

2017-08-19 07:47:23 +00:00
{ buildPythonPackage
, fetchPypi
, six
, numpy
, pillow
, pytorch
, lib }:
buildPythonPackage rec {
version = "0.1.9";
pname = "torchvision";
name = "${pname}-${version}";
format = "wheel";
src = fetchPypi {
inherit pname version;
format = "wheel";
sha256 = "016rjfh9w1x4xpw15ryxsvq3j2li17nd3a7qslnf3241hc6vdcwf";
};
propagatedBuildInputs = [ six numpy pillow pytorch ];
meta = {
description = "PyTorch vision library";
homepage = http://pytorch.org/;
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ ericsagnes ];
};
}