Merge master into staging-next
This commit is contained in:
commit
7996eebcae
25 changed files with 125 additions and 74 deletions
|
@ -26,22 +26,22 @@ let
|
||||||
|
|
||||||
# Linux
|
# Linux
|
||||||
"aarch64-linux" "armv5tel-linux" "armv6l-linux" "armv7a-linux"
|
"aarch64-linux" "armv5tel-linux" "armv6l-linux" "armv7a-linux"
|
||||||
"armv7l-linux" "i686-linux" "mipsel-linux" "powerpc64-linux"
|
"armv7l-linux" "i686-linux" "m68k-linux" "mipsel-linux"
|
||||||
"powerpc64le-linux" "riscv32-linux" "riscv64-linux" "x86_64-linux"
|
"powerpc64-linux" "powerpc64le-linux" "riscv32-linux"
|
||||||
"m68k-linux" "s390-linux"
|
"riscv64-linux" "s390-linux" "x86_64-linux"
|
||||||
|
|
||||||
# MMIXware
|
# MMIXware
|
||||||
"mmix-mmixware"
|
"mmix-mmixware"
|
||||||
|
|
||||||
# NetBSD
|
# NetBSD
|
||||||
"aarch64-netbsd" "armv6l-netbsd" "armv7a-netbsd" "armv7l-netbsd"
|
"aarch64-netbsd" "armv6l-netbsd" "armv7a-netbsd" "armv7l-netbsd"
|
||||||
"i686-netbsd" "mipsel-netbsd" "powerpc-netbsd" "riscv32-netbsd"
|
"i686-netbsd" "m68k-netbsd" "mipsel-netbsd" "powerpc-netbsd"
|
||||||
"riscv64-netbsd" "x86_64-netbsd"
|
"riscv32-netbsd" "riscv64-netbsd" "x86_64-netbsd"
|
||||||
|
|
||||||
# none
|
# none
|
||||||
"aarch64-none" "arm-none" "armv6l-none" "avr-none" "i686-none" "msp430-none"
|
"aarch64-none" "arm-none" "armv6l-none" "avr-none" "i686-none"
|
||||||
"or1k-none" "powerpc-none" "riscv32-none" "riscv64-none" "vc4-none" "m68k-none"
|
"msp430-none" "or1k-none" "m68k-none" "powerpc-none"
|
||||||
"s390-none" "x86_64-none"
|
"riscv32-none" "riscv64-none" "s390-none" "vc4-none" "x86_64-none"
|
||||||
|
|
||||||
# OpenBSD
|
# OpenBSD
|
||||||
"i686-openbsd" "x86_64-openbsd"
|
"i686-openbsd" "x86_64-openbsd"
|
||||||
|
|
|
@ -127,9 +127,10 @@ rec {
|
||||||
|
|
||||||
# GNU build systems assume that older NetBSD architectures are using a.out.
|
# GNU build systems assume that older NetBSD architectures are using a.out.
|
||||||
gnuNetBSDDefaultExecFormat = cpu:
|
gnuNetBSDDefaultExecFormat = cpu:
|
||||||
if (cpu.family == "x86" && cpu.bits == 32) ||
|
if (cpu.family == "arm" && cpu.bits == 32) ||
|
||||||
(cpu.family == "arm" && cpu.bits == 32) ||
|
(cpu.family == "sparc" && cpu.bits == 32) ||
|
||||||
(cpu.family == "sparc" && cpu.bits == 32)
|
(cpu.family == "m68k" && cpu.bits == 32) ||
|
||||||
|
(cpu.family == "x86" && cpu.bits == 32)
|
||||||
then execFormats.aout
|
then execFormats.aout
|
||||||
else execFormats.elf;
|
else execFormats.elf;
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ with lib.systems.doubles; lib.runTests {
|
||||||
testgnu = mseteq gnu (linux /* ++ kfreebsd ++ ... */);
|
testgnu = mseteq gnu (linux /* ++ kfreebsd ++ ... */);
|
||||||
testillumos = mseteq illumos [ "x86_64-solaris" ];
|
testillumos = mseteq illumos [ "x86_64-solaris" ];
|
||||||
testlinux = mseteq linux [ "aarch64-linux" "armv5tel-linux" "armv6l-linux" "armv7a-linux" "armv7l-linux" "i686-linux" "mipsel-linux" "riscv32-linux" "riscv64-linux" "x86_64-linux" "powerpc64-linux" "powerpc64le-linux" "m68k-linux" "s390-linux" ];
|
testlinux = mseteq linux [ "aarch64-linux" "armv5tel-linux" "armv6l-linux" "armv7a-linux" "armv7l-linux" "i686-linux" "mipsel-linux" "riscv32-linux" "riscv64-linux" "x86_64-linux" "powerpc64-linux" "powerpc64le-linux" "m68k-linux" "s390-linux" ];
|
||||||
testnetbsd = mseteq netbsd [ "aarch64-netbsd" "armv6l-netbsd" "armv7a-netbsd" "armv7l-netbsd" "i686-netbsd" "mipsel-netbsd" "powerpc-netbsd" "riscv32-netbsd" "riscv64-netbsd" "x86_64-netbsd" ];
|
testnetbsd = mseteq netbsd [ "aarch64-netbsd" "armv6l-netbsd" "armv7a-netbsd" "armv7l-netbsd" "i686-netbsd" "m68k-netbsd" "mipsel-netbsd" "powerpc-netbsd" "riscv32-netbsd" "riscv64-netbsd" "x86_64-netbsd" ];
|
||||||
testopenbsd = mseteq openbsd [ "i686-openbsd" "x86_64-openbsd" ];
|
testopenbsd = mseteq openbsd [ "i686-openbsd" "x86_64-openbsd" ];
|
||||||
testwindows = mseteq windows [ "i686-cygwin" "x86_64-cygwin" "i686-windows" "x86_64-windows" ];
|
testwindows = mseteq windows [ "i686-cygwin" "x86_64-cygwin" "i686-windows" "x86_64-windows" ];
|
||||||
testunix = mseteq unix (linux ++ darwin ++ freebsd ++ openbsd ++ netbsd ++ illumos ++ cygwin ++ redox);
|
testunix = mseteq unix (linux ++ darwin ++ freebsd ++ openbsd ++ netbsd ++ illumos ++ cygwin ++ redox);
|
||||||
|
|
|
@ -607,6 +607,14 @@
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
<literal>services.uptimed</literal> now uses
|
||||||
|
<literal>/var/lib/uptimed</literal> as its stateDirectory
|
||||||
|
instead of <literal>/var/spool/uptimed</literal>. Make sure to
|
||||||
|
move all files to the new directory.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</section>
|
</section>
|
||||||
<section xml:id="sec-release-21.11-notable-changes">
|
<section xml:id="sec-release-21.11-notable-changes">
|
||||||
|
|
|
@ -153,6 +153,8 @@ pt-services.clipcat.enable).
|
||||||
- `CoenraadS.bracket-pair-colorizer` -> `coenraads.bracket-pair-colorizer`
|
- `CoenraadS.bracket-pair-colorizer` -> `coenraads.bracket-pair-colorizer`
|
||||||
- `golang.Go` -> `golang.go`
|
- `golang.Go` -> `golang.go`
|
||||||
|
|
||||||
|
- `services.uptimed` now uses `/var/lib/uptimed` as its stateDirectory instead of `/var/spool/uptimed`. Make sure to move all files to the new directory.
|
||||||
|
|
||||||
## Other Notable Changes {#sec-release-21.11-notable-changes}
|
## Other Notable Changes {#sec-release-21.11-notable-changes}
|
||||||
|
|
||||||
- The setting [`services.openssh.logLevel`](options.html#opt-services.openssh.logLevel) `"VERBOSE"` `"INFO"`. This brings NixOS in line with upstream and other Linux distributions, and reduces log spam on servers due to bruteforcing botnets.
|
- The setting [`services.openssh.logLevel`](options.html#opt-services.openssh.logLevel) `"VERBOSE"` `"INFO"`. This brings NixOS in line with upstream and other Linux distributions, and reduces log spam on servers due to bruteforcing botnets.
|
||||||
|
|
|
@ -523,19 +523,12 @@ in
|
||||||
''}
|
''}
|
||||||
|
|
||||||
# update all hooks' binary paths
|
# update all hooks' binary paths
|
||||||
HOOKS=$(find ${cfg.repositoryRoot} -mindepth 4 -maxdepth 6 -type f -wholename "*git/hooks/*")
|
${gitea}/bin/gitea admin regenerate hooks
|
||||||
if [ "$HOOKS" ]
|
|
||||||
then
|
|
||||||
sed -ri 's,/nix/store/[a-z0-9.-]+/bin/gitea,${gitea}/bin/gitea,g' $HOOKS
|
|
||||||
sed -ri 's,/nix/store/[a-z0-9.-]+/bin/env,${pkgs.coreutils}/bin/env,g' $HOOKS
|
|
||||||
sed -ri 's,/nix/store/[a-z0-9.-]+/bin/bash,${pkgs.bash}/bin/bash,g' $HOOKS
|
|
||||||
sed -ri 's,/nix/store/[a-z0-9.-]+/bin/perl,${pkgs.perl}/bin/perl,g' $HOOKS
|
|
||||||
fi
|
|
||||||
|
|
||||||
# update command option in authorized_keys
|
# update command option in authorized_keys
|
||||||
if [ -r ${cfg.stateDir}/.ssh/authorized_keys ]
|
if [ -r ${cfg.stateDir}/.ssh/authorized_keys ]
|
||||||
then
|
then
|
||||||
sed -ri 's,/nix/store/[a-z0-9.-]+/bin/gitea,${gitea}/bin/gitea,g' ${cfg.stateDir}/.ssh/authorized_keys
|
${gitea}/bin/gitea admin regenerate keys
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -458,7 +458,7 @@ in
|
||||||
description = "The flake reference to which <option>from></option> is to be rewritten.";
|
description = "The flake reference to which <option>from></option> is to be rewritten.";
|
||||||
};
|
};
|
||||||
flake = mkOption {
|
flake = mkOption {
|
||||||
type = types.unspecified;
|
type = types.nullOr types.attrs;
|
||||||
default = null;
|
default = null;
|
||||||
example = literalExample "nixpkgs";
|
example = literalExample "nixpkgs";
|
||||||
description = ''
|
description = ''
|
||||||
|
|
|
@ -37,13 +37,9 @@ let
|
||||||
do sleep 1; done
|
do sleep 1; done
|
||||||
|
|
||||||
curl() {
|
curl() {
|
||||||
while
|
${pkgs.curl}/bin/curl -sS -H "X-API-Key: $api_key" \
|
||||||
${pkgs.curl}/bin/curl -Ss -H "X-API-Key: $api_key" \
|
--retry 1000 --retry-delay 1 --retry-all-errors \
|
||||||
--retry 100 --retry-delay 1 --retry-connrefused "$@"
|
"$@"
|
||||||
status=$?
|
|
||||||
[ "$status" -eq 52 ] # retry on empty reply from server
|
|
||||||
do sleep 1; done
|
|
||||||
return "$status"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# query the old config
|
# query the old config
|
||||||
|
@ -547,6 +543,7 @@ in {
|
||||||
cfg.devices != {} || cfg.folders != {} || cfg.extraOptions != {}
|
cfg.devices != {} || cfg.folders != {} || cfg.extraOptions != {}
|
||||||
) {
|
) {
|
||||||
description = "Syncthing configuration updater";
|
description = "Syncthing configuration updater";
|
||||||
|
requisite = [ "syncthing.service" ];
|
||||||
after = [ "syncthing.service" ];
|
after = [ "syncthing.service" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ with lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
cfg = config.services.uptimed;
|
cfg = config.services.uptimed;
|
||||||
stateDir = "/var/spool/uptimed";
|
stateDir = "/var/lib/uptimed";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options = {
|
options = {
|
||||||
|
@ -21,12 +21,16 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
|
environment.systemPackages = [ pkgs.uptimed ];
|
||||||
|
|
||||||
users.users.uptimed = {
|
users.users.uptimed = {
|
||||||
description = "Uptimed daemon user";
|
description = "Uptimed daemon user";
|
||||||
home = stateDir;
|
home = stateDir;
|
||||||
createHome = true;
|
|
||||||
uid = config.ids.uids.uptimed;
|
uid = config.ids.uids.uptimed;
|
||||||
|
group = "uptimed";
|
||||||
};
|
};
|
||||||
|
users.groups.uptimed = {};
|
||||||
|
|
||||||
systemd.services.uptimed = {
|
systemd.services.uptimed = {
|
||||||
unitConfig.Documentation = "man:uptimed(8) man:uprecords(1)";
|
unitConfig.Documentation = "man:uptimed(8) man:uprecords(1)";
|
||||||
|
@ -41,7 +45,7 @@ in
|
||||||
PrivateTmp = "yes";
|
PrivateTmp = "yes";
|
||||||
PrivateNetwork = "yes";
|
PrivateNetwork = "yes";
|
||||||
NoNewPrivileges = "yes";
|
NoNewPrivileges = "yes";
|
||||||
ReadWriteDirectories = stateDir;
|
StateDirectory = [ "uptimed" ];
|
||||||
InaccessibleDirectories = "/home";
|
InaccessibleDirectories = "/home";
|
||||||
ExecStart = "${pkgs.uptimed}/sbin/uptimed -f -p ${stateDir}/pid";
|
ExecStart = "${pkgs.uptimed}/sbin/uptimed -f -p ${stateDir}/pid";
|
||||||
};
|
};
|
||||||
|
|
|
@ -136,7 +136,7 @@ in {
|
||||||
inherit pkgs lib config;
|
inherit pkgs lib config;
|
||||||
partitionTableType = "legacy";
|
partitionTableType = "legacy";
|
||||||
diskSize = cfg.baseImageSize;
|
diskSize = cfg.baseImageSize;
|
||||||
additionalSpace = cfg.baseImageFreeSpace;
|
additionalSpace = "${toString cfg.baseImageFreeSpace}M";
|
||||||
|
|
||||||
postVM =
|
postVM =
|
||||||
''
|
''
|
||||||
|
|
24
nixos/tests/soapui.nix
Normal file
24
nixos/tests/soapui.nix
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
import ./make-test-python.nix ({ pkgs, ... }: {
|
||||||
|
name = "soapui";
|
||||||
|
meta = with pkgs.lib.maintainers; {
|
||||||
|
maintainers = [ asbachb ];
|
||||||
|
};
|
||||||
|
|
||||||
|
machine = { config, pkgs, ... }: {
|
||||||
|
imports = [
|
||||||
|
./common/x11.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
services.xserver.enable = true;
|
||||||
|
|
||||||
|
environment.systemPackages = [ pkgs.soapui ];
|
||||||
|
};
|
||||||
|
|
||||||
|
testScript = ''
|
||||||
|
machine.wait_for_x()
|
||||||
|
machine.succeed("soapui &")
|
||||||
|
machine.wait_for_window(r"SoapUI \d+\.\d+\.\d+")
|
||||||
|
machine.sleep(1)
|
||||||
|
machine.screenshot("soapui")
|
||||||
|
'';
|
||||||
|
})
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "1password";
|
pname = "1password";
|
||||||
version = "1.9.1";
|
version = "1.11.2";
|
||||||
src =
|
src =
|
||||||
if stdenv.isLinux then fetchzip {
|
if stdenv.isLinux then fetchzip {
|
||||||
url = {
|
url = {
|
||||||
|
@ -11,14 +11,14 @@ stdenv.mkDerivation rec {
|
||||||
"aarch64-linux" = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_linux_arm_v${version}.zip";
|
"aarch64-linux" = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_linux_arm_v${version}.zip";
|
||||||
}.${stdenv.hostPlatform.system};
|
}.${stdenv.hostPlatform.system};
|
||||||
sha256 = {
|
sha256 = {
|
||||||
"i686-linux" = "1x5khnp6yqrjf513x3y6l38rb121nib7d4aiz4cz7fh029kxjhd1";
|
"i686-linux" = "0rh5bakj9qd43cf6wj5v46a3h98kcwqyc0f1yw72wvcacvjycyjz";
|
||||||
"x86_64-linux" = "1ar8lzkndl7xzcinv93rzg8q25vb23fggbjkhgchgc5x9wkwk8hw";
|
"x86_64-linux" = "00nf0cb8cxk1pvzr1wq778wvikzrlzy38r3rzkq44whdpdj50jzx";
|
||||||
"aarch64-linux" = "1q81pk6qmp96p1dbhx1ijln8f54rac8r81d4ghqx9v756s9szrr1";
|
"aarch64-linux" = "1gv282z49bj3ln5na4wb1z5455a64cyd54fp5i96k8shaxd0apxf";
|
||||||
}.${stdenv.hostPlatform.system};
|
}.${stdenv.hostPlatform.system};
|
||||||
stripRoot = false;
|
stripRoot = false;
|
||||||
} else fetchurl {
|
} else fetchurl {
|
||||||
url = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_darwin_amd64_v${version}.pkg";
|
url = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_apple_universal_v${version}.pkg";
|
||||||
sha256 = "0904wwy3wdhfvbkvpdap8141a9gqmn0dw45ikrzsqpg7pv1r2zch";
|
sha256 = "1pqdjr6d23j9fpwgahb0s1ni1bpjv9jajs1hapgq5kdrww2w7nhm";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [ xar cpio ];
|
buildInputs = lib.optionals stdenv.isDarwin [ xar cpio ];
|
||||||
|
|
|
@ -290,16 +290,6 @@ let
|
||||||
enable_widevine = true;
|
enable_widevine = true;
|
||||||
# Provides the enable-webrtc-pipewire-capturer flag to support Wayland screen capture:
|
# Provides the enable-webrtc-pipewire-capturer flag to support Wayland screen capture:
|
||||||
rtc_use_pipewire = true;
|
rtc_use_pipewire = true;
|
||||||
|
|
||||||
# TODOs:
|
|
||||||
# Disable PGO (defaults to 2 since M89) because it fails without additional changes:
|
|
||||||
# error: Could not read profile ../../chrome/build/pgo_profiles/chrome-linux-master-1610647094-405a32bcf15e5a84949640f99f84a5b9f61e2f2e.profdata: Unsupported instrumentation profile format version
|
|
||||||
chrome_pgo_phase = 0; # TODO
|
|
||||||
# Disable build with TFLite library because it fails without additional changes:
|
|
||||||
# ninja: error: '../../chrome/test/data/simple_test.tflite', needed by 'test_data/simple_test.tflite', missing and no known rule to make it
|
|
||||||
# Note: chrome/test/data/simple_test.tflite is in the Git repository but not in chromium-90.0.4400.8.tar.xz
|
|
||||||
# See also chrome/services/machine_learning/README.md
|
|
||||||
build_with_tflite_lib = false; # TODO
|
|
||||||
} // optionalAttrs proprietaryCodecs {
|
} // optionalAttrs proprietaryCodecs {
|
||||||
# enable support for the H.264 codec
|
# enable support for the H.264 codec
|
||||||
proprietary_codecs = true;
|
proprietary_codecs = true;
|
||||||
|
|
|
@ -1,25 +1,30 @@
|
||||||
{ fetchurl, lib, stdenv, writeText, jdk, maven, makeWrapper }:
|
{ fetchurl, lib, stdenv, writeText, jdk, makeWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "soapui";
|
pname = "soapui";
|
||||||
version = "5.5.0";
|
version = "5.6.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://s3.amazonaws.com/downloads.eviware/soapuios/${version}/SoapUI-${version}-linux-bin.tar.gz";
|
url = "https://s3.amazonaws.com/downloads.eviware/soapuios/${version}/SoapUI-${version}-linux-bin.tar.gz";
|
||||||
sha256 = "0v1wiy61jgvlxjk8qdvcnyn1gh2ysxf266zln7r4wpzwd5gc3dpw";
|
sha256 = "0vmj11fswja0ddnbc4vb7gj1al8km7ilma9bv1waaj8h5c8qpayi";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
buildInputs = [ jdk maven ];
|
buildInputs = [ jdk ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
mkdir -p $out/share/java
|
mkdir -p $out/share/java
|
||||||
cp -R bin lib $out/share/java
|
cp -R bin lib $out/share/java
|
||||||
|
|
||||||
makeWrapper $out/share/java/bin/soapui.sh $out/bin/soapui --set SOAPUI_HOME $out/share/java
|
makeWrapper $out/share/java/bin/soapui.sh $out/bin/soapui --set SOAPUI_HOME $out/share/java
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
# Adjust java path to point to derivation paths
|
||||||
(writeText "soapui-${version}.patch" ''
|
(writeText "soapui-${version}.patch" ''
|
||||||
--- a/bin/soapui.sh
|
--- a/bin/soapui.sh
|
||||||
+++ b/bin/soapui.sh
|
+++ b/bin/soapui.sh
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{ lib, stdenv, fetchurl, cups }:
|
{ lib, stdenv, fetchurl, cups, busybox }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "epson-inkjet-printer-escpr2";
|
pname = "epson-inkjet-printer-escpr2";
|
||||||
version = "1.1.34";
|
version = "1.1.38";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
# To find new versions, visit
|
# To find new versions, visit
|
||||||
|
@ -11,15 +11,26 @@ stdenv.mkDerivation rec {
|
||||||
# version.
|
# version.
|
||||||
# NOTE: Don't forget to update the webarchive link too!
|
# NOTE: Don't forget to update the webarchive link too!
|
||||||
urls = [
|
urls = [
|
||||||
"https://download3.ebz.epson.net/dsc/f/03/00/12/85/48/fd5de1ecd7270b0398399355e265c99dfd1dbafb/epson-inkjet-printer-escpr2-1.1.34.tar.gz"
|
"https://download3.ebz.epson.net/dsc/f/03/00/12/91/84/6902a4d11864b195ddda45f6de968d8ec1ee9e3b/epson-inkjet-printer-escpr2-1.1.38-1lsb3.2.src.rpm"
|
||||||
"https://web.archive.org/web/20210627160654/https://download3.ebz.epson.net/dsc/f/03/00/12/85/48/fd5de1ecd7270b0398399355e265c99dfd1dbafb/epson-inkjet-printer-escpr2-1.1.34.tar.gz"
|
"https://web.archive.org/web/20210731163511/https://download3.ebz.epson.net/dsc/f/03/00/12/91/84/6902a4d11864b195ddda45f6de968d8ec1ee9e3b/epson-inkjet-printer-escpr2-1.1.38-1lsb3.2.src.rpm"
|
||||||
];
|
];
|
||||||
sha256 = "sha256-sHBGWbkZ+zolHehyXQR8U2AyKSrgDSPmrkrcfcx/bAs=";
|
sha256 = "sha256-rQtmWREZKtu5MuqEn91/1+SfGol4f8jKzd1mQ0e3h1c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
unpackPhase = ''
|
||||||
|
runHook preUnpack
|
||||||
|
|
||||||
|
rpm2cpio $src | cpio -idmv
|
||||||
|
tar xvf ${pname}-${version}-1lsb3.2.tar.gz
|
||||||
|
cd ${pname}-${version}
|
||||||
|
|
||||||
|
runHook postUnpack
|
||||||
|
'';
|
||||||
|
|
||||||
patches = [ ./cups-filter-ppd-dirs.patch ];
|
patches = [ ./cups-filter-ppd-dirs.patch ];
|
||||||
|
|
||||||
buildInputs = [ cups ];
|
buildInputs = [ cups ];
|
||||||
|
nativeBuildInputs = [ busybox ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "http://download.ebz.epson.net/dsc/search/01/search/";
|
homepage = "http://download.ebz.epson.net/dsc/search/01/search/";
|
||||||
|
|
|
@ -433,6 +433,10 @@ self: super: {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
onedark-nvim = super.onedark-nvim.overrideAttrs (old: {
|
||||||
|
dependencies = with self; [ lush-nvim ];
|
||||||
|
});
|
||||||
|
|
||||||
onehalf = super.onehalf.overrideAttrs (old: {
|
onehalf = super.onehalf.overrideAttrs (old: {
|
||||||
configurePhase = "cd vim";
|
configurePhase = "cd vim";
|
||||||
});
|
});
|
||||||
|
|
|
@ -17,11 +17,11 @@ lua = luajitPackages;
|
||||||
|
|
||||||
unwrapped = stdenv.mkDerivation rec {
|
unwrapped = stdenv.mkDerivation rec {
|
||||||
pname = "knot-resolver";
|
pname = "knot-resolver";
|
||||||
version = "5.3.2";
|
version = "5.4.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://secure.nic.cz/files/knot-resolver/${pname}-${version}.tar.xz";
|
url = "https://secure.nic.cz/files/knot-resolver/${pname}-${version}.tar.xz";
|
||||||
sha256 = "8b6f447d5fe93422d4c129a2d4004a977369c3aa6e55258ead1cbd488bc01436";
|
sha256 = "534af671b98433b23b57039acc9d7d3c100a4888a8cf9aeba36161774ca0815e";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
@ -43,7 +43,7 @@ unwrapped = stdenv.mkDerivation rec {
|
||||||
# some tests have issues with network sandboxing, apparently
|
# some tests have issues with network sandboxing, apparently
|
||||||
+ optionalString doInstallCheck ''
|
+ optionalString doInstallCheck ''
|
||||||
echo 'os.exit(77)' > daemon/lua/trust_anchors.test/bootstrap.test.lua
|
echo 'os.exit(77)' > daemon/lua/trust_anchors.test/bootstrap.test.lua
|
||||||
sed '/^[[:blank:]]*test_dstaddr,$/d' -i \
|
sed -E '/^[[:blank:]]*test_(dstaddr|headers),?$/d' -i \
|
||||||
tests/config/doh2.test.lua modules/http/http_doh.test.lua
|
tests/config/doh2.test.lua modules/http/http_doh.test.lua
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
stdenvNoCC.mkDerivation rec {
|
stdenvNoCC.mkDerivation rec {
|
||||||
pname = "icingaweb2";
|
pname = "icingaweb2";
|
||||||
version = "2.9.0";
|
version = "2.9.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Icinga";
|
owner = "Icinga";
|
||||||
repo = "icingaweb2";
|
repo = "icingaweb2";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1vp2gdvgvw960178yaqql6iza0rg2h8japsnass3kkrwrmb2liq5";
|
sha256 = "sha256-sCglJDxEUOAcBwNowLjglMi6y92QJ4ZF+I/5HPfTE+s=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
stdenvNoCC.mkDerivation rec {
|
stdenvNoCC.mkDerivation rec {
|
||||||
pname = "icingaweb2-ipl";
|
pname = "icingaweb2-ipl";
|
||||||
version = "0.6.0";
|
version = "0.6.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Icinga";
|
owner = "Icinga";
|
||||||
repo = "icinga-php-library";
|
repo = "icinga-php-library";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0nzvd84r9f1mypfhq4p37hsvkrbd5wzgs1m9qhj45ncvf5rq49f1";
|
sha256 = "sha256-5xlvwB1o6d3mWd0TSybQW9s88q6A7KrledY1L8xaxLU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
|
@ -16,6 +16,11 @@ stdenv.mkDerivation rec {
|
||||||
url = "https://github.com/Mic92/TTRSS-Auth-LDAP/commit/7534fa54babc377a070e05e326a46a252b5e3884.patch";
|
url = "https://github.com/Mic92/TTRSS-Auth-LDAP/commit/7534fa54babc377a070e05e326a46a252b5e3884.patch";
|
||||||
sha256 = "1p7zas0n627z0g226dp5m5dg1ai2z3vi69n3xivp517iv3lch70l";
|
sha256 = "1p7zas0n627z0g226dp5m5dg1ai2z3vi69n3xivp517iv3lch70l";
|
||||||
})
|
})
|
||||||
|
# https://github.com/hydrian/TTRSS-Auth-LDAP/pull/40
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/hydrian/TTRSS-Auth-LDAP/commit/557811efa15bab3b5044c98416f9e37264f11c9a.patch";
|
||||||
|
sha256 = "sha256-KtDY0J1OYNTLwK7834lI+2XL1N1FkOk5zhinGY90/4A=";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
|
@ -14,14 +14,14 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "broot";
|
pname = "broot";
|
||||||
version = "1.6.0";
|
version = "1.6.2";
|
||||||
|
|
||||||
src = fetchCrate {
|
src = fetchCrate {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-H/QT/fmQI9sHjl6wMJjrfjvbOhY9VyBkAGetvcUqGrE=";
|
sha256 = "sha256-SjfTMBGby2jzmeNEtBVYqumLExhXW8nqxpbaeeaRM3w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-5mqLVbB/dLAk3Ck7ilHhVn0CB/6Ln82SaTxZ/vkx+9k=";
|
cargoHash = "sha256-BdSqTzXu7Glhr0fQGmnkg5BXYgdQS6jgfH3A9hPpECY=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
installShellFiles
|
installShellFiles
|
||||||
|
@ -75,7 +75,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "An interactive tree view, a fuzzy search, a balanced BFS descent and customizable commands";
|
description = "An interactive tree view, a fuzzy search, a balanced BFS descent and customizable commands";
|
||||||
homepage = "https://dystroy.org/broot/";
|
homepage = "https://dystroy.org/broot/";
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ dywedir ];
|
||||||
license = with licenses; [ mit ];
|
license = with licenses; [ mit ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,21 +7,20 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "gdu";
|
pname = "gdu";
|
||||||
version = "5.4.0";
|
version = "5.5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dundee";
|
owner = "dundee";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-1ITVDJvO2VGIWRU7HtxLo/bNQhldgXgpMmpRR3dIOxM=";
|
sha256 = "sha256-cnDYeL1BdxBaCZtK+DnIbtsTVUr3AujA50ttchPX6V0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-9W1K01PJ+tRLSJ0L7NGHXT5w5oHmlBkT8kwnOLOzSCc=";
|
vendorSha256 = "sha256-9W1K01PJ+tRLSJ0L7NGHXT5w5oHmlBkT8kwnOLOzSCc=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
buildFlagsArray = [
|
ldflags = [
|
||||||
"-ldflags="
|
|
||||||
"-s"
|
"-s"
|
||||||
"-w"
|
"-w"
|
||||||
"-X github.com/dundee/gdu/v${lib.versions.major version}/build.Version=${version}"
|
"-X github.com/dundee/gdu/v${lib.versions.major version}/build.Version=${version}"
|
||||||
|
|
|
@ -14,6 +14,11 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ autoreconfHook ];
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
patches = [ ./no-var-spool-install.patch ];
|
patches = [ ./no-var-spool-install.patch ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace libuptimed/urec.h \
|
||||||
|
--replace /var/spool /var/lib
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Uptime record daemon";
|
description = "Uptime record daemon";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
|
|
@ -8952,7 +8952,9 @@ in
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
|
|
||||||
soapui = callPackage ../applications/networking/soapui { };
|
soapui = callPackage ../applications/networking/soapui {
|
||||||
|
jdk = jdk11;
|
||||||
|
};
|
||||||
|
|
||||||
spglib = callPackage ../development/libraries/spglib { };
|
spglib = callPackage ../development/libraries/spglib { };
|
||||||
|
|
||||||
|
|
|
@ -194,6 +194,7 @@ let
|
||||||
idrisPackages = packagePlatforms pkgs.idrisPackages;
|
idrisPackages = packagePlatforms pkgs.idrisPackages;
|
||||||
agdaPackages = packagePlatforms pkgs.agdaPackages;
|
agdaPackages = packagePlatforms pkgs.agdaPackages;
|
||||||
|
|
||||||
|
pkgsLLVM.stdenv = [ "x86_64-linux" "aarch64-linux" ];
|
||||||
pkgsMusl.stdenv = [ "x86_64-linux" "aarch64-linux" ];
|
pkgsMusl.stdenv = [ "x86_64-linux" "aarch64-linux" ];
|
||||||
pkgsStatic.stdenv = [ "x86_64-linux" "aarch64-linux" ];
|
pkgsStatic.stdenv = [ "x86_64-linux" "aarch64-linux" ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue