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
49
pkgs/development/python-modules/objax/default.nix
Normal file
49
pkgs/development/python-modules/objax/default.nix
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, jax
|
||||
, jaxlib
|
||||
, numpy
|
||||
, parameterized
|
||||
, pillow
|
||||
, scipy
|
||||
, tensorboard
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "objax";
|
||||
version = "1.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "objax";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-/6tZxVDe/3C53Re14odU9VA3mKvSj9X3/xt6bHFLHwQ=";
|
||||
};
|
||||
|
||||
# Avoid propagating the dependency on `jaxlib`, see
|
||||
# https://github.com/NixOS/nixpkgs/issues/156767
|
||||
buildInputs = [
|
||||
jaxlib
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
jax
|
||||
numpy
|
||||
parameterized
|
||||
pillow
|
||||
scipy
|
||||
tensorboard
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"objax"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Objax is a machine learning framework that provides an Object Oriented layer for JAX.";
|
||||
homepage = "https://github.com/google/objax";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ ndl ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue