mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
Merge staging-next into staging
This commit is contained in:
commit
0649757570
2
.github/workflows/manual-nixos.yml
vendored
2
.github/workflows/manual-nixos.yml
vendored
@ -25,4 +25,4 @@ jobs:
|
||||
name: nixpkgs-ci
|
||||
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||
- name: Building NixOS manual
|
||||
run: nix-build --option restrict-eval true nixos/release.nix -A manual.x86_64-linux
|
||||
run: NIX_PATH=nixpkgs=$(pwd) nix-build --option restrict-eval true nixos/release.nix -A manual.x86_64-linux
|
||||
|
2
.github/workflows/manual-nixpkgs.yml
vendored
2
.github/workflows/manual-nixpkgs.yml
vendored
@ -25,4 +25,4 @@ jobs:
|
||||
name: nixpkgs-ci
|
||||
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||
- name: Building Nixpkgs manual
|
||||
run: nix-build --option restrict-eval true pkgs/top-level/release.nix -A manual
|
||||
run: NIX_PATH=nixpkgs=$(pwd) nix-build --option restrict-eval true pkgs/top-level/release.nix -A manual
|
||||
|
@ -1,24 +1,49 @@
|
||||
{ stdenv, lib, cmake, pkgconfig, libogg, fetchFromGitHub, libiconv }:
|
||||
{ stdenv, fetchFromGitHub, fetchpatch, cmake, pkg-config, libiconv, libogg
|
||||
, ffmpeg, glibcLocales, perl, perlPackages }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "opustags";
|
||||
version = "1.4.0";
|
||||
version = "1.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fmang";
|
||||
repo = "opustags";
|
||||
rev = version;
|
||||
sha256 = "1y0czl72paawy342ff9ickaamkih43k59yfcdw7bnddypyfa7nbg";
|
||||
sha256 = "1dicv4s395b9gb4jpr0rnxdq9azr45pid62q3x08lb7cvyq3yxbh";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix building on darwin
|
||||
(fetchpatch {
|
||||
url = "https://github.com/fmang/opustags/commit/64fc6f8f6d20e034892e89abff0236c85cae98dc.patch";
|
||||
sha256 = "1djifzqhf1w51gbpqbndsh3gnl9iizp6hppxx8x2a92i9ns22zpg";
|
||||
})
|
||||
(fetchpatch {
|
||||
url = "https://github.com/fmang/opustags/commit/f98208c1a1d10c15f98b127bbfdf88a7b15b08dc.patch";
|
||||
sha256 = "1h3v0r336fca0y8zq1vl2wr8gaqs3vvrrckx7pvji4k1jpiqvp38";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ libogg ];
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig ] ++ lib.optional stdenv.isDarwin libiconv;
|
||||
nativeBuildInputs = [ cmake pkg-config ] ++ stdenv.lib.optional stdenv.isDarwin libiconv;
|
||||
|
||||
meta = with lib; {
|
||||
doCheck = true;
|
||||
|
||||
checkInputs = [ ffmpeg glibcLocales perl ] ++ (with perlPackages; [ ListMoreUtils ]);
|
||||
|
||||
checkPhase = ''
|
||||
export LANG="en_US.UTF-8"
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
make check
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/fmang/opustags";
|
||||
description = "Ogg Opus tags editor";
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.kmein ];
|
||||
broken = stdenv.isDarwin;
|
||||
maintainers = with maintainers; [ kmein SuperSandro2000 ];
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
||||
|
@ -8,13 +8,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pt2-clone";
|
||||
version = "1.27";
|
||||
version = "1.28";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "8bitbubsy";
|
||||
repo = "pt2-clone";
|
||||
rev = "v${version}";
|
||||
sha256 = "1hg36pfzgdbhd5bkzi3cpn6v39q8xis2jk7w6qm615r587393pwd";
|
||||
sha256 = "1c2x43f46l7556kl9y9qign0g6ywdkh7ywkzv6c9y63n68ph20x2";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
@ -28,13 +28,13 @@ in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "monero-gui";
|
||||
version = "0.17.1.7";
|
||||
version = "0.17.1.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "monero-project";
|
||||
repo = "monero-gui";
|
||||
rev = "v${version}";
|
||||
sha256 = "1dd2ddkxh9ynxnscysl46hj4dm063h1v13fnyah69am26qzzbby4";
|
||||
sha256 = "13cjrfdkr7c2ff8j2rg8hvhlc00af38vcs67wlx2109i2baq4pp3";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -17,13 +17,13 @@ assert trezorSupport -> all (x: x!=null) [ libusb1 protobuf python3 ];
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "monero";
|
||||
version = "0.17.1.7";
|
||||
version = "0.17.1.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "monero-project";
|
||||
repo = "monero";
|
||||
rev = "v${version}";
|
||||
sha256 = "1fdw4i4rw87yz3hz4yc1gdw0gr2mmf9038xaw2l4rrk5y50phjp4";
|
||||
sha256 = "10blazbk1602slx3wrmw4jfgkdry55iclrhm5drdficc5v3h735g";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
@ -22,13 +22,13 @@ let
|
||||
|
||||
in mkDerivation rec {
|
||||
pname = "evilpixie";
|
||||
version = "0.2";
|
||||
version = "0.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bcampbell";
|
||||
repo = "evilpixie";
|
||||
rev = "v${version}";
|
||||
sha256 = "1yg4ic3kcxqmr7k5bbvrv5iavlnhpdx6510z5wha9k9k5q9c4dvh";
|
||||
sha256 = "0dwgfr8kmkfppgf5wx9i5f7fjz3gxk0ji1l06x1z4r3vj52hdbph";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -10,7 +10,7 @@
|
||||
, withGeolocation ? true
|
||||
, withCoreLocation ? withGeolocation && stdenv.isDarwin, CoreLocation, Foundation, Cocoa
|
||||
, withGeoclue ? withGeolocation && stdenv.isLinux, geoclue
|
||||
, withAppIndicator ? true, libappindicator, libayatana-appindicator
|
||||
, withAppIndicator ? stdenv.isLinux, libappindicator, libayatana-appindicator
|
||||
}:
|
||||
|
||||
let
|
||||
|
@ -26,13 +26,13 @@
|
||||
|
||||
let
|
||||
pname = "pcloud";
|
||||
version = "1.8.8";
|
||||
version = "1.8.9";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
# Archive link's code thanks to: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=pcloud-drive
|
||||
src = fetchzip {
|
||||
url = "https://api.pcloud.com/getpubzip?code=XZpnMpXZPWyhRfdvXUhyY6XpdfmQmJiLRmmV&filename=${name}.zip";
|
||||
hash = "sha256-z9OeFkH6EVthg5Dz2mN3jlBTMhiMt/6bUIYFeMO6EXk=";
|
||||
url = "https://api.pcloud.com/getpubzip?code=XZjfKzXZ6h3uGRFId48VRNHHkuqajhRvMlPV&filename=${name}.zip";
|
||||
hash = "sha256:1bwdwfwgy3wwzlggi8qhf5q2bq2kqiqi3mgvsr9w0mxyaxxv13r8";
|
||||
};
|
||||
|
||||
appimageContents = appimageTools.extractType2 {
|
||||
|
25
pkgs/applications/science/biology/bowtie/default.nix
Normal file
25
pkgs/applications/science/biology/bowtie/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ stdenv, fetchFromGitHub, zlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bowtie";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "BenLangmead";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0da2kzyfsn6xv8mlqsv2vv7k8g0c9d2vgqzq8yqk888yljdzcrjp";
|
||||
};
|
||||
|
||||
buildInputs = [ zlib ];
|
||||
|
||||
installFlags = [ "prefix=$(out)" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An ultrafast memory-efficient short read aligner";
|
||||
license = licenses.artistic2;
|
||||
homepage = "http://bowtie-bio.sf.net/bowtie";
|
||||
maintainers = with maintainers; [ prusnak ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -3,9 +3,9 @@
|
||||
, icestorm, trellis
|
||||
, llvmPackages
|
||||
|
||||
, enableGui ? true
|
||||
, wrapQtAppsHook
|
||||
, qtbase
|
||||
, enableGui ? false
|
||||
, wrapQtAppsHook ? null
|
||||
, qtbase ? null
|
||||
, OpenGL ? null
|
||||
}:
|
||||
|
||||
@ -14,14 +14,14 @@ let
|
||||
in
|
||||
with stdenv; mkDerivation rec {
|
||||
pname = "nextpnr";
|
||||
version = "2020.12.01";
|
||||
version = "2021.01.02";
|
||||
|
||||
srcs = [
|
||||
(fetchFromGitHub {
|
||||
owner = "YosysHQ";
|
||||
repo = "nextpnr";
|
||||
rev = "868902fbdf0b476bdccf4d25cbb80ba602d2cc11";
|
||||
sha256 = "1kb5lhixb7f4q800gjyw9xm9ff1yaq3pgna17f5f0bw6b4ds56zc";
|
||||
rev = "9b9628047c01a970cfe20f83f2b7129ed109440d";
|
||||
sha256 = "0pcv96d0n40h2ipywi909hpzlys5b6r4pamc320qk1xxhppmgkmm";
|
||||
name = "nextpnr";
|
||||
})
|
||||
(fetchFromGitHub {
|
||||
@ -48,14 +48,14 @@ with stdenv; mkDerivation rec {
|
||||
[ "-DCURRENT_GIT_VERSION=${lib.substring 0 7 (lib.elemAt srcs 0).rev}"
|
||||
"-DARCH=generic;ice40;ecp5"
|
||||
"-DBUILD_TESTS=ON"
|
||||
"-DICEBOX_ROOT=${icestorm}/share/icebox"
|
||||
"-DICESTORM_INSTALL_PREFIX=${icestorm}"
|
||||
"-DTRELLIS_INSTALL_PREFIX=${trellis}"
|
||||
"-DTRELLIS_LIBDIR=${trellis}/lib/trellis"
|
||||
"-DUSE_OPENMP=ON"
|
||||
# warning: high RAM usage
|
||||
"-DSERIALIZE_CHIPDB=OFF"
|
||||
"-DSERIALIZE_CHIPDBS=OFF"
|
||||
]
|
||||
++ (lib.optional (!enableGui) "-DBUILD_GUI=OFF")
|
||||
++ (lib.optional enableGui "-DBUILD_GUI=ON")
|
||||
++ (lib.optional (enableGui && stdenv.isDarwin)
|
||||
"-DOPENGL_INCLUDE_DIR=${OpenGL}/Library/Frameworks");
|
||||
|
||||
|
@ -33,13 +33,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "yosys";
|
||||
version = "0.9+3715";
|
||||
version = "0.9+3830";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "YosysHQ";
|
||||
repo = "yosys";
|
||||
rev = "d021f4b4003bb7a374038134c65edd3f67473a92";
|
||||
sha256 = "0dgdpigqg8mwkry4233p6z6myjnrb1rq32873yhdfwvwqq230x51";
|
||||
rev = "b72c29465392c8d260ddf55def169438f7fb64b2";
|
||||
sha256 = "12h3pgj8bjb254q2qaafc3qxwhqdqrx0sxjhgjrfy8cmkdm92dvy";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
@ -1,11 +1,8 @@
|
||||
{ stdenv, fetchFromGitHub, cmake } :
|
||||
{ stdenv, fetchFromGitHub, cmake }:
|
||||
|
||||
let
|
||||
version = "0.9.2";
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "codec2";
|
||||
inherit version;
|
||||
version = "0.9.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "drowe67";
|
||||
@ -14,15 +11,13 @@ in stdenv.mkDerivation {
|
||||
sha256 = "1jpvr7bra8srz8jvnlbmhf8andbaavq5v01qjnp2f61za93rzwba";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Speech codec designed for communications quality speech at low data rates";
|
||||
homepage = "http://www.rowetel.com/blog/?page_id=452";
|
||||
license = licenses.lgpl21;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ markuskowa ];
|
||||
};
|
||||
}
|
||||
|
@ -76,6 +76,7 @@ let
|
||||
./qtbase.patch.d/0014-qtbase-pkg-config.patch
|
||||
];
|
||||
qtdeclarative = [ ./qtdeclarative.patch ];
|
||||
qtlocation = [ ./qtlocation-gcc-9.patch ];
|
||||
qtscript = [ ./qtscript.patch ];
|
||||
qtserialport = [ ./qtserialport.patch ];
|
||||
qtwebengine = [
|
||||
|
21
pkgs/development/libraries/qt-5/5.12/qtlocation-gcc-9.patch
Normal file
21
pkgs/development/libraries/qt-5/5.12/qtlocation-gcc-9.patch
Normal file
@ -0,0 +1,21 @@
|
||||
diff --git a/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp b/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp
|
||||
index d475c38..c1710a6 100644
|
||||
--- a/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp
|
||||
+++ b/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp
|
||||
@@ -5,6 +5,7 @@
|
||||
#include <unicode/ushape.h>
|
||||
|
||||
#include <memory>
|
||||
+#include <stdexcept>
|
||||
|
||||
namespace mbgl {
|
||||
|
||||
diff --git a/src/3rdparty/mapbox-gl-native/src/mbgl/util/convert.cpp b/src/3rdparty/mapbox-gl-native/src/mbgl/util/convert.cpp
|
||||
index 97bfe91..56d3e17 100644
|
||||
--- a/src/3rdparty/mapbox-gl-native/src/mbgl/util/convert.cpp
|
||||
+++ b/src/3rdparty/mapbox-gl-native/src/mbgl/util/convert.cpp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#include <cstdint>
|
||||
#include <mbgl/util/convert.hpp>
|
||||
|
||||
namespace mbgl {
|
@ -75,6 +75,7 @@ let
|
||||
./qtbase.patch.d/0011-fix-header_module.patch
|
||||
];
|
||||
qtdeclarative = [ ./qtdeclarative.patch ];
|
||||
qtlocation = [ ./qtlocation-gcc-9.patch ];
|
||||
qtscript = [ ./qtscript.patch ];
|
||||
qtserialport = [ ./qtserialport.patch ];
|
||||
qtwebengine = [
|
||||
|
21
pkgs/development/libraries/qt-5/5.14/qtlocation-gcc-9.patch
Normal file
21
pkgs/development/libraries/qt-5/5.14/qtlocation-gcc-9.patch
Normal file
@ -0,0 +1,21 @@
|
||||
diff --git a/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp b/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp
|
||||
index d475c38..c1710a6 100644
|
||||
--- a/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp
|
||||
+++ b/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp
|
||||
@@ -5,6 +5,7 @@
|
||||
#include <unicode/ushape.h>
|
||||
|
||||
#include <memory>
|
||||
+#include <stdexcept>
|
||||
|
||||
namespace mbgl {
|
||||
|
||||
diff --git a/src/3rdparty/mapbox-gl-native/src/mbgl/util/convert.cpp b/src/3rdparty/mapbox-gl-native/src/mbgl/util/convert.cpp
|
||||
index 97bfe91..56d3e17 100644
|
||||
--- a/src/3rdparty/mapbox-gl-native/src/mbgl/util/convert.cpp
|
||||
+++ b/src/3rdparty/mapbox-gl-native/src/mbgl/util/convert.cpp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#include <cstdint>
|
||||
#include <mbgl/util/convert.hpp>
|
||||
|
||||
namespace mbgl {
|
@ -10,5 +10,4 @@ qtModule {
|
||||
# https://libcxx.llvm.org/docs/UsingLibcxx.html#c-17-specific-configuration-macros
|
||||
"QMAKE_CXXFLAGS+=-D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR"
|
||||
];
|
||||
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ stdenv, fetchFromGitHub, cmake }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "vulkan-headers";
|
||||
version = "1.2.141.0";
|
||||
version = "1.2.162.0";
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
||||
owner = "KhronosGroup";
|
||||
repo = "Vulkan-Headers";
|
||||
rev = "sdk-${version}";
|
||||
sha256 = "10nmx6y4llllfcczyfz76amd0vkqv09dj952d19zkzmmgcval7zq";
|
||||
sha256 = "057c49w1138l02v9gqsk1z8wdz0iilp96jblnldycwm9jc1a1ipq";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
@ -3,13 +3,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "vulkan-loader";
|
||||
version = "1.2.141.0";
|
||||
version = "1.2.162.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "KhronosGroup";
|
||||
repo = "Vulkan-Loader";
|
||||
rev = "sdk-${version}";
|
||||
sha256 = "10fyg71dza6qakz5zdchccfn0zcr8b1zpfi2rqir6jpzcbi28kcj";
|
||||
sha256 = "0w9i2pliw4ccmjyfzff4i2f3hxwsfd54jg7ahv2v634qmx59bsbi";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig cmake ];
|
||||
|
@ -77,6 +77,13 @@ let
|
||||
buildInputs = [ self.node-gyp-build pkgs.unbound ];
|
||||
};
|
||||
|
||||
ijavascript = super.ijavascript.override (oldAttrs: {
|
||||
preRebuild = ''
|
||||
export NPM_CONFIG_ZMQ_EXTERNAL=true
|
||||
'';
|
||||
buildInputs = oldAttrs.buildInputs ++ [ self.node-gyp-build pkgs.zeromq ];
|
||||
});
|
||||
|
||||
insect = super.insect.override (drv: {
|
||||
nativeBuildInputs = drv.nativeBuildInputs or [] ++ [ pkgs.psc-package self.pulp ];
|
||||
});
|
||||
@ -189,6 +196,10 @@ let
|
||||
meta.broken = since "10";
|
||||
};
|
||||
|
||||
stf = super.stf.override {
|
||||
meta.broken = since "10";
|
||||
};
|
||||
|
||||
tedicross = super."tedicross-git+https://github.com/TediCross/TediCross.git#v0.8.7".override {
|
||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||
postInstall = ''
|
||||
@ -205,8 +216,12 @@ let
|
||||
'';
|
||||
});
|
||||
|
||||
stf = super.stf.override {
|
||||
meta.broken = since "10";
|
||||
typescript-language-server = super.typescript-language-server.override {
|
||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||
postInstall = ''
|
||||
wrapProgram "$out/bin/typescript-language-server" \
|
||||
--prefix PATH : ${stdenv.lib.makeBinPath [ self.typescript ]}
|
||||
'';
|
||||
};
|
||||
|
||||
vega-cli = super.vega-cli.override {
|
||||
|
@ -18,6 +18,7 @@
|
||||
, "browserify"
|
||||
, "btc-rpc-explorer"
|
||||
, "castnow"
|
||||
, "cdk8s-cli"
|
||||
, "cdktf-cli"
|
||||
, "clean-css-cli"
|
||||
, "clubhouse-cli"
|
||||
@ -77,9 +78,11 @@
|
||||
, "escape-string-regexp"
|
||||
, "eslint"
|
||||
, "eslint_d"
|
||||
, "esy"
|
||||
, "expo-cli"
|
||||
, {"fast-cli": "1.x"}
|
||||
, "fauna-shell"
|
||||
, "firebase-tools"
|
||||
, "fixjson"
|
||||
, "fkill-cli"
|
||||
, "flood"
|
||||
@ -105,6 +108,7 @@
|
||||
, "hs-airdrop"
|
||||
, "hs-client"
|
||||
, "hueadm"
|
||||
, "ijavascript"
|
||||
, "inliner"
|
||||
, "imapnotify"
|
||||
, "indium"
|
||||
@ -151,6 +155,7 @@
|
||||
, "node-red"
|
||||
, "node2nix"
|
||||
, "nodemon"
|
||||
, "np"
|
||||
, "npm"
|
||||
, "npm-check-updates"
|
||||
, {"npm2nix": "git://github.com/NixOS/npm2nix.git#5.12.0"}
|
||||
@ -171,6 +176,7 @@
|
||||
, "purescript-psa"
|
||||
, "purty"
|
||||
, "pyright"
|
||||
, "quicktype"
|
||||
, "react-native-cli"
|
||||
, "react-tools"
|
||||
, "readability-cli"
|
||||
|
3411
pkgs/development/node-packages/node-packages.nix
generated
3411
pkgs/development/node-packages/node-packages.nix
generated
File diff suppressed because it is too large
Load Diff
@ -6,6 +6,8 @@ buildDunePackage rec {
|
||||
pname = "ocaml-monadic";
|
||||
version = "0.4.1";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zepalmer";
|
||||
repo = pname;
|
||||
|
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonAtLeast
|
||||
, pbr
|
||||
, six
|
||||
, simplegeneric
|
||||
@ -23,6 +24,8 @@ buildPythonPackage rec {
|
||||
pname = "WSME";
|
||||
version = "0.10.0";
|
||||
|
||||
disabled = pythonAtLeast "3.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "965b9ce48161e5c50d84aedcf50dca698f05bf07e9d489201bccaec3141cd304";
|
||||
|
@ -1,4 +1,5 @@
|
||||
{ lib, stdenv, fetchPypi, buildPythonPackage, isPy3k
|
||||
, jaraco_functools
|
||||
, jaraco_text
|
||||
, more-itertools
|
||||
, portend
|
||||
@ -23,12 +24,17 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1089c28a9c320d19fdf9a4b0ed6ace23a0948db1c171a36ac985f3741bc62865";
|
||||
sha256 = "0r98qqdp9ww5r5ma6wf1n66r9813rrmfvc54z7yij39jkj5c528h";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools_scm setuptools-scm-git-archive ];
|
||||
|
||||
propagatedBuildInputs = [ more-itertools six ];
|
||||
propagatedBuildInputs = [
|
||||
# install_requires
|
||||
jaraco_functools
|
||||
|
||||
more-itertools six
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
jaraco_text
|
||||
|
@ -59,6 +59,7 @@ buildPythonPackage rec {
|
||||
"test_count_nonzero_str"
|
||||
"rolling_methods" # floating percision error ~0.1*10^8 small
|
||||
"num_workers_config" # flaky
|
||||
"test_2args_with_array[pandas1-darray1-ldexp]" # flaky
|
||||
];
|
||||
|
||||
meta = {
|
||||
|
21
pkgs/development/python-modules/dbutils/default.nix
Normal file
21
pkgs/development/python-modules/dbutils/default.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pytestCheckHook }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "2.0";
|
||||
pname = "dbutils";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "DBUtils";
|
||||
sha256 = "131ifm2c2a7bipij597i8fvjka0dk2qv1xr2ghcvbc30jlkvag2g";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Database connections for multi-threaded environments";
|
||||
homepage = "https://webwareforpython.github.io/DBUtils/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -9,14 +9,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jc";
|
||||
version = "1.13.4";
|
||||
version = "1.14.0";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kellyjonbrazil";
|
||||
repo = "jc";
|
||||
rev = "v${version}";
|
||||
sha256 = "0rwvyyrdnw43pixp8h51rncq2inc9pbbj1j2191y5si00pjw34zr";
|
||||
sha256 = "0js3mqp6xxg45qsz8wnyyqf4m0wj1kz67bkmvirhdy7s01zhd5hq";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ ruamel_yaml xmltodict pygments ];
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "libusb1";
|
||||
version = "1.9";
|
||||
version = "1.9.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256:0l7vj04xm0i5ikxjdqrr5939q7amh0hfp0fqifkcvyjv9fvhyz65";
|
||||
sha256 = "14ljk7rywy3fiv23dpayvk14y1ywma729r3b1x2cxf68919g2gnh";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
python.pkgs.buildPythonPackage rec {
|
||||
pname = "tld";
|
||||
version = "0.12.3";
|
||||
version = "0.12.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1959d0db03b7644f5528748f348d5eecdcd27120a8bb4ef00d932b1b1acdf13d";
|
||||
sha256 = "0976g7jcpi3jv7snawmfis5ybb6737cv2xw7wlanlfkyqljip24x";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python.pkgs; [ six ];
|
||||
|
@ -1,19 +1,26 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pytestCheckHook
|
||||
, cheroot
|
||||
, dbutils, mysqlclient, pymysql, mysql-connector, psycopg2
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.62";
|
||||
pname = "web.py";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5ce684caa240654cae5950da8b4b7bc178812031e08f990518d072bd44ab525e";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cheroot ];
|
||||
|
||||
# requires multiple running databases
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "web" ];
|
||||
|
||||
checkInputs = [ pytestCheckHook dbutils mysqlclient pymysql mysql-connector psycopg2 ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Makes web apps";
|
||||
longDescription = ''
|
||||
@ -22,7 +29,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
homepage = "https://webpy.org/";
|
||||
license = licenses.publicDomain;
|
||||
maintainers = with maintainers; [ layus ];
|
||||
maintainers = with maintainers; [ layus SuperSandro2000 ];
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
||||
, wrapGAppsHook, gobject-introspection, pygobject3, graphviz, gtk3 }:
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy3k, python3, xvfb_run, stdenv
|
||||
, wrapGAppsHook, gobject-introspection, pygobject3, graphviz, gtk3, numpy }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "xdot";
|
||||
@ -11,9 +11,16 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
nativeBuildInputs = [ wrapGAppsHook ];
|
||||
propagatedBuildInputs = [ gobject-introspection pygobject3 graphviz gtk3 ];
|
||||
propagatedBuildInputs = [ gobject-introspection pygobject3 graphviz gtk3 numpy ];
|
||||
checkInputs = [ xvfb_run ];
|
||||
|
||||
checkPhase = ''
|
||||
xvfb-run -s '-screen 0 800x600x24' ${python3.interpreter} nix_run_setup test
|
||||
'';
|
||||
|
||||
# https://github.com/NixOS/nixpkgs/pull/107872#issuecomment-752175866
|
||||
doCheck = stdenv.isLinux;
|
||||
|
||||
meta = with lib; {
|
||||
description = "An interactive viewer for graphs written in Graphviz's dot";
|
||||
|
@ -2,27 +2,31 @@
|
||||
, pkgconfig, libftdi1
|
||||
, python3, pypy3
|
||||
|
||||
# PyPy yields large improvements in build time and runtime performance,
|
||||
# and IceStorm isn't intended to be used as a library other than by the
|
||||
# nextpnr build process (which is also sped up by using PyPy), so we
|
||||
# use it by default. See 18839e1 for more details.
|
||||
# PyPy yields large improvements in build time and runtime performance, and
|
||||
# IceStorm isn't intended to be used as a library other than by the nextpnr
|
||||
# build process (which is also sped up by using PyPy), so we use it by default.
|
||||
# See 18839e1 for more details.
|
||||
#
|
||||
# FIXME(aseipp, 3/1/2021): pypy seems a bit busted since stdenv upgrade to gcc
|
||||
# 10/binutils 2.34, so short-circuit this for now in passthru below (done so
|
||||
# that downstream overrides can't re-enable pypy and break their build somehow)
|
||||
, usePyPy ? stdenv.hostPlatform.system == "x86_64-linux"
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "icestorm";
|
||||
version = "2020.08.19";
|
||||
version = "2020.12.04";
|
||||
|
||||
passthru = rec {
|
||||
pythonPkg = if usePyPy then pypy3 else python3;
|
||||
pythonPkg = if (false && usePyPy) then pypy3 else python3;
|
||||
pythonInterp = pythonPkg.interpreter;
|
||||
};
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "YosysHQ";
|
||||
repo = "icestorm";
|
||||
rev = "da52117ccd5b4147f64dc7345357ec5439cd7543";
|
||||
sha256 = "072bl3vmvb06ry0ci3b1sfjpm3iigb874khzja4azcai969ybp4k";
|
||||
rev = "7afc64b480212c9ac2ce7cb1622731a69a7d212c";
|
||||
sha256 = "0vxhqs2fampglg3xlfwb35229iv96kvlwp1gyxrdrmlpznhkqdrk";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
@ -5,18 +5,18 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "trellis";
|
||||
version = "2020.11.25";
|
||||
version = "2021.01.02";
|
||||
|
||||
# git describe --tags
|
||||
realVersion = with stdenv.lib; with builtins;
|
||||
"1.0-476-g${substring 0 7 (elemAt srcs 0).rev}";
|
||||
"1.0-482-g${substring 0 7 (elemAt srcs 0).rev}";
|
||||
|
||||
srcs = [
|
||||
(fetchFromGitHub {
|
||||
owner = "SymbiFlow";
|
||||
repo = "prjtrellis";
|
||||
rev = "a441cd9d0390648e96bf27096626eb2c904096de";
|
||||
sha256 = "1rsck44n4mf9v3vfac51ksrhcs84s7q297nq1kjkzzvmsx09gd9k";
|
||||
rev = "60c05b3f4e71fd78d4fba5c31f9974694245199e";
|
||||
sha256 = "1k37mxwxv9fpm6xnrxlqqap7zqh2dvgqncphj3asi2rz0kh07ppf";
|
||||
name = "trellis";
|
||||
})
|
||||
|
||||
|
@ -20,36 +20,37 @@
|
||||
# https://github.com/KhronosGroup/Vulkan-ValidationLayers/blob/master/scripts/known_good.json
|
||||
|
||||
let
|
||||
localSpirvHeaders = spirv-headers.overrideAttrs (_: {
|
||||
src = fetchFromGitHub {
|
||||
owner = "KhronosGroup";
|
||||
repo = "SPIRV-Headers";
|
||||
rev = "f027d53ded7e230e008d37c8b47ede7cd308e19d";
|
||||
sha256 = "12gp2mqcar6jj57jw9isfr62yn72kmvdcl0zga4gvrlyfhnf582q";
|
||||
};
|
||||
});
|
||||
localGlslang = (glslang.override {
|
||||
argSpirv-tools = spirv-tools.overrideAttrs (_: {
|
||||
src = fetchFromGitHub {
|
||||
owner = "KhronosGroup";
|
||||
repo = "SPIRV-Tools";
|
||||
rev = "e128ab0d624ce7beb08eb9656bb260c597a46d0a";
|
||||
sha256 = "0jj8zrl3dh9fq71jc8msx3f3ifb2vjcb37nl0w4sa8sdhfff74pv";
|
||||
};
|
||||
});
|
||||
argSpirv-headers = spirv-headers.overrideAttrs (_: {
|
||||
src = fetchFromGitHub {
|
||||
owner = "KhronosGroup";
|
||||
repo = "SPIRV-Headers";
|
||||
rev = "ac638f1815425403e946d0ab78bac71d2bdbf3be";
|
||||
sha256 = "1lkhs7pxcrfkmiizcxl0w5ajx6swwjv7w3iq586ipgh571fc75gx";
|
||||
rev = "c9c1f54330d13a0bec1aa3f08d436249d8e35596";
|
||||
sha256 = "0r5whsw9x8j4199xwxv293ar2ga73pm2s7rngw732ylh6rw3bkly";
|
||||
};
|
||||
});
|
||||
argSpirv-headers = localSpirvHeaders;
|
||||
}).overrideAttrs (_: {
|
||||
src = fetchFromGitHub {
|
||||
owner = "KhronosGroup";
|
||||
repo = "glslang";
|
||||
rev = "e00d27c6d65b7d3e72506a311d7f053da4051295";
|
||||
sha256 = "00lzvzk613gpm1vsdxffmx52z3c52ijwvzk4sfhh95p71kdydhgv";
|
||||
rev = "dd69df7f3dac26362e10b0f38efb9e47990f7537";
|
||||
sha256 = "1iafbh524avsjg4pjiq156b62pck2rwlfl2pjnml8sjy285506rk";
|
||||
};
|
||||
});
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "vulkan-validation-layers";
|
||||
version = "1.2.141.0";
|
||||
version = "1.2.162.0";
|
||||
|
||||
# If we were to use "dev" here instead of headers, the setupHook would be
|
||||
# placed in that output instead of "out".
|
||||
@ -60,7 +61,7 @@ stdenv.mkDerivation rec {
|
||||
owner = "KhronosGroup";
|
||||
repo = "Vulkan-ValidationLayers";
|
||||
rev = "sdk-${version}";
|
||||
sha256 = "1yfas7q122kx74nbjk3wxlyacysgncvlvq081a5dp238m88vkmbj";
|
||||
sha256 = "1mpqmxh9zm20jdar59lp4yjpqfzxn2pwds6bkvnzihfy0pymf15k";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -83,6 +84,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
cmakeFlags = [
|
||||
"-DGLSLANG_INSTALL_DIR=${localGlslang}"
|
||||
"-DSPIRV_HEADERS_INSTALL_DIR=${localSpirvHeaders}"
|
||||
"-DBUILD_LAYER_SUPPORT_FILES=ON"
|
||||
];
|
||||
|
||||
@ -98,8 +100,8 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "LunarG Vulkan loader";
|
||||
homepage = "https://www.lunarg.com";
|
||||
description = "The official Khronos Vulkan validation layers";
|
||||
homepage = "https://github.com/KhronosGroup/Vulkan-ValidationLayers";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.ralith ];
|
||||
|
@ -18,16 +18,16 @@ let
|
||||
in
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "deno";
|
||||
version = "1.5.3";
|
||||
version = "1.6.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "denoland";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0dxjcab10kqfkflq1x9np5wxlysq33swdwi2f28bi7q312sw5x2y";
|
||||
sha256 = "1wmkx458fpsfw57ysawxc0ghxag8v051hiyswm7nnb7gckrm6j8z";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
cargoSha256 = "0lhdrsvmf5b4fq2yg9vc00q1sgc1fjk0fh5axs2zffcpsp73ay2k";
|
||||
cargoSha256 = "08vzsp53019gmxkn8lpa6l84w3fvbrnr11lzrfgf99nmii6l2hq5";
|
||||
|
||||
# Install completions post-install
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
8
pkgs/development/web/deno/deps.nix
generated
8
pkgs/development/web/deno/deps.nix
generated
@ -2,11 +2,11 @@
|
||||
{}:
|
||||
rec {
|
||||
rustyV8Lib = {
|
||||
version = "0.12.0";
|
||||
version = "0.15.0";
|
||||
sha256s = {
|
||||
x86_64-linux = "18pim960fh18wrdkhirlj4hnnbxrk172r7yksdn2k5z9lgccighg";
|
||||
aarch64-linux = "0d1c8kcz44n1mqprspnshzbqlqw7mq7vryxpmd49gw3fvhcy66y7";
|
||||
x86_64-darwin = "1pc2dfq8p1a8dahkc4g8r6b9zwnvds60zc2lgbf8cj5n0ijd06y1";
|
||||
x86_64-linux = "1j789pvqh44vsffzl5wg3pp3awrlixjrhbnjx2klsml7jv0lp0mq";
|
||||
aarch64-linux = "13srja4vc275ygm806hcsr8mxjnd9qkzaqs58lxnp0702qs5xls6";
|
||||
x86_64-darwin = "0aij9yb5i1r3pz0pyl51qdbgfspfdngwbk1qgkp4gxzl3cbnysx1";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -22,14 +22,14 @@ let
|
||||
# Note: when raising the version, ensure that all SNAPSHOT versions in
|
||||
# build.gradle are replaced by a fixed version
|
||||
# (the current one at the time of release) (see postPatch).
|
||||
version = "122";
|
||||
version = "122.1";
|
||||
buildVersion = makeBuildVersion version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Anuken";
|
||||
repo = "Mindustry";
|
||||
rev = "v${version}";
|
||||
sha256 = "19dxqscnny0c5w3pyg88hflrkhsqgd7zx19240kh4h69y3wwaz0m";
|
||||
sha256 = "18m4s81cfb2cr2fj61nf6spiln7cbvx25g42w6fypfikflv3qd8y";
|
||||
};
|
||||
|
||||
desktopItem = makeDesktopItem {
|
||||
@ -81,7 +81,7 @@ let
|
||||
'';
|
||||
outputHashAlgo = "sha256";
|
||||
outputHashMode = "recursive";
|
||||
outputHash = "1kymfrd2vd23y1rmx19q47wc212r6qx03x6g58pxbqyylxmcw5zq";
|
||||
outputHash = "0vzck6hsrvs438s3ikk66qmpak88bmqcb8inqbbjwy7x87d2qsvj";
|
||||
};
|
||||
|
||||
# Separate commands for building and installing the server and the client
|
||||
|
@ -1,71 +0,0 @@
|
||||
From c29b637b55c93214993f40b1a223233d40b8a7d6 Mon Sep 17 00:00:00 2001
|
||||
From: Maximilian Bosch <maximilian@mbosch.me>
|
||||
Date: Wed, 19 Feb 2020 22:32:28 +0100
|
||||
Subject: [PATCH] Fix build with glibc 2.31
|
||||
|
||||
This is derived from the corresponding upstream patch[1], however this
|
||||
one doesn't apply cleanly on busybox-1.31.1, so I rebased the patch
|
||||
locally and added it directly to nixpkgs.
|
||||
|
||||
[1] https://git.busybox.net/busybox/patch/?id=d3539be8f27b8cbfdfee460fe08299158f08bcd9
|
||||
---
|
||||
coreutils/date.c | 2 +-
|
||||
libbb/missing_syscalls.c | 8 --------
|
||||
util-linux/rdate.c | 8 ++++++--
|
||||
3 files changed, 7 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/coreutils/date.c b/coreutils/date.c
|
||||
index 3414d38..931b7f9 100644
|
||||
--- a/coreutils/date.c
|
||||
+++ b/coreutils/date.c
|
||||
@@ -303,7 +303,7 @@ int date_main(int argc UNUSED_PARAM, char **argv)
|
||||
ts.tv_sec = validate_tm_time(date_str, &tm_time);
|
||||
|
||||
/* if setting time, set it */
|
||||
- if ((opt & OPT_SET) && stime(&ts.tv_sec) < 0) {
|
||||
+ if ((opt & OPT_SET) && clock_settime(CLOCK_REALTIME, &ts) < 0) {
|
||||
bb_perror_msg("can't set date");
|
||||
}
|
||||
}
|
||||
diff --git a/libbb/missing_syscalls.c b/libbb/missing_syscalls.c
|
||||
index 87cf59b..dc40d91 100644
|
||||
--- a/libbb/missing_syscalls.c
|
||||
+++ b/libbb/missing_syscalls.c
|
||||
@@ -15,14 +15,6 @@ pid_t getsid(pid_t pid)
|
||||
return syscall(__NR_getsid, pid);
|
||||
}
|
||||
|
||||
-int stime(const time_t *t)
|
||||
-{
|
||||
- struct timeval tv;
|
||||
- tv.tv_sec = *t;
|
||||
- tv.tv_usec = 0;
|
||||
- return settimeofday(&tv, NULL);
|
||||
-}
|
||||
-
|
||||
int sethostname(const char *name, size_t len)
|
||||
{
|
||||
return syscall(__NR_sethostname, name, len);
|
||||
diff --git a/util-linux/rdate.c b/util-linux/rdate.c
|
||||
index 70f829e..878375d 100644
|
||||
--- a/util-linux/rdate.c
|
||||
+++ b/util-linux/rdate.c
|
||||
@@ -95,9 +95,13 @@ int rdate_main(int argc UNUSED_PARAM, char **argv)
|
||||
if (!(flags & 2)) { /* no -p (-s may be present) */
|
||||
if (time(NULL) == remote_time)
|
||||
bb_error_msg("current time matches remote time");
|
||||
- else
|
||||
- if (stime(&remote_time) < 0)
|
||||
+ else {
|
||||
+ struct timespec ts;
|
||||
+ ts.tv_sec = remote_time;
|
||||
+ ts.tv_nsec = 0;
|
||||
+ if (clock_settime(CLOCK_REALTIME, &ts) < 0)
|
||||
bb_perror_msg_and_die("can't set time of day");
|
||||
+ }
|
||||
}
|
||||
|
||||
if (flags != 1) /* not lone -s */
|
||||
--
|
||||
2.25.0
|
||||
|
@ -1,94 +0,0 @@
|
||||
From 45fa3f18adf57ef9d743038743d9c90573aeeb91 Mon Sep 17 00:00:00 2001
|
||||
From: Dimitri John Ledkov <xnox@ubuntu.com>
|
||||
Date: Tue, 19 May 2020 18:20:39 +0100
|
||||
Subject: [PATCH] wget: implement TLS verification with
|
||||
ENABLE_FEATURE_WGET_OPENSSL
|
||||
|
||||
When ENABLE_FEATURE_WGET_OPENSSL is enabled, correctly implement TLS
|
||||
verification by default. And only ignore verification errors, if
|
||||
--no-check-certificate was passed.
|
||||
|
||||
Also note, that previously OPENSSL implementation did not implement
|
||||
TLS verification, nor printed any warning messages that verification
|
||||
was not performed.
|
||||
|
||||
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1879533
|
||||
|
||||
CVE-2018-1000500
|
||||
|
||||
Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
|
||||
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
||||
---
|
||||
networking/wget.c | 20 +++++++++++++++++---
|
||||
1 file changed, 17 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/networking/wget.c b/networking/wget.c
|
||||
index f2fc9e215..6a8c08324 100644
|
||||
--- a/networking/wget.c
|
||||
+++ b/networking/wget.c
|
||||
@@ -91,6 +91,9 @@
|
||||
//config: patches, but do want to waste bandwidth expaining how wrong
|
||||
//config: it is, you will be ignored.
|
||||
//config:
|
||||
+//config: FEATURE_WGET_OPENSSL does implement TLS verification
|
||||
+//config: using the certificates available to OpenSSL.
|
||||
+//config:
|
||||
//config:config FEATURE_WGET_OPENSSL
|
||||
//config: bool "Try to connect to HTTPS using openssl"
|
||||
//config: default y
|
||||
@@ -115,6 +118,9 @@
|
||||
//config: If openssl can't be executed, internal TLS code will be used
|
||||
//config: (if you enabled it); if openssl can be executed but fails later,
|
||||
//config: wget can't detect this, and download will fail.
|
||||
+//config:
|
||||
+//config: By default TLS verification is performed, unless
|
||||
+//config: --no-check-certificate option is passed.
|
||||
|
||||
//applet:IF_WGET(APPLET(wget, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
@@ -124,8 +130,11 @@
|
||||
//usage: IF_FEATURE_WGET_LONG_OPTIONS(
|
||||
//usage: "[-c|--continue] [--spider] [-q|--quiet] [-O|--output-document FILE]\n"
|
||||
//usage: " [-o|--output-file FILE] [--header 'header: value'] [-Y|--proxy on/off]\n"
|
||||
+//usage: IF_FEATURE_WGET_OPENSSL(
|
||||
+//usage: " [--no-check-certificate]\n"
|
||||
+//usage: )
|
||||
/* Since we ignore these opts, we don't show them in --help */
|
||||
-/* //usage: " [--no-check-certificate] [--no-cache] [--passive-ftp] [-t TRIES]" */
|
||||
+/* //usage: " [--no-cache] [--passive-ftp] [-t TRIES]" */
|
||||
/* //usage: " [-nv] [-nc] [-nH] [-np]" */
|
||||
//usage: " [-P DIR] [-S|--server-response] [-U|--user-agent AGENT]" IF_FEATURE_WGET_TIMEOUT(" [-T SEC]") " URL..."
|
||||
//usage: )
|
||||
@@ -137,7 +146,9 @@
|
||||
//usage: "Retrieve files via HTTP or FTP\n"
|
||||
//usage: IF_FEATURE_WGET_LONG_OPTIONS(
|
||||
//usage: "\n --spider Only check URL existence: $? is 0 if exists"
|
||||
-///////: "\n --no-check-certificate Don't validate the server's certificate"
|
||||
+//usage: IF_FEATURE_WGET_OPENSSL(
|
||||
+//usage: "\n --no-check-certificate Don't validate the server's certificate"
|
||||
+//usage: )
|
||||
//usage: )
|
||||
//usage: "\n -c Continue retrieval of aborted transfer"
|
||||
//usage: "\n -q Quiet"
|
||||
@@ -662,7 +673,7 @@ static int spawn_https_helper_openssl(const char *host, unsigned port)
|
||||
pid = xvfork();
|
||||
if (pid == 0) {
|
||||
/* Child */
|
||||
- char *argv[8];
|
||||
+ char *argv[9];
|
||||
|
||||
close(sp[0]);
|
||||
xmove_fd(sp[1], 0);
|
||||
@@ -689,6 +700,9 @@ static int spawn_https_helper_openssl(const char *host, unsigned port)
|
||||
argv[5] = (char*)"-servername";
|
||||
argv[6] = (char*)servername;
|
||||
}
|
||||
+ if (!(option_mask32 & WGET_OPT_NO_CHECK_CERT)) {
|
||||
+ argv[7] = (char*)"-verify_return_error";
|
||||
+ }
|
||||
|
||||
BB_EXECVP(argv[0], argv);
|
||||
xmove_fd(3, 2);
|
||||
--
|
||||
2.28.0
|
||||
|
@ -48,17 +48,14 @@ let
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
# TODO: When bumping this version, please validate whether the wget patch is present upstream
|
||||
# and remove the patch if it is. The patch should be present upstream for all versions 1.32.0+.
|
||||
# See NixOs/nixpkgs#94722 for context.
|
||||
name = "busybox-1.31.1";
|
||||
name = "busybox-1.32.0";
|
||||
|
||||
# Note to whoever is updating busybox: please verify that:
|
||||
# nix-build pkgs/stdenv/linux/make-bootstrap-tools.nix -A test
|
||||
# still builds after the update.
|
||||
src = fetchurl {
|
||||
url = "https://busybox.net/downloads/${name}.tar.bz2";
|
||||
sha256 = "1659aabzp8w4hayr4z8kcpbk2z1q2wqhw7i1yb0l72b45ykl1yfh";
|
||||
sha256 = "w12H8dBLKxU9M8J1wmMuQNOIqI8ZqecXJ+C7v/Uf5ok=";
|
||||
};
|
||||
|
||||
hardeningDisable = [ "format" "pie" ]
|
||||
@ -66,8 +63,6 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = [
|
||||
./busybox-in-store.patch
|
||||
./0001-Fix-build-with-glibc-2.31.patch
|
||||
./0001-wget-implement-TLS-verification-with-ENABLE_FEATURE_.patch
|
||||
] ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) ./clang-cross.patch;
|
||||
|
||||
postPatch = "patchShebangs .";
|
||||
|
@ -35,11 +35,11 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "musl";
|
||||
version = "1.2.0";
|
||||
version = "1.2.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.musl-libc.org/releases/${pname}-${version}.tar.gz";
|
||||
sha256 = "1s6lix02k1ijm4nmhzpmwzk5w6xfkhn70nvvk8zjs51r24cpppn6";
|
||||
sha256 = "0jz8fzwgvfyjgxjbpw35ixdglp2apqjvp8m386f6yr4zacc6xbv8";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, libbsd, fetchurl, phpPackages, php }:
|
||||
{ stdenv, fetchurl, php }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "4.7.8";
|
||||
@ -10,22 +10,36 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0k794agvd8pa3mwl0076i7753fzxd41lhr23aih4l2lbdgnzi68z";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with phpPackages; [ php composer ];
|
||||
nativeBuildInputs = [
|
||||
php
|
||||
php.packages.composer
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
composer --no-cache run compile
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir $out
|
||||
cp adminer-${version}.php $out/adminer.php
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Database management in a single PHP file";
|
||||
homepage = "https://www.adminer.org";
|
||||
license = with licenses; [ asl20 gpl2 ];
|
||||
maintainers = with maintainers; [ sstef ];
|
||||
license = with licenses; [ asl20 gpl2Only ];
|
||||
maintainers = with maintainers; [
|
||||
jtojnar
|
||||
sstef
|
||||
];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
@ -3,14 +3,14 @@ let
|
||||
package = (import ./node.nix { inherit pkgs system; }).package;
|
||||
in
|
||||
package.override rec {
|
||||
version = "1.17.0";
|
||||
version = "1.16.2";
|
||||
reconstructLock = true;
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "Koenkk";
|
||||
repo = "zigbee2mqtt";
|
||||
rev = version;
|
||||
sha256 = "152hxx38px9vs0fxhaiv5injsmkdcmjsibszvxrxilnx4fghlww6";
|
||||
sha256 = "0rpmm4pwm8s4i9fl26ql0czg5kijv42k9wwik7jb3ppi5jzxrakd";
|
||||
};
|
||||
|
||||
passthru.tests.zigbee2mqtt = nixosTests.zigbee2mqtt;
|
||||
|
2757
pkgs/servers/zigbee2mqtt/node-packages.nix
generated
2757
pkgs/servers/zigbee2mqtt/node-packages.nix
generated
File diff suppressed because it is too large
Load Diff
@ -6,15 +6,16 @@
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "vulkan-tools-lunarg";
|
||||
# The version must match that in vulkan-headers
|
||||
version = "1.2.141.0";
|
||||
version = "1.2.162.0";
|
||||
|
||||
src = (assert version == vulkan-headers.version; fetchFromGitHub {
|
||||
owner = "LunarG";
|
||||
repo = "VulkanTools";
|
||||
rev = "sdk-${version}";
|
||||
sha256 = "1zsgc1hdmivdahzrarx7a5byhgnmm5ahz366l92fmdb8pffgq42g";
|
||||
fetchSubmodules = true;
|
||||
});
|
||||
src = (assert version == vulkan-headers.version;
|
||||
fetchFromGitHub {
|
||||
owner = "LunarG";
|
||||
repo = "VulkanTools";
|
||||
rev = "sdk-${version}";
|
||||
sha256 = "13v4202bfd7d7nwi8w12ja9k1vi10p9xxypzkpi063hmsgzxm5k5";
|
||||
fetchSubmodules = true;
|
||||
});
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig python3 jq ];
|
||||
|
||||
|
@ -4,13 +4,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "vulkan-tools";
|
||||
version = "1.2.141.0";
|
||||
version = "1.2.162.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "KhronosGroup";
|
||||
repo = "Vulkan-Tools";
|
||||
rev = "sdk-${version}";
|
||||
sha256 = "1ch56ihm7rmilipfyc4i4ww7l6i20fb3qikkpm1ch43kzn42zjaw";
|
||||
sha256 = "088vqh956zma3p1qc3p6rsygf5s395b6cv8b1x0whp2a0a1y81xz";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
|
@ -10,13 +10,13 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "starship";
|
||||
version = "0.47.0";
|
||||
version = "0.48.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "starship";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0vdfdwsaqrah0hgvr62qsww7s5znb1rg5kk068qpf06lmyc4gd8w";
|
||||
sha256 = "1p37cfkcpqv74gp7g099alkqxanfc002kaq1cim6zkinx50gxjxw";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ] ++ stdenv.lib.optionals stdenv.isLinux [ pkg-config ];
|
||||
@ -31,7 +31,7 @@ rustPlatform.buildRustPackage rec {
|
||||
done
|
||||
'';
|
||||
|
||||
cargoSha256 = "01brsckfa2zy1aqs9vjwrn4w416i8b621bvkhicanz9q56xlnd77";
|
||||
cargoSha256 = "02djpwvwrrp7f0ifiypx1cr1v4bkqxrhqfhy0abfjszza95fjasv";
|
||||
|
||||
checkFlags = [
|
||||
"--skip=directory_in_home"
|
||||
|
@ -1,18 +1,17 @@
|
||||
{ stdenv, fetchFromGitHub, ncurses, libnl, pkgconfig }:
|
||||
{ stdenv, fetchFromGitHub, ncurses, libnl, pkg-config }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.9.2";
|
||||
baseName = "wavemon";
|
||||
name = "${baseName}-${version}";
|
||||
pname = "wavemon";
|
||||
version = "0.9.3";
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ ncurses libnl ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "uoaerg";
|
||||
repo = "wavemon";
|
||||
rev = "v${version}";
|
||||
sha256 = "0y984wm03lzqf7bk06a07mw7d1fzjsp9x7zxcvlx4xqmv7wlgb29";
|
||||
sha256 = "0m9n5asjxs1ir5rqprigqcrm976mgjvh4yql1jhfnbszwbf95193";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
@ -427,7 +427,7 @@ rec {
|
||||
serde_urlencoded = "0.5.1";
|
||||
tokio = "0.1.7";
|
||||
tokio_io = "0.1.10";
|
||||
url = "1.6.0";
|
||||
url = "1.6.1";
|
||||
uuid = "0.7.1";
|
||||
};
|
||||
deps.rustc_version."0.2.3" = {
|
||||
@ -464,7 +464,7 @@ rec {
|
||||
dtoa = "0.4.2";
|
||||
itoa = "0.3.4";
|
||||
serde = "1.0.21";
|
||||
url = "1.6.0";
|
||||
url = "1.6.1";
|
||||
};
|
||||
deps.siphasher."0.2.2" = {};
|
||||
deps.slab."0.4.0" = {};
|
||||
@ -639,7 +639,7 @@ rec {
|
||||
deps.unreachable."1.0.0" = {
|
||||
void = "1.0.2";
|
||||
};
|
||||
deps.url."1.6.0" = {
|
||||
deps.url."1.6.1" = {
|
||||
idna = "0.1.4";
|
||||
matches = "0.1.6";
|
||||
percent_encoding = "1.0.1";
|
||||
|
@ -4926,40 +4926,40 @@ rec {
|
||||
|
||||
|
||||
# end
|
||||
# url-1.6.0
|
||||
# url-1.6.1
|
||||
|
||||
crates.url."1.6.0" = deps: { features?(features_.url."1.6.0" deps {}) }: buildRustCrate {
|
||||
crates.url."1.6.1" = deps: { features?(features_.url."1.6.1" deps {}) }: buildRustCrate {
|
||||
crateName = "url";
|
||||
version = "1.6.0";
|
||||
version = "1.6.1";
|
||||
description = "URL library for Rust, based on the WHATWG URL Standard";
|
||||
authors = [ "The rust-url developers" ];
|
||||
sha256 = "1bvzl4dvjj84h46ai3x23wyafa2wwhchj08vr2brf25dxwc7mg18";
|
||||
sha256 = "1qsnhmxznzaxl068a3ksz69kwcz7ghvl4zflg9qj7lyw4bk9ma38";
|
||||
dependencies = mapFeatures features ([
|
||||
(crates."idna"."${deps."url"."1.6.0"."idna"}" deps)
|
||||
(crates."matches"."${deps."url"."1.6.0"."matches"}" deps)
|
||||
(crates."percent_encoding"."${deps."url"."1.6.0"."percent_encoding"}" deps)
|
||||
(crates."idna"."${deps."url"."1.6.1"."idna"}" deps)
|
||||
(crates."matches"."${deps."url"."1.6.1"."matches"}" deps)
|
||||
(crates."percent_encoding"."${deps."url"."1.6.1"."percent_encoding"}" deps)
|
||||
]);
|
||||
features = mkFeatures (features."url"."1.6.0" or {});
|
||||
features = mkFeatures (features."url"."1.6.1" or {});
|
||||
};
|
||||
features_.url."1.6.0" = deps: f: updateFeatures f (rec {
|
||||
idna."${deps.url."1.6.0".idna}".default = true;
|
||||
matches."${deps.url."1.6.0".matches}".default = true;
|
||||
percent_encoding."${deps.url."1.6.0".percent_encoding}".default = true;
|
||||
features_.url."1.6.1" = deps: f: updateFeatures f (rec {
|
||||
idna."${deps.url."1.6.1".idna}".default = true;
|
||||
matches."${deps.url."1.6.1".matches}".default = true;
|
||||
percent_encoding."${deps.url."1.6.1".percent_encoding}".default = true;
|
||||
url = fold recursiveUpdate {} [
|
||||
{ "1.6.0"."encoding" =
|
||||
(f.url."1.6.0"."encoding" or false) ||
|
||||
(f.url."1.6.0".query_encoding or false) ||
|
||||
(url."1.6.0"."query_encoding" or false); }
|
||||
{ "1.6.0"."heapsize" =
|
||||
(f.url."1.6.0"."heapsize" or false) ||
|
||||
(f.url."1.6.0".heap_size or false) ||
|
||||
(url."1.6.0"."heap_size" or false); }
|
||||
{ "1.6.0".default = (f.url."1.6.0".default or true); }
|
||||
{ "1.6.1"."encoding" =
|
||||
(f.url."1.6.1"."encoding" or false) ||
|
||||
(f.url."1.6.1".query_encoding or false) ||
|
||||
(url."1.6.1"."query_encoding" or false); }
|
||||
{ "1.6.1"."heapsize" =
|
||||
(f.url."1.6.1"."heapsize" or false) ||
|
||||
(f.url."1.6.1".heap_size or false) ||
|
||||
(url."1.6.1"."heap_size" or false); }
|
||||
{ "1.6.1".default = (f.url."1.6.1".default or true); }
|
||||
];
|
||||
}) [
|
||||
(features_.idna."${deps."url"."1.6.0"."idna"}" deps)
|
||||
(features_.matches."${deps."url"."1.6.0"."matches"}" deps)
|
||||
(features_.percent_encoding."${deps."url"."1.6.0"."percent_encoding"}" deps)
|
||||
(features_.idna."${deps."url"."1.6.1"."idna"}" deps)
|
||||
(features_.matches."${deps."url"."1.6.1"."matches"}" deps)
|
||||
(features_.percent_encoding."${deps."url"."1.6.1"."percent_encoding"}" deps)
|
||||
];
|
||||
|
||||
|
||||
|
@ -1624,6 +1624,8 @@ in
|
||||
|
||||
boot = callPackage ../development/tools/build-managers/boot { };
|
||||
|
||||
bowtie = callPackage ../applications/science/biology/bowtie { };
|
||||
|
||||
bowtie2 = callPackage ../applications/science/biology/bowtie2 { };
|
||||
|
||||
boxfs = callPackage ../tools/filesystems/boxfs { };
|
||||
@ -10074,7 +10076,10 @@ in
|
||||
|
||||
neko = callPackage ../development/compilers/neko { };
|
||||
|
||||
nextpnr = libsForQt5.callPackage ../development/compilers/nextpnr {
|
||||
nextpnr = callPackage ../development/compilers/nextpnr { };
|
||||
|
||||
nextpnrWithGui = libsForQt5.callPackage ../development/compilers/nextpnr {
|
||||
enableGui = true;
|
||||
inherit (darwin.apple_sdk.frameworks) OpenGL;
|
||||
};
|
||||
|
||||
@ -21346,7 +21351,7 @@ in
|
||||
|
||||
etherape = callPackage ../applications/networking/sniffers/etherape { };
|
||||
|
||||
evilpixie = libsForQt514.callPackage ../applications/graphics/evilpixie { };
|
||||
evilpixie = libsForQt5.callPackage ../applications/graphics/evilpixie { };
|
||||
|
||||
exercism = callPackage ../applications/misc/exercism { };
|
||||
|
||||
|
@ -1552,6 +1552,8 @@ in {
|
||||
|
||||
dbus-python = callPackage ../development/python-modules/dbus { inherit (pkgs) dbus pkgconfig; };
|
||||
|
||||
dbutils = callPackage ../development/python-modules/dbutils { };
|
||||
|
||||
dcmstack = callPackage ../development/python-modules/dcmstack { };
|
||||
|
||||
ddt = callPackage ../development/python-modules/ddt { };
|
||||
|
Loading…
Reference in New Issue
Block a user