Merge master into staging-next

This commit is contained in:
github-actions[bot] 2021-04-24 06:05:30 +00:00 committed by GitHub
commit d8d6ba0d2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
46 changed files with 453 additions and 127 deletions

View File

@ -4401,6 +4401,12 @@
githubId = 5283991; githubId = 5283991;
name = "Jake Waksbaum"; name = "Jake Waksbaum";
}; };
jakubgs = {
email = "jakub@gsokolowski.pl";
github = "jakubgs";
githubId = 2212681;
name = "Jakub Grzgorz Sokołowski";
};
jamiemagee = { jamiemagee = {
email = "jamie.magee@gmail.com"; email = "jamie.magee@gmail.com";
github = "JamieMagee"; github = "JamieMagee";
@ -6977,6 +6983,12 @@
githubId = 818502; githubId = 818502;
name = "Nathan Yong"; name = "Nathan Yong";
}; };
nbren12 = {
email = "nbren12@gmail.com";
github = "nbren12";
githubId = 1386642;
name = "Noah Brenowitz";
};
nckx = { nckx = {
email = "github@tobias.gr"; email = "github@tobias.gr";
github = "nckx"; github = "nckx";
@ -9420,8 +9432,8 @@
name = "Stian Lågstad"; name = "Stian Lågstad";
}; };
StijnDW = { StijnDW = {
email = "stekke@airmail.cc"; email = "nixdev@rinsa.eu";
github = "StijnDW"; github = "Stekke";
githubId = 1751956; githubId = 1751956;
name = "Stijn DW"; name = "Stijn DW";
}; };

View File

@ -10,6 +10,7 @@ with lib;
system.build.cloudstackImage = import ../../../lib/make-disk-image.nix { system.build.cloudstackImage = import ../../../lib/make-disk-image.nix {
inherit lib config pkgs; inherit lib config pkgs;
diskSize = 8192;
format = "qcow2"; format = "qcow2";
configFile = pkgs.writeText "configuration.nix" configFile = pkgs.writeText "configuration.nix"
'' ''

View File

@ -40,9 +40,8 @@ in {
}; };
sizeMB = mkOption { sizeMB = mkOption {
type = with types; either (enum [ "auto" ]) int; type = types.int;
default = "auto"; default = if config.ec2.hvm then 2048 else 8192;
example = 8192;
description = "The size in MB of the image"; description = "The size in MB of the image";
}; };

View File

@ -12,8 +12,8 @@ with lib;
system.build.openstackImage = import ../../../lib/make-disk-image.nix { system.build.openstackImage = import ../../../lib/make-disk-image.nix {
inherit lib config; inherit lib config;
additionalSpace = "1024M";
pkgs = import ../../../.. { inherit (pkgs) system; }; # ensure we use the regular qemu-kvm package pkgs = import ../../../.. { inherit (pkgs) system; }; # ensure we use the regular qemu-kvm package
diskSize = 8192;
format = "qcow2"; format = "qcow2";
configFile = pkgs.writeText "configuration.nix" configFile = pkgs.writeText "configuration.nix"
'' ''

View File

@ -15,7 +15,7 @@ let
${ppdOptionsString p.ppdOptions} ${ppdOptionsString p.ppdOptions}
''; '';
ensureDefaultPrinter = name: '' ensureDefaultPrinter = name: ''
${pkgs.cups}/bin/lpoptions -d '${name}' ${pkgs.cups}/bin/lpadmin -d '${name}'
''; '';
# "graph but not # or /" can't be implemented as regex alone due to missing lookahead support # "graph but not # or /" can't be implemented as regex alone due to missing lookahead support

View File

@ -9,9 +9,8 @@ in
options = { options = {
virtualisation.azureImage.diskSize = mkOption { virtualisation.azureImage.diskSize = mkOption {
type = with types; either (enum [ "auto" ]) int; type = with types; int;
default = "auto"; default = 2048;
example = 2048;
description = '' description = ''
Size of disk image. Unit is MB. Size of disk image. Unit is MB.
''; '';

View File

@ -10,9 +10,8 @@ in
options = { options = {
virtualisation.digitalOceanImage.diskSize = mkOption { virtualisation.digitalOceanImage.diskSize = mkOption {
type = with types; either (enum [ "auto" ]) int; type = with types; int;
default = "auto"; default = 4096;
example = 4096;
description = '' description = ''
Size of disk image. Unit is MB. Size of disk image. Unit is MB.
''; '';

View File

@ -18,9 +18,8 @@ in
options = { options = {
virtualisation.googleComputeImage.diskSize = mkOption { virtualisation.googleComputeImage.diskSize = mkOption {
type = with types; either (enum [ "auto" ]) int; type = with types; int;
default = "auto"; default = 1536;
example = 1536;
description = '' description = ''
Size of disk image. Unit is MB. Size of disk image. Unit is MB.
''; '';

View File

@ -9,9 +9,8 @@ in {
options = { options = {
hyperv = { hyperv = {
baseImageSize = mkOption { baseImageSize = mkOption {
type = with types; either (enum [ "auto" ]) int; type = types.int;
default = "auto"; default = 2048;
example = 2048;
description = '' description = ''
The size of the hyper-v base image in MiB. The size of the hyper-v base image in MiB.
''; '';

View File

@ -11,9 +11,8 @@ in {
options = { options = {
virtualbox = { virtualbox = {
baseImageSize = mkOption { baseImageSize = mkOption {
type = with types; either (enum [ "auto" ]) int; type = types.int;
default = "auto"; default = 50 * 1024;
example = 50 * 1024;
description = '' description = ''
The size of the VirtualBox base image in MiB. The size of the VirtualBox base image in MiB.
''; '';

View File

@ -18,9 +18,8 @@ in {
options = { options = {
vmware = { vmware = {
baseImageSize = mkOption { baseImageSize = mkOption {
type = with types; either (enum [ "auto" ]) int; type = types.int;
default = "auto"; default = 2048;
example = 2048;
description = '' description = ''
The size of the VMWare base image in MiB. The size of the VMWare base image in MiB.
''; '';

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "fdkaac"; pname = "fdkaac";
version = "1.0.1"; version = "1.0.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nu774"; owner = "nu774";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "02mzx4bird2q5chzpavfc9pg259hwfvq6px85xarm59vmj9nryb6"; sha256 = "tHhICq/FzbkvWkDdNzGqGoo7nIDb+DJXmkFwtPIA89c=";
}; };
nativeBuildInputs = [ autoreconfHook ]; nativeBuildInputs = [ autoreconfHook ];
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
doCheck = true; doCheck = true;
meta = with lib; { meta = with lib; {
description = "Command line encoder frontend for libfdk-aac encder"; description = "Command line encoder frontend for libfdk-aac encoder";
longDescription = '' longDescription = ''
fdkaac reads linear PCM audio in either WAV, raw PCM, or CAF format, fdkaac reads linear PCM audio in either WAV, raw PCM, or CAF format,
and encodes it into either M4A / AAC file. and encodes it into either M4A / AAC file.

View File

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "terragrunt"; pname = "terragrunt";
version = "0.28.24"; version = "0.29.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "gruntwork-io"; owner = "gruntwork-io";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-7wfBKXO4uUrFjEklmgfgzIECARsOolwXjNFOFqfn1ds="; sha256 = "sha256-Ubft+R2nBUNRx3SfksORxBbKY/mSvY+tKkz1UcGXyjw=";
}; };
vendorSha256 = "sha256-qlSCQtiGHmlk3DyETMoQbbSYhuUSZTsvAnBKuDJI8x8="; vendorSha256 = "sha256-qlSCQtiGHmlk3DyETMoQbbSYhuUSZTsvAnBKuDJI8x8=";

View File

@ -1,23 +1,17 @@
{ lib, buildGoModule, fetchFromGitHub }: { lib, buildGoModule, fetchFromGitHub }:
# Currently `buildGo114Module` is passed as `buildGoModule` from
# `../default.nix`. Please remove the fixed 1.14 once a new release has been
# made and the issue linked below has been closed upstream.
# https://github.com/Arkweid/lefthook/issues/151
buildGoModule rec { buildGoModule rec {
pname = "lefthook"; pname = "lefthook";
version = "0.7.2"; version = "0.7.3";
src = fetchFromGitHub { src = fetchFromGitHub {
rev = "v${version}"; rev = "v${version}";
owner = "Arkweid"; owner = "evilmartians";
repo = "lefthook"; repo = "lefthook";
sha256 = "1ciyxjx3r3dcl8xas49kqsjshs1bv4pafmfmhdfyfdvlaj374hgj"; sha256 = "sha256-VrAkmLRsYNDX5VfAxsvjsOv1bv7Nk53OjdaJm/D2GRk=";
}; };
vendorSha256 = "1pdrw4vwbj9cka2pjbjvxviigfvnrf8sgws27ixwwiblbkj4isc8"; vendorSha256 = "sha256-XR7xJZfgt0Hx2DccdNlwEmuduuVU8IBR0pcIUyRhdko=";
doCheck = false; doCheck = false;

View File

@ -5,6 +5,7 @@ mkCoqDerivation {
pname = "QuickChick"; pname = "QuickChick";
owner = "QuickChick"; owner = "QuickChick";
defaultVersion = with versions; switch [ coq.coq-version ssreflect.version ] [ defaultVersion = with versions; switch [ coq.coq-version ssreflect.version ] [
{ cases = [ "8.13" pred.true ]; out = "1.5.0"; }
{ cases = [ "8.12" pred.true ]; out = "1.4.0"; } { cases = [ "8.12" pred.true ]; out = "1.4.0"; }
{ cases = [ "8.11" pred.true ]; out = "1.3.2"; } { cases = [ "8.11" pred.true ]; out = "1.3.2"; }
{ cases = [ "8.10" pred.true ]; out = "1.2.1"; } { cases = [ "8.10" pred.true ]; out = "1.2.1"; }
@ -14,6 +15,7 @@ mkCoqDerivation {
{ cases = [ "8.6" pred.true ]; out = "20171102"; } { cases = [ "8.6" pred.true ]; out = "20171102"; }
{ cases = [ "8.5" pred.true ]; out = "20170512"; } { cases = [ "8.5" pred.true ]; out = "20170512"; }
] null; ] null;
release."1.5.0".sha256 = "1lq8x86vd3vqqh2yq6hvyagpnhfq5wmk5pg2z0xq7b7dcw7hyfkw";
release."1.4.0".sha256 = "068p48pm5yxjc3yv8qwzp25bp9kddvxj81l31mjkyx3sdrsw3kyc"; release."1.4.0".sha256 = "068p48pm5yxjc3yv8qwzp25bp9kddvxj81l31mjkyx3sdrsw3kyc";
release."1.3.2".sha256 = "0lciwaqv288dh2f13xk2x0lrn6zyrkqy6g4yy927wwzag2gklfrs"; release."1.3.2".sha256 = "0lciwaqv288dh2f13xk2x0lrn6zyrkqy6g4yy927wwzag2gklfrs";
release."1.2.1".sha256 = "17vz88xjzxh3q7hs6hnndw61r3hdfawxp5awqpgfaxx4w6ni8z46"; release."1.2.1".sha256 = "17vz88xjzxh3q7hs6hnndw61r3hdfawxp5awqpgfaxx4w6ni8z46";

View File

@ -3,13 +3,13 @@
stdenv.mkDerivation rec stdenv.mkDerivation rec
{ {
pname = "alembic"; pname = "alembic";
version = "1.7.16"; version = "1.8.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "alembic"; owner = "alembic";
repo = "alembic"; repo = "alembic";
rev = version; rev = version;
sha256 = "1vmhwjhppjv8m0ysk2qz0wl47cbl8i40bjjq5l4jmmp1ysvlbknf"; sha256 = "sha256-c4SN3kNY8415+O/2AYuHNQFEmuTBtLaWj5fsj0yJ2vs=";
}; };
outputs = [ "bin" "dev" "out" "lib" ]; outputs = [ "bin" "dev" "out" "lib" ];

View File

@ -7,13 +7,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "jasper"; pname = "jasper";
version = "2.0.28"; version = "2.0.32";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jasper-software"; owner = "jasper-software";
repo = pname; repo = pname;
rev = "version-${version}"; rev = "version-${version}";
hash = "sha256-f3UG5w8GbwZcsFBaQN6v8kdEkKIGgizcAgaVZtKwS78="; hash = "sha256-Uwgtex0MWC/pOmEr8itHMIa4wxd97c/tsTzcLgV8D0I=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -11,11 +11,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libnbd"; pname = "libnbd";
version = "1.7.5"; version = "1.7.7";
src = fetchurl { src = fetchurl {
url = "https://download.libguestfs.org/libnbd/${lib.versions.majorMinor version}-development/${pname}-${version}.tar.gz"; url = "https://download.libguestfs.org/libnbd/${lib.versions.majorMinor version}-development/${pname}-${version}.tar.gz";
sha256 = "sha256-UxQx/wnKnCB3uC9xEfq1F0l3kHAJjp9GzbeRugKyFsk="; hash = "sha256-fNeu1qx+EbKitv2I8nJAmGMF5jxN2RZGPR/LJYnOjG8=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, pkg-config, cmake }: { stdenv, lib, fetchFromGitHub, fetchpatch, pkg-config, cmake }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "rapidjson"; pname = "rapidjson";
@ -11,6 +11,13 @@ stdenv.mkDerivation rec {
sha256 = "1jixgb8w97l9gdh3inihz7avz7i770gy2j2irvvlyrq3wi41f5ab"; sha256 = "1jixgb8w97l9gdh3inihz7avz7i770gy2j2irvvlyrq3wi41f5ab";
}; };
patches = [
(fetchpatch {
url = "https://src.fedoraproject.org/rpms/rapidjson/raw/48402da9f19d060ffcd40bf2b2e6987212c58b0c/f/rapidjson-1.1.0-c++20.patch";
sha256 = "1qm62iad1xfsixv1li7qy475xc7gc04hmi2q21qdk6l69gk7mf82";
})
];
nativeBuildInputs = [ pkg-config cmake ]; nativeBuildInputs = [ pkg-config cmake ];
preConfigure = '' preConfigure = ''

View File

@ -0,0 +1,61 @@
{ stdenv, lib, fetchgit, buildGoModule, zlib, makeWrapper, xcodeenv, androidenv
, xcodeWrapperArgs ? { }
, xcodeWrapper ? xcodeenv.composeXcodeWrapper xcodeWrapperArgs
, androidPkgs ? androidenv.composeAndroidPackages {
includeNDK = true;
ndkVersion = "21.3.6528147"; # WARNING: 22.0.7026061 is broken.
} }:
buildGoModule {
pname = "gomobile";
version = "unstable-2020-06-22";
vendorSha256 = "1n1338vqkc1n8cy94501n7jn3qbr28q9d9zxnq2b4rxsqjfc9l94";
src = fetchgit {
# WARNING: Next commit removes support for ARM 32 bit builds for iOS
rev = "33b80540585f2b31e503da24d6b2a02de3c53ff5";
name = "gomobile";
url = "https://go.googlesource.com/mobile";
sha256 = "0c9map2vrv34wmaycsv71k4day3b0z5p16yzxmlp8amvqb38zwlm";
};
subPackages = [ "bind" "cmd/gobind" "cmd/gomobile" ];
# Fails with: go: cannot find GOROOT directory
doCheck = false;
patches = [ ./resolve-nix-android-sdk.patch ];
nativeBuildInputs = [ makeWrapper ]
++ lib.optionals stdenv.isDarwin [ xcodeWrapper ];
# Prevent a non-deterministic temporary directory from polluting the resulting object files
postPatch = ''
substituteInPlace cmd/gomobile/env.go --replace \
'tmpdir, err = ioutil.TempDir("", "gomobile-work-")' \
'tmpdir = filepath.Join(os.Getenv("NIX_BUILD_TOP"), "gomobile-work")' \
--replace '"io/ioutil"' ""
substituteInPlace cmd/gomobile/init.go --replace \
'tmpdir, err = ioutil.TempDir(gomobilepath, "work-")' \
'tmpdir = filepath.Join(os.Getenv("NIX_BUILD_TOP"), "work")'
'';
# Necessary for GOPATH when using gomobile.
postInstall = ''
mkdir -p $out/src/golang.org/x
ln -s $src $out/src/golang.org/x/mobile
wrapProgram $out/bin/gomobile \
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ zlib ]}" \
--prefix PATH : "${androidPkgs.androidsdk}/bin" \
--set ANDROID_HOME "${androidPkgs.androidsdk}/libexec/android-sdk" \
--set GOPATH $out
'';
meta = with lib; {
description = "A tool for building and running mobile apps written in Go";
homepage = "https://pkg.go.dev/golang.org/x/mobile/cmd/gomobile";
license = licenses.bsd3;
maintainers = with maintainers; [ jakubgs ];
};
}

View File

@ -0,0 +1,15 @@
diff --git a/cmd/gomobile/bind_androidapp.go b/cmd/gomobile/bind_androidapp.go
index 3b01adc..76216fa 100644
--- a/cmd/gomobile/bind_androidapp.go
+++ b/cmd/gomobile/bind_androidapp.go
@@ -372,6 +372,10 @@ func androidAPIPath() (string, error) {
var apiVer int
for _, fi := range fis {
name := fi.Name()
+ // Resolve symlinked directories (this is how the Nix Android SDK package is built)
+ if fi2, err := os.Stat(filepath.Join(sdkDir.Name(), name)); err == nil {
+ fi = fi2
+ }
if !fi.IsDir() || !strings.HasPrefix(name, "android-") {
continue
}

View File

@ -285,6 +285,9 @@ let
libsecret libsecret
self.node-gyp-build self.node-gyp-build
self.node-pre-gyp self.node-pre-gyp
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.AppKit
darwin.apple_sdk.frameworks.Security
]; ];
}; };

View File

@ -1,14 +1,19 @@
{ lib, buildPythonPackage, fetchPypi }: { lib, buildPythonPackage, fetchPypi, python }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "bitarray"; pname = "bitarray";
version = "1.8.1"; version = "2.0.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "e02f79fba7a470d438eb39017d503498faaf760b17b6b46af1a9de12fd58d311"; sha256 = "sha256-7DpPbXEaee0jrqlUFjjTNT3D8IPyk6ExgLFLSC4+Ge8=";
}; };
checkPhase = ''
cd $out
${python.interpreter} -c 'import bitarray; bitarray.test()'
'';
pythonImportsCheck = [ "bitarray" ]; pythonImportsCheck = [ "bitarray" ];
meta = with lib; { meta = with lib; {

View File

@ -9,6 +9,7 @@
, scipy , scipy
, scikitlearn , scikitlearn
, pytest , pytest
, setuptools-scm
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -22,6 +23,7 @@ buildPythonPackage rec {
nativeBuildInputs = [ setuptools-scm ]; nativeBuildInputs = [ setuptools-scm ];
checkInputs = [ pytest ]; checkInputs = [ pytest ];
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ cloudpickle dask numpy toolz multipledispatch scipy scikitlearn ]; propagatedBuildInputs = [ cloudpickle dask numpy toolz multipledispatch scipy scikitlearn ];
checkPhase = '' checkPhase = ''

View File

@ -13,6 +13,7 @@
, multipledispatch , multipledispatch
, packaging , packaging
, distributed , distributed
, setuptools-scm
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -38,6 +39,7 @@ buildPythonPackage rec {
scipy scipy
six six
toolz toolz
setuptools-scm
]; ];
# has non-standard build from source, and pypi doesn't include tests # has non-standard build from source, and pypi doesn't include tests

View File

@ -1,6 +1,7 @@
{ lib { lib
, bokeh , bokeh
, buildPythonPackage , buildPythonPackage
, fetchpatch
, fetchFromGitHub , fetchFromGitHub
, fsspec , fsspec
, pytestCheckHook , pytestCheckHook
@ -42,7 +43,7 @@ buildPythonPackage rec {
distributed distributed
]; ];
doCheck = false; doCheck = true;
checkInputs = [ checkInputs = [
pytestCheckHook pytestCheckHook
@ -52,6 +53,16 @@ buildPythonPackage rec {
dontUseSetuptoolsCheck = true; dontUseSetuptoolsCheck = true;
patches = [
# dask dataframe cannot be imported in sandboxed builds
# See https://github.com/dask/dask/pull/7601
(fetchpatch {
url = "https://github.com/dask/dask/commit/9ce5b0d258cecb3ef38fd844135ad1f7ac3cea5f.patch";
sha256 = "sha256-1EVRYwAdTSEEH9jp+UOnrijzezZN3iYR6q6ieYJM3kY=";
name = "fix-dask-dataframe-imports-in-sandbox.patch";
})
];
postPatch = '' postPatch = ''
# versioneer hack to set version of github package # versioneer hack to set version of github package
echo "def get_versions(): return {'dirty': False, 'error': None, 'full-revisionid': None, 'version': '${version}'}" > dask/_version.py echo "def get_versions(): return {'dirty': False, 'error': None, 'full-revisionid': None, 'version': '${version}'}" > dask/_version.py
@ -66,8 +77,13 @@ buildPythonPackage rec {
disabledTests = [ disabledTests = [
"test_annotation_pack_unpack" "test_annotation_pack_unpack"
"test_annotations_blockwise_unpack" "test_annotations_blockwise_unpack"
# this test requires features of python3Packages.psutil that are
# blocked in sandboxed-builds
"test_auto_blocksize_csv"
]; ];
pythonImportsCheck = [ "dask.dataframe" "dask" "dask.array" ];
meta = with lib; { meta = with lib; {
description = "Minimal task scheduling abstraction"; description = "Minimal task scheduling abstraction";
homepage = "https://dask.org/"; homepage = "https://dask.org/";

View File

@ -5,34 +5,36 @@
, pytestCheckHook , pytestCheckHook
, numpy , numpy
, stdenv , stdenv
, aiohttp
, pytest-vcr
, requests
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "fsspec"; pname = "fsspec";
version = "0.8.3"; version = "2021.04.0";
disabled = pythonOlder "3.5"; disabled = pythonOlder "3.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "intake"; owner = "intake";
repo = "filesystem_spec"; repo = "filesystem_spec";
rev = version; rev = version;
sha256 = "0mfy0wxjfwwnp5q2afhhfbampf0fk71wsv512pi9yvrkzzfi1hga"; sha256 = "sha256-9072kb1VEQ0xg9hB8yEzJMD2Ttd3UGjBmTuhE+Uya1k=";
}; };
checkInputs = [ checkInputs = [ pytestCheckHook numpy pytest-vcr ];
pytestCheckHook
numpy __darwinAllowLocalNetworking = true;
];
propagatedBuildInputs = [ aiohttp requests ];
disabledTests = [ disabledTests = [
# Test assumes user name is part of $HOME # Test assumes user name is part of $HOME
# AssertionError: assert 'nixbld' in '/homeless-shelter/foo/bar' # AssertionError: assert 'nixbld' in '/homeless-shelter/foo/bar'
"test_strip_protocol_expanduser" "test_strip_protocol_expanduser"
# flaky: works locally but fails on hydra # test accesses this remote ftp server:
# as it uses the install dir for tests instead of a temp dir # https://ftp.fau.de/debian-cd/current/amd64/log/success
# resolved in https://github.com/intake/filesystem_spec/issues/432 and "test_find"
# can be enabled again from version 0.8.4
"test_pathobject"
] ++ lib.optionals (stdenv.isDarwin) [ ] ++ lib.optionals (stdenv.isDarwin) [
# works locally on APFS, fails on hydra with AssertionError comparing timestamps # works locally on APFS, fails on hydra with AssertionError comparing timestamps
# darwin hydra builder uses HFS+ and has only one second timestamp resolution # darwin hydra builder uses HFS+ and has only one second timestamp resolution

View File

@ -0,0 +1,37 @@
{ buildPythonPackage, fetchFromGitHub, lib, pytestCheckHook, google-auth
, google-auth-oauthlib, requests, decorator, fsspec, ujson, aiohttp, crcmod
, pytest-vcr, vcrpy }:
buildPythonPackage rec {
pname = "gcsfs";
version = "2021.04.0";
# github sources needed for test data
src = fetchFromGitHub {
owner = "dask";
repo = pname;
rev = version;
sha256 = "sha256-OA43DaQue7R5d6SzfKThEQFEwJndjLfznu1LMubs5fs=";
};
propagatedBuildInputs = [
google-auth
google-auth-oauthlib
requests
decorator
fsspec
aiohttp
ujson
crcmod
];
checkInputs = [ pytestCheckHook pytest-vcr vcrpy ];
pythonImportsCheck = [ "gcsfs" ];
meta = with lib; {
description = "Convenient Filesystem interface over GCS";
homepage = "https://github.com/dask/gcsfs";
license = licenses.bsd3;
maintainers = [ maintainers.nbren12 ];
};
}

View File

@ -0,0 +1,27 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "nclib";
version = "1.0.0";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "0kf8x30lrwhijab586i54g70s3sxvm2945al48zj27grj0pagh7g";
};
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "nclib" ];
meta = with lib; {
description = "Python module that provides netcat features";
homepage = "https://nclib.readthedocs.io/";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -0,0 +1,25 @@
{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "sphinx-serve";
version = "1.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "8d90f6595114108500b1f935d3f4d07bf5192783c67ce83f944ef289099669c9";
};
doCheck = false; # No tests
pythonImportsCheck = [ "sphinx_serve" ];
meta = with lib; {
description = "Spawns a simple HTTP server to preview your sphinx documents";
homepage = "https://github.com/tlatsas/sphinx-serve";
maintainers = with maintainers; [ FlorianFranzen ];
license = licenses.mit;
};
}

View File

@ -2,32 +2,22 @@
, stdenv , stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, fetchpatch
, argh , argh
, pathtools , pathtools
, pyyaml , pyyaml
, pytest-cov
, pytestCheckHook , pytestCheckHook
, CoreServices , CoreServices
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "watchdog"; pname = "watchdog";
version = "2.0.2"; version = "2.0.3";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-Uy/t2ZPnVVRnH6o2zQTFgM7T+uCEJUp3mvu9iq8AVms="; sha256 = "sha256-QojTqYQyTbSS5XqhaWZiOKJXjwr1oIFoVSZgj7n2vWE=";
}; };
patches = [
(fetchpatch {
# Fix test flakiness on Apple Silicon, remove after upgrade to 2.0.6.
url = "https://github.com/gorakhargosh/watchdog/commit/331fd7c2c819663be39bc146e78ce67553f265fa.patch";
sha256 = "sha256-pLkZmbPN3qRNHs53OP0HIyDxqYCPPo6yOcBLD3aO2YE=";
})
];
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ]; buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -37,10 +27,15 @@ buildPythonPackage rec {
]; ];
checkInputs = [ checkInputs = [
pytest-cov
pytestCheckHook pytestCheckHook
]; ];
postPatch = ''
substituteInPlace setup.cfg \
--replace "--cov=watchdog" "" \
--replace "--cov-report=term-missing" ""
'';
pythonImportsCheck = [ "watchdog" ]; pythonImportsCheck = [ "watchdog" ];
meta = with lib; { meta = with lib; {

View File

@ -1,4 +1,4 @@
{lib, stdenv, fetchurl, fetchFromGitHub, jre}: {lib, stdenv, fetchpatch, fetchurl, fetchFromGitHub, jre}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "antlr"; pname = "antlr";
@ -14,6 +14,13 @@ stdenv.mkDerivation rec {
sha256 = "1i0w2v9prrmczlwkfijfp4zfqfgrss90a7yk2hg3y0gkg2s4abbk"; sha256 = "1i0w2v9prrmczlwkfijfp4zfqfgrss90a7yk2hg3y0gkg2s4abbk";
}; };
patches = [
(fetchpatch {
url = "https://src.fedoraproject.org/rpms/antlr3/raw/f1bb8d639678047935e1761c3bf3c1c7da8d0f1d/f/0006-antlr3memory.hpp-fix-for-C-20-mode.patch";
sha256 = "0apk904afjqbad6c7z9r72a9lkbz69vwrl8j2a6zgxjn8dfb2p8b";
})
];
installPhase = '' installPhase = ''
mkdir -p "$out"/{lib/antlr,bin,include} mkdir -p "$out"/{lib/antlr,bin,include}
cp "$jar" "$out/lib/antlr/antlr-${version}-complete.jar" cp "$jar" "$out/lib/antlr/antlr-${version}-complete.jar"

View File

@ -1,19 +1,19 @@
{ stdenv, lib, fetchurl, unzip }: { stdenv, lib, fetchurl, unzip }:
let let
version = "3.3.101"; version = "3.3.115";
src = src =
if stdenv.hostPlatform.system == "x86_64-darwin" then if stdenv.hostPlatform.system == "x86_64-darwin" then
fetchurl fetchurl
{ {
url = "https://update.tabnine.com/bundles/${version}/x86_64-apple-darwin/TabNine.zip"; url = "https://update.tabnine.com/bundles/${version}/x86_64-apple-darwin/TabNine.zip";
sha256 = "KrFDQSs7hMCioeqPKTNODe3RKnwNV8XafdYDUaxou/Y="; sha256 = "104h3b9cvmz2m27a94cfc00xm8wa2p1pvrfs92hrz59hcs8vdldf";
} }
else if stdenv.hostPlatform.system == "x86_64-linux" then else if stdenv.hostPlatform.system == "x86_64-linux" then
fetchurl fetchurl
{ {
url = "https://update.tabnine.com/bundles/${version}/x86_64-unknown-linux-musl/TabNine.zip"; url = "https://update.tabnine.com/bundles/${version}/x86_64-unknown-linux-musl/TabNine.zip";
sha256 = "vbeuZf/phOj83xTha+AzpKIvvrjwMar7q2teAmr5ESQ="; sha256 = "0rs2vmdz8c9zs53pjbzy27ir0p5v752cpsnqfaqf0ilx7k6fpnnm";
} }
else throw "Not supported on ${stdenv.hostPlatform.system}"; else throw "Not supported on ${stdenv.hostPlatform.system}";
in in
@ -32,6 +32,9 @@ stdenv.mkDerivation rec {
installPhase = '' installPhase = ''
install -Dm755 TabNine $out/bin/TabNine install -Dm755 TabNine $out/bin/TabNine
install -Dm755 TabNine-deep-cloud $out/bin/TabNine-deep-cloud
install -Dm755 TabNine-deep-local $out/bin/TabNine-deep-local
install -Dm755 WD-TabNine $out/bin/WD-TabNine
''; '';
meta = with lib; { meta = with lib; {

View File

@ -0,0 +1,32 @@
{ stdenv, lib, fetchFromGitHub, zig }:
stdenv.mkDerivation rec {
pname = "zls";
version = "0.1.0";
src = fetchFromGitHub {
owner = "zigtools";
repo = pname;
rev = version;
sha256 = "sha256-A4aOdmlIxBUeKyczzLxH4y1Rl9TgE1EeiKGbWY4p/00=";
fetchSubmodules = true;
};
nativeBuildInputs = [ zig ];
preBuild = ''
export HOME=$TMPDIR
'';
installPhase = ''
zig build -Drelease-safe --prefix $out install
'';
meta = with lib; {
description = "Zig LSP implementation + Zig Language Server";
changelog = "https://github.com/zigtools/zls/releases/tag/${version}";
homepage = "https://github.com/zigtools/zls";
license = [ licenses.mit ];
maintainers = with maintainers; [ fortuneteller2k ];
};
}

View File

@ -0,0 +1,43 @@
{ lib, stdenv, fetchFromGitHub, libftdi }:
stdenv.mkDerivation rec {
pname = "infnoise";
version = "unstable-2019-08-12";
src = fetchFromGitHub {
owner = "13-37-org";
repo = "infnoise";
rev = "132683d4b5ce0902468b666cba63baea36e97f0c";
sha256 = "1dzfzinyvhyy9zj32kqkl19fyhih6sy8r5sa3qahbbr4c30k7flp";
};
# Patch makefile so we can set defines from the command line instead of it depending on .git
patches = [ ./makefile.patch ];
GIT_COMMIT = src.rev;
GIT_VERSION = version;
GIT_DATE = "2019-08-12";
buildInputs = [ libftdi ];
sourceRoot = "source/software";
makefile = "Makefile.linux";
makeFlags = [ "PREFIX=$(out)" ];
postPatch = ''
substituteInPlace init_scripts/infnoise.service --replace "/usr/local" "$out"
'';
meta = with lib; {
homepage = "https://github.com/13-37-org/infnoise";
description = "Driver for the Infinite Noise TRNG";
longDescription = ''
The Infinite Noise TRNG is a USB key hardware true random number generator.
It can either provide rng for userland applications, or provide rng for the OS entropy.
Add the following to your system configuration for plug and play support, adding to the OS entropy:
systemd.packages = [ pkgs.infnoise ];
services.udev.packages = [ pkgs.infnoise ];
'';
license = licenses.cc0;
maintainers = with maintainers; [ StijnDW ];
platforms = platforms.linux;
};
}

View File

@ -0,0 +1,14 @@
diff --git a/software/Makefile.linux b/software/Makefile.linux
index db48aa5..df8b3d2 100644
--- a/Makefile.linux
+++ b/Makefile.linux
@@ -1,6 +1,6 @@
-GIT_VERSION := $(shell git --no-pager describe --tags --always)
-GIT_COMMIT := $(shell git rev-parse --verify HEAD)
-GIT_DATE := $(firstword $(shell git --no-pager show --date=iso-strict --format="%ad" --name-only))
+GIT_VERSION ?= $(shell git --no-pager describe --tags --always)
+GIT_COMMIT ?= $(shell git rev-parse --verify HEAD)
+GIT_DATE ?= $(firstword $(shell git --no-pager show --date=iso-strict --format="%ad" --name-only))
PREFIX = $(DESTDIR)/usr/local

View File

@ -1,30 +1,20 @@
{ lib { lib
, python3 , python3
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, ffmpeg , ffmpeg
}: }:
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "spotdl"; pname = "spotdl";
version = "3.5.1"; version = "3.5.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "spotDL"; owner = "spotDL";
repo = "spotify-downloader"; repo = "spotify-downloader";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-Mc0aODyt0rwmBhkvY/gH1ODz4k8LOxyU5xXglSb6sPs="; sha256 = "sha256-V9jIA+ULjZRj+uVy4Yh55PapPiqFy9I9ZVln1nt/bJw=";
}; };
patches = [
# https://github.com/spotDL/spotify-downloader/pull/1254
(fetchpatch {
name = "subprocess-dont-use-shell.patch";
url = "https://github.com/spotDL/spotify-downloader/commit/fe9848518900577776b463ef0798796201e226ac.patch";
sha256 = "1kqq3y31dcx1zglywr564hkd2px3qx6sk3rkg7yz8n5hnfjhp6fn";
})
];
propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = with python3.pkgs; [
spotipy spotipy
pytube pytube

View File

@ -1,16 +1,16 @@
{ lib, fetchFromGitHub, installShellFiles, rustPlatform, ronn, pkg-config, libsodium }: { lib, fetchFromGitHub, installShellFiles, rustPlatform, ronn, pkg-config, libsodium }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "bupstash"; pname = "bupstash";
version = "0.8.0"; version = "0.9.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "andrewchambers"; owner = "andrewchambers";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-zZHJlC0OICIc3G825t7GrZwdmkaaLQKzX2IwkKigkV4="; sha256 = "sha256-uA5XEG9nvqsXg34bqw8k4Rjk5F9bPFSk1HQ4Bv6Ar+I=";
}; };
cargoSha256 = "sha256-KVeIF6x+gpb8vkqCtZptF5EX9G1Zv6q8L6tskN6HziM="; cargoSha256 = "sha256-4r+Ioh6Waoy/7LVF3CPz18c2bCRYym5T4za1GSKw7WQ=";
nativeBuildInputs = [ ronn pkg-config installShellFiles ]; nativeBuildInputs = [ ronn pkg-config installShellFiles ];
buildInputs = [ libsodium ]; buildInputs = [ libsodium ];

View File

@ -16,16 +16,16 @@ with rustPlatform;
buildRustPackage rec { buildRustPackage rec {
pname = "ffsend"; pname = "ffsend";
version = "0.2.68"; version = "0.2.71";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "timvisee"; owner = "timvisee";
repo = "ffsend"; repo = "ffsend";
rev = "v${version}"; rev = "v${version}";
sha256 = "0ga1v4s8ks2v632mim8ljya0gi2j8bbwj98yfm3g00p0z1i526qk"; sha256 = "sha256-dXFnM8085XVzUwk1e3SoO+O+z9lJ40htJzHBGRQ95XY=";
}; };
cargoSha256 = "1n9pf29xid6jcas5yx94k4cpmqgx0kpqq7gwf83jisjywxzygh6w"; cargoSha256 = "sha256-VwxIH/n1DjZsMOLAREclqanb4q7QEOZ35KWWciyrnyQ=";
nativeBuildInputs = [ cmake pkg-config installShellFiles ]; nativeBuildInputs = [ cmake pkg-config installShellFiles ];
buildInputs = buildInputs =
@ -54,7 +54,7 @@ buildRustPackage rec {
web browser. web browser.
''; '';
homepage = "https://gitlab.com/timvisee/ffsend"; homepage = "https://gitlab.com/timvisee/ffsend";
license = licenses.gpl3; license = licenses.gpl3Only;
maintainers = with maintainers; [ lilyball equirosa ]; maintainers = with maintainers; [ lilyball equirosa ];
platforms = platforms.unix; platforms = platforms.unix;
}; };

View File

@ -23,14 +23,13 @@ let
}; };
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "ghidra"; pname = "ghidra";
version = "9.2.2"; version = "9.2.3";
versiondate = "20201229"; versiondate = "20210325";
src = fetchzip { src = fetchzip {
url = "https://www.ghidra-sre.org/ghidra_${version}_PUBLIC_${versiondate}.zip"; url = "https://www.ghidra-sre.org/ghidra_${version}_PUBLIC_${versiondate}.zip";
sha256 = "1xahkwiqdcwxssah16hhgrmyam49cb341xp5ysycj1h0kkm8p53s"; sha256 = "sha256-/rQ3JeOR/D+HxzkJ+nV+pd/7V81+tCyTOndwpXI05hg=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -72,7 +71,7 @@ in stdenv.mkDerivation rec {
homepage = "https://ghidra-sre.org/"; homepage = "https://ghidra-sre.org/";
platforms = [ "x86_64-linux" "x86_64-darwin" ]; platforms = [ "x86_64-linux" "x86_64-darwin" ];
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ ck3d govanify ]; maintainers = with maintainers; [ ck3d govanify mic92 ];
}; };
} }

View File

@ -1,4 +1,4 @@
# frozen_string_literal: true # frozen_string_literal: true
source "https://rubygems.org" source "https://rubygems.org"
gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/6.0.40" gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/6.0.41"

View File

@ -1,9 +1,9 @@
GIT GIT
remote: https://github.com/rapid7/metasploit-framework remote: https://github.com/rapid7/metasploit-framework
revision: fb842915658f23b8997aa2cab4c3a62f3170cbbd revision: 451fe6ffdb90fffe3df6b788e6410217a511a3f4
ref: refs/tags/6.0.40 ref: refs/tags/6.0.41
specs: specs:
metasploit-framework (6.0.40) metasploit-framework (6.0.41)
actionpack (~> 5.2.2) actionpack (~> 5.2.2)
activerecord (~> 5.2.2) activerecord (~> 5.2.2)
activesupport (~> 5.2.2) activesupport (~> 5.2.2)
@ -123,7 +123,7 @@ GEM
arel-helpers (2.12.0) arel-helpers (2.12.0)
activerecord (>= 3.1.0, < 7) activerecord (>= 3.1.0, < 7)
aws-eventstream (1.1.1) aws-eventstream (1.1.1)
aws-partitions (1.445.0) aws-partitions (1.446.0)
aws-sdk-core (3.114.0) aws-sdk-core (3.114.0)
aws-eventstream (~> 1, >= 1.0.2) aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.239.0) aws-partitions (~> 1, >= 1.239.0)
@ -146,7 +146,7 @@ GEM
aws-eventstream (~> 1, >= 1.0.2) aws-eventstream (~> 1, >= 1.0.2)
bcrypt (3.1.16) bcrypt (3.1.16)
bcrypt_pbkdf (1.1.0) bcrypt_pbkdf (1.1.0)
bindata (2.4.8) bindata (2.4.9)
bson (4.12.0) bson (4.12.0)
builder (3.2.4) builder (3.2.4)
concurrent-ruby (1.0.5) concurrent-ruby (1.0.5)
@ -168,11 +168,15 @@ GEM
eventmachine (1.2.7) eventmachine (1.2.7)
faker (2.17.0) faker (2.17.0)
i18n (>= 1.6, < 2) i18n (>= 1.6, < 2)
faraday (1.3.0) faraday (1.4.1)
faraday-excon (~> 1.1)
faraday-net_http (~> 1.0) faraday-net_http (~> 1.0)
faraday-net_http_persistent (~> 1.1)
multipart-post (>= 1.2, < 3) multipart-post (>= 1.2, < 3)
ruby2_keywords ruby2_keywords (>= 0.0.4)
faraday-excon (1.1.0)
faraday-net_http (1.0.1) faraday-net_http (1.0.1)
faraday-net_http_persistent (1.1.0)
faye-websocket (0.11.0) faye-websocket (0.11.0)
eventmachine (>= 0.12.0) eventmachine (>= 0.12.0)
websocket-driver (>= 0.5.1) websocket-driver (>= 0.5.1)

View File

@ -8,13 +8,13 @@ let
}; };
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "metasploit-framework"; pname = "metasploit-framework";
version = "6.0.40"; version = "6.0.41";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rapid7"; owner = "rapid7";
repo = "metasploit-framework"; repo = "metasploit-framework";
rev = version; rev = version;
sha256 = "sha256-QEaTHGCgBl1Lh6zZO1OSY3kS+6+xOr1lbHPNeS1DZZ8="; sha256 = "sha256-6oaTc3UQayZ/ThurwFXdI1prwriz/XVS9zoeD427mj8=";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];

View File

@ -114,10 +114,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1yvjc0vpcycr5plvkh63cjpivqi0slzq6sj60jllz8p99kli4xrj"; sha256 = "1n7cr44r7fvmc3rpk5kwwsz34ym2cmih76ij5xh2w1mmfyh3bgry";
type = "gem"; type = "gem";
}; };
version = "1.445.0"; version = "1.446.0";
}; };
aws-sdk-core = { aws-sdk-core = {
groups = ["default"]; groups = ["default"];
@ -204,10 +204,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1bmlqjb5h1ry6wm2d903d6yxibpqzzxwqczvlicsqv0vilaca5ic"; sha256 = "16z30ca74h1mr452jnj1csv6yfnmdxsz0m1xpjf3svwybrx25rng";
type = "gem"; type = "gem";
}; };
version = "2.4.8"; version = "2.4.9";
}; };
bson = { bson = {
groups = ["default"]; groups = ["default"];
@ -344,10 +344,20 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1hmssd8pj4n7yq4kz834ylkla8ryyvhaap6q9nzymp93m1xq21kz"; sha256 = "0q646m07lfahakx5jdq77j004rcgfj6lkg13c0f84993gi78dhvi";
type = "gem"; type = "gem";
}; };
version = "1.3.0"; version = "1.4.1";
};
faraday-excon = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0h09wkb0k0bhm6dqsd47ac601qiaah8qdzjh8gvxfd376x1chmdh";
type = "gem";
};
version = "1.1.0";
}; };
faraday-net_http = { faraday-net_http = {
groups = ["default"]; groups = ["default"];
@ -359,6 +369,16 @@
}; };
version = "1.0.1"; version = "1.0.1";
}; };
faraday-net_http_persistent = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0l2c835wl7gv34xp49fhd1bl4czkpw2g3ahqsak2251iqv5589ka";
type = "gem";
};
version = "1.1.0";
};
faye-websocket = { faye-websocket = {
groups = ["default"]; groups = ["default"];
platforms = []; platforms = [];
@ -514,12 +534,12 @@
platforms = []; platforms = [];
source = { source = {
fetchSubmodules = false; fetchSubmodules = false;
rev = "fb842915658f23b8997aa2cab4c3a62f3170cbbd"; rev = "451fe6ffdb90fffe3df6b788e6410217a511a3f4";
sha256 = "17v58cnpkkbkdijvsfmimzxi4yb3j99kpndchx5ms1m0c0f96ij0"; sha256 = "0gwspf6hy7isyx97bzdkp316nni3vmaw1aqv9rzjcsqhfmrr71pa";
type = "git"; type = "git";
url = "https://github.com/rapid7/metasploit-framework"; url = "https://github.com/rapid7/metasploit-framework";
}; };
version = "6.0.40"; version = "6.0.41";
}; };
metasploit-model = { metasploit-model = {
groups = ["default"]; groups = ["default"];

View File

@ -1567,6 +1567,10 @@ in
xcodeenv = callPackage ../development/mobile/xcodeenv { }; xcodeenv = callPackage ../development/mobile/xcodeenv { };
gomobile = callPackage ../development/mobile/gomobile {
buildGoModule = buildGo115Module;
};
ssh-agents = callPackage ../tools/networking/ssh-agents { }; ssh-agents = callPackage ../tools/networking/ssh-agents { };
ssh-import-id = python3Packages.callPackage ../tools/admin/ssh-import-id { }; ssh-import-id = python3Packages.callPackage ../tools/admin/ssh-import-id { };
@ -5951,11 +5955,7 @@ in
lbreakout2 = callPackage ../games/lbreakout2 { }; lbreakout2 = callPackage ../games/lbreakout2 { };
lefthook = callPackage ../applications/version-management/git-and-tools/lefthook { lefthook = callPackage ../applications/version-management/git-and-tools/lefthook { };
# Please use empty attrset once upstream bugs have been fixed
# https://github.com/Arkweid/lefthook/issues/151
buildGoModule = buildGo114Module;
};
lego = callPackage ../tools/admin/lego { }; lego = callPackage ../tools/admin/lego { };
@ -13702,6 +13702,8 @@ in
ytt = callPackage ../development/tools/ytt {}; ytt = callPackage ../development/tools/ytt {};
zls = callPackage ../development/tools/zls { };
zydis = callPackage ../development/libraries/zydis { }; zydis = callPackage ../development/libraries/zydis { };
winpdb = callPackage ../development/tools/winpdb { }; winpdb = callPackage ../development/tools/winpdb { };
@ -17523,6 +17525,10 @@ in
fftw = fftwFloat; fftw = fftwFloat;
}; };
sphinx = with python3Packages; toPythonApplication sphinx;
sphinx-serve = with python3Packages; toPythonApplication sphinx-serve;
sphinxbase = callPackage ../development/libraries/sphinxbase { }; sphinxbase = callPackage ../development/libraries/sphinxbase { };
sphinxsearch = callPackage ../servers/search/sphinxsearch { }; sphinxsearch = callPackage ../servers/search/sphinxsearch { };
@ -28954,6 +28960,7 @@ in
osi = callPackage ../development/libraries/science/math/osi { }; osi = callPackage ../development/libraries/science/math/osi { };
or-tools = callPackage ../development/libraries/science/math/or-tools { or-tools = callPackage ../development/libraries/science/math/or-tools {
python = python3;
abseil-cpp = abseil-cpp.override { static = true; }; abseil-cpp = abseil-cpp.override { static = true; };
}; };
@ -29866,6 +29873,8 @@ in
image_optim = callPackage ../applications/graphics/image_optim { inherit (nodePackages) svgo; }; image_optim = callPackage ../applications/graphics/image_optim { inherit (nodePackages) svgo; };
infnoise = callPackage ../misc/drivers/infnoise { };
# using the new configuration style proposal which is unstable # using the new configuration style proposal which is unstable
jack1 = callPackage ../misc/jackaudio/jack1.nix { }; jack1 = callPackage ../misc/jackaudio/jack1.nix { };

View File

@ -2584,6 +2584,8 @@ in {
gcovr = callPackage ../development/python-modules/gcovr { }; gcovr = callPackage ../development/python-modules/gcovr { };
gcsfs = callPackage ../development/python-modules/gcsfs { };
gdal = toPythonModule (pkgs.gdal.override { pythonPackages = self; }); gdal = toPythonModule (pkgs.gdal.override { pythonPackages = self; });
gdata = callPackage ../development/python-modules/gdata { }; gdata = callPackage ../development/python-modules/gdata { };
@ -4363,6 +4365,8 @@ in {
ncclient = callPackage ../development/python-modules/ncclient { }; ncclient = callPackage ../development/python-modules/ncclient { };
nclib = callPackage ../development/python-modules/nclib { };
ndg-httpsclient = callPackage ../development/python-modules/ndg-httpsclient { }; ndg-httpsclient = callPackage ../development/python-modules/ndg-httpsclient { };
ndjson = callPackage ../development/python-modules/ndjson { }; ndjson = callPackage ../development/python-modules/ndjson { };
@ -7607,6 +7611,8 @@ in {
sphinx_rtd_theme = callPackage ../development/python-modules/sphinx_rtd_theme { }; sphinx_rtd_theme = callPackage ../development/python-modules/sphinx_rtd_theme { };
sphinx-serve = callPackage ../development/python-modules/sphinx-serve { };
sphinx-testing = callPackage ../development/python-modules/sphinx-testing { }; sphinx-testing = callPackage ../development/python-modules/sphinx-testing { };
spidev = callPackage ../development/python-modules/spidev { }; spidev = callPackage ../development/python-modules/spidev { };