Merge staging-next into staging
This commit is contained in:
commit
afa876d6fe
@ -44,7 +44,7 @@ As an alternative, you can proxy the guest shell to a local TCP server by first
|
||||
starting a TCP server in a terminal using the command:
|
||||
|
||||
```ShellSession
|
||||
$ socat 'READLINE,PROMPT=$ ' tcp-listen:4444,reuseaddr`
|
||||
$ socat 'READLINE,PROMPT=$ ' tcp-listen:4444,reuseaddr
|
||||
```
|
||||
|
||||
In the terminal where the test driver is running, connect to this server by
|
||||
|
@ -103,7 +103,7 @@ in
|
||||
|
||||
port = mkOption {
|
||||
type = types.port;
|
||||
default = if cfg.database.type == "mysql" then mysql.port else pgsql.services.port;
|
||||
default = if cfg.database.type == "mysql" then mysql.port else pgsql.settings.port;
|
||||
defaultText = literalExpression ''
|
||||
if config.${opt.database.type} == "mysql"
|
||||
then config.${options.services.mysql.port}
|
||||
|
@ -10,9 +10,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
|
||||
];
|
||||
|
||||
services.xserver.enable = true;
|
||||
environment.systemPackages = [
|
||||
pkgs.ladybird
|
||||
];
|
||||
programs.ladybird.enable = true;
|
||||
};
|
||||
|
||||
enableOCR = true;
|
||||
|
@ -92,5 +92,8 @@ rustPlatform.buildRustPackage rec {
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ akru andresilva FlorianFranzen RaghavSood ];
|
||||
platforms = platforms.unix;
|
||||
# See comment about wasm32-unknown-unknown in rustc.nix.
|
||||
broken = lib.any (a: lib.hasAttr a stdenv.hostPlatform.gcc) [ "cpu" "float-abi" "fpu" ] ||
|
||||
!stdenv.hostPlatform.gcc.thumb or true;
|
||||
};
|
||||
}
|
||||
|
@ -26,18 +26,22 @@ stdenv.mkDerivation {
|
||||
configureFlags = [
|
||||
"--enable-multibyte"
|
||||
"--enable-nls"
|
||||
] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) ([
|
||||
"vim_cv_toupper_broken=no"
|
||||
"--with-tlib=ncurses"
|
||||
"vim_cv_terminfo=yes"
|
||||
"vim_cv_tgetent=zero" # it does on native anyway
|
||||
"vim_cv_timer_create=yes"
|
||||
"vim_cv_tty_group=tty"
|
||||
"vim_cv_tty_mode=0660"
|
||||
"vim_cv_getcwd_broken=no"
|
||||
"vim_cv_stat_ignores_slash=yes"
|
||||
"vim_cv_memmove_handles_overlap=yes"
|
||||
];
|
||||
] ++ lib.optionals stdenv.hostPlatform.isFreeBSD [
|
||||
"vim_cv_timer_create=no"
|
||||
"vim_cv_timer_create_with_lrt=yes"
|
||||
] ++ lib.optionals (!stdenv.hostPlatform.isFreeBSD) [
|
||||
"vim_cv_timer_create=yes"
|
||||
]);
|
||||
|
||||
# which.sh is used to for vim's own shebang patching, so make it find
|
||||
# binaries for the host platform.
|
||||
|
@ -1820,8 +1820,8 @@ let
|
||||
mktplcRef = {
|
||||
publisher = "github";
|
||||
name = "copilot";
|
||||
version = "1.180.827";
|
||||
hash = "sha256-HA1na9FoExIiAay+tEjxWKqpG2+wq4Oww77Gl2Bhciw=";
|
||||
version = "1.200.920";
|
||||
hash = "sha256-LMShW9GN/wsDBodVn33Ui4qW0619r13VO2rSTPVE9TQ=";
|
||||
};
|
||||
|
||||
meta = {
|
||||
@ -1837,8 +1837,8 @@ let
|
||||
mktplcRef = {
|
||||
publisher = "github";
|
||||
name = "copilot-chat";
|
||||
version = "0.14.2024032901"; # compatible with vscode 1.88.1
|
||||
hash = "sha256-+6N7IGO5j0wP5Zg8CwapHeKGWiZzc43VM4jCtqJDJIQ=";
|
||||
version = "0.16.2024060502"; # compatible with vscode 1.90.0
|
||||
hash = "sha256-SAydDc3JlJzfCtbJICy3rWx8psVPdRdPfOuzR9Dqtp8=";
|
||||
};
|
||||
meta = {
|
||||
description = "GitHub Copilot Chat is a companion extension to GitHub Copilot that houses experimental chat features";
|
||||
|
@ -120,6 +120,9 @@ rustPlatform.buildRustPackage rec {
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ pbsds ];
|
||||
platforms = platforms.unix;
|
||||
# See comment about wasm32-unknown-unknown in rustc.nix.
|
||||
broken = lib.any (a: lib.hasAttr a stdenv.hostPlatform.gcc) [ "cpu" "float-abi" "fpu" ] ||
|
||||
!stdenv.hostPlatform.gcc.thumb or true;
|
||||
mainProgram = "pagefind";
|
||||
};
|
||||
}
|
||||
|
@ -50,13 +50,13 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "ladybird";
|
||||
version = "0-unstable-2024-05-26";
|
||||
version = "0-unstable-2024-06-04";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SerenityOS";
|
||||
repo = "serenity";
|
||||
rev = "1a9d8e8fbe360f2d3b376ca0e13c507bd2cc6e8b";
|
||||
hash = "sha256-+g/1F/v8nTVbvtSrtyvQbeYacjTlfRpg+Htu0lRlkcU=";
|
||||
owner = "LadybirdWebBrowser";
|
||||
repo = "ladybird";
|
||||
rev = "c6e9f0e7b5b050ddbb5d735ca9c65458add9b4a5";
|
||||
hash = "sha256-+NDrd0kO9bqXFcCEJFmNwNu5jmf+wT+uUVlmbmCYLw4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@ -64,7 +64,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
sed -i '/iconutil/d' CMakeLists.txt
|
||||
sed -i '/iconutil/d' Ladybird/CMakeLists.txt
|
||||
|
||||
# Don't set absolute paths in RPATH
|
||||
substituteInPlace Meta/CMake/lagom_install_options.cmake \
|
||||
@ -73,16 +73,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
cd Ladybird
|
||||
|
||||
# Setup caches for LibLocale, LibUnicode, LibTimezone, LibTLS and LibGfx
|
||||
# Note that the versions of the input data packages must match the
|
||||
# expected version in the package's CMake.
|
||||
|
||||
# Check that the versions match
|
||||
grep -F 'set(CLDR_VERSION "${cldr_version}")' ../Meta/CMake/locale_data.cmake || (echo cldr_version mismatch && exit 1)
|
||||
grep -F 'set(TZDB_VERSION "${tzdata.version}")' ../Meta/CMake/time_zone_data.cmake || (echo tzdata.version mismatch && exit 1)
|
||||
grep -F 'set(CACERT_VERSION "${cacert_version}")' ../Meta/CMake/ca_certificates_data.cmake || (echo cacert_version mismatch && exit 1)
|
||||
grep -F 'set(CLDR_VERSION "${cldr_version}")' Meta/CMake/locale_data.cmake || (echo cldr_version mismatch && exit 1)
|
||||
grep -F 'set(TZDB_VERSION "${tzdata.version}")' Meta/CMake/time_zone_data.cmake || (echo tzdata.version mismatch && exit 1)
|
||||
grep -F 'set(CACERT_VERSION "${cacert_version}")' Meta/CMake/ca_certificates_data.cmake || (echo cacert_version mismatch && exit 1)
|
||||
|
||||
mkdir -p build/Caches
|
||||
|
||||
|
@ -11,11 +11,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xmedcon";
|
||||
version = "0.23.0";
|
||||
version = "0.24.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
|
||||
sha256 = "sha256-g1CRJDokLDzB+1YIuVQNByBLx01CI47EwGeluqVDujk=";
|
||||
sha256 = "sha256-9NAAXGEVgpVPS7MB8FubnYUpkihE3lET/gep8QfPhB0=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
@ -121,7 +121,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
# acceptable version.
|
||||
#
|
||||
# See https://github.com/Homebrew/homebrew-core/commit/dfa3ccf1e7d3901e371b5140b935839ba9d8b706
|
||||
++ lib.optional stdenv.isDarwin "TKFRAMEWORK=/nonexistent";
|
||||
++ lib.optional stdenv.isDarwin "TKFRAMEWORK=/nonexistent"
|
||||
++ lib.optional (stdenv.hostPlatform.isFreeBSD && stdenv.hostPlatform != stdenv.buildPlatform) "uname_S=FreeBSD";
|
||||
|
||||
disallowedReferences = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||
stdenv.shellPackage
|
||||
|
@ -10,16 +10,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "hugo";
|
||||
version = "0.126.3";
|
||||
version = "0.127.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gohugoio";
|
||||
repo = "hugo";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-WWpcbY8KA/62AeIt1hH+xfgEoPle4hfH+/K7I+1xdEc=";
|
||||
hash = "sha256-QAZP119VOPTnVXe2mtzCpB3OW/g73oA/qwR94OzISKo=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-VfwiA5LCAJ1pkmMCy/Dcc5bLKkNY1MHtxHcHvKLoWHs=";
|
||||
vendorHash = "sha256-Og7FTCrto1l+Xpfr2zEgg/yXa7dflws0yJ2Xh9f3mbI=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
@ -13,13 +13,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "jazz2";
|
||||
version = "2.6.0";
|
||||
version = "2.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "deathkiller";
|
||||
repo = "jazz2-native";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-ZTQz6+2myUIJr2HqiwYksM7qiwXrd4+3+h1TC6FuPFU=";
|
||||
hash = "sha256-iy5b5h6wpOlubtOwBs0X7P0wBD3QeAQwjMhgnd4YP+Q=";
|
||||
};
|
||||
|
||||
patches = [ ./nocontent.patch ];
|
||||
|
@ -1,14 +1,15 @@
|
||||
{ stdenv
|
||||
, config
|
||||
, pkgs
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, eigen
|
||||
, onnxruntime
|
||||
, opencv
|
||||
, cudaSupport ? config.cudaSupport
|
||||
, cudaPackages ? { }
|
||||
{
|
||||
stdenv,
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
eigen,
|
||||
onnxruntime,
|
||||
opencv,
|
||||
cudaSupport ? config.cudaSupport,
|
||||
cudaPackages ? { },
|
||||
}@inputs:
|
||||
|
||||
let
|
||||
@ -30,34 +31,42 @@ effectiveStdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-5TItnPDc5WShpZAgBYeqgI9KKkk3qw/M8HPMlq/H4BM=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "cmake" ];
|
||||
outputs = [
|
||||
"out"
|
||||
"cmake"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
eigen
|
||||
] ++ lib.optionals cudaSupport [
|
||||
cudaPackages.cuda_nvcc
|
||||
];
|
||||
] ++ lib.optionals cudaSupport [ cudaPackages.cuda_nvcc ];
|
||||
|
||||
buildInputs = [
|
||||
onnxruntime
|
||||
opencv
|
||||
] ++ lib.optionals cudaSupport (with cudaPackages; [
|
||||
cuda_cccl # cub/cub.cuh
|
||||
libcublas # cublas_v2.h
|
||||
libcurand # curand.h
|
||||
libcusparse # cusparse.h
|
||||
libcufft # cufft.h
|
||||
cudnn # cudnn.h
|
||||
cuda_cudart
|
||||
]);
|
||||
buildInputs =
|
||||
[
|
||||
onnxruntime
|
||||
opencv
|
||||
]
|
||||
++ lib.optionals cudaSupport (
|
||||
with cudaPackages;
|
||||
[
|
||||
cuda_cccl # cub/cub.cuh
|
||||
libcublas # cublas_v2.h
|
||||
libcurand # curand.h
|
||||
libcusparse # cusparse.h
|
||||
libcufft # cufft.h
|
||||
cudnn # cudnn.h
|
||||
cuda_cudart
|
||||
]
|
||||
);
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeFeature "CMAKE_BUILD_TYPE" "None")
|
||||
(lib.cmakeBool "BUILD_SHARED_LIBS" true)
|
||||
] ++ lib.optionals cudaSupport [
|
||||
(lib.cmakeFeature "CMAKE_CUDA_ARCHITECTURES" cudaArchitecturesString)
|
||||
];
|
||||
cmakeFlags =
|
||||
[
|
||||
(lib.cmakeFeature "CMAKE_BUILD_TYPE" "None")
|
||||
(lib.cmakeBool "BUILD_SHARED_LIBS" true)
|
||||
]
|
||||
++ lib.optionals cudaSupport [
|
||||
(lib.cmakeFeature "CMAKE_CUDA_ARCHITECTURES" cudaArchitecturesString)
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mkdir $cmake
|
||||
@ -67,7 +76,7 @@ effectiveStdenv.mkDerivation (finalAttrs: {
|
||||
meta = with lib; {
|
||||
description = "MaaAssistantArknights stripped-down version of FastDeploy";
|
||||
homepage = "https://github.com/MaaAssistantArknights/FastDeploy";
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
license = licenses.asl20;
|
||||
broken = cudaSupport && stdenv.hostPlatform.system != "x86_64-linux";
|
||||
};
|
||||
|
@ -1,24 +1,26 @@
|
||||
{ lib
|
||||
, config
|
||||
, callPackage
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, asio
|
||||
, cmake
|
||||
, eigen
|
||||
, libcpr
|
||||
, onnxruntime
|
||||
, opencv
|
||||
, isBeta ? false
|
||||
, cudaSupport ? config.cudaSupport
|
||||
, cudaPackages ? { }
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
callPackage,
|
||||
stdenv,
|
||||
overrideSDK,
|
||||
fetchFromGitHub,
|
||||
asio,
|
||||
cmake,
|
||||
libcpr,
|
||||
onnxruntime,
|
||||
opencv,
|
||||
isBeta ? false,
|
||||
cudaSupport ? config.cudaSupport,
|
||||
cudaPackages ? { },
|
||||
}:
|
||||
|
||||
let
|
||||
fastdeploy = callPackage ./fastdeploy-ppocr.nix { };
|
||||
sources = lib.importJSON ./pin.json;
|
||||
in
|
||||
stdenv.mkDerivation (finalAttr: {
|
||||
# https://github.com/NixOS/nixpkgs/issues/314160
|
||||
(if stdenv.isDarwin then overrideSDK stdenv "11.0" else stdenv).mkDerivation (finalAttr: {
|
||||
pname = "maa-assistant-arknights" + lib.optionalString isBeta "-beta";
|
||||
version = if isBeta then sources.beta.version else sources.stable.version;
|
||||
|
||||
@ -33,24 +35,27 @@ stdenv.mkDerivation (finalAttr: {
|
||||
asio
|
||||
cmake
|
||||
fastdeploy.cmake
|
||||
] ++ lib.optionals cudaSupport [
|
||||
cudaPackages.cuda_nvcc
|
||||
];
|
||||
] ++ lib.optionals cudaSupport [ cudaPackages.cuda_nvcc ];
|
||||
|
||||
buildInputs = [
|
||||
fastdeploy
|
||||
libcpr
|
||||
onnxruntime
|
||||
opencv
|
||||
] ++ lib.optionals cudaSupport (with cudaPackages; [
|
||||
cuda_cccl # cub/cub.cuh
|
||||
libcublas # cublas_v2.h
|
||||
libcurand # curand.h
|
||||
libcusparse # cusparse.h
|
||||
libcufft # cufft.h
|
||||
cudnn # cudnn.h
|
||||
cuda_cudart
|
||||
]);
|
||||
buildInputs =
|
||||
[
|
||||
fastdeploy
|
||||
libcpr
|
||||
onnxruntime
|
||||
opencv
|
||||
]
|
||||
++ lib.optionals cudaSupport (
|
||||
with cudaPackages;
|
||||
[
|
||||
cuda_cccl # cub/cub.cuh
|
||||
libcublas # cublas_v2.h
|
||||
libcurand # curand.h
|
||||
libcusparse # cusparse.h
|
||||
libcufft # cufft.h
|
||||
cudnn # cudnn.h
|
||||
cuda_cudart
|
||||
]
|
||||
);
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "BUILD_SHARED_LIBS" true)
|
||||
@ -64,6 +69,10 @@ stdenv.mkDerivation (finalAttr: {
|
||||
|
||||
passthru.updateScript = ./update.sh;
|
||||
|
||||
postPatch = ''
|
||||
cp -v ${fastdeploy.cmake}/Findonnxruntime.cmake cmake/
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/${finalAttr.pname}
|
||||
mv $out/{Python,resource} $out/share/${finalAttr.pname}
|
||||
@ -74,6 +83,6 @@ stdenv.mkDerivation (finalAttr: {
|
||||
homepage = "https://github.com/MaaAssistantArknights/MaaAssistantArknights";
|
||||
license = licenses.agpl3Only;
|
||||
maintainers = with maintainers; [ Cryolitia ];
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
})
|
||||
|
@ -1,14 +1,16 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
, makeWrapper
|
||||
, pkg-config
|
||||
, openssl
|
||||
, maa-assistant-arknights
|
||||
, android-tools
|
||||
, git
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
installShellFiles,
|
||||
makeWrapper,
|
||||
pkg-config,
|
||||
openssl,
|
||||
darwin,
|
||||
maa-assistant-arknights,
|
||||
android-tools,
|
||||
git,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -28,13 +30,22 @@ rustPlatform.buildRustPackage rec {
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
];
|
||||
buildInputs =
|
||||
[ openssl ]
|
||||
++ lib.optionals stdenv.isDarwin (
|
||||
with darwin.apple_sdk.frameworks;
|
||||
[
|
||||
Security
|
||||
SystemConfiguration
|
||||
]
|
||||
);
|
||||
|
||||
# https://github.com/MaaAssistantArknights/maa-cli/pull/126
|
||||
buildNoDefaultFeatures = true;
|
||||
buildFeatures = [ "git2" "core_installer" ];
|
||||
buildFeatures = [
|
||||
"git2"
|
||||
"core_installer"
|
||||
];
|
||||
|
||||
cargoHash = "sha256-iy9myT3bVW1TXCZx3ddiiDoDXx5BWqeQnSsJ97bc4IA=";
|
||||
|
||||
@ -47,9 +58,12 @@ rustPlatform.buildRustPackage rec {
|
||||
mv $out/bin/maa $out/share/maa-assistant-arknights/
|
||||
|
||||
makeWrapper $out/share/maa-assistant-arknights/maa $out/bin/maa \
|
||||
--prefix PATH : "${lib.makeBinPath [
|
||||
android-tools git
|
||||
]}"
|
||||
--prefix PATH : "${
|
||||
lib.makeBinPath [
|
||||
android-tools
|
||||
git
|
||||
]
|
||||
}"
|
||||
|
||||
installShellCompletion --cmd maa \
|
||||
--bash <($out/bin/maa complete bash) \
|
||||
@ -65,7 +79,7 @@ rustPlatform.buildRustPackage rec {
|
||||
description = "A simple CLI for MAA by Rust";
|
||||
homepage = "https://github.com/MaaAssistantArknights/maa-cli";
|
||||
license = licenses.agpl3Only;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
maintainers = with maintainers; [ Cryolitia ];
|
||||
mainProgram = "maa";
|
||||
};
|
||||
|
49
pkgs/by-name/mc/mcdreforged/package.nix
Normal file
49
pkgs/by-name/mc/mcdreforged/package.nix
Normal file
@ -0,0 +1,49 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
python3,
|
||||
testers,
|
||||
mcdreforged,
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "mcdreforged";
|
||||
version = "2.12.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Fallen-Breath";
|
||||
repo = "MCDReforged";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-MLub++mkkB/jshpHJXtqgIhs7Gcb4jHUyHqGE65S8A8=";
|
||||
};
|
||||
|
||||
disabled = python3.pkgs.pythonOlder "3.8";
|
||||
|
||||
build-system = [ python3.pkgs.setuptools ];
|
||||
|
||||
dependencies = with python3.pkgs; [
|
||||
colorlog
|
||||
colorama
|
||||
packaging
|
||||
parse
|
||||
prompt-toolkit
|
||||
psutil
|
||||
ruamel-yaml
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ python3.pkgs.pytestCheckHook ];
|
||||
|
||||
passthru.tests = {
|
||||
version = testers.testVersion { package = mcdreforged; };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "A rewritten version of MCDaemon, a python tool to control your Minecraft server";
|
||||
homepage = "https://mcdreforged.com";
|
||||
changelog = "https://github.com/MCDReforged/MCDReforged/releases/tag/v${version}";
|
||||
license = licenses.lgpl3Only;
|
||||
maintainers = with maintainers; [ moraxyc ];
|
||||
mainProgram = "mcdreforged";
|
||||
};
|
||||
}
|
45
pkgs/by-name/md/md-tui/package.nix
Normal file
45
pkgs/by-name/md/md-tui/package.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
stdenv,
|
||||
darwin,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "md-tui";
|
||||
version = "0.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "henriklovhaug";
|
||||
repo = "md-tui";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-AwJvB1xLsJCr+r0RJi8jH50QlPq7mbUibvmvYZJi9XE=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-QapogSDuAiQWbCFFwPiaSpvLHn0oRLwBEBuB44MN/t0=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.CoreFoundation
|
||||
darwin.apple_sdk.frameworks.CoreServices
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Markdown renderer in the terminal";
|
||||
homepage = "https://github.com/henriklovhaug/md-tui";
|
||||
changelog = "https://github.com/henriklovhaug/md-tui/blob/${src.rev}/CHANGELOG.md";
|
||||
license = lib.licenses.agpl3Only;
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
platforms = lib.platforms.all;
|
||||
mainProgram = "mdt";
|
||||
};
|
||||
}
|
60
pkgs/by-name/nb/nb-cli/package.nix
Normal file
60
pkgs/by-name/nb/nb-cli/package.nix
Normal file
@ -0,0 +1,60 @@
|
||||
{
|
||||
fetchPypi,
|
||||
lib,
|
||||
nb-cli,
|
||||
python3,
|
||||
testers,
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "nb-cli";
|
||||
version = "1.4.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "nb_cli";
|
||||
inherit version;
|
||||
hash = "sha256-kI3Uy79mv0b+h5wjrRN3My9jOFzryhkStieqaG0YFvM=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
python3.pkgs.babel
|
||||
python3.pkgs.pdm-backend
|
||||
];
|
||||
|
||||
dependencies = with python3.pkgs; [
|
||||
anyio
|
||||
cashews
|
||||
click
|
||||
cookiecutter
|
||||
httpx
|
||||
importlib-metadata
|
||||
jinja2
|
||||
noneprompt
|
||||
pydantic
|
||||
pyfiglet
|
||||
tomlkit
|
||||
typing-extensions
|
||||
virtualenv
|
||||
watchfiles
|
||||
wcwidth
|
||||
];
|
||||
|
||||
# no test
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "nb_cli" ];
|
||||
|
||||
passthru.tests = {
|
||||
version = testers.testVersion { package = nb-cli; };
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "CLI for nonebot2";
|
||||
homepage = "https://cli.nonebot.dev";
|
||||
changelog = "https://github.com/nonebot/nb-cli/releases/tag/v${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ moraxyc ];
|
||||
mainProgram = "nb";
|
||||
};
|
||||
}
|
@ -12,13 +12,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nulloy";
|
||||
version = "0.9.8.7";
|
||||
version = "0.9.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nulloy";
|
||||
repo = "nulloy";
|
||||
rev = version;
|
||||
hash = "sha256-s8DzL7pp3hmD9k8pVqmk7WGq3zZ1tLF9C+jxcRtJOXA=";
|
||||
hash = "sha256-vFg789vBV7ks+4YiWWl3u0/kQjzpAiX8dMfXU0hynDM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -126,5 +126,8 @@ rustPlatform.buildRustPackage rec {
|
||||
];
|
||||
maintainers = with maintainers; [ SomeoneSerge ];
|
||||
mainProgram = "rerun";
|
||||
# See comment about wasm32-unknown-unknown in rustc.nix.
|
||||
broken = lib.any (a: lib.hasAttr a stdenv.hostPlatform.gcc) [ "cpu" "float-abi" "fpu" ] ||
|
||||
!stdenv.hostPlatform.gcc.thumb or true;
|
||||
};
|
||||
}
|
||||
|
@ -166,5 +166,8 @@ in stdenv.mkDerivation (finalAttrs: {
|
||||
mainProgram = "surrealist";
|
||||
maintainers = with maintainers; [ frankp ];
|
||||
platforms = platforms.linux;
|
||||
# See comment about wasm32-unknown-unknown in rustc.nix.
|
||||
broken = lib.any (a: lib.hasAttr a stdenv.hostPlatform.gcc) [ "cpu" "float-abi" "fpu" ] ||
|
||||
!stdenv.hostPlatform.gcc.thumb or true;
|
||||
};
|
||||
})
|
||||
|
@ -78,6 +78,9 @@ let
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ huantian wackbyte ];
|
||||
platforms = lib.platforms.linux;
|
||||
# See comment about wasm32-unknown-unknown in rustc.nix.
|
||||
broken = lib.any (a: lib.hasAttr a stdenv.hostPlatform.gcc) [ "cpu" "float-abi" "fpu" ] ||
|
||||
!stdenv.hostPlatform.gcc.thumb or true;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -39,6 +39,10 @@ rustPlatform.buildRustPackage rec {
|
||||
SystemConfiguration
|
||||
]);
|
||||
|
||||
postInstall = ''
|
||||
installManPage docs/build/man/man1/tpnote.1
|
||||
'';
|
||||
|
||||
RUSTONIG_SYSTEM_LIBONIG = true;
|
||||
|
||||
passthru.tests.version = testers.testVersion { package = tpnote; };
|
||||
|
@ -106,7 +106,9 @@ in stdenv.mkDerivation (finalAttrs: {
|
||||
stdenv.targetPlatform.rust.rustcTargetSpec
|
||||
|
||||
# Other targets that don't need any extra dependencies to build.
|
||||
] ++ optionals (!fastCross) [
|
||||
# Temporarily broken if some global compiler flags are set:
|
||||
# https://github.com/NixOS/nixpkgs/pull/317273
|
||||
] ++ optionals (!fastCross && !lib.any (a: lib.hasAttr a stdenv.hostPlatform.gcc) [ "cpu" "float-abi" "fpu" ] && stdenv.hostPlatform.gcc.thumb or true) [
|
||||
"wasm32-unknown-unknown"
|
||||
|
||||
# (build!=target): When cross-building a compiler we need to add
|
||||
|
@ -307,10 +307,15 @@ in with passthru; stdenv.mkDerivation (finalAttrs: {
|
||||
# (since it will do a futile invocation of gcc (!) to find
|
||||
# libuuid, slowing down program startup a lot).
|
||||
noldconfigPatch
|
||||
] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform && stdenv.isFreeBSD) [
|
||||
# Cross compilation only supports a limited number of "known good"
|
||||
# configurations. If you're reading this and it's been a long time
|
||||
# since this diff, consider submitting this patch upstream!
|
||||
./freebsd-cross.patch
|
||||
] ++ optionals (pythonOlder "3.13") [
|
||||
# Make sure that the virtualenv activation scripts are
|
||||
# owner-writable, so venvs can be recreated without permission
|
||||
# errors.
|
||||
] ++ optionals (pythonOlder "3.13") [
|
||||
./virtualenv-permissions.patch
|
||||
] ++ optionals (pythonAtLeast "3.13") [
|
||||
./3.13/virtualenv-permissions.patch
|
||||
|
@ -0,0 +1,22 @@
|
||||
--- a/configure.ac 2024-06-07 09:17:50.608162031 -0700
|
||||
+++ b/configure.ac 2024-06-07 09:45:59.844518241 -0700
|
||||
@@ -554,6 +554,9 @@
|
||||
*-*-wasi)
|
||||
ac_sys_system=WASI
|
||||
;;
|
||||
+ *-*-freebsd)
|
||||
+ ac_sys_system=FreeBSD
|
||||
+ ;;
|
||||
*)
|
||||
# for now, limit cross builds to known configurations
|
||||
MACHDEP="unknown"
|
||||
@@ -614,6 +617,9 @@
|
||||
wasm32-*-* | wasm64-*-*)
|
||||
_host_cpu=$host_cpu
|
||||
;;
|
||||
+ x86_64-*-freebsd)
|
||||
+ _host_cpu=x86_64
|
||||
+ ;;
|
||||
*)
|
||||
# for now, limit cross builds to known configurations
|
||||
MACHDEP="unknown"
|
@ -160,6 +160,9 @@ let
|
||||
"--with-out-ext=tk"
|
||||
# on yosemite, "generating encdb.h" will hang for a very long time without this flag
|
||||
"--with-setjmp-type=setjmp"
|
||||
] ++ ops stdenv.hostPlatform.isFreeBSD [
|
||||
"rb_cv_gnu_qsort_r=no"
|
||||
"rb_cv_bsd_qsort_r=yes"
|
||||
];
|
||||
|
||||
preConfigure = opString docSupport ''
|
||||
|
@ -2,12 +2,12 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tkrzw";
|
||||
version = "1.0.29";
|
||||
version = "1.0.31";
|
||||
# TODO: defeat multi-output reference cycles
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://dbmx.net/tkrzw/pkg/tkrzw-${version}.tar.gz";
|
||||
hash = "sha256-q6q9b8iaGe2KICrDcRvDsHY9kovDqO7upzo2effn95A=";
|
||||
hash = "sha256-7FdHglIBTHGKRt66WNTGEe5qUcrIyTYPrnuVrUc8l08=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
70
pkgs/development/python-modules/cashews/default.nix
Normal file
70
pkgs/development/python-modules/cashews/default.nix
Normal file
@ -0,0 +1,70 @@
|
||||
{
|
||||
bitarray,
|
||||
buildPythonPackage,
|
||||
dill,
|
||||
diskcache,
|
||||
fetchFromGitHub,
|
||||
hiredis,
|
||||
hypothesis,
|
||||
lib,
|
||||
pytest,
|
||||
pytest-asyncio,
|
||||
pytest-cov,
|
||||
pytest-rerunfailures,
|
||||
pytestCheckHook,
|
||||
redis,
|
||||
setuptools,
|
||||
xxhash,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cashews";
|
||||
version = "7.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Krukov";
|
||||
repo = "cashews";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-VzIW6/xhKk+ZWd29BYQp6sjpBst8IVz8t/hCLc2LFT4=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
dill = [ dill ];
|
||||
diskcache = [ diskcache ];
|
||||
redis = [ redis ];
|
||||
speedup = [
|
||||
bitarray
|
||||
hiredis
|
||||
xxhash
|
||||
];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
hypothesis
|
||||
pytest
|
||||
pytest-asyncio
|
||||
pytest-cov
|
||||
pytest-rerunfailures
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# these tests require too many dependencies
|
||||
"redis"
|
||||
"diskcache"
|
||||
"integration"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "cashews" ];
|
||||
|
||||
meta = {
|
||||
description = "Cache tools with async power";
|
||||
homepage = "https://github.com/Krukov/cashews/";
|
||||
changelog = "https://github.com/Krukov/cashews/releases/tag/${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ moraxyc ];
|
||||
};
|
||||
}
|
45
pkgs/development/python-modules/inequality/default.nix
Normal file
45
pkgs/development/python-modules/inequality/default.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
|
||||
libpysal,
|
||||
numpy,
|
||||
scipy,
|
||||
setuptools-scm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "inequality";
|
||||
version = "1.0.1";
|
||||
pyproject = true;
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pysal";
|
||||
repo = "inequality";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-dy1/KXnmIh5LnTxuyYfIvtt1p2CIpNQ970o5pTg6diQ=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools-scm ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
libpysal
|
||||
numpy
|
||||
scipy
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "inequality" ];
|
||||
|
||||
meta = {
|
||||
description = "Spatial inequality analysis";
|
||||
homepage = "https://github.com/pysal/inequality";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = lib.teams.geospatial.members;
|
||||
};
|
||||
}
|
40
pkgs/development/python-modules/matplotlib-venn/default.nix
Normal file
40
pkgs/development/python-modules/matplotlib-venn/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
lib,
|
||||
fetchPypi,
|
||||
buildPythonPackage,
|
||||
setuptools,
|
||||
matplotlib,
|
||||
numpy,
|
||||
scipy,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.11.10";
|
||||
pname = "matplotlib-venn";
|
||||
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-kNDPsnnF273339ciwOJRWjf1NelJvK0XRIO8d343LmU=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
matplotlib
|
||||
numpy
|
||||
scipy
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = {
|
||||
description = "Functions for plotting area-proportional two- and three-way Venn diagrams in matplotlib";
|
||||
homepage = "https://github.com/konstantint/matplotlib-venn";
|
||||
changelog = "https://github.com/konstantint/matplotlib-venn/releases/tag/${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ moraxyc ];
|
||||
};
|
||||
}
|
57
pkgs/development/python-modules/momepy/default.nix
Normal file
57
pkgs/development/python-modules/momepy/default.nix
Normal file
@ -0,0 +1,57 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
|
||||
geopandas,
|
||||
inequality,
|
||||
libpysal,
|
||||
mapclassify,
|
||||
networkx,
|
||||
packaging,
|
||||
pandas,
|
||||
setuptools-scm,
|
||||
shapely,
|
||||
tqdm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "momepy";
|
||||
version = "0.7.0";
|
||||
pyproject = true;
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pysal";
|
||||
repo = "momepy";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-HVp2a0z+5fbfkNSxnTfZPCgG2SJMlKX/zso14M18mCk=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools-scm ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
geopandas
|
||||
inequality
|
||||
libpysal
|
||||
mapclassify
|
||||
networkx
|
||||
packaging
|
||||
pandas
|
||||
shapely
|
||||
tqdm
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "momepy" ];
|
||||
|
||||
meta = {
|
||||
description = "Urban Morphology Measuring Toolkit";
|
||||
homepage = "https://github.com/pysal/momepy";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = lib.teams.geospatial.members;
|
||||
};
|
||||
}
|
39
pkgs/development/python-modules/noneprompt/default.nix
Normal file
39
pkgs/development/python-modules/noneprompt/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
lib,
|
||||
poetry-core,
|
||||
prompt-toolkit,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "noneprompt";
|
||||
version = "0.1.9";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-M4uLuJqNIu818d7bOqfBsijPE5lzvcQ8X/w+72RFfbk=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [ prompt-toolkit ];
|
||||
|
||||
# no test
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "noneprompt" ];
|
||||
|
||||
meta = {
|
||||
description = "Prompt toolkit for console interaction";
|
||||
homepage = "https://github.com/nonebot/noneprompt";
|
||||
changelog = "https://github.com/nonebot/noneprompt/releases/tag/v${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ moraxyc ];
|
||||
mainProgram = "noneprompt";
|
||||
};
|
||||
}
|
@ -6,6 +6,8 @@
|
||||
scipy,
|
||||
sympy,
|
||||
setuptools,
|
||||
pynose,
|
||||
cython,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -26,8 +28,18 @@ buildPythonPackage rec {
|
||||
sympy
|
||||
];
|
||||
|
||||
# nose test does not support 3.10 or later
|
||||
doCheck = false;
|
||||
nativeCheckInputs = [
|
||||
pynose
|
||||
cython
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
nosetests pydy
|
||||
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "pydy" ];
|
||||
|
||||
|
@ -1,18 +1,17 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
flit-core,
|
||||
lib,
|
||||
pythonOlder,
|
||||
typing-extensions,
|
||||
unittestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pypdf2";
|
||||
version = "3.0.1";
|
||||
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "PyPDF2";
|
||||
@ -22,9 +21,10 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [ flit-core ];
|
||||
|
||||
propagatedBuildInputs = lib.optionals (pythonOlder "3.10") [ typing-extensions ];
|
||||
dependencies = lib.optionals (pythonOlder "3.10") [ typing-extensions ];
|
||||
|
||||
nativeCheckInputs = [ unittestCheckHook ];
|
||||
# no test
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "PyPDF2" ];
|
||||
|
||||
|
@ -1,11 +1,12 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
lib,
|
||||
mock,
|
||||
packaging,
|
||||
ply,
|
||||
pytestCheckHook,
|
||||
pythonAtLeast,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
six,
|
||||
@ -16,8 +17,23 @@ buildPythonPackage rec {
|
||||
version = "3.3.6";
|
||||
pyproject = true;
|
||||
|
||||
# distutils removal, https://github.com/dropbox/stone/issues/323
|
||||
disabled = pythonOlder "3.7" || pythonAtLeast "3.12";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
patches = [
|
||||
# fix distutils issue
|
||||
# fix versions in tests to conform pep 440
|
||||
# See https://github.com/dropbox/stone/pull/334
|
||||
(fetchpatch {
|
||||
name = "no-distutils.patch";
|
||||
url = "https://github.com/dropbox/stone/commit/f772d8d3b7e2ce62b14b4fb208a478bc8e54c7f2.patch";
|
||||
hash = "sha256-SH4gG5S13n/pXppm62LvH9poGfeQGGonW7bkzdYh73Q=";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "fix-test-pep-440.patch";
|
||||
url = "https://github.com/dropbox/stone/commit/f36de56b1f87eae61829258b2f16aa8319bbcc5c.patch";
|
||||
hash = "sha256-sBJukNk02RmQQza1qhLAkyx1OJRck0/zQOeRaXD9tkY=";
|
||||
})
|
||||
];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dropbox";
|
||||
@ -36,6 +52,7 @@ buildPythonPackage rec {
|
||||
dependencies = [
|
||||
ply
|
||||
six
|
||||
packaging
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
@ -201,6 +201,7 @@ let
|
||||
MPISupport && cudaSupport && (mpi.cudatoolkit != cudaPackages.cudatoolkit);
|
||||
"Magma cudaPackages does not match cudaPackages" =
|
||||
cudaSupport && (effectiveMagma.cudaPackages != cudaPackages);
|
||||
"Rocm support is currently broken because `rocmPackages.hipblaslt` is unpackaged. (2024-06-09)" = rocmSupport;
|
||||
};
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
|
@ -140,6 +140,8 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
mainProgram = "gdb";
|
||||
|
||||
description = "The GNU Project debugger";
|
||||
|
||||
longDescription = ''
|
||||
|
@ -84,6 +84,9 @@ in rustPlatform.buildRustPackage (commonDerivationAttrs // {
|
||||
changelog = "https://github.com/lldap/lldap/blob/v${lldap.version}/CHANGELOG.md";
|
||||
license = licenses.gpl3Only;
|
||||
platforms = platforms.linux;
|
||||
# See comment about wasm32-unknown-unknown in rustc.nix.
|
||||
broken = lib.any (a: lib.hasAttr a stdenv.hostPlatform.gcc) [ "cpu" "float-abi" "fpu" ] ||
|
||||
!stdenv.hostPlatform.gcc.thumb or true;
|
||||
maintainers = with maintainers; [ bendlas ];
|
||||
mainProgram = "lldap";
|
||||
};
|
||||
|
@ -180,6 +180,9 @@ buildGoModule rec {
|
||||
platforms = platforms.unix;
|
||||
# go-libfido2 is broken on platforms with less than 64-bit because it defines an array
|
||||
# which occupies more than 31 bits of address space.
|
||||
broken = stdenv.hostPlatform.parsed.cpu.bits < 64;
|
||||
broken = stdenv.hostPlatform.parsed.cpu.bits < 64 ||
|
||||
# See comment about wasm32-unknown-unknown in rustc.nix.
|
||||
lib.any (a: lib.hasAttr a stdenv.hostPlatform.gcc) [ "cpu" "float-abi" "fpu" ] ||
|
||||
!stdenv.hostPlatform.gcc.thumb or true;
|
||||
};
|
||||
}
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "abcMIDI";
|
||||
version = "2024.04.30";
|
||||
version = "2024.06.03";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://ifdo.ca/~seymour/runabc/${pname}-${version}.zip";
|
||||
hash = "sha256-Yw/EQZlGTYxouRL1Tf4TDSNWMleB7vKzWg4n6sw5d4Q=";
|
||||
hash = "sha256-iq/NnXMATYRCjeBlcSvgdCVe2lDz/Tade7GQnlCygGM=";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -3,6 +3,7 @@
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, udev
|
||||
, freebsd
|
||||
, runtimeShellPackage
|
||||
, runtimeShell
|
||||
, nixosTests
|
||||
@ -22,8 +23,12 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
udev
|
||||
runtimeShellPackage # So patchShebangs finds a bash suitable for the installed scripts
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
udev
|
||||
] ++ lib.optionals stdenv.isFreeBSD [
|
||||
freebsd.libcapsicum
|
||||
freebsd.libcasper
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
@ -52,7 +57,7 @@ stdenv.mkDerivation rec {
|
||||
installFlags = [ "DBDIR=$(TMPDIR)/db" "SYSCONFDIR=${placeholder "out"}/etc" ];
|
||||
|
||||
# Check that the udev plugin got built.
|
||||
postInstall = lib.optionalString (udev != null) "[ -e ${placeholder "out"}/lib/dhcpcd/dev/udev.so ]";
|
||||
postInstall = lib.optionalString (udev != null && stdenv.isLinux) "[ -e ${placeholder "out"}/lib/dhcpcd/dev/udev.so ]";
|
||||
|
||||
passthru = {
|
||||
inherit enablePrivSep;
|
||||
@ -62,7 +67,7 @@ stdenv.mkDerivation rec {
|
||||
meta = with lib; {
|
||||
description = "A client for the Dynamic Host Configuration Protocol (DHCP)";
|
||||
homepage = "https://roy.marples.name/projects/dhcpcd";
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.linux ++ platforms.freebsd;
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ eelco ];
|
||||
mainProgram = "dhcpcd";
|
||||
|
@ -1,22 +1,22 @@
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, libjson, json_c, gengetopt, flex, byacc, gmp
|
||||
, libpcap, libunistring
|
||||
, libpcap, libunistring, judy
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "zmap";
|
||||
version = "3.0.0";
|
||||
version = "4.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zmap";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-OJZKcnsuBi3z/AI05RMBitgn01bhVTqx2jFYJLuIJk4=";
|
||||
sha256 = "sha256-ftdjIBAAe+3qUEHoNMAOCmzy+PWD4neIMWvFXFi2JFo=";
|
||||
};
|
||||
|
||||
cmakeFlags = [ "-DRESPECT_INSTALL_PREFIX_CONFIG=ON" ];
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config gengetopt flex byacc ];
|
||||
buildInputs = [ libjson json_c gmp libpcap libunistring ];
|
||||
buildInputs = [ libjson json_c gmp libpcap libunistring judy ];
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
|
@ -1945,6 +1945,8 @@ self: super: with self; {
|
||||
|
||||
cashaddress = callPackage ../development/python-modules/cashaddress { };
|
||||
|
||||
cashews = callPackage ../development/python-modules/cashews { };
|
||||
|
||||
cassandra-driver = callPackage ../development/python-modules/cassandra-driver { };
|
||||
|
||||
castepxbin = callPackage ../development/python-modules/castepxbin { };
|
||||
@ -5785,6 +5787,8 @@ self: super: with self; {
|
||||
|
||||
indexed-zstd = callPackage ../development/python-modules/indexed-zstd { inherit (pkgs) zstd; };
|
||||
|
||||
inequality = callPackage ../development/python-modules/inequality { };
|
||||
|
||||
infinity = callPackage ../development/python-modules/infinity { };
|
||||
|
||||
inflect = callPackage ../development/python-modules/inflect { };
|
||||
@ -7275,6 +7279,8 @@ self: super: with self; {
|
||||
|
||||
matplotlib-sixel = callPackage ../development/python-modules/matplotlib-sixel { };
|
||||
|
||||
matplotlib-venn = callPackage ../development/python-modules/matplotlib-venn { };
|
||||
|
||||
matplotx = callPackage ../development/python-modules/matplotx { };
|
||||
|
||||
matrix-api-async = callPackage ../development/python-modules/matrix-api-async { };
|
||||
@ -7673,6 +7679,8 @@ self: super: with self; {
|
||||
|
||||
molecule-plugins = callPackage ../development/python-modules/molecule/plugins.nix { };
|
||||
|
||||
momepy = callPackage ../development/python-modules/momepy { };
|
||||
|
||||
monai = callPackage ../development/python-modules/monai { };
|
||||
|
||||
monai-deploy = callPackage ../development/python-modules/monai-deploy { };
|
||||
@ -8648,6 +8656,8 @@ self: super: with self; {
|
||||
|
||||
nomadnet = callPackage ../development/python-modules/nomadnet { };
|
||||
|
||||
noneprompt = callPackage ../development/python-modules/noneprompt { };
|
||||
|
||||
nox = callPackage ../development/python-modules/nox { };
|
||||
|
||||
nanomsg-python = callPackage ../development/python-modules/nanomsg-python {
|
||||
|
Loading…
Reference in New Issue
Block a user