cpuinfo: 0-unstable-2025-09-05 -> 0-unstable-2025-11-06
This commit is contained in:
@@ -10,13 +10,13 @@
|
|||||||
}:
|
}:
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "cpuinfo";
|
pname = "cpuinfo";
|
||||||
version = "0-unstable-2025-09-05";
|
version = "0-unstable-2025-11-06";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pytorch";
|
owner = "pytorch";
|
||||||
repo = "cpuinfo";
|
repo = "cpuinfo";
|
||||||
rev = "877328f188a3c7d1fa855871a278eb48d530c4c0";
|
rev = "f01ce870215f9e5d4c32006796994469c5334fd7";
|
||||||
hash = "sha256-JW83AgI1cWv4TSpXNe9sv/hNYAA7MOdUeTHY8+0lHgc=";
|
hash = "sha256-v6U+Z5YHHSP0WUPxQ0G2zpP4a2D4I+BfhdY6q5BylBo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
|
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
|
||||||
@@ -50,7 +50,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
mainProgram = "cpu-info";
|
mainProgram = "cpu-info";
|
||||||
maintainers = with lib.maintainers; [ pawelchcki ];
|
maintainers = with lib.maintainers; [ pawelchcki ];
|
||||||
pkgConfigModules = [ "libcpuinfo" ];
|
pkgConfigModules = [ "libcpuinfo" ];
|
||||||
# https://github.com/pytorch/cpuinfo/blob/877328f188a3c7d1fa855871a278eb48d530c4c0/CMakeLists.txt#L98
|
# https://github.com/pytorch/cpuinfo/blob/f01ce870215f9e5d4c32006796994469c5334fd7/CMakeLists.txt#L98
|
||||||
platforms = lib.platforms.x86 ++ lib.platforms.aarch ++ lib.platforms.riscv;
|
platforms = lib.platforms.x86 ++ lib.platforms.aarch ++ lib.platforms.riscv;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user