Merge staging-next into staging

This commit is contained in:
nixpkgs-ci[bot]
2026-03-30 06:39:33 +00:00
committed by GitHub
101 changed files with 759 additions and 557 deletions
+1 -1
View File
@@ -2809,7 +2809,7 @@
};
azban = {
name = "azban";
matrix = "azban@matrix.org";
matrix = "@azban:matrix.org";
github = "azban";
githubId = 714931;
};
+2 -2
View File
@@ -6,14 +6,14 @@
}:
python3Packages.buildPythonApplication (finalAttrs: {
pname = "actool";
version = "1.3.0";
version = "1.3.2";
pyproject = true;
src = fetchFromGitHub {
owner = "viraptor";
repo = "actool";
tag = finalAttrs.version;
hash = "sha256-8v2P6Z1ZOP65M30+7dTtfXvD0dvaKYSLA9aaP2uzA7E=";
hash = "sha256-4g4Uex6eE5ULKi9JGaOIlyTAzwuK0cPKdYMxTnvKN3U=";
};
build-system = with python3Packages; [
-2
View File
@@ -10,7 +10,6 @@
pnpmConfigHook,
python3,
stdenv,
xcbuild,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "cdxgen";
@@ -32,7 +31,6 @@ stdenv.mkDerivation (finalAttrs: {
python3 # required for sqlite3 bindings
]
++ lib.optional stdenv.hostPlatform.isDarwin [
xcbuild
cctools.libtool
];
+2 -2
View File
@@ -9,13 +9,13 @@
stdenvNoCC.mkDerivation rec {
pname = "cloudlog";
version = "2.8.9";
version = "2.8.10";
src = fetchFromGitHub {
owner = "magicbug";
repo = "Cloudlog";
rev = version;
hash = "sha256-vq4mt0/Bfd+VR/2Inj8oJteIV9V7v0uiLmRMkpV2wI8=";
hash = "sha256-i/0GNVLvF0jHF83Ee9GCo80xeHoQb18OLmSZL++OTEo=";
};
postPatch = ''
+9 -9
View File
@@ -1,22 +1,22 @@
{
"version": "2.6.21",
"version": "2.6.22",
"vscodeVersion": "1.105.1",
"sources": {
"x86_64-linux": {
"url": "https://downloads.cursor.com/production/fea2f546c979a0a4ad1deab23552a43568807592/linux/x64/Cursor-2.6.21-x86_64.AppImage",
"hash": "sha256-ZohAVWsde5fOac0JL9kc8ql/ZGohbc7S0yStARXQVSU="
"url": "https://downloads.cursor.com/production/c6285feaba0ad62603f7c22e72f0a170dc8415a5/linux/x64/Cursor-2.6.22-x86_64.AppImage",
"hash": "sha256-rmPXBpIHIp87yF0PDJhqIgvtXOVYT0JXHT66Yynwggg="
},
"aarch64-linux": {
"url": "https://downloads.cursor.com/production/fea2f546c979a0a4ad1deab23552a43568807592/linux/arm64/Cursor-2.6.21-aarch64.AppImage",
"hash": "sha256-U1iWEcCeXwGQjX5Wc8mp1jfFp1eUDfida+n6Ahmay7s="
"url": "https://downloads.cursor.com/production/c6285feaba0ad62603f7c22e72f0a170dc8415a5/linux/arm64/Cursor-2.6.22-aarch64.AppImage",
"hash": "sha256-kMXmgDza9AndVIKEUFYaPxOX5C7wfNY6UWWKqdX3ElE="
},
"x86_64-darwin": {
"url": "https://downloads.cursor.com/production/fea2f546c979a0a4ad1deab23552a43568807592/darwin/x64/Cursor-darwin-x64.dmg",
"hash": "sha256-KhR7DnQMMbpbr8wPHMr75HDyoCOHRxsr/goeN3tAoTs="
"url": "https://downloads.cursor.com/production/c6285feaba0ad62603f7c22e72f0a170dc8415a5/darwin/x64/Cursor-darwin-x64.dmg",
"hash": "sha256-o63Y3Ysm/TcFdS+OoYGZkwpylOKJgFLJ0CUHweDjVRw="
},
"aarch64-darwin": {
"url": "https://downloads.cursor.com/production/fea2f546c979a0a4ad1deab23552a43568807592/darwin/arm64/Cursor-darwin-arm64.dmg",
"hash": "sha256-1zPqim1x1x01p5FM8PmAtordVUKdtqEhqkqoAswF1OE="
"url": "https://downloads.cursor.com/production/c6285feaba0ad62603f7c22e72f0a170dc8415a5/darwin/arm64/Cursor-darwin-arm64.dmg",
"hash": "sha256-Q26w+OBK8GnNh4z0DwOWqpfMap4O7OAOpxqLdMio5rk="
}
}
}
+2 -2
View File
@@ -5,13 +5,13 @@
}:
buildDubPackage (finalAttrs: {
pname = "ddhx";
version = "0.9.1";
version = "0.9.2";
src = fetchFromGitHub {
owner = "dd86k";
repo = "ddhx";
tag = "v${finalAttrs.version}";
hash = "sha256-AFhxrYncqVnHfro4sUgCT1ZBeL3CUwcwhnGXVuFQ9ak=";
hash = "sha256-1AoTSoykukvKEsdAU0WUQA7LwVebKELam/0kqEWTxFc=";
};
dubLock = ./dub-lock.json;
@@ -1,21 +1,21 @@
{
"version": "12.11.0",
"version": "12.12.0",
"sources": {
"aarch64-linux": {
"url": "https://github.com/Floorp-Projects/Floorp/releases/download/v12.11.0/floorp-linux-aarch64.tar.xz",
"sha256": "e3d1b8c928bf8c3c1a2e64270f83acfee1db04c49bfb8182d64e7895889e4348"
"url": "https://github.com/Floorp-Projects/Floorp/releases/download/v12.12.0/floorp-linux-aarch64.tar.xz",
"sha256": "0ca2c2e80ee569a8d2bcbcac64e28e33e6aa5ece91faf8b9755189c34a71af9a"
},
"x86_64-linux": {
"url": "https://github.com/Floorp-Projects/Floorp/releases/download/v12.11.0/floorp-linux-x86_64.tar.xz",
"sha256": "307bcc82f9eb086aea636851d3774a7ec746bc45dd0a6a5d4681f5a477ded9c4"
"url": "https://github.com/Floorp-Projects/Floorp/releases/download/v12.12.0/floorp-linux-x86_64.tar.xz",
"sha256": "a6f61ad904e8229ca4e709a30d38f2a0e6926dc3f82ddbe24efb8e0c1ba51910"
},
"aarch64-darwin": {
"url": "https://github.com/Floorp-Projects/Floorp/releases/download/v12.11.0/floorp-macOS-universal.dmg",
"sha256": "adac6b0bc406b132dcc9fd72ac10ebbdfc87b5e276d89d4b4155c5e515716ecf"
"url": "https://github.com/Floorp-Projects/Floorp/releases/download/v12.12.0/floorp-macOS-universal.dmg",
"sha256": "d5fc6ea7c98514e304cdfe192d8df6c253b8d6b248b39cb41486f6e67a8b566e"
},
"x86_64-darwin": {
"url": "https://github.com/Floorp-Projects/Floorp/releases/download/v12.11.0/floorp-macOS-universal.dmg",
"sha256": "adac6b0bc406b132dcc9fd72ac10ebbdfc87b5e276d89d4b4155c5e515716ecf"
"url": "https://github.com/Floorp-Projects/Floorp/releases/download/v12.12.0/floorp-macOS-universal.dmg",
"sha256": "d5fc6ea7c98514e304cdfe192d8df6c253b8d6b248b39cb41486f6e67a8b566e"
}
}
}
+3 -3
View File
@@ -8,16 +8,16 @@
buildGoModule (finalAttrs: {
pname = "g-ls";
version = "0.31.0";
version = "0.31.2";
src = fetchFromGitHub {
owner = "Equationzhao";
repo = "g";
tag = "v${finalAttrs.version}";
hash = "sha256-cHB9oW4vF00hvhZ7KNY5TUjIjLjEoiJb/psMSq+kSHU=";
hash = "sha256-krir/F+USTbVRFwC7d2rA5d4EcOG+2CNpwSqCUJP5fU=";
};
vendorHash = "sha256-5ksa0AJ7JbQPzBypDDMUvnXtIeXNEm9zKL5JetHWnrs=";
vendorHash = "sha256-j1zsulX1wySlWivVU9ajJFmx8Ww2/sxVMV41fUJa1DU=";
subPackages = [ "." ];
+5
View File
@@ -26,6 +26,10 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-2Kwz5K37I3HnnKePyY4nKYwnGHP09vr6IThiuKd3EfQ=";
};
depsBuildBuild = [
pkg-config
];
nativeBuildInputs = [
meson
ninja
@@ -39,6 +43,7 @@ stdenv.mkDerivation (finalAttrs: {
];
doCheck = true;
strictDeps = true;
meta = {
changelog = "https://gitlab.com/megapixels-org/libdng/-/tags/${finalAttrs.src.tag}";
+3 -3
View File
@@ -12,16 +12,16 @@ let
in
rustPlatform.buildRustPackage (finalAttrs: {
pname = "lockbook";
version = "26.3.20";
version = "26.3.22";
src = fetchFromGitHub {
owner = "lockbook";
repo = "lockbook";
tag = finalAttrs.version;
hash = "sha256-uV0n9xQwcJPWbW0Jez1L/ZvNXWm5LZNFnuBs1MwyYa0=";
hash = "sha256-Mroh2xSLe5dlKNXxTPyP9RzLtwcEf2JXZnE1tN4t1fE=";
};
cargoHash = "sha256-9TGuMmDwwc2J1iiFCZataZRRWu1VChPavveEGz7kulg=";
cargoHash = "sha256-hPQlDG2eFmiPXkCyjk10fpVDAbq3R8mQs7bOHbCBhwg=";
doCheck = false; # there are no cli tests
cargoBuildFlags = [
-2
View File
@@ -35,7 +35,6 @@
enablePython ? false,
which,
swig,
xcbuild,
gitUpdater,
enableBarcode ? false,
# for passthru.tests
@@ -135,7 +134,6 @@ stdenv.mkDerivation rec {
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
fixDarwinDylibNames
xcbuild
];
buildInputs = [
+9 -9
View File
@@ -8,7 +8,7 @@
stdenv.mkDerivation (finalAttrs: {
pname = "pdfium-binaries";
version = "7643";
version = "7734";
src =
let
@@ -27,17 +27,17 @@ stdenv.mkDerivation (finalAttrs: {
hash =
if withV8 then
selectSystem {
x86_64-linux = "sha256-u44789oMKbBQ6USu4BnyoL4ZcCKDVkh81kOku9ZfloE=";
aarch64-linux = "sha256-w+WI4+aESiBafPv4bbvwVqptecenzEj3M9wSH43n294=";
x86_64-darwin = "sha256-0cPMIu8NDrnDd/4g0eL0j0jV9bzQCh36Ahx4mC/Hw9E=";
aarch64-darwin = "sha256-R09JnjpcQMMfjbhFzRwE4/KXb9FCXzt/APM+oEUdknk=";
x86_64-linux = "sha256-ovbxiOwsmBUddbuTreVvhJeHMYd4dKu+rACDELsRC90=";
aarch64-linux = "sha256-wMddHbzxCs21dzZhLjpLEviplFOzHukrRRbCPMOTrDs=";
x86_64-darwin = "sha256-+UsFsft9WKd0LrDKbdxuKlHxNsfhzOIWvm8Br0MlNgc=";
aarch64-darwin = "sha256-MDE27+uIhqkSe76xtx/sHt++OQtXXAueq10KrwYVJ8Q=";
}
else
selectSystem {
x86_64-linux = "sha256-IpiNeuB5fOm2hYBfjydrg4G00xtvJQEqZJIzxHtzwac=";
aarch64-linux = "sha256-NgboVIUuntEO/CyXcTJB8Gn9H1B5Z0GEfR7FhCFbHko=";
x86_64-darwin = "sha256-fBatwgVRO4TawMAd0MaXxvgX+OLln+K10RjsGsvPLBs=";
aarch64-darwin = "sha256-Sqrt5V0IxYuZmy1w9faDrESkoI4QNhtKS+GHY0ushGA=";
x86_64-linux = "sha256-us1UjIhdsRTSGJOkasLdMyIRKdHXKr21hY2+NOIKVH4=";
aarch64-linux = "sha256-wHZVPH/c+jsxcClWznox/wnlKlTyUeKqdQxujdD67XU=";
x86_64-darwin = "sha256-+Umu2SsuO9lJGngkBVyuAvg4wu9d/OCsSabQ7F4U55U=";
aarch64-darwin = "sha256-pHEK9QC2DMZoRnTGc6NfVjCxaZYmCsh3RqHdSCdZ0Cs=";
};
stripRoot = false;
};
+4 -2
View File
@@ -9,14 +9,14 @@
python3Packages.buildPythonApplication rec {
pname = "pytr";
version = "0.4.6";
version = "0.4.7";
pyproject = true;
src = fetchFromGitHub {
owner = "pytr-org";
repo = "pytr";
tag = "v${version}";
hash = "sha256-2x0Kwg4upKLwFYslyIvXcssdO4W8l0Gs3qvy6kJYNnI=";
hash = "sha256-+GIjNtlg9q125jf8p5AyE1F+lT0mfqQaSJbusp0kRmo=";
};
build-system = with python3Packages; [
@@ -28,6 +28,8 @@ python3Packages.buildPythonApplication rec {
babel
certifi
coloredlogs
cryptography
curl-cffi
ecdsa
packaging
pathvalidate
+17 -2
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch2,
gitUpdater,
boost,
cmake,
@@ -30,15 +31,29 @@
stdenv.mkDerivation (finalAttrs: {
pname = "rmg";
version = "0.8.8";
version = "0.8.9";
src = fetchFromGitHub {
owner = "Rosalie241";
repo = "RMG";
tag = "v${finalAttrs.version}";
hash = "sha256-d2kUUJTZhm5m7MIZ8Ym0wyBvX2+h/FsrRQoyLTi0/N8=";
hash = "sha256-L8fA2D1BQWhJiygHmbOmINBFk27X2Vd7zHCGnElM9EE=";
};
# Fixes include errors from including minizip libraries
patches = [
(fetchpatch2 {
name = "0000-fix-minizip-include-archive";
url = "https://github.com/Rosalie241/RMG/commit/7e4e402f277803d3a998e96ea04064063bd1551a.patch";
hash = "sha256-uyEYv2r7J2nou9AHkezEX0LS/mOnIa6lbQqhxHY9ibo=";
})
(fetchpatch2 {
name = "0001-fix-minizip-include-mupen64plus-core";
url = "https://github.com/Rosalie241/RMG/commit/8ee3410680c247dcfee806562073626a0b7bf46b.patch";
hash = "sha256-29zg90ScPNizWq3BzNuM6yfCwmMXRYFfbjOg3YpCrGI=";
})
];
nativeBuildInputs = [
cmake
nasm
+4 -4
View File
@@ -11,13 +11,13 @@
}:
buildGoModule (finalAttrs: {
pname = "sshwifty";
version = "0.4.3-beta-release";
version = "0.4.5-beta-release";
src = fetchFromGitHub {
owner = "nirui";
repo = "sshwifty";
tag = finalAttrs.version;
hash = "sha256-Khx8iOEe1/NYiWEawwGuCbybflGq8FDtJFh8DFoNI+k=";
hash = "sha256-b6DgDhnaeIT8HnE2+TNzI2XPmERwPdnv6U8cu0ZZmAc=";
};
nativeBuildInputs = [
@@ -32,10 +32,10 @@ buildGoModule (finalAttrs: {
npmDeps = fetchNpmDeps {
inherit (finalAttrs) src;
hash = "sha256-i7EHR3hw+LPKbiRKLXOjEsMVtUIBAWwH22ZMVTh715A=";
hash = "sha256-xfnG5ONEVA58ZHmFoG6x9bYxwHuAjq7VsqxifEH2nQk=";
};
vendorHash = "sha256-s1+hP9oakR2YgBUOc0ezFW2MQBi8piRPKAVLBgJLN6o=";
vendorHash = "sha256-s9wjaxeuIBClyBwDSZvnSVxXh/RI6oOITU2cL3oNb5o=";
preBuild = ''
# Generate static pages
+2 -2
View File
@@ -30,7 +30,7 @@
stdenv.mkDerivation (finalAttrs: {
pname = "thunar";
version = "4.20.7";
version = "4.20.8";
outputs = [
"out"
@@ -42,7 +42,7 @@ stdenv.mkDerivation (finalAttrs: {
owner = "xfce";
repo = "thunar";
tag = "thunar-${finalAttrs.version}";
hash = "sha256-ii3ObvKCTXube3rnn+JdCsxTZDubrKcevBgpiGVbL/c=";
hash = "sha256-gcNo9HNBY5NGhJ8N8DBTXYb5gsNAXrItvWuo3XdSBRg=";
};
nativeBuildInputs = [
+4 -4
View File
@@ -10,14 +10,14 @@ let
platform =
if stdenvNoCC.hostPlatform.isDarwin then "universal-macos" else stdenvNoCC.hostPlatform.system;
hash = builtins.getAttr platform {
"universal-macos" = "sha256-ByZdWkpVsrwbgC43WgDGMvw53IVX4y+dOeZweqavVmY=";
"x86_64-linux" = "sha256-zwsoyTbSt2bVZ/Qquu60dnqUzzW81fV8NuOfZB4o4/I=";
"aarch64-linux" = "sha256-/2LjENxaD4iJUCaCRKpMl22WO1KMtLHP181yZCK8fqA=";
"universal-macos" = "sha256-xL2D05My1EgM8d6ku5+2GqYLwcyWljqyMowb8A1lsh0=";
"x86_64-linux" = "sha256-exI0jZ4LXcUXYcYL6wVXZhmjD4LFvTzqy+IaokmLs/M=";
"aarch64-linux" = "sha256-MBUpe8o0/0sa4qSGmzv3CYrDDqGiiW/NrUnmmfn0dBc=";
};
in
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "tigerbeetle";
version = "0.16.77";
version = "0.16.78";
src = fetchzip {
url = "https://github.com/tigerbeetle/tigerbeetle/releases/download/${finalAttrs.version}/tigerbeetle-${platform}.zip";
+2 -2
View File
@@ -8,13 +8,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "xmake";
version = "3.0.7";
version = "3.0.8";
src = fetchFromGitHub {
owner = "xmake-io";
repo = "xmake";
tag = "v${finalAttrs.version}";
hash = "sha256-SmvkdAo0XZF8RMP039kkmJxx3pwSPxKj3k8ScfTfYb8=";
hash = "sha256-8Rm1OtjpyzM/G8YN8nsK8TypF/C/8tQvW+7TxEX5st0=";
fetchSubmodules = true;
};
-15
View File
@@ -1,15 +0,0 @@
diff --git a/zug/sequence.hpp b/zug/sequence.hpp
index d7ac093..bffb771 100644
--- a/zug/sequence.hpp
+++ b/zug/sequence.hpp
@@ -76,8 +76,9 @@ struct sequence_data
sequence_data& operator=(sequence_data&& other)
{
- impl_ = std::move(other.impl);
+ impl_ = std::move(other.impl_);
impl_.reductor.current(this);
+ return *this;
}
sequence_data& operator=(const sequence_data& other)
+2 -13
View File
@@ -2,7 +2,6 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
boost,
catch2,
@@ -10,25 +9,15 @@
stdenv.mkDerivation (finalAttrs: {
pname = "zug";
version = "0.1.1";
version = "0.1.2";
src = fetchFromGitHub {
owner = "arximboldi";
repo = "zug";
tag = "v${finalAttrs.version}";
hash = "sha256-Ti0EurhGQgWSXzSOlH9/Zsp6kQ/+qGjWbfHGTPpfehs=";
hash = "sha256-0HrvCpbVnxEvwvG4btXu0hRzdcHsGwM/HUWES/fmxrs=";
};
patches = [
(fetchpatch {
url = "https://github.com/arximboldi/zug/commit/c8c74ada30d931e40636c13763b892f20d3ce1ae.patch";
hash = "sha256-0x+ScRnziBeyHWYJowcVb2zahkcK2qKrMVVk2twhtHA=";
})
# https://github.com/arximboldi/zug/issues/45
./gcc15.patch
];
nativeBuildInputs = [ cmake ];
buildInputs = [
+2 -2
View File
@@ -2,8 +2,8 @@
callPackage ./generic.nix (
{
version = "25.8";
hash = "sha256-UUUblMKN1xFknFtanq5MRVQ57dzhOV9sPqlw1J37aNE=";
version = "25.9";
hash = "sha256-Psv9dJxrHnlWTLZF+FwjqB/Yw2r8DWdcuvzB9vv0Nok=";
}
// args
)
@@ -9,10 +9,9 @@
fetchFromGitHub,
fetchpatch,
fontmath,
fontpens,
fonttools,
libxml2,
mutatormath,
lxml,
ninja,
pytestCheckHook,
runAllTests ? false,
@@ -88,14 +87,14 @@ buildPythonPackage (finalAttrs: {
booleanoperations
defcon
fontmath
fontpens
fonttools
mutatormath
lxml
tqdm
ufonormalizer
ufoprocessor
]
++ defcon.optional-dependencies.lxml
++ defcon.optional-dependencies.pens
++ fonttools.optional-dependencies.lxml
++ fonttools.optional-dependencies.ufo
++ fonttools.optional-dependencies.unicode
@@ -14,19 +14,19 @@
buildPythonPackage rec {
pname = "aioimmich";
version = "0.12.0";
version = "0.12.1";
pyproject = true;
src = fetchFromGitHub {
owner = "mib1185";
repo = "aioimmich";
tag = "v${version}";
hash = "sha256-ieGjdccvk97jWKP9bnE+KCkOocNJSWEOqCPxoXv5oOs=";
hash = "sha256-bmBVIy96qEhLltz8weA1pwr27MlHoETe/YVfM7sLGWw=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail setuptools==80.10.2 setuptools
--replace-fail setuptools==82.0.0 setuptools
'';
build-system = [ setuptools ];
@@ -0,0 +1,37 @@
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "aionanoleaf2";
version = "1.0.2";
pyproject = true;
src = fetchFromGitHub {
owner = "loebi-ch";
repo = "aionanoleaf2";
tag = "v${finalAttrs.version}";
hash = "sha256-Auh69JY07nnZKRUGPkaqo4DjZNeNkY8FIlsjch3JLu4=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
# upstream has no tests
doCheck = false;
pythonImportsCheck = [ "aionanoleaf2" ];
meta = {
description = "Async Python package for the Nanoleaf API";
homepage = "https://github.com/loebi-ch/aionanoleaf2";
changelog = "https://github.com/loebi-ch/aionanoleaf2/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.lgpl3Plus;
maintainers = [ lib.maintainers.jamiemagee ];
};
})
@@ -14,14 +14,14 @@
buildPythonPackage rec {
pname = "aiontfy";
version = "0.8.1";
version = "0.8.3";
pyproject = true;
src = fetchFromGitHub {
owner = "tr4nt0r";
repo = "aiontfy";
tag = "v${version}";
hash = "sha256-pwlPtFeMBvSc1keFvDv5hzB/WIxHJSuTspKKQrAowiA=";
hash = "sha256-whofQUPT4UcOOBxvdMz3mMzMR/svVaLQrC6c7EfzwZY=";
};
build-system = [
@@ -29,6 +29,10 @@ buildPythonPackage rec {
hatchling
];
pythonRelaxDeps = [
"orjson"
];
dependencies = [
aiohttp
mashumaro
@@ -10,13 +10,13 @@
buildPythonPackage rec {
pname = "azure-synapse-artifacts";
version = "0.21.0";
version = "0.22.0";
format = "setuptools";
src = fetchPypi {
pname = "azure_synapse_artifacts";
inherit version;
hash = "sha256-1+N1Fs+FaeA8YE2SHjQH1xQM91I7Z7Z/dXyvmZ48juc=";
hash = "sha256-3cD7Yic4w+q3RlzkKM+gzUGtAahw+9RTYeTVjRdcYjw=";
};
propagatedBuildInputs = [
@@ -28,9 +28,9 @@ buildPythonPackage rec {
dependencies = [
bleak
dbus-fast
]
++ lib.optionals stdenv.hostPlatform.isLinux [
dbus-fast
bluetooth-adapters
];
@@ -40,6 +40,9 @@ buildPythonPackage rec {
pytestCheckHook
];
# ModuleNotFoundError: No module named 'dbus_fast'
doCheck = stdenv.hostPlatform.isLinux;
pythonImportsCheck = [ "bleak_retry_connector" ];
meta = {
@@ -70,6 +70,8 @@ buildPythonPackage rec {
"test_rfc8764_test_conf"
];
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "caldav" ];
meta = {
@@ -0,0 +1,39 @@
{
buildPythonPackage,
django,
lib,
setuptools-scm,
fetchFromGitHub,
}:
buildPythonPackage (finalAttrs: {
pname = "django-sslserver";
version = "0.15";
pyproject = true;
src = fetchFromGitHub {
owner = "teddziuba";
repo = "django-sslserver";
tag = "v${finalAttrs.version}";
hash = "sha256-RIhqvwJQ7fYZT1SAkbcBNl2jX7j7UZND8e5Vra+ibHA=";
};
build-system = [ setuptools-scm ];
dependencies = [
django
];
# No tests on upstream
doCheck = false;
pythonImportsCheck = [ "sslserver" ];
meta = {
description = "SSL-enabled development server for Django";
homepage = "https://github.com/teddziuba/django-sslserver";
changelog = "https://github.com/teddziuba/django-sslserver/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ kurogeek ];
};
})
@@ -0,0 +1,38 @@
{
buildPythonPackage,
django,
fetchFromGitHub,
lib,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "django-xforwardedfor-middleware";
version = "2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "allo-";
repo = "django-xforwardedfor-middleware";
tag = "v${finalAttrs.version}";
hash = "sha256-dDXSb17kXOSeIgY6wid1QFHhUjrapasWgCEb/El51eA=";
};
build-system = [ setuptools ];
dependencies = [
django
];
# No tests on upstream
doCheck = false;
pythonImportsCheck = [ "x_forwarded_for" ];
meta = {
description = "Use the X-Forwarded-For header to get the real ip of a request";
homepage = "https://github.com/allo-/django-xforwardedfor-middleware";
changelog = "https://github.com/allo-/django-xforwardedfor-middleware/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.publicDomain;
maintainers = with lib.maintainers; [ kurogeek ];
};
})
@@ -5,18 +5,20 @@
setuptools,
bleak,
bleak-retry-connector,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "hueble";
version = "2.1.1";
version = "2.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "flip-dots";
repo = "HueBLE";
tag = "v${version}";
hash = "sha256-CMipY44tfuOQE2P77mH44stevg1IOd0MeF+cS6jkPnw=";
hash = "sha256-BokZeQMgOseIlxs4u5BpYmGLKCM5IwSCvV8ic0ZVIeI=";
};
build-system = [ setuptools ];
@@ -28,8 +30,10 @@ buildPythonPackage rec {
pythonImportsCheck = [ "HueBLE" ];
# upstream has no tests
doCheck = false;
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
meta = {
changelog = "https://github.com/flip-dots/HueBLE/blob/${src.tag}/CHANGELOG.rst";
@@ -0,0 +1,49 @@
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
mashumaro,
pytest-asyncio,
pytestCheckHook,
setuptools,
setuptools-scm,
}:
buildPythonPackage (finalAttrs: {
pname = "hyponcloud";
version = "0.9.0";
pyproject = true;
src = fetchFromGitHub {
owner = "jcisio";
repo = "hyponcloud";
tag = "v${finalAttrs.version}";
hash = "sha256-ZFolkhyXauUS+6rbCjSp+5Oxfp3Y7oh8fjXHwDi+zKA=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
aiohttp
mashumaro
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "hyponcloud" ];
meta = {
description = "Python library for Hypontech Cloud API for solar inverter monitoring";
homepage = "https://github.com/jcisio/hyponcloud";
changelog = "https://github.com/jcisio/hyponcloud/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
})
@@ -8,7 +8,7 @@
buildPythonPackage (finalAttrs: {
pname = "mediawiki-langcodes";
version = "0.2.18";
version = "0.2.19";
pyproject = true;
# Using fetchPypi instead of fetching from source for technical reason.
@@ -16,7 +16,7 @@ buildPythonPackage (finalAttrs: {
src = fetchPypi {
pname = "mediawiki_langcodes";
inherit (finalAttrs) version;
hash = "sha256-9wHlISFD2Pc4qA+kAGR2yRXRby6NGkQRTOoamaoFCxU=";
hash = "sha256-NjLtryaAtIgoturRub1FDYQljJN2ZpmpXz0FkiOIxW8=";
};
build-system = [ setuptools ];
@@ -11,7 +11,7 @@
}:
buildPythonPackage rec {
pname = "netbox-contract";
version = "2.4.4";
version = "2.4.5";
pyproject = true;
disabled = python.pythonVersion != netbox.python.pythonVersion;
@@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "mlebreuil";
repo = "netbox-contract";
tag = "v${version}";
hash = "sha256-3kjxy6gkhqYrWvl/gbeAxb8m8r3Dihas9cDf50NQMC4=";
hash = "sha256-+6dw8vPDNItZRfExL0C5ul2XghoToMHotEAH90B3CmE=";
};
build-system = [ setuptools ];
@@ -22,14 +22,14 @@
buildPythonPackage (finalAttrs: {
pname = "pyenphase";
version = "2.4.5";
version = "2.4.6";
pyproject = true;
src = fetchFromGitHub {
owner = "pyenphase";
repo = "pyenphase";
tag = "v${finalAttrs.version}";
hash = "sha256-BMzYo6KrgJII/30TJndYRGOjRS2ufWJirQd5X8D0bbo=";
hash = "sha256-t2f0Zgcl/oWSTTN66dx1wO6ed1gxXZ+J8loN1X6CkM4=";
};
pythonRelaxDeps = [ "tenacity" ];
@@ -2,6 +2,7 @@
aiohttp,
bleak,
bleak-retry-connector,
bluetooth-adapters,
buildPythonPackage,
fetchFromGitHub,
hatch-regex-commit,
@@ -33,6 +34,7 @@ buildPythonPackage rec {
aiohttp
bleak
bleak-retry-connector
bluetooth-adapters
];
pythonImportsCheck = [ "pynecil" ];
@@ -36,14 +36,14 @@ let
in
buildPythonPackage rec {
pname = "pypdfium2";
version = "5.5.0";
version = "5.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pypdfium2-team";
repo = "pypdfium2";
tag = version;
hash = "sha256-MSX7Ij9yGi5BYyAw794ZxQpoXz9hldevKKz7hxO0Yrg=";
hash = "sha256-3mGjr8GgylxFIFT+NmyJ50ozTQvCIPexAgaQ30Ki2Ww=";
};
build-system = [
@@ -14,12 +14,12 @@
buildPythonPackage rec {
pname = "pysvn";
version = "1.9.23";
version = "1.9.25";
pyproject = false;
src = fetchurl {
url = "mirror://sourceforge/project/pysvn/pysvn/V${version}/pysvn-${version}.tar.gz";
hash = "sha256-ABru1nng1RaYfZwe0Z0NxE90rU/J2h/BhzUnvgrasCk=";
hash = "sha256-M9LzUr/6FZSUWFQdGM6Ew1/ySE5C/Q7cNXi+jGa+JdY=";
};
patches = [ ./replace-python-first.patch ];
@@ -7,7 +7,6 @@
opentelemetry-sdk,
pytest-asyncio,
pytestCheckHook,
pythonAtLeast,
qcs-api-client-common,
quil,
rustPlatform,
@@ -16,25 +15,22 @@
buildPythonPackage rec {
pname = "qcs-sdk-python";
version = "0.21.22";
version = "0.26.0";
pyproject = true;
# error: the configured Python interpreter version (3.13) is newer than PyO3's maximum supported version (3.12)
disabled = pythonAtLeast "3.13";
src = fetchFromGitHub {
owner = "rigetti";
repo = "qcs-sdk-rust";
tag = "python/v${version}";
hash = "sha256-uaoXSkc8yg+WZONgvRkOARaf9kvLKv6S+K5yMDuXbbA=";
tag = "lib/v${version}";
hash = "sha256-A404lYKGAigzsnqWO4BAphOK/Juj4Fa2EHXQO8N1U9I=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit pname version src;
hash = "sha256-/SkYzQisSACTedC4FsEp4rXXdWV5f64gA33I/Ubu80E=";
hash = "sha256-NAcCZks5N1KPqeA5v72NAcJqHGexRU99yXQHg21vkPA=";
};
buildAndTestSubdir = "crates/python";
buildAndTestSubdir = "crates/lib";
nativeBuildInputs = [
rustPlatform.cargoSetupHook
@@ -71,11 +67,11 @@ buildPythonPackage rec {
];
passthru.updateScript = gitUpdater {
rev-prefix = "python/v";
rev-prefix = "lib/v";
};
meta = {
changelog = "https://github.com/rigetti/qcs-sdk-rust/blob/${src.tag}/crates/python/CHANGELOG.md";
changelog = "https://github.com/rigetti/qcs-sdk-rust/blob/${src.tag}/${buildAndTestSubdir}/CHANGELOG.md";
description = "Python interface for the QCS Rust SDK";
homepage = "https://github.com/rigetti/qcs-sdk-rust/tree/main/crates/python";
license = lib.licenses.asl20;
@@ -10,19 +10,19 @@
buildPythonPackage rec {
pname = "quil";
version = "0.34.0";
version = "0.35.0";
pyproject = true;
src = fetchFromGitHub {
owner = "rigetti";
repo = "quil-rs";
tag = "quil-rs/v${version}";
hash = "sha256-to6eKStXiJPqP22kN+gNiroiBUFiK7Q84BuTZHMr5SI=";
hash = "sha256-QWW8+cup81eyedDTU3jgslNanaj0+D2jI5XQMS3ZUIo=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit pname version src;
hash = "sha256-vNa4RUIecCHDb9rvMdiC8jtBdM/6C2bKagX1YkSMuhk=";
hash = "sha256-cIWnTuxoFqkl+0W6NH9DwNokq7RKdNggFLwPYgkbHho=";
};
buildAndTestSubdir = "quil-rs";
@@ -15,14 +15,14 @@
buildPythonPackage rec {
pname = "tesla-fleet-api";
version = "1.4.3";
version = "1.4.5";
pyproject = true;
src = fetchFromGitHub {
owner = "Teslemetry";
repo = "python-tesla-fleet-api";
tag = "v${version}";
hash = "sha256-bT0nI9YFnhMxvtJRQtHpDXKbWhZwQrPGIjEt/nHH5VU=";
hash = "sha256-YmhLVbTIn2zthmw2d2AsmQFbWNHZvRFYAF5DB4gwIhQ=";
};
build-system = [ setuptools ];
@@ -0,0 +1,41 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
tuya-device-sharing-sdk,
pytestCheckHook,
syrupy,
}:
buildPythonPackage (finalAttrs: {
pname = "tuya-device-handlers";
version = "0.0.10";
pyproject = true;
src = fetchFromGitHub {
owner = "home-assistant-libs";
repo = "tuya-device-handlers";
tag = "v${finalAttrs.version}";
hash = "sha256-W5aSEt8xXxQUcs6+AVVcgXxjm3WppzfCaww8YX+sej0=";
};
build-system = [ poetry-core ];
dependencies = [ tuya-device-sharing-sdk ];
nativeCheckInputs = [
pytestCheckHook
syrupy
];
pythonImportsCheck = [ "tuya_device_handlers" ];
meta = {
description = "Tuya quirks library";
homepage = "https://github.com/home-assistant-libs/tuya-device-handlers";
changelog = "https://github.com/home-assistant-libs/tuya-device-handlers/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
})
@@ -10,14 +10,14 @@
buildPythonPackage (finalAttrs: {
pname = "tuya-device-sharing-sdk";
version = "0.2.9";
version = "0.2.8";
pyproject = true;
src = fetchFromGitHub {
owner = "tuya";
repo = "tuya-device-sharing-sdk";
tag = finalAttrs.version;
hash = "sha256-kNWg+AXISThwK14ByObUr+/4GMntrZgtEEMNpw/HjLw=";
hash = "sha256-uD2Lzs08i/01iEksXpYRGB2lU7I15sQrJLfJZ93+oeY=";
};
build-system = [ setuptools ];
@@ -24,14 +24,14 @@
buildPythonPackage rec {
pname = "urllib3-future";
version = "2.17.903";
version = "2.18.901";
pyproject = true;
src = fetchFromGitHub {
owner = "jawah";
repo = "urllib3.future";
tag = version;
hash = "sha256-tgAKjtYuVVjkxI6qC7/iFHv/DE+rGSw0+Dye73WTcis=";
hash = "sha256-y6DRN24U2vxLRcVw9w9E4FMlk71W44x7UYSJrS6hfuA=";
};
postPatch = ''
@@ -15,14 +15,14 @@
buildPythonPackage rec {
pname = "youtubeaio";
version = "2.1.1";
version = "2.1.2";
pyproject = true;
src = fetchFromGitHub {
owner = "joostlek";
repo = "python-youtube";
tag = "v${version}";
hash = "sha256-2PqVFZ5816g8Ilc0Mhlm+Gzw/eOSaC1JYPY/t2yzxCU=";
hash = "sha256-GE06T3NSA2JdPSd2kS7rf3abI+b/zegS34n3Oxj2tnE=";
};
build-system = [ poetry-core ];
@@ -21,13 +21,18 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "amdsmi";
version = "7.2.0";
version = "7.2.1";
src = fetchFromGitHub {
owner = "rocm";
repo = "amdsmi";
owner = "ROCm";
repo = "rocm-systems";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-3V3B9+B3cpg0ebvsmX6wwvKoTIHbXtvbpIQHs4tkeWU=";
sparseCheckout = [
"projects/amdsmi"
"shared"
];
hash = "sha256-TFi+3txemvV6K827e8S3hZOd9jcj4Qzop6V9CdKrpLg=";
};
sourceRoot = "${finalAttrs.src.name}/projects/amdsmi";
postPatch = ''
substituteInPlace goamdsmi_shim/CMakeLists.txt \
@@ -77,15 +82,11 @@ stdenv.mkDerivation (finalAttrs: {
ln -sf $out/libexec/amdsmi_cli/amdsmi_cli.py $out/bin/amd-smi
'';
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "System management interface for AMD GPUs supported by ROCm";
homepage = "https://github.com/ROCm/rocm_smi_lib";
homepage = "https://github.com/ROCm/rocm-systems/tree/develop/projects/amdsmi";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ lovesegfault ];
teams = [ lib.teams.rocm ];
@@ -2,7 +2,6 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
rocm-cmake,
clr,
@@ -4,18 +4,24 @@
clr,
cmake,
fetchFromGitHub,
rocmUpdateScript,
}:
stdenv.mkDerivation {
stdenv.mkDerivation (finalAttrs: {
pname = "aqlprofile";
version = "7.2.0";
version = "7.2.1";
src = fetchFromGitHub {
owner = "ROCm";
repo = "aqlprofile";
tag = "rocm-7.2.0";
hash = "sha256-MAZUHo52gb0aZSFnKugMlXxcDkmMwhy1AFF1RDRgRVk=";
repo = "rocm-systems";
rev = "rocm-${finalAttrs.version}";
sparseCheckout = [
"projects/aqlprofile"
"shared"
];
hash = "sha256-74HjB5Ughu17rSRx9mfCCsPJI4TVyXnT4aU7vIbm7ak=";
};
sourceRoot = "${finalAttrs.src.name}/projects/aqlprofile";
env.CXXFLAGS = "-DROCP_LD_AQLPROFILE=1";
@@ -24,11 +30,13 @@ stdenv.mkDerivation {
clr
];
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "AQLPROFILE library for AMD HSA runtime API extension support";
homepage = "https://github.com/ROCm/aqlprofile/";
homepage = "https://github.com/ROCm/rocm-systems/tree/develop/projects/aqlprofile";
license = with lib.licenses; [ mit ];
teams = [ lib.teams.rocm ];
platforms = lib.platforms.linux;
};
}
})
+10 -11
View File
@@ -13,7 +13,6 @@
rocm-device-libs,
rocm-comgr,
rocm-runtime,
rocm-toolchain,
rocm-core,
roctracer,
rocminfo,
@@ -70,7 +69,7 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "clr";
version = "7.2.0";
version = "7.2.1";
outputs = [
"out"
@@ -82,10 +81,15 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "ROCm";
repo = "clr";
repo = "rocm-systems";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-zz2O4Qsl1zXMC25L714azsFR2PROAvdpjgKhRolmt1w=";
sparseCheckout = [
"projects/clr"
"shared"
];
hash = "sha256-8V2WbyaJZbEcKZpF/xvg0p+3oX9f/zy/45rkKZT9R3o=";
};
sourceRoot = "${finalAttrs.src.name}/projects/clr";
nativeBuildInputs = [
makeWrapper
@@ -255,12 +259,7 @@ stdenv.mkDerivation (finalAttrs: {
inherit hipClangPath;
updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
page = "tags?per_page=4";
};
updateScript = rocmUpdateScript { inherit finalAttrs; };
impureTests = {
# bash $(nix-build -A rocmPackages.clr.impureTests.rocm-smi)
@@ -324,7 +323,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = {
description = "AMD Common Language Runtime for hipamd, opencl, and rocclr";
homepage = "https://github.com/ROCm/clr";
homepage = "https://github.com/ROCm/rocm-systems/tree/develop/projects/clr";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ lovesegfault ];
teams = [ lib.teams.rocm ];
@@ -41,7 +41,7 @@ stdenv.mkDerivation (finalAttrs: {
'';
pname = "composable_kernel_base";
version = "7.2.0";
version = "7.2.1";
outputs = [
"out"
@@ -55,10 +55,15 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "ROCm";
repo = "composable_kernel";
repo = "rocm-libraries";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-ABL0MSmWtqAeY5uyw8Ib64npB2v82baUnzLpmrEgDn4=";
sparseCheckout = [
"projects/composablekernel"
"shared"
];
hash = "sha256-Zs6wwPmys1kUlgDD4XzKKw273nH/Ur3HtuYxJjvjDs0=";
};
sourceRoot = "${finalAttrs.src.name}/projects/composablekernel";
nativeBuildInputs = [
# Deliberately not using ninja
@@ -170,11 +175,7 @@ stdenv.mkDerivation (finalAttrs: {
passthru = {
inherit gpuTargets miOpenReqLibsOnly;
updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
updateScript = rocmUpdateScript { inherit finalAttrs; };
anyGfx9Target = lib.lists.any (lib.strings.hasPrefix "gfx9") gpuTargets;
anyMfmaTarget =
(lib.lists.intersectLists gpuTargets [
@@ -187,7 +188,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = {
description = "Performance portable programming model for machine learning tensor operators";
homepage = "https://github.com/ROCm/composable_kernel";
homepage = "https://github.com/ROCm/rocm-libraries/tree/develop/projects/composablekernel";
license = with lib.licenses; [ mit ];
teams = [ lib.teams.rocm ];
platforms = lib.platforms.linux;
@@ -14,7 +14,7 @@ buildPythonPackage {
setuptools
setuptools-scm
];
inherit (composable_kernel) version src;
inherit (composable_kernel) version src sourceRoot;
pythonImportsCheck = [
"ck4inductor"
"ck4inductor.universal_gemm.gen_instances"
@@ -34,7 +34,7 @@ buildPythonPackage {
'';
meta = {
description = "Pytorch inductor backend which uses composable_kernel universal GEMM implementations";
homepage = "https://github.com/ROCm/composable_kernel";
homepage = "https://github.com/ROCm/rocm-libraries/tree/develop/projects/composablekernel";
license = with lib.licenses; [ mit ];
teams = [ lib.teams.rocm ];
platforms = lib.platforms.linux;
@@ -3,8 +3,6 @@
config,
callPackage,
newScope,
symlinkJoin,
fetchFromGitHub,
boost179,
opencv,
python3Packages,
@@ -9,7 +9,7 @@
stdenv.mkDerivation (finalAttrs: {
pname = "half";
version = "7.2.0";
version = "7.2.1";
src = fetchFromGitHub {
owner = "ROCm";
@@ -23,11 +23,7 @@ stdenv.mkDerivation (finalAttrs: {
rocm-cmake
];
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "C++ library for half precision floating point arithmetics";
@@ -7,14 +7,19 @@
stdenv.mkDerivation (finalAttrs: {
pname = "hip-common";
version = "7.2.0";
version = "7.2.1";
src = fetchFromGitHub {
owner = "ROCm";
repo = "HIP";
repo = "rocm-systems";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-eQ+jHc6MlZePPIwJQMB8NKiEcE26i83+U21vKgfGFFM=";
sparseCheckout = [
"projects/hip"
"shared"
];
hash = "sha256-orfTXKjcZJ5E73cmXEyltZVYhCQo8FLExVHM3J/rqUM=";
};
sourceRoot = "${finalAttrs.src.name}/projects/hip";
dontConfigure = true;
dontBuild = true;
@@ -28,15 +33,11 @@ stdenv.mkDerivation (finalAttrs: {
runHook postInstall
'';
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "C++ Heterogeneous-Compute Interface for Portability";
homepage = "https://github.com/ROCm/HIP";
homepage = "https://github.com/ROCm/rocm-systems/tree/develop/projects/hip";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ lovesegfault ];
teams = [ lib.teams.rocm ];
@@ -8,14 +8,19 @@
}:
stdenv.mkDerivation (finalAttrs: {
pname = "hipblas-common";
version = "7.2.0";
version = "7.2.1";
src = fetchFromGitHub {
owner = "ROCm";
repo = "hipBLAS-common";
repo = "rocm-libraries";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-oOelDrk7TLe9/17fzaw6CDPL4MGAoITJL90ahHzhaAE=";
sparseCheckout = [
"projects/hipblas-common"
"shared"
];
hash = "sha256-83LgS4I1fMSaNtWdVFf1qhYRMT7a9jVzO3XpUzEipXg=";
};
sourceRoot = "${finalAttrs.src.name}/projects/hipblas-common";
nativeBuildInputs = [
cmake
@@ -27,14 +32,10 @@ stdenv.mkDerivation (finalAttrs: {
strictDeps = true;
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "Common files shared by hipBLAS and hipBLASLt";
homepage = "https://github.com/ROCm/hipBLASlt";
homepage = "https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipblas-common";
license = with lib.licenses; [ mit ];
teams = [ lib.teams.rocm ];
platforms = lib.platforms.linux;
@@ -24,7 +24,7 @@
# Can also use cuBLAS
stdenv.mkDerivation (finalAttrs: {
pname = "hipblas";
version = "7.2.0";
version = "7.2.1";
outputs = [
"out"
@@ -41,10 +41,15 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "ROCm";
repo = "hipBLAS";
repo = "rocm-libraries";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-w7myy4FO2vKm91OOfSGWO3bxR8jAvjU68oqI7aJX82c=";
sparseCheckout = [
"projects/hipblas"
"shared"
];
hash = "sha256-1+aNDotV5liHBnGddmWtaKYCcsWPxQD3AoEubnghV0M=";
};
sourceRoot = "${finalAttrs.src.name}/projects/hipblas";
postPatch = ''
substituteInPlace library/CMakeLists.txt \
@@ -110,11 +115,7 @@ stdenv.mkDerivation (finalAttrs: {
rmdir $out/bin
'';
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
passthru.tests.hipblas-tested = hipblas.override {
buildTests = true;
buildBenchmarks = true;
@@ -123,7 +124,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = {
description = "ROCm BLAS marshalling library";
homepage = "https://github.com/ROCm/hipBLAS";
homepage = "https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipblas";
license = with lib.licenses; [ mit ];
teams = [ lib.teams.rocm ];
platforms = lib.platforms.linux;
@@ -70,13 +70,13 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "hipblaslt${clr.gpuArchSuffix}";
version = "7.2.0";
version = "7.2.1";
src = fetchFromGitHub {
owner = "ROCm";
repo = "rocm-libraries";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-+yaOUA8hzRPnz14Cmp2BbfIS5811PgMcHQLY2+FatMU=";
hash = "sha256-+xMmPKb32NP9U35dHCXfXWwa6exfiL5TezfXERVDfe4=";
sparseCheckout = [
"projects/hipblaslt"
"shared"
@@ -245,13 +245,10 @@ stdenv.mkDerivation (finalAttrs: {
# and are fine ignoring it at runtime if it's not supported
# so we have to support building an empty hipblaslt
passthru.supportsTargetArches = supportsTargetArches;
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "Library that provides general matrix-matrix operations with a flexible API";
homepage = "https://github.com/ROCm/hipBLASlt";
homepage = "https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipblaslt";
license = with lib.licenses; [ mit ];
teams = [ lib.teams.rocm ];
platforms = lib.platforms.linux;
@@ -17,7 +17,7 @@
# CUB can also be used as a backend instead of rocPRIM.
stdenv.mkDerivation (finalAttrs: {
pname = "hipcub";
version = "7.2.0";
version = "7.2.1";
outputs = [
"out"
@@ -31,10 +31,15 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "ROCm";
repo = "hipCUB";
repo = "rocm-libraries";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-hIIpU1E/X6bPIhFfauNLPnFNBYSwtoxZV335Huw9fCA=";
sparseCheckout = [
"projects/hipcub"
"shared"
];
hash = "sha256-geO6LS1osKAlmVRtiZ6keqFHsJccyB7pRZdWPEkue2M=";
};
sourceRoot = "${finalAttrs.src.name}/projects/hipcub";
nativeBuildInputs = [
cmake
@@ -83,15 +88,11 @@ stdenv.mkDerivation (finalAttrs: {
rmdir $out/bin
'';
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "Thin wrapper library on top of rocPRIM or CUB";
homepage = "https://github.com/ROCm/hipCUB";
homepage = "https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipcub";
license = with lib.licenses; [ bsd3 ];
teams = [ lib.teams.rocm ];
platforms = lib.platforms.linux;
@@ -21,7 +21,7 @@
# Can also use cuFFT
stdenv.mkDerivation (finalAttrs: {
pname = "hipfft";
version = "7.2.0";
version = "7.2.1";
outputs = [
"out"
@@ -38,11 +38,16 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "ROCm";
repo = "hipFFT";
repo = "rocm-libraries";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-5zeL3o/Dfh0iyZOj5CHyfEQdFNehD2BLmllnZRdpsQI=";
sparseCheckout = [
"projects/hipfft"
"shared"
];
fetchSubmodules = true;
hash = "sha256-EtxZuxBPx6trTN9iC7uri2+UR0Eolp919Ry4U1PEqNA=";
};
sourceRoot = "${finalAttrs.src.name}/projects/hipfft";
nativeBuildInputs = [
clr
@@ -104,15 +109,11 @@ stdenv.mkDerivation (finalAttrs: {
rmdir $out/bin
'';
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "FFT marshalling library";
homepage = "https://github.com/ROCm/hipFFT";
homepage = "https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipfft";
license = with lib.licenses; [ mit ];
teams = [ lib.teams.rocm ];
platforms = lib.platforms.linux;
@@ -10,7 +10,7 @@
stdenv.mkDerivation (finalAttrs: {
pname = "hipfort";
version = "7.2.0";
version = "7.2.1";
src = fetchFromGitHub {
owner = "ROCm";
@@ -50,11 +50,7 @@ stdenv.mkDerivation (finalAttrs: {
--replace "/bin/ln" "ln"
'';
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "Fortran interfaces for ROCm libraries";
@@ -12,7 +12,7 @@
stdenv.mkDerivation (finalAttrs: {
pname = "hipify";
version = "7.2.0";
version = "7.2.1";
src = fetchFromGitHub {
owner = "ROCm";
@@ -45,11 +45,7 @@ stdenv.mkDerivation (finalAttrs: {
chmod +x bin/*
'';
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
postInstall = ''
rm $out/bin/hipify-perl
@@ -14,7 +14,7 @@
stdenv.mkDerivation (finalAttrs: {
pname = "hiprand";
version = "7.2.0";
version = "7.2.1";
outputs = [
"out"
@@ -25,10 +25,15 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "ROCm";
repo = "hipRAND";
repo = "rocm-libraries";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-mhhwYswewcRYKGoVAB/ZTIY8ubFSlTDXKZFoJpoDf2o=";
sparseCheckout = [
"projects/hiprand"
"shared"
];
hash = "sha256-bjcwjN1dNukhoDAbiSpATlK6dtAwM8bOJTe3IjhdwwY=";
};
sourceRoot = "${finalAttrs.src.name}/projects/hiprand";
nativeBuildInputs = [
cmake
@@ -61,15 +66,11 @@ stdenv.mkDerivation (finalAttrs: {
rmdir $out/bin
'';
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "HIP wrapper for rocRAND and cuRAND";
homepage = "https://github.com/ROCm/hipRAND";
homepage = "https://github.com/ROCm/rocm-libraries/tree/develop/projects/hiprand";
license = with lib.licenses; [ mit ];
teams = [ lib.teams.rocm ];
platforms = lib.platforms.linux;
@@ -21,7 +21,7 @@
# Can also use cuSOLVER
stdenv.mkDerivation (finalAttrs: {
pname = "hipsolver";
version = "7.2.0";
version = "7.2.1";
outputs = [
"out"
@@ -38,10 +38,15 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "ROCm";
repo = "hipSOLVER";
repo = "rocm-libraries";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-xrzRU3X0zlmK6t8Bz4p5ihnJnadrqiW1BW2HLRDpu1M=";
sparseCheckout = [
"projects/hipsolver"
"shared"
];
hash = "sha256-ts5wuXHoBFZ1WMAk8Ir5cucP75G0SMOWmn3FEH04ZEQ=";
};
sourceRoot = "${finalAttrs.src.name}/projects/hipsolver";
nativeBuildInputs = [
cmake
@@ -100,15 +105,11 @@ stdenv.mkDerivation (finalAttrs: {
rmdir $out/bin
'';
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "ROCm SOLVER marshalling library";
homepage = "https://github.com/ROCm/hipSOLVER";
homepage = "https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipsolver";
license = with lib.licenses; [ mit ];
teams = [ lib.teams.rocm ];
platforms = lib.platforms.linux;
@@ -19,7 +19,7 @@
# This can also use cuSPARSE as a backend instead of rocSPARSE
stdenv.mkDerivation (finalAttrs: {
pname = "hipsparse";
version = "7.2.0";
version = "7.2.1";
outputs = [
"out"
@@ -33,10 +33,15 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "ROCm";
repo = "hipSPARSE";
repo = "rocm-libraries";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-DmanHHlDny/SweYrSes4xQeWoF6TV+AoThyDHQpz+hQ=";
sparseCheckout = [
"projects/hipsparse"
"shared"
];
hash = "sha256-E1chG+giFtf02fjutoV4yM2XvrQKjgXRSvxs0NBBkvI=";
};
sourceRoot = "${finalAttrs.src.name}/projects/hipsparse";
nativeBuildInputs = [
cmake
@@ -131,15 +136,11 @@ stdenv.mkDerivation (finalAttrs: {
} $sample/bin/example_*
'';
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "ROCm SPARSE marshalling library";
homepage = "https://github.com/ROCm/hipSPARSE";
homepage = "https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipsparse";
license = with lib.licenses; [ mit ];
teams = [ lib.teams.rocm ];
platforms = lib.platforms.linux;
+2 -13
View File
@@ -13,7 +13,6 @@
zstd,
gcc-unwrapped,
glibc,
replaceVars,
libffi,
libxml2,
removeReferencesTo,
@@ -37,7 +36,7 @@
}:
let
version = "7.2.0";
version = "7.2.1";
# major version of this should be the clang version ROCm forked from
rocmLlvmVersion = "22.0.0-rocm";
# llvmPackages_base version should match rocmLlvmVersion
@@ -119,7 +118,7 @@ let
owner = "ROCm";
repo = "llvm-project";
rev = "rocm-${version}";
hash = "sha256-I/Bxq1JjU9N4h3vXj/tbD3xPYY4+N7QzYA8UTIq1EL0=";
hash = "sha256-TwFvQimbax2E37ZC/52lNkHXCgyBNfSGDBaqmas2x/s=";
};
llvmMajorVersion = lib.versions.major rocmLlvmVersion;
# An llvmPackages (pkgs/development/compilers/llvm/) built from ROCm LLVM's source tree
@@ -295,16 +294,6 @@ in
overrideLlvmPackagesRocm (s: {
libllvm = (s.prev.libllvm.override { }).overrideAttrs (old: {
patches = old.patches ++ [
(fetchpatch {
# Revert of a patch that cause perf regression by pessimising loop unrolling decisions
# See PR and issue discussion
# https://github.com/ROCm/rocm-systems/issues/2865 https://github.com/ROCm/llvm-project/pull/1349
name = "rocm-llvm-revert-unrolling-regression.patch";
url = "https://github.com/ROCm/llvm-project/commit/f58b06dce1f9c15707c5f808fd002e18c2accf7e.patch";
hash = "sha256-pH+3C7PSDqNfOF014sA5Rvm+sc2IJMQJfysS2bvj/o0=";
# stripLen instead of relative to avoid filterdiff mangling /dev/null on the deleted test file
stripLen = 1;
})
./perf-increase-namestring-size.patch
# v64i8 shuffle lowering inf loop on VBMI targets, hangs whisper-cpp etc
# https://github.com/NixOS/nixpkgs/issues/497745
@@ -59,7 +59,7 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "migraphx";
version = "7.2.0";
version = "7.2.1";
outputs = [
"out"
@@ -75,7 +75,7 @@ stdenv.mkDerivation (finalAttrs: {
owner = "ROCm";
repo = "AMDMIGraphX";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-FBAVsk4x3ATLDYtfzcPUPnUTwe36maIAY1/FwqG6jD0=";
hash = "sha256-2jNdbfDLHqifCst8yPiJy7y2/PIaaVS9101p3VZTvnc=";
};
nativeBuildInputs = [
@@ -190,11 +190,7 @@ stdenv.mkDerivation (finalAttrs: {
migraphx = finalAttrs.finalPackage;
};
};
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "AMD's graph optimization engine";
@@ -43,7 +43,7 @@
let
# FIXME: cmake files need patched to include this properly
cFlags = "-Wno-documentation-pedantic --offload-compress -I${hipblas-common}/include -I${hipblas}/include -I${roctracer}/include -I${nlohmann_json}/include -I${sqlite.dev}/include -I${rocrand}/include";
version = "7.2.0";
version = "7.2.1";
# Targets outside this list will get
# error: use of undeclared identifier 'CK_BUFFER_RESOURCE_3RD_DWORD'
@@ -65,14 +65,6 @@ let
"gfx1201"
] gpuTargets;
src = fetchFromGitHub {
owner = "ROCm";
repo = "MIOpen";
rev = "rocm-${version}";
hash = "sha256-OwBFzUruHHeJD7n3zLs/NsU5cNEjwkwFgim4m2/1hR0=";
fetchSubmodules = true;
};
latex = lib.optionalAttrs buildDocs (
texliveSmall.withPackages (
ps: with ps; [
@@ -103,7 +95,9 @@ let
} > $out
'';
kdbs = lib.mapAttrs fetchKdb (import ./kdbs.nix);
kdbs = lib.mapAttrs fetchKdb (
lib.filterAttrs (name: _: lib.elem name supportedTargets) (import ./kdbs.nix)
);
linkKDBsTo =
targetPath:
@@ -114,9 +108,22 @@ let
);
in
stdenv.mkDerivation (finalAttrs: {
inherit version src;
inherit version;
pname = "miopen";
src = fetchFromGitHub {
owner = "ROCm";
repo = "rocm-libraries";
rev = "rocm-${finalAttrs.version}";
sparseCheckout = [
"projects/miopen"
"shared"
];
fetchSubmodules = true;
hash = "sha256-plZpBTbEBVMa5CasjfbUsu45xP/BYstrEpWKK2H7QQ4=";
};
sourceRoot = "${finalAttrs.src.name}/projects/miopen";
env.CFLAGS = cFlags;
env.CXXFLAGS = cFlags;
@@ -305,7 +312,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = {
description = "Machine intelligence library for ROCm";
homepage = "https://github.com/ROCm/MIOpen";
homepage = "https://github.com/ROCm/rocm-libraries/tree/develop/projects/miopen";
license = with lib.licenses; [ mit ];
teams = [ lib.teams.rocm ];
platforms = lib.platforms.linux;
@@ -5,7 +5,7 @@ set -euo pipefail
gh_curl() { curl ${GITHUB_TOKEN:+-u ":$GITHUB_TOKEN"} -sf "$@"; }
version="${1:-$(gh_curl "https://api.github.com/repos/ROCm/MIOpen/releases?per_page=4" \
version="${1:-$(gh_curl "https://api.github.com/repos/ROCm/rocm-libraries/releases?per_page=4" \
| jq -re 'map(.tag_name // .name)
| map(select(test("^rocm-[0-9]+\\.[0-9]+(\\.[0-9]+)?$")))
| first | ltrimstr("rocm-")')}"
@@ -19,7 +19,7 @@ cd "$(dirname "${BASH_SOURCE[0]}")"
bucket="https://therock-dvc.s3.amazonaws.com/rocm-libraries/files/md5"
# Fetch directory listing; extract name + download_url for .dvc files
dvc_entries=$(gh_curl "https://api.github.com/repos/ROCm/MIOpen/contents/src/kernels?ref=rocm-${version}" \
dvc_entries=$(gh_curl "https://api.github.com/repos/ROCm/rocm-libraries/contents/projects/miopen/src/kernels?ref=rocm-${version}" \
| jq -r '.[] | select(.name | endswith(".kdb.bz2.dvc")) | "\(.name)\t\(.download_url)"')
[[ -n "$dvc_entries" ]] || { echo "No .kdb.bz2.dvc files found, upstream likely changed packaging again" >&2; exit 1; }
@@ -40,13 +40,13 @@ stdenv.mkDerivation (finalAttrs: {
"cpu"
);
version = "7.2.0";
version = "7.2.1";
src = fetchFromGitHub {
owner = "ROCm";
repo = "MIVisionX";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-rdYQt001kFi9FjVL5R8XVzT+Y+rZVeMsbjXCJEB887A=";
hash = "sha256-LyiPcZi4vU0R+eI/AbYk8ioewuqET5lCtArtPltJ+Gw=";
};
patches = [
@@ -125,11 +125,7 @@ stdenv.mkDerivation (finalAttrs: {
python3 -m sphinx -T -E -b html -d _build/doctrees -D language=en ../docs _build/html
'';
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "Set of comprehensive computer vision and machine intelligence libraries, utilities, and applications";
@@ -40,7 +40,7 @@ in
# infiniband ib_peer_mem support isn't in the mainline kernel but is carried by some distros
stdenv.mkDerivation (finalAttrs: {
pname = "rccl${clr.gpuArchSuffix}";
version = "7.2.0";
version = "7.2.1";
outputs = [
"out"
@@ -58,7 +58,7 @@ stdenv.mkDerivation (finalAttrs: {
owner = "ROCm";
repo = "rccl";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-Kpobn0fR7/mXGVWYjNQ35sToRWLfOQTHRbjuSYj1of4=";
hash = "sha256-A1IQYIDWqu3JLiPQ70G52s1/0ZweQxFlgMUH81qJWmU=";
};
requiredSystemFeatures = [ "big-parallel" ]; # Very resource intensive LTO
@@ -138,11 +138,7 @@ stdenv.mkDerivation (finalAttrs: {
rmdir $out/bin
'';
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
# This package with sanitizers + manual integration test binaries built
# must be ran manually
+10 -9
View File
@@ -49,7 +49,7 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "rdc";
version = "7.2.0";
version = "7.2.1";
outputs = [
"out"
@@ -63,10 +63,15 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "ROCm";
repo = "rdc";
repo = "rocm-systems";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-gF17mcbsqsL2K9pwTAVG9E6nVY4pi2lC88WyPa0xMes=";
sparseCheckout = [
"projects/rdc"
"shared"
];
hash = "sha256-SmySauRxFnEQJVTjGYf4TpmQclTwZG2RZrk3u6ko5Qo=";
};
sourceRoot = "${finalAttrs.src.name}/projects/rdc";
patches = [
# https://github.com/ROCm/rocm-systems/pull/2423
@@ -133,15 +138,11 @@ stdenv.mkDerivation (finalAttrs: {
mv $out/bin/rdctst_tests $test/bin
'';
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "Simplifies administration and addresses infrastructure challenges in cluster and datacenter environments";
homepage = "https://github.com/ROCm/rdc";
homepage = "https://github.com/ROCm/rocm-systems/tree/develop/projects/rdc";
license = with lib.licenses; [ mit ];
teams = [ lib.teams.rocm ];
platforms = lib.platforms.linux;
@@ -22,7 +22,7 @@
stdenv.mkDerivation (finalAttrs: {
pname = "rocalution";
version = "7.2.0";
version = "7.2.1";
outputs = [
"out"
@@ -41,7 +41,7 @@ stdenv.mkDerivation (finalAttrs: {
owner = "ROCm";
repo = "rocALUTION";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-7ZlY0GVIsUJE8OOAkQwQ4pXNHKzgCQomQOET9+TKQN4=";
hash = "sha256-yPM26e8tGNpPScIriAPRb+6OZfdpX4PgE0E9bmc3FkU=";
};
nativeBuildInputs = [
@@ -110,11 +110,7 @@ stdenv.mkDerivation (finalAttrs: {
rmdir $out/bin
'';
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "Iterative sparse solvers for ROCm";
@@ -40,14 +40,19 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "rocblas${clr.gpuArchSuffix}";
version = "7.2.0";
version = "7.2.1";
src = fetchFromGitHub {
owner = "ROCm";
repo = "rocBLAS";
repo = "rocm-libraries";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-oY6yELFnpnDDksu63Go88TGLAgC64tUaPIbaRgD2qus=";
sparseCheckout = [
"projects/rocblas"
"shared"
];
hash = "sha256-wrjcr2ASSF+bk5atjvKfIYSbg+vevo/a2W2ca9Nft/4=";
};
sourceRoot = "${finalAttrs.src.name}/projects/rocblas";
outputs = [ "out" ] ++ lib.optional buildBenchmarks "benchmark" ++ lib.optional buildTests "test";
@@ -187,11 +192,7 @@ stdenv.mkDerivation (finalAttrs: {
passthru = {
amdgpu_targets = gpuTargets';
updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
updateScript = rocmUpdateScript { inherit finalAttrs; };
};
enableParallelBuilding = true;
@@ -199,7 +200,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = {
description = "BLAS implementation for ROCm platform";
homepage = "https://github.com/ROCm/rocBLAS";
homepage = "https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocblas";
license = with lib.licenses; [ mit ];
teams = [ lib.teams.rocm ];
platforms = lib.platforms.linux;
@@ -47,7 +47,7 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "rocdbgapi";
version = "7.2.0";
version = "7.2.1";
outputs = [
"out"
@@ -97,11 +97,7 @@ stdenv.mkDerivation (finalAttrs: {
rmdir $out/share/html
'';
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "Debugger support for control of execution and inspection state of AMD's GPU architectures";
@@ -20,14 +20,19 @@
stdenv.mkDerivation (finalAttrs: {
pname = "rocfft${clr.gpuArchSuffix}";
version = "7.2.0";
version = "7.2.1";
src = fetchFromGitHub {
owner = "ROCm";
repo = "rocFFT";
repo = "rocm-libraries";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-AFBV5tlhNYH9+d0KG7mCjSifKfRt+8c1ie5wASTiQXM=";
sparseCheckout = [
"projects/rocfft"
"shared"
];
hash = "sha256-RjWMzLX0nBA8ClweJ8YgRTn+Nzt/VUkOoSw3jMQ3IWg=";
};
sourceRoot = "${finalAttrs.src.name}/projects/rocfft";
nativeBuildInputs = [
cmake
@@ -68,7 +73,7 @@ stdenv.mkDerivation (finalAttrs: {
pname = "${finalAttrs.pname}-test";
inherit (finalAttrs) version src;
sourceRoot = "${finalAttrs.src.name}/clients/tests";
sourceRoot = "${finalAttrs.src.name}/projects/rocfft/clients/tests";
nativeBuildInputs = [
cmake
@@ -97,7 +102,7 @@ stdenv.mkDerivation (finalAttrs: {
pname = "${finalAttrs.pname}-benchmark";
inherit (finalAttrs) version src;
sourceRoot = "${finalAttrs.src.name}/clients/rider";
sourceRoot = "${finalAttrs.src.name}/projects/rocfft/clients/rider";
nativeBuildInputs = [
cmake
@@ -127,7 +132,7 @@ stdenv.mkDerivation (finalAttrs: {
pname = "${finalAttrs.pname}-samples";
inherit (finalAttrs) version src;
sourceRoot = "${finalAttrs.src.name}/clients/samples";
sourceRoot = "${finalAttrs.src.name}/projects/rocfft/clients/samples";
nativeBuildInputs = [
cmake
@@ -150,18 +155,14 @@ stdenv.mkDerivation (finalAttrs: {
'';
};
updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
updateScript = rocmUpdateScript { inherit finalAttrs; };
};
requiredSystemFeatures = [ "big-parallel" ];
meta = {
description = "FFT implementation for ROCm";
homepage = "https://github.com/ROCm/rocFFT";
homepage = "https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocfft";
license = with lib.licenses; [ mit ];
teams = [ lib.teams.rocm ];
platforms = lib.platforms.linux;
@@ -23,7 +23,7 @@
stdenv.mkDerivation (finalAttrs: {
pname = "rocgdb";
version = "7.2.0";
version = "7.2.1";
src = fetchFromGitHub {
owner = "ROCm";
@@ -101,11 +101,7 @@ stdenv.mkDerivation (finalAttrs: {
env.CFLAGS = "-Wno-switch -Wno-format-nonliteral -I${zstd.dev}/include -I${zlib.dev}/include -I${expat.dev}/include -I${ncurses.dev}/include";
env.CXXFLAGS = finalAttrs.env.CFLAGS;
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "ROCm source-level debugger for Linux, based on GDB";
@@ -9,7 +9,7 @@
stdenv.mkDerivation (finalAttrs: {
pname = "rocm-cmake";
version = "7.2.0";
version = "7.2.1";
src = fetchFromGitHub {
owner = "ROCm";
@@ -22,11 +22,7 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [ rocm-core ];
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "CMake modules for common build tasks for the ROCm stack";
@@ -17,14 +17,19 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "rocm-core";
version = "7.2.0";
version = "7.2.1";
src = fetchFromGitHub {
owner = "ROCm";
repo = "rocm-core";
repo = "rocm-systems";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-AqD6MByFAtY6IzAFXdCrCANPXqROaGHybdKixv3NbXE=";
sparseCheckout = [
"projects/rocm-core"
"shared"
];
hash = "sha256-Y3WuDwruD5zKN2epwfUCZAGq5vgxCT27awJN8JxmOsY=";
};
sourceRoot = "${finalAttrs.src.name}/projects/rocm-core";
patches = [
./env-rocm-path.patch
@@ -78,16 +83,11 @@ stdenv.mkDerivation (finalAttrs: {
'';
passthru.ROCM_LIBPATCH_VERSION = finalAttrs.env.ROCM_LIBPATCH_VERSION;
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
page = "tags?per_page=4";
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "Utility for getting the ROCm release version";
homepage = "https://github.com/ROCm/rocm-core";
homepage = "https://github.com/ROCm/rocm-systems/tree/develop/projects/rocm-core";
license = with lib.licenses; [ mit ];
teams = [ lib.teams.rocm ];
platforms = lib.platforms.linux;
@@ -1,7 +1,6 @@
{
lib,
stdenv,
fetchpatch,
cmake,
ninja,
zlib,
@@ -24,14 +24,14 @@
# FIXME: Move to rocmPackages_common
buildPythonPackage rec {
pname = "rocm-docs-core";
version = "1.31.3";
version = "1.33.1";
pyproject = true;
src = fetchFromGitHub {
owner = "ROCm";
repo = "rocm-docs-core";
rev = "v${version}";
hash = "sha256-N9wqu83fPQGgOSDdb4yXmfxfDxkevk6QA31vLl5sYHo=";
hash = "sha256-eHX5Vz3MmIHi6n90hgBm4Ik+MGhxmniw2Me6pyZVC+k=";
};
buildInputs = [ setuptools ];
@@ -16,14 +16,19 @@
stdenv.mkDerivation (finalAttrs: {
pname = "rocm-runtime";
version = "7.2.0";
version = "7.2.1";
src = fetchFromGitHub {
owner = "ROCm";
repo = "ROCR-Runtime";
repo = "rocm-systems";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-6xELKQ/uqAoorsCR/H7d8iNK7LsVNsW2DRRZo5cU7UM=";
sparseCheckout = [
"projects/rocr-runtime"
"shared"
];
hash = "sha256-hcyjOLMtoBX/p6r6R9Bl9635DuvI6rTn1KziHMeyYM0=";
};
sourceRoot = "${finalAttrs.src.name}/projects/rocr-runtime";
cmakeBuildType = "RelWithDebInfo";
separateDebugInfo = true;
@@ -67,19 +72,6 @@ stdenv.mkDerivation (finalAttrs: {
url = "https://github.com/ROCm/ROCR-Runtime/commit/41bfc66aef437a5b349f71105fa4b907cc7e17d5.patch";
hash = "sha256-A7VhPR3eSsmjq2cTBSjBIz9i//WiNjoXm0EsRKtF+ns=";
})
(fetchpatch {
# [PATCH] hsakmt: Expose and use CWSR and Control stack sizes (#2200)
# Fixes potential mismatches between stack sizes configured in amdgpu kernel module
# and userspace by relying on kernel value when available
# Falls back to hardcoded size based on ISA if kernel is too old. For gfx1151, also prints:
# WARNING: KFD ABI 1.20+ is recommended … This may result in faults, crashes and other application instability
# This allows new kernels to work with this runtime detection mechanism
# Only gfx1151 warns loudly because only it has had the size updated in kernel…
name = "rocr-runtime-kernel-stack-size.patch";
url = "https://github.com/ROCm/rocm-systems/commit/7037a71f311c021974fafd13727dfefd8a1cc79d.patch";
relative = "projects/rocr-runtime";
hash = "sha256-EbDxuEvNu0fyQJZmqq0fbcCdNtaEWUbmyPLvcfqDPjc=";
})
# This causes a circular dependency, aqlprofile relies on hsa-runtime64
# which is part of rocm-runtime
# Worked around by having rocprofiler load aqlprofile directly
@@ -102,15 +94,11 @@ stdenv.mkDerivation (finalAttrs: {
export HIP_DEVICE_LIB_PATH="${rocm-device-libs}/amdgcn/bitcode"
'';
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "Platform runtime for ROCm";
homepage = "https://github.com/ROCm/ROCR-Runtime";
homepage = "https://github.com/ROCm/rocm-systems/tree/develop/projects/rocr-runtime";
license = with lib.licenses; [ ncsa ];
maintainers = with lib.maintainers; [ lovesegfault ];
teams = [ lib.teams.rocm ];
@@ -11,14 +11,19 @@
stdenv.mkDerivation (finalAttrs: {
pname = "rocm-smi";
version = "7.2.0";
version = "7.2.1";
src = fetchFromGitHub {
owner = "ROCm";
repo = "rocm_smi_lib";
repo = "rocm-systems";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-IeOutA/Mpt/75VpdcfPnZrWvx6GG/JLaQNfBrNKb+Mw=";
sparseCheckout = [
"projects/rocm-smi-lib"
"shared"
];
hash = "sha256-Si8SbeVKUBtqk6h2QJ9ssQV68bLq6TvESrYXJuArHd8=";
};
sourceRoot = "${finalAttrs.src.name}/projects/rocm-smi-lib";
propagatedBuildInputs = [
libdrm
@@ -55,15 +60,11 @@ stdenv.mkDerivation (finalAttrs: {
ln -s ${libdrm.dev}/include/libdrm/ $out/include/
'';
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "System management interface for AMD GPUs supported by ROCm";
homepage = "https://github.com/ROCm/rocm_smi_lib";
homepage = "https://github.com/ROCm/rocm-systems/tree/develop/projects/rocm-smi-lib";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ lovesegfault ];
teams = [ lib.teams.rocm ];
@@ -12,15 +12,20 @@
}:
stdenv.mkDerivation (finalAttrs: {
version = "7.2.0";
version = "7.2.1";
pname = "rocminfo";
src = fetchFromGitHub {
owner = "ROCm";
repo = "rocminfo";
repo = "rocm-systems";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-Md91iH2YWU7ziNE//xxKuk2RrXdujO9mY6SZY5R9TqA=";
sparseCheckout = [
"projects/rocminfo"
"shared"
];
hash = "sha256-0esRBEXVibC2uzyonpc0ABNNHQ2NAWZrBmmg6p1zP0c=";
};
sourceRoot = "${finalAttrs.src.name}/projects/rocminfo";
strictDeps = true;
@@ -38,15 +43,11 @@ stdenv.mkDerivation (finalAttrs: {
sed 's,lsmod | grep ,${busybox}/bin/lsmod | ${gnugrep}/bin/grep ,' -i rocminfo.cc
'';
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "ROCm Application for Reporting System Info";
homepage = "https://github.com/ROCm/rocminfo";
homepage = "https://github.com/ROCm/rocm-systems/tree/develop/projects/rocminfo";
license = lib.licenses.ncsa;
mainProgram = "rocminfo";
maintainers = with lib.maintainers; [ lovesegfault ];
@@ -146,12 +146,7 @@ stdenv.mkDerivation (finalAttrs: {
patchelf --set-rpath $out/lib:$external/lib:${libPath} $out/{bin/*,lib/*.so*}
'';
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
page = "tags?per_page=4";
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "MLIR-based convolution and GEMM kernel generator";
@@ -15,7 +15,7 @@
stdenv.mkDerivation (finalAttrs: {
pname = "rocprim";
version = "7.2.0";
version = "7.2.1";
outputs = [
"out"
@@ -29,10 +29,15 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "ROCm";
repo = "rocPRIM";
repo = "rocm-libraries";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-/6x4S8W4MbWY+M2b46Tmebj2echBIs31OnKq+50M21M=";
sparseCheckout = [
"projects/rocprim"
"shared"
];
hash = "sha256-e0mZ27OXyblcnXQGv2ex/CvWx9smw6nBbHZIijj7lP8=";
};
sourceRoot = "${finalAttrs.src.name}/projects/rocprim";
nativeBuildInputs = [
cmake
@@ -80,15 +85,11 @@ stdenv.mkDerivation (finalAttrs: {
rmdir $out/bin
'';
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "ROCm parallel primitives";
homepage = "https://github.com/ROCm/rocPRIM";
homepage = "https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocprim";
license = with lib.licenses; [ mit ];
teams = [ lib.teams.rocm ];
platforms = lib.platforms.linux;
@@ -18,15 +18,20 @@
stdenv.mkDerivation (finalAttrs: {
pname = "rocprofiler-register";
version = "7.2.0";
version = "7.2.1";
src = fetchFromGitHub {
owner = "ROCm";
repo = "rocprofiler-register";
repo = "rocm-systems";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-6jr6dfmCjeP5PCNfLDMmh8IO9Hxz6RvLlacNwIWQduQ=";
sparseCheckout = [
"projects/rocprofiler-register"
"shared"
];
fetchSubmodules = true;
hash = "sha256-2u5rLLT4Aif0jwAqqlIzrzh9kICJG15nZAslbiL7H9g=";
};
sourceRoot = "${finalAttrs.src.name}/projects/rocprofiler-register";
nativeBuildInputs = [
cmake
@@ -64,15 +69,11 @@ stdenv.mkDerivation (finalAttrs: {
"-DCMAKE_INSTALL_INCLUDEDIR=include"
];
passthru.updateScript = rocmUpdateScript {
name = "rocprofiler-register";
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "Profiling with perf-counters and derived metrics";
homepage = "https://github.com/ROCm/rocprofiler";
homepage = "https://github.com/ROCm/rocm-systems/tree/develop/projects/rocprofiler-register";
license = with lib.licenses; [ mit ]; # mitx11
teams = [ lib.teams.rocm ];
platforms = lib.platforms.linux;
@@ -44,15 +44,20 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "rocprofiler";
version = "7.2.0";
version = "7.2.1";
src = fetchFromGitHub {
owner = "ROCm";
repo = "rocprofiler";
repo = "rocm-systems";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-W32VAdtZdFmkHeUwyHIIHk8yRnABq6gUaHLZ9Bj8kYI=";
sparseCheckout = [
"projects/rocprofiler"
"shared"
];
fetchSubmodules = true;
hash = "sha256-Wo0pymD8LsrdczdIUEEVe5x2Id//KIFkh40kliAQgWo=";
};
sourceRoot = "${finalAttrs.src.name}/projects/rocprofiler";
nativeBuildInputs = [
cmake
@@ -123,16 +128,12 @@ stdenv.mkDerivation (finalAttrs: {
--add-needed libhsa-amd-aqlprofile64.so
'';
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
passthru.rocmtoolkit-merged = rocmtoolkit-merged;
meta = {
description = "Profiling with perf-counters and derived metrics";
homepage = "https://github.com/ROCm/rocprofiler";
homepage = "https://github.com/ROCm/rocm-systems/tree/develop/projects/rocprofiler";
license = with lib.licenses; [ mit ]; # mitx11
teams = [ lib.teams.rocm ];
platforms = lib.platforms.linux;
@@ -12,7 +12,7 @@
stdenv.mkDerivation (finalAttrs: {
pname = "rocr-debug-agent";
version = "7.2.0";
version = "7.2.1";
src = fetchFromGitHub {
owner = "ROCm";
@@ -43,11 +43,7 @@ stdenv.mkDerivation (finalAttrs: {
rm -rf $out/src
'';
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "Library that provides some debugging functionality for ROCr";
@@ -15,7 +15,7 @@
stdenv.mkDerivation (finalAttrs: {
pname = "rocrand${clr.gpuArchSuffix}";
version = "7.2.0";
version = "7.2.1";
outputs = [
"out"
@@ -29,10 +29,15 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "ROCm";
repo = "rocRAND";
repo = "rocm-libraries";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-BX1A74ZBXE0fqYqA7WijezCezUOpEciUm6k2vhFQlA4=";
sparseCheckout = [
"projects/rocrand"
"shared"
];
hash = "sha256-tl++h7LSEXf0jWe007+RIRwYHdB6TKPDpzipj1Emew8=";
};
sourceRoot = "${finalAttrs.src.name}/projects/rocrand";
nativeBuildInputs = [
cmake
@@ -81,15 +86,11 @@ stdenv.mkDerivation (finalAttrs: {
rmdir $out/bin
'';
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "Generate pseudo-random and quasi-random numbers";
homepage = "https://github.com/ROCm/rocRAND";
homepage = "https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocrand";
license = with lib.licenses; [ mit ];
teams = [ lib.teams.rocm ];
platforms = lib.platforms.linux;
@@ -37,7 +37,7 @@
stdenv.mkDerivation (finalAttrs: {
pname = "rocsolver${clr.gpuArchSuffix}";
version = "7.2.0";
version = "7.2.1";
outputs = [
"out"
@@ -51,10 +51,15 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "ROCm";
repo = "rocSOLVER";
repo = "rocm-libraries";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-aCmNTF8P0Y7piPkRnu/+DWFhTd7X8mDcaQpotfw/4hM=";
sparseCheckout = [
"projects/rocsolver"
"shared"
];
hash = "sha256-n+Y8RheA0UYeSfpvOw5zfwe4VAW5hsKjlCXtBceGhf0=";
};
sourceRoot = "${finalAttrs.src.name}/projects/rocsolver";
nativeBuildInputs = [
cmake
@@ -115,16 +120,13 @@ stdenv.mkDerivation (finalAttrs: {
rmdir $out/bin
'';
passthru.updateScript = rocmUpdateScript {
name = "rocsolver";
inherit (finalAttrs.src) owner repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
requiredSystemFeatures = [ "big-parallel" ];
meta = {
description = "ROCm LAPACK implementation";
homepage = "https://github.com/ROCm/rocSOLVER";
homepage = "https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocsolver";
license = with lib.licenses; [ bsd2 ];
teams = [ lib.teams.rocm ];
platforms = lib.platforms.linux;
@@ -20,7 +20,7 @@
stdenv.mkDerivation (finalAttrs: {
pname = "rocsparse${clr.gpuArchSuffix}";
version = "7.2.0";
version = "7.2.1";
outputs = [
"out"
@@ -34,10 +34,15 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "ROCm";
repo = "rocSPARSE";
repo = "rocm-libraries";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-jmrX1a09DlQTkuXwkrInt9pKX5pk3oCO88S0pKXXhO0=";
sparseCheckout = [
"projects/rocsparse"
"shared"
];
hash = "sha256-hkfBTcLig39al2w8zFTSQQnouaou9wlD6VlvIyFTNMg=";
};
sourceRoot = "${finalAttrs.src.name}/projects/rocsparse";
nativeBuildInputs = [
cmake
@@ -141,16 +146,12 @@ stdenv.mkDerivation (finalAttrs: {
mirror2 = "https://www.cise.ufl.edu/research/sparse/MM";
};
updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
updateScript = rocmUpdateScript { inherit finalAttrs; };
};
meta = {
description = "ROCm SPARSE implementation";
homepage = "https://github.com/ROCm/rocSPARSE";
homepage = "https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocsparse";
license = with lib.licenses; [ mit ];
teams = [ lib.teams.rocm ];
platforms = lib.platforms.linux;
@@ -15,7 +15,7 @@
stdenv.mkDerivation (finalAttrs: {
pname = "rocthrust";
version = "7.2.0";
version = "7.2.1";
outputs = [
"out"
@@ -29,10 +29,15 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "ROCm";
repo = "rocThrust";
repo = "rocm-libraries";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-BDxFeCR2FfZI+TGMi2jBDHORCoAnFwk8WGGKMckCkmU=";
sparseCheckout = [
"projects/rocthrust"
"shared"
];
hash = "sha256-wHEgpmBZCYtvp+OyebrRyfoFz3WQyKWfHPrdzQVL8lY=";
};
sourceRoot = "${finalAttrs.src.name}/projects/rocthrust";
nativeBuildInputs = [
cmake
@@ -76,15 +81,11 @@ stdenv.mkDerivation (finalAttrs: {
rm -rf $out/bin
'';
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "ROCm parallel algorithm library";
homepage = "https://github.com/ROCm/rocThrust";
homepage = "https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocthrust";
license = with lib.licenses; [ asl20 ];
teams = [ lib.teams.rocm ];
platforms = lib.platforms.linux;
@@ -19,7 +19,7 @@
stdenv.mkDerivation (finalAttrs: {
pname = "roctracer";
version = "7.2.0";
version = "7.2.1";
outputs = [
"out"
@@ -33,10 +33,15 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "ROCm";
repo = "roctracer";
repo = "rocm-systems";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-LCtdPnE+rJU/ccI1PTFDMPNXxgl1GrRgc5z7LjOw3zA=";
sparseCheckout = [
"projects/roctracer"
"shared"
];
hash = "sha256-KUNLX5ZonE0bW/xOacD3k3hCcg7M3Vk1dM3WQSDYMvM=";
};
sourceRoot = "${finalAttrs.src.name}/projects/roctracer";
nativeBuildInputs = [
cmake
@@ -101,15 +106,11 @@ stdenv.mkDerivation (finalAttrs: {
rm -rf $out/test
'';
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "Tracer callback/activity library";
homepage = "https://github.com/ROCm/roctracer";
homepage = "https://github.com/ROCm/rocm-systems/tree/develop/projects/roctracer";
license = with lib.licenses; [ mit ]; # mitx11
teams = [ lib.teams.rocm ];
platforms = lib.platforms.linux;
@@ -19,7 +19,7 @@
stdenv.mkDerivation (finalAttrs: {
pname = "rocwmma";
version = "7.2.0";
version = "7.2.1";
outputs = [
"out"
@@ -36,10 +36,15 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "ROCm";
repo = "rocWMMA";
repo = "rocm-libraries";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-O+P+pobPnlKnmJQylFp/qUQLE1kJKbxjMWyGS6lc3Mo=";
sparseCheckout = [
"projects/rocwmma"
"shared"
];
hash = "sha256-eoF8a7zknpgvDOSDzolOrdtszUJ5tC7Ur2sRShiQEO0=";
};
sourceRoot = "${finalAttrs.src.name}/projects/rocwmma";
patches = lib.optionals (buildTests || buildBenchmarks) [
./0000-dont-fetch-googletest.patch
@@ -99,15 +104,11 @@ stdenv.mkDerivation (finalAttrs: {
rm -rf $out/bin
'';
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "Mixed precision matrix multiplication and accumulation";
homepage = "https://github.com/ROCm/rocWMMA";
homepage = "https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocwmma";
license = with lib.licenses; [ mit ];
teams = [ lib.teams.rocm ];
platforms = lib.platforms.linux;
@@ -19,13 +19,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "rpp-${if useCPU then "cpu" else "hip"}";
version = "7.2.0";
version = "7.2.1";
src = fetchFromGitHub {
owner = "ROCm";
repo = "rpp";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-mET9nZReO3BrNZkcNeB7hOwIQaVZ8OD7lPD3b1Jot2k=";
hash = "sha256-6e4JHKFC2dvtSGo9xbQKzIdUwlHB09pr5C/5xHwP3l4=";
};
nativeBuildInputs = [
@@ -65,11 +65,7 @@ stdenv.mkDerivation (finalAttrs: {
python3 -m sphinx -T -E -b html -d _build/doctrees -D language=en ../docs _build/html
'';
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "Comprehensive high-performance computer vision library for AMD processors";
@@ -16,17 +16,22 @@
rich,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "tensile";
version = "7.2.0";
version = "7.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "ROCm";
repo = "Tensile";
rev = "rocm-${version}";
hash = "sha256-pTuEeu+0E+RlpdeFho0mJmx/V/tou/ZRLYX9KoWEPpA=";
repo = "rocm-libraries";
rev = "rocm-${finalAttrs.version}";
sparseCheckout = [
"shared/tensile"
"shared"
];
hash = "sha256-sYudPiEPGeZLmf6+3XfQDZqRXiKgRsGPucApzYwlGV8=";
};
sourceRoot = "${finalAttrs.src.name}/shared/tensile";
# TODO: It should be possible to run asm caps test ONCE for all supported arches
# We currently disable the test because it's slow and runs each time tensile launches
@@ -76,16 +81,13 @@ buildPythonPackage rec {
pythonImportsCheck = [ "Tensile" ];
passthru.updateScript = rocmUpdateScript {
name = pname;
inherit (src) owner repo;
};
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
meta = {
description = "GEMMs and tensor contractions";
homepage = "https://github.com/ROCm/Tensile";
homepage = "https://github.com/ROCm/rocm-libraries/tree/develop/shared/tensile";
license = with lib.licenses; [ mit ];
teams = [ lib.teams.rocm ];
platforms = lib.platforms.linux;
};
}
})
+6 -5
View File
@@ -4,10 +4,11 @@
}:
{
name ? "",
owner ? "",
repo ? "",
page ? "releases",
finalAttrs ? { },
name ? finalAttrs.pname,
owner ? finalAttrs.src.owner,
repo ? finalAttrs.src.repo,
page ? "releases?per_page=10",
# input: array of [ { tag_name: "rocm-6.x.x", }, ... ]. some entries may have bad names like rocm-test-date we want to skip
# output: first tag_name/name that's a proper version if any
filter ? "map(.tag_name // .name) | map(select(test(\"^rocm-[0-9]+\\\\.[0-9]+(\\\\.[0-9]+)?$\"))) | first | ltrimstr(\"rocm-\")",
@@ -34,7 +35,7 @@ let
find_valid_version() {
local releases="$1"
>&2 echo "$releases"
# Wrap in array if not already an array to make handline specific release or tags page the same
# Wrap in array if not already an array to make handling specific release or tags page the same
>&2 echo jq -r 'if type == "array" then . else [.] end | ${filter}'
echo "$releases" | jq -r 'if type == "array" then . else [.] end | ${filter}'
}
@@ -2665,7 +2665,8 @@
];
"hypontech" =
ps: with ps; [
]; # missing inputs: hyponcloud
hyponcloud
];
"ialarm" =
ps: with ps; [
pyialarm
@@ -4089,7 +4090,8 @@
];
"nanoleaf" =
ps: with ps; [
]; # missing inputs: aionanoleaf2
aionanoleaf2
];
"nasweb" =
ps: with ps; [
webio-api
@@ -6527,8 +6529,9 @@
"tuya" =
ps: with ps; [
ha-ffmpeg
tuya-device-handlers
tuya-device-sharing-sdk
]; # missing inputs: tuya-device-handlers
];
"twentemilieu" =
ps: with ps; [
twentemilieu
@@ -7636,6 +7639,7 @@
"hvv_departures"
"hydrawise"
"hyperion"
"hypontech"
"ialarm"
"iaqualink"
"ibeacon"
@@ -7832,6 +7836,7 @@
"myuplink"
"nam"
"namecheapdns"
"nanoleaf"
"nasweb"
"neato"
"nederlandse_spoorwegen"
@@ -8196,6 +8201,7 @@
"trend"
"triggercmd"
"tts"
"tuya"
"twentemilieu"
"twilio"
"twinkly"
+15
View File
@@ -168,6 +168,10 @@ let
};
extraDisabledTestPaths = {
hypontech = [
# outdated snapshot
"tests/components/hypontech/test_sensor.py::test_sensors"
];
jellyfin = [
# AssertionError: assert 'audio/x-flac' == 'audio/flac'
"tests/components/jellyfin/test_media_source.py::test_resolve"
@@ -204,6 +208,11 @@ let
# TraneConfigFlow doesn't support step reauth
"tests/components/trane/test_init.py::test_setup_auth_error"
];
tuya = [
# entity ordering in diagnostics is non-deterministic; fixed upstream in
# https://github.com/home-assistant/core/pull/164819 (landing in HA 2026.4)
"tests/components/tuya/test_diagnostics.py"
];
youtube = [
# outdated snapshot
"tests/components/youtube/test_sensor.py::test_sensor"
@@ -237,6 +246,12 @@ let
# tries to retrieve file from github
"test_non_text_stdout_capture"
];
tuya = [
# snapshot mismatches: PyPI sdist translations differ from strings.json
# ("Power-on behavior" vs "Power on behavior"); expected to resolve in HA 2026.4
"test_device_diagnostics[tdq_9htyiowaf5rtdhrv]"
"test_platform_setup_and_discovery"
];
zeroconf = [
# multicast socket bind, not possible in the sandbox
"test_subscribe_discovery"
+12
View File
@@ -414,6 +414,8 @@ self: super: with self; {
aionanoleaf = callPackage ../development/python-modules/aionanoleaf { };
aionanoleaf2 = callPackage ../development/python-modules/aionanoleaf2 { };
aionotion = callPackage ../development/python-modules/aionotion { };
aiontfy = callPackage ../development/python-modules/aiontfy { };
@@ -4378,6 +4380,8 @@ self: super: with self; {
django-sql-utils = callPackage ../development/python-modules/django-sql-utils { };
django-sslserver = callPackage ../development/python-modules/django-sslserver { };
django-statici18n = callPackage ../development/python-modules/django-statici18n { };
django-storages = callPackage ../development/python-modules/django-storages { };
@@ -4434,6 +4438,10 @@ self: super: with self; {
django-widget-tweaks = callPackage ../development/python-modules/django-widget-tweaks { };
django-xforwardedfor-middleware =
callPackage ../development/python-modules/django-xforwardedfor-middleware
{ };
# LTS in extended support phase
django_4 = callPackage ../development/python-modules/django/4.nix { };
@@ -7292,6 +7300,8 @@ self: super: with self; {
hyperscan = callPackage ../development/python-modules/hyperscan { };
hyponcloud = callPackage ../development/python-modules/hyponcloud { };
hypothesis = callPackage ../development/python-modules/hypothesis { };
hypothesis-auto = callPackage ../development/python-modules/hypothesis-auto { };
@@ -19764,6 +19774,8 @@ self: super: with self; {
turrishw = callPackage ../development/python-modules/turrishw { };
tuya-device-handlers = callPackage ../development/python-modules/tuya-device-handlers { };
tuya-device-sharing-sdk = callPackage ../development/python-modules/tuya-device-sharing-sdk { };
tuya-iot-py-sdk = callPackage ../development/python-modules/tuya-iot-py-sdk { };

Some files were not shown because too many files have changed in this diff Show More