Merge master into staging-next

This commit is contained in:
github-actions[bot] 2021-04-18 18:10:37 +00:00 committed by GitHub
commit b57b2b362c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
31 changed files with 2856 additions and 410 deletions

View File

@ -38,6 +38,7 @@ lua-messagepack,,,,,
lua-resty-http,,,,, lua-resty-http,,,,,
lua-resty-jwt,,,,, lua-resty-jwt,,,,,
lua-resty-openidc,,,,, lua-resty-openidc,,,,,
lua-resty-openssl,,,,,
lua-resty-session,,,,, lua-resty-session,,,,,
lua-term,,,,, lua-term,,,,,
lua-toml,,,,, lua-toml,,,,,

1 # nix name luarocks name server version luaversion maintainers
38 lua-resty-http
39 lua-resty-jwt
40 lua-resty-openidc
41 lua-resty-openssl
42 lua-resty-session
43 lua-term
44 lua-toml

View File

@ -4,7 +4,7 @@ with lib;
let let
cfg = config.services.dnsdist; cfg = config.services.dnsdist;
configFile = pkgs.writeText "dndist.conf" '' configFile = pkgs.writeText "dnsdist.conf" ''
setLocal('${cfg.listenAddress}:${toString cfg.listenPort}') setLocal('${cfg.listenAddress}:${toString cfg.listenPort}')
${cfg.extraConfig} ${cfg.extraConfig}
''; '';

View File

@ -8,7 +8,6 @@ import ./make-test-python.nix ({ pkgs, ... }: {
environment.systemPackages = with pkgs; [ dbus ]; environment.systemPackages = with pkgs; [ dbus ];
services.packagekit = { services.packagekit = {
enable = true; enable = true;
backend = "test_nop";
}; };
}; };

View File

@ -5,13 +5,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "hydrogen"; pname = "hydrogen";
version = "1.0.1"; version = "1.0.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "hydrogen-music"; owner = "hydrogen-music";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0snljpvbcgikhz610c325dgvayi0k512p3bglck9vvi90wsqx7l1"; sha256 = "sha256-t3f+T1QTNbuJnWmD+q0yPgQxXPXvl91lZN17pKUVFlo=";
}; };
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ]; nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "Advanced drum machine"; description = "Advanced drum machine";
homepage = "http://www.hydrogen-music.org"; homepage = "http://www.hydrogen-music.org";
license = licenses.gpl2; license = licenses.gpl2Only;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ goibhniu orivej ]; maintainers = with maintainers; [ goibhniu orivej ];
}; };

View File

@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "Free Open-Source filesystem on-the-fly encryption"; description = "Free Open-Source filesystem on-the-fly encryption";
homepage = "https://www.veracrypt.fr/"; homepage = "https://www.veracrypt.fr/";
license = [ licenses.asl20 /* or */ "TrueCrypt License version 3.0" ]; license = with licenses; [ asl20 /* and */ unfree /* TrueCrypt License version 3.0 */ ];
maintainers = with maintainers; [ dsferruzza ]; maintainers = with maintainers; [ dsferruzza ];
platforms = platforms.linux; platforms = platforms.linux;
}; };

View File

@ -0,0 +1,45 @@
{ appimageTools, lib, fetchurl, gtk3, gsettings-desktop-schemas, version }:
let
pname = "losslesscut";
nameRepo = "lossless-cut";
nameCamel = "LosslessCut";
name = "${pname}-${version}";
nameSource = "${nameCamel}-linux.AppImage";
nameExecutable = "losslesscut";
owner = "mifi";
src = fetchurl {
url = "https://github.com/${owner}/${nameRepo}/releases/download/v${version}/${nameSource}";
name = nameSource;
sha256 = "0aqz5ijl5japfzzbcdcd2mmihkb8b2fc2hs9kkm3211yb37c5ygv";
};
extracted = appimageTools.extractType2 {
inherit name src;
};
in appimageTools.wrapType2 {
inherit name src;
profile = ''
export LC_ALL=C.UTF-8
export XDG_DATA_DIRS=${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS
'';
extraPkgs = ps: appimageTools.defaultFhsEnvArgs.multiPkgs ps;
extraInstallCommands = ''
mv $out/bin/{${name},${nameExecutable}}
(
mkdir -p $out/share
cd ${extracted}/usr
find share -mindepth 1 -type d -exec mkdir -p $out/{} \;
find share -mindepth 1 -type f,l -exec ln -s $PWD/{} $out/{} \;
)
ln -s ${extracted}/${nameExecutable}.png $out/share/icons/${nameExecutable}.png
mkdir $out/share/applications
cp ${extracted}/${nameExecutable}.desktop $out/share/applications
substituteInPlace $out/share/applications/${nameExecutable}.desktop \
--replace AppRun ${nameExecutable}
'';
meta.platforms = with lib.platforms; [ "x86_64-linux" ];
}

View File

@ -0,0 +1,24 @@
{ callPackage, stdenvNoCC, lib }:
let
version = "3.33.1";
appimage = callPackage ./appimage.nix { inherit version; };
dmg = callPackage ./dmg.nix { inherit version; };
windows = callPackage ./windows.nix { inherit version; };
in (
if stdenvNoCC.isDarwin then dmg
else if stdenvNoCC.isCygwin then windows
else appimage
).overrideAttrs
(oldAttrs: {
meta = with lib; {
description = "The swiss army knife of lossless video/audio editing";
homepage = "https://mifi.no/losslesscut/";
license = licenses.mit;
maintainers = with maintainers; [ ShamrockLee ];
} // oldAttrs.meta // {
platforms =
appimage.meta.platforms
++ dmg.meta.platforms
++ windows.meta.platforms;
};
})

View File

@ -0,0 +1,31 @@
{ stdenvNoCC, lib, fetchurl, undmg, version }:
let
pname = "losslesscut";
nameRepo = "lossless-cut";
nameCamel = "LosslessCut";
nameSource = "${nameCamel}-mac.dmg";
nameApp = nameCamel + ".app";
owner = "mifi";
src = fetchurl {
url = "https://github.com/${owner}/${nameRepo}/releases/download/v${version}/${nameSource}";
name = nameSource;
sha256 = "0xa1avbwar7x7kv5yn2ldca4vj3nwaz0dhjm3bcdy59q914xn3dj";
};
in stdenvNoCC.mkDerivation {
inherit pname version src;
nativeBuildInputs = [ undmg ];
unpackPhase = ''
undmg ${src}
'';
sourceRoot = nameApp;
installPhase = ''
mkdir -p $out/Applications/${nameApp}
cp -R . $out/Applications/${nameApp}
'';
meta.platforms = lib.platforms.darwin;
}

View File

@ -0,0 +1,45 @@
{ stdenvNoCC
, lib
, fetchurl
, unzip
, version
, useMklink ? false
, customSymlinkCommand ? null
}:
let
pname = "losslesscut";
nameRepo = "lossless-cut";
nameCamel = "LosslessCut";
nameSourceBase = "${nameCamel}-win";
nameSource = "${nameSourceBase}.zip";
nameExecutable = "${nameCamel}.exe";
owner = "mifi";
getSymlinkCommand = if (customSymlinkCommand != null) then customSymlinkCommand
else if useMklink then (targetPath: linkPath: "mklink ${targetPath} ${linkPath}")
else (targetPath: linkPath: "ln -s ${targetPath} ${linkPath}");
in stdenvNoCC.mkDerivation {
inherit pname version;
src = fetchurl {
name = nameSource;
url = "https://github.com/${owner}/${nameRepo}/releases/download/v${version}/${nameSource}";
sha256 = "1rq9frab0jl9y1mgmjhzsm734jvz0a646zq2wi5xzzspn4wikhvb";
};
nativeBuildInputs = [ unzip ];
unpackPhase = ''
unzip $src -d ${nameSourceBase}
'';
sourceRoot = nameSourceBase;
installPhase = ''
mkdir -p $out/bin $out/libexec
cd ..
mv ${nameSourceBase} $out/libexec
'' + (getSymlinkCommand "${nameSourceBase}/${nameExecutable}" "$out/bin/${nameExecutable}");
meta.platforms = lib.platforms.windows;
}

View File

@ -1,9 +1,7 @@
{ lib { lib
, fetchFromGitLab , fetchFromGitLab
# native # native
, intltool
, wrapGAppsHook , wrapGAppsHook
, file
# not native # not native
, xorg , xorg
, gobject-introspection , gobject-introspection
@ -13,22 +11,16 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "screenkey"; pname = "screenkey";
version = "1.2"; version = "1.4";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "screenkey"; owner = "screenkey";
repo = "screenkey"; repo = "screenkey";
rev = "v${version}"; rev = "v${version}";
sha256 = "1x13n57iy2pg3h3r994q3g5nbmh2gwk3qidmmcv0g7qa89n2gwbj"; sha256 = "1rfngmkh01g5192pi04r1fm7vsz6hg9k3qd313sn9rl9xkjgp11l";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
python3.pkgs.distutils_extra
# Shouldn't be needed once https://gitlab.com/screenkey/screenkey/-/issues/122 is fixed.
intltool
# We are not sure why is this needed, but without it we get "file: command
# not found" errors during build.
file
wrapGAppsHook wrapGAppsHook
# for setup hook # for setup hook
gobject-introspection gobject-introspection
@ -39,6 +31,7 @@ python3.pkgs.buildPythonApplication rec {
]; ];
propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = with python3.pkgs; [
Babel
pycairo pycairo
pygobject3 pygobject3
]; ];

View File

@ -43,6 +43,10 @@ mkDerivation rec {
patches = [ ./fix-application-path.patch ]; patches = [ ./fix-application-path.patch ];
postPatch = '' postPatch = ''
# https://github.com/NixOS/nixpkgs/issues/119766
substituteInPlace lxqtbacklight/linux_backend/driver/libbacklight_backend.c \
--replace "pkexec lxqt-backlight_backend" "pkexec $out/bin/lxqt-backlight_backend"
sed -i "s|\''${POLKITQT-1_POLICY_FILES_INSTALL_DIR}|''${out}/share/polkit-1/actions|" CMakeLists.txt sed -i "s|\''${POLKITQT-1_POLICY_FILES_INSTALL_DIR}|''${out}/share/polkit-1/actions|" CMakeLists.txt
''; '';

View File

@ -17,10 +17,7 @@ stdenv.mkDerivation rec {
# We need to force the autodetection because detection doesn't # We need to force the autodetection because detection doesn't
# work in pure build environments. # work in pure build environments.
configureFlags = [ configureFlags = [
("--with-pcap=" + { "--with-pcap=${if stdenv.isLinux then "linux" else "bpf"}"
linux = "linux";
darwin = "bpf";
}.${stdenv.hostPlatform.parsed.kernel.name})
] ++ optionals stdenv.isDarwin [ ] ++ optionals stdenv.isDarwin [
"--disable-universal" "--disable-universal"
] ++ optionals (stdenv.hostPlatform == stdenv.buildPlatform) ] ++ optionals (stdenv.hostPlatform == stdenv.buildPlatform)

View File

@ -693,11 +693,11 @@ lua-messagepack = buildLuarocksPackage {
}; };
lua-resty-http = buildLuarocksPackage { lua-resty-http = buildLuarocksPackage {
pname = "lua-resty-http"; pname = "lua-resty-http";
version = "0.15-0"; version = "0.16.1-0";
src = fetchurl { src = fetchurl {
url = mirror://luarocks/lua-resty-http-0.15-0.src.rock; url = "mirror://luarocks/lua-resty-http-0.16.1-0.src.rock";
sha256 = "1121abcz9y8kis2wdg7i1m75y8lplk3k49v02y804bywbl2km4fz"; sha256 = "0n5hiablpc0dsccs6h76zg81wc3jb4mdvyfn9lfxnhls3yqwrgkj";
}; };
disabled = (luaOlder "5.1"); disabled = (luaOlder "5.1");
propagatedBuildInputs = [ lua ]; propagatedBuildInputs = [ lua ];
@ -705,33 +705,35 @@ lua-resty-http = buildLuarocksPackage {
meta = with lib; { meta = with lib; {
homepage = "https://github.com/ledgetech/lua-resty-http"; homepage = "https://github.com/ledgetech/lua-resty-http";
description = "Lua HTTP client cosocket driver for OpenResty / ngx_lua."; description = "Lua HTTP client cosocket driver for OpenResty / ngx_lua.";
maintainers = with maintainers; [ bbigras ];
license.fullName = "2-clause BSD"; license.fullName = "2-clause BSD";
}; };
}; };
lua-resty-jwt = buildLuarocksPackage { lua-resty-jwt = buildLuarocksPackage {
pname = "lua-resty-jwt"; pname = "lua-resty-jwt";
version = "0.2.2-0"; version = "0.2.3-0";
src = fetchurl { src = fetchurl {
url = mirror://luarocks/lua-resty-jwt-0.2.2-0.src.rock; url = "mirror://luarocks/lua-resty-jwt-0.2.3-0.src.rock";
sha256 = "1a4wwiwcjwgr59g2940a2h0i6n1c7xjy2px5bls3x5br4shwhswa"; sha256 = "0s7ghldwrjnhyc205pvcvgdzrgg46qz42v449vrri0cysh8ad91y";
}; };
disabled = (luaOlder "5.1"); disabled = (luaOlder "5.1");
propagatedBuildInputs = [ lua ]; propagatedBuildInputs = [ lua lua-resty-openssl ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/cdbattags/lua-resty-jwt"; homepage = "https://github.com/cdbattags/lua-resty-jwt";
description = "JWT for ngx_lua and LuaJIT."; description = "JWT for ngx_lua and LuaJIT.";
maintainers = with maintainers; [ bbigras ];
license.fullName = "Apache License Version 2"; license.fullName = "Apache License Version 2";
}; };
}; };
lua-resty-openidc = buildLuarocksPackage { lua-resty-openidc = buildLuarocksPackage {
pname = "lua-resty-openidc"; pname = "lua-resty-openidc";
version = "1.7.2-1"; version = "1.7.4-1";
src = fetchurl { src = fetchurl {
url = mirror://luarocks/lua-resty-openidc-1.7.2-1.src.rock; url = "mirror://luarocks/lua-resty-openidc-1.7.4-1.src.rock";
sha256 = "01mya69r4fncfrpqh5pn2acg18q3slds8zm976qgkjby0pzwzzw7"; sha256 = "07ny9rl8zir1c3plrbdmd2a23ysrx45qam196nhqsz118xrbds78";
}; };
disabled = (luaOlder "5.1"); disabled = (luaOlder "5.1");
propagatedBuildInputs = [ lua lua-resty-http lua-resty-session lua-resty-jwt ]; propagatedBuildInputs = [ lua lua-resty-http lua-resty-session lua-resty-jwt ];
@ -739,16 +741,33 @@ lua-resty-openidc = buildLuarocksPackage {
meta = with lib; { meta = with lib; {
homepage = "https://github.com/zmartzone/lua-resty-openidc"; homepage = "https://github.com/zmartzone/lua-resty-openidc";
description = "A library for NGINX implementing the OpenID Connect Relying Party (RP) and the OAuth 2.0 Resource Server (RS) functionality"; description = "A library for NGINX implementing the OpenID Connect Relying Party (RP) and the OAuth 2.0 Resource Server (RS) functionality";
maintainers = with maintainers; [ bbigras ];
license.fullName = "Apache 2.0"; license.fullName = "Apache 2.0";
}; };
}; };
lua-resty-openssl = buildLuarocksPackage {
pname = "lua-resty-openssl";
version = "0.7.2-1";
src = fetchurl {
url = "mirror://luarocks/lua-resty-openssl-0.7.2-1.src.rock";
sha256 = "00z6adib31ax4givq4zrhbfxa6l99l2hhlxnjpb6rfl4gf8h82kq";
};
meta = with lib; {
homepage = "https://github.com/fffonion/lua-resty-openssl";
description = "No summary";
maintainers = with maintainers; [ bbigras ];
license.fullName = "BSD";
};
};
lua-resty-session = buildLuarocksPackage { lua-resty-session = buildLuarocksPackage {
pname = "lua-resty-session"; pname = "lua-resty-session";
version = "3.6-1"; version = "3.8-1";
src = fetchurl { src = fetchurl {
url = mirror://luarocks/lua-resty-session-3.6-1.src.rock; url = "mirror://luarocks/lua-resty-session-3.8-1.src.rock";
sha256 = "1r5626x247d1vi5bzqfk11bl4d5c39h1iqj6mgndnwpnz43cag5i"; sha256 = "1x4l6n0dnm4br4p376r8nkg53hwm6a48xkhrzhsh9fcd5xqgqvxz";
}; };
disabled = (luaOlder "5.1"); disabled = (luaOlder "5.1");
propagatedBuildInputs = [ lua ]; propagatedBuildInputs = [ lua ];
@ -756,6 +775,7 @@ lua-resty-session = buildLuarocksPackage {
meta = with lib; { meta = with lib; {
homepage = "https://github.com/bungle/lua-resty-session"; homepage = "https://github.com/bungle/lua-resty-session";
description = "Session Library for OpenResty Flexible and Secure"; description = "Session Library for OpenResty Flexible and Secure";
maintainers = with maintainers; [ bbigras ];
license.fullName = "BSD"; license.fullName = "BSD";
}; };
}; };

View File

@ -192,6 +192,7 @@
, "pyright" , "pyright"
, "quicktype" , "quicktype"
, "react-native-cli" , "react-native-cli"
, "react-static"
, "react-tools" , "react-tools"
, "readability-cli" , "readability-cli"
, "redoc-cli" , "redoc-cli"

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, click
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pur";
version = "5.4.0";
src = fetchFromGitHub {
owner = "alanhamlett";
repo = "pip-update-requirements";
rev = version;
sha256 = "1p2g0kz9l0rb59b3rkclb6wwidc93kwqh2hm4xc22b1w9r946six";
};
propagatedBuildInputs = [
click
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "pur" ];
meta = with lib; {
description = "Python library for update and track the requirements";
homepage = "https://github.com/alanhamlett/pip-update-requirements";
license = with licenses; [ bsd2 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -40,7 +40,7 @@ in stdenv.mkDerivation rec {
description = "Formal verification tool for distributed software systems"; description = "Formal verification tool for distributed software systems";
homepage = "http://spinroot.com/"; homepage = "http://spinroot.com/";
license = licenses.free; license = licenses.free;
platforms = platforms.linux; platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ pSub ]; maintainers = with maintainers; [ pSub ];
}; };
} }

View File

@ -2,7 +2,7 @@
buildGoModule rec { buildGoModule rec {
pname = "doctl"; pname = "doctl";
version = "1.58.0"; version = "1.59.0";
vendorSha256 = null; vendorSha256 = null;
@ -32,7 +32,7 @@ buildGoModule rec {
owner = "digitalocean"; owner = "digitalocean";
repo = "doctl"; repo = "doctl";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-zOEd7e9OgkQxVaHIw9LZJ7ufl2sNpMnTTM3KetiWl+w="; sha256 = "sha256-mkFKYWPUEHVtQi9eUPxvWYxNCfVrKdjo2bH2DEwL1d0=";
}; };
meta = with lib; { meta = with lib; {

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "sumneko-lua-language-server"; pname = "sumneko-lua-language-server";
version = "1.16.0"; version = "1.20.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sumneko"; owner = "sumneko";
repo = "lua-language-server"; repo = "lua-language-server";
rev = version; rev = version;
sha256 = "1fqhvmz7a4qgz3zq6qgpcjhhhm2j4wpx0385n3zcphd9h9s3a9xa"; sha256 = "sha256-7Ishq/TonJsteHBGDTNjImIwGPdeRgPS1g60d8bhTYg=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
@ -22,8 +22,8 @@ stdenv.mkDerivation rec {
''; '';
ninjaFlags = [ ninjaFlags = [
"-f ninja/linux.ninja" "-fninja/linux.ninja"
]; ];
postBuild = '' postBuild = ''
cd ../.. cd ../..
@ -31,6 +31,8 @@ stdenv.mkDerivation rec {
''; '';
installPhase = '' installPhase = ''
runHook preInstall
mkdir -p $out/bin $out/extras mkdir -p $out/bin $out/extras
cp -r ./{locale,meta,script,*.lua} $out/extras/ cp -r ./{locale,meta,script,*.lua} $out/extras/
cp ./bin/Linux/{bee.so,lpeglabel.so} $out/extras cp ./bin/Linux/{bee.so,lpeglabel.so} $out/extras
@ -40,6 +42,8 @@ stdenv.mkDerivation rec {
--add-flags "-E $out/extras/main.lua \ --add-flags "-E $out/extras/main.lua \
--logpath='~/.cache/sumneko_lua/log' \ --logpath='~/.cache/sumneko_lua/log' \
--metapath='~/.cache/sumneko_lua/meta'" --metapath='~/.cache/sumneko_lua/meta'"
runHook postInstall
''; '';
meta = with lib; { meta = with lib; {

View File

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "flyctl"; pname = "flyctl";
version = "0.0.170"; version = "0.0.210";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "superfly"; owner = "superfly";
repo = "flyctl"; repo = "flyctl";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-9lpO4E6tC2ao1/DFu++siHD0RRtOfUAhfMvVZPGdMsk="; sha256 = "sha256-9SHH54ryll2Mt22Z82YQIcNYk9raPyOZ/QFri2ebPrQ=";
}; };
preBuild = '' preBuild = ''
@ -17,7 +17,7 @@ buildGoModule rec {
subPackages = [ "." ]; subPackages = [ "." ];
vendorSha256 = "sha256-DPbCC2n4NpcUuniig7BLanJ84ny9U6eyhzGhsJLpgHA="; vendorSha256 = "sha256-eEcFxEpVBad57mJXaCCYVeMO+cooUOLsSTKIZnu8Bok=";
doCheck = false; doCheck = false;

View File

@ -106,19 +106,19 @@ self: super: {
LanguageClient-neovim = LanguageClient-neovim =
let let
version = "0.1.160"; version = "0.1.161";
LanguageClient-neovim-src = fetchFromGitHub { LanguageClient-neovim-src = fetchFromGitHub {
owner = "autozimu"; owner = "autozimu";
repo = "LanguageClient-neovim"; repo = "LanguageClient-neovim";
rev = version; rev = version;
sha256 = "143cifahav1pfmpx3j1ihx433jrwxf6z27s0wxndgjkd2plkks58"; sha256 = "Z9S2ie9RxJCIbmjSV/Tto4lK04cZfWmK3IAy8YaySVI=";
}; };
LanguageClient-neovim-bin = rustPlatform.buildRustPackage { LanguageClient-neovim-bin = rustPlatform.buildRustPackage {
pname = "LanguageClient-neovim-bin"; pname = "LanguageClient-neovim-bin";
inherit version; inherit version;
src = LanguageClient-neovim-src; src = LanguageClient-neovim-src;
cargoSha256 = "0mf94j85awdcqa6cyb89bipny9xg13ldkznjf002fq747f55my2a"; cargoSha256 = "H34UqJ6JOwuSABdOup5yKeIwFrGc83TUnw1ggJEx9o4=";
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ]; buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
# FIXME: Use impure version of CoreFoundation because of missing symbols. # FIXME: Use impure version of CoreFoundation because of missing symbols.

View File

@ -61,7 +61,7 @@ let
builder = ./builder.sh; builder = ./builder.sh;
meta = with lib; { meta = with lib; {
maintainers = with maintainers; [matthewbauer]; maintainers = with maintainers; [ matthewbauer qyliss ];
platforms = platforms.unix; platforms = platforms.unix;
license = licenses.bsd2; license = licenses.bsd2;
}; };

View File

@ -8,11 +8,22 @@ stdenv.mkDerivation rec {
url = "https://github.com/darlinghq/darling/archive/d2cc5fa748003aaa70ad4180fff0a9a85dc65e9b.tar.gz"; url = "https://github.com/darlinghq/darling/archive/d2cc5fa748003aaa70ad4180fff0a9a85dc65e9b.tar.gz";
sha256 = "11b51fw47nl505h63bgx5kqiyhf3glhp1q6jkpb6nqfislnzzkrf"; sha256 = "11b51fw47nl505h63bgx5kqiyhf3glhp1q6jkpb6nqfislnzzkrf";
postFetch = '' postFetch = ''
# Get rid of case conflict # The archive contains both `src/opendirectory` and `src/OpenDirectory`,
mkdir $out # pre-create the directory to choose the canonical case on
# case-insensitive filesystems.
mkdir -p $out/src/OpenDirectory
cd $out cd $out
tar -xzf $downloadedFile --strip-components=1 tar -xzf $downloadedFile --strip-components=1
rm -r $out/src/libm rm -r $out/src/libm
# If `src/opendirectory` and `src/OpenDirectory` refer to different
# things, then combine them into `src/OpenDirectory` to match the result
# on case-insensitive filesystems.
if [ "$(stat -c %i src/opendirectory)" != "$(stat -c %i src/OpenDirectory)" ]; then
mv src/opendirectory/* src/OpenDirectory/
rmdir src/opendirectory
fi
''; '';
}; };

View File

@ -1,4 +1,5 @@
{ lib, stdenv, fetchurl, lua, pkg-config, systemd, nixosTests { lib, stdenv, fetchurl, lua, pkg-config, nixosTests
, withSystemd ? stdenv.isLinux && !stdenv.hostPlatform.isMusl, systemd
, tlsSupport ? true, openssl , tlsSupport ? true, openssl
}: }:
@ -23,7 +24,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ lua ] buildInputs = [ lua ]
++ lib.optional (stdenv.isLinux && !stdenv.hostPlatform.isMusl) systemd ++ lib.optional withSystemd systemd
++ lib.optionals tlsSupport [ openssl ]; ++ lib.optionals tlsSupport [ openssl ];
# More cross-compiling fixes. # More cross-compiling fixes.
# Note: this enables libc malloc as a temporary fix for cross-compiling. # Note: this enables libc malloc as a temporary fix for cross-compiling.
@ -31,7 +32,7 @@ stdenv.mkDerivation rec {
# It's weird that the build isn't failing because of failure to compile dependencies, it's from failure to link them! # It's weird that the build isn't failing because of failure to compile dependencies, it's from failure to link them!
makeFlags = [ "PREFIX=$(out)" ] makeFlags = [ "PREFIX=$(out)" ]
++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ "AR=${stdenv.cc.targetPrefix}ar" "RANLIB=${stdenv.cc.targetPrefix}ranlib" "MALLOC=libc" ] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ "AR=${stdenv.cc.targetPrefix}ar" "RANLIB=${stdenv.cc.targetPrefix}ranlib" "MALLOC=libc" ]
++ lib.optional (stdenv.isLinux && !stdenv.hostPlatform.isMusl) ["USE_SYSTEMD=yes"] ++ lib.optional withSystemd [ "USE_SYSTEMD=yes" ]
++ lib.optionals tlsSupport [ "BUILD_TLS=yes" ]; ++ lib.optionals tlsSupport [ "BUILD_TLS=yes" ];
enableParallelBuilding = true; enableParallelBuilding = true;

View File

@ -10,11 +10,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "nncp"; pname = "nncp";
version = "6.2.0"; version = "6.3.0";
src = fetchurl { src = fetchurl {
url = "http://www.nncpgo.org/download/${pname}-${version}.tar.xz"; url = "http://www.nncpgo.org/download/${pname}-${version}.tar.xz";
sha256 = "1zj0v82zqigcxhpc50mvafvi1ihs92ck35vjfrwb7wzzd7nysb17"; sha256 = "0ss6p91r9sr3q8p8f6mjjc2cspx3fq0q4w44gfxl0da2wc8nmhkn";
}; };
nativeBuildInputs = [ go redo-apenwarr ]; nativeBuildInputs = [ go redo-apenwarr ];

View File

@ -1,25 +1,21 @@
{ buildGoModule { lib
, buildGoModule
, fetchFromGitHub , fetchFromGitHub
, lib
}: }:
buildGoModule rec { buildGoModule rec {
pname = "ffuf"; pname = "ffuf";
version = "1.2.1"; version = "1.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-XSdFLfSYDdKI7BYo9emYanvZeSFGxiNLYxuw5QKAyRc="; sha256 = "sha256-0ckpEiXxen2E9IzrsmKoEKagoJ5maAbH1tHKgQjoCjo=";
}; };
vendorSha256 = "sha256-szT08rIozAuliOmge5RFX4NeVrJ2pCVyfotrHuvc0UU="; vendorSha256 = "sha256-szT08rIozAuliOmge5RFX4NeVrJ2pCVyfotrHuvc0UU=";
# tests don't pass due to an issue with the memory addresses
# https://github.com/ffuf/ffuf/issues/367
doCheck = false;
meta = with lib; { meta = with lib; {
description = "Fast web fuzzer written in Go"; description = "Fast web fuzzer written in Go";
longDescription = '' longDescription = ''

View File

@ -0,0 +1,30 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "traitor";
version = "0.0.3";
src = fetchFromGitHub {
owner = "liamg";
repo = pname;
rev = "v${version}";
sha256 = "0mffh4k87ybl0mpglgi2yfwksygrh62mcmkcmfcbszlh5pagsch1";
};
vendorSha256 = null;
meta = with lib; {
description = "Automatic Linux privilege escalation";
longDescription = ''
Automatically exploit low-hanging fruit to pop a root shell. Traitor packages
up a bunch of methods to exploit local misconfigurations and vulnerabilities
(including most of GTFOBins) in order to pop a root shell.
'';
homepage = "https://github.com/liamg/traitor";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "frangipanni"; pname = "frangipanni";
version = "0.4.2"; version = "0.5.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "birchb1024"; owner = "birchb1024";
repo = "frangipanni"; repo = "frangipanni";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-RzXfsaT/CUyWCpB5JGgl511gxgvzerqgwjpORgzyPCQ="; sha256 = "sha256-jIXyqwZWfCBSDTTodHTct4V5rjYv7h4Vcw7cXOFk17w=";
}; };
vendorSha256 = "sha256-TSN5M/UCTtfoTf1hDCfrJMCFdSwL/NVXssgt4aefom8="; vendorSha256 = "sha256-TSN5M/UCTtfoTf1hDCfrJMCFdSwL/NVXssgt4aefom8=";

View File

@ -9314,6 +9314,8 @@ in
tradcpp = callPackage ../development/tools/tradcpp { }; tradcpp = callPackage ../development/tools/tradcpp { };
traitor = callPackage ../tools/security/traitor { };
tre = callPackage ../development/libraries/tre { }; tre = callPackage ../development/libraries/tre { };
tremor-rs = callPackage ../tools/misc/tremor-rs { }; tremor-rs = callPackage ../tools/misc/tremor-rs { };
@ -24237,6 +24239,8 @@ in
portaudio = null; portaudio = null;
}; };
losslesscut-bin = callPackage ../applications/video/losslesscut-bin { };
loxodo = callPackage ../applications/misc/loxodo { }; loxodo = callPackage ../applications/misc/loxodo { };
lsd2dsl = libsForQt5.callPackage ../applications/misc/lsd2dsl { }; lsd2dsl = libsForQt5.callPackage ../applications/misc/lsd2dsl { };

View File

@ -5116,6 +5116,8 @@ in {
pulsectl = callPackage ../development/python-modules/pulsectl { }; pulsectl = callPackage ../development/python-modules/pulsectl { };
pur = callPackage ../development/python-modules/pur { };
pure-cdb = callPackage ../development/python-modules/pure-cdb { }; pure-cdb = callPackage ../development/python-modules/pure-cdb { };
pure-eval = callPackage ../development/python-modules/pure-eval { }; pure-eval = callPackage ../development/python-modules/pure-eval { };

View File

@ -1280,10 +1280,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1p1iviq8q9za2hg0vqyrarrc3mqfskgp7spxp37xj0kl3g89vswq"; sha256 = "1nw1gscax8zsv1m682h9f8vys26385nrwpkbigiifs5bsz6272rk";
type = "gem"; type = "gem";
}; };
version = "1.4.1"; version = "1.4.2";
}; };
libv8 = { libv8 = {
groups = ["default"]; groups = ["default"];