Merge pull request #255310 from GaetanLepage/objax

python310Packages.objax: 1.6.0 -> 1.7.0
This commit is contained in:
OTABI Tomoya 2023-09-17 23:07:40 +09:00 committed by GitHub
commit b976a6df5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
{ lib
, fetchFromGitHub
, fetchPypi
, buildPythonPackage
, jax
, jaxlib
@ -12,13 +12,19 @@
buildPythonPackage rec {
pname = "objax";
version = "1.6.0";
version = "1.7.0";
src = fetchFromGitHub {
owner = "google";
repo = "objax";
rev = "v${version}";
hash = "sha256-/6tZxVDe/3C53Re14odU9VA3mKvSj9X3/xt6bHFLHwQ=";
# The latest release (1.7.0) has not been tagged on GitHub. Thus, we fallback to fetchPypi.
# An issue has been opened upstream: https://github.com/google/objax/issues/263
# src = fetchFromGitHub {
# owner = "google";
# repo = "objax";
# rev = "v${version}";
# hash = "";
# };
src = fetchPypi {
inherit pname version;
hash = "sha256-92Z5RxYoWkMAqyF7H/MagPnC4pfXks5k9zmjvo+Z2Mc=";
};
# Avoid propagating the dependency on `jaxlib`, see