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
48
pkgs/development/python-modules/pywick/default.nix
Normal file
48
pkgs/development/python-modules/pywick/default.nix
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, pytest
|
||||
, h5py
|
||||
, hickle
|
||||
, numpy
|
||||
, pandas
|
||||
, pillow
|
||||
, six
|
||||
, pytorch
|
||||
, torchvision
|
||||
, tqdm
|
||||
, lib
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pywick";
|
||||
version = "0.6.5";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "achaiah";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0wnijdvqgdpzfdsy1cga3bsr0n7zzsl8hp4dskqwxx087g5h1r84";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
h5py hickle numpy pandas pillow six pytorch torchvision tqdm
|
||||
];
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
pytest tests/
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "High-level training framework for Pytorch";
|
||||
homepage = "https://github.com/achaiah/pywick";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ bcdarwin ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue