Merge master into staging-next
This commit is contained in:
commit
403b148aa5
|
@ -7804,7 +7804,6 @@
|
||||||
name = "Claudius Holeksa";
|
name = "Claudius Holeksa";
|
||||||
};
|
};
|
||||||
ken-matsui = {
|
ken-matsui = {
|
||||||
email = "nix@kmatsui.me";
|
|
||||||
github = "ken-matsui";
|
github = "ken-matsui";
|
||||||
githubId = 26405363;
|
githubId = 26405363;
|
||||||
name = "Ken Matsui";
|
name = "Ken Matsui";
|
||||||
|
@ -9255,6 +9254,12 @@
|
||||||
github = "marius851000";
|
github = "marius851000";
|
||||||
githubId = 22586596;
|
githubId = 22586596;
|
||||||
};
|
};
|
||||||
|
markbeep = {
|
||||||
|
email = "mrkswrn@gmail.com";
|
||||||
|
github = "markbeep";
|
||||||
|
githubId = 20665331;
|
||||||
|
name = "Mark";
|
||||||
|
};
|
||||||
markus1189 = {
|
markus1189 = {
|
||||||
email = "markus1189@gmail.com";
|
email = "markus1189@gmail.com";
|
||||||
github = "markus1189";
|
github = "markus1189";
|
||||||
|
|
|
@ -20,6 +20,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
|
||||||
}; in {
|
}; in {
|
||||||
pomerium = { pkgs, lib, ... }: {
|
pomerium = { pkgs, lib, ... }: {
|
||||||
imports = [ (base "192.168.1.1") ];
|
imports = [ (base "192.168.1.1") ];
|
||||||
|
environment.systemPackages = with pkgs; [ chromium ];
|
||||||
services.pomerium = {
|
services.pomerium = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
@ -98,5 +99,11 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
|
||||||
pomerium.succeed(
|
pomerium.succeed(
|
||||||
"curl -L --resolve login.required:80:127.0.0.1 http://login.required | grep 'hello I am login page'"
|
"curl -L --resolve login.required:80:127.0.0.1 http://login.required | grep 'hello I am login page'"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
with subtest("ui"):
|
||||||
|
pomerium.succeed(
|
||||||
|
# check for a string that only appears if the UI is displayed correctly
|
||||||
|
"chromium --no-sandbox --headless --disable-gpu --dump-dom --host-resolver-rules='MAP login.required 127.0.0.1:80' http://login.required/.pomerium | grep 'contact your administrator'"
|
||||||
|
)
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
{ stdenv, lib, cmake, pkg-config, fetchFromGitHub, qtbase, qtsvg, qtmultimedia, qtimageformats, qttools, boost, openssl, wrapQtAppsHook }:
|
{ stdenv, lib, cmake, pkg-config, fetchFromGitHub, qtbase, qtsvg, qtmultimedia, qtimageformats, qttools, boost, openssl, wrapQtAppsHook, libsecret }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "chatterino2";
|
pname = "chatterino2";
|
||||||
version = "2.4.0";
|
version = "2.4.2";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Chatterino";
|
owner = "Chatterino";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-6t7Or2heyV0B5zdWZpN80iADe52faNVlIEZYtcixpZo=";
|
sha256 = "sha256-d/rsY4pgPpA4JcMmoD6AG1DzHovfSERaeuYkMY603kA=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
|
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
|
||||||
buildInputs = [ qtbase qtsvg qtmultimedia qtimageformats qttools boost openssl ];
|
buildInputs = [ qtbase qtsvg qtmultimedia qtimageformats qttools boost openssl libsecret ];
|
||||||
postInstall = lib.optionalString stdenv.isDarwin ''
|
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||||
mkdir -p "$out/Applications"
|
mkdir -p "$out/Applications"
|
||||||
mv bin/chatterino.app "$out/Applications/"
|
mv bin/chatterino.app "$out/Applications/"
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
{ airspy
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, airspy
|
||||||
, airspyhf
|
, airspyhf
|
||||||
, aptdec
|
, aptdec
|
||||||
, boost
|
, boost
|
||||||
|
@ -13,7 +15,6 @@
|
||||||
, glew
|
, glew
|
||||||
, hackrf
|
, hackrf
|
||||||
, hidapi
|
, hidapi
|
||||||
, lib
|
|
||||||
, ffmpeg
|
, ffmpeg
|
||||||
, libiio
|
, libiio
|
||||||
, libopus
|
, libopus
|
||||||
|
@ -95,7 +96,7 @@ mkDerivation rec {
|
||||||
"-DDAB_LIB=${dab_lib}"
|
"-DDAB_LIB=${dab_lib}"
|
||||||
"-DLIBSERIALDV_INCLUDE_DIR:PATH=${serialdv}/include/serialdv"
|
"-DLIBSERIALDV_INCLUDE_DIR:PATH=${serialdv}/include/serialdv"
|
||||||
"-DLIMESUITE_INCLUDE_DIR:PATH=${limesuite}/include"
|
"-DLIMESUITE_INCLUDE_DIR:PATH=${limesuite}/include"
|
||||||
"-DLIMESUITE_LIBRARY:FILEPATH=${limesuite}/lib/libLimeSuite.so"
|
"-DLIMESUITE_LIBRARY:FILEPATH=${limesuite}/lib/libLimeSuite${stdenv.hostPlatform.extensions.sharedLibrary}"
|
||||||
"-DSGP4_DIR=${sgp4}"
|
"-DSGP4_DIR=${sgp4}"
|
||||||
"-DSOAPYSDR_DIR=${soapysdr-with-plugins}"
|
"-DSOAPYSDR_DIR=${soapysdr-with-plugins}"
|
||||||
];
|
];
|
||||||
|
@ -110,6 +111,6 @@ mkDerivation rec {
|
||||||
homepage = "https://github.com/f4exb/sdrangel";
|
homepage = "https://github.com/f4exb/sdrangel";
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [ alkeryn ];
|
maintainers = with maintainers; [ alkeryn ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,13 +20,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "nest";
|
pname = "nest";
|
||||||
version = "3.3";
|
version = "3.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nest";
|
owner = "nest";
|
||||||
repo = "nest-simulator";
|
repo = "nest-simulator";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-wmn5LOOHlSuyPdV6O6v7j10dxdcvqpym6MfveZdL+dU=";
|
hash = "sha256-+wjsZxW2l0WGyGTm/6vyzPEeqCfyxJml9oP/zn6W1L0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
# Alternative to autoPatchElf, moves libraries where
|
# Alternative to autoPatchElf, moves libraries where
|
||||||
# Nest expects them to be
|
# Nest expects them to be
|
||||||
find $out/lib/nest -type f -exec ln -s {} $out/lib \;
|
find $out/lib/nest -exec ln -s {} $out/lib \;
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.tests.version = testers.testVersion {
|
passthru.tests.version = testers.testVersion {
|
||||||
|
@ -78,7 +78,8 @@ stdenv.mkDerivation rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "NEST is a command line tool for simulating neural networks";
|
description = "NEST is a command line tool for simulating neural networks";
|
||||||
homepage = "https://www.nest-simulator.org/";
|
homepage = "https://www.nest-simulator.org/";
|
||||||
license = licenses.gpl2;
|
changelog = "https://github.com/nest/nest-simulator/releases/tag/v${version}";
|
||||||
|
license = licenses.gpl2Plus;
|
||||||
maintainers = with maintainers; [ jiegec davidcromp ];
|
maintainers = with maintainers; [ jiegec davidcromp ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
|
|
|
@ -45,10 +45,8 @@ testers.nixosTest {
|
||||||
""")
|
""")
|
||||||
'';
|
'';
|
||||||
meta = {
|
meta = {
|
||||||
license = lib.licenses.mit; # nixpkgs license
|
|
||||||
maintainers = with lib.maintainers; [
|
maintainers = with lib.maintainers; [
|
||||||
roberth
|
roberth
|
||||||
];
|
];
|
||||||
description = "Run the Nixpkgs trivial builders tests";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,13 +26,13 @@ lib.checkListOfEnum "${pname}: theme tweaks" validTweaks tweaks
|
||||||
stdenvNoCC.mkDerivation
|
stdenvNoCC.mkDerivation
|
||||||
rec {
|
rec {
|
||||||
inherit pname;
|
inherit pname;
|
||||||
version = "2023-02-26";
|
version = "2023-03-18";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
repo = "Orchis-theme";
|
repo = "Orchis-theme";
|
||||||
owner = "vinceliuice";
|
owner = "vinceliuice";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-Qk5MK8S8rIcwO7Kmze6eAl5qcwnrGsiWbn0WNIPjRnA=";
|
hash = "sha256-ixVHQRJXoXuPEsrbWOVMC/qdF3szpxYzC/8kKe47Bs8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ gtk3 sassc ];
|
nativeBuildInputs = [ gtk3 sassc ];
|
||||||
|
|
|
@ -1,4 +1,11 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, wxGTK, libX11, readline }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, wxGTK32
|
||||||
|
, libX11
|
||||||
|
, readline
|
||||||
|
, darwin
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
# BOSSA needs a "bin2c" program to embed images.
|
# BOSSA needs a "bin2c" program to embed images.
|
||||||
|
@ -24,11 +31,27 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "sha256-8M3MU/+Y1L6SaQ1yoC9Z27A/gGruZdopLnL1z7h7YJw=";
|
sha256 = "sha256-8M3MU/+Y1L6SaQ1yoC9Z27A/gGruZdopLnL1z7h7YJw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ bin2c ];
|
postPatch = ''
|
||||||
buildInputs = [ wxGTK libX11 readline ];
|
substituteInPlace Makefile \
|
||||||
|
--replace "-arch x86_64" ""
|
||||||
|
'';
|
||||||
|
|
||||||
# Explicitly specify targets so they don't get stripped.
|
nativeBuildInputs = [ bin2c ];
|
||||||
makeFlags = [ "bin/bossac" "bin/bossash" "bin/bossa" ];
|
buildInputs = [
|
||||||
|
wxGTK32
|
||||||
|
libX11
|
||||||
|
readline
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
darwin.apple_sdk.frameworks.Cocoa
|
||||||
|
];
|
||||||
|
|
||||||
|
makeFlags = [
|
||||||
|
"WXVERSION=3.2"
|
||||||
|
# Explicitly specify targets so they don't get stripped.
|
||||||
|
"bin/bossac"
|
||||||
|
"bin/bossash"
|
||||||
|
"bin/bossa"
|
||||||
|
];
|
||||||
env.NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
|
env.NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -47,6 +70,6 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
homepage = "http://www.shumatech.com/web/products/bossa";
|
homepage = "http://www.shumatech.com/web/products/bossa";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,6 +26,6 @@ stdenv.mkDerivation {
|
||||||
homepage = "https://github.com/Xerbo/aptdec";
|
homepage = "https://github.com/Xerbo/aptdec";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = with maintainers; [ alexwinter ];
|
maintainers = with maintainers; [ alexwinter ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Fast GF(256) Cauchy MDS Block Erasure Codec in C++";
|
description = "Fast GF(256) Cauchy MDS Block Erasure Codec in C++";
|
||||||
homepage = "https://github.com/f4exb/cm256cc";
|
homepage = "https://github.com/f4exb/cm256cc";
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
maintainers = with maintainers; [ alkeryn ];
|
maintainers = with maintainers; [ alkeryn ];
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
};
|
};
|
||||||
|
|
|
@ -23,6 +23,6 @@ stdenv.mkDerivation {
|
||||||
homepage = "https://github.com/JvanKatwijk/dab-cmdline";
|
homepage = "https://github.com/JvanKatwijk/dab-cmdline";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = with maintainers; [ alexwinter ];
|
maintainers = with maintainers; [ alexwinter ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,6 +30,6 @@ stdenv.mkDerivation rec {
|
||||||
homepage = "https://github.com/f4exb/dsdcc";
|
homepage = "https://github.com/f4exb/dsdcc";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
maintainers = with maintainers; [ alexwinter ];
|
maintainers = with maintainers; [ alexwinter ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
, enableDC1394 ? false, libdc1394
|
, enableDC1394 ? false, libdc1394
|
||||||
, enableDocs ? false, doxygen, graphviz-nox
|
, enableDocs ? false, doxygen, graphviz-nox
|
||||||
|
|
||||||
, AVFoundation, Cocoa, VideoDecodeAcceleration, bzip2
|
, AVFoundation, Cocoa, VideoDecodeAcceleration, bzip2, CoreMedia, MediaToolbox
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert blas.implementation == "openblas" && lapack.implementation == "openblas";
|
assert blas.implementation == "openblas" && lapack.implementation == "openblas";
|
||||||
|
@ -211,7 +211,7 @@ stdenv.mkDerivation {
|
||||||
# tesseract & leptonica.
|
# tesseract & leptonica.
|
||||||
++ lib.optionals enableTesseract [ tesseract leptonica ]
|
++ lib.optionals enableTesseract [ tesseract leptonica ]
|
||||||
++ lib.optional enableTbb tbb
|
++ lib.optional enableTbb tbb
|
||||||
++ lib.optionals stdenv.isDarwin [ bzip2 AVFoundation Cocoa VideoDecodeAcceleration ]
|
++ lib.optionals stdenv.isDarwin [ bzip2 AVFoundation Cocoa VideoDecodeAcceleration CoreMedia MediaToolbox ]
|
||||||
++ lib.optionals enableDocs [ doxygen graphviz-nox ];
|
++ lib.optionals enableDocs [ doxygen graphviz-nox ];
|
||||||
|
|
||||||
propagatedBuildInputs = lib.optional enablePython pythonPackages.numpy
|
propagatedBuildInputs = lib.optional enablePython pythonPackages.numpy
|
||||||
|
@ -250,7 +250,6 @@ stdenv.mkDerivation {
|
||||||
] ++ lib.optionals stdenv.isDarwin [
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
"-DWITH_OPENCL=OFF"
|
"-DWITH_OPENCL=OFF"
|
||||||
"-DWITH_LAPACK=OFF"
|
"-DWITH_LAPACK=OFF"
|
||||||
"-DBUILD_opencv_videoio=OFF"
|
|
||||||
] ++ lib.optionals enablePython [
|
] ++ lib.optionals enablePython [
|
||||||
"-DOPENCV_SKIP_PYTHON_LOADER=ON"
|
"-DOPENCV_SKIP_PYTHON_LOADER=ON"
|
||||||
] ++ lib.optionals enableEigen [
|
] ++ lib.optionals enableEigen [
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{ qtModule, speechd, pkg-config }:
|
{ lib, qtModule, stdenv, speechd, pkg-config }:
|
||||||
|
|
||||||
qtModule {
|
qtModule {
|
||||||
pname = "qtspeech";
|
pname = "qtspeech";
|
||||||
qtInputs = [ ];
|
qtInputs = [ ];
|
||||||
buildInputs = [ speechd ];
|
buildInputs = lib.optionals stdenv.isLinux [ speechd ];
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -221,6 +221,7 @@ qtModule {
|
||||||
Prefix = ..
|
Prefix = ..
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
'' + ''
|
||||||
# Fix for out-of-sync QtWebEngine and Qt releases (since 5.15.3)
|
# Fix for out-of-sync QtWebEngine and Qt releases (since 5.15.3)
|
||||||
sed 's/${lib.head (lib.splitString "-" version)} /${qtCompatVersion} /' -i "$out"/lib/cmake/*/*Config.cmake
|
sed 's/${lib.head (lib.splitString "-" version)} /${qtCompatVersion} /' -i "$out"/lib/cmake/*/*Config.cmake
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "C++ Minimal interface to encode and decode audio with AMBE3000 based devices in packet mode over a serial link";
|
description = "C++ Minimal interface to encode and decode audio with AMBE3000 based devices in packet mode over a serial link";
|
||||||
homepage = "https://github.com/f4exb/serialdv";
|
homepage = "https://github.com/f4exb/serialdv";
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
maintainers = with maintainers; [ alkeryn ];
|
maintainers = with maintainers; [ alkeryn ];
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
};
|
};
|
||||||
|
|
|
@ -18,6 +18,6 @@ stdenv.mkDerivation {
|
||||||
homepage = "https://github.com/dnwrnr/sgp4";
|
homepage = "https://github.com/dnwrnr/sgp4";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ alexwinter ];
|
maintainers = with maintainers; [ alexwinter ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,14 +6,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "peaqevcore";
|
pname = "peaqevcore";
|
||||||
version = "13.2.0";
|
version = "13.2.2";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-fu4NL5m8+eae2+sTyi1yNA1J2qQfjfSlbIQyorlXZ6Y=";
|
hash = "sha256-N/tLoZNiMY1rzzToVvE9U4buUsmsDEcnKPOuifh7qg0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyobihai";
|
pname = "pyobihai";
|
||||||
version = "1.4.0";
|
version = "1.4.1";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||||
# GitHub release, https://github.com/dshokouhi/pyobihai/issues/10
|
# GitHub release, https://github.com/dshokouhi/pyobihai/issues/10
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-P6tKpssey59SdjS/QWpuv1UUagjR7RVAl6rse/O79mg=";
|
hash = "sha256-L/AQy9IxsBDeSlu+45j+/86jjMFzTjAkPGwZoa1QYho=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -161,5 +161,6 @@ buildPythonPackage rec {
|
||||||
changelog = "https://github.com/python-lsp/python-lsp-server/blob/v${version}/CHANGELOG.md";
|
changelog = "https://github.com/python-lsp/python-lsp-server/blob/v${version}/CHANGELOG.md";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
|
mainProgram = "pylsp";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{ lib, stdenv, fetchzip, zlib, xorg, freetype, jdk11, curl }:
|
{ lib, stdenv, fetchzip, zlib, xorg, freetype, jdk17, curl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "codeql";
|
pname = "codeql";
|
||||||
version = "2.12.3";
|
version = "2.12.4";
|
||||||
|
|
||||||
dontConfigure = true;
|
dontConfigure = true;
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://github.com/github/codeql-cli-binaries/releases/download/v${version}/codeql.zip";
|
url = "https://github.com/github/codeql-cli-binaries/releases/download/v${version}/codeql.zip";
|
||||||
sha256 = "sha256-xBTL3atnLsw7HWhkWq32LdQmSBtsQ2ydK+8On8l+OcA=";
|
sha256 = "sha256-Rmz35iyLXmNePHFVN8QmjeoKbR3eRy7nrY1FJpTfL7o=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||||
xorg.libXtst
|
xorg.libXtst
|
||||||
xorg.libXrender
|
xorg.libXrender
|
||||||
freetype
|
freetype
|
||||||
jdk11
|
jdk17
|
||||||
stdenv.cc.cc.lib
|
stdenv.cc.cc.lib
|
||||||
curl
|
curl
|
||||||
];
|
];
|
||||||
|
@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
ln -sf $out/codeql/tools/linux64/lib64trace.so $out/codeql/tools/linux64/libtrace.so
|
ln -sf $out/codeql/tools/linux64/lib64trace.so $out/codeql/tools/linux64/libtrace.so
|
||||||
|
|
||||||
sed -i 's%\$CODEQL_DIST/tools/\$CODEQL_PLATFORM/java%\${jdk11}%g' $out/codeql/codeql
|
sed -i 's%\$CODEQL_DIST/tools/\$CODEQL_PLATFORM/java%\${jdk17}%g' $out/codeql/codeql
|
||||||
|
|
||||||
ln -s $out/codeql/codeql $out/bin/
|
ln -s $out/codeql/codeql $out/bin/
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -44,6 +44,9 @@ buildGoModule rec {
|
||||||
export CI=true
|
export CI=true
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# Allow tests that bind or connect to localhost on macOS.
|
||||||
|
__darwinAllowLocalNetworking = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "esbuild";
|
pname = "esbuild";
|
||||||
version = "0.17.11";
|
version = "0.17.12";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "evanw";
|
owner = "evanw";
|
||||||
repo = "esbuild";
|
repo = "esbuild";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-k7bXEDAmxyn2u/cniqKtr9zbrWnzwbhTZkL35/igctM=";
|
hash = "sha256-75qDQWAp6cmuXtq90oIIQCj5IKUoQxNARxhFo2Sm5mk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-+BfxCyg0KkDQpHt/wycy/8CTG6YBA/VJvJFhhzUnSiQ=";
|
vendorHash = "sha256-+BfxCyg0KkDQpHt/wycy/8CTG6YBA/VJvJFhhzUnSiQ=";
|
||||||
|
|
|
@ -2,18 +2,16 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "golangci-lint";
|
pname = "golangci-lint";
|
||||||
version = "1.51.2";
|
version = "1.52.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "golangci";
|
owner = "golangci";
|
||||||
repo = "golangci-lint";
|
repo = "golangci-lint";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-F2rkVZ5ia9/wyTw1WIeizFnuaHoS2A8VzVOGDcshy64=";
|
hash = "sha256-XcrWBHmxsDwsP/+H0OTmGKVG9NgBwR5dBY9sJZWo+K8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-JO/mRJB3gRTtBj6pW1267/xXUtalTJo0p3q5e34vqTs=";
|
vendorHash = "sha256-N20AJaREqmvCey5P0YuUd3l/5xRzrIG+mPOiVHOUFWc=";
|
||||||
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
subPackages = [ "cmd/golangci-lint" ];
|
subPackages = [ "cmd/golangci-lint" ];
|
||||||
|
|
||||||
|
|
|
@ -5,13 +5,13 @@
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "itchiodl";
|
pname = "itchiodl";
|
||||||
version = "2.2.0";
|
version = "2.3.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Emersont1";
|
owner = "Emersont1";
|
||||||
repo = "itchio";
|
repo = "itchio";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-tylMEsUdeMUuLcxRMkkJE7vPAVuqc/cVJ4DB3xmV+iA=";
|
hash = "sha256-XuNkqTAT9LlSwruchGQbombAKHZvKhpnqLfvJdDcrj0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
|
@ -14,25 +14,24 @@ let
|
||||||
in
|
in
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "pomerium";
|
pname = "pomerium";
|
||||||
version = "0.20.0";
|
version = "0.21.2";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pomerium";
|
owner = "pomerium";
|
||||||
repo = "pomerium";
|
repo = "pomerium";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-J8ediRreV80lzPcKIOSl1CNHp04ZW9ePyNyejlN50cE=";
|
sha256 = "sha256-wsfbG4VAS3U3voDdry35QlWknlWIfThZQalf9S/9GO0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-V8asyi1Nm+h3KK/loBRZQN6atfEGUEdRydeZsp9wyQY=";
|
vendorSha256 = "sha256-8g3jhxKIT0EGUXh0hrvDbw3i04khqlAfGzM6k4q3O8g=";
|
||||||
|
|
||||||
ui = mkYarnPackage {
|
ui = mkYarnPackage {
|
||||||
inherit version;
|
inherit version;
|
||||||
src = "${src}/ui";
|
src = "${src}/ui";
|
||||||
|
|
||||||
# update pomerium-ui-package.json when updating package, sourced from ui/package.json
|
packageJSON = ./package.json;
|
||||||
packageJSON = ./pomerium-ui-package.json;
|
|
||||||
offlineCache = fetchYarnDeps {
|
offlineCache = fetchYarnDeps {
|
||||||
yarnLock = "${src}/ui/yarn.lock";
|
yarnLock = "${src}/ui/yarn.lock";
|
||||||
sha256 = "sha256:1n6swanrds9hbd4yyfjzpnfhsb8fzj1pwvvcg3w7b1cgnihclrmv";
|
sha256 = lib.fileContents ./yarn-hash;
|
||||||
};
|
};
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
@ -111,9 +110,12 @@ buildGoModule rec {
|
||||||
install -Dm0755 $GOPATH/bin/pomerium $out/bin/pomerium
|
install -Dm0755 $GOPATH/bin/pomerium $out/bin/pomerium
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.tests = {
|
passthru = {
|
||||||
inherit (nixosTests) pomerium;
|
tests = {
|
||||||
inherit pomerium-cli;
|
inherit (nixosTests) pomerium;
|
||||||
|
inherit pomerium-cli;
|
||||||
|
};
|
||||||
|
updateScript = ./updater.sh;
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
"@fontsource/dm-sans": "^4.5.1",
|
"@fontsource/dm-sans": "^4.5.1",
|
||||||
"@mui/icons-material": "^5.3.1",
|
"@mui/icons-material": "^5.3.1",
|
||||||
"@mui/material": "^5.4.0",
|
"@mui/material": "^5.4.0",
|
||||||
"luxon": "^2.3.0",
|
"luxon": "^2.5.2",
|
||||||
"markdown-to-jsx": "^7.1.7",
|
"markdown-to-jsx": "^7.1.7",
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
23
pkgs/servers/http/pomerium/updater.sh
Executable file
23
pkgs/servers/http/pomerium/updater.sh
Executable file
|
@ -0,0 +1,23 @@
|
||||||
|
#! /usr/bin/env nix-shell
|
||||||
|
#! nix-shell -i bash -p gnugrep coreutils curl wget jq nix-update prefetch-yarn-deps
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
pushd "$(dirname "${BASH_SOURCE[0]}")"
|
||||||
|
|
||||||
|
owner="pomerium"
|
||||||
|
repo="pomerium"
|
||||||
|
version=`curl -s "https://api.github.com/repos/$owner/$repo/tags" | jq -r .[0].name | grep -oP "^v\K.*"`
|
||||||
|
url="https://raw.githubusercontent.com/$owner/$repo/v$version/"
|
||||||
|
|
||||||
|
if [[ "$UPDATE_NIX_OLD_VERSION" == "$version" ]]; then
|
||||||
|
echo "Already up to date!"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -f package.json yarn.lock
|
||||||
|
wget "$url/ui/yarn.lock" "$url/ui/package.json"
|
||||||
|
echo $(prefetch-yarn-deps) > yarn-hash
|
||||||
|
rm -f yarn.lock
|
||||||
|
|
||||||
|
popd
|
||||||
|
nix-update pomerium --version $version
|
1
pkgs/servers/http/pomerium/yarn-hash
Normal file
1
pkgs/servers/http/pomerium/yarn-hash
Normal file
|
@ -0,0 +1 @@
|
||||||
|
085nghha82q30b3vgzs76xsa85kbxqk7mjrknxxc5z7awrjhdmkb
|
|
@ -5,7 +5,7 @@
|
||||||
, bintools-unwrapped
|
, bintools-unwrapped
|
||||||
, libffi
|
, libffi
|
||||||
, libusb1
|
, libusb1
|
||||||
, wxGTK30
|
, wxGTK32
|
||||||
, python3
|
, python3
|
||||||
, gcc-arm-embedded
|
, gcc-arm-embedded
|
||||||
, klipper
|
, klipper
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
avrdude
|
avrdude
|
||||||
stm32flash
|
stm32flash
|
||||||
pkg-config
|
pkg-config
|
||||||
wxGTK30 # Required for bossac
|
wxGTK32 # Required for bossac
|
||||||
];
|
];
|
||||||
|
|
||||||
preBuild = "cp ${firmwareConfig} ./.config";
|
preBuild = "cp ${firmwareConfig} ./.config";
|
||||||
|
@ -40,6 +40,7 @@
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
"V=1"
|
"V=1"
|
||||||
"KCONFIG_CONFIG=${firmwareConfig}"
|
"KCONFIG_CONFIG=${firmwareConfig}"
|
||||||
|
"WXVERSION=3.2"
|
||||||
];
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
|
@ -190,6 +190,7 @@ in buildPythonApplication rec {
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
# append module paths to xorg.conf
|
# append module paths to xorg.conf
|
||||||
cat ${xorgModulePaths} >> $out/etc/xpra/xorg.conf
|
cat ${xorgModulePaths} >> $out/etc/xpra/xorg.conf
|
||||||
|
cat ${xorgModulePaths} >> $out/etc/xpra/xorg-uinput.conf
|
||||||
|
|
||||||
# make application icon visible to desktop environemnts
|
# make application icon visible to desktop environemnts
|
||||||
icon_dir="$out/share/icons/hicolor/64x64/apps"
|
icon_dir="$out/share/icons/hicolor/64x64/apps"
|
||||||
|
|
33
pkgs/tools/misc/ramfetch/default.nix
Normal file
33
pkgs/tools/misc/ramfetch/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchgit
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "ramfetch";
|
||||||
|
version = "1.1.0";
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = "https://codeberg.org/o69mar/ramfetch.git";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-XUph+rTbw5LXWRq+OSKl0EjFac+MQAx3NBu4rWdWR3w=";
|
||||||
|
};
|
||||||
|
|
||||||
|
dontBuild = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
install -D ramfetch $out/bin/ramfetch
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A tool which displays memory information";
|
||||||
|
homepage = "https://codeberg.org/o69mar/ramfetch";
|
||||||
|
platforms = lib.platforms.linux;
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
maintainers = [ lib.maintainers.markbeep ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -11543,6 +11543,8 @@ with pkgs;
|
||||||
|
|
||||||
rambox = callPackage ../applications/networking/instant-messengers/rambox { };
|
rambox = callPackage ../applications/networking/instant-messengers/rambox { };
|
||||||
|
|
||||||
|
ramfetch = callPackage ../tools/misc/ramfetch { };
|
||||||
|
|
||||||
rar = callPackage ../tools/archivers/rar { };
|
rar = callPackage ../tools/archivers/rar { };
|
||||||
|
|
||||||
rarcrack = callPackage ../tools/security/rarcrack { };
|
rarcrack = callPackage ../tools/security/rarcrack { };
|
||||||
|
@ -17559,9 +17561,7 @@ with pkgs;
|
||||||
|
|
||||||
bloop = callPackage ../development/tools/build-managers/bloop { };
|
bloop = callPackage ../development/tools/build-managers/bloop { };
|
||||||
|
|
||||||
bossa = callPackage ../development/embedded/bossa {
|
bossa = callPackage ../development/embedded/bossa { };
|
||||||
wxGTK = wxGTK30;
|
|
||||||
};
|
|
||||||
|
|
||||||
bossa-arduino = callPackage ../development/embedded/bossa/arduino.nix { };
|
bossa-arduino = callPackage ../development/embedded/bossa/arduino.nix { };
|
||||||
|
|
||||||
|
@ -22815,7 +22815,7 @@ with pkgs;
|
||||||
};
|
};
|
||||||
|
|
||||||
opencv3 = callPackage ../development/libraries/opencv/3.x.nix {
|
opencv3 = callPackage ../development/libraries/opencv/3.x.nix {
|
||||||
inherit (darwin.apple_sdk.frameworks) AVFoundation Cocoa VideoDecodeAcceleration;
|
inherit (darwin.apple_sdk.frameworks) AVFoundation Cocoa VideoDecodeAcceleration CoreMedia MediaToolbox;
|
||||||
ffmpeg = ffmpeg_4;
|
ffmpeg = ffmpeg_4;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,8 @@
|
||||||
let
|
let
|
||||||
inherit (lib.strings) escapeNixIdentifier;
|
inherit (lib.strings) escapeNixIdentifier;
|
||||||
|
|
||||||
allTests = lib.mapAttrs (k: v: if v == null then null else makePkgConfigTestMaybe k v) defaultPkgConfigPackages;
|
allTests = lib.mapAttrs (k: v: if v == null then null else makePkgConfigTestMaybe k v)
|
||||||
|
(builtins.removeAttrs defaultPkgConfigPackages ["recurseForDerivations"]);
|
||||||
|
|
||||||
# nix-build rejects attribute names with periods
|
# nix-build rejects attribute names with periods
|
||||||
# This will build those regardless.
|
# This will build those regardless.
|
||||||
|
|
Loading…
Reference in a new issue