mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
Merge master into staging-next
This commit is contained in:
commit
00b1e226f7
@ -52,12 +52,12 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
buildInputs =
|
||||
[ openssl ]
|
||||
++ lib.optionals stdenv.isLinux [
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
glib-networking # Most Tauri apps need networking
|
||||
libsoup
|
||||
webkitgtk_4_0
|
||||
]
|
||||
++ lib.optionals stdenv.isDarwin (
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin (
|
||||
with darwin.apple_sdk.frameworks;
|
||||
[
|
||||
AppKit
|
||||
|
@ -2832,6 +2832,12 @@
|
||||
githubId = 24254289;
|
||||
name = "Payas Relekar";
|
||||
};
|
||||
bhasherbel = {
|
||||
email = "nixos.maintainer@bhasher.com";
|
||||
github = "bhasherbel";
|
||||
githubId = 45831883;
|
||||
name = "Brieuc Dubois";
|
||||
};
|
||||
bhipple = {
|
||||
email = "bhipple@protonmail.com";
|
||||
github = "bhipple";
|
||||
@ -5841,7 +5847,7 @@
|
||||
name = "Sebastian Krohn";
|
||||
};
|
||||
drawbu = {
|
||||
email = "clement21.boillot@gmail.com";
|
||||
email = "clement2104.boillot@gmail.com";
|
||||
github = "drawbu";
|
||||
githubId = 69208565;
|
||||
name = "Clément Boillot";
|
||||
@ -10941,6 +10947,12 @@
|
||||
githubId = 54635632;
|
||||
keys = [ { fingerprint = "4C68 56EE DFDA 20FB 77E8 9169 1964 2151 C218 F6F5"; } ];
|
||||
};
|
||||
jthulhu = {
|
||||
name = "Adrien Mathieu";
|
||||
email = "adrien.lc.mathieu@gmail.com";
|
||||
github = "jthulhu";
|
||||
githubId = 23179762;
|
||||
};
|
||||
jtobin = {
|
||||
email = "jared@jtobin.io";
|
||||
github = "jtobin";
|
||||
|
@ -101,7 +101,7 @@ in
|
||||
assertions = [
|
||||
{
|
||||
assertion = cfg.enable32Bit -> pkgs.stdenv.hostPlatform.isx86_64;
|
||||
message = "`hardware.graphics.enable32Bit` only makes sense on a 64-bit system.";
|
||||
message = "`hardware.graphics.enable32Bit` is only supported on an x86_64 system.";
|
||||
}
|
||||
{
|
||||
assertion = cfg.enable32Bit -> (config.boot.kernelPackages.kernel.features.ia32Emulation or false);
|
||||
|
@ -4,9 +4,7 @@
|
||||
, cmake
|
||||
, pkg-config
|
||||
, stdenv
|
||||
, libiconv
|
||||
, Security
|
||||
, SystemConfiguration
|
||||
, apple-sdk_11
|
||||
, curl
|
||||
, openssl
|
||||
, buildPackages
|
||||
@ -33,7 +31,7 @@ in rustPlatform.buildRustPackage rec {
|
||||
nativeBuildInputs = [ cmake pkg-config installShellFiles ];
|
||||
|
||||
buildInputs = [ curl ] ++ (if stdenv.hostPlatform.isDarwin
|
||||
then [ libiconv Security SystemConfiguration ]
|
||||
then [ apple-sdk_11 ]
|
||||
else [ openssl ]);
|
||||
|
||||
preFixup = lib.optionalString canRunCmd ''
|
||||
|
@ -1,4 +1,10 @@
|
||||
{ lib, stdenv, fetchFromGitHub, xorg, i3lock }:
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
xorg,
|
||||
i3lock,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "i3lock-fancy-rapid";
|
||||
@ -33,6 +39,7 @@ stdenv.mkDerivation {
|
||||
description = "Faster implementation of i3lock-fancy";
|
||||
homepage = "https://github.com/yvbbrjdr/i3lock-fancy-rapid";
|
||||
maintainers = with maintainers; [ nickhu ];
|
||||
mainProgram = "i3lock-fancy-rapid";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
|
99
pkgs/by-name/br/bruno-cli/package.nix
Normal file
99
pkgs/by-name/br/bruno-cli/package.nix
Normal file
@ -0,0 +1,99 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildNpmPackage,
|
||||
bruno,
|
||||
pkg-config,
|
||||
pango,
|
||||
apple-sdk_11,
|
||||
testers,
|
||||
bruno-cli,
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "bruno-cli";
|
||||
in
|
||||
buildNpmPackage {
|
||||
inherit pname;
|
||||
|
||||
# since they only make releases and git tags for bruno,
|
||||
# we lie about bruno-cli's version and say it's the same as bruno's
|
||||
# to keep them in sync with easier maintenance
|
||||
inherit (bruno) version src npmDepsHash;
|
||||
|
||||
npmWorkspace = "packages/bruno-cli";
|
||||
npmFlags = [ "--legacy-peer-deps" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
[
|
||||
pango
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# fix for: https://github.com/NixOS/nixpkgs/issues/272156
|
||||
apple-sdk_11
|
||||
];
|
||||
|
||||
ELECTRON_SKIP_BINARY_DOWNLOAD = 1;
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
npm run build --workspace=packages/bruno-common
|
||||
npm run build --workspace=packages/bruno-graphql-docs
|
||||
npm run build --workspace=packages/bruno-query
|
||||
|
||||
npm run sandbox:bundle-libraries --workspace=packages/bruno-js
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
npmPackFlags = [ "--ignore-scripts" ];
|
||||
|
||||
postInstall = ''
|
||||
cp -r packages $out/lib/node_modules/usebruno
|
||||
|
||||
echo "Removing unnecessary files"
|
||||
pushd $out/lib/node_modules/usebruno
|
||||
rm -rfv packages/bruno-{app,electron,tests,toml,schema,docs}
|
||||
rm -rfv packages/*/node_modules/typescript
|
||||
rm -rfv node_modules/{next,@next,@tabler,pdfjs-dist,*redux*,*babel*,prettier,@types*,*react*,*graphiql*}
|
||||
for pattern in '*.map' '*.map.js' '*.ts'; do
|
||||
find . -type f -name "$pattern" -exec rm -v {} +
|
||||
done
|
||||
popd
|
||||
echo "Removed unnecessary files"
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/bru \
|
||||
--prefix NODE_PATH : $out/lib/node_modules/usebruno/packages/bruno-cli/node_modules \
|
||||
--prefix NODE_PATH : $out/lib/node_modules
|
||||
'';
|
||||
|
||||
passthru.tests.help = testers.runCommand {
|
||||
name = "${pname}-help-test";
|
||||
nativeBuildInputs = [ bruno-cli ];
|
||||
script = ''
|
||||
bru --help && touch $out
|
||||
'';
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "CLI of the open-source IDE For exploring and testing APIs";
|
||||
homepage = "https://www.usebruno.com";
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "bru";
|
||||
maintainers = with lib.maintainers; [
|
||||
gepbird
|
||||
kashw2
|
||||
lucasew
|
||||
mattpolzin
|
||||
water-sucks
|
||||
];
|
||||
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
||||
};
|
||||
}
|
@ -13,16 +13,16 @@
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "buildkite-agent";
|
||||
version = "3.82.1";
|
||||
version = "3.85.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "buildkite";
|
||||
repo = "agent";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-xTF8zmpwEFHkLwDYBICXJZ4gjJYpcH5i76kPQM6qt5o=";
|
||||
hash = "sha256-aRgjXzwTC1wCWZ7n0MJpNHcHZgvendFPr4vCrBnCJCk=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-xKAQ2yvFYl9ld3H6IGafYgCdA8jn9xig/AAej56ACns=";
|
||||
vendorHash = "sha256-UMnDVxZgqI4430IlA8fSygKEOT86RjCwuzGsvkQ8XIo=";
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace clicommand/agent_start.go --replace /bin/bash ${bash}/bin/bash
|
||||
|
@ -19,16 +19,16 @@ let
|
||||
in
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "deno";
|
||||
version = "2.0.5";
|
||||
version = "2.0.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "denoland";
|
||||
repo = "deno";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-JTNLxUT1C9Q8XiP3BYn6NhytbvilQ20DzWwLjNXjlCI=";
|
||||
hash = "sha256-dJ1SHWPgQtr7BdBW63A+/RocHAx1MRnyeRj1Q/Qmcgk=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-EDphp03j6HpTxgBgsaGHuO+hQX57QXkTz6fHN0+or48=";
|
||||
cargoHash = "sha256-6sAu8RbC6CcPABUZ2KEmcf2bn0UGiWacHJg4Eso+ozo=";
|
||||
|
||||
postPatch = ''
|
||||
# upstream uses lld on aarch64-darwin for faster builds
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, lib, fetchFromGitHub, rustPlatform, AppKit, installShellFiles }:
|
||||
{ stdenv, lib, fetchFromGitHub, rustPlatform, apple-sdk_11, installShellFiles }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
# Originally, this package was under the attribute `du-dust`, since `dust` was taken.
|
||||
@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ AppKit ];
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_11 ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
28
pkgs/by-name/hy/hyprsome/package.nix
Normal file
28
pkgs/by-name/hy/hyprsome/package.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "hyprsome";
|
||||
version = "0.1.12-unstable-2024-05-20";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sopa0";
|
||||
repo = "hyprsome";
|
||||
rev = "985e1a3b03b5118c98c03983f60ea9f74775858c";
|
||||
hash = "sha256-JiOV9c23yOhaVW2NHgs8rjM8l9qt181Tigf5sCnPep8=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-Jqx77/PDWEJ+NPJN2R6n4w9nVPXQoHeuVfYKUB3i9Lg=";
|
||||
|
||||
meta = {
|
||||
description = "Awesome-like workspaces for Hyprland";
|
||||
homepage = "https://github.com/sopa0/hyprsome";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ bhasherbel ];
|
||||
platforms = lib.platforms.linux;
|
||||
mainProgram = "hyprsome";
|
||||
};
|
||||
}
|
@ -63,7 +63,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
changelog = "https://github.com/leanprover/lean4/blob/${finalAttrs.src.rev}/RELEASES.md";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ danielbritten ];
|
||||
maintainers = with maintainers; [ danielbritten jthulhu ];
|
||||
mainProgram = "lean";
|
||||
};
|
||||
})
|
||||
|
@ -15,17 +15,16 @@
|
||||
|
||||
let
|
||||
pname = "localsend";
|
||||
version = "1.15.4";
|
||||
version = "1.16.1";
|
||||
|
||||
linux = flutter324.buildFlutterApplication rec {
|
||||
inherit pname;
|
||||
version = "1.15.4-unstable-2024-10-26";
|
||||
inherit pname version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "d0e864ddf6ebe1c55188b33f8fdccd534d203c75";
|
||||
hash = "sha256-qaW9LoRQge4K/CAQwbjNxmlUkQmxvaZyBJdAjXbbTw4=";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-9nW1cynvRgX565ZupR+ogfDH9Qem+LQH4XZupVsrEWo=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/app";
|
||||
@ -52,6 +51,10 @@ let
|
||||
done
|
||||
'';
|
||||
|
||||
extraWrapProgramArgs = ''
|
||||
--prefix LD_LIBRARY_PATH : "$out/app/${pname}/lib"
|
||||
'';
|
||||
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
name = "LocalSend";
|
||||
@ -79,7 +82,7 @@ let
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/localsend/localsend/releases/download/v${version}/LocalSend-${version}.dmg";
|
||||
hash = "sha256-ZU2aXZNKo01TnXNH0e+r0l4J5HIILmGam3T4+6GaeA4=";
|
||||
hash = "sha256-kgq3AoypDdRwk9bKa1zjUJo4tHHUbDZIg0G0Rk9S3n4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -5,18 +5,18 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "storj-uplink";
|
||||
version = "1.114.3";
|
||||
version = "1.116.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "storj";
|
||||
repo = "storj";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-V7Vl2sViRl6olhCdJF4xtR7iyJCqJCrm39/Aq1T9GFQ=";
|
||||
hash = "sha256-vQftcQU7WUDfVFKYswtpEHbSyReIcWF83vEQrEbzbHk=";
|
||||
};
|
||||
|
||||
subPackages = [ "cmd/uplink" ];
|
||||
|
||||
vendorHash = "sha256-+eqT3VNqw3fOLwfCKPacIEcoXjuzPaY1EAZI95rgLDs=";
|
||||
vendorHash = "sha256-4wkgQQGbQi9ZcBaExRQysL6r/rJZez9z7keaJReuAeg=";
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
|
35
pkgs/by-name/te/testkube/package.nix
Normal file
35
pkgs/by-name/te/testkube/package.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "testkube";
|
||||
version = "2.1.56";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kubeshop";
|
||||
repo = "testkube";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-P+A9lUMzQ3M0SEVZBMDSMj8S0uCsEhadv5vDRxbQORA=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-44aIwddMH6CMfTno90xGkHgna4DO2Ii3KhpMwv6Zjmo=";
|
||||
|
||||
ldflags = [
|
||||
"-X main.version=${version}"
|
||||
"-X main.builtBy=nixpkgs"
|
||||
"-X main.commit=v${version}"
|
||||
"-X main.date=1970-01-01-00:00:01"
|
||||
];
|
||||
|
||||
subPackages = [ "cmd/kubectl-testkube" ];
|
||||
|
||||
meta = {
|
||||
description = "Kubernetes-native framework for test definition and execution";
|
||||
homepage = "https://github.com/kubeshop/testkube/";
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "kubectl-testkube";
|
||||
maintainers = with lib.maintainers; [ mathstlouis ];
|
||||
};
|
||||
}
|
@ -6,6 +6,7 @@
|
||||
matrix = callPackage ./matrix { };
|
||||
media_kit_libs_linux = callPackage ./media_kit_libs_linux { };
|
||||
olm = callPackage ./olm { };
|
||||
rhttp = callPackage ./rhttp { };
|
||||
sqlcipher_flutter_libs = callPackage ./sqlcipher_flutter_libs { };
|
||||
sqlite3 = callPackage ./sqlite3 { };
|
||||
system_tray = callPackage ./system-tray { };
|
||||
|
@ -0,0 +1,90 @@
|
||||
--- old/cargokit/cmake/cargokit.cmake 2024-11-08 13:36:13.345889693 +0800
|
||||
+++ new/cargokit/cmake/cargokit.cmake 2024-11-08 13:45:26.019632176 +0800
|
||||
@@ -17,83 +17,22 @@
|
||||
function(apply_cargokit target manifest_dir lib_name any_symbol_name)
|
||||
|
||||
set(CARGOKIT_LIB_NAME "${lib_name}")
|
||||
- set(CARGOKIT_LIB_FULL_NAME "${CMAKE_SHARED_MODULE_PREFIX}${CARGOKIT_LIB_NAME}${CMAKE_SHARED_MODULE_SUFFIX}")
|
||||
- if (CMAKE_CONFIGURATION_TYPES)
|
||||
- set(CARGOKIT_OUTPUT_DIR "${CMAKE_CURRENT_BINARY_DIR}/$<CONFIG>")
|
||||
- set(OUTPUT_LIB "${CMAKE_CURRENT_BINARY_DIR}/$<CONFIG>/${CARGOKIT_LIB_FULL_NAME}")
|
||||
- else()
|
||||
- set(CARGOKIT_OUTPUT_DIR "${CMAKE_CURRENT_BINARY_DIR}")
|
||||
- set(OUTPUT_LIB "${CMAKE_CURRENT_BINARY_DIR}/${CARGOKIT_LIB_FULL_NAME}")
|
||||
- endif()
|
||||
- set(CARGOKIT_TEMP_DIR "${CMAKE_CURRENT_BINARY_DIR}/cargokit_build")
|
||||
-
|
||||
- if (FLUTTER_TARGET_PLATFORM)
|
||||
- set(CARGOKIT_TARGET_PLATFORM "${FLUTTER_TARGET_PLATFORM}")
|
||||
- else()
|
||||
- set(CARGOKIT_TARGET_PLATFORM "windows-x64")
|
||||
- endif()
|
||||
-
|
||||
- set(CARGOKIT_ENV
|
||||
- "CARGOKIT_CMAKE=${CMAKE_COMMAND}"
|
||||
- "CARGOKIT_CONFIGURATION=$<CONFIG>"
|
||||
- "CARGOKIT_MANIFEST_DIR=${CMAKE_CURRENT_SOURCE_DIR}/${manifest_dir}"
|
||||
- "CARGOKIT_TARGET_TEMP_DIR=${CARGOKIT_TEMP_DIR}"
|
||||
- "CARGOKIT_OUTPUT_DIR=${CARGOKIT_OUTPUT_DIR}"
|
||||
- "CARGOKIT_TARGET_PLATFORM=${CARGOKIT_TARGET_PLATFORM}"
|
||||
- "CARGOKIT_TOOL_TEMP_DIR=${CARGOKIT_TEMP_DIR}/tool"
|
||||
- "CARGOKIT_ROOT_PROJECT_DIR=${CMAKE_SOURCE_DIR}"
|
||||
- )
|
||||
-
|
||||
- if (WIN32)
|
||||
- set(SCRIPT_EXTENSION ".cmd")
|
||||
- set(IMPORT_LIB_EXTENSION ".lib")
|
||||
- else()
|
||||
- set(SCRIPT_EXTENSION ".sh")
|
||||
- set(IMPORT_LIB_EXTENSION "")
|
||||
- execute_process(COMMAND chmod +x "${cargokit_cmake_root}/run_build_tool${SCRIPT_EXTENSION}")
|
||||
- endif()
|
||||
-
|
||||
- # Using generators in custom command is only supported in CMake 3.20+
|
||||
- if (CMAKE_CONFIGURATION_TYPES AND ${CMAKE_VERSION} VERSION_LESS "3.20.0")
|
||||
- foreach(CONFIG IN LISTS CMAKE_CONFIGURATION_TYPES)
|
||||
- add_custom_command(
|
||||
- OUTPUT
|
||||
- "${CMAKE_CURRENT_BINARY_DIR}/${CONFIG}/${CARGOKIT_LIB_FULL_NAME}"
|
||||
- "${CMAKE_CURRENT_BINARY_DIR}/_phony_"
|
||||
- COMMAND ${CMAKE_COMMAND} -E env ${CARGOKIT_ENV}
|
||||
- "${cargokit_cmake_root}/run_build_tool${SCRIPT_EXTENSION}" build-cmake
|
||||
- VERBATIM
|
||||
- )
|
||||
- endforeach()
|
||||
- else()
|
||||
- add_custom_command(
|
||||
- OUTPUT
|
||||
- ${OUTPUT_LIB}
|
||||
- "${CMAKE_CURRENT_BINARY_DIR}/_phony_"
|
||||
- COMMAND ${CMAKE_COMMAND} -E env ${CARGOKIT_ENV}
|
||||
- "${cargokit_cmake_root}/run_build_tool${SCRIPT_EXTENSION}" build-cmake
|
||||
- VERBATIM
|
||||
- )
|
||||
- endif()
|
||||
-
|
||||
-
|
||||
- set_source_files_properties("${CMAKE_CURRENT_BINARY_DIR}/_phony_" PROPERTIES SYMBOLIC TRUE)
|
||||
|
||||
if (TARGET ${target})
|
||||
# If we have actual cmake target provided create target and make existing
|
||||
# target depend on it
|
||||
- add_custom_target("${target}_cargokit" DEPENDS ${OUTPUT_LIB})
|
||||
+ add_custom_target("${target}_cargokit" DEPENDS OUTPUT_LIB)
|
||||
add_dependencies("${target}" "${target}_cargokit")
|
||||
- target_link_libraries("${target}" PRIVATE "${OUTPUT_LIB}${IMPORT_LIB_EXTENSION}")
|
||||
+ target_link_libraries("${target}" PRIVATE OUTPUT_LIB)
|
||||
if(WIN32)
|
||||
target_link_options(${target} PRIVATE "/INCLUDE:${any_symbol_name}")
|
||||
endif()
|
||||
else()
|
||||
# Otherwise (FFI) just use ALL to force building always
|
||||
- add_custom_target("${target}_cargokit" ALL DEPENDS ${OUTPUT_LIB})
|
||||
+ add_custom_target("${target}_cargokit" ALL DEPENDS OUTPUT_LIB)
|
||||
endif()
|
||||
|
||||
# Allow adding the output library to plugin bundled libraries
|
||||
- set("${target}_cargokit_lib" ${OUTPUT_LIB} PARENT_SCOPE)
|
||||
+ set("${target}_cargokit_lib" OUTPUT_LIB PARENT_SCOPE)
|
||||
|
||||
endfunction()
|
@ -0,0 +1,51 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
{ version, src, ... }:
|
||||
|
||||
let
|
||||
rustDep = rustPlatform.buildRustPackage {
|
||||
pname = "rhttp-rs";
|
||||
inherit version src;
|
||||
|
||||
sourceRoot = "${src.name}/rust";
|
||||
|
||||
cargoHash =
|
||||
{
|
||||
_0_9_1 = "sha256-Gl3ArdSuw3/yi/JX6oloKJqerSJjTfK8HXRNei/LO+4=";
|
||||
}
|
||||
.${"_" + (lib.replaceStrings [ "." ] [ "_" ] version)} or (throw ''
|
||||
Unsupported version of pub 'rhttp': '${version}'
|
||||
Please add cargoHash here. If the cargoHash
|
||||
is the same with existing versions, add an alias here.
|
||||
'');
|
||||
|
||||
env.RUSTFLAGS = "--cfg reqwest_unstable";
|
||||
|
||||
passthru.libraryPath = "lib/librhttp.so";
|
||||
};
|
||||
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "rhttp";
|
||||
inherit version src;
|
||||
inherit (src) passthru;
|
||||
|
||||
patches = [ ./cargokit.patch ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace ./cargokit/cmake/cargokit.cmake --replace-fail "OUTPUT_LIB" "${rustDep}/${rustDep.passthru.libraryPath}"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir $out/
|
||||
cp -r ./* $out/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
@ -12,14 +12,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ayla-iot-unofficial";
|
||||
version = "1.4.3";
|
||||
version = "1.4.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rewardone";
|
||||
repo = "ayla-iot-unofficial";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-y2SjnM48OYyXhBxLHE8R9di4ErORUgS87m/FKs21NLU=";
|
||||
hash = "sha256-LYHfu02FYoL2D9dEL3CM3llRXMa2M3EMU9CAsl1Cgoo=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pipenv-poetry-migrate";
|
||||
version = "0.5.10";
|
||||
version = "0.5.11";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
owner = "yhino";
|
||||
repo = "pipenv-poetry-migrate";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-ROi5Yj4Ht91Go2jkm6BQZyaJWtBKHk4ar1ly8jAPGlc=";
|
||||
hash = "sha256-du2OJ9gevPr7LOv88aXuq+e3YfD2eNoBp/ppEs522ws=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
@ -4,21 +4,21 @@
|
||||
aiodns,
|
||||
aiohttp,
|
||||
buildPythonPackage,
|
||||
setuptools,
|
||||
faust-cchardet,
|
||||
fetchFromGitHub,
|
||||
pyopenssl,
|
||||
pythonOlder,
|
||||
pytz,
|
||||
related,
|
||||
requests,
|
||||
uonet-request-signer-hebe,
|
||||
yarl,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "vulcan-api";
|
||||
version = "2.4.0";
|
||||
format = "setuptools";
|
||||
version = "2.4.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
@ -26,13 +26,14 @@ buildPythonPackage rec {
|
||||
owner = "kapi2289";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-RtB67Pme/qtKG0T3rzm0OeewNZPg2e3aebL5YnSWWFQ=";
|
||||
hash = "sha256-FEWm5DvnrEIelRnu/IgWU7h1CTvPQcZ3DbFS2swy/wQ=";
|
||||
};
|
||||
|
||||
pythonRemoveDeps = [ "faust-cchardet" ];
|
||||
pythonRemoveDeps = [ "related-without-future" ];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
aenum
|
||||
aiodns
|
||||
aiohttp
|
||||
@ -40,7 +41,6 @@ buildPythonPackage rec {
|
||||
pyopenssl
|
||||
pytz
|
||||
related
|
||||
requests
|
||||
uonet-request-signer-hebe
|
||||
yarl
|
||||
];
|
||||
|
@ -1250,9 +1250,7 @@ with pkgs;
|
||||
|
||||
gita = python3Packages.callPackage ../applications/version-management/gita { };
|
||||
|
||||
gitoxide = darwin.apple_sdk_11_0.callPackage ../applications/version-management/gitoxide {
|
||||
inherit (darwin.apple_sdk_11_0.frameworks) Security SystemConfiguration;
|
||||
};
|
||||
gitoxide = callPackage ../applications/version-management/gitoxide { };
|
||||
|
||||
github-cli = gh;
|
||||
git-absorb = callPackage ../applications/version-management/git-absorb {
|
||||
@ -13883,10 +13881,6 @@ with pkgs;
|
||||
|
||||
droopy = python3Packages.callPackage ../applications/networking/droopy { };
|
||||
|
||||
dust = callPackage ../by-name/du/dust/package.nix {
|
||||
inherit (darwin.apple_sdk_11_0.frameworks) AppKit;
|
||||
};
|
||||
|
||||
dexed = darwin.apple_sdk_11_0.callPackage ../applications/audio/dexed {
|
||||
inherit (darwin.apple_sdk_11_0.frameworks) Accelerate Cocoa WebKit MetalKit DiscRecording CoreAudioKit;
|
||||
inherit (darwin.apple_sdk_11_0.libs) simd;
|
||||
|
Loading…
Reference in New Issue
Block a user