Merge pull request #261564 from natsukium/python311Packages-augmax-update
python311Packages.augmax: unstable-2022-02-19 -> 0.3.1
This commit is contained in:
commit
1f5f1be081
1 changed files with 14 additions and 6 deletions
|
@ -4,21 +4,28 @@
|
|||
, jax
|
||||
, jaxlib
|
||||
, lib
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "augmax";
|
||||
version = "unstable-2022-02-19";
|
||||
format = "setuptools";
|
||||
version = "0.3.1";
|
||||
pyproject = true;
|
||||
|
||||
disbaled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "khdlr";
|
||||
repo = pname;
|
||||
# augmax does not have releases tagged. See https://github.com/khdlr/augmax/issues/5.
|
||||
rev = "3e5d85d6921a1e519987d33f226bc13f61e04d04";
|
||||
sha256 = "046n43v7161w7najzlbi0443q60436xv24nh1mv23yw6psqqhx5i";
|
||||
repo = "augmax";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-hDNNoE7KVaH3jrXZA4A8f0UoQJPl6KHA3XwMc3Ccohk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ einops jax ];
|
||||
|
||||
# augmax does not have any tests at the time of writing (2022-02-19), but
|
||||
|
@ -30,6 +37,7 @@ buildPythonPackage rec {
|
|||
meta = with lib; {
|
||||
description = "Efficiently Composable Data Augmentation on the GPU with Jax";
|
||||
homepage = "https://github.com/khdlr/augmax";
|
||||
changelog = "https://github.com/khdlr/augmax/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ samuela ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue