Merge master into staging-next
This commit is contained in:
@@ -31,7 +31,11 @@ stdenv.mkDerivation {
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
ln -s ${callPackage ./deps.nix { }} $ZIG_GLOBAL_CACHE_DIR/p
|
||||
ln -s ${
|
||||
callPackage ./deps.nix {
|
||||
zig = zig_0_12;
|
||||
}
|
||||
} $ZIG_GLOBAL_CACHE_DIR/p
|
||||
'';
|
||||
|
||||
passthru.tests = { inherit (nixosTests) ly; };
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
{ lib, vscode-utils }:
|
||||
|
||||
vscode-utils.buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
name = "solargraph";
|
||||
publisher = "castwide";
|
||||
version = "0.24.1";
|
||||
hash = "sha256-M96kGuCKo232rIwLovDU+C/rhEgZWT4s/zsR7CUYPnk=";
|
||||
};
|
||||
meta = {
|
||||
description = "Ruby language server featuring code completion, intellisense, and inline documentation";
|
||||
downloadPage = "https://marketplace.visualstudio.com/items?itemName=castwide.solargraph";
|
||||
homepage = "https://github.com/castwide/vscode-solargraph";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.bbenno ];
|
||||
};
|
||||
}
|
||||
@@ -870,6 +870,8 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
castwide.solargraph = callPackage ./castwide.solargraph { };
|
||||
|
||||
catppuccin = {
|
||||
catppuccin-vsc = buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
pkg-config,
|
||||
openssl,
|
||||
stdenv,
|
||||
zig,
|
||||
zig_0_13,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
@@ -48,7 +48,7 @@ rustPlatform.buildRustPackage rec {
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/cargo-lambda --prefix PATH : ${lib.makeBinPath [ zig ]}
|
||||
wrapProgram $out/bin/cargo-lambda --prefix PATH : ${lib.makeBinPath [ zig_0_13 ]}
|
||||
'';
|
||||
|
||||
CARGO_LAMBDA_BUILD_INFO = "(nixpkgs)";
|
||||
|
||||
@@ -17,7 +17,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-D1pFP5tw323UJgWvLvh2sTiZG1hq5DP0FakdXEISRxs=";
|
||||
};
|
||||
postPatch = ''
|
||||
ln -s ${callPackage ./build.zig.zon.nix { }} $ZIG_GLOBAL_CACHE_DIR/p
|
||||
ln -s ${
|
||||
callPackage ./build.zig.zon.nix {
|
||||
zig = zig_0_13;
|
||||
}
|
||||
} $ZIG_GLOBAL_CACHE_DIR/p
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -60,6 +60,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
deps = callPackage ./deps.nix {
|
||||
name = "${finalAttrs.pname}-cache-${finalAttrs.version}";
|
||||
zig = zig_0_13;
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "globalping-cli";
|
||||
version = "1.4.4";
|
||||
version = "1.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jsdelivr";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-pViqoycOh1RfSqaAEST6m1v3mEcTX76dbL80bCp5aKo=";
|
||||
hash = "sha256-UB2vYdyJ2+H8rFyJn1KBNnWoGUlRjwYorWXqoB9WDu0=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-V6DwV2KukFfFK0PK9MacoHH0sB5qNV315jn0T+4rhfA=";
|
||||
vendorHash = "sha256-dJAuN5srL5EvMaRg8rHaTsurjYrdH45p965DeubpB0E=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "karp";
|
||||
version = "0-unstable-2025-02-21";
|
||||
version = "0-unstable-2025-03-05";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "invent.kde.org";
|
||||
owner = "graphics";
|
||||
repo = "karp";
|
||||
rev = "1da7f1e3f9b291c5031916a213d9c71ed6c39323";
|
||||
hash = "sha256-PxiwJ9SCq6uG2F5CJFp6ta5zPLp8FnRe1jcHIs7Eg6w=";
|
||||
rev = "de6d42447c3ed15a102ec81c56c55ec5a0111a59";
|
||||
hash = "sha256-5mXD4qOL+gJn0kCHpnp4kp0E2SCCYfeI7A3oScX1uf8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -2,23 +2,42 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
autoreconfHook,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libinotify-kqueue";
|
||||
version = "20180201";
|
||||
version = "20240724";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "libinotify-kqueue";
|
||||
repo = "libinotify-kqueue";
|
||||
rev = version;
|
||||
sha256 = "sha256-9A5s8rPGlRv3KbxOukk0VB2IQrDxVjklO5RB+IA1cDY=";
|
||||
sha256 = "sha256-m59GWrx5C+JXDbhVdKx+SNSn8wwIKyW+KlXabNi17A0=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/libinotify-kqueue/libinotify-kqueue/pull/23
|
||||
(fetchpatch {
|
||||
name = "add-configure-caching.patch";
|
||||
url = "https://github.com/libinotify-kqueue/libinotify-kqueue/commit/81a8f05c1ce6df819dc898f3754c9c874ee24b10.patch";
|
||||
hash = "sha256-imKS2DuQrHSMnJH1gOYrVSeWTe2nhcl8Gm9IX5B9ZqI=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
doCheck = true;
|
||||
configureFlags =
|
||||
lib.optionals (with stdenv; buildPlatform != hostPlatform && hostPlatform.isFreeBSD)
|
||||
[
|
||||
"ik_cv_have_note_extend_in=yes"
|
||||
"ik_cv_have_note_extend_out=yes"
|
||||
"ik_cv_have_o_path=yes"
|
||||
"ik_cv_have_o_empty_path=yes"
|
||||
"ik_cv_have_at_empty_path=yes"
|
||||
];
|
||||
|
||||
checkFlags = [ "test" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
+15
-26
@@ -1,46 +1,27 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
python3,
|
||||
fetchFromGitHub,
|
||||
apispec,
|
||||
boto3,
|
||||
build,
|
||||
cachetools,
|
||||
click,
|
||||
cryptography,
|
||||
localstack-client,
|
||||
localstack-ext,
|
||||
plux,
|
||||
psutil,
|
||||
python-dotenv,
|
||||
pyyaml,
|
||||
packaging,
|
||||
requests,
|
||||
rich,
|
||||
semver,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
tailer,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "localstack";
|
||||
version = "4.0.3";
|
||||
version = "4.1.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "localstack";
|
||||
repo = "localstack";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-BsmXhTJVvRKEubDQwehsrY2jRSfvDBSH5S35CNg8vrQ=";
|
||||
hash = "sha256-hITo6BAsFNGFG5N0b2N9nydGCsG7ged8/3g0sWovNYw=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
build-system = with python3.pkgs; [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
apispec
|
||||
boto3
|
||||
build
|
||||
@@ -60,7 +41,9 @@ buildPythonPackage rec {
|
||||
tailer
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [ "dill" ];
|
||||
pythonRelaxDeps = [
|
||||
"dill"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "localstack" ];
|
||||
|
||||
@@ -76,6 +59,12 @@ buildPythonPackage rec {
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
# Propagating dependencies leaks them through $PYTHONPATH which causes issues
|
||||
# when used in nix-shell.
|
||||
postFixup = ''
|
||||
rm $out/nix-support/propagated-build-inputs
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fully functional local Cloud stack";
|
||||
homepage = "https://github.com/localstack/localstack";
|
||||
@@ -18,14 +18,14 @@ let
|
||||
abseil-cpp = fetchFromGitHub {
|
||||
owner = "abseil";
|
||||
repo = "abseil-cpp";
|
||||
rev = "4447c7562e3bc702ade25105912dce503f0c4010";
|
||||
hash = "sha256-51jpDhdZ0n+KLmxh8KVaTz53pZAB0dHjmILFX+OLud4=";
|
||||
rev = "9ac7062b1860d895fb5a8cbf58c3e9ef8f674b5f";
|
||||
hash = "sha256-uOgUtF8gaEgcxFK9WAoAhv4GoS8P23IoUxHZZVZdpPk=";
|
||||
};
|
||||
benchmark = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "benchmark";
|
||||
rev = "24e0bd827a8bec8121b128b0634cb34402fb3259";
|
||||
hash = "sha256-h3QllJC/tiUzl5UlGCTIoDuDcKG6J538MCY2Pqe2IOE=";
|
||||
rev = "049f6e79cc3e8636cec21bbd94ed185b4a5f2653";
|
||||
hash = "sha256-VmSKKCsBvmvXSnFbw6GJRgiGjlne8rw22+RCLBV/kD4=";
|
||||
};
|
||||
ccd = fetchFromGitHub {
|
||||
owner = "danfis";
|
||||
@@ -36,14 +36,14 @@ let
|
||||
eigen3 = fetchFromGitLab {
|
||||
owner = "libeigen";
|
||||
repo = "eigen";
|
||||
rev = "7f2377859377da6f22152015c28b12c04752af77";
|
||||
hash = "sha256-SmyvY/WlU9jryD9ZpSw73dQEc9jI4ySQPRnplg/BC4w=";
|
||||
rev = "66f7f51b7e069d0a03a21157fa60b24aece69aeb";
|
||||
hash = "sha256-/xd0GnXoW8vclIk8aKAziQwDx6AdlBmZD48p8aCX6TQ=";
|
||||
};
|
||||
googletest = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "googletest";
|
||||
rev = "b514bdc898e2951020cbdca1304b75f5950d1f59";
|
||||
hash = "sha256-1OJ2SeSscRBNr7zZ/a8bJGIqAnhkg45re0j3DtPfcXM=";
|
||||
rev = "6910c9d9165801d8827d628cb72eb7ea9dd538c5";
|
||||
hash = "sha256-01PK9LxqHno89gypd7ze5gDP4V3en2J5g6JZRqohDB0=";
|
||||
};
|
||||
lodepng = fetchFromGitHub {
|
||||
owner = "lvandeve";
|
||||
@@ -76,28 +76,28 @@ let
|
||||
hash = "sha256-90ei0lpJA8XuVGI0rGb3md0Qtq8/bdkU7dUCHpp88Bw=";
|
||||
};
|
||||
|
||||
tmd = stdenv.mkDerivation rec {
|
||||
tmd = stdenv.mkDerivation {
|
||||
name = "TriangleMeshDistance";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "InteractiveComputerGraphics";
|
||||
repo = name;
|
||||
repo = "TriangleMeshDistance";
|
||||
rev = "e55a15c20551f36242fd6368df099a99de71d43a";
|
||||
hash = "sha256-vj6TMMT8mp7ciLa5nzVAhMWPcAHXq+ZwHlWsRA3uCmg=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/include/tmd
|
||||
cp ${name}/include/tmd/${name}.h $out/include/tmd/
|
||||
cp TriangleMeshDistance/include/tmd/TriangleMeshDistance.h $out/include/tmd/
|
||||
'';
|
||||
};
|
||||
|
||||
sdflib = stdenv.mkDerivation rec {
|
||||
sdflib = stdenv.mkDerivation {
|
||||
name = "SdfLib";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "UPC-ViRVIG";
|
||||
repo = name;
|
||||
repo = "SdfLib";
|
||||
rev = "1927bee6bb8225258a39c8cbf14e18a4d50409ae";
|
||||
hash = "sha256-+SFUOdZ6pGZvnQa0mT+yfbTMHWe2CTOlroXcuVBHdOE=";
|
||||
};
|
||||
@@ -105,13 +105,13 @@ let
|
||||
patches = [ ./sdflib-system-deps.patch ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DSDFLIB_USE_ASSIMP=OFF"
|
||||
"-DSDFLIB_USE_OPENMP=OFF"
|
||||
"-DSDFLIB_USE_ENOKI=OFF"
|
||||
"-DSDFLIB_USE_SYSTEM_GLM=ON"
|
||||
"-DSDFLIB_USE_SYSTEM_SPDLOG=ON"
|
||||
"-DSDFLIB_USE_SYSTEM_CEREAL=ON"
|
||||
"-DSDFLIB_USE_SYSTEM_TRIANGLEMESHDISTANCE=ON"
|
||||
(lib.cmakeBool "SDFLIB_USE_ASSIMP" false)
|
||||
(lib.cmakeBool "SDFLIB_USE_OPENMP" false)
|
||||
(lib.cmakeBool "SDFLIB_USE_ENOKI" false)
|
||||
(lib.cmakeBool "SDFLIB_USE_SYSTEM_GLM" true)
|
||||
(lib.cmakeBool "SDFLIB_USE_SYSTEM_SPDLOG" true)
|
||||
(lib.cmakeBool "SDFLIB_USE_SYSTEM_CEREAL" true)
|
||||
(lib.cmakeBool "SDFLIB_USE_SYSTEM_TRIANGLEMESHDISTANCE" true)
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
@@ -130,17 +130,17 @@ let
|
||||
};
|
||||
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "mujoco";
|
||||
version = "3.2.7";
|
||||
version = "3.3.0";
|
||||
|
||||
# Bumping version? Make sure to look though the MuJoCo's commit
|
||||
# history for bumped dependency pins!
|
||||
src = fetchFromGitHub {
|
||||
owner = "google-deepmind";
|
||||
repo = "mujoco";
|
||||
tag = version;
|
||||
hash = "sha256-TAhgu3h7tCflIMscVS+jYuUfMmIYcCcI3JFxUlj8g9E=";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-6Mb50WD5ZQksKoG4FH3+iyy9qBqa1fKUPyt6McNDkGg=";
|
||||
};
|
||||
|
||||
patches = [ ./mujoco-system-deps-dont-fetch.patch ];
|
||||
@@ -158,9 +158,9 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DMUJOCO_USE_SYSTEM_sdflib=ON"
|
||||
"-DMUJOCO_SIMULATE_USE_SYSTEM_GLFW=ON"
|
||||
"-DMUJOCO_SAMPLES_USE_SYSTEM_GLFW=ON"
|
||||
(lib.cmakeBool "MUJOCO_USE_SYSTEM_sdflib" true)
|
||||
(lib.cmakeBool "MUJOCO_SIMULATE_USE_SYSTEM_GLFW" true)
|
||||
(lib.cmakeBool "MUJOCO_SAMPLES_USE_SYSTEM_GLFW" true)
|
||||
];
|
||||
|
||||
# Move things into place so that cmake doesn't try downloading dependencies.
|
||||
@@ -190,7 +190,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Multi-Joint dynamics with Contact. A general purpose physics simulator";
|
||||
homepage = "https://mujoco.org/";
|
||||
changelog = "https://github.com/google-deepmind/mujoco/releases/tag/${version}";
|
||||
changelog = "https://mujoco.readthedocs.io/en/${finalAttrs.version}/changelog.html";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [
|
||||
GaetanLepage
|
||||
@@ -199,4 +199,4 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
broken = stdenv.hostPlatform.isDarwin;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -0,0 +1,169 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch2,
|
||||
makeWrapper,
|
||||
cmake,
|
||||
python3Packages,
|
||||
mpi,
|
||||
mpiCheckPhaseHook,
|
||||
metis,
|
||||
opencascade-occt,
|
||||
libGLU,
|
||||
zlib,
|
||||
tcl,
|
||||
tk,
|
||||
xorg,
|
||||
libjpeg,
|
||||
ffmpeg,
|
||||
catch2,
|
||||
avxSupport ? stdenv.hostPlatform.avxSupport,
|
||||
avx2Support ? stdenv.hostPlatform.avx2Support,
|
||||
avx512Support ? stdenv.hostPlatform.avx512Support,
|
||||
}:
|
||||
let
|
||||
archFlags = toString (
|
||||
lib.optional avxSupport "-mavx"
|
||||
++ lib.optional avx2Support "-mavx2"
|
||||
++ lib.optional avx512Support "-mavx512"
|
||||
);
|
||||
patchSource = "https://salsa.debian.org/science-team/netgen/-/raw/debian/6.2.2404+dfsg1-5/debian/patches";
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "netgen";
|
||||
version = "6.2.2501";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ngsolve";
|
||||
repo = "netgen";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-IzYulT3bo7XZiEEy8vNCct0zqHCnbQaH+y4fHMorzZw=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# disable some platform specified code used by downstream ngsolve
|
||||
# can be enabled with -march=armv8.3-a+simd when compiling ngsolve
|
||||
# note compiling netgen itself is not influenced by this feature
|
||||
(fetchpatch2 {
|
||||
url = "https://github.com/NGSolve/netgen/pull/197/commits/1d93dfba00f224787cfc2cde1af2ab5d7f5b87f7.patch";
|
||||
hash = "sha256-3Nom4uGhGLtSGn/k+qKKSxVxrGtGTHqPtcNn3D/gkZU";
|
||||
})
|
||||
|
||||
(fetchpatch2 {
|
||||
url = "${patchSource}/use-local-catch2.patch";
|
||||
hash = "sha256-h4ob8tl6mvGt5B0qXRFNcl9MxPXxRhYw+PrGr5iRGGk=";
|
||||
})
|
||||
(fetchpatch2 {
|
||||
url = "${patchSource}/ffmpeg_link_libraries.patch";
|
||||
hash = "sha256-S02OPH9hbJjOnBm6JMh6uM5XptcubV24vdyEF0FusoM=";
|
||||
})
|
||||
(fetchpatch2 {
|
||||
url = "${patchSource}/fix_nggui_tcl.patch";
|
||||
hash = "sha256-ODDT67+RWBzPhhq/equWsu78x9L/Yrs3U8VQ1Uu0zZw=";
|
||||
})
|
||||
(fetchpatch2 {
|
||||
url = "${patchSource}/include_stdlib.patch";
|
||||
hash = "sha256-W+NgGBuy/UmzVbPTSqR8FRUlyN/9dl9l9e9rxKklmIc=";
|
||||
})
|
||||
(fetchpatch2 {
|
||||
url = "${patchSource}/fix-version.patch";
|
||||
hash = "sha256-CT98Wq3UufB81z/jYLiH9nXvt+QzoZ7210OeuFXCfmc=";
|
||||
})
|
||||
];
|
||||
|
||||
# when generating python stub file utilizing system python pybind11_stubgen module
|
||||
# cmake need to inherit pythonpath
|
||||
postPatch = ''
|
||||
substituteInPlace python/CMakeLists.txt \
|
||||
--replace-fail ''\'''${CMAKE_INSTALL_PREFIX}/''${NG_INSTALL_DIR_PYTHON}' \
|
||||
''\'''${CMAKE_INSTALL_PREFIX}/''${NG_INSTALL_DIR_PYTHON}:$ENV{PYTHONPATH}'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
makeWrapper
|
||||
python3Packages.pybind11-stubgen
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
metis
|
||||
opencascade-occt
|
||||
zlib
|
||||
tcl
|
||||
tk
|
||||
libGLU
|
||||
xorg.libXmu
|
||||
libjpeg
|
||||
ffmpeg
|
||||
mpi
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
packaging
|
||||
pybind11
|
||||
mpi4py
|
||||
numpy
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeFeature "NETGEN_VERSION_GIT" "v${finalAttrs.version}-0")
|
||||
(lib.cmakeFeature "CMAKE_CXX_FLAGS" archFlags)
|
||||
(lib.cmakeBool "USE_MPI" true)
|
||||
(lib.cmakeBool "USE_MPI4PY" true)
|
||||
(lib.cmakeBool "PREFER_SYSTEM_PYBIND11" true)
|
||||
(lib.cmakeBool "BUILD_STUB_FILES" true)
|
||||
(lib.cmakeBool "USE_SUPERBUILD" false) # use system packages
|
||||
(lib.cmakeBool "USE_NATIVE_ARCH" false)
|
||||
(lib.cmakeBool "USE_JPEG" true)
|
||||
(lib.cmakeBool "USE_MPEG" true)
|
||||
(lib.cmakeBool "BUILD_TESTING" finalAttrs.finalPackage.doInstallCheck)
|
||||
(lib.cmakeBool "ENABLE_UNIT_TESTS" finalAttrs.finalPackage.doInstallCheck)
|
||||
];
|
||||
|
||||
# Tcl script used by netgen need to be aware of environment NETGENDIR
|
||||
postInstall = ''
|
||||
wrapProgram "$out/bin/netgen" --set NETGENDIR "$out/bin"
|
||||
'';
|
||||
|
||||
# mesh generation differs on x86_64 and aarch64 platform
|
||||
# tests will fail on aarch64 platform
|
||||
doInstallCheck = stdenv.hostPlatform.isx86_64;
|
||||
|
||||
preInstallCheck = ''
|
||||
export PYTHONPATH=$out/${python3Packages.python.sitePackages}:$PYTHONPATH
|
||||
'';
|
||||
|
||||
installCheckTarget = "test";
|
||||
|
||||
nativeInstallCheckInputs = [
|
||||
catch2
|
||||
python3Packages.pytest
|
||||
python3Packages.pytest-check
|
||||
python3Packages.pytest-mpi
|
||||
mpiCheckPhaseHook
|
||||
];
|
||||
|
||||
passthru = {
|
||||
inherit avxSupport avx2Support avx512Support;
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://ngsolve.org";
|
||||
description = "Atomatic 3d tetrahedral mesh generator";
|
||||
license = with lib.licenses; [
|
||||
lgpl2Plus
|
||||
lgpl21Plus
|
||||
lgpl21Only
|
||||
bsd3
|
||||
boost
|
||||
publicDomain
|
||||
];
|
||||
platforms = [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
];
|
||||
mainProgram = "netgen";
|
||||
maintainers = with lib.maintainers; [ qbisi ];
|
||||
};
|
||||
})
|
||||
@@ -2,7 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
zig,
|
||||
zig_0_13,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
zig.hook
|
||||
zig_0_13.hook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -37,7 +37,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-4ac0LGQtLldHyXJ2GIRMHV+VZfUrRFdBYLiAHX5lWcw=";
|
||||
};
|
||||
|
||||
deps = callPackage ./build.zig.zon.nix { };
|
||||
deps = callPackage ./build.zig.zon.nix {
|
||||
zig = zig_0_13;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
callPackage,
|
||||
fetchFromGitHub,
|
||||
stdenv,
|
||||
zig,
|
||||
zig_0_13,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "superhtml";
|
||||
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
zig.hook
|
||||
zig_0_13.hook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
mc64ad_dist.c was removed (DFSG nonfree), create stubs
|
||||
--- /dev/null
|
||||
+++ b/SRC/prec-independent/mc64ad_dist.c
|
||||
@@ -0,0 +1,27 @@
|
||||
+/* The original mc64ad_dist.c is nonfree and has been removed.
|
||||
+ We provide a stub interface here instead.
|
||||
+*/
|
||||
+
|
||||
+#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
+
|
||||
+#include "superlu_ddefs.h"
|
||||
+
|
||||
+/* only mc64id_dist and mc64ad_dist are referenced by SuperLU-Dist code */
|
||||
+
|
||||
+/* Subroutine */ int_t mc64id_dist(int_t *icntl)
|
||||
+{
|
||||
+ fprintf(stderr, "SuperLU-Dist: MC64 functionality not available.\n(It uses code under a non-free HSL licence which does not permit redistribution).\nAborting mc64id_dist.\n");
|
||||
+ abort();
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+int_t mc64ad_dist(int_t *job, int_t *n, int_t *ne, int_t *
|
||||
+ ip, int_t *irn, double *a, int_t *num, int_t *cperm,
|
||||
+ int_t *liw, int_t *iw, int_t *ldw, double *dw, int_t *
|
||||
+ icntl, int_t *info)
|
||||
+{
|
||||
+ fprintf(stderr, "SuperLU-Dist: MC64 functionality not available.\n(It uses code under a non-free HSL licence which does not permit redistribution).\nAborting mc64ad_dist.\n");
|
||||
+ abort();
|
||||
+ return 0;
|
||||
+}
|
||||
@@ -0,0 +1,103 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchDebianPatch,
|
||||
cmake,
|
||||
gfortran,
|
||||
blas,
|
||||
lapack,
|
||||
mpi,
|
||||
mpiCheckPhaseHook,
|
||||
metis,
|
||||
parmetis,
|
||||
|
||||
# Todo: ask for permission of unfree parmetis
|
||||
withParmetis ? false,
|
||||
}:
|
||||
|
||||
assert (!blas.isILP64) && (!lapack.isILP64);
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "superlu_dist";
|
||||
version = "9.1.0";
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "xiaoyeli";
|
||||
repo = "superlu_dist";
|
||||
tag = "v${finalAttrs.version}";
|
||||
# Remove non‐free files.
|
||||
postFetch = "rm $out/SRC/prec-independent/mc64ad_dist.c";
|
||||
hash = "sha256-NMAEtTmTY189p8BlmsTugwMuxKZh+Bs1GyuwUHkLA1U=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./mc64ad_dist-stub.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace SRC/prec-independent/util.c \
|
||||
--replace-fail "LargeDiag_MC64" "NOROWPERM"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
gfortran
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
[
|
||||
mpi
|
||||
lapack
|
||||
]
|
||||
++ lib.optionals withParmetis [
|
||||
metis
|
||||
parmetis
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ blas ];
|
||||
|
||||
cmakeFlags =
|
||||
[
|
||||
(lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic))
|
||||
(lib.cmakeBool "enable_fortran" true)
|
||||
(lib.cmakeBool "enable_complex16" true)
|
||||
(lib.cmakeBool "TPL_ENABLE_INTERNAL_BLASLIB" false)
|
||||
(lib.cmakeBool "TPL_ENABLE_LAPACKLIB" true)
|
||||
(lib.cmakeBool "TPL_ENABLE_PARMETISLIB" withParmetis)
|
||||
]
|
||||
++ lib.optionals withParmetis [
|
||||
(lib.cmakeFeature "TPL_PARMETIS_LIBRARIES" "-lmetis -lparmetis")
|
||||
(lib.cmakeFeature "TPL_PARMETIS_INCLUDE_DIRS" "${lib.getDev parmetis}/include")
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
nativeCheckInputs = [ mpiCheckPhaseHook ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://portal.nersc.gov/project/sparse/superlu/";
|
||||
license = with lib.licenses; [
|
||||
# Files: *
|
||||
# Lawrence Berkeley National Labs BSD variant license
|
||||
bsd3Lbnl
|
||||
|
||||
# Files: SRC/prec-independent/symbfact.c
|
||||
# Xerox code; actually `Boehm-GC` variant.
|
||||
mit
|
||||
|
||||
# Files: SRC/include/*colamd.h
|
||||
# University of Florida code; permissive COLAMD licence.
|
||||
free
|
||||
|
||||
# Files: SRC/include/wingetopt.*
|
||||
# Microsoft code; Obtained from https://github.com/iotivity/iotivity/tree/master/resource/c_common/windows.
|
||||
asl20
|
||||
];
|
||||
description = "Library for the solution of large, sparse, nonsymmetric systems of linear equations";
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ qbisi ];
|
||||
};
|
||||
})
|
||||
@@ -26,7 +26,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-jfMSar+Y3inu1Cly6rIDw+akBJIQ6huL0smAstgQmEo=";
|
||||
};
|
||||
|
||||
deps = callPackage ./build.zig.zon.nix { };
|
||||
deps = callPackage ./build.zig.zon.nix {
|
||||
zig = zig_0_13;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
|
||||
@@ -1,18 +1,34 @@
|
||||
{ lib, elixir, fetchFromGitHub, fetchMixDeps, mixRelease, nix-update-script }:
|
||||
{
|
||||
lib,
|
||||
elixir,
|
||||
fetchFromGitHub,
|
||||
fetchMixDeps,
|
||||
mixRelease,
|
||||
nix-update-script,
|
||||
|
||||
# for tests
|
||||
beam27Packages,
|
||||
beam28Packages,
|
||||
}:
|
||||
# Based on ../elixir-ls/default.nix
|
||||
|
||||
let
|
||||
pname = "ex_doc";
|
||||
version = "0.37.2";
|
||||
version = "0.37.3";
|
||||
src = fetchFromGitHub {
|
||||
owner = "elixir-lang";
|
||||
repo = "${pname}";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-BQbqaZq8pCfXrxJh03uV/WpH07bGoVUciX1wh8hFlxM=";
|
||||
hash = "sha256-2tam+3vYLC216Q78GIUI3fGnE5FJ/lECJAUQMSxz46w=";
|
||||
};
|
||||
in
|
||||
mixRelease {
|
||||
inherit pname version src elixir;
|
||||
inherit
|
||||
pname
|
||||
version
|
||||
src
|
||||
elixir
|
||||
;
|
||||
|
||||
stripDebug = true;
|
||||
|
||||
@@ -41,7 +57,15 @@ mixRelease {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
passthru = {
|
||||
tests = {
|
||||
# ex_doc is the doc generation for OTP 27+, so let's make sure they build
|
||||
erlang_27 = beam27Packages.erlang;
|
||||
erlang_28 = beam28Packages.erlang;
|
||||
};
|
||||
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/elixir-lang/ex_doc";
|
||||
@@ -51,6 +75,6 @@ mixRelease {
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.unix;
|
||||
mainProgram = "ex_doc";
|
||||
maintainers = with maintainers; [chiroptical];
|
||||
maintainers = with maintainers; [ chiroptical ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
llvmPackages_16,
|
||||
llvmPackages_17,
|
||||
llvmPackages_18,
|
||||
llvmPackages_19,
|
||||
zigVersions ? { },
|
||||
}:
|
||||
let
|
||||
@@ -20,6 +21,10 @@ let
|
||||
llvmPackages = llvmPackages_18;
|
||||
hash = "sha256-5qSiTq+UWGOwjDVZMIrAt2cDKHkyNPBSAEjpRQUByFM=";
|
||||
};
|
||||
"0.14.0" = {
|
||||
llvmPackages = llvmPackages_19;
|
||||
hash = "sha256-VyteIp5ZRt6qNcZR68KmM7CvN2GYf8vj5hP+gHLkuVk=";
|
||||
};
|
||||
} // zigVersions;
|
||||
|
||||
mkPackage =
|
||||
|
||||
@@ -111,7 +111,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
'';
|
||||
|
||||
postBuild =
|
||||
if lib.versionAtLeast finalAttrs.version "0.13" then
|
||||
if lib.versionAtLeast finalAttrs.version "0.14" then
|
||||
''
|
||||
stage3/bin/zig build langref --zig-lib-dir $(pwd)/stage3/lib/zig
|
||||
''
|
||||
else if lib.versionAtLeast finalAttrs.version "0.13" then
|
||||
''
|
||||
stage3/bin/zig build langref
|
||||
''
|
||||
|
||||
@@ -24,14 +24,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cf-xarray";
|
||||
version = "0.10.0";
|
||||
version = "0.10.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "xarray-contrib";
|
||||
repo = "cf-xarray";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-lAVH2QGdMyU5A6QTLKujeAh8n1AkCsAtdyKQEqLahTk=";
|
||||
hash = "sha256-rWTaVhRqmTwogqYQ+mesZY6ET9YnSiAqDItoZfVgpYg=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
@@ -64,6 +64,7 @@ buildPythonPackage rec {
|
||||
disabledTestPaths = [
|
||||
# Tests require network access
|
||||
"cf_xarray/tests/test_accessor.py"
|
||||
"cf_xarray/tests/test_groupers.py"
|
||||
"cf_xarray/tests/test_helpers.py"
|
||||
];
|
||||
|
||||
|
||||
@@ -23,14 +23,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gitingest";
|
||||
version = "0.1.3";
|
||||
version = "0.1.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cyclotruc";
|
||||
repo = "gitingest";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-RGrenW0modLH9h5pQOexPvEDQ9Bczoj1qInYmgUoGdo=";
|
||||
hash = "sha256-2zt4pYgj5fieYS74QCMA9Kw9FUNb13ZJB/tX7WkMQew=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
@@ -71,7 +71,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/cyclotruc/gitingest/releases/tag/v${version}";
|
||||
changelog = "https://github.com/cyclotruc/gitingest/releases/tag/${src.tag}";
|
||||
description = "Replace 'hub' with 'ingest' in any github url to get a prompt-friendly extract of a codebase";
|
||||
homepage = "https://github.com/cyclotruc/gitingest";
|
||||
license = lib.licenses.mit;
|
||||
|
||||
@@ -14,14 +14,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-genai";
|
||||
version = "1.4.0";
|
||||
version = "1.5.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "googleapis";
|
||||
repo = "python-genai";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-aVn23g67PW3Qge6ZI0lFoozdoWVRrISy29k4uvBKTBQ=";
|
||||
hash = "sha256-kw4RUcI8ARgVXsyqyo6jysjVn35yAs9//fv60PaOrXI=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -1,25 +1,23 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchPypi,
|
||||
boto3,
|
||||
pytestCheckHook,
|
||||
|
||||
# downstream dependencies
|
||||
localstack,
|
||||
# use for testing promoted localstack
|
||||
pkgs,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "localstack-client";
|
||||
version = "1.39";
|
||||
version = "2.7";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "localstack";
|
||||
repo = "localstack-python-client";
|
||||
# Request for proper tags: https://github.com/localstack/localstack-python-client/issues/38
|
||||
rev = "f1e538ad23700e5b1afe98720404f4801475e470";
|
||||
hash = "sha256-MBXTiTzCwkduJPPRN7OKaWy2q9J8xCX/GGu09tyac3A=";
|
||||
src = fetchPypi {
|
||||
pname = "localstack_client";
|
||||
inherit version;
|
||||
hash = "sha256-FJkxGZAaS8vvfDLYmbJPSliodaZ2VpPt8QZNZrimhAg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ boto3 ];
|
||||
@@ -39,7 +37,7 @@ buildPythonPackage rec {
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
passthru.tests = {
|
||||
inherit localstack;
|
||||
inherit (pkgs) localstack;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -15,19 +15,19 @@
|
||||
python-dateutil,
|
||||
tabulate,
|
||||
|
||||
# Sensitive downstream dependencies
|
||||
localstack,
|
||||
# use for testing promoted localstack
|
||||
pkgs,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "localstack-ext";
|
||||
version = "4.0.3";
|
||||
version = "4.1.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "localstack_ext";
|
||||
inherit version;
|
||||
hash = "sha256-vivEdEk32wJln8jfhrAtygO5CEvtsdXI7sxrj0dqIdA=";
|
||||
hash = "sha256-Fgblk8eL5JnF4yLeH73yGuOeH9anSu1o9H1UxcjTyco=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
@@ -60,7 +60,7 @@ buildPythonPackage rec {
|
||||
doCheck = false;
|
||||
|
||||
passthru.tests = {
|
||||
inherit localstack;
|
||||
inherit (pkgs) localstack;
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -25,14 +25,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mplhep";
|
||||
version = "0.3.56";
|
||||
version = "0.3.57";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "scikit-hep";
|
||||
repo = "mplhep";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-sMJpJUEtIqmu7kCgZp43t9XLy/6nkDgKcxC4nFb+1po=";
|
||||
hash = "sha256-R0H/gp/8q6bUB2jCZUKiywz1fNQbzzRsuvjTQz0DeAo=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
@@ -68,7 +68,7 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Extended histogram plots on top of matplotlib and HEP compatible styling similar to current collaboration requirements (ROOT)";
|
||||
homepage = "https://github.com/scikit-hep/mplhep";
|
||||
changelog = "https://github.com/scikit-hep/mplhep/releases/tag/v${version}";
|
||||
changelog = "https://github.com/scikit-hep/mplhep/releases/tag/${src.tag}";
|
||||
license = with lib.licenses; [ mit ];
|
||||
maintainers = with lib.maintainers; [ veprbl ];
|
||||
};
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
glfw,
|
||||
numpy,
|
||||
pyopengl,
|
||||
typing-extensions,
|
||||
|
||||
perl,
|
||||
python,
|
||||
@@ -37,7 +38,7 @@ buildPythonPackage rec {
|
||||
# in the project's CI.
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-a0ATRmtFV11J3T2HSNCZhfc0kAOu8yaHIW0rkCrHsTg=";
|
||||
hash = "sha256-D7EqtxW8K20jlKYzC4w6HdlbDzuoEr/k9skeChyjrQ8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
@@ -57,6 +58,7 @@ buildPythonPackage rec {
|
||||
glfw
|
||||
numpy
|
||||
pyopengl
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "${pname}" ];
|
||||
@@ -64,8 +66,8 @@ buildPythonPackage rec {
|
||||
env.MUJOCO_PATH = "${mujoco}";
|
||||
env.MUJOCO_PLUGIN_PATH = "${mujoco}/lib";
|
||||
env.MUJOCO_CMAKE_ARGS = lib.concatStringsSep " " [
|
||||
"-DMUJOCO_SIMULATE_USE_SYSTEM_GLFW=ON"
|
||||
"-DMUJOCO_PYTHON_USE_SYSTEM_PYBIND11=ON"
|
||||
(lib.cmakeBool "MUJOCO_SIMULATE_USE_SYSTEM_GLFW" true)
|
||||
(lib.cmakeBool "MUJOCO_PYTHON_USE_SYSTEM_PYBIND11" true)
|
||||
];
|
||||
|
||||
preConfigure =
|
||||
@@ -82,8 +84,8 @@ buildPythonPackage rec {
|
||||
platform = with stdenv.hostPlatform.parsed; "${kernel.name}-${cpu.name}";
|
||||
in
|
||||
''
|
||||
${perl}/bin/perl -0777 -i -pe "s/GIT_REPO\n.*\n.*GIT_TAG\n.*\n//gm" mujoco/CMakeLists.txt
|
||||
${perl}/bin/perl -0777 -i -pe "s/(FetchContent_Declare\(\n.*lodepng\n.*)(GIT_REPO.*\n.*GIT_TAG.*\n)(.*\))/\1\3/gm" mujoco/simulate/CMakeLists.txt
|
||||
${lib.getExe perl} -0777 -i -pe "s/GIT_REPO\n.*\n.*GIT_TAG\n.*\n//gm" mujoco/CMakeLists.txt
|
||||
${lib.getExe perl} -0777 -i -pe "s/(FetchContent_Declare\(\n.*lodepng\n.*)(GIT_REPO.*\n.*GIT_TAG.*\n)(.*\))/\1\3/gm" mujoco/simulate/CMakeLists.txt
|
||||
|
||||
build="/build/${pname}-${version}/build/temp.${platform}-cpython-${pythonVersionMajorMinor}/"
|
||||
mkdir -p $build/_deps
|
||||
@@ -95,9 +97,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = {
|
||||
description = "Python bindings for MuJoCo: a general purpose physics simulator";
|
||||
homepage = "https://mujoco.org/";
|
||||
changelog = "https://github.com/google-deepmind/mujoco/releases/tag/${version}";
|
||||
license = lib.licenses.asl20;
|
||||
inherit (mujoco.meta) homepage changelog license;
|
||||
maintainers = with lib.maintainers; [
|
||||
GaetanLepage
|
||||
tmplt
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "plux";
|
||||
version = "1.11.0";
|
||||
version = "1.12.0";
|
||||
pyproject = true;
|
||||
|
||||
# Tests are not available from PyPi
|
||||
@@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
owner = "localstack";
|
||||
repo = "plux";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-M4N3Ccuw95OcLsWQVtITv4QShBJKliTh5QIoqji8x9o=";
|
||||
hash = "sha256-2Sxn/LuiwTzByAAz7VlNLsxEiPIyJWXr86/76Anx+EU=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ lib, fetchzip }:
|
||||
let
|
||||
version = "3.1.0";
|
||||
srcHash = "sha256-RuO2n0kgx13DWuZIowsiS5RovSFvq0kqwaj5Uz7IykI=";
|
||||
version = "3.3.0";
|
||||
srcHash = "sha256-f0XQ3cbao8IM5toSkxvul7pp1L89N9oiEo3Yx3mkGhg=";
|
||||
# The tarball contains vendored dependencies
|
||||
vendorHash = null;
|
||||
in
|
||||
|
||||
@@ -129,14 +129,12 @@ rec {
|
||||
hash = "sha256-2ZaxenwaVGYYUjUJaGgnGpZNQprQV9+Jns2sXM6cowk=";
|
||||
cargoHash = "sha256-ittesFz1GUGipQecsmMA+GEaVoUY+C9DtEvsO0HFNCc=";
|
||||
cargoPatches = [ ./update-time.patch ];
|
||||
broken = stdenv.hostPlatform.isDarwin;
|
||||
};
|
||||
|
||||
garage_1_1_0 = generic {
|
||||
version = "1.1.0";
|
||||
hash = "sha256-ysf/GYR39trXTPRdw8uB6E4YDp4nAR8dbU9k9rQTxz0=";
|
||||
cargoHash = "sha256-SkDr/e9YZ3raTGucaiv/RV2zF9tEDIeqZeri6Xk3xEU=";
|
||||
broken = stdenv.hostPlatform.isDarwin;
|
||||
};
|
||||
|
||||
garage_0_8 = garage_0_8_7;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
fetchurl,
|
||||
ncurses,
|
||||
pkg-config,
|
||||
zig,
|
||||
zig_0_13,
|
||||
zstd,
|
||||
installShellFiles,
|
||||
testers,
|
||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
zig.hook
|
||||
zig_0_13.hook
|
||||
installShellFiles
|
||||
pkg-config
|
||||
];
|
||||
@@ -50,7 +50,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
pSub
|
||||
rodrgz
|
||||
];
|
||||
inherit (zig.meta) platforms;
|
||||
inherit (zig_0_13.meta) platforms;
|
||||
mainProgram = "ncdu";
|
||||
};
|
||||
})
|
||||
|
||||
@@ -4131,8 +4131,6 @@ with pkgs;
|
||||
|
||||
liquidctl = with python3Packages; toPythonApplication liquidctl;
|
||||
|
||||
localstack = with python3Packages; toPythonApplication localstack;
|
||||
|
||||
xz = callPackage ../tools/compression/xz { };
|
||||
|
||||
lzwolf = callPackage ../games/lzwolf { SDL2_mixer = SDL2_mixer_2_0; };
|
||||
@@ -10758,12 +10756,14 @@ with pkgs;
|
||||
zig_0_11 = zigPackages."0.11";
|
||||
zig_0_12 = zigPackages."0.12";
|
||||
zig_0_13 = zigPackages."0.13";
|
||||
zig_0_14 = zigPackages."0.14";
|
||||
}) zigPackages
|
||||
zig_0_11
|
||||
zig_0_12
|
||||
zig_0_13;
|
||||
zig_0_13
|
||||
zig_0_14;
|
||||
|
||||
zig = zig_0_13;
|
||||
zig = zig_0_14;
|
||||
|
||||
zigStdenv = if stdenv.cc.isZig then stdenv else lowPrio zig.passthru.stdenv;
|
||||
|
||||
|
||||
@@ -355,6 +355,7 @@ mapAliases ({
|
||||
livestreamer = throw "'livestreamer' has been removed, as it unmaintained. A currently maintained fork is 'streamlink'."; # added 2023-11-14
|
||||
livestreamer-curses = throw "'livestreamer-curses' has been removed as it, and livestreamer itself are unmaintained."; # added 2023-11-14
|
||||
lmcloud = pylamarzocco; # added 2024-11-26
|
||||
localstack = throw "localstack was promoted to a top-level attribute"; # added 2025-02-21
|
||||
logilab_astng = throw "logilab-astng has not been released since 2013 and is unmaintained"; # added 2022-11-29
|
||||
logilab_common = logilab-common; # added 2022-11-21
|
||||
loo-py = loopy; # added 2022-05-03
|
||||
|
||||
@@ -7832,8 +7832,6 @@ self: super: with self; {
|
||||
|
||||
localimport = callPackage ../development/python-modules/localimport { };
|
||||
|
||||
localstack = callPackage ../development/python-modules/localstack { };
|
||||
|
||||
localstack-client = callPackage ../development/python-modules/localstack-client { };
|
||||
|
||||
localstack-ext = callPackage ../development/python-modules/localstack-ext { };
|
||||
@@ -9397,6 +9395,8 @@ self: super: with self; {
|
||||
|
||||
netdisco = callPackage ../development/python-modules/netdisco { };
|
||||
|
||||
netgen = toPythonModule (pkgs.netgen.override { python3Packages = self; });
|
||||
|
||||
nethsm = callPackage ../development/python-modules/nethsm { };
|
||||
|
||||
netifaces = callPackage ../development/python-modules/netifaces { };
|
||||
|
||||
Reference in New Issue
Block a user