Merge master into staging-nixos
This commit is contained in:
@@ -24,9 +24,10 @@ in
|
||||
options = {
|
||||
virtualisation.kvmgt = {
|
||||
enable = mkEnableOption ''
|
||||
KVMGT (iGVT-g) VGPU support. Allows Qemu/KVM guests to share host's Intel integrated graphics card.
|
||||
Currently only one graphical device can be shared. To allow users to access the device without root add them
|
||||
to the kvm group: `users.extraUsers.<yourusername>.extraGroups = [ "kvm" ];`
|
||||
KVMGT (iGVT-g) VGPU support.
|
||||
When enabled on a host, allows Qemu/KVM guests to share host's Intel integrated graphics card.
|
||||
Currently only one graphical device can be shared.
|
||||
To allow host users to access the device without root add them to the kvm group: `users.extraUsers.<yourusername>.extraGroups = [ "kvm" ];`
|
||||
'';
|
||||
# multi GPU support is under the question
|
||||
device = mkOption {
|
||||
@@ -38,8 +39,8 @@ in
|
||||
default = { };
|
||||
type = with types; attrsOf (submodule [ { options = vgpuOptions; } ]);
|
||||
description = ''
|
||||
Virtual GPUs to be used in Qemu. You can find devices via {command}`ls /sys/bus/pci/devices/*/mdev_supported_types`
|
||||
and find info about device via {command}`cat /sys/bus/pci/devices/*/mdev_supported_types/i915-GVTg_V5_4/description`
|
||||
Virtual GPUs of the host to be used in Qemu.
|
||||
You can find devices via {command}`ls /sys/bus/pci/devices/*/mdev_supported_types` and find info about device via {command}`cat /sys/bus/pci/devices/*/mdev_supported_types/i915-GVTg_V5_4/description`
|
||||
'';
|
||||
example = {
|
||||
i915-GVTg_V5_8.uuid = [ "a297db4a-f4c2-11e6-90f6-d3b88d6c9525" ];
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
}:
|
||||
mkLibretroCore {
|
||||
core = "flycast";
|
||||
version = "0-unstable-2026-05-01";
|
||||
version = "0-unstable-2026-05-10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "flyinghead";
|
||||
repo = "flycast";
|
||||
rev = "744e9e4aa560d785000a2653ee3d291716aa2c0a";
|
||||
hash = "sha256-gCFX8mWWWsSogaBDtbVx4hL/GiNk5YlsT2HP3LNY0zs=";
|
||||
rev = "4be8a484665fb5684ccb780ed2165018a679c622";
|
||||
hash = "sha256-kjQcKdxUMdUc+70OPzEtDeSKy/m2e0FyPDa4XR3nHmM=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
||||
@@ -571,13 +571,13 @@
|
||||
"vendorHash": "sha256-xIagZvWtlNpz5SQfxbA7r9ojAeS3CW2pwV337ObKOwU="
|
||||
},
|
||||
"hashicorp_google": {
|
||||
"hash": "sha256-ZS5KnCC40Tt0G8aHd+wIYllEAfvT+e7zliuoo9fduTA=",
|
||||
"hash": "sha256-6cvRvVQmKRi4kyNAo/UAGN00bO+uCJYvf661xYW/QCQ=",
|
||||
"homepage": "https://registry.terraform.io/providers/hashicorp/google",
|
||||
"owner": "hashicorp",
|
||||
"repo": "terraform-provider-google",
|
||||
"rev": "v7.30.0",
|
||||
"rev": "v7.31.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-9Vs/ksWpdusfIHOM1jXZ6XYptLReY7LeQKflXlsOWj8="
|
||||
"vendorHash": "sha256-UoS4iIVHhCQ+Zk+SJmsMHJgJBKLMbfMVmtm4MDmzT68="
|
||||
},
|
||||
"hashicorp_google-beta": {
|
||||
"hash": "sha256-ltqZ6nyl/leYsV2pBJVgOtcOYIyfDmDLsZLfHTPOyew=",
|
||||
|
||||
@@ -8,16 +8,16 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "files-cli";
|
||||
version = "2.15.282";
|
||||
version = "2.15.287";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "files-cli";
|
||||
owner = "files-com";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-2N4vftX3AZwxbebEGhc6LKkQXovv/y4JNKLNy3CpaU8=";
|
||||
hash = "sha256-iKVoQCyLcsGc51IKwUzCpLqG5VbkIASpZILVVX14Sv8=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-kP8YuqtrqmE3m4ACLIsSzXNj0AtmYdLoK9w1KmjExJA=";
|
||||
vendorHash = "sha256-K9XXwKFC0xVYSwpQz7EubOoA2XSP7ROa3ORU9A/Gehg=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "fut";
|
||||
version = "3.3.1";
|
||||
version = "3.3.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fusionlanguage";
|
||||
repo = "fut";
|
||||
tag = "fut-${finalAttrs.version}";
|
||||
hash = "sha256-IsGe8dGfE8npOZs3A/Y9gIRxkve93V7Aq/YuDBjVNb8=";
|
||||
hash = "sha256-UOToKLQMO/g48DfXi9QQoZ7xJgBsz1Spjc35oEgjHis=";
|
||||
};
|
||||
|
||||
buildPhase = ''
|
||||
|
||||
@@ -5,27 +5,40 @@
|
||||
gmp,
|
||||
mpfr,
|
||||
boost,
|
||||
flex,
|
||||
bison,
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gappa";
|
||||
version = "1.6.1";
|
||||
version = "1.8.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://gappa.gitlabpages.inria.fr/releases/gappa-${finalAttrs.version}.tar.gz";
|
||||
hash = "sha256-1ux5ImKR8edXyvL21w3jY2o4/fATEjO2SMzS8B0o8Ok=";
|
||||
hash = "sha256-dA1gOwRkW7lEo04bMldFHX0Chs8gMbd0Yl4/HhYK4qo";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
flex
|
||||
bison
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gmp
|
||||
mpfr
|
||||
boost.dev
|
||||
];
|
||||
|
||||
# For darwin sandboxed builds
|
||||
postPatch = ''
|
||||
substituteInPlace remake.cpp \
|
||||
--replace 'tempnam(NULL, "rmk-")' 'tempnam(".", "rmk-")'
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "glaze";
|
||||
version = "7.5.0";
|
||||
version = "7.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stephenberry";
|
||||
repo = "glaze";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-END9mrzYIsulQROqyTsPPtScFvR1+LMasD5aiyACUfU=";
|
||||
hash = "sha256-3sRWE+kEde9LVQ4mSL/2vplS2nF1BYGGIdwQHadY0uA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "nextvi";
|
||||
version = "4.2";
|
||||
version = "5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kyx0r";
|
||||
repo = "nextvi";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-pkVUCWWVzPwPEG4NGWOoHrXkQpC245kD/Xbj9wmxR3E=";
|
||||
hash = "sha256-O4ry1G7Y55bjr4APrYMSCfrkNy8KrhSgG0Nh1rOGMvU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
@@ -8,16 +8,16 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "otel-tui";
|
||||
version = "0.7.1";
|
||||
version = "0.7.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ymtdzzz";
|
||||
repo = "otel-tui";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-+OvbBmFGyS5tpFtgn1DDxWp+LD5BAl9ojSIDGokfcRk=";
|
||||
hash = "sha256-teTV4i27Xjf5E1/2C1e8HFf6Tkct2wgZZfu9SSM18II=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-2cH4DYogEfVywynfpZk6XfaiZaNyzbsDiwGSwolREPQ=";
|
||||
vendorHash = "sha256-5ki/hR809LmMEHV8Mb7n2nEETAZR2Qs29AW5vvSzuu4=";
|
||||
|
||||
env.GOWORK = "off";
|
||||
|
||||
|
||||
@@ -0,0 +1,111 @@
|
||||
--- i/test/tqr1up.f
|
||||
+++ w/test/tqr1up.f
|
||||
@@ -31,7 +31,7 @@
|
||||
m = 60
|
||||
n = 40
|
||||
write (*,*) 'sqr1up test (full factorization):'
|
||||
- call stest(m,n,0)
|
||||
+c call stest(m,n,0)
|
||||
write (*,*) 'dqr1up test (full factorization):'
|
||||
call dtest(m,n,0)
|
||||
write (*,*) 'cqr1up test (full factorization):'
|
||||
@@ -40,7 +40,7 @@
|
||||
call ztest(m,n,0)
|
||||
|
||||
write (*,*) 'sqr1up test (economized factorization):'
|
||||
- call stest(m,n,1)
|
||||
+c call stest(m,n,1)
|
||||
write (*,*) 'dqr1up test (economized factorization):'
|
||||
call dtest(m,n,1)
|
||||
write (*,*) 'cqr1up test (economized factorization):'
|
||||
@@ -51,7 +51,7 @@
|
||||
m = 40
|
||||
n = 60
|
||||
write (*,*) 'sqr1up test (rows < columns):'
|
||||
- call stest(m,n,0)
|
||||
+c call stest(m,n,0)
|
||||
write (*,*) 'dqr1up test (rows < columns):'
|
||||
call dtest(m,n,0)
|
||||
write (*,*) 'cqr1up test (rows < columns):'
|
||||
--- i/test/tqrdec.f
|
||||
+++ w/test/tqrdec.f
|
||||
@@ -32,7 +32,7 @@
|
||||
n = 40
|
||||
j = 12
|
||||
write (*,*) 'sqrdec test (full factorization):'
|
||||
- call stest(m,n,j,0)
|
||||
+c call stest(m,n,j,0)
|
||||
write (*,*) 'dqrdec test (full factorization):'
|
||||
call dtest(m,n,j,0)
|
||||
write (*,*) 'cqrdec test (full factorization):'
|
||||
@@ -41,7 +41,7 @@
|
||||
call ztest(m,n,j,0)
|
||||
|
||||
write (*,*) 'sqrdec test (economized factorization):'
|
||||
- call stest(m,n,j,1)
|
||||
+c call stest(m,n,j,1)
|
||||
write (*,*) 'dqrdec test (economized factorization):'
|
||||
call dtest(m,n,j,1)
|
||||
write (*,*) 'cqrdec test (economized factorization):'
|
||||
--- i/test/tqrder.f
|
||||
+++ w/test/tqrder.f
|
||||
@@ -32,7 +32,7 @@
|
||||
n = 40
|
||||
j = 30
|
||||
write (*,*) 'sqrder test (full factorization):'
|
||||
- call stest(m,n,j)
|
||||
+c call stest(m,n,j)
|
||||
write (*,*) 'dqrder test (full factorization):'
|
||||
call dtest(m,n,j)
|
||||
write (*,*) 'cqrder test (full factorization):'
|
||||
--- i/test/tqrinc.f
|
||||
+++ w/test/tqrinc.f
|
||||
@@ -32,7 +32,7 @@
|
||||
n = 40
|
||||
j = 28
|
||||
write (*,*) 'sqrinc test (full factorization):'
|
||||
- call stest(m,n,j,0)
|
||||
+c call stest(m,n,j,0)
|
||||
write (*,*) 'dqrinc test (full factorization):'
|
||||
call dtest(m,n,j,0)
|
||||
write (*,*) 'cqrinc test (full factorization):'
|
||||
@@ -41,7 +41,7 @@
|
||||
call ztest(m,n,j,0)
|
||||
|
||||
write (*,*) 'sqrinc test (economized factorization):'
|
||||
- call stest(m,n,j,1)
|
||||
+c call stest(m,n,j,1)
|
||||
write (*,*) 'dqrinc test (economized factorization):'
|
||||
call dtest(m,n,j,1)
|
||||
write (*,*) 'cqrinc test (economized factorization):'
|
||||
--- i/test/tqrinr.f
|
||||
+++ w/test/tqrinr.f
|
||||
@@ -32,7 +32,7 @@
|
||||
n = 40
|
||||
j = 30
|
||||
write (*,*) 'sqrinr test (full factorization):'
|
||||
- call stest(m,n,j)
|
||||
+c call stest(m,n,j)
|
||||
write (*,*) 'dqrinr test (full factorization):'
|
||||
call dtest(m,n,j)
|
||||
write (*,*) 'cqrinr test (full factorization):'
|
||||
--- i/test/tqrshc.f
|
||||
+++ w/test/tqrshc.f
|
||||
@@ -33,7 +33,7 @@
|
||||
i = 20
|
||||
j = 40
|
||||
write (*,*) 'sqrshc test (left shift, full factorization):'
|
||||
- call stest(m,n,i,j,0)
|
||||
+c call stest(m,n,i,j,0)
|
||||
write (*,*) 'dqrshc test (left shift, full factorization):'
|
||||
call dtest(m,n,i,j,0)
|
||||
write (*,*) 'cqrshc test (left shift, full factorization):'
|
||||
@@ -44,7 +44,7 @@
|
||||
i = 40
|
||||
j = 20
|
||||
write (*,*) 'sqrshc test (right shift, economized factorization):'
|
||||
- call stest(m,n,i,j,1)
|
||||
+c call stest(m,n,i,j,1)
|
||||
write (*,*) 'dqrshc test (right shift, economized factorization):'
|
||||
call dtest(m,n,i,j,1)
|
||||
write (*,*) 'cqrshc test (right shift, economized factorization):'
|
||||
@@ -42,10 +42,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"-DBLA_VENDOR=Generic"
|
||||
];
|
||||
|
||||
# https://github.com/mpimd-csc/qrupdate-ng/issues/4
|
||||
patches = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
|
||||
./disable-zch1dn-test.patch
|
||||
];
|
||||
patches =
|
||||
# https://github.com/mpimd-csc/qrupdate-ng/issues/4
|
||||
lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
|
||||
./disable-zch1dn-test.patch
|
||||
]
|
||||
# https://github.com/mpimd-csc/qrupdate-ng/issues/7
|
||||
++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [
|
||||
./disable-aarch64-single-precision-tests.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
sed '/^cmake_minimum_required/Is/VERSION [0-9]\.[0-9]/VERSION 3.5/' -i ./CMakeLists.txt
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
}:
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "sesh";
|
||||
version = "2.26.1";
|
||||
version = "2.26.2";
|
||||
__structuredAttrs = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -20,7 +20,7 @@ buildGoModule (finalAttrs: {
|
||||
owner = "joshmedeski";
|
||||
repo = "sesh";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-egh50ajgs2ngB9eALk4xq7W1n8OrTYeMBRsveisH2LQ=";
|
||||
hash = "sha256-zx3PvPBV+IP61i+eJOmuC+ck9sOFsZZ9jj1fD3p4ccI=";
|
||||
};
|
||||
|
||||
# NOTE: prevent crash when getting vendor deps/hash
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
}:
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "terragrunt";
|
||||
version = "1.0.3";
|
||||
version = "1.0.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gruntwork-io";
|
||||
repo = "terragrunt";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-lq1SDXcmZsAxpFq7mAZo2dx72/qZS2PFx+NV1MsgyIk=";
|
||||
hash = "sha256-uOX+PTNL6VPu+QN9RiWNonV+WRWYNEadRLvljy49M5Q=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -26,7 +26,7 @@ buildGoModule (finalAttrs: {
|
||||
make generate-mocks
|
||||
'';
|
||||
|
||||
vendorHash = "sha256-xeTeCPBUooWdGoRhAz2GOdTWnLvpbUM5UwzNRr56FcA=";
|
||||
vendorHash = "sha256-LqkHHkX1kMuF4XtpxFPc6Xwas4B+jSMfMxSyv1nzerc=";
|
||||
|
||||
excludedPackages = [ "test/flake" ];
|
||||
|
||||
|
||||
@@ -9,13 +9,13 @@
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "vcpkg";
|
||||
version = "2026.03.18";
|
||||
version = "2026.04.27";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "microsoft";
|
||||
repo = "vcpkg";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-vcs7F8darR/PNJEihebA7AqLWglefGxIacr1fqL36eM=";
|
||||
hash = "sha256-UyT2+dm3h4w2sHzERPYYTe8QNqODBhbnT8I8cLD3/CY=";
|
||||
leaveDotGit = true;
|
||||
postFetch = ''
|
||||
cd "$out"
|
||||
|
||||
@@ -12,13 +12,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "vulkanscenegraph";
|
||||
version = "1.1.14";
|
||||
version = "1.1.15";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vsg-dev";
|
||||
repo = "VulkanSceneGraph";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-879jvD8gP31ENYeTGexV+V4UQtdo2xJDPUaDRKkropg=";
|
||||
hash = "sha256-+uSgBIjIm+N9nn31hVzEQTygIhDu4/FfhPLNJUG8XPU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -1,35 +1,75 @@
|
||||
{
|
||||
lib,
|
||||
fetchzip,
|
||||
libblake3,
|
||||
libmd,
|
||||
xxhash,
|
||||
zlib,
|
||||
zstd,
|
||||
topkg,
|
||||
buildTopkgPackage,
|
||||
withBlake3 ? true,
|
||||
libblake3,
|
||||
withLibmd ? true,
|
||||
libmd,
|
||||
withMbedtls ? true,
|
||||
mbedtls_4,
|
||||
withXxh ? true,
|
||||
xxhash,
|
||||
withZlib ? true,
|
||||
zlib,
|
||||
withZstd ? true,
|
||||
zstd,
|
||||
withCmdliner ? false,
|
||||
cmdliner,
|
||||
}:
|
||||
|
||||
buildTopkgPackage rec {
|
||||
pname = "bytesrw";
|
||||
version = "0.2.0";
|
||||
version = "0.3.0";
|
||||
|
||||
minimalOCamlVersion = "4.14.0";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://erratique.ch/software/bytesrw/releases/bytesrw-${version}.tbz";
|
||||
hash = "sha256-DMQXclJV5uz/2a6XVHVnBkYgXpGRI83uzmzeed3fDxQ=";
|
||||
hash = "sha256-EFdHKBH4VrWvOqs+I6tiRW9D2s6lY8Pol4YyuB7fqh8=";
|
||||
};
|
||||
|
||||
# docs say these are optional, but buildTopkgPackage doesn’t handle missing
|
||||
# dependencies
|
||||
buildInputs =
|
||||
lib.optional withBlake3 libblake3
|
||||
++ lib.optional withLibmd libmd
|
||||
++ lib.optional withMbedtls mbedtls_4
|
||||
++ lib.optional withXxh xxhash
|
||||
++ lib.optional withZlib zlib
|
||||
++ lib.optional withZstd zstd
|
||||
++ lib.optional withCmdliner cmdliner;
|
||||
|
||||
buildInputs = [
|
||||
libblake3
|
||||
libmd
|
||||
xxhash
|
||||
zlib
|
||||
zstd
|
||||
];
|
||||
# certown is a CA utility that uses missing b0 APIs (Os.name, Os.Name).
|
||||
# …but this is only need if enabling Cmdliner
|
||||
postPatch = lib.optionalString withCmdliner ''
|
||||
substituteInPlace pkg/pkg.ml --replace-fail \
|
||||
'Pkg.bin ~cond:(b0 && cmdliner && mbedtls) "test/certown";' ""
|
||||
'';
|
||||
|
||||
buildPhase = "${topkg.run} build ${
|
||||
lib.escapeShellArgs [
|
||||
"--with-conf-libblake3"
|
||||
(lib.boolToString withBlake3)
|
||||
|
||||
"--with-conf-libmd"
|
||||
(lib.boolToString withLibmd)
|
||||
|
||||
"--with-conf-mbedtls"
|
||||
(lib.boolToString withMbedtls)
|
||||
|
||||
"--with-conf-xxhash"
|
||||
(lib.boolToString withXxh)
|
||||
|
||||
"--with-conf-zlib"
|
||||
(lib.boolToString withZlib)
|
||||
|
||||
"--with-conf-zstd"
|
||||
(lib.boolToString withZstd)
|
||||
|
||||
"--with-cmdliner"
|
||||
(lib.boolToString withCmdliner)
|
||||
]
|
||||
}";
|
||||
|
||||
meta = {
|
||||
description = "Composable, memory efficient, byte stream readers and writers compatible with effect-based concurrency";
|
||||
@@ -37,8 +77,8 @@ buildTopkgPackage rec {
|
||||
Bytesrw extends the OCaml Bytes module with composable, memory efficient,
|
||||
byte stream readers and writers compatible with effect-based concurrency.
|
||||
|
||||
Except for byte slice life-times, these abstractions intentionnaly
|
||||
separate away ressource management and the specifics of reading and
|
||||
Except for byte slice life-times, these abstractions intentionally
|
||||
separate away resource management and the specifics of reading and
|
||||
writing bytes.
|
||||
'';
|
||||
homepage = "https://erratique.ch/software/bytesrw";
|
||||
|
||||
@@ -0,0 +1,76 @@
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
aioresponses,
|
||||
awesomeversion,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
mashumaro,
|
||||
orjson,
|
||||
poetry-core,
|
||||
pytest-asyncio,
|
||||
pytest-cov-stub,
|
||||
pytestCheckHook,
|
||||
rich,
|
||||
syrupy,
|
||||
textual,
|
||||
textual-plotext,
|
||||
typer,
|
||||
yarl,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "fumis";
|
||||
version = "0.4.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "frenck";
|
||||
repo = "python-fumis";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-yh1gxQ8iqHIE/pavzjYUXdaHnnHD0Ae6Yd/Elc/ZNmY=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "0.0.0" "${finalAttrs.version}"
|
||||
'';
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
awesomeversion
|
||||
mashumaro
|
||||
orjson
|
||||
yarl
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
cli = [
|
||||
rich
|
||||
textual
|
||||
textual-plotext
|
||||
typer
|
||||
];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
aioresponses
|
||||
pytest-asyncio
|
||||
pytest-cov-stub
|
||||
pytestCheckHook
|
||||
syrupy
|
||||
]
|
||||
++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies;
|
||||
|
||||
pythonImportsCheck = [ "fumis" ];
|
||||
|
||||
meta = {
|
||||
description = "Asynchronous Python client for the Fumis WiRCU API";
|
||||
homepage = "https://github.com/frenck/python-fumis";
|
||||
changelog = "https://github.com/frenck/python-fumis/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.jamiemagee ];
|
||||
};
|
||||
})
|
||||
@@ -27,14 +27,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pillow-heif";
|
||||
version = "1.2.0";
|
||||
version = "1.3.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bigcat88";
|
||||
repo = "pillow_heif";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-szpS6sl/Wj8nBZ2cYUt3r+8TvZKaB0DngGjjyG3kYrg=";
|
||||
hash = "sha256-+SlDxNCbuqPqjgJx62snInsWQXWQwnO/sI4mll0Uu4Y=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -21,7 +21,7 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "amdsmi";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
src = fetchFromGitHub {
|
||||
owner = "ROCm";
|
||||
repo = "rocm-systems";
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "aqlprofile";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ROCm";
|
||||
|
||||
@@ -70,7 +70,7 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "clr";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
@@ -88,7 +88,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"projects/clr"
|
||||
"shared"
|
||||
];
|
||||
hash = "sha256-Xfo6513ERdEoLy+iknQbEgPG7InLcU7E7ssZd4HMvpI=";
|
||||
hash = "sha256-n8yWWDxE36m2NN0cmqHXQy5omYPiYoqnaNbqWm63q3E=";
|
||||
};
|
||||
sourceRoot = "${finalAttrs.src.name}/projects/clr";
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
'';
|
||||
|
||||
pname = "composable_kernel_base";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "half";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ROCm";
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "hip-common";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ROCm";
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "hipblas-common";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ROCm";
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
# Can also use cuBLAS
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "hipblas";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
|
||||
@@ -70,7 +70,7 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "hipblaslt${clr.gpuArchSuffix}";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ROCm";
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
# CUB can also be used as a backend instead of rocPRIM.
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "hipcub";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
# Can also use cuFFT
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "hipfft";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "hipfort";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ROCm";
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "hipify";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ROCm";
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "hiprand";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
# Can also use cuSOLVER
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "hipsolver";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
# This can also use cuSPARSE as a backend instead of rocSPARSE
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "hipsparse";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
# major version of this should be the clang version ROCm forked from
|
||||
rocmLlvmVersion = "22.0.0-rocm";
|
||||
# llvmPackages_base version should match rocmLlvmVersion
|
||||
|
||||
@@ -59,7 +59,7 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "migraphx";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
@@ -75,7 +75,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
owner = "ROCm";
|
||||
repo = "AMDMIGraphX";
|
||||
rev = "rocm-${finalAttrs.version}";
|
||||
hash = "sha256-jHAdlqRhEiBtU4h76k0NTGUABiOmb3xKADr5sWme4+8=";
|
||||
hash = "sha256-raYsrMZASdEIxSstk14b38q9dt5EOq3rKidoFvobnxk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -44,7 +44,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.2";
|
||||
version = "7.2.3";
|
||||
|
||||
# Targets outside this list will get
|
||||
# error: use of undeclared identifier 'CK_BUFFER_RESOURCE_3RD_DWORD'
|
||||
|
||||
@@ -40,7 +40,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"cpu"
|
||||
);
|
||||
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ROCm";
|
||||
|
||||
@@ -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.2";
|
||||
version = "7.2.3";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
|
||||
@@ -49,7 +49,7 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rdc";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rocalution";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
|
||||
@@ -40,7 +40,7 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rocblas${clr.gpuArchSuffix}";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ROCm";
|
||||
|
||||
@@ -47,7 +47,7 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rocdbgapi";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rocfft${clr.gpuArchSuffix}";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ROCm";
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rocgdb";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ROCm";
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rocm-cmake";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ROCm";
|
||||
|
||||
@@ -17,7 +17,7 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rocm-core";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ROCm";
|
||||
|
||||
@@ -24,14 +24,14 @@
|
||||
# FIXME: Move to rocmPackages_common
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "rocm-docs-core";
|
||||
version = "1.33.1";
|
||||
version = "1.34.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ROCm";
|
||||
repo = "rocm-docs-core";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-eHX5Vz3MmIHi6n90hgBm4Ik+MGhxmniw2Me6pyZVC+k=";
|
||||
hash = "sha256-dVX+e0nk9/GT0idXNvLwCuN8Fh/r0dWIvqToU9cxKxs=";
|
||||
};
|
||||
|
||||
buildInputs = [ setuptools ];
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rocm-runtime";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ROCm";
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rocm-smi";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ROCm";
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
pname = "rocminfo";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
||||
@@ -42,7 +42,7 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rocmlir${suffix}";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
@@ -146,7 +146,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
patchelf --set-rpath $out/lib:$external/lib:${libPath} $out/{bin/*,lib/*.so*}
|
||||
'';
|
||||
|
||||
passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };
|
||||
passthru.updateScript = rocmUpdateScript {
|
||||
inherit finalAttrs;
|
||||
page = "tags";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "MLIR-based convolution and GEMM kernel generator";
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rocprim";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rocprofiler-register";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ROCm";
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
# rocprofiler-sdk is the home of rocprofv3
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rocprofiler-sdk";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
|
||||
@@ -44,7 +44,7 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rocprofiler";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ROCm";
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rocr-debug-agent";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ROCm";
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rocrand${clr.gpuArchSuffix}";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rocsolver${clr.gpuArchSuffix}";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rocsparse${clr.gpuArchSuffix}";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rocthrust";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "roctracer";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rocwmma";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rpp-${if useCPU then "cpu" else "hip"}";
|
||||
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ROCm";
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "tensile";
|
||||
version = "7.2.2";
|
||||
version = "7.2.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
||||
@@ -2072,7 +2072,8 @@
|
||||
];
|
||||
"fumis" =
|
||||
ps: with ps; [
|
||||
]; # missing inputs: fumis
|
||||
fumis
|
||||
];
|
||||
"futurenow" =
|
||||
ps: with ps; [
|
||||
pyfnip
|
||||
@@ -7755,6 +7756,7 @@
|
||||
"frontier_silicon"
|
||||
"fujitsu_fglair"
|
||||
"fully_kiosk"
|
||||
"fumis"
|
||||
"fyta"
|
||||
"garage_door"
|
||||
"garages_amsterdam"
|
||||
|
||||
@@ -6012,6 +6012,8 @@ self: super: with self; {
|
||||
|
||||
fullmoon = callPackage ../development/python-modules/fullmoon { };
|
||||
|
||||
fumis = callPackage ../development/python-modules/fumis { };
|
||||
|
||||
func-timeout = callPackage ../development/python-modules/func-timeout { };
|
||||
|
||||
funcparserlib = callPackage ../development/python-modules/funcparserlib { };
|
||||
|
||||
Reference in New Issue
Block a user