uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
73
pkgs/development/python-modules/pyro-ppl/default.nix
Normal file
73
pkgs/development/python-modules/pyro-ppl/default.nix
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, graphviz
|
||||
, jupyter
|
||||
, matplotlib
|
||||
, networkx
|
||||
, opt-einsum
|
||||
, pandas
|
||||
, pillow
|
||||
, pyro-api
|
||||
, pythonOlder
|
||||
, pytorch
|
||||
, scikit-learn
|
||||
, seaborn
|
||||
, torchvision
|
||||
, tqdm
|
||||
, wget
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyro-ppl";
|
||||
version = "1.8.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version pname;
|
||||
hash = "sha256-18BJ6y50haYStN2ZwkwwnMhgx8vGsZczhwNPVDbRyNY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyro-api
|
||||
pytorch
|
||||
networkx
|
||||
opt-einsum
|
||||
tqdm
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
extras = [
|
||||
graphviz
|
||||
jupyter
|
||||
# lap
|
||||
matplotlib
|
||||
pandas
|
||||
pillow
|
||||
scikit-learn
|
||||
seaborn
|
||||
torchvision
|
||||
# visdom
|
||||
wget
|
||||
];
|
||||
};
|
||||
|
||||
# pyro not shipping tests do simple smoke test instead
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pyro"
|
||||
"pyro.distributions"
|
||||
"pyro.infer"
|
||||
"pyro.optim"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for probabilistic modeling and inference";
|
||||
homepage = "http://pyro.ai";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ teh georgewhewell ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue