mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
Merge branch 'staging-22.05' into staging-next-22.05
This commit is contained in:
@@ -13,13 +13,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libusb";
|
||||
version = "1.0.25";
|
||||
version = "1.0.26";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "libusb";
|
||||
repo = "libusb";
|
||||
rev = "v${version}";
|
||||
sha256 = "141wygijjcgka0h31504cdlvih4l2j02j67pcbb2l527p7dbc5pn";
|
||||
sha256 = "sha256-LEy45YiFbueCCi8d2hguujMsxBezaTUERHUpFsTKGZQ=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
@@ -32,6 +32,10 @@ stdenv.mkDerivation rec {
|
||||
++ lib.optionals withOpenssl [ openssl ]
|
||||
++ lib.optionals withZstd [ zstd ];
|
||||
|
||||
# Don't build the regression tests because they don't build with
|
||||
# pkgsStatic and are not executed anyway.
|
||||
cmakeFlags = [ "-DBUILD_REGRESS=0" ];
|
||||
|
||||
preCheck = ''
|
||||
# regress/runtest is a generated file
|
||||
patchShebangs regress
|
||||
|
||||
@@ -186,8 +186,8 @@ in {
|
||||
|
||||
|
||||
openssl_1_1 = common rec {
|
||||
version = "1.1.1o";
|
||||
sha256 = "sha256-k4SisFcN2ANYhBRkZ3EV33he25QccSEfdQdtcv5rQ48=";
|
||||
version = "1.1.1p";
|
||||
sha256 = "sha256-v2G2Kqpmx8djmUKpTeTJroKAwI8X1OrC5EZE2fyKzm8=";
|
||||
patches = [
|
||||
./1.1/nix-ssl-cert-file.patch
|
||||
|
||||
@@ -201,8 +201,8 @@ in {
|
||||
};
|
||||
|
||||
openssl_3_0 = common {
|
||||
version = "3.0.3";
|
||||
sha256 = "sha256-7gB4rc7x3l8APGLIDMllJ3IWCcbzu0K3eV3zH4tVjAs=";
|
||||
version = "3.0.4";
|
||||
sha256 = "sha256-KDGEPppmigq0eOcCCtY9LWXlH3KXdHLcc+/O+6/AwA8=";
|
||||
patches = [
|
||||
./3.0/nix-ssl-cert-file.patch
|
||||
|
||||
|
||||
@@ -1,21 +1,38 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, setuptools }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bottle";
|
||||
version = "0.12.19";
|
||||
version = "0.12.21";
|
||||
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a9d73ffcbc6a1345ca2d7949638db46349f5b2b77dac65d6494d45c23628da2c";
|
||||
sha256 = "787c61b6cc02b9c229bf2663011fac53dd8fc197f7f8ad2eeede29d888d7887e";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ setuptools ];
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
cd test
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
"test_delete_cookie"
|
||||
"test_error"
|
||||
"test_error_in_generator_callback"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://bottlepy.org";
|
||||
homepage = "https://bottlepy.org/";
|
||||
description = "A fast and simple micro-framework for small web-applications";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ koral ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
{ lib, stdenv, buildPackages
|
||||
, fetchurl, linuxHeaders, libiconvReal
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPackages
|
||||
, fetchurl
|
||||
, linuxHeaders
|
||||
, libiconvReal
|
||||
, extraConfig ? ""
|
||||
}:
|
||||
|
||||
let
|
||||
isCross = (stdenv.buildPlatform != stdenv.hostPlatform);
|
||||
configParser = ''
|
||||
function parseconfig {
|
||||
set -x
|
||||
@@ -36,12 +41,13 @@ let
|
||||
UCLIBC_HAS_RPC y
|
||||
DO_C99_MATH y
|
||||
UCLIBC_HAS_PROGRAM_INVOCATION_NAME y
|
||||
UCLIBC_HAS_RESOLVER_SUPPORT y
|
||||
UCLIBC_SUSV4_LEGACY y
|
||||
UCLIBC_HAS_THREADS_NATIVE y
|
||||
KERNEL_HEADERS "${linuxHeaders}/include"
|
||||
'' + lib.optionalString (stdenv.hostPlatform.gcc.float or "" == "soft") ''
|
||||
UCLIBC_HAS_FPU n
|
||||
'' + lib.optionalString (stdenv.isAarch32 && stdenv.buildPlatform != stdenv.hostPlatform) ''
|
||||
'' + lib.optionalString (stdenv.isAarch32 && isCross) ''
|
||||
CONFIG_ARM_EABI y
|
||||
ARCH_WANTS_BIG_ENDIAN n
|
||||
ARCH_BIG_ENDIAN n
|
||||
@@ -49,18 +55,14 @@ let
|
||||
ARCH_LITTLE_ENDIAN y
|
||||
UCLIBC_HAS_FPU n
|
||||
'';
|
||||
|
||||
version = "1.0.38";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "uclibc-ng";
|
||||
inherit version;
|
||||
version = "1.0.41";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://downloads.uclibc-ng.org/releases/${version}/uClibc-ng-${version}.tar.bz2";
|
||||
# from "${url}.sha256";
|
||||
sha256 = "sha256-7wexvOOfDpIsM3XcdhHxESz7GsOW+ZkiA0dfiN5rHrU=";
|
||||
url = "https://downloads.uclibc-ng.org/releases/${version}/uClibc-ng-${version}.tar.xz";
|
||||
sha256 = "sha256-syqSoCGNlZItaXZGTm71Hi66z7zbYFggRY2du4ph4CU=";
|
||||
};
|
||||
|
||||
# 'ftw' needed to build acl, a coreutils dependency
|
||||
@@ -78,7 +80,7 @@ stdenv.mkDerivation {
|
||||
hardeningDisable = [ "stackprotector" ];
|
||||
|
||||
# Cross stripping hurts.
|
||||
dontStrip = stdenv.hostPlatform != stdenv.buildPlatform;
|
||||
dontStrip = isCross;
|
||||
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
|
||||
@@ -86,7 +88,7 @@ stdenv.mkDerivation {
|
||||
"ARCH=${stdenv.hostPlatform.linuxArch}"
|
||||
"TARGET_ARCH=${stdenv.hostPlatform.linuxArch}"
|
||||
"VERBOSE=1"
|
||||
] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||
] ++ lib.optionals (isCross) [
|
||||
"CROSS=${stdenv.cc.targetPrefix}"
|
||||
];
|
||||
|
||||
@@ -95,24 +97,45 @@ stdenv.mkDerivation {
|
||||
enableParallelBuilding = false;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out
|
||||
make $makeFlags PREFIX=$out VERBOSE=1 install
|
||||
(cd $out/include && ln -s $(ls -d ${linuxHeaders}/include/* | grep -v "scsi$") .)
|
||||
# libpthread.so may not exist, so I do || true
|
||||
sed -i s@/lib/@$out/lib/@g $out/lib/libc.so $out/lib/libpthread.so || true
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
# Derivations may check for the existance of this attribute, to know what to link to.
|
||||
libiconv = libiconvReal;
|
||||
};
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://uclibc-ng.org";
|
||||
description = "A small implementation of the C library";
|
||||
maintainers = with maintainers; [ rasendubi ];
|
||||
license = licenses.lgpl2;
|
||||
description = "Embedded C library";
|
||||
longDescription = ''
|
||||
uClibc-ng is a small C library for developing embedded Linux systems. It
|
||||
is much smaller than the GNU C Library, but nearly all applications
|
||||
supported by glibc also work perfectly with uClibc-ng.
|
||||
|
||||
Porting applications from glibc to uClibc-ng typically involves just
|
||||
recompiling the source code. uClibc-ng supports shared libraries and
|
||||
threading. It currently runs on standard Linux and MMU-less (also known as
|
||||
uClinux) systems with support for Aarch64, Alpha, ARC, ARM, AVR32,
|
||||
Blackfin, CRIS, C-Sky, C6X, FR-V, H8/300, HPPA, i386, IA64, KVX, LM32,
|
||||
M68K/Coldfire, Metag, Microblaze, MIPS, MIPS64, NDS32, NIOS2, OpenRISC,
|
||||
PowerPC, RISCV64, Sparc, Sparc64, SuperH, Tile, X86_64 and XTENSA
|
||||
processors. Alpha, FR-V, HPPA, IA64, LM32, NIOS2, Tile and Sparc64 are
|
||||
experimental and need more testing.
|
||||
'';
|
||||
license = licenses.lgpl2Plus;
|
||||
maintainers = with maintainers; [ rasendubi AndersonTorres ];
|
||||
platforms = platforms.linux;
|
||||
broken = stdenv.hostPlatform.isAarch32 || stdenv.hostPlatform.isAarch64;
|
||||
badPlatforms = platforms.aarch64;
|
||||
};
|
||||
|
||||
passthru = {
|
||||
# Derivations may check for the existance of this attribute, to know what to
|
||||
# link to.
|
||||
libiconv = libiconvReal;
|
||||
};
|
||||
|
||||
}
|
||||
@@ -239,9 +239,9 @@ in self: {
|
||||
};
|
||||
|
||||
postgresql_14 = self.callPackage generic {
|
||||
version = "14.3";
|
||||
version = "14.4";
|
||||
psqlSchema = "14";
|
||||
sha256 = "sha256-J5BXNov1mpGcBa2o+VxeBKu0PnS5oqacPUaiDgeprzg=";
|
||||
sha256 = "sha256-wjtiN8UjHHkVEb3HkJhhfWhS6eO982Dv2LXRWho9j2o=";
|
||||
this = self.postgresql_14;
|
||||
thisAttr = "postgresql_14";
|
||||
inherit self;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
/* The top-level package collection of nixpkgs.
|
||||
* It is sorted by categories corresponding to the folder names
|
||||
* in the /pkgs folder. Inside the categories packages are roughly
|
||||
* sorted by alphabet, but strict sorting has been long lost due
|
||||
* to merges. Please use the full-text search of your editor. ;)
|
||||
* It is sorted by categories corresponding to the folder names in the /pkgs
|
||||
* folder. Inside the categories packages are roughly sorted by alphabet, but
|
||||
* strict sorting has been long lost due to merges. Please use the full-text
|
||||
* search of your editor. ;)
|
||||
* Hint: ### starts category names.
|
||||
*/
|
||||
{ lib, noSysDirs, config, overlays }:
|
||||
@@ -23956,12 +23956,16 @@ with pkgs;
|
||||
buildBarebox
|
||||
bareboxTools;
|
||||
|
||||
uclibc = callPackage ../os-specific/linux/uclibc { };
|
||||
uclibc-ng = callPackage ../os-specific/linux/uclibc-ng { };
|
||||
|
||||
uclibcCross = callPackage ../os-specific/linux/uclibc {
|
||||
uclibc-ng-cross = callPackage ../os-specific/linux/uclibc-ng {
|
||||
stdenv = crossLibcStdenv;
|
||||
};
|
||||
|
||||
# Aliases
|
||||
uclibc = uclibc-ng;
|
||||
uclibcCross = uclibc-ng-cross;
|
||||
|
||||
eudev = callPackage ../os-specific/linux/eudev { util-linux = util-linuxMinimal; };
|
||||
|
||||
libudev0-shim = callPackage ../os-specific/linux/libudev0-shim { };
|
||||
|
||||
Reference in New Issue
Block a user