Merge pull request #255967 from GaetanLepage/objax

python310Packages.objax: switch back to GitHub for sources
This commit is contained in:
Samuel Ainsworth 2023-09-18 18:16:26 -04:00 committed by GitHub
commit 56fac37581
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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