Merge staging-next into staging
This commit is contained in:
commit
6aeef7531c
79 changed files with 631 additions and 440 deletions
|
@ -138,7 +138,8 @@ in
|
||||||
StateDirectory = mkIf defaultStateDir "changedetection-io";
|
StateDirectory = mkIf defaultStateDir "changedetection-io";
|
||||||
StateDirectoryMode = mkIf defaultStateDir "0750";
|
StateDirectoryMode = mkIf defaultStateDir "0750";
|
||||||
WorkingDirectory = cfg.datastorePath;
|
WorkingDirectory = cfg.datastorePath;
|
||||||
Environment = lib.optional (cfg.baseURL != null) "BASE_URL=${cfg.baseURL}"
|
Environment = [ "HIDE_REFERER=true" ]
|
||||||
|
++ lib.optional (cfg.baseURL != null) "BASE_URL=${cfg.baseURL}"
|
||||||
++ lib.optional cfg.behindProxy "USE_X_SETTINGS=1"
|
++ lib.optional cfg.behindProxy "USE_X_SETTINGS=1"
|
||||||
++ lib.optional cfg.webDriverSupport "WEBDRIVER_URL=http://127.0.0.1:${toString cfg.chromePort}/wd/hub"
|
++ lib.optional cfg.webDriverSupport "WEBDRIVER_URL=http://127.0.0.1:${toString cfg.chromePort}/wd/hub"
|
||||||
++ lib.optional cfg.playwrightSupport "PLAYWRIGHT_DRIVER_URL=ws://127.0.0.1:${toString cfg.chromePort}/?stealth=1&--disable-web-security=true";
|
++ lib.optional cfg.playwrightSupport "PLAYWRIGHT_DRIVER_URL=ws://127.0.0.1:${toString cfg.chromePort}/?stealth=1&--disable-web-security=true";
|
||||||
|
|
|
@ -7,6 +7,9 @@ with lib;
|
||||||
###### interface
|
###### interface
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
|
boot.modprobeConfig.enable = mkEnableOption (lib.mdDoc "modprobe config. This is useful for systemds like containers which do not require a kernel.") // {
|
||||||
|
default = true;
|
||||||
|
};
|
||||||
|
|
||||||
boot.blacklistedKernelModules = mkOption {
|
boot.blacklistedKernelModules = mkOption {
|
||||||
type = types.listOf types.str;
|
type = types.listOf types.str;
|
||||||
|
@ -38,7 +41,7 @@ with lib;
|
||||||
|
|
||||||
###### implementation
|
###### implementation
|
||||||
|
|
||||||
config = mkIf (!config.boot.isContainer) {
|
config = mkIf config.boot.modprobeConfig.enable {
|
||||||
|
|
||||||
environment.etc."modprobe.d/ubuntu.conf".source = "${pkgs.kmod-blacklist-ubuntu}/modprobe.conf";
|
environment.etc."modprobe.d/ubuntu.conf".source = "${pkgs.kmod-blacklist-ubuntu}/modprobe.conf";
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,9 @@ with lib;
|
||||||
|
|
||||||
# Disable some features that are not useful in a container.
|
# Disable some features that are not useful in a container.
|
||||||
|
|
||||||
|
# containers don't have a kernel
|
||||||
boot.kernel.enable = false;
|
boot.kernel.enable = false;
|
||||||
|
boot.modprobeConfig.enable = false;
|
||||||
|
|
||||||
console.enable = mkDefault false;
|
console.enable = mkDefault false;
|
||||||
|
|
||||||
|
|
|
@ -28,8 +28,8 @@ let
|
||||||
messagebus:x:1:
|
messagebus:x:1:
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
"${pkgs.dbus.daemon}/bin/dbus-daemon" --fork \
|
"${pkgs.dbus}/bin/dbus-daemon" --fork \
|
||||||
--config-file="${pkgs.dbus.daemon}/share/dbus-1/system.conf"
|
--config-file="${pkgs.dbus}/share/dbus-1/system.conf"
|
||||||
|
|
||||||
${guestAdditions}/bin/VBoxService
|
${guestAdditions}/bin/VBoxService
|
||||||
${(attrs.vmScript or (const "")) pkgs}
|
${(attrs.vmScript or (const "")) pkgs}
|
||||||
|
|
|
@ -119,7 +119,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
LC_ALL = "en_US.UTF-8";
|
LC_ALL = "en_US.UTF-8";
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
dbus.daemon
|
dbus
|
||||||
gdk-pixbuf
|
gdk-pixbuf
|
||||||
glibcLocales
|
glibcLocales
|
||||||
hicolor-icon-theme
|
hicolor-icon-theme
|
||||||
|
@ -154,7 +154,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
runHook preCheck
|
runHook preCheck
|
||||||
|
|
||||||
xvfb-run -s '-screen 0 1920x1080x24' \
|
xvfb-run -s '-screen 0 1920x1080x24' \
|
||||||
dbus-run-session --config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
dbus-run-session --config-file=${dbus}/share/dbus-1/session.conf \
|
||||||
pytest $pytestFlags
|
pytest $pytestFlags
|
||||||
|
|
||||||
runHook postCheck
|
runHook postCheck
|
||||||
|
|
|
@ -131,7 +131,7 @@ stdenv.mkDerivation rec {
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
export NO_AT_BRIDGE=1
|
export NO_AT_BRIDGE=1
|
||||||
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||||
meson test --print-errorlogs
|
meson test --print-errorlogs
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, gtk3, rgbds, SDL2, wrapGAppsHook, glib }:
|
{ lib, stdenv, fetchpatch, fetchFromGitHub, gtk3, rgbds, SDL2, wrapGAppsHook, glib }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "sameboy";
|
pname = "sameboy";
|
||||||
|
@ -16,6 +16,13 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ rgbds glib wrapGAppsHook ];
|
nativeBuildInputs = [ rgbds glib wrapGAppsHook ];
|
||||||
buildInputs = [ SDL2 ];
|
buildInputs = [ SDL2 ];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/LIJI32/SameBoy/commit/c0966ceebaf1cf2518427ffa3c0189d8f96ab5aa.patch";
|
||||||
|
hash = "sha256-2o/aWimtAKqay7SGq5Q9vLDcQKqV6Bn2xJtnjACrLUw=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
"CONF=release"
|
"CONF=release"
|
||||||
"FREEDESKTOP=true"
|
"FREEDESKTOP=true"
|
||||||
|
|
|
@ -23,13 +23,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "xournalpp";
|
pname = "xournalpp";
|
||||||
version = "1.1.2";
|
version = "1.1.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "xournalpp";
|
owner = "xournalpp";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-E/7S4JGLXR8u9fE8bTVPFb6XVKOC/BHnQwLhr7N2A48=";
|
sha256 = "sha256-Hn7IDnbrmK3V+iz8UqdmHRV2TS4MwYSgYtnH6igbGJ8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake gettext pkg-config wrapGAppsHook ];
|
nativeBuildInputs = [ cmake gettext pkg-config wrapGAppsHook ];
|
||||||
|
|
|
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
export NO_AT_BRIDGE=1
|
export NO_AT_BRIDGE=1
|
||||||
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||||
meson test --print-errorlogs
|
meson test --print-errorlogs
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -10,8 +10,12 @@
|
||||||
, sassc
|
, sassc
|
||||||
, python3Packages
|
, python3Packages
|
||||||
, gobject-introspection
|
, gobject-introspection
|
||||||
, gtk3
|
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook
|
||||||
|
, libappindicator-gtk3
|
||||||
|
, libxcb
|
||||||
|
, qt5
|
||||||
|
, ibus
|
||||||
|
, usbutils
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
|
@ -28,11 +32,9 @@ python3Packages.buildPythonApplication rec {
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs scripts
|
patchShebangs scripts
|
||||||
|
|
||||||
substituteInPlace scripts/build-styles.sh \
|
substituteInPlace scripts/build-styles.sh \
|
||||||
--replace '$(which sassc 2>/dev/null)' '${sassc}/bin/sassc' \
|
--replace '$(which sassc 2>/dev/null)' '${sassc}/bin/sassc' \
|
||||||
--replace '$(which sass 2>/dev/null)' '${sassc}/bin/sass'
|
--replace '$(which sass 2>/dev/null)' '${sassc}/bin/sass'
|
||||||
|
|
||||||
substituteInPlace pylib/common.py \
|
substituteInPlace pylib/common.py \
|
||||||
--replace "/usr/share/polychromatic" "$out/share/polychromatic"
|
--replace "/usr/share/polychromatic" "$out/share/polychromatic"
|
||||||
'';
|
'';
|
||||||
|
@ -40,7 +42,6 @@ python3Packages.buildPythonApplication rec {
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
scripts/build-styles.sh
|
scripts/build-styles.sh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = with python3Packages; [
|
nativeBuildInputs = with python3Packages; [
|
||||||
gettext
|
gettext
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
|
@ -48,18 +49,22 @@ python3Packages.buildPythonApplication rec {
|
||||||
ninja
|
ninja
|
||||||
sassc
|
sassc
|
||||||
wrapGAppsHook
|
wrapGAppsHook
|
||||||
|
qt5.wrapQtAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs = with python3Packages; [
|
||||||
colorama
|
colorama
|
||||||
colour
|
colour
|
||||||
gtk3
|
|
||||||
openrazer
|
openrazer
|
||||||
pygobject3
|
|
||||||
pyqt5
|
pyqt5
|
||||||
pyqtwebengine
|
pyqtwebengine
|
||||||
requests
|
requests
|
||||||
setproctitle
|
setproctitle
|
||||||
|
libxcb
|
||||||
|
openrazer-daemon
|
||||||
|
libappindicator-gtk3
|
||||||
|
ibus
|
||||||
|
usbutils
|
||||||
];
|
];
|
||||||
|
|
||||||
dontWrapGapps = true;
|
dontWrapGapps = true;
|
||||||
|
@ -67,6 +72,7 @@ python3Packages.buildPythonApplication rec {
|
||||||
|
|
||||||
makeWrapperArgs = [
|
makeWrapperArgs = [
|
||||||
"\${gappsWrapperArgs[@]}"
|
"\${gappsWrapperArgs[@]}"
|
||||||
|
"\${qtWrapperArgs[@]}"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -7,7 +7,7 @@ let
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/firstversionist/${pname}/releases/download/v${version}/${pname}-${version}.AppImage";
|
url = "https://github.com/firstversionist/${pname}/releases/download/v${version}/${pname}-${version}.AppImage";
|
||||||
name = "${pname}-${version}.AppImage";
|
name = "${pname}-${version}.AppImage";
|
||||||
sha256 = "eujv99L5svMhDIKHFOfm7sOwNZ4xiUaIsimfOf4BBik=";
|
sha256 = "sha256-J0D49VESNgdBEWAf01LkiiU2I01r4PBLyWKpnE9t45Q=";
|
||||||
};
|
};
|
||||||
|
|
||||||
appimageContents = appimageTools.extractType2 {
|
appimageContents = appimageTools.extractType2 {
|
||||||
|
|
|
@ -98,7 +98,7 @@ stdenv.mkDerivation rec {
|
||||||
NO_AT_BRIDGE=1 \
|
NO_AT_BRIDGE=1 \
|
||||||
XDG_DATA_DIRS=${folks}/share/gsettings-schemas/${folks.name} \
|
XDG_DATA_DIRS=${folks}/share/gsettings-schemas/${folks.name} \
|
||||||
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||||
meson test --print-errorlogs
|
meson test --print-errorlogs
|
||||||
runHook postCheck
|
runHook postCheck
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{ lib
|
{ lib
|
||||||
|
, buildNpmPackage
|
||||||
, copyDesktopItems
|
, copyDesktopItems
|
||||||
, electron_18
|
, electron_18
|
||||||
, buildGoModule
|
, buildGoModule
|
||||||
|
@ -8,9 +9,9 @@
|
||||||
, libdeltachat
|
, libdeltachat
|
||||||
, makeDesktopItem
|
, makeDesktopItem
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, nodePackages
|
|
||||||
, noto-fonts-emoji
|
, noto-fonts-emoji
|
||||||
, pkg-config
|
, pkg-config
|
||||||
|
, python3
|
||||||
, roboto
|
, roboto
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, sqlcipher
|
, sqlcipher
|
||||||
|
@ -20,52 +21,48 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
libdeltachat' = libdeltachat.overrideAttrs (old: rec {
|
libdeltachat' = libdeltachat.overrideAttrs (old: rec {
|
||||||
version = "1.86.0";
|
version = "1.102.0";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "deltachat";
|
owner = "deltachat";
|
||||||
repo = "deltachat-core-rust";
|
repo = "deltachat-core-rust";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-VLS93Ffeit2rVmXxYkXcnf8eDA3DC2/wKYZTh56QCk0=";
|
hash = "sha256-xw/lUNs39nkBrydpcgUBL3j6XrZFafKslxx6zUiElWw=";
|
||||||
};
|
};
|
||||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||||
inherit src;
|
inherit src;
|
||||||
name = "${old.pname}-${version}";
|
name = "${old.pname}-${version}";
|
||||||
hash = "sha256-4rpoDQ3o0WdWg/TmazTI+J0hL/MxwHcNMXWMq7GE7Tk=";
|
hash = "sha256-CiqYKFABHcFSjYUH/qop1xWCoygQJajI7nhv04ElD10=";
|
||||||
};
|
};
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
name = "turn-off-hard-errors-for-lints.patch";
|
|
||||||
url = "https://github.com/deltachat/deltachat-core-rust/commit/7598c50dbaa2abcbd417d96a02743269f666597b.patch";
|
|
||||||
hash = "sha256-Xss44v6Wf6mL3FK9hH+oFYZ0fBA9rSh4wDrr7nSUibQ=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
});
|
});
|
||||||
esbuild' = esbuild.override {
|
esbuild' = esbuild.override {
|
||||||
buildGoModule = args: buildGoModule (args // rec {
|
buildGoModule = args: buildGoModule (args // rec {
|
||||||
version = "0.12.29";
|
version = "0.14.54";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "evanw";
|
owner = "evanw";
|
||||||
repo = "esbuild";
|
repo = "esbuild";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-oU++9E3StUoyrMVRMZz8/1ntgPI62M1NoNz9sH/N5Bg=";
|
hash = "sha256-qCtpy69ROCspRgPKmCV0YY/EOSWiNU/xwDblU0bQp4w=";
|
||||||
};
|
};
|
||||||
vendorSha256 = "sha256-QPkBR+FscUc3jOvH7olcGUhM6OW4vxawmNJuRQxPuGs=";
|
vendorSha256 = "sha256-+BfxCyg0KkDQpHt/wycy/8CTG6YBA/VJvJFhhzUnSiQ=";
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
in nodePackages.deltachat-desktop.override rec {
|
in buildNpmPackage rec {
|
||||||
pname = "deltachat-desktop";
|
pname = "deltachat-desktop";
|
||||||
version = "1.30.1";
|
version = "1.34.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "deltachat";
|
owner = "deltachat";
|
||||||
repo = "deltachat-desktop";
|
repo = "deltachat-desktop";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-gZjZbXiqhFVfThZOsvL/nKkf6MX+E3KB5ldEAIuzBYA=";
|
hash = "sha256-M2ZLWaxVq9PvxJemwv+7jd0cXKQb6T5VCyLvIRF+9d0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
npmDepsHash = "sha256-wCsPKEgRpPsNmM0HzvS5QjlPnw8COPrOhQRIf+vYeig=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
makeWrapper
|
makeWrapper
|
||||||
pkg-config
|
pkg-config
|
||||||
|
python3
|
||||||
] ++ lib.optionals stdenv.isLinux [
|
] ++ lib.optionals stdenv.isLinux [
|
||||||
copyDesktopItems
|
copyDesktopItems
|
||||||
];
|
];
|
||||||
|
@ -81,20 +78,25 @@ in nodePackages.deltachat-desktop.override rec {
|
||||||
USE_SYSTEM_LIBDELTACHAT = "true";
|
USE_SYSTEM_LIBDELTACHAT = "true";
|
||||||
VERSION_INFO_GIT_REF = src.rev;
|
VERSION_INFO_GIT_REF = src.rev;
|
||||||
|
|
||||||
postRebuild = ''
|
preBuild = ''
|
||||||
rm -r node_modules/deltachat-node/node/prebuilds
|
rm -r node_modules/deltachat-node/node/prebuilds
|
||||||
|
|
||||||
npm run build4production
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
npmBuildScript = "build4production";
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
npm prune --production
|
npm prune --production
|
||||||
|
|
||||||
install -D $out/lib/node_modules/deltachat-desktop/build/icon.png \
|
mkdir -p $out/lib/node_modules/deltachat-desktop
|
||||||
$out/share/icons/hicolor/scalable/apps/deltachat.png
|
cp -r . $out/lib/node_modules/deltachat-desktop
|
||||||
|
|
||||||
awk '!/^#/ && NF' build/packageignore_list \
|
awk '!/^#/ && NF' build/packageignore_list \
|
||||||
| xargs -I {} sh -c "rm -rf {}" || true
|
| xargs -I {} sh -c "rm -rf $out/lib/node_modules/deltachat-desktop/{}" || true
|
||||||
|
|
||||||
|
install -D build/icon.png \
|
||||||
|
$out/share/icons/hicolor/scalable/apps/deltachat.png
|
||||||
|
|
||||||
ln -sf ${noto-fonts-emoji}/share/fonts/noto/NotoColorEmoji.ttf \
|
ln -sf ${noto-fonts-emoji}/share/fonts/noto/NotoColorEmoji.ttf \
|
||||||
$out/lib/node_modules/deltachat-desktop/html-dist/fonts/noto/emoji
|
$out/lib/node_modules/deltachat-desktop/html-dist/fonts/noto/emoji
|
||||||
|
@ -106,6 +108,8 @@ in nodePackages.deltachat-desktop.override rec {
|
||||||
makeWrapper ${electron_18}/bin/electron $out/bin/deltachat \
|
makeWrapper ${electron_18}/bin/electron $out/bin/deltachat \
|
||||||
--set LD_PRELOAD ${sqlcipher}/lib/libsqlcipher${stdenv.hostPlatform.extensions.sharedLibrary} \
|
--set LD_PRELOAD ${sqlcipher}/lib/libsqlcipher${stdenv.hostPlatform.extensions.sharedLibrary} \
|
||||||
--add-flags $out/lib/node_modules/deltachat-desktop
|
--add-flags $out/lib/node_modules/deltachat-desktop
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
desktopItems = lib.singleton (makeDesktopItem {
|
desktopItems = lib.singleton (makeDesktopItem {
|
||||||
|
@ -117,7 +121,12 @@ in nodePackages.deltachat-desktop.override rec {
|
||||||
comment = meta.description;
|
comment = meta.description;
|
||||||
categories = [ "Network" "InstantMessaging" "Chat" ];
|
categories = [ "Network" "InstantMessaging" "Chat" ];
|
||||||
startupWMClass = "DeltaChat";
|
startupWMClass = "DeltaChat";
|
||||||
mimeTypes = [ "x-scheme-handler/openpgp4fpr" "x-scheme-handler/mailto" ];
|
mimeTypes = [
|
||||||
|
"x-scheme-handler/openpgp4fpr"
|
||||||
|
"x-scheme-handler/dcaccount"
|
||||||
|
"x-scheme-handler/dclogin"
|
||||||
|
"x-scheme-handler/mailto"
|
||||||
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
passthru.updateScript = ./update.sh;
|
passthru.updateScript = ./update.sh;
|
||||||
|
|
|
@ -1,56 +0,0 @@
|
||||||
{
|
|
||||||
"name": "deltachat-desktop",
|
|
||||||
"version": "1.30.1",
|
|
||||||
"dependencies": {
|
|
||||||
"@blueprintjs/core": "^4.1.2",
|
|
||||||
"@deltachat/message_parser_wasm": "^0.4.0",
|
|
||||||
"@deltachat/react-qr-reader": "^4.0.0",
|
|
||||||
"@mapbox/geojson-extent": "^1.0.0",
|
|
||||||
"application-config": "^1.0.1",
|
|
||||||
"classnames": "^2.3.1",
|
|
||||||
"debounce": "^1.2.0",
|
|
||||||
"deltachat-node": "1.86.0",
|
|
||||||
"emoji-js-clean": "^4.0.0",
|
|
||||||
"emoji-mart": "^3.0.1",
|
|
||||||
"emoji-regex": "^9.2.2",
|
|
||||||
"error-stack-parser": "^2.0.7",
|
|
||||||
"filesize": "^8.0.6",
|
|
||||||
"immutable": "^4.0.0",
|
|
||||||
"mapbox-gl": "^1.12.0",
|
|
||||||
"mime-types": "^2.1.31",
|
|
||||||
"moment": "^2.29.2",
|
|
||||||
"path-browserify": "^1.0.1",
|
|
||||||
"rc": "^1.2.8",
|
|
||||||
"react": "^17.0.2",
|
|
||||||
"react-dom": "^17.0.2",
|
|
||||||
"react-string-replace": "^1.0.0",
|
|
||||||
"react-virtualized-auto-sizer": "^1.0.5",
|
|
||||||
"react-window": "^1.8.6",
|
|
||||||
"react-window-infinite-loader": "^1.0.7",
|
|
||||||
"react-zoom-pan-pinch": "^2.1.3",
|
|
||||||
"source-map-support": "^0.5.19",
|
|
||||||
"stackframe": "^1.2.1",
|
|
||||||
"url-parse": "^1.5.9",
|
|
||||||
"use-debounce": "^3.3.0",
|
|
||||||
"@babel/core": "^7.7.7",
|
|
||||||
"@babel/preset-env": "^7.7.7",
|
|
||||||
"@babel/preset-react": "^7.7.4",
|
|
||||||
"@types/debounce": "^1.2.0",
|
|
||||||
"@types/emoji-mart": "^3.0.9",
|
|
||||||
"@types/mapbox-gl": "^0.54.5",
|
|
||||||
"@types/mime-types": "^2.1.0",
|
|
||||||
"@types/node": "^14.14.20",
|
|
||||||
"@types/rc": "^1.1.0",
|
|
||||||
"@types/react": "^17.0.2",
|
|
||||||
"@types/react-dom": "^17.0.2",
|
|
||||||
"@types/react-window": "^1.8.4",
|
|
||||||
"@types/react-window-infinite-loader": "^1.0.4",
|
|
||||||
"@types/url-parse": "^1.4.3",
|
|
||||||
"electron": "^18.0.3",
|
|
||||||
"esbuild": "^0.12.29",
|
|
||||||
"glob-watcher": "^5.0.5",
|
|
||||||
"sass": "^1.26.5",
|
|
||||||
"typescript": "^4.4.4",
|
|
||||||
"xml-js": "^1.6.8"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,5 +1,5 @@
|
||||||
#! /usr/bin/env nix-shell
|
#! /usr/bin/env nix-shell
|
||||||
#! nix-shell -i bash -p coreutils curl gnused jq moreutils nix-prefetch
|
#! nix-shell -i bash -p coreutils curl gnused jq moreutils nix-prefetch prefetch-npm-deps
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
cd "$(dirname "$0")"
|
cd "$(dirname "$0")"
|
||||||
|
@ -28,18 +28,5 @@ tac default.nix \
|
||||||
| sponge default.nix
|
| sponge default.nix
|
||||||
|
|
||||||
src=$(nix-build "$nixpkgs" -A deltachat-desktop.src --no-out-link)
|
src=$(nix-build "$nixpkgs" -A deltachat-desktop.src --no-out-link)
|
||||||
|
hash=$(prefetch-npm-deps $src/package-lock.json)
|
||||||
jq '{ name, version, dependencies: (.dependencies + (.devDependencies | del(.["@types/chai","@types/mocha","@types/node-fetch","@typescript-eslint/eslint-plugin","@typescript-eslint/parser","chai","electron-builder","electron-devtools-installer","electron-notarize","eslint","eslint-config-prettier","eslint-plugin-react-hooks","hallmark","mocha","node-fetch","prettier","testcafe","testcafe-browser-provider-electron","testcafe-react-selectors","ts-node","walk"]))) }' \
|
sed -i "s,npmDepsHash = \".*\",npmDepsHash = \"$hash\"," default.nix
|
||||||
"$src/package.json" > package.json.new
|
|
||||||
|
|
||||||
if cmp --quiet package.json{.new,}; then
|
|
||||||
echo "package.json not changed, skip updating nodePackages"
|
|
||||||
rm package.json.new
|
|
||||||
else
|
|
||||||
echo "package.json changed, updating nodePackages"
|
|
||||||
mv package.json{.new,}
|
|
||||||
|
|
||||||
pushd ../../../../development/node-packages
|
|
||||||
./generate.sh
|
|
||||||
popd
|
|
||||||
fi
|
|
||||||
|
|
|
@ -56,11 +56,11 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
++ lib.optionals enableOmemoPluginDependencies [ python-axolotl qrcode ]
|
++ lib.optionals enableOmemoPluginDependencies [ python-axolotl qrcode ]
|
||||||
++ extraPythonPackages python3.pkgs;
|
++ extraPythonPackages python3.pkgs;
|
||||||
|
|
||||||
checkInputs = [ xvfb-run dbus.daemon ];
|
checkInputs = [ xvfb-run dbus ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
xvfb-run dbus-run-session \
|
xvfb-run dbus-run-session \
|
||||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||||
${python3.interpreter} -m unittest discover -s test/gtk -v
|
${python3.interpreter} -m unittest discover -s test/gtk -v
|
||||||
${python3.interpreter} -m unittest discover -s test/no_gui -v
|
${python3.interpreter} -m unittest discover -s test/no_gui -v
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ pkg-config libxslt python3 ];
|
nativeBuildInputs = [ pkg-config libxslt python3 ];
|
||||||
buildInputs = [ libxml2 dbus-glib sqlite libsoup libnice telepathy-glib gnutls ];
|
buildInputs = [ libxml2 dbus-glib sqlite libsoup libnice telepathy-glib gnutls ];
|
||||||
|
|
||||||
checkInputs = [ dbus.daemon ];
|
checkInputs = [ dbus ];
|
||||||
|
|
||||||
configureFlags = [ "--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt" ];
|
configureFlags = [ "--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt" ];
|
||||||
|
|
||||||
|
|
|
@ -83,7 +83,7 @@ python3Packages.buildPythonApplication rec {
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkInputs = [ dbus.daemon ];
|
checkInputs = [ dbus ];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
wrapGAppsHook
|
wrapGAppsHook
|
||||||
|
@ -114,7 +114,7 @@ python3Packages.buildPythonApplication rec {
|
||||||
# only need to run a virtual X server + dbus but also have a large enough
|
# only need to run a virtual X server + dbus but also have a large enough
|
||||||
# resolution, because the Cairo test tries to draw a 200x200 window.
|
# resolution, because the Cairo test tries to draw a 200x200 window.
|
||||||
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||||
$out/bin/paperwork-gtk chkdeps
|
$out/bin/paperwork-gtk chkdeps
|
||||||
|
|
||||||
# content of make test, without the dep on make install
|
# content of make test, without the dep on make install
|
||||||
|
|
|
@ -133,7 +133,7 @@ stdenv.mkDerivation rec {
|
||||||
libdatrie
|
libdatrie
|
||||||
libxkbcommon
|
libxkbcommon
|
||||||
libepoxy
|
libepoxy
|
||||||
dbus.daemon
|
dbus
|
||||||
at-spi2-core
|
at-spi2-core
|
||||||
libXtst
|
libXtst
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,49 +1,39 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildGoModule
|
, buildGoModule
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
, go-mockery
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "git-team";
|
pname = "git-team";
|
||||||
version = "1.7.0";
|
version = "1.8.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hekmekk";
|
owner = "hekmekk";
|
||||||
repo = "git-team";
|
repo = "git-team";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-pHKfehPyy01uVN6kjjPGtdkltw7FJ+HmIlwGs4iRhVo=";
|
hash = "sha256-LZR30zqwit/xydQbpGm1LXd/tno/sTCaftgjVkVS6ZY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
vendorHash = "sha256-NTOUL1oE2IhgLyYYHwRCMW5yCxIRxUwqkfuhSSBXf6A=";
|
||||||
(fetchpatch {
|
|
||||||
name = "1-update-dependencies-for-go-1.18.patch";
|
nativeBuildInputs = [
|
||||||
url = "https://github.com/hekmekk/git-team/commit/d8632d9938379293521f9b3f2a93df680dd13a31.patch";
|
go-mockery
|
||||||
hash = "sha256-hlmjPf3qp8WPNSH+GgkqATDiKIRzo+t81Npkptw8vgI=";
|
installShellFiles
|
||||||
})
|
|
||||||
(fetchpatch {
|
|
||||||
name = "2-update-dependencies-for-go-1.18.patch";
|
|
||||||
url = "https://github.com/hekmekk/git-team/commit/f6acc96c2ffe76c527f2f2897b368cbb631d738c.patch";
|
|
||||||
hash = "sha256-Pe+UAK9N1NpXhFGYv9l1iZ1/fCCqnT8OSgKdt/vUqO4=";
|
|
||||||
})
|
|
||||||
(fetchpatch {
|
|
||||||
name = "3-update-dependencies-for-go-1.18.patch";
|
|
||||||
url = "https://github.com/hekmekk/git-team/commit/2f38137298e4749a8dfe37e085015360949e73ad.patch";
|
|
||||||
hash = "sha256-+6C8jp/qwYVmbL+SpV9FJIVyBRvX4tXBcoHMB//nNTk=";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
vendorSha256 = "sha256-GdwksPmYEGTq/FkG/rvn3o0zMKU1cSkpgZ+GrfVgLWM=";
|
preBuild = ''
|
||||||
|
mockery --dir=src/ --all --keeptree
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
go run main.go --generate-man-page > ${pname}.1
|
go run main.go --generate-man-page > git-team.1
|
||||||
installManPage ${pname}.1
|
installManPage git-team.1
|
||||||
|
|
||||||
# Currently only bash completions are provided
|
installShellCompletion --cmd git-team \
|
||||||
installShellCompletion --cmd git-team --bash <($out/bin/git-team completion bash)
|
--bash <($out/bin/git-team completion bash) \
|
||||||
|
--zsh <($out/bin/git-team completion zsh)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -58,7 +58,7 @@ stdenv.mkDerivation rec {
|
||||||
autoPatchelfHook
|
autoPatchelfHook
|
||||||
cairo
|
cairo
|
||||||
cups.lib
|
cups.lib
|
||||||
dbus.daemon.lib
|
dbus.lib
|
||||||
expat
|
expat
|
||||||
gcc-unwrapped
|
gcc-unwrapped
|
||||||
gdk-pixbuf
|
gdk-pixbuf
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
{ lib, callPackage, fetchFromGitHub }:
|
{ lib, callPackage, fetchFromGitHub }:
|
||||||
|
|
||||||
with lib;
|
|
||||||
|
|
||||||
rec {
|
rec {
|
||||||
dockerGen = {
|
dockerGen = {
|
||||||
version, rev, sha256
|
version, rev, sha256
|
||||||
|
@ -13,11 +11,14 @@ rec {
|
||||||
, stdenv, fetchFromGitHub, fetchpatch, buildGoPackage
|
, stdenv, fetchFromGitHub, fetchpatch, buildGoPackage
|
||||||
, makeWrapper, installShellFiles, pkg-config, glibc
|
, makeWrapper, installShellFiles, pkg-config, glibc
|
||||||
, go-md2man, go, containerd, runc, docker-proxy, tini, libtool
|
, go-md2man, go, containerd, runc, docker-proxy, tini, libtool
|
||||||
, sqlite, iproute2, lvm2, systemd, docker-buildx, docker-compose
|
, sqlite, iproute2, docker-buildx, docker-compose
|
||||||
, btrfs-progs, iptables, e2fsprogs, xz, util-linux, xfsprogs, git
|
, iptables, e2fsprogs, xz, util-linux, xfsprogs, git
|
||||||
, procps, libseccomp, rootlesskit, slirp4netns, fuse-overlayfs
|
, procps, rootlesskit, slirp4netns, fuse-overlayfs, nixosTests
|
||||||
, nixosTests
|
|
||||||
, clientOnly ? !stdenv.isLinux, symlinkJoin
|
, clientOnly ? !stdenv.isLinux, symlinkJoin
|
||||||
|
, withSystemd ? true, systemd
|
||||||
|
, withBtrfs ? true, btrfs-progs
|
||||||
|
, withLvm ? true, lvm2
|
||||||
|
, withSeccomp ? true, libseccomp
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
docker-runc = runc.overrideAttrs (oldAttrs: {
|
docker-runc = runc.overrideAttrs (oldAttrs: {
|
||||||
|
@ -46,7 +47,8 @@ rec {
|
||||||
sha256 = containerdSha256;
|
sha256 = containerdSha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = oldAttrs.buildInputs ++ [ libseccomp ];
|
buildInputs = oldAttrs.buildInputs
|
||||||
|
++ lib.optional withSeccomp [ libseccomp ];
|
||||||
});
|
});
|
||||||
|
|
||||||
docker-tini = tini.overrideAttrs (oldAttrs: {
|
docker-tini = tini.overrideAttrs (oldAttrs: {
|
||||||
|
@ -68,7 +70,7 @@ rec {
|
||||||
NIX_CFLAGS_COMPILE = "-DMINIMAL=ON";
|
NIX_CFLAGS_COMPILE = "-DMINIMAL=ON";
|
||||||
});
|
});
|
||||||
|
|
||||||
moby = buildGoPackage (optionalAttrs stdenv.isLinux rec {
|
moby = buildGoPackage (lib.optionalAttrs stdenv.isLinux rec {
|
||||||
pname = "moby";
|
pname = "moby";
|
||||||
inherit version;
|
inherit version;
|
||||||
|
|
||||||
|
@ -77,11 +79,15 @@ rec {
|
||||||
goPackagePath = "github.com/docker/docker";
|
goPackagePath = "github.com/docker/docker";
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper pkg-config go-md2man go libtool installShellFiles ];
|
nativeBuildInputs = [ makeWrapper pkg-config go-md2man go libtool installShellFiles ];
|
||||||
buildInputs = [ sqlite lvm2 btrfs-progs systemd libseccomp ];
|
buildInputs = [ sqlite ]
|
||||||
|
++ lib.optional withLvm lvm2
|
||||||
|
++ lib.optional withBtrfs btrfs-progs
|
||||||
|
++ lib.optional withSystemd systemd
|
||||||
|
++ lib.optional withSeccomp libseccomp;
|
||||||
|
|
||||||
extraPath = optionals stdenv.isLinux (makeBinPath [ iproute2 iptables e2fsprogs xz xfsprogs procps util-linux git ]);
|
extraPath = lib.optionals stdenv.isLinux (lib.makeBinPath [ iproute2 iptables e2fsprogs xz xfsprogs procps util-linux git ]);
|
||||||
|
|
||||||
extraUserPath = optionals (stdenv.isLinux && !clientOnly) (makeBinPath [ rootlesskit slirp4netns fuse-overlayfs ]);
|
extraUserPath = lib.optionals (stdenv.isLinux && !clientOnly) (lib.makeBinPath [ rootlesskit slirp4netns fuse-overlayfs ]);
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# This patch incorporates code from a PR fixing using buildkit with the ZFS graph driver.
|
# This patch incorporates code from a PR fixing using buildkit with the ZFS graph driver.
|
||||||
|
@ -132,15 +138,21 @@ rec {
|
||||||
--prefix PATH : "$out/libexec/docker:$extraPath:$extraUserPath"
|
--prefix PATH : "$out/libexec/docker:$extraPath:$extraUserPath"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
DOCKER_BUILDTAGS = [ "journald" "seccomp" ];
|
DOCKER_BUILDTAGS = lib.optional withSystemd "journald"
|
||||||
|
++ lib.optional withBtrfs "exclude_graphdriver_btrfs"
|
||||||
|
++ lib.optional withLvm "exclude_graphdriver_devicemapper"
|
||||||
|
++ lib.optional withSeccomp "seccomp";
|
||||||
});
|
});
|
||||||
|
|
||||||
plugins = optionals buildxSupport [ docker-buildx ]
|
plugins = lib.optional buildxSupport docker-buildx
|
||||||
++ optionals composeSupport [ docker-compose ];
|
++ lib.optional composeSupport docker-compose;
|
||||||
pluginsRef = symlinkJoin { name = "docker-plugins"; paths = plugins; };
|
pluginsRef = symlinkJoin { name = "docker-plugins"; paths = plugins; };
|
||||||
in
|
in
|
||||||
buildGoPackage (optionalAttrs (!clientOnly) {
|
buildGoPackage (lib.optionalAttrs (!clientOnly) {
|
||||||
} // rec {
|
# allow overrides of docker components
|
||||||
|
# TODO: move packages out of the let...in into top-level to allow proper overrides
|
||||||
|
inherit docker-runc docker-containerd docker-proxy docker-tini moby;
|
||||||
|
} // rec {
|
||||||
pname = "docker";
|
pname = "docker";
|
||||||
inherit version;
|
inherit version;
|
||||||
|
|
||||||
|
@ -156,14 +168,17 @@ rec {
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
makeWrapper pkg-config go-md2man go libtool installShellFiles
|
makeWrapper pkg-config go-md2man go libtool installShellFiles
|
||||||
];
|
];
|
||||||
buildInputs = optionals (!clientOnly) [
|
buildInputs = lib.optional (!clientOnly) sqlite
|
||||||
sqlite lvm2 btrfs-progs systemd libseccomp
|
++ lib.optional withLvm lvm2
|
||||||
] ++ plugins;
|
++ lib.optional withBtrfs btrfs-progs
|
||||||
|
++ lib.optional withSystemd systemd
|
||||||
|
++ lib.optional withSeccomp libseccomp
|
||||||
|
++ plugins;
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs man scripts/build/
|
patchShebangs man scripts/build/
|
||||||
substituteInPlace ./scripts/build/.variables --replace "set -eu" ""
|
substituteInPlace ./scripts/build/.variables --replace "set -eu" ""
|
||||||
'' + optionalString (plugins != []) ''
|
'' + lib.optionalString (plugins != []) ''
|
||||||
substituteInPlace ./cli-plugins/manager/manager_unix.go --replace /usr/libexec/docker/cli-plugins \
|
substituteInPlace ./cli-plugins/manager/manager_unix.go --replace /usr/libexec/docker/cli-plugins \
|
||||||
"${pluginsRef}/libexec/docker/cli-plugins"
|
"${pluginsRef}/libexec/docker/cli-plugins"
|
||||||
'';
|
'';
|
||||||
|
@ -194,7 +209,7 @@ rec {
|
||||||
|
|
||||||
makeWrapper $out/libexec/docker/docker $out/bin/docker \
|
makeWrapper $out/libexec/docker/docker $out/bin/docker \
|
||||||
--prefix PATH : "$out/libexec/docker:$extraPath"
|
--prefix PATH : "$out/libexec/docker:$extraPath"
|
||||||
'' + optionalString (!clientOnly) ''
|
'' + lib.optionalString (!clientOnly) ''
|
||||||
# symlink docker daemon to docker cli derivation
|
# symlink docker daemon to docker cli derivation
|
||||||
ln -s ${moby}/bin/dockerd $out/bin/dockerd
|
ln -s ${moby}/bin/dockerd $out/bin/dockerd
|
||||||
ln -s ${moby}/bin/dockerd-rootless $out/bin/dockerd-rootless
|
ln -s ${moby}/bin/dockerd-rootless $out/bin/dockerd-rootless
|
||||||
|
@ -222,17 +237,18 @@ rec {
|
||||||
installManPage man/*/*.[1-9]
|
installManPage man/*/*.[1-9]
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.tests = lib.optionals (!clientOnly) { inherit (nixosTests) docker; };
|
passthru = {
|
||||||
|
# Exposed for tarsum build on non-linux systems (build-support/docker/default.nix)
|
||||||
|
inherit moby-src;
|
||||||
|
tests = lib.optionals (!clientOnly) { inherit (nixosTests) docker; };
|
||||||
|
};
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
homepage = "https://www.docker.com/";
|
homepage = "https://www.docker.com/";
|
||||||
description = "An open source project to pack, ship and run any application as a lightweight container";
|
description = "An open source project to pack, ship and run any application as a lightweight container";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ offline tailhook vdemeester periklis mikroskeem maxeaubrey ];
|
maintainers = with maintainers; [ offline tailhook vdemeester periklis mikroskeem maxeaubrey ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Exposed for tarsum build on non-linux systems (build-support/docker/default.nix)
|
|
||||||
inherit moby-src;
|
|
||||||
});
|
});
|
||||||
|
|
||||||
# Get revisions from
|
# Get revisions from
|
||||||
|
|
|
@ -103,7 +103,7 @@ stdenv.mkDerivation rec {
|
||||||
runHook preCheck
|
runHook preCheck
|
||||||
export NO_AT_BRIDGE=1
|
export NO_AT_BRIDGE=1
|
||||||
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||||
meson test --print-errorlogs
|
meson test --print-errorlogs
|
||||||
runHook postCheck
|
runHook postCheck
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -73,7 +73,7 @@ stdenv.mkDerivation rec {
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
export HOME=$(mktemp -d)
|
export HOME=$(mktemp -d)
|
||||||
dbus-run-session \
|
dbus-run-session \
|
||||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||||
make check
|
make check
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -129,7 +129,7 @@ stdenv.mkDerivation rec {
|
||||||
HOME=$TMPDIR \
|
HOME=$TMPDIR \
|
||||||
XDG_DATA_DIRS=$XDG_DATA_DIRS:${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${shared-mime-info}/share:${folks}/share/gsettings-schemas/${folks.name} \
|
XDG_DATA_DIRS=$XDG_DATA_DIRS:${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${shared-mime-info}/share:${folks}/share/gsettings-schemas/${folks.name} \
|
||||||
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||||
meson test -v --no-stdsplit
|
meson test -v --no-stdsplit
|
||||||
|
|
||||||
runHook postCheck
|
runHook postCheck
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "rgbds";
|
pname = "rgbds";
|
||||||
version = "0.5.2";
|
version = "0.6.0";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "gbdev";
|
owner = "gbdev";
|
||||||
repo = "rgbds";
|
repo = "rgbds";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-/GjxdB3Nt+XuKKQWjU12mS91U4FFoeP+9t0L+HsB/o8=";
|
sha256 = "sha256-2nyjI6z6W959/Yc8EwdQVmGnG0PKwsndPLmeDlNpj18=";
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ bison flex pkg-config ];
|
nativeBuildInputs = [ bison flex pkg-config ];
|
||||||
buildInputs = [ libpng ];
|
buildInputs = [ libpng ];
|
||||||
|
|
|
@ -272,6 +272,9 @@ package-maintainers:
|
||||||
- wstunnel
|
- wstunnel
|
||||||
gridaphobe:
|
gridaphobe:
|
||||||
- located-base
|
- located-base
|
||||||
|
ivanbrennan:
|
||||||
|
- xmonad
|
||||||
|
- xmonad-contrib
|
||||||
jb55:
|
jb55:
|
||||||
# - bson-lens
|
# - bson-lens
|
||||||
- cased
|
- cased
|
||||||
|
|
|
@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
export NO_AT_BRIDGE=1
|
export NO_AT_BRIDGE=1
|
||||||
${xvfb-run}/bin/xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
${xvfb-run}/bin/xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||||
meson test --print-errorlogs
|
meson test --print-errorlogs
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -108,7 +108,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
dbus-launch = "${dbus.lib}/bin/dbus-launch";
|
dbus-launch = "${dbus.lib}/bin/dbus-launch";
|
||||||
daemon = dbus.out;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -257,7 +257,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
export XDG_RUNTIME_HOME="$TMP"
|
export XDG_RUNTIME_HOME="$TMP"
|
||||||
export HOME="$TMP"
|
export HOME="$TMP"
|
||||||
export XDG_DATA_DIRS="${desktop-file-utils}/share:${shared-mime-info}/share"
|
export XDG_DATA_DIRS="${desktop-file-utils}/share:${shared-mime-info}/share"
|
||||||
export G_TEST_DBUS_DAEMON="${dbus.daemon}/bin/dbus-daemon"
|
export G_TEST_DBUS_DAEMON="${dbus}/bin/dbus-daemon"
|
||||||
export PATH="$PATH:$(pwd)/gobject"
|
export PATH="$PATH:$(pwd)/gobject"
|
||||||
echo "PATH=$PATH"
|
echo "PATH=$PATH"
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
|
||||||
NO_AT_BRIDGE=1 \
|
NO_AT_BRIDGE=1 \
|
||||||
XDG_DATA_DIRS="$XDG_DATA_DIRS:${shared-mime-info}/share" \
|
XDG_DATA_DIRS="$XDG_DATA_DIRS:${shared-mime-info}/share" \
|
||||||
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||||
make check
|
make check
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -86,7 +86,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
XDG_DATA_DIRS="$XDG_DATA_DIRS:${shared-mime-info}/share" \
|
XDG_DATA_DIRS="$XDG_DATA_DIRS:${shared-mime-info}/share" \
|
||||||
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||||
meson test --no-rebuild --print-errorlogs
|
meson test --no-rebuild --print-errorlogs
|
||||||
|
|
||||||
runHook postCheck
|
runHook postCheck
|
||||||
|
|
|
@ -88,7 +88,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
XDG_DATA_DIRS="$XDG_DATA_DIRS:${shared-mime-info}/share" \
|
XDG_DATA_DIRS="$XDG_DATA_DIRS:${shared-mime-info}/share" \
|
||||||
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||||
meson test --no-rebuild --print-errorlogs
|
meson test --no-rebuild --print-errorlogs
|
||||||
|
|
||||||
runHook postCheck
|
runHook postCheck
|
||||||
|
|
|
@ -1,17 +1,13 @@
|
||||||
{ lib, stdenv, fetchurl, pkg-config, expat, ncurses, pciutils, numactl
|
{ lib, stdenv, fetchurl, pkg-config, expat, ncurses, pciutils, numactl
|
||||||
, x11Support ? false, libX11 ? null, cairo ? null
|
, x11Support ? false, libX11, cairo
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert x11Support -> libX11 != null && cairo != null;
|
|
||||||
|
|
||||||
with lib;
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "hwloc";
|
pname = "hwloc";
|
||||||
version = "2.8.0";
|
version = "2.8.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.open-mpi.org/software/hwloc/v${versions.majorMinor version}/downloads/hwloc-${version}.tar.bz2";
|
url = "https://www.open-mpi.org/software/hwloc/v${lib.versions.majorMinor version}/downloads/hwloc-${version}.tar.bz2";
|
||||||
sha256 = "sha256-NIpy/NSMMqgj7h2hSa6ZIgPnrQM1SeZK7W6m7rAfQsE=";
|
sha256 = "sha256-NIpy/NSMMqgj7h2hSa6ZIgPnrQM1SeZK7W6m7rAfQsE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -23,32 +19,26 @@ stdenv.mkDerivation rec {
|
||||||
# XXX: libX11 is not directly needed, but needed as a propagated dep of Cairo.
|
# XXX: libX11 is not directly needed, but needed as a propagated dep of Cairo.
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
# Filter out `null' inputs. This allows users to `.override' the
|
buildInputs = [ expat ncurses ]
|
||||||
# derivation and set optional dependencies to `null'.
|
++ lib.optionals x11Support [ cairo libX11 ]
|
||||||
buildInputs = lib.filter (x: x != null)
|
++ lib.optionals stdenv.isLinux [ numactl ];
|
||||||
([ expat ncurses ]
|
|
||||||
++ (optionals x11Support [ cairo libX11 ])
|
|
||||||
++ (optionals stdenv.isLinux [ numactl ]));
|
|
||||||
|
|
||||||
propagatedBuildInputs =
|
# Since `libpci' appears in `hwloc.pc', it must be propagated.
|
||||||
# Since `libpci' appears in `hwloc.pc', it must be propagated.
|
propagatedBuildInputs = lib.optional stdenv.isLinux pciutils;
|
||||||
optional stdenv.isLinux pciutils;
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
postInstall =
|
postInstall = lib.optionalString stdenv.isLinux ''
|
||||||
optionalString (stdenv.isLinux && numactl != null)
|
if [ -d "${numactl}/lib64" ]; then
|
||||||
'' if [ -d "${numactl}/lib64" ]
|
numalibdir="${numactl}/lib64"
|
||||||
then
|
else
|
||||||
numalibdir="${numactl}/lib64"
|
numalibdir="${numactl}/lib"
|
||||||
else
|
test -d "$numalibdir"
|
||||||
numalibdir="${numactl}/lib"
|
fi
|
||||||
test -d "$numalibdir"
|
|
||||||
fi
|
|
||||||
|
|
||||||
sed -i "$lib/lib/libhwloc.la" \
|
sed -i "$lib/lib/libhwloc.la" \
|
||||||
-e "s|-lnuma|-L$numalibdir -lnuma|g"
|
-e "s|-lnuma|-L$numalibdir -lnuma|g"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Checks disabled because they're impure (hardware dependent) and
|
# Checks disabled because they're impure (hardware dependent) and
|
||||||
# fail on some build machines.
|
# fail on some build machines.
|
||||||
|
@ -56,7 +46,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
outputs = [ "out" "lib" "dev" "doc" "man" ];
|
outputs = [ "out" "lib" "dev" "doc" "man" ];
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
description = "Portable abstraction of hierarchical architectures for high-performance computing";
|
description = "Portable abstraction of hierarchical architectures for high-performance computing";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
hwloc provides a portable abstraction (across OS,
|
hwloc provides a portable abstraction (across OS,
|
||||||
|
@ -73,7 +63,6 @@ stdenv.mkDerivation rec {
|
||||||
gather information about the hardware, bind processes, and much
|
gather information about the hardware, bind processes, and much
|
||||||
more.
|
more.
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# https://www.open-mpi.org/projects/hwloc/license.php
|
# https://www.open-mpi.org/projects/hwloc/license.php
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
homepage = "https://www.open-mpi.org/projects/hwloc/";
|
homepage = "https://www.open-mpi.org/projects/hwloc/";
|
||||||
|
|
|
@ -2,21 +2,28 @@
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, cmake
|
, cmake
|
||||||
|
# for passthru.tests
|
||||||
|
, intel-compute-runtime
|
||||||
|
, intel-media-driver
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "intel-gmmlib";
|
pname = "intel-gmmlib";
|
||||||
version = "22.3.0";
|
version = "22.3.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "intel";
|
owner = "intel";
|
||||||
repo = "gmmlib";
|
repo = "gmmlib";
|
||||||
rev = "intel-gmmlib-${version}";
|
rev = "intel-gmmlib-${version}";
|
||||||
sha256 = "sha256-ZJQ4KLKWA9SIXqKffU/uxUU+aXgfDdxQ5Wejgcfowgs=";
|
sha256 = "sha256-bk1yBxMrPkFnPcV5uvEmbf3X2WG6iJNbD1WNxoOSnA8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
|
passthru.tests = {
|
||||||
|
inherit intel-compute-runtime intel-media-driver;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/intel/gmmlib";
|
homepage = "https://github.com/intel/gmmlib";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
|
|
@ -1,19 +1,46 @@
|
||||||
diff --git a/media_softlet/linux/common/ddi/media_libva_util_next.cpp b/media_softlet/linux/common/ddi/media_libva_util_next.cpp
|
diff --git a/media_driver/linux/common/ddi/media_libva_util.cpp b/media_driver/linux/common/ddi/media_libva_util.cpp
|
||||||
index 66fab63de..a2cdf79d7 100644
|
index 25b4cb0b5..49254c2f0 100755
|
||||||
--- a/media_softlet/linux/common/ddi/media_libva_util_next.cpp
|
--- a/media_driver/linux/common/ddi/media_libva_util.cpp
|
||||||
+++ b/media_softlet/linux/common/ddi/media_libva_util_next.cpp
|
+++ b/media_driver/linux/common/ddi/media_libva_util.cpp
|
||||||
@@ -2195,8 +2195,8 @@ void MediaLibvaUtilNext::MediaPrintFps()
|
@@ -34,6 +34,7 @@
|
||||||
|
#include <fcntl.h>
|
||||||
|
#include <dlfcn.h>
|
||||||
|
#include <errno.h>
|
||||||
|
+#include "inttypes.h"
|
||||||
|
|
||||||
int64_t diff = (tv2.tv_sec - m_tv1.tv_sec)*1000000 + tv2.tv_usec - m_tv1.tv_usec;
|
#include "media_libva_util.h"
|
||||||
float fps = m_frameCountFps / (diff / 1000000.0);
|
#include "mos_utilities.h"
|
||||||
- DDI_NORMALMESSAGE("FPS:%6.4f, Interval:%11lu.", fps,((uint64_t)tv2.tv_sec)*1000 + (tv2.tv_usec/1000));
|
@@ -91,7 +92,7 @@ void DdiMediaUtil_MediaPrintFps()
|
||||||
|
int64_t diff = (tv2.tv_sec - tv1.tv_sec)*1000000 + tv2.tv_usec - tv1.tv_usec;
|
||||||
|
float fps = frameCountFps / (diff / 1000000.0);
|
||||||
|
DDI_NORMALMESSAGE("FPS:%6.4f, Interval:%11lu.", fps,((uint64_t)tv2.tv_sec)*1000 + (tv2.tv_usec/1000));
|
||||||
- sprintf(temp,"FPS:%6.4f, Interval:%11lu\n", fps,((uint64_t)tv2.tv_sec)*1000 + (tv2.tv_usec/1000));
|
- sprintf(temp,"FPS:%6.4f, Interval:%11lu\n", fps,((uint64_t)tv2.tv_sec)*1000 + (tv2.tv_usec/1000));
|
||||||
+ DDI_NORMALMESSAGE("FPS:%6.4f, Interval:%11llu.", fps,((uint64_t)tv2.tv_sec)*1000 + (tv2.tv_usec/1000));
|
+ sprintf(temp,"FPS:%6.4f, Interval:%" PRIu64"\n", fps,((uint64_t)tv2.tv_sec)*1000 + (tv2.tv_usec/1000));
|
||||||
+ sprintf(temp,"FPS:%6.4f, Interval:%11llu\n", fps,((uint64_t)tv2.tv_sec)*1000 + (tv2.tv_usec/1000));
|
|
||||||
|
|
||||||
MOS_ZeroMemory(fpsFileName,LENGTH_OF_FPS_FILE_NAME);
|
MOS_ZeroMemory(fpsFileName,LENGTH_OF_FPS_FILE_NAME);
|
||||||
sprintf(fpsFileName, FPS_FILE_NAME);
|
sprintf(fpsFileName, FPS_FILE_NAME);
|
||||||
@@ -2213,4 +2213,4 @@ void MediaLibvaUtilNext::MediaPrintFps()
|
diff --git a/media_softlet/linux/common/ddi/media_libva_util_next.cpp b/media_softlet/linux/common/ddi/media_libva_util_next.cpp
|
||||||
|
index 66fab63de..38b1fae28 100644
|
||||||
|
--- a/media_softlet/linux/common/ddi/media_libva_util_next.cpp
|
||||||
|
+++ b/media_softlet/linux/common/ddi/media_libva_util_next.cpp
|
||||||
|
@@ -24,6 +24,7 @@
|
||||||
|
//! \brief libva util next implementaion.
|
||||||
|
//!
|
||||||
|
#include <sys/time.h>
|
||||||
|
+#include "inttypes.h"
|
||||||
|
#include "media_libva_util_next.h"
|
||||||
|
#include "mos_utilities.h"
|
||||||
|
#include "mos_os.h"
|
||||||
|
@@ -2196,7 +2197,7 @@ void MediaLibvaUtilNext::MediaPrintFps()
|
||||||
|
int64_t diff = (tv2.tv_sec - m_tv1.tv_sec)*1000000 + tv2.tv_usec - m_tv1.tv_usec;
|
||||||
|
float fps = m_frameCountFps / (diff / 1000000.0);
|
||||||
|
DDI_NORMALMESSAGE("FPS:%6.4f, Interval:%11lu.", fps,((uint64_t)tv2.tv_sec)*1000 + (tv2.tv_usec/1000));
|
||||||
|
- sprintf(temp,"FPS:%6.4f, Interval:%11lu\n", fps,((uint64_t)tv2.tv_sec)*1000 + (tv2.tv_usec/1000));
|
||||||
|
+ sprintf(temp,"FPS:%6.4f, Interval:%" PRIu64"\n", fps,((uint64_t)tv2.tv_sec)*1000 + (tv2.tv_usec/1000));
|
||||||
|
|
||||||
|
MOS_ZeroMemory(fpsFileName,LENGTH_OF_FPS_FILE_NAME);
|
||||||
|
sprintf(fpsFileName, FPS_FILE_NAME);
|
||||||
|
@@ -2213,4 +2214,4 @@ void MediaLibvaUtilNext::MediaPrintFps()
|
||||||
pthread_mutex_unlock(&m_fpsMutex);
|
pthread_mutex_unlock(&m_fpsMutex);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,9 +33,8 @@ stdenv.mkDerivation rec {
|
||||||
url = "https://salsa.debian.org/multimedia-team/intel-media-driver-non-free/-/raw/master/debian/patches/0002-Remove-settings-based-on-ARCH.patch";
|
url = "https://salsa.debian.org/multimedia-team/intel-media-driver-non-free/-/raw/master/debian/patches/0002-Remove-settings-based-on-ARCH.patch";
|
||||||
sha256 = "sha256-f4M0CPtAVf5l2ZwfgTaoPw7sPuAP/Uxhm5JSHEGhKT0=";
|
sha256 = "sha256-f4M0CPtAVf5l2ZwfgTaoPw7sPuAP/Uxhm5JSHEGhKT0=";
|
||||||
})
|
})
|
||||||
] ++ lib.optional stdenv.is32bit [
|
# fix compilation on 32bit
|
||||||
# fix compilation on i686-linux but also breaks x86_64
|
# https://github.com/intel/media-driver/pull/1557
|
||||||
# a similar issue got fixed in https://github.com/intel/media-driver/pull/1493 but thats to much C magic for me
|
|
||||||
./32bit.patch
|
./32bit.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -73,6 +72,6 @@ stdenv.mkDerivation rec {
|
||||||
changelog = "https://github.com/intel/media-driver/releases/tag/intel-media-${version}";
|
changelog = "https://github.com/intel/media-driver/releases/tag/intel-media-${version}";
|
||||||
license = with licenses; [ bsd3 mit ];
|
license = with licenses; [ bsd3 mit ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ jfrankenau SuperSandro2000 ];
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,17 +2,15 @@
|
||||||
|
|
||||||
{ stdenv, fetchgit, lib
|
{ stdenv, fetchgit, lib
|
||||||
, pkg-config, autoreconfHook
|
, pkg-config, autoreconfHook
|
||||||
, glib, dbus-glib, gtkVersion ? "3"
|
, glib, dbus-glib
|
||||||
, gtk2 ? null, libindicator-gtk2 ? null, libdbusmenu-gtk2 ? null
|
, gtkVersion ? "3"
|
||||||
, gtk3 ? null, libindicator-gtk3 ? null, libdbusmenu-gtk3 ? null
|
, gtk2, libindicator-gtk2, libdbusmenu-gtk2
|
||||||
|
, gtk3, libindicator-gtk3, libdbusmenu-gtk3
|
||||||
, gtk-doc, vala, gobject-introspection
|
, gtk-doc, vala, gobject-introspection
|
||||||
, monoSupport ? false, mono ? null, gtk-sharp-2_0 ? null
|
, monoSupport ? false, mono, gtk-sharp-2_0
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with lib;
|
stdenv.mkDerivation {
|
||||||
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
pname = let postfix = if gtkVersion == "2" && monoSupport then "sharp" else "gtk${gtkVersion}";
|
pname = let postfix = if gtkVersion == "2" && monoSupport then "sharp" else "gtk${gtkVersion}";
|
||||||
in "libappindicator-${postfix}";
|
in "libappindicator-${postfix}";
|
||||||
version = "12.10.1+20.10.20200706.1";
|
version = "12.10.1+20.10.20200706.1";
|
||||||
|
@ -35,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
glib dbus-glib
|
glib dbus-glib
|
||||||
] ++ (if gtkVersion == "2"
|
] ++ (if gtkVersion == "2"
|
||||||
then [ libindicator-gtk2 ] ++ optionals monoSupport [ mono gtk-sharp-2_0 ]
|
then [ libindicator-gtk2 ] ++ lib.optionals monoSupport [ mono gtk-sharp-2_0 ]
|
||||||
else [ libindicator-gtk3 ]);
|
else [ libindicator-gtk3 ]);
|
||||||
|
|
||||||
preAutoreconf = ''
|
preAutoreconf = ''
|
||||||
|
@ -56,7 +54,7 @@ stdenv.mkDerivation rec {
|
||||||
"localstatedir=\${TMPDIR}"
|
"localstatedir=\${TMPDIR}"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
description = "A library to allow applications to export a menu into the Unity Menu bar";
|
description = "A library to allow applications to export a menu into the Unity Menu bar";
|
||||||
homepage = "https://launchpad.net/libappindicator";
|
homepage = "https://launchpad.net/libappindicator";
|
||||||
license = with licenses; [ lgpl21 lgpl3 ];
|
license = with licenses; [ lgpl21 lgpl3 ];
|
||||||
|
|
|
@ -61,7 +61,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||||
meson test --print-errorlogs
|
meson test --print-errorlogs
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,8 @@
|
||||||
, pkg-config, intltool
|
, pkg-config, intltool
|
||||||
, glib, dbus-glib, json-glib
|
, glib, dbus-glib, json-glib
|
||||||
, gobject-introspection, vala
|
, gobject-introspection, vala
|
||||||
, gtkVersion ? null, gtk2 ? null, gtk3 ? null }:
|
, gtkVersion ? null, gtk2, gtk3
|
||||||
|
}:
|
||||||
with lib;
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libdbusmenu-${if gtkVersion == null then "glib" else "gtk${gtkVersion}"}";
|
pname = "libdbusmenu-${if gtkVersion == null then "glib" else "gtk${gtkVersion}"}";
|
||||||
|
@ -19,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
glib dbus-glib json-glib
|
glib dbus-glib json-glib
|
||||||
] ++ optional (gtkVersion != null) (if gtkVersion == "2" then gtk2 else gtk3);
|
] ++ lib.optional (gtkVersion != null) (if gtkVersion == "2" then gtk2 else gtk3);
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
for f in {configure,ltmain.sh,m4/libtool.m4}; do
|
for f in {configure,ltmain.sh,m4/libtool.m4}; do
|
||||||
|
@ -40,7 +39,7 @@ stdenv.mkDerivation rec {
|
||||||
"--localstatedir=/var"
|
"--localstatedir=/var"
|
||||||
(if gtkVersion == null then "--disable-gtk" else "--with-gtk=${gtkVersion}")
|
(if gtkVersion == null then "--disable-gtk" else "--with-gtk=${gtkVersion}")
|
||||||
"--disable-scrollkeeper"
|
"--disable-scrollkeeper"
|
||||||
] ++ optional (gtkVersion != "2") "--disable-dumper";
|
] ++ lib.optional (gtkVersion != "2") "--disable-dumper";
|
||||||
|
|
||||||
doCheck = false; # generates shebangs in check phase, too lazy to fix
|
doCheck = false; # generates shebangs in check phase, too lazy to fix
|
||||||
|
|
||||||
|
@ -50,7 +49,7 @@ stdenv.mkDerivation rec {
|
||||||
"typelibdir=${placeholder "out"}/lib/girepository-1.0"
|
"typelibdir=${placeholder "out"}/lib/girepository-1.0"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
description = "Library for passing menu structures across DBus";
|
description = "Library for passing menu structures across DBus";
|
||||||
homepage = "https://launchpad.net/dbusmenu";
|
homepage = "https://launchpad.net/dbusmenu";
|
||||||
license = with licenses; [ gpl3 lgpl21 lgpl3 ];
|
license = with licenses; [ gpl3 lgpl21 lgpl3 ];
|
||||||
|
|
|
@ -35,13 +35,12 @@
|
||||||
, perlPackages
|
, perlPackages
|
||||||
, ocamlPackages
|
, ocamlPackages
|
||||||
, libtirpc
|
, libtirpc
|
||||||
, appliance ? null
|
, withAppliance ? true
|
||||||
|
, appliance
|
||||||
, javaSupport ? false
|
, javaSupport ? false
|
||||||
, jdk
|
, jdk
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert appliance == null || lib.isDerivation appliance;
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libguestfs";
|
pname = "libguestfs";
|
||||||
version = "1.48.4";
|
version = "1.48.4";
|
||||||
|
@ -128,13 +127,13 @@ stdenv.mkDerivation rec {
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postFixup = lib.optionalString (appliance != null) ''
|
postFixup = lib.optionalString withAppliance ''
|
||||||
mkdir -p $out/{lib,lib64}
|
mkdir -p $out/{lib,lib64}
|
||||||
ln -s ${appliance} $out/lib64/guestfs
|
ln -s ${appliance} $out/lib64/guestfs
|
||||||
ln -s ${appliance} $out/lib/guestfs
|
ln -s ${appliance} $out/lib/guestfs
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doInstallCheck = appliance != null;
|
doInstallCheck = withAppliance;
|
||||||
installCheckPhase = ''
|
installCheckPhase = ''
|
||||||
runHook preInstallCheck
|
runHook preInstallCheck
|
||||||
|
|
||||||
|
@ -161,6 +160,6 @@ stdenv.mkDerivation rec {
|
||||||
maintainers = with maintainers; [ offline ];
|
maintainers = with maintainers; [ offline ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
# this is to avoid "output size exceeded"
|
# this is to avoid "output size exceeded"
|
||||||
hydraPlatforms = if appliance != null then appliance.meta.hydraPlatforms else platforms.linux;
|
hydraPlatforms = if withAppliance then appliance.meta.hydraPlatforms else platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
|
||||||
NO_AT_BRIDGE=1 \
|
NO_AT_BRIDGE=1 \
|
||||||
XDG_DATA_DIRS="$XDG_DATA_DIRS:${hicolor-icon-theme}/share" \
|
XDG_DATA_DIRS="$XDG_DATA_DIRS:${hicolor-icon-theme}/share" \
|
||||||
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||||
meson test --print-errorlogs
|
meson test --print-errorlogs
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
{ stdenv, fetchurl, lib, file
|
{ stdenv, fetchurl, lib, file
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, gtkVersion ? "3", gtk2 ? null, gtk3 ? null }:
|
, gtkVersion ? "3", gtk2, gtk3 }:
|
||||||
|
|
||||||
with lib;
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libindicator-gtk${gtkVersion}";
|
pname = "libindicator-gtk${gtkVersion}";
|
||||||
|
@ -40,7 +38,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
doCheck = false; # fails 8 out of 8 tests
|
doCheck = false; # fails 8 out of 8 tests
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
description = "A set of symbols and convenience functions for Ayatana indicators";
|
description = "A set of symbols and convenience functions for Ayatana indicators";
|
||||||
homepage = "https://launchpad.net/libindicator";
|
homepage = "https://launchpad.net/libindicator";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
|
|
|
@ -87,7 +87,7 @@ stdenv.mkDerivation rec {
|
||||||
runHook preCheck
|
runHook preCheck
|
||||||
|
|
||||||
dbus-run-session \
|
dbus-run-session \
|
||||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||||
meson test --print-errorlogs
|
meson test --print-errorlogs
|
||||||
|
|
||||||
runHook postCheck
|
runHook postCheck
|
||||||
|
|
|
@ -3,7 +3,13 @@
|
||||||
, minimal ? false, libva-minimal
|
, minimal ? false, libva-minimal
|
||||||
, libX11, libXext, libXfixes, wayland, libffi, libGL
|
, libX11, libXext, libXfixes, wayland, libffi, libGL
|
||||||
, mesa
|
, mesa
|
||||||
|
# for passthru.tests
|
||||||
|
, intel-compute-runtime
|
||||||
, intel-media-driver
|
, intel-media-driver
|
||||||
|
, ffmpeg
|
||||||
|
, mpv
|
||||||
|
, vaapiIntel
|
||||||
|
, vlc
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -31,7 +37,9 @@ stdenv.mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
passthru.tests = {
|
passthru.tests = {
|
||||||
inherit intel-media-driver;
|
# other drivers depending on libva and selected application users.
|
||||||
|
# Please get a confirmation from the maintainer before adding more applications.
|
||||||
|
inherit intel-compute-runtime intel-media-driver vaapiIntel mpv vlc;
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
, libpsm2, libfabric, pmix, ucx
|
, libpsm2, libfabric, pmix, ucx
|
||||||
|
|
||||||
# Enable CUDA support
|
# Enable CUDA support
|
||||||
, cudaSupport ? false, cudatoolkit ? null
|
, cudaSupport ? false, cudatoolkit
|
||||||
|
|
||||||
# Enable the Sun Grid Engine bindings
|
# Enable the Sun Grid Engine bindings
|
||||||
, enableSGE ? false
|
, enableSGE ? false
|
||||||
|
@ -18,8 +18,6 @@
|
||||||
, fortranSupport ? true
|
, fortranSupport ? true
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert !cudaSupport || cudatoolkit != null;
|
|
||||||
|
|
||||||
let
|
let
|
||||||
cudatoolkit_joined = symlinkJoin {
|
cudatoolkit_joined = symlinkJoin {
|
||||||
name = "${cudatoolkit.name}-unsplit";
|
name = "${cudatoolkit.name}-unsplit";
|
||||||
|
|
|
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ cmake pkg-config python ];
|
nativeBuildInputs = [ cmake pkg-config python ];
|
||||||
propagatedBuildInputs = [ qtbase telepathy-farstream telepathy-glib ];
|
propagatedBuildInputs = [ qtbase telepathy-farstream telepathy-glib ];
|
||||||
buildInputs = [ dbus-glib ];
|
buildInputs = [ dbus-glib ];
|
||||||
checkInputs = [ dbus.daemon dbus-python ];
|
checkInputs = [ dbus dbus-python ];
|
||||||
|
|
||||||
# No point in building tests if they are not run
|
# No point in building tests if they are not run
|
||||||
# On 0.9.7, they do not even build with QT4
|
# On 0.9.7, they do not even build with QT4
|
||||||
|
|
|
@ -126,7 +126,7 @@ stdenv.mkDerivation rec {
|
||||||
runHook preCheck
|
runHook preCheck
|
||||||
|
|
||||||
dbus-run-session \
|
dbus-run-session \
|
||||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||||
meson test \
|
meson test \
|
||||||
--timeout-multiplier 2 \
|
--timeout-multiplier 2 \
|
||||||
--print-errorlogs
|
--print-errorlogs
|
||||||
|
|
|
@ -9,21 +9,15 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "unicorn";
|
pname = "unicorn";
|
||||||
version = "2.0.1";
|
version = "2.0.1.post1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "unicorn-engine";
|
owner = "unicorn-engine";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-D8kwrHo58zksVjB13VtzoVqmz++FRfJ4zI2CT+YeBVE=";
|
hash = "sha256-Jz5C35rwnDz0CXcfcvWjkwScGNQO1uijF7JrtZhM7mI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Fix compilation on aarch64-darwin
|
|
||||||
# See https://github.com/unicorn-engine/unicorn/issues/1730
|
|
||||||
./tests_unit_endian_aarch64.patch
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
pkg-config
|
pkg-config
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
diff --git a/tests/unit/endian.h b/tests/unit/endian.h
|
|
||||||
index 5bc86308..b455899e 100644
|
|
||||||
--- a/tests/unit/endian.h
|
|
||||||
+++ b/tests/unit/endian.h
|
|
||||||
@@ -54,6 +54,7 @@
|
|
||||||
|| defined(_POWER) || defined(__powerpc__) \
|
|
||||||
|| defined(__ppc__) || defined(__hpux) || defined(__hppa) \
|
|
||||||
|| defined(_MIPSEB) || defined(_POWER) \
|
|
||||||
+ || defined(__ARMEB__) || defined(__AARCH64EB__) \
|
|
||||||
|| defined(__s390__)
|
|
||||||
# define BOOST_BIG_ENDIAN
|
|
||||||
# define BOOST_BYTE_ORDER 4321
|
|
||||||
@@ -63,6 +64,7 @@
|
|
||||||
|| defined(_M_ALPHA) || defined(__amd64) \
|
|
||||||
|| defined(__amd64__) || defined(_M_AMD64) \
|
|
||||||
|| defined(__x86_64) || defined(__x86_64__) \
|
|
||||||
+ || defined(__ARMEL__) || defined(__AARCH64EL__) \
|
|
||||||
|| defined(_M_X64) || defined(__bfin__)
|
|
||||||
|
|
||||||
# define BOOST_LITTLE_ENDIAN
|
|
|
@ -5,7 +5,6 @@
|
||||||
, gperftools ? null, leveldb ? null
|
, gperftools ? null, leveldb ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with lib;
|
|
||||||
let
|
let
|
||||||
shouldUsePkg = pkg: if pkg != null && lib.meta.availableOn stdenv.hostPlatform pkg then pkg else null;
|
shouldUsePkg = pkg: if pkg != null && lib.meta.availableOn stdenv.hostPlatform pkg then pkg else null;
|
||||||
|
|
||||||
|
@ -32,26 +31,26 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [ optLz4 optSnappy optZlib optBzip2 optDb optGperftools optLeveldb ];
|
buildInputs = [ optLz4 optSnappy optZlib optBzip2 optDb optGperftools optLeveldb ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
(withFeature false "attach")
|
(lib.withFeature false "attach")
|
||||||
(withFeatureAs true "builtins" "")
|
(lib.withFeatureAs true "builtins" "")
|
||||||
(enableFeature (optBzip2 != null) "bzip2")
|
(lib.enableFeature (optBzip2 != null) "bzip2")
|
||||||
(enableFeature false "diagnostic")
|
(lib.enableFeature false "diagnostic")
|
||||||
(enableFeature false "java")
|
(lib.enableFeature false "java")
|
||||||
(enableFeature (optLeveldb != null) "leveldb")
|
(lib.enableFeature (optLeveldb != null) "leveldb")
|
||||||
(enableFeature false "python")
|
(lib.enableFeature false "python")
|
||||||
(enableFeature (optSnappy != null) "snappy")
|
(lib.enableFeature (optSnappy != null) "snappy")
|
||||||
(enableFeature (optLz4 != null) "lz4")
|
(lib.enableFeature (optLz4 != null) "lz4")
|
||||||
(enableFeature (optGperftools != null) "tcmalloc")
|
(lib.enableFeature (optGperftools != null) "tcmalloc")
|
||||||
(enableFeature (optZlib != null) "zlib")
|
(lib.enableFeature (optZlib != null) "zlib")
|
||||||
(withFeatureAs (optDb != null) "berkeleydb" optDb)
|
(lib.withFeatureAs (optDb != null) "berkeleydb" optDb)
|
||||||
(withFeature false "helium")
|
(lib.withFeature false "helium")
|
||||||
];
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
homepage = "http://wiredtiger.com/";
|
homepage = "http://wiredtiger.com/";
|
||||||
description = "";
|
description = "";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
|
|
|
@ -117,7 +117,6 @@
|
||||||
, "csslint"
|
, "csslint"
|
||||||
, "dat"
|
, "dat"
|
||||||
, "degit"
|
, "degit"
|
||||||
, {"deltachat-desktop": "../../applications/networking/instant-messengers/deltachat-desktop"}
|
|
||||||
, "dhcp"
|
, "dhcp"
|
||||||
, "diagnostic-languageserver"
|
, "diagnostic-languageserver"
|
||||||
, "dockerfile-language-server-nodejs"
|
, "dockerfile-language-server-nodejs"
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pythonOlder
|
|
||||||
, icalendar
|
, icalendar
|
||||||
, lxml
|
, lxml
|
||||||
, nose
|
, pytestCheckHook
|
||||||
, pytz
|
, pytz
|
||||||
|
, recurring-ical-events
|
||||||
, requests
|
, requests
|
||||||
, six
|
, six
|
||||||
, tzlocal
|
, tzlocal
|
||||||
|
@ -14,13 +14,13 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "caldav";
|
pname = "caldav";
|
||||||
version = "0.9.1";
|
version = "0.11.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "python-caldav";
|
owner = "python-caldav";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-Gil0v4pGyp5+TnYPjb8Vk0xTqnQKaeD8Ko/ZWhvkbUk=";
|
hash = "sha256-fTl2mxQncsITSC8XpcCBYWYmjDboiueGkNGHbQxn+F8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -28,30 +28,27 @@ buildPythonPackage rec {
|
||||||
lxml
|
lxml
|
||||||
requests
|
requests
|
||||||
six
|
six
|
||||||
|
icalendar
|
||||||
|
recurring-ical-events
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
icalendar
|
pytestCheckHook
|
||||||
nose
|
|
||||||
tzlocal
|
tzlocal
|
||||||
pytz
|
pytz
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
# xandikos and radicale are only optional test dependencies, not available for python3
|
||||||
nosetests tests
|
|
||||||
'';
|
|
||||||
|
|
||||||
# xandikos and radicale is only a optional test dependency, not available for python3
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace ", 'xandikos<0.2.4'" "" \
|
--replace xandikos "" \
|
||||||
--replace ", 'radicale'" ""
|
--replace radicale ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
pythonImportsCheck = [ "caldav" ];
|
pythonImportsCheck = [ "caldav" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "This project is a CalDAV (RFC4791) client library for Python.";
|
description = "CalDAV (RFC4791) client library";
|
||||||
homepage = "https://github.com/python-caldav/caldav";
|
homepage = "https://github.com/python-caldav/caldav";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ marenz dotlambda ];
|
maintainers = with maintainers; [ marenz dotlambda ];
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi, isPyPy
|
{ lib, buildPythonPackage, fetchPypi, isPyPy
|
||||||
, pytest, pytest-cov, pytest-mock, freezegun
|
, pytest, pytest-cov, pytest-mock, freezegun
|
||||||
, jinja2, future, binaryornot, click, jinja2_time, requests
|
, jinja2, future, binaryornot, click, jinja2-time, requests
|
||||||
, python-slugify
|
, python-slugify
|
||||||
, pyyaml
|
, pyyaml
|
||||||
}:
|
}:
|
||||||
|
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||||
jinja2
|
jinja2
|
||||||
click
|
click
|
||||||
pyyaml
|
pyyaml
|
||||||
jinja2_time
|
jinja2-time
|
||||||
python-slugify
|
python-slugify
|
||||||
requests
|
requests
|
||||||
];
|
];
|
||||||
|
|
|
@ -29,7 +29,7 @@ buildPythonPackage rec {
|
||||||
# test_tcp_connection_with_forwarding fails due to dbus
|
# test_tcp_connection_with_forwarding fails due to dbus
|
||||||
# creating unix socket anyway on v1.14.4
|
# creating unix socket anyway on v1.14.4
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
dbus-run-session --config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
dbus-run-session --config-file=${dbus}/share/dbus-1/session.conf \
|
||||||
${python.interpreter} -m pytest -sv --cov=dbus_next \
|
${python.interpreter} -m pytest -sv --cov=dbus_next \
|
||||||
-k "not test_peer_interface and not test_tcp_connection_with_forwarding"
|
-k "not test_peer_interface and not test_tcp_connection_with_forwarding"
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -45,7 +45,7 @@ buildPythonPackage {
|
||||||
# export NO_AT_BRIDGE=1
|
# export NO_AT_BRIDGE=1
|
||||||
gsettings set org.gnome.desktop.interface toolkit-accessibility true
|
gsettings set org.gnome.desktop.interface toolkit-accessibility true
|
||||||
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||||
${python.interpreter} nix_run_setup test
|
${python.interpreter} nix_run_setup test
|
||||||
runHook postCheck
|
runHook postCheck
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -1,25 +1,40 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
|
, fetchpatch
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, arrow
|
, arrow
|
||||||
|
, freezegun
|
||||||
, jinja2
|
, jinja2
|
||||||
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "0.2.0";
|
|
||||||
pname = "jinja2-time";
|
pname = "jinja2-time";
|
||||||
|
version = "0.2.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0h0dr7cfpjnjj8bgl2vk9063a53649pn37wnlkd8hxjy656slkni";
|
sha256 = "0h0dr7cfpjnjj8bgl2vk9063a53649pn37wnlkd8hxjy656slkni";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# fix usage of arrow in tests
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/hackebrot/jinja2-time/pull/19/commits/3b2476c266ba53262352153104ca3501722823a4.patch";
|
||||||
|
sha256 = "sha256-zh4PpAj2GtpgaEap/Yvu6DNY84AwH/YTJlUPRRHPyTs=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ arrow jinja2 ];
|
propagatedBuildInputs = [ arrow jinja2 ];
|
||||||
|
|
||||||
|
checkInputs = [ freezegun pytestCheckHook ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "jinja2_time" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/hackebrot/jinja2-time";
|
homepage = "https://github.com/hackebrot/jinja2-time";
|
||||||
description = "Jinja2 Extension for Dates and Times";
|
description = "Jinja2 Extension for Dates and Times";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
|
@ -1,12 +1,14 @@
|
||||||
{ buildPythonPackage, fetchPypi, lib, jq }:
|
{ lib, buildPythonPackage, fetchFromGitHub, cython, jq, pytestCheckHook }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "jq";
|
pname = "jq";
|
||||||
version = "1.2.3";
|
version = "1.3.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "mwilliamson";
|
||||||
sha256 = "sha256-15bXqaa6c6RMoHKqUAcOhPrhMBbqYHrDdnZAaFaHElc=";
|
repo = "jq.py";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-1EQm5ShjFHbO1IO5QD42fsGHFGDBrJulLrcl+WeU7wo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -14,10 +16,18 @@ buildPythonPackage rec {
|
||||||
./jq-py-setup.patch
|
./jq-py-setup.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cython ];
|
||||||
|
|
||||||
buildInputs = [ jq ];
|
buildInputs = [ jq ];
|
||||||
|
|
||||||
# no tests executed
|
preBuild = ''
|
||||||
doCheck = false;
|
cython jq.pyx
|
||||||
|
'';
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "jq" ];
|
pythonImportsCheck = [ "jq" ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
|
@ -1,17 +1,8 @@
|
||||||
From bef841b73ba7c9a79211146798ac888fce9bb55a Mon Sep 17 00:00:00 2001
|
|
||||||
From: "Robert T. McGibbon" <rmcgibbo@gmail.com>
|
|
||||||
Date: Fri, 7 May 2021 19:14:20 -0400
|
|
||||||
Subject: [PATCH 1/1] Vastly simplify setup.py for distro compatibility
|
|
||||||
|
|
||||||
---
|
|
||||||
setup.py | 98 +-------------------------------------------------------
|
|
||||||
1 file changed, 1 insertion(+), 97 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/setup.py b/setup.py
|
diff --git a/setup.py b/setup.py
|
||||||
index 663792c..3ebcabe 100644
|
index 01cc813..15e9048 100644
|
||||||
--- a/setup.py
|
--- a/setup.py
|
||||||
+++ b/setup.py
|
+++ b/setup.py
|
||||||
@@ -1,113 +1,19 @@
|
@@ -1,97 +1,18 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
@ -20,50 +11,42 @@ index 663792c..3ebcabe 100644
|
||||||
-import shutil
|
-import shutil
|
||||||
-import sysconfig
|
-import sysconfig
|
||||||
|
|
||||||
-import requests
|
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
-from setuptools.command.build_ext import build_ext
|
-from setuptools.command.build_ext import build_ext
|
||||||
from setuptools.extension import Extension
|
from setuptools.extension import Extension
|
||||||
|
|
||||||
|
|
||||||
-def urlretrieve(source_url, destination_path):
|
|
||||||
- response = requests.get(source_url, stream=True)
|
|
||||||
- if response.status_code != 200:
|
|
||||||
- raise Exception("status code was: {}".format(response.status_code))
|
|
||||||
-
|
-
|
||||||
- with open(destination_path, "wb") as fileobj:
|
-def _path_in_dir(relative_path):
|
||||||
- for chunk in response.iter_content(chunk_size=128):
|
|
||||||
- fileobj.write(chunk)
|
|
||||||
-
|
|
||||||
-def path_in_dir(relative_path):
|
|
||||||
- return os.path.abspath(os.path.join(os.path.dirname(__file__), relative_path))
|
- return os.path.abspath(os.path.join(os.path.dirname(__file__), relative_path))
|
||||||
-
|
-
|
||||||
-def dependency_path(relative_path):
|
-def _dep_source_path(relative_path):
|
||||||
- return os.path.join(path_in_dir("_deps"), relative_path)
|
- return os.path.join(_path_in_dir("deps"), relative_path)
|
||||||
-
|
-
|
||||||
def read(fname):
|
-def _dep_build_path(relative_path):
|
||||||
|
- return os.path.join(_path_in_dir("_deps/build"), relative_path)
|
||||||
|
-
|
||||||
|
def _read(fname):
|
||||||
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
||||||
|
|
||||||
|
|
||||||
-jq_lib_tarball_path = dependency_path("jq-lib-1.6.tar.gz")
|
-jq_lib_tarball_path = _dep_source_path("jq-1.6.tar.gz")
|
||||||
-jq_lib_dir = dependency_path("jq-1.6")
|
-jq_lib_dir = _dep_build_path("jq-1.6")
|
||||||
-
|
-
|
||||||
-oniguruma_version = "6.9.4"
|
-oniguruma_version = "6.9.4"
|
||||||
-oniguruma_lib_tarball_path = dependency_path("onig-{}.tar.gz".format(oniguruma_version))
|
-oniguruma_lib_tarball_path = _dep_source_path("onig-{}.tar.gz".format(oniguruma_version))
|
||||||
-oniguruma_lib_build_dir = dependency_path("onig-{}".format(oniguruma_version))
|
-oniguruma_lib_build_dir = _dep_build_path("onig-{}".format(oniguruma_version))
|
||||||
-oniguruma_lib_install_dir = dependency_path("onig-install-{}".format(oniguruma_version))
|
-oniguruma_lib_install_dir = _dep_build_path("onig-install-{}".format(oniguruma_version))
|
||||||
-
|
-
|
||||||
-class jq_build_ext(build_ext):
|
-class jq_build_ext(build_ext):
|
||||||
- def run(self):
|
- def run(self):
|
||||||
- if not os.path.exists(dependency_path(".")):
|
- if not os.path.exists(_dep_build_path(".")):
|
||||||
- os.makedirs(dependency_path("."))
|
- os.makedirs(_dep_build_path("."))
|
||||||
- self._build_oniguruma()
|
- self._build_oniguruma()
|
||||||
- self._build_libjq()
|
- self._build_libjq()
|
||||||
- build_ext.run(self)
|
- build_ext.run(self)
|
||||||
-
|
-
|
||||||
- def _build_oniguruma(self):
|
- def _build_oniguruma(self):
|
||||||
- self._build_lib(
|
- self._build_lib(
|
||||||
- source_url="https://github.com/kkos/oniguruma/releases/download/v{0}/onig-{0}.tar.gz".format(oniguruma_version),
|
|
||||||
- tarball_path=oniguruma_lib_tarball_path,
|
- tarball_path=oniguruma_lib_tarball_path,
|
||||||
- lib_dir=oniguruma_lib_build_dir,
|
- lib_dir=oniguruma_lib_build_dir,
|
||||||
- commands=[
|
- commands=[
|
||||||
|
@ -75,7 +58,6 @@ index 663792c..3ebcabe 100644
|
||||||
-
|
-
|
||||||
- def _build_libjq(self):
|
- def _build_libjq(self):
|
||||||
- self._build_lib(
|
- self._build_lib(
|
||||||
- source_url="https://github.com/stedolan/jq/releases/download/jq-1.6/jq-1.6.tar.gz",
|
|
||||||
- tarball_path=jq_lib_tarball_path,
|
- tarball_path=jq_lib_tarball_path,
|
||||||
- lib_dir=jq_lib_dir,
|
- lib_dir=jq_lib_dir,
|
||||||
- commands=[
|
- commands=[
|
||||||
|
@ -83,9 +65,8 @@ index 663792c..3ebcabe 100644
|
||||||
- ["make"],
|
- ["make"],
|
||||||
- ])
|
- ])
|
||||||
-
|
-
|
||||||
- def _build_lib(self, source_url, tarball_path, lib_dir, commands):
|
- def _build_lib(self, tarball_path, lib_dir, commands):
|
||||||
- self._download_tarball(
|
- self._extract_tarball(
|
||||||
- source_url=source_url,
|
|
||||||
- tarball_path=tarball_path,
|
- tarball_path=tarball_path,
|
||||||
- lib_dir=lib_dir,
|
- lib_dir=lib_dir,
|
||||||
- )
|
- )
|
||||||
|
@ -101,16 +82,10 @@ index 663792c..3ebcabe 100644
|
||||||
- for command in commands:
|
- for command in commands:
|
||||||
- run_command(command)
|
- run_command(command)
|
||||||
-
|
-
|
||||||
- def _download_tarball(self, source_url, tarball_path, lib_dir):
|
- def _extract_tarball(self, tarball_path, lib_dir):
|
||||||
- if os.path.exists(tarball_path):
|
|
||||||
- os.unlink(tarball_path)
|
|
||||||
- print("Downloading {}".format(source_url))
|
|
||||||
- urlretrieve(source_url, tarball_path)
|
|
||||||
- print("Downloaded {}".format(source_url))
|
|
||||||
-
|
|
||||||
- if os.path.exists(lib_dir):
|
- if os.path.exists(lib_dir):
|
||||||
- shutil.rmtree(lib_dir)
|
- shutil.rmtree(lib_dir)
|
||||||
- tarfile.open(tarball_path, "r:gz").extractall(dependency_path("."))
|
- tarfile.open(tarball_path, "r:gz").extractall(_dep_build_path("."))
|
||||||
-
|
-
|
||||||
-
|
-
|
||||||
jq_extension = Extension(
|
jq_extension = Extension(
|
||||||
|
@ -126,19 +101,11 @@ index 663792c..3ebcabe 100644
|
||||||
)
|
)
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
@@ -120,7 +26,6 @@ setup(
|
@@ -104,7 +25,6 @@ def _extract_tarball(self, tarball_path, lib_dir):
|
||||||
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
|
python_requires='>=3.5',
|
||||||
license='BSD 2-Clause',
|
license='BSD 2-Clause',
|
||||||
ext_modules = [jq_extension],
|
ext_modules = [jq_extension],
|
||||||
- cmdclass={"build_ext": jq_build_ext},
|
- cmdclass={"build_ext": jq_build_ext},
|
||||||
classifiers=[
|
classifiers=[
|
||||||
'Development Status :: 5 - Production/Stable',
|
'Development Status :: 5 - Production/Stable',
|
||||||
'Intended Audience :: Developers',
|
'Intended Audience :: Developers',
|
||||||
@@ -137,4 +42,3 @@ setup(
|
|
||||||
'Programming Language :: Python :: 3.9',
|
|
||||||
],
|
|
||||||
)
|
|
||||||
-
|
|
||||||
--
|
|
||||||
2.29.3
|
|
||||||
|
|
||||||
|
|
|
@ -61,7 +61,7 @@ buildPythonPackage rec {
|
||||||
PATH="$TMP/bin:$PATH" pytest
|
PATH="$TMP/bin:$PATH" pytest
|
||||||
'' else if stdenv.isLinux then ''
|
'' else if stdenv.isLinux then ''
|
||||||
dbus-run-session \
|
dbus-run-session \
|
||||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||||
pytest
|
pytest
|
||||||
'' else ''
|
'' else ''
|
||||||
pytest
|
pytest
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "openapi-core";
|
pname = "openapi-core";
|
||||||
version = "0.16.1";
|
version = "0.16.2";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -35,8 +35,8 @@ buildPythonPackage rec {
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "p1c2u";
|
owner = "p1c2u";
|
||||||
repo = "openapi-core";
|
repo = "openapi-core";
|
||||||
rev = version;
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-J3n34HR5lfMM0ik5HAZ2JCr75fX5FTqBWrZ7E3/6XSE=";
|
hash = "sha256-i1MeKPVWowB12gE4kIWBjq6zvn2aIVW4ZDK8bKNAP1o=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
|
@ -0,0 +1,49 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, icalendar
|
||||||
|
, pytz
|
||||||
|
, python-dateutil
|
||||||
|
, x-wr-timezone
|
||||||
|
, pytestCheckHook
|
||||||
|
, restructuredtext_lint
|
||||||
|
, pygments
|
||||||
|
, tzdata
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "recurring-ical-events";
|
||||||
|
version = "1.1.0b0";
|
||||||
|
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "niccokunzmann";
|
||||||
|
repo = "python-recurring-ical-events";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-ePbyZd/l/O3p/6Mbq1kMFsktkFKpPAw/u7uUynZYP2Y=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
icalendar
|
||||||
|
pytz
|
||||||
|
python-dateutil
|
||||||
|
x-wr-timezone
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
restructuredtext_lint
|
||||||
|
pygments
|
||||||
|
tzdata
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "recurring_ical_events" ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Repeat ICalendar events by RRULE, RDATE and EXDATE";
|
||||||
|
homepage = "https://github.com/niccokunzmann/python-recurring-ical-events";
|
||||||
|
license = lib.licenses.lgpl3Plus;
|
||||||
|
maintainers = with lib.maintainers; [ dotlambda ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -6,6 +6,9 @@
|
||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
, pretend
|
, pretend
|
||||||
, freezegun
|
, freezegun
|
||||||
|
, hatch-fancy-pypi-readme
|
||||||
|
, hatch-vcs
|
||||||
|
, hatchling
|
||||||
, simplejson
|
, simplejson
|
||||||
, typing-extensions
|
, typing-extensions
|
||||||
, pythonAtLeast
|
, pythonAtLeast
|
||||||
|
@ -13,16 +16,24 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "structlog";
|
pname = "structlog";
|
||||||
version = "22.1.0";
|
version = "22.3.0";
|
||||||
format = "flit";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hynek";
|
owner = "hynek";
|
||||||
repo = "structlog";
|
repo = "structlog";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
sha256 = "sha256-2sdH6iP+l+6pBNC+sjpAX8bCdCANqqkaqZRmR68uwxY=";
|
sha256 = "sha256-+r+M+uTXdNBWQf0TGQuZgsCXg2CBKwH8ZE2+uAe0Dzg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
hatch-fancy-pypi-readme
|
||||||
|
hatch-vcs
|
||||||
|
hatchling
|
||||||
|
];
|
||||||
|
|
||||||
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
|
|
||||||
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
|
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
|
||||||
typing-extensions
|
typing-extensions
|
||||||
];
|
];
|
||||||
|
|
47
pkgs/development/python-modules/x-wr-timezone/default.nix
Normal file
47
pkgs/development/python-modules/x-wr-timezone/default.nix
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, icalendar
|
||||||
|
, pytz
|
||||||
|
, pytestCheckHook
|
||||||
|
, restructuredtext_lint
|
||||||
|
, pygments
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "x-wr-timezone";
|
||||||
|
version = "0.0.5";
|
||||||
|
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "niccokunzmann";
|
||||||
|
repo = "x-wr-timezone";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-vUhAq6b5I0gYbXmbElxSSL6Mu9BSLs0uT5gb8zXdmpg=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
icalendar
|
||||||
|
pytz
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
restructuredtext_lint
|
||||||
|
pygments
|
||||||
|
];
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
export PATH=$out/bin:$PATH
|
||||||
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "x_wr_timezone" ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Convert calendars using X-WR-TIMEZONE to standard ones";
|
||||||
|
homepage = "https://github.com/niccokunzmann/x-wr-timezone";
|
||||||
|
license = lib.licenses.lgpl3Plus;
|
||||||
|
maintainers = with lib.maintainers; [ dotlambda ];
|
||||||
|
};
|
||||||
|
}
|
67
pkgs/development/tools/ldid/default.nix
Normal file
67
pkgs/development/tools/ldid/default.nix
Normal file
|
@ -0,0 +1,67 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, callPackage
|
||||||
|
, fetchgit
|
||||||
|
, libplist
|
||||||
|
, libxml2
|
||||||
|
, openssl_1_1
|
||||||
|
, CoreFoundation
|
||||||
|
, Security
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "ldid";
|
||||||
|
version = "2.1.5";
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = "git://git.saurik.com/ldid.git";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-RM5pU3mrgyvwNfWKNvCT3UYVGKtVhD7ifgp8fq9xXiM=";
|
||||||
|
};
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
libplist
|
||||||
|
libxml2
|
||||||
|
openssl_1_1
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
CoreFoundation
|
||||||
|
Security
|
||||||
|
];
|
||||||
|
|
||||||
|
NIX_LDFLAGS = [
|
||||||
|
"-lcrypto"
|
||||||
|
"-lplist-2.0"
|
||||||
|
"-lxml2"
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
"-framework CoreFoundation"
|
||||||
|
"-framework Security"
|
||||||
|
];
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
runHook preBuild
|
||||||
|
|
||||||
|
cc -c -o lookup2.o lookup2.c -I.
|
||||||
|
c++ -std=c++11 -o ldid lookup2.o ldid.cpp -I. ${toString NIX_LDFLAGS}
|
||||||
|
|
||||||
|
runHook postBuild
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
install -Dm755 {,$out/bin/}ldid
|
||||||
|
ln -s $out/bin/ldid $out/bin/ldid2
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Link Identity Editor";
|
||||||
|
homepage = "https://cydia.saurik.com/info/ldid/";
|
||||||
|
maintainers = with maintainers; [ wegank ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
license = licenses.agpl3Only;
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,9 +1,9 @@
|
||||||
{ lib, stdenv
|
{ lib
|
||||||
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, patchelf
|
, patchelf
|
||||||
, cmake
|
, cmake
|
||||||
, pkg-config
|
, pkg-config
|
||||||
|
|
||||||
, intel-gmmlib
|
, intel-gmmlib
|
||||||
, intel-graphics-compiler
|
, intel-graphics-compiler
|
||||||
, libva
|
, libva
|
||||||
|
@ -11,13 +11,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "intel-compute-runtime";
|
pname = "intel-compute-runtime";
|
||||||
version = "22.35.24055";
|
version = "22.43.24558";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "intel";
|
owner = "intel";
|
||||||
repo = "compute-runtime";
|
repo = "compute-runtime";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-MOWlhzhEGYyHGk6N+H7O2BLho4YFyvcCbj/zafhzLEw=";
|
sha256 = "sha256-/hiDJLtEOLbnFjT697yLie5E7819fZM3xricPwe4xN0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkg-config ];
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
|
@ -26,10 +26,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DSKIP_UNIT_TESTS=1"
|
"-DSKIP_UNIT_TESTS=1"
|
||||||
|
|
||||||
"-DIGC_DIR=${intel-graphics-compiler}"
|
"-DIGC_DIR=${intel-graphics-compiler}"
|
||||||
"-DOCL_ICD_VENDORDIR=${placeholder "out"}/etc/OpenCL/vendors"
|
"-DOCL_ICD_VENDORDIR=${placeholder "out"}/etc/OpenCL/vendors"
|
||||||
|
|
||||||
# The install script assumes this path is relative to CMAKE_INSTALL_PREFIX
|
# The install script assumes this path is relative to CMAKE_INSTALL_PREFIX
|
||||||
"-DCMAKE_INSTALL_LIBDIR=lib"
|
"-DCMAKE_INSTALL_LIBDIR=lib"
|
||||||
];
|
];
|
||||||
|
@ -45,10 +43,10 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/intel/compute-runtime";
|
homepage = "https://github.com/intel/compute-runtime";
|
||||||
description = "Intel Graphics Compute Runtime for OpenCL. Replaces Beignet for Gen8 (Broadwell) and beyond";
|
description = "Intel Graphics Compute Runtime for OpenCL. Replaces Beignet for Gen8 (Broadwell) and beyond";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = platforms.linux;
|
platforms = [ "x86_64-linux" "aarch64-linux" ];
|
||||||
maintainers = with maintainers; [ gloaming ];
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,6 +61,22 @@ let
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
caldav = super.caldav.overridePythonAttrs (old: rec {
|
||||||
|
version = "0.9.1";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "python-caldav";
|
||||||
|
repo = "caldav";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-Gil0v4pGyp5+TnYPjb8Vk0xTqnQKaeD8Ko/ZWhvkbUk=";
|
||||||
|
};
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace ", 'xandikos<0.2.4'" "" \
|
||||||
|
--replace ", 'radicale'" ""
|
||||||
|
'';
|
||||||
|
checkInputs = old.checkInputs ++ [ self.nose ];
|
||||||
|
});
|
||||||
|
|
||||||
gridnet = super.gridnet.overridePythonAttrs (oldAttrs: rec {
|
gridnet = super.gridnet.overridePythonAttrs (oldAttrs: rec {
|
||||||
version = "4.0.0";
|
version = "4.0.0";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
|
|
@ -18,8 +18,10 @@
|
||||||
, withDevdoc ? false
|
, withDevdoc ? false
|
||||||
, doxygen
|
, doxygen
|
||||||
, dblatex # Extra developer documentation
|
, dblatex # Extra developer documentation
|
||||||
|
, withNcurses
|
||||||
, ncurses # Extra ncurses utilities. Needed for debugging and monitoring.
|
, ncurses # Extra ncurses utilities. Needed for debugging and monitoring.
|
||||||
, tsmbac ? null # Tivoli Storage Manager Backup Client from IBM
|
, withTsm ? false
|
||||||
|
, tsm-client # Tivoli Storage Manager Backup Client from IBM
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with (import ./srcs.nix { inherit fetchurl; });
|
with (import ./srcs.nix { inherit fetchurl; });
|
||||||
|
@ -45,7 +47,8 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
buildInputs = [ libkrb5 ncurses ];
|
buildInputs = [ libkrb5 ncurses ];
|
||||||
|
|
||||||
patches = [ ./bosserver.patch ./cross-build.patch ] ++ optional (tsmbac != null) ./tsmbac.patch;
|
patches = [ ./bosserver.patch ./cross-build.patch ]
|
||||||
|
++ optional withTsm ./tsmbac.patch;
|
||||||
|
|
||||||
outputs = [ "out" "dev" "man" "doc" ] ++ optional withDevdoc "devdoc";
|
outputs = [ "out" "dev" "man" "doc" ] ++ optional withDevdoc "devdoc";
|
||||||
|
|
||||||
|
@ -80,12 +83,12 @@ stdenv.mkDerivation {
|
||||||
"--disable-kernel-module"
|
"--disable-kernel-module"
|
||||||
"--disable-fuse-client"
|
"--disable-fuse-client"
|
||||||
"--with-docbook-stylesheets=${docbook_xsl}/share/xml/docbook-xsl"
|
"--with-docbook-stylesheets=${docbook_xsl}/share/xml/docbook-xsl"
|
||||||
${optionalString (tsmbac != null) "--enable-tivoli-tsm"}
|
${optionalString withTsm "--enable-tivoli-tsm"}
|
||||||
${optionalString (ncurses == null) "--disable-gtx"}
|
${optionalString withNcurses "--disable-gtx"}
|
||||||
"--disable-linux-d_splice-alias-extra-iput"
|
"--disable-linux-d_splice-alias-extra-iput"
|
||||||
)
|
)
|
||||||
'' + optionalString (tsmbac != null) ''
|
'' + optionalString withTsm ''
|
||||||
export XBSA_CFLAGS="-Dxbsa -DNEW_XBSA -I${tsmbac}/lib64/sample -DXBSA_TSMLIB=\\\"${tsmbac}/lib64/libApiTSM64.so\\\""
|
export XBSA_CFLAGS="-Dxbsa -DNEW_XBSA -I${tsm-client}/lib64/sample -DXBSA_TSMLIB=\\\"${tsm-client}/lib64/libApiTSM64.so\\\""
|
||||||
export XBSA_XLIBS="-ldl"
|
export XBSA_XLIBS="-ldl"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -31,21 +31,21 @@ let
|
||||||
in
|
in
|
||||||
py.pkgs.buildPythonApplication rec {
|
py.pkgs.buildPythonApplication rec {
|
||||||
pname = "changedetection-io";
|
pname = "changedetection-io";
|
||||||
version = "0.39.20.4";
|
version = "0.39.21.1";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dgtlmoon";
|
owner = "dgtlmoon";
|
||||||
repo = "changedetection.io";
|
repo = "changedetection.io";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-XhCByQbGWAwWe71jsitpYJnQ2xRIdmhc9mY6Smxmp3w=";
|
sha256 = "sha256-cX2HwlsWOJ34msEnPP38jq+kzSxOM/spe0Ja2lZ/Q7w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace requirements.txt \
|
substituteInPlace requirements.txt \
|
||||||
--replace "bs4" "beautifulsoup4" \
|
--replace "bs4" "beautifulsoup4" \
|
||||||
--replace "cryptography ~= 3.4" "cryptography" \
|
--replace "cryptography~=3.4" "cryptography" \
|
||||||
--replace "selenium ~= 4.1.0" "selenium"
|
--replace "selenium~=4.1.0" "selenium"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = with py.pkgs; [
|
propagatedBuildInputs = with py.pkgs; [
|
||||||
|
@ -58,6 +58,8 @@ py.pkgs.buildPythonApplication rec {
|
||||||
feedgen
|
feedgen
|
||||||
flask-login
|
flask-login
|
||||||
flask-restful
|
flask-restful
|
||||||
|
jinja2
|
||||||
|
jinja2-time
|
||||||
pytz
|
pytz
|
||||||
brotli
|
brotli
|
||||||
requests
|
requests
|
||||||
|
|
|
@ -4,24 +4,16 @@ with python3Packages;
|
||||||
|
|
||||||
toPythonModule (buildPythonApplication rec {
|
toPythonModule (buildPythonApplication rec {
|
||||||
pname = "searx";
|
pname = "searx";
|
||||||
version = "1.0.0";
|
version = "1.1.0";
|
||||||
|
|
||||||
# pypi doesn't receive updates
|
# pypi doesn't receive updates
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "searx";
|
owner = "searx";
|
||||||
repo = "searx";
|
repo = "searx";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0ghkx8g8jnh8yd46p4mlbjn2zm12nx27v7qflr4c8xhlgi0px0mh";
|
sha256 = "sha256-+Wsg1k/h41luk5aVfSn11/lGv8hZYVvpHLbbYHfsExw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Fix a crash, remove with the next update
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/searx/searx/commit/9c10b150963babb7f0b52081693a42b2e61eede9.patch";
|
|
||||||
sha256 = "0svp8799628wja2hq59da6rxqi99am8p6hb8y27ciwzsjz0wwba7";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i 's/==.*$//' requirements.txt
|
sed -i 's/==.*$//' requirements.txt
|
||||||
'';
|
'';
|
||||||
|
@ -50,6 +42,7 @@ toPythonModule (buildPythonApplication rec {
|
||||||
pyyaml
|
pyyaml
|
||||||
requests
|
requests
|
||||||
speaklater
|
speaklater
|
||||||
|
setproctitle
|
||||||
werkzeug
|
werkzeug
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -970,7 +970,9 @@ self: super:
|
||||||
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ xorg.xauth ]
|
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ xorg.xauth ]
|
||||||
++ lib.optionals isDarwin [ xorg.libX11 xorg.xorgproto ];
|
++ lib.optionals isDarwin [ xorg.libX11 xorg.xorgproto ];
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
substituteInPlace $out/bin/startx --replace $out/etc/X11/xinit/xserverrc /etc/X11/xinit/xserverrc
|
substituteInPlace $out/bin/startx \
|
||||||
|
--replace $out/etc/X11/xinit/xserverrc /etc/X11/xinit/xserverrc \
|
||||||
|
--replace $out/etc/X11/xinit/xinitrc /etc/X11/xinit/xinitrc
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@ let
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
} ''
|
} ''
|
||||||
makeWrapper ${dbus}/bin/dbus-launch $out/bin/dbus-launch \
|
makeWrapper ${dbus}/bin/dbus-launch $out/bin/dbus-launch \
|
||||||
--add-flags --config-file=${dbus.daemon}/share/dbus-1/session.conf
|
--add-flags --config-file=${dbus}/share/dbus-1/session.conf
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
|
|
||||||
|
|
|
@ -5,13 +5,13 @@
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "calendar-cli";
|
pname = "calendar-cli";
|
||||||
version = "0.13.0";
|
version = "0.14.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tobixen";
|
owner = "tobixen";
|
||||||
repo = "calendar-cli";
|
repo = "calendar-cli";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-wGigrBl5PJL+fVfnFnHDJ5zyB+Rq3Fm+q9vMvLuBBys=";
|
hash = "sha256-VVE4+qoUam2szbMsdWetq6hyhXoE1V3Pw5j/bYbfGVQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
|
@ -19,6 +19,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
caldav
|
caldav
|
||||||
pytz
|
pytz
|
||||||
tzlocal
|
tzlocal
|
||||||
|
click
|
||||||
six
|
six
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
|
||||||
# install check instead, when those paths will have been created.
|
# install check instead, when those paths will have been created.
|
||||||
doInstallCheck = true;
|
doInstallCheck = true;
|
||||||
preInstallCheck = ''
|
preInstallCheck = ''
|
||||||
export G_TEST_DBUS_DAEMON="${dbus.daemon}/bin/dbus-daemon"
|
export G_TEST_DBUS_DAEMON="${dbus}/bin/dbus-daemon"
|
||||||
patchShebangs tools/tests/test-wrapper.sh
|
patchShebangs tools/tests/test-wrapper.sh
|
||||||
'';
|
'';
|
||||||
installCheckTarget = "check";
|
installCheckTarget = "check";
|
||||||
|
|
36
pkgs/tools/security/bkcrack/default.nix
Normal file
36
pkgs/tools/security/bkcrack/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, cmake
|
||||||
|
, openmp
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "bkcrack";
|
||||||
|
version = "1.5.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "kimci86";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-iyx4mOTr6MHECk9S9zrIAE5pt+cxWnOKS7iQPUyWfzs=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake ];
|
||||||
|
buildInputs = [ openmp ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mkdir -p $out/bin $out/share/licenses/bkcrack
|
||||||
|
mv $out/bkcrack $out/bin/
|
||||||
|
mv $out/license.txt $out/share/licenses/bkcrack
|
||||||
|
rm -r $out/example $out/tools $out/readme.md
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Crack legacy zip encryption with Biham and Kocher's known plaintext attack";
|
||||||
|
homepage = "https://github.com/kimci86/bkcrack";
|
||||||
|
license = licenses.zlib;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = with maintainers; [ erdnaxe ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1046,6 +1046,7 @@ mapAliases ({
|
||||||
odpdown = throw "odpdown has been removed because it lacks python3 support"; # Added 2022-04-25
|
odpdown = throw "odpdown has been removed because it lacks python3 support"; # Added 2022-04-25
|
||||||
ofp = throw "ofp is not compatible with odp-dpdk";
|
ofp = throw "ofp is not compatible with odp-dpdk";
|
||||||
olifant = throw "olifant has been removed from nixpkgs, as it was unmaintained"; # Added 2021-08-05
|
olifant = throw "olifant has been removed from nixpkgs, as it was unmaintained"; # Added 2021-08-05
|
||||||
|
openafs_1_8 = openafs; # Added 2022-08-22
|
||||||
openbazaar = throw "openbazzar has been removed from nixpkgs as upstream has abandoned the project"; # Added 2022-01-06
|
openbazaar = throw "openbazzar has been removed from nixpkgs as upstream has abandoned the project"; # Added 2022-01-06
|
||||||
openbazaar-client = throw "openbazzar-client has been removed from nixpkgs as upstream has abandoned the project"; # Added 2022-01-06
|
openbazaar-client = throw "openbazzar-client has been removed from nixpkgs as upstream has abandoned the project"; # Added 2022-01-06
|
||||||
opencascade_oce = throw "'opencascade_oce' has been renamed to/replaced by 'opencascade'"; # Converted to throw 2022-02-22
|
opencascade_oce = throw "'opencascade_oce' has been renamed to/replaced by 'opencascade'"; # Converted to throw 2022-02-22
|
||||||
|
|
|
@ -5122,6 +5122,10 @@ with pkgs;
|
||||||
|
|
||||||
bbe = callPackage ../tools/misc/bbe { };
|
bbe = callPackage ../tools/misc/bbe { };
|
||||||
|
|
||||||
|
bkcrack = callPackage ../tools/security/bkcrack {
|
||||||
|
inherit (llvmPackages) openmp;
|
||||||
|
};
|
||||||
|
|
||||||
bdsync = callPackage ../tools/backup/bdsync { };
|
bdsync = callPackage ../tools/backup/bdsync { };
|
||||||
|
|
||||||
beamerpresenter = beamerpresenter-mupdf;
|
beamerpresenter = beamerpresenter-mupdf;
|
||||||
|
@ -5378,7 +5382,12 @@ with pkgs;
|
||||||
|
|
||||||
crlfuzz = callPackage ../tools/security/crlfuzz {};
|
crlfuzz = callPackage ../tools/security/crlfuzz {};
|
||||||
|
|
||||||
hedgedoc = callPackage ../servers/web-apps/hedgedoc { };
|
hedgedoc = callPackage ../servers/web-apps/hedgedoc {
|
||||||
|
inherit (callPackage ../development/tools/yarn2nix-moretea/yarn2nix {
|
||||||
|
nodejs = nodejs-16_x;
|
||||||
|
}) mkYarnPackage;
|
||||||
|
nodejs = nodejs-16_x;
|
||||||
|
};
|
||||||
|
|
||||||
colord = callPackage ../tools/misc/colord { };
|
colord = callPackage ../tools/misc/colord { };
|
||||||
|
|
||||||
|
@ -24019,9 +24028,7 @@ with pkgs;
|
||||||
|
|
||||||
openbgpd = callPackage ../servers/openbgpd { };
|
openbgpd = callPackage ../servers/openbgpd { };
|
||||||
|
|
||||||
openafs_1_8 = callPackage ../servers/openafs/1.8 { tsmbac = null; ncurses = null; };
|
openafs = callPackage ../servers/openafs/1.8 { };
|
||||||
# Current stable release; don't backport release updates!
|
|
||||||
openafs = openafs_1_8;
|
|
||||||
|
|
||||||
openresty = callPackage ../servers/http/openresty {
|
openresty = callPackage ../servers/http/openresty {
|
||||||
withPerl = false;
|
withPerl = false;
|
||||||
|
@ -38070,6 +38077,10 @@ with pkgs;
|
||||||
|
|
||||||
lc3tools = callPackage ../development/tools/lc3tools {};
|
lc3tools = callPackage ../development/tools/lc3tools {};
|
||||||
|
|
||||||
|
ldid = callPackage ../development/tools/ldid {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
|
||||||
|
};
|
||||||
|
|
||||||
xcolor = callPackage ../tools/graphics/xcolor { };
|
xcolor = callPackage ../tools/graphics/xcolor { };
|
||||||
|
|
||||||
xcfun = callPackage ../development/libraries/science/chemistry/xcfun { };
|
xcfun = callPackage ../development/libraries/science/chemistry/xcfun { };
|
||||||
|
|
|
@ -101,6 +101,7 @@ mapAliases ({
|
||||||
ipaddress = throw "ipaddress has been removed because it is no longer required since python 2.7."; # added 2022-05-30
|
ipaddress = throw "ipaddress has been removed because it is no longer required since python 2.7."; # added 2022-05-30
|
||||||
influxgraph = throw "influxgraph has been removed because it is no longer maintained"; # added 2022-07-10
|
influxgraph = throw "influxgraph has been removed because it is no longer maintained"; # added 2022-07-10
|
||||||
itanium_demangler = itanium-demangler; # added 2022-1017
|
itanium_demangler = itanium-demangler; # added 2022-1017
|
||||||
|
jinja2_time = jinja2-time; # added 2022-11-07
|
||||||
jupyter_client = jupyter-client; # added 2021-10-15
|
jupyter_client = jupyter-client; # added 2021-10-15
|
||||||
Keras = keras; # added 2021-11-25
|
Keras = keras; # added 2021-11-25
|
||||||
ldap = python-ldap; # added 2022-09-16
|
ldap = python-ldap; # added 2022-09-16
|
||||||
|
|
|
@ -4756,7 +4756,7 @@ self: super: with self; {
|
||||||
|
|
||||||
jinja2_pluralize = callPackage ../development/python-modules/jinja2_pluralize { };
|
jinja2_pluralize = callPackage ../development/python-modules/jinja2_pluralize { };
|
||||||
|
|
||||||
jinja2_time = callPackage ../development/python-modules/jinja2_time { };
|
jinja2-time = callPackage ../development/python-modules/jinja2-time { };
|
||||||
|
|
||||||
jira = callPackage ../development/python-modules/jira { };
|
jira = callPackage ../development/python-modules/jira { };
|
||||||
|
|
||||||
|
@ -9646,6 +9646,8 @@ self: super: with self; {
|
||||||
|
|
||||||
recordlinkage = callPackage ../development/python-modules/recordlinkage { };
|
recordlinkage = callPackage ../development/python-modules/recordlinkage { };
|
||||||
|
|
||||||
|
recurring-ical-events = callPackage ../development/python-modules/recurring-ical-events { };
|
||||||
|
|
||||||
redbaron = callPackage ../development/python-modules/redbaron { };
|
redbaron = callPackage ../development/python-modules/redbaron { };
|
||||||
|
|
||||||
redis = callPackage ../development/python-modules/redis { };
|
redis = callPackage ../development/python-modules/redis { };
|
||||||
|
@ -12049,6 +12051,7 @@ self: super: with self; {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
x-wr-timezone = callPackage ../development/python-modules/x-wr-timezone { };
|
||||||
|
|
||||||
x11_hash = callPackage ../development/python-modules/x11_hash { };
|
x11_hash = callPackage ../development/python-modules/x11_hash { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue