python3Packages.augmax: init at unstable-2022-02-19
This commit is contained in:
parent
1c4b50b676
commit
33b6c73fc3
2 changed files with 38 additions and 0 deletions
36
pkgs/development/python-modules/augmax/default.nix
Normal file
36
pkgs/development/python-modules/augmax/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{ buildPythonPackage
|
||||||
|
, einops
|
||||||
|
, fetchFromGitHub
|
||||||
|
, jax
|
||||||
|
, jaxlib
|
||||||
|
, lib
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "augmax";
|
||||||
|
version = "unstable-2022-02-19";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "khdlr";
|
||||||
|
repo = pname;
|
||||||
|
# augmax does not have releases tagged. See https://github.com/khdlr/augmax/issues/5.
|
||||||
|
rev = "3e5d85d6921a1e519987d33f226bc13f61e04d04";
|
||||||
|
sha256 = "046n43v7161w7najzlbi0443q60436xv24nh1mv23yw6psqqhx5i";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ einops jax ];
|
||||||
|
|
||||||
|
# augmax does not have any tests at the time of writing (2022-02-19), but
|
||||||
|
# jaxlib is necessary for the pythonImportsCheckPhase.
|
||||||
|
checkInputs = [ jaxlib ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "augmax" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Efficiently Composable Data Augmentation on the GPU with Jax";
|
||||||
|
homepage = "https://github.com/khdlr/augmax";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ samuela ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -760,6 +760,8 @@ in {
|
||||||
inherit (pkgs) augeas;
|
inherit (pkgs) augeas;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
augmax = callPackage ../development/python-modules/augmax { };
|
||||||
|
|
||||||
auroranoaa = callPackage ../development/python-modules/auroranoaa { };
|
auroranoaa = callPackage ../development/python-modules/auroranoaa { };
|
||||||
|
|
||||||
aurorapy = callPackage ../development/python-modules/aurorapy { };
|
aurorapy = callPackage ../development/python-modules/aurorapy { };
|
||||||
|
|
Loading…
Reference in a new issue