1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-14 16:46:09 +00:00
nixpkgs/pkgs/development/python-modules/torchvision/default.nix

31 lines
567 B
Nix
Raw Normal View History

2017-08-19 08:47:23 +01:00
{ buildPythonPackage
, fetchPypi
, six
, numpy
, pillow
, pytorch
, lib
}:
2017-08-19 08:47:23 +01:00
buildPythonPackage rec {
version = "0.2.1";
2017-08-19 08:47:23 +01:00
pname = "torchvision";
format = "wheel";
src = fetchPypi {
inherit pname version;
format = "wheel";
sha256 = "18gvdabkmzfjg47ns0lw38mf85ry28nq1mas5rzlwvb4l5zmw2ms";
2017-08-19 08:47:23 +01:00
};
propagatedBuildInputs = [ six numpy pillow pytorch ];
meta = {
description = "PyTorch vision library";
2018-06-27 21:12:57 +01:00
homepage = https://pytorch.org/;
2017-08-19 08:47:23 +01:00
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ ericsagnes ];
};
}