mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
Merge pull request #255967 from GaetanLepage/objax
python310Packages.objax: switch back to GitHub for sources
This commit is contained in:
commit
56fac37581
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user