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
64
pkgs/development/python-modules/boxx/default.nix
Normal file
64
pkgs/development/python-modules/boxx/default.nix
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python
|
||||
, xvfb-run
|
||||
, matplotlib
|
||||
, scikitimage
|
||||
, numpy
|
||||
, pandas
|
||||
, imageio
|
||||
, snakeviz
|
||||
, fn
|
||||
, pyopengl
|
||||
, seaborn
|
||||
, pytorch
|
||||
, pythonOlder
|
||||
, torchvision
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "boxx";
|
||||
version = "0.10.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-YYR13JS9otoylS3ds0jK7d0jOxbhafaQd8fSxIiREi4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
matplotlib
|
||||
scikitimage
|
||||
numpy
|
||||
pandas
|
||||
imageio
|
||||
snakeviz
|
||||
fn
|
||||
pyopengl
|
||||
seaborn
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
xvfb-run
|
||||
pytorch
|
||||
torchvision
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"boxx"
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
xvfb-run ${python.interpreter} -m unittest
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool-box for efficient build and debug for Scientific Computing and Computer Vision";
|
||||
homepage = "https://github.com/DIYer22/boxx";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ lucasew ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue