mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 11:10:03 +00:00
Merge master into staging-next
This commit is contained in:
commit
75c9ed99be
|
@ -154,6 +154,9 @@ bdfde18037f8d9f9b641a4016c8ada4dc4cbf856
|
|||
# nixos/ollama: format with nixfmt-rfc-style (#329561)
|
||||
246d1ee533810ac1946d863bbd9de9b525818d56
|
||||
|
||||
# steam: cleanup (#216972)
|
||||
ad815aebfbfe1415ff6436521d545029c803c3fb
|
||||
|
||||
# nixos/nvidia: apply nixfmt-rfc-style (#313440)
|
||||
fbdcdde04a7caa007e825a8b822c75fab9adb2d6
|
||||
|
||||
|
|
|
@ -201,8 +201,9 @@ rec {
|
|||
target = "zImage";
|
||||
};
|
||||
gcc = {
|
||||
arch = "armv6";
|
||||
fpu = "vfp";
|
||||
# https://en.wikipedia.org/wiki/Raspberry_Pi#Specifications
|
||||
arch = "armv6kz";
|
||||
fpu = "vfpv2";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -6807,6 +6807,12 @@
|
|||
name = "Sebastian Neubauer";
|
||||
keys = [ { fingerprint = "2F93 661D AC17 EA98 A104 F780 ECC7 55EE 583C 1672"; } ];
|
||||
};
|
||||
Flameopathic = {
|
||||
email = "flameopathic@gmail.com";
|
||||
github = "Flameopathic";
|
||||
githubId = 64027365;
|
||||
name = "Erin Pletches";
|
||||
};
|
||||
flandweber = {
|
||||
email = "finn@landweber.xyz";
|
||||
github = "flandweber";
|
||||
|
|
|
@ -17,6 +17,7 @@ let
|
|||
mkdir -p $out/bin
|
||||
makeWrapper ${cfg.package}/bin/gamescope $out/bin/gamescope --inherit-argv0 \
|
||||
${builtins.toString wrapperArgs}
|
||||
ln -s ${cfg.package}/bin/gamescopectl $out/bin/gamescopectl
|
||||
'';
|
||||
in
|
||||
{
|
||||
|
|
|
@ -181,7 +181,7 @@ in {
|
|||
"nixpkgs=${cfg.channel}/nixexprs.tar.xz"
|
||||
]
|
||||
else
|
||||
[ "--flake ${cfg.flake}" ]);
|
||||
[ "--refresh" "--flake ${cfg.flake}" ]);
|
||||
|
||||
systemd.services.nixos-upgrade = {
|
||||
description = "NixOS Upgrade";
|
||||
|
|
|
@ -2357,6 +2357,22 @@ let
|
|||
};
|
||||
};
|
||||
|
||||
huytd.nord-light = buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
name = "nord-light";
|
||||
publisher = "huytd";
|
||||
version = "0.1.1";
|
||||
hash = "sha256-q2GG3j5j3CLGF02J7/plywKLkhUmm2Gn3MiSVmiZ+48=";
|
||||
};
|
||||
meta = {
|
||||
description = "Light theme for VSCode based on the Nord color palette";
|
||||
license = lib.licenses.mit;
|
||||
downloadPage = "https://marketplace.visualstudio.com/items?itemName=huytd.nord-light";
|
||||
homepage = "https://github.com/huytd/vscode-nord-light";
|
||||
maintainers = [ lib.maintainers.Flameopathic ];
|
||||
};
|
||||
};
|
||||
|
||||
ibm.output-colorizer = buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
name = "output-colorizer";
|
||||
|
|
|
@ -1,71 +1,86 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, buildMozillaMach
|
||||
, nixosTests
|
||||
, python311
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
buildMozillaMach,
|
||||
nixosTests,
|
||||
python311,
|
||||
}:
|
||||
|
||||
((buildMozillaMach rec {
|
||||
pname = "floorp";
|
||||
packageVersion = "11.17.5";
|
||||
applicationName = "Floorp";
|
||||
binaryName = "floorp";
|
||||
branding = "browser/branding/official";
|
||||
requireSigning = false;
|
||||
allowAddonSideload = true;
|
||||
(
|
||||
(buildMozillaMach rec {
|
||||
pname = "floorp";
|
||||
packageVersion = "11.17.7";
|
||||
applicationName = "Floorp";
|
||||
binaryName = "floorp";
|
||||
branding = "browser/branding/official";
|
||||
requireSigning = false;
|
||||
allowAddonSideload = true;
|
||||
|
||||
# Must match the contents of `browser/config/version.txt` in the source tree
|
||||
version = "128.1.0";
|
||||
# Must match the contents of `browser/config/version.txt` in the source tree
|
||||
version = "128.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Floorp-Projects";
|
||||
repo = "Floorp";
|
||||
fetchSubmodules = true;
|
||||
rev = "v${packageVersion}";
|
||||
hash = "sha256-8uONEMQI801c9txDa1ZmHQE8xQCViAJbTkxtgYRmUDE=";
|
||||
};
|
||||
src = fetchFromGitHub {
|
||||
owner = "Floorp-Projects";
|
||||
repo = "Floorp";
|
||||
fetchSubmodules = true;
|
||||
rev = "v${packageVersion}";
|
||||
hash = "sha256-IAzPt696AWBEyfxR5U5/Isd6urPoi3fHshT+Fl+o/Bg=";
|
||||
};
|
||||
|
||||
extraConfigureFlags = [
|
||||
"--with-app-name=${pname}"
|
||||
"--with-app-basename=${applicationName}"
|
||||
"--with-unsigned-addon-scopes=app,system"
|
||||
"--enable-proxy-bypass-protection"
|
||||
];
|
||||
extraConfigureFlags = [
|
||||
"--with-app-name=${pname}"
|
||||
"--with-app-basename=${applicationName}"
|
||||
"--with-unsigned-addon-scopes=app,system"
|
||||
"--enable-proxy-bypass-protection"
|
||||
];
|
||||
|
||||
extraPostPatch = ''
|
||||
# Fix .desktop files for PWAs generated by Floorp
|
||||
# The executable path returned by Services.dirsvc.get() is absolute and
|
||||
# thus is the full /nix/store/[..] path. To avoid breaking PWAs with each
|
||||
# update, rely on `floorp` being in $PATH, as before.
|
||||
substituteInPlace floorp/browser/base/content/modules/ssb/LinuxSupport.mjs \
|
||||
--replace-fail 'Services.dirsvc.get("XREExeF",Ci.nsIFile).path' '"floorp"'
|
||||
'';
|
||||
extraPostPatch = ''
|
||||
# Fix .desktop files for PWAs generated by Floorp
|
||||
# The executable path returned by Services.dirsvc.get() is absolute and
|
||||
# thus is the full /nix/store/[..] path. To avoid breaking PWAs with each
|
||||
# update, rely on `floorp` being in $PATH, as before.
|
||||
substituteInPlace floorp/browser/base/content/modules/ssb/LinuxSupport.mjs \
|
||||
--replace-fail 'Services.dirsvc.get("XREExeF",Ci.nsIFile).path' '"floorp"'
|
||||
'';
|
||||
|
||||
updateScript = ./update.sh;
|
||||
updateScript = ./update.sh;
|
||||
|
||||
meta = {
|
||||
description = "Fork of Firefox, focused on keeping the Open, Private and Sustainable Web alive, built in Japan";
|
||||
homepage = "https://floorp.app/";
|
||||
maintainers = with lib.maintainers; [ christoph-heiss ];
|
||||
platforms = lib.platforms.unix;
|
||||
badPlatforms = lib.platforms.darwin;
|
||||
broken = stdenv.buildPlatform.is32bit; # since Firefox 60, build on 32-bit platforms fails with "out of memory".
|
||||
# not in `badPlatforms` because cross-compilation on 64-bit machine might work.
|
||||
maxSilent = 14400; # 4h, double the default of 7200s (c.f. #129212, #129115)
|
||||
license = lib.licenses.mpl20;
|
||||
mainProgram = "floorp";
|
||||
};
|
||||
tests = [ nixosTests.floorp ];
|
||||
}).override {
|
||||
# Upstream build configuration can be found at
|
||||
# .github/workflows/src/linux/shared/mozconfig_linux_base
|
||||
privacySupport = true;
|
||||
webrtcSupport = true;
|
||||
enableOfficialBranding = false;
|
||||
googleAPISupport = true;
|
||||
mlsAPISupport = true;
|
||||
}).overrideAttrs (prev: {
|
||||
MOZ_DATA_REPORTING = "";
|
||||
MOZ_TELEMETRY_REPORTING = "";
|
||||
})
|
||||
meta = {
|
||||
description = "Fork of Firefox, focused on keeping the Open, Private and Sustainable Web alive, built in Japan";
|
||||
homepage = "https://floorp.app/";
|
||||
maintainers = with lib.maintainers; [ christoph-heiss ];
|
||||
platforms = lib.platforms.unix;
|
||||
badPlatforms = lib.platforms.darwin;
|
||||
broken = stdenv.buildPlatform.is32bit;
|
||||
# since Firefox 60, build on 32-bit platforms fails with "out of memory".
|
||||
# not in `badPlatforms` because cross-compilation on 64-bit machine might work.
|
||||
maxSilent = 14400; # 4h, double the default of 7200s (c.f. #129212, #129115)
|
||||
license = lib.licenses.mpl20;
|
||||
mainProgram = "floorp";
|
||||
};
|
||||
tests = [ nixosTests.floorp ];
|
||||
}).override
|
||||
{
|
||||
# Upstream build configuration can be found at
|
||||
# .github/workflows/src/linux/shared/mozconfig_linux_base
|
||||
privacySupport = true;
|
||||
webrtcSupport = true;
|
||||
enableOfficialBranding = false;
|
||||
googleAPISupport = true;
|
||||
mlsAPISupport = true;
|
||||
}
|
||||
).overrideAttrs
|
||||
(prev: {
|
||||
MOZ_DATA_REPORTING = "";
|
||||
MOZ_TELEMETRY_REPORTING = "";
|
||||
|
||||
# Upstream already includes some of the bugfix patches that are applied by
|
||||
# `buildMozillaMach`. Pick out only the relevant ones for Floorp and override
|
||||
# the list here.
|
||||
patches = [
|
||||
../firefox/env_var_for_system_dir-ff111.patch
|
||||
../firefox/no-buildconfig-ffx121.patch
|
||||
];
|
||||
})
|
||||
|
|
|
@ -2,30 +2,30 @@
|
|||
let
|
||||
versions =
|
||||
if stdenv.isLinux then {
|
||||
stable = "0.0.64";
|
||||
ptb = "0.0.98";
|
||||
canary = "0.0.465";
|
||||
stable = "0.0.65";
|
||||
ptb = "0.0.101";
|
||||
canary = "0.0.475";
|
||||
development = "0.0.24";
|
||||
} else {
|
||||
stable = "0.0.313";
|
||||
ptb = "0.0.127";
|
||||
canary = "0.0.574";
|
||||
development = "0.0.45";
|
||||
stable = "0.0.316";
|
||||
ptb = "0.0.130";
|
||||
canary = "0.0.583";
|
||||
development = "0.0.46";
|
||||
};
|
||||
version = versions.${branch};
|
||||
srcs = rec {
|
||||
x86_64-linux = {
|
||||
stable = fetchurl {
|
||||
url = "https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz";
|
||||
hash = "sha256-tBopyhGRNDmtOWSwwiNnPJJm82sk3s76cUun7erHRbM=";
|
||||
hash = "sha256-kzYLZcjuG7k8RSjc5ooDlMKaAlMHvm0yCl5Krnhqq8A=";
|
||||
};
|
||||
ptb = fetchurl {
|
||||
url = "https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz";
|
||||
hash = "sha256-aJx5ruZRCnBTf/Qon1uFfxMX2a25Xg2AzbnN/UtDe8w=";
|
||||
hash = "sha256-JesxPoYybVLVwTrDwG2kO6Pikq7qvn7CO8j+24dwjBc=";
|
||||
};
|
||||
canary = fetchurl {
|
||||
url = "https://dl-canary.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz";
|
||||
hash = "sha256-h4ULLPRhtGy6FZHKfj3AF0hjPhidVvJEbHOVgCh+6JQ=";
|
||||
hash = "sha256-suVIDCZhI6DwUVizBmTm104Clr6pH/olAIbOMNzFNss=";
|
||||
};
|
||||
development = fetchurl {
|
||||
url = "https://dl-development.discordapp.net/apps/linux/${version}/discord-development-${version}.tar.gz";
|
||||
|
@ -35,19 +35,19 @@ let
|
|||
x86_64-darwin = {
|
||||
stable = fetchurl {
|
||||
url = "https://dl.discordapp.net/apps/osx/${version}/Discord.dmg";
|
||||
hash = "sha256-eQLPtwSX24+DOxvQcS2tFOMI6HNYedycl/U5GnzR6w0=";
|
||||
hash = "sha256-ZJ2ybvKGGCm8CZhwGxmLXZWNUD1eAyg17zD/sBwViB4=";
|
||||
};
|
||||
ptb = fetchurl {
|
||||
url = "https://dl-ptb.discordapp.net/apps/osx/${version}/DiscordPTB.dmg";
|
||||
hash = "sha256-Z2b4I8WzBaubb5oGEGpqC6VlVvObyQwKOH+mxCPMuMw=";
|
||||
hash = "sha256-mLfeMx5dQNpoLUyoOSCj8XtNxWjsBpVWdFv1obtHJak=";
|
||||
};
|
||||
canary = fetchurl {
|
||||
url = "https://dl-canary.discordapp.net/apps/osx/${version}/DiscordCanary.dmg";
|
||||
hash = "sha256-ZKjZf716RPOcXkZEFzvb4ojafafccVpjlLoEZv/GGec=";
|
||||
hash = "sha256-eIjkXOW07sR26iBttT0mGDxNnpLFKlVJtzSAtFcicBg=";
|
||||
};
|
||||
development = fetchurl {
|
||||
url = "https://dl-development.discordapp.net/apps/osx/${version}/DiscordDevelopment.dmg";
|
||||
hash = "sha256-KvomKLcDnHyRSGwKDxwb5AZbJqMwKpvP4BC0Sn7IVsk=";
|
||||
hash = "sha256-nMihtf/xLIxwqAVrF1BSRewdS2WThx0LZ5HZUI+OzM0=";
|
||||
};
|
||||
};
|
||||
aarch64-darwin = x86_64-darwin;
|
||||
|
|
|
@ -1,18 +1,19 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, cmake
|
||||
, pkg-config
|
||||
, makeWrapper
|
||||
, libusb-compat-0_1
|
||||
, ncurses
|
||||
, usePython ? false
|
||||
, python ? null
|
||||
, swig2
|
||||
, extraPackages ? [ ]
|
||||
, buildPackages
|
||||
, testers
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
cmake,
|
||||
pkg-config,
|
||||
makeWrapper,
|
||||
libusb-compat-0_1,
|
||||
ncurses,
|
||||
usePython ? false,
|
||||
python ? null,
|
||||
swig3,
|
||||
extraPackages ? [ ],
|
||||
buildPackages,
|
||||
testers,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
|
@ -39,21 +40,19 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
pkg-config
|
||||
makeWrapper
|
||||
];
|
||||
buildInputs = [
|
||||
libusb-compat-0_1
|
||||
ncurses
|
||||
] ++ lib.optionals usePython [
|
||||
python
|
||||
swig2
|
||||
];
|
||||
buildInputs =
|
||||
[
|
||||
libusb-compat-0_1
|
||||
ncurses
|
||||
]
|
||||
++ lib.optionals usePython [
|
||||
python
|
||||
swig3
|
||||
];
|
||||
|
||||
propagatedBuildInputs = lib.optionals usePython [
|
||||
python.pkgs.numpy
|
||||
];
|
||||
propagatedBuildInputs = lib.optionals usePython [ python.pkgs.numpy ];
|
||||
|
||||
cmakeFlags = lib.optionals usePython [
|
||||
"-DUSE_PYTHON_CONFIG=ON"
|
||||
];
|
||||
cmakeFlags = lib.optionals usePython [ "-DUSE_PYTHON_CONFIG=ON" ];
|
||||
|
||||
postFixup = lib.optionalString (extraPackages != [ ]) (
|
||||
# Join all plugins via symlinking
|
||||
|
@ -62,12 +61,11 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
${buildPackages.xorg.lndir}/bin/lndir -silent ${pkg} $out
|
||||
''))
|
||||
lib.concatStrings
|
||||
] + ''
|
||||
]
|
||||
+ ''
|
||||
# Needed for at least the remote plugin server
|
||||
for file in $out/bin/*; do
|
||||
wrapProgram "$file" --prefix SOAPY_SDR_PLUGIN_PATH : ${lib.escapeShellArg (
|
||||
lib.makeSearchPath finalAttrs.passthru.searchPath extraPackages
|
||||
)}
|
||||
wrapProgram "$file" --prefix SOAPY_SDR_PLUGIN_PATH : ${lib.escapeShellArg (lib.makeSearchPath finalAttrs.passthru.searchPath extraPackages)}
|
||||
done
|
||||
''
|
||||
);
|
||||
|
|
|
@ -3,13 +3,13 @@
|
|||
buildKodiAddon rec {
|
||||
pname = "youtube";
|
||||
namespace = "plugin.video.youtube";
|
||||
version = "7.0.8";
|
||||
version = "7.0.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "anxdpanic";
|
||||
repo = "plugin.video.youtube";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-cWqAHC3UYDWk0cL/to9kCdH+SSN3ra+Ni6HTwposNkg=";
|
||||
hash = "sha256-C2Xnz4V+jSwkBbroysG5ruidwdeE3V+NutQxW3Nfh6Y=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
|
@ -111,6 +111,7 @@ let
|
|||
modernx-zydezu = callPackage ./modernx-zydezu.nix { };
|
||||
mpris = callPackage ./mpris.nix { };
|
||||
mpv-cheatsheet = callPackage ./mpv-cheatsheet.nix { };
|
||||
mpv-discord = callPackage ./mpv-discord.nix { };
|
||||
mpv-notify-send = callPackage ./mpv-notify-send.nix { };
|
||||
mpv-osc-modern = callPackage ./mpv-osc-modern.nix { };
|
||||
mpv-playlistmanager = callPackage ./mpv-playlistmanager.nix { };
|
||||
|
|
44
pkgs/applications/video/mpv/scripts/mpv-discord.nix
Normal file
44
pkgs/applications/video/mpv/scripts/mpv-discord.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{
|
||||
fetchFromGitHub,
|
||||
buildGoModule,
|
||||
buildLua,
|
||||
lib,
|
||||
}:
|
||||
let
|
||||
version = "1.6.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tnychn";
|
||||
repo = "mpv-discord";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-P1UaXGboOiqrXapfLzJI6IT3esNtflkQkcNXt4Umukc=";
|
||||
};
|
||||
|
||||
core = buildGoModule {
|
||||
name = "mpv-discord-core";
|
||||
inherit version;
|
||||
|
||||
src = "${src}/mpv-discord";
|
||||
|
||||
vendorHash = "sha256-xe1jyWFQUD+Z4qBAVQ0SBY0gdxmi5XG9t29n3f/WKDs=";
|
||||
};
|
||||
in
|
||||
buildLua {
|
||||
pname = "mpv-discord";
|
||||
inherit version src;
|
||||
|
||||
scriptPath = "scripts/discord.lua";
|
||||
|
||||
postInstall = ''
|
||||
substituteInPlace $out/share/mpv/scripts/discord.lua \
|
||||
--replace-fail 'binary_path = ""' 'binary_path = "${core}/bin/mpv-discord"'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Cross-platform Discord Rich Presence integration for mpv with no external dependencies";
|
||||
homepage = "https://github.com/tnychn/mpv-discord";
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = with lib.maintainers; [ bddvlpr ];
|
||||
};
|
||||
}
|
|
@ -20,17 +20,17 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "aaaaxy";
|
||||
version = "1.5.173";
|
||||
version = "1.5.183";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "divVerent";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-tCA4mmNbRCn48lN5U+x4mnHEsLbMf5jBDOU/jnRFkvE=";
|
||||
hash = "sha256-uXu9z4J3ufe7thXsAGWGTSgb8LVPboM7CSTNf7NBw1Q=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
vendorHash = "sha256-4zQJUw0CQci/BPfo8V2LzuFc6MDQMXf06RCrqxg1G/c=";
|
||||
vendorHash = "sha256-Z52g/ZSIYjHt8bjeAnQidkFyprJOO/IkNcrSFcKcv30=";
|
||||
|
||||
buildInputs = [
|
||||
alsa-lib
|
||||
|
|
39
pkgs/by-name/ad/adwaita-icon-theme-legacy/package.nix
Normal file
39
pkgs/by-name/ad/adwaita-icon-theme-legacy/package.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
meson,
|
||||
ninja,
|
||||
gtk4,
|
||||
gnome,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "adwaita-icon-theme-legacy";
|
||||
version = "46.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/adwaita-icon-theme-legacy/${lib.versions.major finalAttrs.version}/adwaita-icon-theme-legacy-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-VISA9YWJpUty0Ygzt1WxX/vVZ+MYcknXTi4fj5nyL7Q=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
gtk4 # for gtk4-update-icon-cache
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome.updateScript {
|
||||
packageName = "adwaita-icon-theme-legacy";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fullcolor icon theme providing fallback for legacy apps";
|
||||
homepage = "https://gitlab.gnome.org/GNOME/adwaita-icon-theme-legacy";
|
||||
license = licenses.cc-by-sa-30;
|
||||
maintainers = teams.gnome.members;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
})
|
|
@ -11,7 +11,7 @@
|
|||
elfutils,
|
||||
enablePython ? false,
|
||||
pythonPackages ? null,
|
||||
swig2,
|
||||
swig4,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
|
@ -34,7 +34,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
pkg-config
|
||||
]
|
||||
++ lib.optionals enablePython [
|
||||
swig2
|
||||
swig4
|
||||
pythonPackages.setuptools
|
||||
];
|
||||
buildInputs = [
|
||||
|
|
|
@ -17,7 +17,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
|||
|
||||
postPatch = ''
|
||||
substituteInPlace betterdiscordctl \
|
||||
--replace "DISABLE_SELF_UPGRADE=" "DISABLE_SELF_UPGRADE=yes"
|
||||
--replace-fail "DISABLE_SELF_UPGRADE=" "DISABLE_SELF_UPGRADE=yes"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
|
|
|
@ -48,10 +48,6 @@ rustPlatform.buildRustPackage rec {
|
|||
};
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace justfile --replace '#!/usr/bin/env' "#!$(command -v env)"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ just pkg-config util-linuxMinimal ];
|
||||
buildInputs = [ dbus glib libinput libxkbcommon pulseaudio wayland udev ];
|
||||
|
||||
|
|
642
pkgs/by-name/co/cosmic-session/Cargo.lock
generated
642
pkgs/by-name/co/cosmic-session/Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -11,38 +11,34 @@
|
|||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cosmic-session";
|
||||
version = "0-unstable-2024-01-17";
|
||||
version = "1.0.0-alpha.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pop-os";
|
||||
repo = pname;
|
||||
rev = "8e73c0f6940288c4a24a102a7ba9f20eb6bd754f";
|
||||
sha256 = "sha256-plglQ9i+kcG70v9ElCzwNMhO1xcuEAQiO0DeZfRjbcg=";
|
||||
repo = "cosmic-session";
|
||||
rev = "epoch-${version}";
|
||||
sha256 = "sha256-5zfEBNsMxtKPJZcGYZth/SoXrsg0gpug15VR5fPbvt0=";
|
||||
};
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"cosmic-notifications-util-0.1.0" = "sha256-GmTT7SFBqReBMe4GcNSym1YhsKtFQ/0hrDcwUqXkaBw=";
|
||||
"launch-pad-0.1.0" = "sha256-tnbSJ/GP9GTnLnikJmvb9XrJSgnUnWjadABHF43L1zc=";
|
||||
"launch-pad-0.1.0" = "sha256-c+uawTQlg5SW8x7DOBG2Idv/AfIaCFNtLQLUz8ifT2I=";
|
||||
};
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Justfile \
|
||||
--replace '#!/usr/bin/env' "#!$(command -v env)" \
|
||||
--replace 'target/release/cosmic-session' "target/${
|
||||
rust.lib.toRustTargetSpecShort stdenv.hostPlatform
|
||||
}/release/cosmic-session"
|
||||
--replace-fail '{{cargo-target-dir}}/release/cosmic-session' 'target/${rust.lib.toRustTargetSpecShort stdenv.hostPlatform}/release/cosmic-session'
|
||||
substituteInPlace data/start-cosmic \
|
||||
--replace '#!/bin/bash' "#!${lib.getBin bash}/bin/bash" \
|
||||
--replace '/usr/bin/cosmic-session' "$out/bin/cosmic-session" \
|
||||
--replace '/usr/bin/dbus-run-session' "${
|
||||
lib.getBin dbus
|
||||
}/bin/dbus-run-session"
|
||||
substituteInPlace data/cosmic.desktop --replace '/usr/bin/start-cosmic' "$out/bin/start-cosmic"
|
||||
--replace-fail '/usr/bin/cosmic-session' "${placeholder "out"}/bin/cosmic-session" \
|
||||
--replace-fail '/usr/bin/dbus-run-session' "${lib.getBin dbus}/bin/dbus-run-session"
|
||||
substituteInPlace data/cosmic.desktop \
|
||||
--replace-fail '/usr/bin/start-cosmic' "${placeholder "out"}/bin/start-cosmic"
|
||||
'';
|
||||
|
||||
buildInputs = [ bash ];
|
||||
nativeBuildInputs = [ just ];
|
||||
|
||||
dontUseJustBuild = true;
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
ddcutil,
|
||||
glib,
|
||||
hwdata,
|
||||
imagemagick_light,
|
||||
imagemagick,
|
||||
libXrandr,
|
||||
libdrm,
|
||||
libglvnd,
|
||||
|
@ -47,13 +47,13 @@ let
|
|||
in
|
||||
stdenv'.mkDerivation (finalAttrs: {
|
||||
pname = "fastfetch";
|
||||
version = "2.21.3";
|
||||
version = "2.22.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fastfetch-cli";
|
||||
repo = "fastfetch";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-AnURAH5tSIwmbLtB7FjjrOODGxrXbMOIqVjIBwOU+lo=";
|
||||
hash = "sha256-ncaBMSV7n4RVA2376ExBv+a8bzuvuMttv3GlNaOH23k=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
|
@ -71,7 +71,7 @@ stdenv'.mkDerivation (finalAttrs: {
|
|||
buildInputs =
|
||||
[
|
||||
chafa
|
||||
imagemagick_light
|
||||
imagemagick
|
||||
pcre
|
||||
pcre2
|
||||
sqlite
|
||||
|
|
|
@ -12,16 +12,16 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "lsd";
|
||||
version = "1.1.3";
|
||||
version = "1.1.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lsd-rs";
|
||||
repo = "lsd";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-4vf68Rga2Z+PYIdfzzmDtfjCQVbr8RWiVG29c/UDVsQ=";
|
||||
hash = "sha256-LlMcBMb40yN+rlvGVsh7JaC3j9sF60YxitQQXe1q/oI=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-R+mOpZQLY6VFfxhCSk2MZmoCRGT49knBH9k4C6Z6KuQ=";
|
||||
cargoHash = "sha256-yyXFtMyiMq6TaN9/7+BaBERHgubeA8SJGOr08Mn3RnY=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
|
|
|
@ -6,31 +6,31 @@
|
|||
, dpkg
|
||||
, libGL
|
||||
, systemd
|
||||
, electron_28
|
||||
, electron_30
|
||||
|
||||
, commandLineArgs ? ""
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "lx-music-desktop";
|
||||
version = "2.8.0";
|
||||
version = "2.9.0";
|
||||
|
||||
buildUrl = version: arch: "https://github.com/lyswhut/lx-music-desktop/releases/download/v${version}/lx-music-desktop_${version}_${arch}.deb";
|
||||
|
||||
srcs = {
|
||||
x86_64-linux = fetchurl {
|
||||
url = buildUrl version "amd64";
|
||||
hash = "sha256-Kt/foI7NrXV+Ex2DxLRyP3bVFw0Bx4TLuMyBMZD0bDw=";
|
||||
hash = "sha256-krjC3vAwTMzlWJJIuJmYzFtN/Z/IINnzooUtlONeUM0=";
|
||||
};
|
||||
|
||||
aarch64-linux = fetchurl {
|
||||
url = buildUrl version "arm64";
|
||||
hash = "sha256-4X4fXb2V/FigArcIgpgkNBa2+mOemPOx/HkxPlx//gw=";
|
||||
hash = "sha256-734hTi/vgSrLAks+CV1vxrrZfSShnpExlO0JWUc4oUE=";
|
||||
};
|
||||
|
||||
armv7l-linux = fetchurl {
|
||||
url = buildUrl version "armv7l";
|
||||
hash = "sha256-uWEQYOT4wxg6HWoL18mEpWF8pONl5Bwf/bnoN4X+A7c=";
|
||||
hash = "sha256-e4Elipw7MzO+3XmmGlZfLDFgSph0by5Xy6FtYCie/38=";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -68,7 +68,7 @@ stdenv.mkDerivation {
|
|||
'';
|
||||
|
||||
postFixup = ''
|
||||
makeWrapper ${electron_28}/bin/electron $out/bin/lx-music-desktop \
|
||||
makeWrapper ${electron_30}/bin/electron $out/bin/lx-music-desktop \
|
||||
--add-flags $out/opt/lx-music-desktop/resources/app.asar \
|
||||
--prefix LD_LIBRARY_PATH : "${runtimeLibs}" \
|
||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \
|
||||
|
|
|
@ -19,7 +19,7 @@ stdenvNoCC.mkDerivation rec {
|
|||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ThaUnknown/miru/releases/download/v${version}/mac-Miru-${version}-mac.zip";
|
||||
hash = "sha256-4PUi/q9Dtyp6c++hmwfoW5cluzolZYANnKXtiMqlMGo=";
|
||||
hash = "sha256-Pqf6lgogk3j6Bi78x6lCVlOjhR8BhoFbhRa7l3YkqP0=";
|
||||
};
|
||||
|
||||
sourceRoot = ".";
|
||||
|
|
|
@ -19,7 +19,7 @@ appimageTools.wrapType2 rec {
|
|||
src = fetchurl {
|
||||
url = "https://github.com/ThaUnknown/miru/releases/download/v${version}/linux-Miru-${version}.AppImage";
|
||||
name = "${pname}-${version}.AppImage";
|
||||
hash = "sha256-NjsuI9GFMVJ6+E03UDPq6xrzlO0Vs1nfYsOE6TDVwY0=";
|
||||
hash = "sha256-Kk8rdhKNLARG5zngWXRjcfoe9Fc6VHYre7FMkHLPMIo=";
|
||||
};
|
||||
|
||||
extraInstallCommands =
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
}:
|
||||
let
|
||||
pname = "miru";
|
||||
version = "5.3.1";
|
||||
version = "5.5.0";
|
||||
meta = with lib; {
|
||||
description = "Stream anime torrents, real-time with no waiting for downloads";
|
||||
homepage = "https://miru.watch";
|
||||
|
|
16
pkgs/by-name/si/silicon/Cargo.lock
generated
16
pkgs/by-name/si/silicon/Cargo.lock
generated
|
@ -823,6 +823,12 @@ dependencies = [
|
|||
"num-traits",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "num-conv"
|
||||
version = "0.1.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"
|
||||
|
||||
[[package]]
|
||||
name = "num-integer"
|
||||
version = "0.1.45"
|
||||
|
@ -1474,12 +1480,13 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "time"
|
||||
version = "0.3.30"
|
||||
version = "0.3.36"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c4a34ab300f2dee6e562c10a046fc05e358b29f9bf92277f30c3c8d82275f6f5"
|
||||
checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885"
|
||||
dependencies = [
|
||||
"deranged",
|
||||
"itoa",
|
||||
"num-conv",
|
||||
"powerfmt",
|
||||
"serde",
|
||||
"time-core",
|
||||
|
@ -1494,10 +1501,11 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
|
|||
|
||||
[[package]]
|
||||
name = "time-macros"
|
||||
version = "0.2.15"
|
||||
version = "0.2.18"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "4ad70d68dba9e1f8aceda7aa6711965dfec1cac869f311a51bd08b3a2ccbce20"
|
||||
checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf"
|
||||
dependencies = [
|
||||
"num-conv",
|
||||
"time-core",
|
||||
]
|
||||
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "silicon";
|
||||
# Remove `postPatch` hack below when updating.
|
||||
version = "0.5.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
@ -33,6 +34,11 @@ rustPlatform.buildRustPackage rec {
|
|||
};
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# Fix build with Rust 1.80; remove when fixed upstream
|
||||
ln -sf ${./Cargo.lock} Cargo.lock
|
||||
'';
|
||||
|
||||
buildInputs = [ expat freetype fira-code fontconfig harfbuzz ]
|
||||
++ lib.optionals stdenv.isLinux [ libxcb ]
|
||||
++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
|
||||
let
|
||||
pname = "simplex-chat-desktop";
|
||||
version = "5.8.1";
|
||||
version = "6.0.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/simplex-chat/simplex-chat/releases/download/v${version}/simplex-desktop-x86_64.AppImage";
|
||||
hash = "sha256-s5gyamNQk79+FEO2JlHIhlI9LK6M16Mf+D9qz9J67qw=";
|
||||
hash = "sha256-No3nS1AUOxhaxvaPvc8tLW+fj59P4AT/bt0dZobdGAw=";
|
||||
};
|
||||
|
||||
appimageContents = appimageTools.extract {
|
||||
|
|
31
pkgs/by-name/wi/wiseunpacker/deps.nix
generated
Normal file
31
pkgs/by-name/wi/wiseunpacker/deps.nix
generated
Normal file
|
@ -0,0 +1,31 @@
|
|||
# This file was automatically generated by passthru.fetch-deps.
|
||||
# Please dont edit it manually, your changes might get overwritten!
|
||||
|
||||
{ fetchNuGet }:
|
||||
[
|
||||
(fetchNuGet {
|
||||
pname = "Newtonsoft.Json";
|
||||
version = "13.0.3";
|
||||
hash = "sha256-hy/BieY4qxBWVVsDqqOPaLy1QobiIapkbrESm6v2PHc=";
|
||||
})
|
||||
(fetchNuGet {
|
||||
pname = "SabreTools.Compression";
|
||||
version = "0.4.2";
|
||||
hash = "sha256-yNgHjyodFbkghYvPq3ginDGTX7rQNgcD9tRaWD3mJYM=";
|
||||
})
|
||||
(fetchNuGet {
|
||||
pname = "SabreTools.IO";
|
||||
version = "1.3.3";
|
||||
hash = "sha256-UMGpU7g11qFafN+kbDmUt9PXlHg8dPHHZOIz6DuXMEU=";
|
||||
})
|
||||
(fetchNuGet {
|
||||
pname = "SabreTools.Matching";
|
||||
version = "1.3.1";
|
||||
hash = "sha256-vPIGGneY0Zq/H75lJLtq5PosCozAXp+KRlQQ6OGAYiU=";
|
||||
})
|
||||
(fetchNuGet {
|
||||
pname = "SabreTools.Models";
|
||||
version = "1.4.2";
|
||||
hash = "sha256-lVj05vrE6duaBa0Hq2ZmlSU0iYlp1o69P6TDtf9KPqo=";
|
||||
})
|
||||
]
|
41
pkgs/by-name/wi/wiseunpacker/package.nix
Normal file
41
pkgs/by-name/wi/wiseunpacker/package.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
fetchFromGitHub,
|
||||
buildDotnetModule,
|
||||
dotnetCorePackages,
|
||||
lib,
|
||||
}:
|
||||
let
|
||||
version = "1.3.3";
|
||||
pname = "WiseUnpacker";
|
||||
in
|
||||
buildDotnetModule rec {
|
||||
inherit version pname;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mnadareski";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-APbfo2D/p733AwNNByu5MvC9LA8WW4mAzq6t2w/YNrs=";
|
||||
};
|
||||
|
||||
dotnet-sdk = dotnetCorePackages.sdk_8_0;
|
||||
dotnet-runtime = dotnetCorePackages.runtime_8_0;
|
||||
|
||||
dotnetFlags = [ "-p:TargetFramework=net8.0" ];
|
||||
|
||||
# Rename to something sensible
|
||||
postFixup = ''
|
||||
mv "$out/bin/Test" "$out/bin/WiseUnpacker"
|
||||
'';
|
||||
|
||||
nugetDeps = ./deps.nix;
|
||||
|
||||
projectFile = "Test/Test.csproj";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/mnadareski/WiseUnpacker/";
|
||||
description = "C# Wise installer unpacker based on HWUN and E_WISE ";
|
||||
maintainers = [ maintainers.gigahawk ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
|
@ -1,22 +1,27 @@
|
|||
{ lib, buildGoModule, fetchurl }:
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchurl,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "zabbix-agent2-plugin-postgresql";
|
||||
version = "6.4.15";
|
||||
version = "7.0.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://cdn.zabbix.com/zabbix-agent2-plugins/sources/postgresql/zabbix-agent2-plugin-postgresql-${version}.tar.gz";
|
||||
hash = "sha256-9N2xN7ckfBiwWcI+C4VeHDQVrWEaeKUcjfIw7GU7K9E=";
|
||||
hash = "sha256-2+P0a74flxWIpZaII+V04G/szFUrnnIy+f8LfDewcx0=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Required tool for Zabbix agent integrated PostgreSQL monitoring";
|
||||
mainProgram = "postgresql";
|
||||
homepage = "https://www.zabbix.com/integrations/postgresql";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ gador ];
|
||||
platforms = platforms.linux;
|
||||
license =
|
||||
if (lib.versions.major version >= "7") then lib.licenses.agpl3Only else lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ gador ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,24 +1,25 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, autoreconfHook
|
||||
, libgpg-error
|
||||
, gnupg
|
||||
, pkg-config
|
||||
, glib
|
||||
, pth
|
||||
, libassuan
|
||||
, which
|
||||
, ncurses
|
||||
, texinfo
|
||||
, buildPackages
|
||||
, qtbase ? null
|
||||
, pythonSupport ? false
|
||||
, swig2 ? null
|
||||
# only for passthru.tests
|
||||
, libsForQt5
|
||||
, qt6Packages
|
||||
, python3
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
autoreconfHook,
|
||||
libgpg-error,
|
||||
gnupg,
|
||||
pkg-config,
|
||||
glib,
|
||||
pth,
|
||||
libassuan,
|
||||
which,
|
||||
ncurses,
|
||||
texinfo,
|
||||
buildPackages,
|
||||
qtbase ? null,
|
||||
pythonSupport ? false,
|
||||
swig4 ? null,
|
||||
# only for passthru.tests
|
||||
libsForQt5,
|
||||
qt6Packages,
|
||||
python3,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -26,7 +27,11 @@ stdenv.mkDerivation rec {
|
|||
version = "1.23.2";
|
||||
pyproject = true;
|
||||
|
||||
outputs = [ "out" "dev" "info" ];
|
||||
outputs = [
|
||||
"out"
|
||||
"dev"
|
||||
"info"
|
||||
];
|
||||
|
||||
outputBin = "dev"; # gpgme-config; not so sure about gpgme-tool
|
||||
|
||||
|
@ -52,54 +57,50 @@ stdenv.mkDerivation rec {
|
|||
--replace-fail 'tmp="-unknown"' 'tmp=""'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
gnupg
|
||||
pkg-config
|
||||
texinfo
|
||||
] ++ lib.optionals pythonSupport [
|
||||
python3.pythonOnBuildForHost
|
||||
python3.pkgs.pip
|
||||
python3.pkgs.setuptools
|
||||
python3.pkgs.wheel
|
||||
ncurses
|
||||
swig2
|
||||
which
|
||||
];
|
||||
nativeBuildInputs =
|
||||
[
|
||||
autoreconfHook
|
||||
gnupg
|
||||
pkg-config
|
||||
texinfo
|
||||
]
|
||||
++ lib.optionals pythonSupport [
|
||||
python3.pythonOnBuildForHost
|
||||
python3.pkgs.pip
|
||||
python3.pkgs.setuptools
|
||||
python3.pkgs.wheel
|
||||
ncurses
|
||||
swig4
|
||||
which
|
||||
];
|
||||
|
||||
buildInputs = lib.optionals pythonSupport [
|
||||
python3
|
||||
];
|
||||
buildInputs = lib.optionals pythonSupport [ python3 ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
glib
|
||||
libassuan
|
||||
libgpg-error
|
||||
pth
|
||||
] ++ lib.optionals (qtbase != null) [
|
||||
qtbase
|
||||
];
|
||||
] ++ lib.optionals (qtbase != null) [ qtbase ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
which
|
||||
];
|
||||
nativeCheckInputs = [ which ];
|
||||
|
||||
depsBuildBuild = [
|
||||
buildPackages.stdenv.cc
|
||||
];
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
configureFlags = [
|
||||
"--enable-fixed-path=${gnupg}/bin"
|
||||
"--with-libgpg-error-prefix=${libgpg-error.dev}"
|
||||
"--with-libassuan-prefix=${libassuan.dev}"
|
||||
] ++ lib.optional pythonSupport "--enable-languages=python"
|
||||
# Tests will try to communicate with gpg-agent instance via a UNIX socket
|
||||
# which has a path length limit. Nix on darwin is using a build directory
|
||||
# that already has quite a long path and the resulting socket path doesn't
|
||||
# fit in the limit. https://github.com/NixOS/nix/pull/1085
|
||||
++ lib.optionals stdenv.isDarwin [ "--disable-gpg-test" ];
|
||||
configureFlags =
|
||||
[
|
||||
"--enable-fixed-path=${gnupg}/bin"
|
||||
"--with-libgpg-error-prefix=${libgpg-error.dev}"
|
||||
"--with-libassuan-prefix=${libassuan.dev}"
|
||||
]
|
||||
++ lib.optional pythonSupport "--enable-languages=python"
|
||||
# Tests will try to communicate with gpg-agent instance via a UNIX socket
|
||||
# which has a path length limit. Nix on darwin is using a build directory
|
||||
# that already has quite a long path and the resulting socket path doesn't
|
||||
# fit in the limit. https://github.com/NixOS/nix/pull/1085
|
||||
++ lib.optionals stdenv.isDarwin [ "--disable-gpg-test" ];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = toString (
|
||||
# qgpgme uses Q_ASSERT which retains build inputs at runtime unless
|
||||
|
@ -116,7 +117,10 @@ stdenv.mkDerivation rec {
|
|||
|
||||
doCheck = true;
|
||||
|
||||
checkFlags = [ "-C" "tests" ];
|
||||
checkFlags = [
|
||||
"-C"
|
||||
"tests"
|
||||
];
|
||||
|
||||
passthru.tests = {
|
||||
python = python3.pkgs.gpgme;
|
||||
|
@ -134,7 +138,10 @@ stdenv.mkDerivation rec {
|
|||
encryption, decryption, signing, signature verification and key
|
||||
management.
|
||||
'';
|
||||
license = with licenses; [ lgpl21Plus gpl3Plus ];
|
||||
license = with licenses; [
|
||||
lgpl21Plus
|
||||
gpl3Plus
|
||||
];
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
|
|
|
@ -15,13 +15,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "openimageio";
|
||||
version = "2.5.5.0";
|
||||
version = "2.5.14.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "OpenImageIO";
|
||||
repo = "oiio";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-FtUZqk1m9ahdnwhrBeMFkUbV0dangMY/w9ShevCASfo=";
|
||||
hash = "sha256-EIJVqY97C1GaQBYQcSN3ETS63MOPFq/4HjmFJqKbt9U=";
|
||||
};
|
||||
|
||||
# Workaround broken zlib version detecion in CMake < 3.37.
|
||||
|
|
|
@ -12,23 +12,24 @@
|
|||
, pytestCheckHook
|
||||
, pytest-benchmark
|
||||
, pytest-cov
|
||||
, pytest-mock
|
||||
, pandas
|
||||
, azure-storage-blob
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "deltalake";
|
||||
version = "0.18.2";
|
||||
version = "0.19.1";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-xvmtaHNkE6bXwVJtYJBc30qutZuMlcx4JmElCRdxmu8=";
|
||||
hash = "sha256-Xgn6uyIfuB6YnCg8FieOr/tuhXBtmDZKvNpcDGynNZg=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit src;
|
||||
hash = "sha256-/2K8/hsMIeidfviCKK+ffWPB51svWZa+9eZoK9erBaY=";
|
||||
hash = "sha256-ebX51/ztIdhY81sd0fdPsKvaGtCEk8oofrj/Nrt8nfA=";
|
||||
};
|
||||
|
||||
env.OPENSSL_NO_VENDOR = 1;
|
||||
|
@ -60,6 +61,7 @@ buildPythonPackage rec {
|
|||
pandas
|
||||
pytest-benchmark
|
||||
pytest-cov
|
||||
pytest-mock
|
||||
azure-storage-blob
|
||||
];
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
djangorestframework,
|
||||
pytestCheckHook,
|
||||
pytest-django,
|
||||
pytz,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -29,6 +30,7 @@ buildPythonPackage rec {
|
|||
djangorestframework
|
||||
pytestCheckHook
|
||||
pytest-django
|
||||
pytz
|
||||
];
|
||||
|
||||
env.DJANGO_SETTINGS_MODULE = "tests.settings";
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
pytestCheckHook,
|
||||
pytest-django,
|
||||
pytest-lazy-fixture,
|
||||
pytz,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -43,6 +44,7 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
pytest-django
|
||||
pytest-lazy-fixture
|
||||
pytz
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -11,51 +11,56 @@
|
|||
django,
|
||||
pytz,
|
||||
|
||||
# tests
|
||||
# optional-dependencies
|
||||
coreapi,
|
||||
coreschema,
|
||||
django-guardian,
|
||||
inflection,
|
||||
psycopg2,
|
||||
pygments,
|
||||
pyyaml,
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
pytest-django,
|
||||
pyyaml,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "djangorestframework";
|
||||
version = "3.15.1";
|
||||
format = "setuptools";
|
||||
version = "3.15.2";
|
||||
pyproject = true;
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "encode";
|
||||
repo = "django-rest-framework";
|
||||
rev = version;
|
||||
hash = "sha256-G914NvxRmKGkxrozoWNUIoI74YkYRbeNcQwIG4iSeXU=";
|
||||
hash = "sha256-ne0sk4m11Ha77tNmCsdhj7QVmCkYj5GjLn/dLF4qxU8=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
django
|
||||
pytz
|
||||
];
|
||||
pygments
|
||||
] ++ (lib.optional (lib.versionOlder django.version "5.0.0") pytz);
|
||||
|
||||
optional-dependencies = {
|
||||
complete = [
|
||||
coreapi
|
||||
coreschema
|
||||
django-guardian
|
||||
inflection
|
||||
psycopg2
|
||||
pygments
|
||||
pyyaml
|
||||
];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-django
|
||||
pytestCheckHook
|
||||
|
||||
# optional tests
|
||||
coreapi
|
||||
coreschema
|
||||
django-guardian
|
||||
inflection
|
||||
psycopg2
|
||||
pyyaml
|
||||
];
|
||||
] ++ optional-dependencies.complete;
|
||||
|
||||
disabledTests = [
|
||||
# https://github.com/encode/django-rest-framework/issues/9422
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
setuptools,
|
||||
|
||||
# tests
|
||||
python,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -33,12 +33,9 @@ buildPythonPackage rec {
|
|||
setuptools
|
||||
];
|
||||
|
||||
# Disable static linking
|
||||
# https://github.com/numba/llvmlite/issues/93
|
||||
postPatch = ''
|
||||
substituteInPlace ffi/Makefile.linux --replace "-static-libstdc++" ""
|
||||
|
||||
substituteInPlace llvmlite/tests/test_binding.py --replace "test_linux" "nope"
|
||||
substituteInPlace llvmlite/tests/test_binding.py \
|
||||
--replace-fail "test_linux" "nope"
|
||||
'';
|
||||
|
||||
# Set directory containing llvm-config binary
|
||||
|
@ -46,21 +43,23 @@ buildPythonPackage rec {
|
|||
export LLVM_CONFIG=${llvm.dev}/bin/llvm-config
|
||||
'';
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
${python.executable} runtests.py
|
||||
runHook postCheck
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
# https://github.com/NixOS/nixpkgs/issues/255262
|
||||
preCheck = ''
|
||||
cd $out
|
||||
'';
|
||||
|
||||
__impureHostDeps = lib.optionals stdenv.isDarwin [ "/usr/lib/libm.dylib" ];
|
||||
|
||||
passthru.llvm = llvm;
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
changelog = "https://github.com/numba/llvmlite/blob/v${version}/CHANGE_LOG";
|
||||
description = "Lightweight LLVM python binding for writing JIT compilers";
|
||||
downloadPage = "https://github.com/numba/llvmlite";
|
||||
homepage = "http://llvmlite.pydata.org/";
|
||||
license = licenses.bsd2;
|
||||
license = lib.licenses.bsd2;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
toPythonModule,
|
||||
python,
|
||||
lttng-tools,
|
||||
swig2,
|
||||
swig4,
|
||||
}:
|
||||
|
||||
toPythonModule (
|
||||
|
@ -15,7 +15,7 @@ toPythonModule (
|
|||
{
|
||||
pname = "lttng";
|
||||
|
||||
nativeBuildInputs = nativeBuildInputs ++ [ swig2 ];
|
||||
nativeBuildInputs = nativeBuildInputs ++ [ swig4 ];
|
||||
|
||||
configureFlags = configureFlags ++ [
|
||||
"--enable-python-bindings"
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
python,
|
||||
buildPythonPackage,
|
||||
setuptools,
|
||||
numpy,
|
||||
numpy_2,
|
||||
llvmlite,
|
||||
libcxx,
|
||||
|
@ -17,6 +16,7 @@
|
|||
runCommand,
|
||||
writers,
|
||||
numba,
|
||||
pytestCheckHook,
|
||||
|
||||
config,
|
||||
|
||||
|
@ -27,13 +27,15 @@
|
|||
|
||||
# CUDA flags:
|
||||
cudaSupport ? config.cudaSupport,
|
||||
testsWithoutSandbox ? false,
|
||||
doFullCheck ? false,
|
||||
}:
|
||||
|
||||
let
|
||||
cudatoolkit = cudaPackages.cuda_nvcc;
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
version = "0.60.0";
|
||||
version = "0.61.0dev0";
|
||||
pname = "numba";
|
||||
pyproject = true;
|
||||
|
||||
|
@ -54,8 +56,18 @@ buildPythonPackage rec {
|
|||
# that upstream relies on those strings to be valid, that's why we don't
|
||||
# use `forceFetchGit = true;`.` If in the future we'll observe the hash
|
||||
# changes too often, we can always use forceFetchGit, and inject the
|
||||
# relevant strings ourselves, using `sed` commands, in extraPostFetch.
|
||||
hash = "sha256-hUL281wHLA7wo8umzBNhiGJikyIF2loCzjLECuC+pO0=";
|
||||
# relevant strings ourselves, using `substituteInPlace`, in postFetch.
|
||||
hash = "sha256-KF9YQ6/FIfUQTJCAMgfIqnb/D8mdMbCC/tJvfYlSkgI=";
|
||||
# TEMPORARY: The way upstream knows it's source version is explained above,
|
||||
# and without this upstream sets the version in ${python.sitePackages} as
|
||||
# 0.61.0dev0, which causes dependent packages fail to find a valid
|
||||
# version of numba.
|
||||
postFetch = ''
|
||||
substituteInPlace $out/numba/_version.py \
|
||||
--replace-fail \
|
||||
'git_refnames = " (tag: ${version})"' \
|
||||
'git_refnames = " (tag: 0.61.0, release0.61)"'
|
||||
'';
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -69,7 +81,6 @@ buildPythonPackage rec {
|
|||
|
||||
build-system = [
|
||||
setuptools
|
||||
numpy_2
|
||||
];
|
||||
|
||||
nativeBuildInputs = lib.optionals cudaSupport [
|
||||
|
@ -77,10 +88,12 @@ buildPythonPackage rec {
|
|||
cudaPackages.cuda_nvcc
|
||||
];
|
||||
|
||||
buildInputs = lib.optionals cudaSupport [ cudaPackages.cuda_cudart ];
|
||||
buildInputs = [
|
||||
# Not propagating it, because it numba can work with either numpy_2 or numpy_1
|
||||
numpy_2
|
||||
] ++ lib.optionals cudaSupport [ cudaPackages.cuda_cudart ];
|
||||
|
||||
dependencies = [
|
||||
numpy
|
||||
llvmlite
|
||||
setuptools
|
||||
] ++ lib.optionals (pythonOlder "3.9") [ importlib-metadata ];
|
||||
|
@ -103,20 +116,28 @@ buildPythonPackage rec {
|
|||
})
|
||||
];
|
||||
|
||||
# run a smoke test in a temporary directory so that
|
||||
# a) Python picks up the installed library in $out instead of the build files
|
||||
# b) we have somewhere to put $HOME so some caching tests work
|
||||
# c) it doesn't take 6 CPU hours for the full suite
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pushd $(mktemp -d)
|
||||
HOME=. ${python.interpreter} -m numba.runtests -m $NIX_BUILD_CORES numba.tests.test_usecases
|
||||
popd
|
||||
|
||||
runHook postCheck
|
||||
preCheck = ''
|
||||
export HOME="$(mktemp -d)"
|
||||
# https://github.com/NixOS/nixpkgs/issues/255262
|
||||
cd $out
|
||||
'';
|
||||
|
||||
pytestFlagsArray = lib.optionals (!doFullCheck) [
|
||||
# These are the most basic tests. Running all tests is too expensive, and
|
||||
# some of them fail (also differently on different platforms), so it will
|
||||
# be too hard to maintain such a `disabledTests` list.
|
||||
"${python.sitePackages}/numba/tests/test_usecases.py"
|
||||
];
|
||||
|
||||
disabledTestPaths = lib.optionals (!testsWithoutSandbox) [
|
||||
# See NOTE near passthru.tests.withoutSandbox
|
||||
"${python.sitePackages}/numba/cuda/tests"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "numba" ];
|
||||
|
||||
passthru.testers.cuda-detect =
|
||||
|
@ -128,23 +149,18 @@ buildPythonPackage rec {
|
|||
'';
|
||||
passthru.tests = {
|
||||
# CONTRIBUTOR NOTE: numba also contains CUDA tests, though these cannot be run in
|
||||
# this sandbox environment. Consider running similar commands to those below outside the
|
||||
# sandbox manually if you have the appropriate hardware; support will be detected
|
||||
# and the corresponding tests enabled automatically.
|
||||
# Also, the full suite currently does not complete on anything but x86_64-linux.
|
||||
fullSuite = runCommand "${pname}-test" { } ''
|
||||
pushd $(mktemp -d)
|
||||
# pip and python in $PATH is needed for the test suite to pass fully
|
||||
PATH=${
|
||||
python.withPackages (p: [
|
||||
p.numba
|
||||
p.pip
|
||||
])
|
||||
}/bin:$PATH
|
||||
HOME=$PWD python -m numba.runtests -m $NIX_BUILD_CORES
|
||||
popd
|
||||
touch $out # stop Nix from complaining no output was generated and failing the build
|
||||
'';
|
||||
# this sandbox environment. Consider building the derivation below with
|
||||
# --no-sandbox to get a view of how many tests succeed outside the sandbox.
|
||||
withoutSandbox = numba.override {
|
||||
doFullCheck = true;
|
||||
cudaSupport = true;
|
||||
testsWithoutSandbox = true;
|
||||
};
|
||||
withSandbox = numba.override {
|
||||
cudaSupport = false;
|
||||
doFullCheck = true;
|
||||
testsWithoutSandbox = false;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -58,7 +58,7 @@ let
|
|||
in
|
||||
buildPythonPackage rec {
|
||||
pname = "numpy";
|
||||
version = "2.0.1";
|
||||
version = "2.1.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
@ -66,7 +66,7 @@ buildPythonPackage rec {
|
|||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "tar.gz";
|
||||
hash = "sha256-SFuHI1eWQQw1GaaZz+H6qwl+UJ6Q67BdzQmNsq6H57M=";
|
||||
hash = "sha256-fckNoAgffh2knsTjmO3mqOnMT16+X54GtEPtiJ7pqqI=";
|
||||
};
|
||||
|
||||
patches = lib.optionals python.hasDistutilsCxxPatch [
|
||||
|
|
|
@ -13,14 +13,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "paginate";
|
||||
version = "0.5.6";
|
||||
version = "0.5.7";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Pylons";
|
||||
repo = "paginate";
|
||||
rev = version;
|
||||
hash = "sha256-HZWwOYOCk4mAmz8OnM9hhlf8HA+jC75dYVeo0l4a09o=";
|
||||
hash = "sha256-+zX9uGNWcV4BWbD2lcd1u9zZ4m7CnbsYZnc99HNaF8I=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
|
40
pkgs/development/tools/misc/automake/automake-1.17.x.nix
Normal file
40
pkgs/development/tools/misc/automake/automake-1.17.x.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ lib, stdenv, fetchurl, perl, autoconf, updateAutotoolsGnuConfigScriptsHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "automake";
|
||||
version = "1.17";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/automake/automake-${version}.tar.xz";
|
||||
hash = "sha256-iSDB/EEeE7kL9wTvnbbynVQOdtIyyzssn03EzFmb2ZA=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ updateAutotoolsGnuConfigScriptsHook autoconf perl ];
|
||||
buildInputs = [ autoconf ];
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
||||
doCheck = false; # takes _a lot_ of time, fails 3 out of 2698 tests, all seem to be related to paths
|
||||
doInstallCheck = false; # runs the same thing, fails the same tests
|
||||
|
||||
# The test suite can run in parallel.
|
||||
enableParallelBuilding = true;
|
||||
|
||||
# Don't fixup "#! /bin/sh" in Libtool, otherwise it will use the
|
||||
# "fixed" path in generated files!
|
||||
dontPatchShebangs = true;
|
||||
|
||||
meta = with lib; {
|
||||
branch = "1.17";
|
||||
homepage = "https://www.gnu.org/software/automake/";
|
||||
description = "GNU standard-compliant makefile generator";
|
||||
license = licenses.gpl2Plus;
|
||||
longDescription = ''
|
||||
GNU Automake is a tool for automatically generating
|
||||
`Makefile.in' files compliant with the GNU Coding
|
||||
Standards. Automake requires the use of Autoconf.
|
||||
'';
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -1,37 +0,0 @@
|
|||
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "swig";
|
||||
version = "2.0.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "swig";
|
||||
repo = "swig";
|
||||
rev = "rel-${version}";
|
||||
sha256 = "0khm9gh5pczfcihr0pbicaicc4v9kjm5ip2alvkhmbb3ga6njkcm";
|
||||
};
|
||||
|
||||
# pcre-config isn't on PATH when cross-building
|
||||
PCRE_CONFIG = "${pcre.dev}/bin/pcre-config";
|
||||
nativeBuildInputs = [ autoconf automake libtool bison ];
|
||||
buildInputs = [ pcre ];
|
||||
|
||||
configureFlags = [ "--without-tcl" ];
|
||||
|
||||
# Disable ccache documentation as it needs yodl
|
||||
postPatch = ''
|
||||
sed -i '/man1/d' CCache/Makefile.in
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
./autogen.sh
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "SWIG, an interface compiler that connects C/C++ code to higher-level languages";
|
||||
homepage = "https://swig.org/";
|
||||
# Different types of licenses available: http://www.swig.org/Release/LICENSE .
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = with platforms; linux ++ darwin;
|
||||
};
|
||||
}
|
|
@ -1,27 +0,0 @@
|
|||
{ lib, stdenv, fetchurl, boost, tcl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "swig";
|
||||
version = "1.3.40";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/swig/${pname}-${version}.tar.gz";
|
||||
sha256 = "02dc8g8wy75nd2is1974rl24c6mdl0ai1vszs1xpg9nd7dlv6i8r";
|
||||
};
|
||||
|
||||
doCheck = !stdenv.isCygwin;
|
||||
# 'make check' uses boost and tcl
|
||||
buildInputs = lib.optionals doCheck [ boost tcl ];
|
||||
|
||||
configureFlags = [ "--disable-ccache" ];
|
||||
|
||||
|
||||
meta = with lib; {
|
||||
description = "SWIG, an interface compiler that connects C/C++ code to higher-level languages";
|
||||
mainProgram = "swig";
|
||||
homepage = "https://swig.org/";
|
||||
# Different types of licenses available: http://www.swig.org/Release/LICENSE .
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = with platforms; linux ++ darwin;
|
||||
};
|
||||
}
|
|
@ -5,18 +5,20 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-insta";
|
||||
version = "1.33.0";
|
||||
# use stable release once 1.40 lands
|
||||
version = "1.39-unstable-2024-08-22";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mitsuhiko";
|
||||
repo = "insta";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-w/dxIQ7KRrn86PwiE/g5L9Gn8KszPF9u/zlwE/FYDu4=";
|
||||
rev = "abb6ba50163fb9093fa79c2fb784a57e08b2fcc0";
|
||||
hash = "sha256-465xY68M00lBM+3pz8FIXkBXnRrMi4wbBRieYHz0w+s=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/cargo-insta";
|
||||
cargoHash = "sha256-2mf9GJ1BtZE1k9jIdFmjiK1KfQ9qPkeSABT8X7G+p9I=";
|
||||
|
||||
cargoHash = "sha256-mEtmZ+wFo1WI1IMNYsVqSVScFDLdiXBbghH7c0l/3NQ=";
|
||||
# Depends on `rustfmt` and does not matter for packaging.
|
||||
checkFlags = [ "--skip=utils::test_format_rust_expression" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cargo subcommand for snapshot testing";
|
||||
|
|
|
@ -23,7 +23,7 @@ let
|
|||
# Errors in output without those
|
||||
pciutils
|
||||
# run.sh wants ldconfig
|
||||
glibc.bin
|
||||
glibc_multi.bin
|
||||
# Games' dependencies
|
||||
xorg.xrandr
|
||||
which
|
||||
|
@ -206,7 +206,6 @@ in buildFHSEnv rec {
|
|||
gst_all_1.gst-plugins-ugly
|
||||
gst_all_1.gst-plugins-base
|
||||
json-glib # paradox launcher (Stellaris)
|
||||
libdrm
|
||||
libxkbcommon # paradox launcher
|
||||
libvorbis # Dead Cells
|
||||
libxcrypt # Alien Isolation, XCOM 2, Company of Heroes 2
|
||||
|
@ -223,9 +222,7 @@ in buildFHSEnv rec {
|
|||
zlib
|
||||
atk
|
||||
cairo
|
||||
freetype
|
||||
gdk-pixbuf
|
||||
fontconfig
|
||||
|
||||
# Prison Architect
|
||||
libGLU
|
||||
|
@ -271,10 +268,10 @@ in buildFHSEnv rec {
|
|||
'' + extraProfile;
|
||||
|
||||
runScript = writeShellScript "steam-wrapper.sh" ''
|
||||
if [ -f /host/etc/NIXOS ]; then # Check only useful on NixOS
|
||||
${glxinfo-i686}/bin/glxinfo >/dev/null 2>&1
|
||||
if [ -f /etc/NIXOS ]; then # Check only useful on NixOS
|
||||
${glxinfo-i686}/bin/glxinfo 2>&1 | grep -q Error
|
||||
# If there was an error running glxinfo, we know something is wrong with the configuration
|
||||
if [ $? -ne 0 ]; then
|
||||
if [ $? -eq 0 ]; then
|
||||
cat <<EOF > /dev/stderr
|
||||
**
|
||||
WARNING: Steam is not set up. Add the following options to /etc/nixos/configuration.nix
|
||||
|
@ -303,6 +300,7 @@ in buildFHSEnv rec {
|
|||
'' + args.extraPreBwrapCmds or "";
|
||||
|
||||
extraBwrapArgs = [
|
||||
"--bind /etc/NIXOS /etc/NIXOS" # required 32bit driver check in runScript
|
||||
"--bind-try /tmp/dumps /tmp/dumps"
|
||||
] ++ args.extraBwrapArgs or [];
|
||||
|
||||
|
|
|
@ -23,12 +23,12 @@
|
|||
, gitUpdater
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "bind";
|
||||
version = "9.18.28";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://downloads.isc.org/isc/bind9/${version}/${pname}-${version}.tar.xz";
|
||||
url = "https://downloads.isc.org/isc/bind9/${finalAttrs.version}/${finalAttrs.pname}-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-58zpoWX3thnu/Egy8KjcFrAF0p44kK7WAIxQbqKGpec=";
|
||||
};
|
||||
|
||||
|
@ -104,6 +104,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
passthru = {
|
||||
tests = {
|
||||
withCheck = finalAttrs.finalPackage.overrideAttrs { doCheck = true; };
|
||||
inherit (nixosTests) bind;
|
||||
prometheus-exporter = nixosTests.prometheus-exporters.bind;
|
||||
kubernetes-dns-single-node = nixosTests.kubernetes.dns-single-node;
|
||||
|
@ -123,10 +124,10 @@ stdenv.mkDerivation rec {
|
|||
homepage = "https://www.isc.org/bind/";
|
||||
description = "Domain name server";
|
||||
license = licenses.mpl20;
|
||||
changelog = "https://downloads.isc.org/isc/bind9/cur/${lib.versions.majorMinor version}/CHANGES";
|
||||
changelog = "https://downloads.isc.org/isc/bind9/cur/${lib.versions.majorMinor finalAttrs.version}/CHANGES";
|
||||
maintainers = with maintainers; [ globin ];
|
||||
platforms = platforms.unix;
|
||||
|
||||
outputsToInstall = [ "out" "dnsutils" "host" ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
@ -1,24 +1,26 @@
|
|||
{ lib, fetchFromGitHub, buildHomeAssistantComponent }:
|
||||
{
|
||||
buildHomeAssistantComponent,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
}:
|
||||
|
||||
buildHomeAssistantComponent rec {
|
||||
owner = "KartoffelToby";
|
||||
domain = "better_thermostat";
|
||||
version = "1.5.0";
|
||||
version = "1.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "KartoffelToby";
|
||||
repo = "better_thermostat";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-noo96Uks+MHtTbwIoU5gnekp/IwMry0U18X4I1qe4LQ=";
|
||||
hash = "sha256-9iwrGKk3/m38ghDVGzKODWo9vzzZxJ91413/KWnULJU=";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
changelog =
|
||||
"https://github.com/KartoffelToby/better_thermostat/releases/tag/${version}";
|
||||
description =
|
||||
"Smart TRV control integrates room-temp sensors, window/door sensors, weather forecasts, and ambient probes for efficient heating and calibration, enhancing energy savings and comfort.";
|
||||
meta = {
|
||||
changelog = "https://github.com/KartoffelToby/better_thermostat/releases/tag/${version}";
|
||||
description = "Smart TRV control integrates room-temp sensors, window/door sensors, weather forecasts, and ambient probes for efficient heating and calibration, enhancing energy savings and comfort";
|
||||
homepage = "https://better-thermostat.org/";
|
||||
maintainers = with maintainers; [ mguentner ];
|
||||
license = licenses.agpl3Only;
|
||||
maintainers = with lib.maintainers; [ mguentner ];
|
||||
license = lib.licenses.agpl3Only;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,6 +1,15 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, libiconv, openssl, pcre }:
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
pkg-config,
|
||||
libiconv,
|
||||
openssl,
|
||||
pcre,
|
||||
}:
|
||||
|
||||
import ./versions.nix ({ version, hash, ... }:
|
||||
import ./versions.nix (
|
||||
{ version, hash, ... }:
|
||||
stdenv.mkDerivation {
|
||||
pname = "zabbix-agent";
|
||||
inherit version;
|
||||
|
@ -36,8 +45,13 @@ import ./versions.nix ({ version, hash, ... }:
|
|||
meta = {
|
||||
description = "Enterprise-class open source distributed monitoring solution (client-side agent)";
|
||||
homepage = "https://www.zabbix.com/";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ mmahut psyanticy ];
|
||||
license =
|
||||
if (lib.versions.major version >= "7") then lib.licenses.agpl3Only else lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [
|
||||
mmahut
|
||||
psyanticy
|
||||
];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
}
|
||||
)
|
||||
|
|
|
@ -1,6 +1,22 @@
|
|||
{ lib, buildGoModule, fetchurl, autoreconfHook, pkg-config, libiconv, openssl, pcre, zlib }:
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchurl,
|
||||
autoreconfHook,
|
||||
pkg-config,
|
||||
libiconv,
|
||||
openssl,
|
||||
pcre,
|
||||
zlib,
|
||||
}:
|
||||
|
||||
import ./versions.nix ({ version, hash, vendorHash ? throw "unsupported version ${version} for zabbix-agent2", ... }:
|
||||
import ./versions.nix (
|
||||
{
|
||||
version,
|
||||
hash,
|
||||
vendorHash ? throw "unsupported version ${version} for zabbix-agent2",
|
||||
...
|
||||
}:
|
||||
buildGoModule {
|
||||
pname = "zabbix-agent2";
|
||||
inherit version;
|
||||
|
@ -14,8 +30,16 @@ import ./versions.nix ({ version, hash, vendorHash ? throw "unsupported version
|
|||
|
||||
inherit vendorHash;
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
buildInputs = [ libiconv openssl pcre zlib ];
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
];
|
||||
buildInputs = [
|
||||
libiconv
|
||||
openssl
|
||||
pcre
|
||||
zlib
|
||||
];
|
||||
|
||||
inherit (buildGoModule.go) GOOS GOARCH;
|
||||
|
||||
|
@ -59,8 +83,10 @@ import ./versions.nix ({ version, hash, vendorHash ? throw "unsupported version
|
|||
meta = {
|
||||
description = "Enterprise-class open source distributed monitoring solution (client-side agent)";
|
||||
homepage = "https://www.zabbix.com/";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
license =
|
||||
if (lib.versions.major version >= "7") then lib.licenses.agpl3Only else lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ aanderse ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
}
|
||||
)
|
||||
|
|
|
@ -1,10 +1,25 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, libevent, libiconv, openssl, pcre, zlib
|
||||
, odbcSupport ? true, unixODBC
|
||||
, snmpSupport ? stdenv.buildPlatform == stdenv.hostPlatform, net-snmp
|
||||
, sshSupport ? true, libssh2
|
||||
, sqliteSupport ? false, sqlite
|
||||
, mysqlSupport ? false, libmysqlclient
|
||||
, postgresqlSupport ? false, postgresql
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
pkg-config,
|
||||
libevent,
|
||||
libiconv,
|
||||
openssl,
|
||||
pcre,
|
||||
zlib,
|
||||
odbcSupport ? true,
|
||||
unixODBC,
|
||||
snmpSupport ? stdenv.buildPlatform == stdenv.hostPlatform,
|
||||
net-snmp,
|
||||
sshSupport ? true,
|
||||
libssh2,
|
||||
sqliteSupport ? false,
|
||||
sqlite,
|
||||
mysqlSupport ? false,
|
||||
libmysqlclient,
|
||||
postgresqlSupport ? false,
|
||||
postgresql,
|
||||
}:
|
||||
|
||||
# ensure exactly one database type is selected
|
||||
|
@ -15,18 +30,20 @@ assert sqliteSupport -> !mysqlSupport && !postgresqlSupport;
|
|||
let
|
||||
inherit (lib) optional optionalString;
|
||||
in
|
||||
import ./versions.nix ({ version, hash, ... }:
|
||||
stdenv.mkDerivation {
|
||||
pname = "zabbix-proxy";
|
||||
inherit version;
|
||||
import ./versions.nix (
|
||||
{ version, hash, ... }:
|
||||
stdenv.mkDerivation {
|
||||
pname = "zabbix-proxy";
|
||||
inherit version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://cdn.zabbix.com/zabbix/sources/stable/${lib.versions.majorMinor version}/zabbix-${version}.tar.gz";
|
||||
inherit hash;
|
||||
};
|
||||
src = fetchurl {
|
||||
url = "https://cdn.zabbix.com/zabbix/sources/stable/${lib.versions.majorMinor version}/zabbix-${version}.tar.gz";
|
||||
inherit hash;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs =
|
||||
[
|
||||
libevent
|
||||
libiconv
|
||||
openssl
|
||||
|
@ -40,7 +57,8 @@ in
|
|||
++ optional mysqlSupport libmysqlclient
|
||||
++ optional postgresqlSupport postgresql;
|
||||
|
||||
configureFlags = [
|
||||
configureFlags =
|
||||
[
|
||||
"--enable-ipv6"
|
||||
"--enable-proxy"
|
||||
"--with-iconv"
|
||||
|
@ -56,33 +74,39 @@ in
|
|||
++ optional mysqlSupport "--with-mysql"
|
||||
++ optional postgresqlSupport "--with-postgresql";
|
||||
|
||||
prePatch = ''
|
||||
find database -name data.sql -exec sed -i 's|/usr/bin/||g' {} +
|
||||
'';
|
||||
prePatch = ''
|
||||
find database -name data.sql -exec sed -i 's|/usr/bin/||g' {} +
|
||||
'';
|
||||
|
||||
makeFlags = [
|
||||
"AR:=$(AR)"
|
||||
"RANLIB:=$(RANLIB)"
|
||||
];
|
||||
makeFlags = [
|
||||
"AR:=$(AR)"
|
||||
"RANLIB:=$(RANLIB)"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
postInstall =
|
||||
''
|
||||
mkdir -p $out/share/zabbix/database/
|
||||
'' + optionalString sqliteSupport ''
|
||||
''
|
||||
+ optionalString sqliteSupport ''
|
||||
mkdir -p $out/share/zabbix/database/sqlite3
|
||||
cp -prvd database/sqlite3/schema.sql $out/share/zabbix/database/sqlite3/
|
||||
'' + optionalString mysqlSupport ''
|
||||
''
|
||||
+ optionalString mysqlSupport ''
|
||||
mkdir -p $out/share/zabbix/database/mysql
|
||||
cp -prvd database/mysql/schema.sql $out/share/zabbix/database/mysql/
|
||||
'' + optionalString postgresqlSupport ''
|
||||
''
|
||||
+ optionalString postgresqlSupport ''
|
||||
mkdir -p $out/share/zabbix/database/postgresql
|
||||
cp -prvd database/postgresql/schema.sql $out/share/zabbix/database/postgresql/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Enterprise-class open source distributed monitoring solution (client-server proxy)";
|
||||
homepage = "https://www.zabbix.com/";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = [ maintainers.mmahut ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
})
|
||||
meta = {
|
||||
description = "Enterprise-class open source distributed monitoring solution (client-server proxy)";
|
||||
homepage = "https://www.zabbix.com/";
|
||||
license =
|
||||
if (lib.versions.major version >= "7") then lib.licenses.agpl3Only else lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ mmahut ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
)
|
||||
|
|
|
@ -1,12 +1,32 @@
|
|||
{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, curl, libevent, libiconv, libxml2, openssl, pcre, zlib
|
||||
, jabberSupport ? true, iksemel
|
||||
, ldapSupport ? true, openldap
|
||||
, odbcSupport ? true, unixODBC
|
||||
, snmpSupport ? true, net-snmp
|
||||
, sshSupport ? true, libssh2
|
||||
, mysqlSupport ? false, libmysqlclient
|
||||
, postgresqlSupport ? false, postgresql
|
||||
, ipmiSupport ? false, openipmi
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
autoreconfHook,
|
||||
pkg-config,
|
||||
curl,
|
||||
libevent,
|
||||
libiconv,
|
||||
libxml2,
|
||||
openssl,
|
||||
pcre,
|
||||
zlib,
|
||||
jabberSupport ? true,
|
||||
iksemel,
|
||||
ldapSupport ? true,
|
||||
openldap,
|
||||
odbcSupport ? true,
|
||||
unixODBC,
|
||||
snmpSupport ? true,
|
||||
net-snmp,
|
||||
sshSupport ? true,
|
||||
libssh2,
|
||||
mysqlSupport ? false,
|
||||
libmysqlclient,
|
||||
postgresqlSupport ? false,
|
||||
postgresql,
|
||||
ipmiSupport ? false,
|
||||
openipmi,
|
||||
}:
|
||||
|
||||
# ensure exactly one primary database type is selected
|
||||
|
@ -16,18 +36,23 @@ assert postgresqlSupport -> !mysqlSupport;
|
|||
let
|
||||
inherit (lib) optional optionalString;
|
||||
in
|
||||
import ./versions.nix ({ version, hash, ... }:
|
||||
stdenv.mkDerivation {
|
||||
pname = "zabbix-server";
|
||||
inherit version;
|
||||
import ./versions.nix (
|
||||
{ version, hash, ... }:
|
||||
stdenv.mkDerivation {
|
||||
pname = "zabbix-server";
|
||||
inherit version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://cdn.zabbix.com/zabbix/sources/stable/${lib.versions.majorMinor version}/zabbix-${version}.tar.gz";
|
||||
inherit hash;
|
||||
};
|
||||
src = fetchurl {
|
||||
url = "https://cdn.zabbix.com/zabbix/sources/stable/${lib.versions.majorMinor version}/zabbix-${version}.tar.gz";
|
||||
inherit hash;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
buildInputs = [
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
];
|
||||
buildInputs =
|
||||
[
|
||||
curl
|
||||
libevent
|
||||
libiconv
|
||||
|
@ -45,7 +70,8 @@ in
|
|||
++ optional postgresqlSupport postgresql
|
||||
++ optional ipmiSupport openipmi;
|
||||
|
||||
configureFlags = [
|
||||
configureFlags =
|
||||
[
|
||||
"--enable-ipv6"
|
||||
"--enable-server"
|
||||
"--with-iconv"
|
||||
|
@ -65,33 +91,41 @@ in
|
|||
++ optional postgresqlSupport "--with-postgresql"
|
||||
++ optional ipmiSupport "--with-openipmi=${openipmi.dev}";
|
||||
|
||||
prePatch = ''
|
||||
find database -name data.sql -exec sed -i 's|/usr/bin/||g' {} +
|
||||
'';
|
||||
prePatch = ''
|
||||
find database -name data.sql -exec sed -i 's|/usr/bin/||g' {} +
|
||||
'';
|
||||
|
||||
preAutoreconf = ''
|
||||
for i in $(find . -type f -name "*.m4"); do
|
||||
substituteInPlace $i \
|
||||
--replace 'test -x "$PKG_CONFIG"' 'type -P "$PKG_CONFIG" >/dev/null'
|
||||
done
|
||||
'';
|
||||
preAutoreconf = ''
|
||||
for i in $(find . -type f -name "*.m4"); do
|
||||
substituteInPlace $i \
|
||||
--replace 'test -x "$PKG_CONFIG"' 'type -P "$PKG_CONFIG" >/dev/null'
|
||||
done
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
postInstall =
|
||||
''
|
||||
mkdir -p $out/share/zabbix/database/
|
||||
cp -r include $out/
|
||||
'' + optionalString mysqlSupport ''
|
||||
''
|
||||
+ optionalString mysqlSupport ''
|
||||
mkdir -p $out/share/zabbix/database/mysql
|
||||
cp -prvd database/mysql/*.sql $out/share/zabbix/database/mysql/
|
||||
'' + optionalString postgresqlSupport ''
|
||||
''
|
||||
+ optionalString postgresqlSupport ''
|
||||
mkdir -p $out/share/zabbix/database/postgresql
|
||||
cp -prvd database/postgresql/*.sql $out/share/zabbix/database/postgresql/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Enterprise-class open source distributed monitoring solution";
|
||||
homepage = "https://www.zabbix.com/";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ mmahut psyanticy ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
})
|
||||
meta = {
|
||||
description = "Enterprise-class open source distributed monitoring solution";
|
||||
homepage = "https://www.zabbix.com/";
|
||||
license =
|
||||
if (lib.versions.major version >= "7") then lib.licenses.agpl3Only else lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [
|
||||
mmahut
|
||||
psyanticy
|
||||
];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
)
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
generic: {
|
||||
v70 = generic {
|
||||
version = "7.0.2";
|
||||
hash = "sha256-QnlBW8zvcuyF+fmrIf/o43Mf61volBYReReADpRfoYA=";
|
||||
vendorHash = null;
|
||||
};
|
||||
v64 = generic {
|
||||
version = "6.4.15";
|
||||
hash = "sha256-CtmNCuzDVchijinWcop3lGUTVGS2JbiQCbmusyXBQvY=";
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
{ lib, stdenv, fetchurl, writeText }:
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
writeText,
|
||||
}:
|
||||
|
||||
import ./versions.nix ({ version, hash, ... }:
|
||||
import ./versions.nix (
|
||||
{ version, hash, ... }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "zabbix-web";
|
||||
inherit version;
|
||||
|
@ -11,9 +17,9 @@ import ./versions.nix ({ version, hash, ... }:
|
|||
};
|
||||
|
||||
phpConfig = writeText "zabbix.conf.php" ''
|
||||
<?php
|
||||
return require(getenv('ZABBIX_CONFIG'));
|
||||
?>
|
||||
<?php
|
||||
return require(getenv('ZABBIX_CONFIG'));
|
||||
?>
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
|
@ -22,11 +28,13 @@ import ./versions.nix ({ version, hash, ... }:
|
|||
cp ${phpConfig} $out/share/zabbix/conf/zabbix.conf.php
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Enterprise-class open source distributed monitoring solution (web frontend)";
|
||||
homepage = "https://www.zabbix.com/";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = [ maintainers.mmahut ];
|
||||
platforms = platforms.linux;
|
||||
license =
|
||||
if (lib.versions.major version >= "7") then lib.licenses.agpl3Only else lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ mmahut ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
||||
}
|
||||
)
|
||||
|
|
|
@ -89,17 +89,17 @@ stdenv.mkDerivation (final: {
|
|||
]; in ''
|
||||
echo 'export PATH=${lib.makeBinPath compressionTools}:$PATH' >> scripts/libmakepkg/util/compress.sh.in
|
||||
substituteInPlace meson.build \
|
||||
--replace "install_dir : SYSCONFDIR" "install_dir : '$out/etc'" \
|
||||
--replace "join_paths(DATAROOTDIR, 'libalpm/hooks/')" "'${sysHookDir}'" \
|
||||
--replace "join_paths(PREFIX, DATAROOTDIR, get_option('keyringdir'))" "'\$KEYRING_IMPORT_DIR'" \
|
||||
--replace "join_paths(SYSCONFDIR, 'makepkg.conf.d/')" "'$out/etc/makepkg.conf.d/'"
|
||||
--replace-fail "install_dir : SYSCONFDIR" "install_dir : '$out/etc'" \
|
||||
--replace-fail "join_paths(DATAROOTDIR, 'libalpm/hooks/')" "'${sysHookDir}'" \
|
||||
--replace-fail "join_paths(SYSCONFDIR, 'makepkg.conf.d/')" "'$out/etc/makepkg.conf.d/'"
|
||||
substituteInPlace doc/meson.build \
|
||||
--replace "/bin/true" "${coreutils}/bin/true"
|
||||
--replace-fail "/bin/true" "${coreutils}/bin/true"
|
||||
substituteInPlace scripts/repo-add.sh.in \
|
||||
--replace bsdtar "${libarchive}/bin/bsdtar"
|
||||
substituteInPlace scripts/pacman-key.sh.in \
|
||||
--replace "local KEYRING_IMPORT_DIR='@keyringdir@'" "" \
|
||||
--subst-var-by keyringdir '\$KEYRING_IMPORT_DIR'
|
||||
--replace-fail bsdtar "${libarchive}/bin/bsdtar"
|
||||
|
||||
# Fix https://gitlab.archlinux.org/pacman/pacman/-/issues/171
|
||||
substituteInPlace scripts/libmakepkg/source/git.sh.in \
|
||||
--replace-warn "---mirror" "--mirror"
|
||||
'';
|
||||
|
||||
mesonFlags = [
|
||||
|
|
|
@ -1452,6 +1452,8 @@ mapAliases ({
|
|||
sumneko-lua-language-server = lua-language-server; # Added 2023-02-07
|
||||
supertux-editor = throw "'supertux-editor' has been removed, as it was broken and unmaintained"; # Added 2023-12-22
|
||||
swift-im = throw "swift-im has been removed as it is unmaintained and depends on deprecated Python 2 / Qt WebKit"; # Added 2023-01-06
|
||||
swig1 = throw "swig1 has been removed as it is obsolete"; # Added 2024-08-23
|
||||
swig2 = throw "swig2 has been removed as it is obsolete"; # Added 2024-08-23
|
||||
swtpm-tpm2 = swtpm; # Added 2021-02-26
|
||||
Sylk = sylk; # Added 2024-06-12
|
||||
symbiyosys = sby; # Added 2024-08-18
|
||||
|
|
|
@ -17450,6 +17450,8 @@ with pkgs;
|
|||
|
||||
automake116x = callPackage ../development/tools/misc/automake/automake-1.16.x.nix { };
|
||||
|
||||
automake117x = callPackage ../development/tools/misc/automake/automake-1.17.x.nix { };
|
||||
|
||||
avrdude = callPackage ../development/embedded/avrdude { };
|
||||
|
||||
b4 = callPackage ../development/tools/b4 { };
|
||||
|
@ -19018,8 +19020,6 @@ with pkgs;
|
|||
|
||||
systemfd = callPackage ../development/tools/systemfd { };
|
||||
|
||||
swig1 = callPackage ../development/tools/misc/swig { };
|
||||
swig2 = callPackage ../development/tools/misc/swig/2.x.nix { };
|
||||
swig3 = callPackage ../development/tools/misc/swig/3.x.nix { };
|
||||
swig4 = callPackage ../development/tools/misc/swig/4.nix { };
|
||||
swig = swig3;
|
||||
|
@ -25997,6 +25997,7 @@ with pkgs;
|
|||
server = server-pgsql;
|
||||
};
|
||||
|
||||
zabbix70 = recurseIntoAttrs (zabbixFor "v70");
|
||||
zabbix60 = recurseIntoAttrs (zabbixFor "v60");
|
||||
zabbix64 = recurseIntoAttrs (zabbixFor "v64");
|
||||
zabbix50 = recurseIntoAttrs (zabbixFor "v50");
|
||||
|
|
|
@ -7304,10 +7304,10 @@ with self; {
|
|||
|
||||
DBI = buildPerlPackage {
|
||||
pname = "DBI";
|
||||
version = "1.643";
|
||||
version = "1.644";
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/authors/id/T/TI/TIMB/DBI-1.643.tar.gz";
|
||||
hash = "sha256-iiuZPbVgosNzwXTul2pRAn3XgOx2auF2IMIDk9LoNvo=";
|
||||
url = "mirror://cpan/authors/id/H/HM/HMBRAND/DBI-1.644.tar.gz";
|
||||
hash = "sha256-Ipe5neCeZwhmQLWQaZ4OmC+0adpjqT/ijcFHgtt6U8g=";
|
||||
};
|
||||
postInstall = lib.optionalString (perl ? crossVersion) ''
|
||||
mkdir -p $out/${perl.libPrefix}/cross_perl/${perl.version}/DBI
|
||||
|
|
Loading…
Reference in a new issue