Merge master into staging-next
This commit is contained in:
@@ -7995,6 +7995,12 @@
|
||||
githubId = 19036;
|
||||
name = "Matthew Bauer";
|
||||
};
|
||||
matthiasbenaets = {
|
||||
email = "matthias.benaets@gmail.com";
|
||||
github = "MatthiasBenaets";
|
||||
githubId = 89214559;
|
||||
name = "Matthias Benaets";
|
||||
};
|
||||
matthiasbeyer = {
|
||||
email = "mail@beyermatthias.de";
|
||||
matrix = "@musicmatze:beyermatthi.as";
|
||||
@@ -10188,6 +10194,12 @@
|
||||
githubId = 10473184;
|
||||
name = "Jia Xiaodong";
|
||||
};
|
||||
polarmutex = {
|
||||
email = "brian@brianryall.xyz";
|
||||
github = "polarmutex";
|
||||
githubId = 115141;
|
||||
name = "Brian Ryall";
|
||||
};
|
||||
polendri = {
|
||||
email = "paul@ijj.li";
|
||||
github = "polendri";
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
{ pkgs, lib, config, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.hardware.new-lg4ff;
|
||||
in {
|
||||
options.hardware.new-lg4ff = {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
Enables improved Linux module drivers for Logitech driving wheels.
|
||||
This will replace the existing in-kernel hid-logitech modules.
|
||||
Works most notably on the Logitech G25, G27, G29 and Driving Force (GT).
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
boot = {
|
||||
extraModulePackages = [ pkgs.new-lg4ff ];
|
||||
kernelModules = [ "hid-logitech-new" ];
|
||||
};
|
||||
};
|
||||
|
||||
meta.maintainers = with lib.maintainers; [ matthiasbenaets ];
|
||||
}
|
||||
@@ -66,6 +66,7 @@
|
||||
./hardware/network/ath-user-regd.nix
|
||||
./hardware/network/b43.nix
|
||||
./hardware/network/intel-2200bg.nix
|
||||
./hardware/new-lg4ff.nix
|
||||
./hardware/nitrokey.nix
|
||||
./hardware/opengl.nix
|
||||
./hardware/openrazer.nix
|
||||
|
||||
@@ -53,7 +53,10 @@ in
|
||||
User = cfg.user;
|
||||
Group = cfg.group;
|
||||
StateDirectory = "jellyfin";
|
||||
StateDirectoryMode = "0700";
|
||||
CacheDirectory = "jellyfin";
|
||||
CacheDirectoryMode = "0700";
|
||||
UMask = "0077";
|
||||
ExecStart = "${cfg.package}/bin/jellyfin --datadir '/var/lib/${StateDirectory}' --cachedir '/var/cache/${CacheDirectory}'";
|
||||
Restart = "on-failure";
|
||||
|
||||
|
||||
@@ -2,16 +2,15 @@
|
||||
|
||||
let
|
||||
pname = "ledger-live-desktop";
|
||||
version = "2.41.3";
|
||||
name = "${pname}-${version}";
|
||||
version = "2.42.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/LedgerHQ/${pname}/releases/download/v${version}/${pname}-${version}-linux-x86_64.AppImage";
|
||||
hash = "sha256-Bh3wB5AAgY6l1W3UtWUHW+lJgJ0w6gw23WvEe3/Xs1g=";
|
||||
hash = "sha256-LhpZ2aTPT3XJWeWsl7MCbFsgwSqTHfpdRJD9SveIqQg=";
|
||||
};
|
||||
|
||||
appimageContents = appimageTools.extractType2 {
|
||||
inherit name src;
|
||||
inherit pname version src;
|
||||
};
|
||||
|
||||
# Hotplug events from udevd are fired into the kernel, which then re-broadcasts them over a
|
||||
@@ -25,12 +24,12 @@ let
|
||||
});
|
||||
in
|
||||
appimageTools.wrapType2 rec {
|
||||
inherit name src;
|
||||
inherit pname version src;
|
||||
|
||||
extraPkgs = pkgs: [ systemdPatched ];
|
||||
|
||||
extraInstallCommands = ''
|
||||
mv $out/bin/${name} $out/bin/${pname}
|
||||
mv $out/bin/${pname}-${version} $out/bin/${pname}
|
||||
install -m 444 -D ${appimageContents}/ledger-live-desktop.desktop $out/share/applications/ledger-live-desktop.desktop
|
||||
install -m 444 -D ${appimageContents}/ledger-live-desktop.png $out/share/icons/hicolor/1024x1024/apps/ledger-live-desktop.png
|
||||
${imagemagick}/bin/convert ${appimageContents}/ledger-live-desktop.png -resize 512x512 ledger-live-desktop_512.png
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
# build inputs
|
||||
, distro
|
||||
, glean-sdk
|
||||
, pip
|
||||
, python-hglib
|
||||
, sentry-sdk
|
||||
, setuptools
|
||||
@@ -30,6 +31,7 @@ buildPythonApplication rec {
|
||||
propagatedBuildInputs = [
|
||||
distro
|
||||
glean-sdk
|
||||
pip
|
||||
python-hglib
|
||||
sentry-sdk
|
||||
setuptools
|
||||
|
||||
@@ -14,13 +14,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "p2pool";
|
||||
version = "2.0";
|
||||
version = "2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SChernykh";
|
||||
repo = "p2pool";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-lJJZ0ZsPTPEaYyzi8chAPo1OlZQ6p9QVqwtSOyJD7W4=";
|
||||
sha256 = "sha256-cpBMzYLcU93GXYkBhUdoRovjQ2hd1+pAt6d9aAOaZT8=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
||||
@@ -6,16 +6,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "gmailctl";
|
||||
version = "0.10.3";
|
||||
version = "0.10.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mbrt";
|
||||
repo = "gmailctl";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-NtmpXYC4JBbL5wW1yp5g7In8NZC4N6nvBaoUUcGs15Y=";
|
||||
sha256 = "sha256-tAYFuxB8LSyFHraAQxCj8Q09mS/9RYcinVm5whpRh04=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-+4HBWMaENG1NgUsFzN1uxyDbWOOiFba/ybWV7152g84=";
|
||||
vendorSha256 = "sha256-IFxKczPrqCM9NOoOJayfbrsJIMf3eoI9zXSFns0/i8o=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
|
||||
@@ -82,6 +82,7 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ ertes AndersonTorres ] ++ teams.sage.members;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
broken = stdenv.isDarwin && stdenv.isAarch64;
|
||||
mainProgram = "gp";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -28,14 +28,14 @@
|
||||
with python3Packages;
|
||||
buildPythonApplication rec {
|
||||
pname = "kitty";
|
||||
version = "0.25.0";
|
||||
version = "0.25.1";
|
||||
format = "other";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kovidgoyal";
|
||||
repo = "kitty";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-RYQVcbyKIv/FlrtROoQywWR+iF+4KYiYrrzErUrOCWM=";
|
||||
sha256 = "sha256-wL631cbA6ffXZomi6iDHk7XerRlpIL6T2qlEiQvFSJY=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
@@ -78,23 +78,42 @@ buildPythonApplication rec {
|
||||
outputs = [ "out" "terminfo" "shell_integration" ];
|
||||
|
||||
patches = [
|
||||
# Required to get `test_ssh_env_vars` to pass.
|
||||
(fetchpatch {
|
||||
name = "increase-pty-lines.patch";
|
||||
url = "https://github.com/kovidgoyal/kitty/commit/eb84990f5a8edc458e04d24cc1cda05316d74ceb.patch";
|
||||
sha256 = "sha256-eOANfhGPMoN4FqxtIGDBu5X0O3RPLABDnL+LKqSLROI=";
|
||||
})
|
||||
# Fix to ensure that files in tar files used by SSH kitten have write permissions.
|
||||
./tarball-restore-write-permissions.patch
|
||||
(fetchpatch {
|
||||
name = "fix-tarball-file-permissions.patch";
|
||||
url = "https://github.com/kovidgoyal/kitty/commit/8540ca399053e8d42df27283bb5dd4af562ed29b.patch";
|
||||
sha256 = "sha256-y5w+ritkR+ZEfNSRDQW9r3BU2qt98UNK7vdEX/X+mKU=";
|
||||
})
|
||||
|
||||
# Remove upon next release. Needed because of a missing #define.
|
||||
(fetchpatch {
|
||||
name = "fontconfig-1.patch";
|
||||
url = "https://github.com/kovidgoyal/kitty/commit/bec620a8d30c36453e471b140b07483c7f875bf4.patch";
|
||||
sha256 = "sha256-r1OTcXdO+RUAXmmIqI07m+z0zXq8DXCzgBRXPpnkGGM=";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "fontconfig-2.patch";
|
||||
url = "https://github.com/kovidgoyal/kitty/commit/1283a2b7e552d30cabce9345e5c13e5f9079183d.patch";
|
||||
sha256 = "sha256-UM/OsumnfVHuHTahpRwyWZOeu6L8WOwbBf3lcjwdTj8=";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "fontconfig-3.patch";
|
||||
url = "https://github.com/kovidgoyal/kitty/commit/5c4abe749b1f50ae556a711d24ac7f3e384fac4e.patch";
|
||||
sha256 = "sha256-amvyv5cZxHGPg7dZv649WjH4MNloFbmz5D4rhjKNzYA=";
|
||||
})
|
||||
|
||||
# Needed on darwin
|
||||
|
||||
# Gets `test_ssh_shell_integration` to pass for `zsh` when `compinit` complains about
|
||||
# permissions.
|
||||
./zsh-compinit.patch
|
||||
# Skip `test_ssh_login_shell_detection` in some cases, build users have their shell set to
|
||||
# `/sbin/nologin` which causes issues.
|
||||
./disable-test_ssh_login_shell_detection.patch
|
||||
|
||||
# Skip login shell detection when login shell is set to nologin
|
||||
(fetchpatch {
|
||||
name = "skip-login-shell-detection-for-nologin.patch";
|
||||
url = "https://github.com/kovidgoyal/kitty/commit/27906ea853ce7862bcb83e324ef80f6337b5d846.patch";
|
||||
sha256 = "sha256-Zg6uWkiWvb45i4xcp9k6jy0R2IQMT4PXr7BenzZ/md8=";
|
||||
})
|
||||
# Skip `test_ssh_bootstrap_with_different_launchers` when launcher is `zsh` since it causes:
|
||||
# OSError: master_fd is in error condition
|
||||
./disable-test_ssh_bootstrap_with_different_launchers.patch
|
||||
@@ -122,6 +141,7 @@ buildPythonApplication rec {
|
||||
--egl-library='${lib.getLib libGL}/lib/libEGL.so.1' \
|
||||
--startup-notification-library='${libstartup_notification}/lib/libstartup-notification-1.so' \
|
||||
--canberra-library='${libcanberra}/lib/libcanberra.so' \
|
||||
--fontconfig-library='${fontconfig.lib}/lib/libfontconfig.so' \
|
||||
${commonOptions}
|
||||
''}
|
||||
runHook postBuild
|
||||
@@ -203,7 +223,6 @@ buildPythonApplication rec {
|
||||
passthru.tests.test = nixosTests.terminal-emulators.kitty;
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
homepage = "https://github.com/kovidgoyal/kitty";
|
||||
description = "A modern, hackable, featureful, OpenGL based terminal emulator";
|
||||
license = licenses.gpl3Only;
|
||||
|
||||
-13
@@ -1,13 +0,0 @@
|
||||
diff --git a/kitty_tests/ssh.py b/kitty_tests/ssh.py
|
||||
index 1f424146..57620334 100644
|
||||
--- a/kitty_tests/ssh.py
|
||||
+++ b/kitty_tests/ssh.py
|
||||
@@ -197,7 +197,7 @@ def test_ssh_login_shell_detection(self):
|
||||
expected_login_shell = pwd.getpwuid(os.geteuid()).pw_shell
|
||||
for m in methods:
|
||||
for sh in self.all_possible_sh:
|
||||
- if 'python' in sh:
|
||||
+ if 'python' in sh or '/sbin/nologin' in expected_login_shell:
|
||||
continue
|
||||
with self.subTest(sh=sh, method=m), tempfile.TemporaryDirectory() as tdir:
|
||||
pty = self.check_bootstrap(sh, tdir, test_script=f'{m}; echo "$login_shell"; exit 0', SHELL_INTEGRATION_VALUE='')
|
||||
@@ -1,27 +0,0 @@
|
||||
From 59f6876187da2c01b35e696e169ca98239c08a41 Mon Sep 17 00:00:00 2001
|
||||
From: Jason Felice <jason.m.felice@gmail.com>
|
||||
Date: Tue, 24 May 2022 07:54:25 -0400
|
||||
Subject: [PATCH] Restore write permissions in tarball
|
||||
|
||||
In Nix, the source files are stored in an immutable store and
|
||||
therefore have been stripped of write permissions. When the SSH
|
||||
kitten makes the tarfile, the files contained in it are also missing
|
||||
the write permissions, causing commands on the remote side to fail.
|
||||
---
|
||||
kittens/ssh/main.py | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/kittens/ssh/main.py b/kittens/ssh/main.py
|
||||
index 0b50d5ff..f80ac13d 100644
|
||||
--- a/kittens/ssh/main.py
|
||||
+++ b/kittens/ssh/main.py
|
||||
@@ -123,6 +123,7 @@ def make_tarfile(ssh_opts: SSHOptions, base_env: Dict[str, str], compression: st
|
||||
def normalize_tarinfo(tarinfo: tarfile.TarInfo) -> tarfile.TarInfo:
|
||||
tarinfo.uname = tarinfo.gname = ''
|
||||
tarinfo.uid = tarinfo.gid = 0
|
||||
+ tarinfo.mode |= 0o200
|
||||
return tarinfo
|
||||
|
||||
def add_data_as_file(tf: tarfile.TarFile, arcname: str, data: Union[str, bytes]) -> tarfile.TarInfo:
|
||||
--
|
||||
2.36.0
|
||||
@@ -1,64 +1,134 @@
|
||||
{ lib, buildPythonApplication, fetchFromGitHub, pythonOlder, file, fetchpatch
|
||||
, cairo, ffmpeg, sox, xdg-utils, texlive
|
||||
, colour, numpy, pillow, progressbar, scipy, tqdm, opencv , pycairo, pydub
|
||||
, pbr, fetchPypi
|
||||
}:
|
||||
buildPythonApplication rec {
|
||||
pname = "manim";
|
||||
version = "0.1.10";
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "manimlib";
|
||||
inherit version;
|
||||
sha256 = "0vg9b3rwypq5zir74pi0pmj47yqlcg7hrvscwrpjzjbqq2yihn49";
|
||||
, cairo
|
||||
, ffmpeg
|
||||
, texlive
|
||||
|
||||
, python3
|
||||
}:
|
||||
|
||||
let
|
||||
# According to ManimCommunity documentation manim uses tex-packages packaged
|
||||
# in a custom distribution called "manim-latex",
|
||||
#
|
||||
# https://community.chocolatey.org/packages/manim-latex#files
|
||||
#
|
||||
# which includes another cutom distribution called tinytex, for which the
|
||||
# package list can be found at
|
||||
#
|
||||
# https://github.com/yihui/tinytex/blob/master/tools/pkgs-custom.txt
|
||||
#
|
||||
# these two combined add up to:
|
||||
manim-tinytex = {
|
||||
inherit (texlive)
|
||||
|
||||
# tinytex
|
||||
scheme-infraonly amsfonts amsmath atbegshi atveryend auxhook babel bibtex
|
||||
bigintcalc bitset booktabs cm dehyph dvipdfmx dvips ec epstopdf-pkg etex
|
||||
etexcmds etoolbox euenc everyshi fancyvrb filehook firstaid float fontspec
|
||||
framed geometry gettitlestring glyphlist graphics graphics-cfg graphics-def
|
||||
grffile helvetic hycolor hyperref hyph-utf8 iftex inconsolata infwarerr
|
||||
intcalc knuth-lib kvdefinekeys kvoptions kvsetkeys l3backend l3kernel
|
||||
l3packages latex latex-amsmath-dev latex-bin latex-fonts latex-tools-dev
|
||||
latexconfig latexmk letltxmacro lm lm-math ltxcmds lua-alt-getopt luahbtex
|
||||
lualatex-math lualibs luaotfload luatex mdwtools metafont mfware natbib
|
||||
pdfescape pdftex pdftexcmds plain psnfss refcount rerunfilecheck stringenc
|
||||
tex tex-ini-files times tipa tools unicode-data unicode-math uniquecounter
|
||||
url xcolor xetex xetexconfig xkeyval xunicode zapfding
|
||||
|
||||
# manim-latex
|
||||
standalone everysel preview doublestroke ms setspace rsfs relsize ragged2e
|
||||
fundus-calligra microtype wasysym physics dvisvgm jknapltx wasy cm-super
|
||||
babel-english gnu-freefont mathastext cbfonts-fd;
|
||||
};
|
||||
in python3.pkgs.buildPythonApplication rec {
|
||||
pname = "manim";
|
||||
format = "pyproject";
|
||||
version = "0.15.2";
|
||||
disabled = python3.pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ManimCommunity";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "l5JiFWCMQbGnwRRtYzCHBXdVzWBrTNPdcIYaAt/wRNA=";
|
||||
};
|
||||
|
||||
patches = [ ./remove-dependency-constraints.patch ];
|
||||
|
||||
nativeBuildInputs = [ pbr ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
colour
|
||||
numpy
|
||||
pillow
|
||||
progressbar
|
||||
scipy
|
||||
tqdm
|
||||
opencv
|
||||
pycairo
|
||||
pydub
|
||||
|
||||
cairo sox ffmpeg xdg-utils
|
||||
nativeBuildInputs = [
|
||||
python3.pkgs.poetry-core
|
||||
];
|
||||
|
||||
# Test with texlive to see whether it works but don't propagate
|
||||
# because it's huge and optional
|
||||
# TODO: Use smaller TexLive distribution
|
||||
# Doesn't need everything but it's hard to figure out what it needs
|
||||
checkInputs = [ cairo sox ffmpeg xdg-utils texlive.combined.scheme-full ];
|
||||
|
||||
# Simple test and complex test with LaTeX
|
||||
checkPhase = ''
|
||||
for scene in SquareToCircle OpeningManimExample
|
||||
do
|
||||
python3 manim.py example_scenes.py $scene -l
|
||||
tail -n 20 files/Tex/*.log # Print potential LaTeX erorrs
|
||||
${file}/bin/file videos/example_scenes/480p15/$scene.mp4 \
|
||||
| tee | grep -F "ISO Media, MP4 Base Media v1 [ISO 14496-12:2003]"
|
||||
done
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'cloup = "^0.13.0"' 'cloup = "*"' \
|
||||
--replace 'mapbox-earcut = "^0.12.10"' 'mapbox-earcut = "*"' \
|
||||
'';
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
buildInputs = [ cairo ];
|
||||
|
||||
meta = {
|
||||
description = "Animation engine for explanatory math videos";
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
click
|
||||
click-default-group
|
||||
cloup
|
||||
colour
|
||||
grpcio
|
||||
grpcio-tools
|
||||
importlib-metadata
|
||||
isosurfaces
|
||||
jupyterlab
|
||||
manimpango
|
||||
mapbox-earcut
|
||||
moderngl
|
||||
moderngl-window
|
||||
networkx
|
||||
numpy
|
||||
pillow
|
||||
pycairo
|
||||
pydub
|
||||
pygments
|
||||
pysrt
|
||||
rich
|
||||
scipy
|
||||
screeninfo
|
||||
skia-pathops
|
||||
srt
|
||||
tqdm
|
||||
watchdog
|
||||
];
|
||||
|
||||
makeWrapperArgs = [
|
||||
"--prefix" "PATH" ":" (lib.makeBinPath [
|
||||
ffmpeg
|
||||
(texlive.combine manim-tinytex)
|
||||
])
|
||||
];
|
||||
|
||||
|
||||
checkInputs = [
|
||||
python3.pkgs.pytest-cov
|
||||
python3.pkgs.pytest-xdist
|
||||
python3.pkgs.pytestCheckHook
|
||||
|
||||
ffmpeg
|
||||
(texlive.combine manim-tinytex)
|
||||
];
|
||||
|
||||
# about 55 of ~600 tests failing mostly due to demand for display
|
||||
disabledTests = import ./failing_tests.nix;
|
||||
|
||||
pythonImportsCheck = [ "manim" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Animation engine for explanatory math videos - Community version";
|
||||
longDescription = ''
|
||||
Manim is an animation engine for explanatory math videos. It's used to
|
||||
create precise animations programmatically, as seen in the videos of
|
||||
3Blue1Brown on YouTube.
|
||||
3Blue1Brown on YouTube. This is the community maintained version of
|
||||
manim.
|
||||
'';
|
||||
homepage = "https://github.com/3b1b/manim";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ johnazoidberg ];
|
||||
homepage = "https://github.com/ManimCommunity/manim";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ friedelino ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,74 @@
|
||||
# reason for failure: tests try to open display
|
||||
[
|
||||
"test_background_color"
|
||||
"test_scene_add_remove"
|
||||
"test_Circle"
|
||||
"test_wait_skip"
|
||||
"test_basic_scene_with_default_values"
|
||||
"test_dry_run_with_png_format"
|
||||
"test_dry_run_with_png_format_skipped_animations"
|
||||
"test_FixedMobjects3D"
|
||||
"test_basic_scene_l_flag"
|
||||
"test_n_flag"
|
||||
"test_s_flag_opengl_renderer"
|
||||
"test_s_flag_no_animations"
|
||||
"test_image_output_for_static_scene"
|
||||
"test_no_image_output_with_interactive_embed"
|
||||
"test_no_default_image_output_with_non_static_scene"
|
||||
"test_image_output_for_static_scene_with_write_to_movie"
|
||||
"test_s_flag"
|
||||
"test_r_flag"
|
||||
"test_play_skip"
|
||||
"test_write_to_movie_disables_window"
|
||||
"test_a_flag"
|
||||
"test_pixel_coords_to_space_coords"
|
||||
"test_t_values"
|
||||
"test_custom_folders"
|
||||
"test_t_values[15]"
|
||||
"test_t_values[30]"
|
||||
"test_t_values[60]"
|
||||
"test_dash_as_filename"
|
||||
"test_images_are_created_when_png_format_set_for_opengl"
|
||||
"test_t_values_with_skip_animations"
|
||||
"test_static_wait_detection"
|
||||
"test_non_static_wait_detection"
|
||||
"test_frozen_frame"
|
||||
"test_gif_format_output"
|
||||
"test_animate_with_changed_custom_attribute"
|
||||
"test_images_are_zero_padded_when_zero_pad_set_for_opengl"
|
||||
"test_mp4_format_output"
|
||||
"test_videos_not_created_when_png_format_set"
|
||||
"test_images_are_created_when_png_format_set"
|
||||
"test_images_are_zero_padded_when_zero_pad_set"
|
||||
"test_webm_format_output"
|
||||
"test_default_format_output_for_transparent_flag"
|
||||
"test_mov_can_be_set_as_output_format"
|
||||
"test_force_window_opengl_render_with_format"
|
||||
"test_get_frame_with_preview_disabled"
|
||||
"test_get_frame_with_preview_enabled"
|
||||
] ++
|
||||
|
||||
# reason for failure: tests try to reach network
|
||||
[
|
||||
"test_logging_to_file"
|
||||
"test_plugin_function_like"
|
||||
"test_plugin_no_all"
|
||||
"test_plugin_with_all"
|
||||
] ++
|
||||
|
||||
# failing with:
|
||||
# E AssertionError:
|
||||
# E Not equal to tolerance rtol=1e-07, atol=1.01
|
||||
# E Frame no -1. You can use --show_diff to visually show the difference.
|
||||
# E Mismatched elements: 18525 / 1639680 (1.13%)
|
||||
# E Max absolute difference: 255
|
||||
# E Max relative difference: 255.
|
||||
[
|
||||
"test_Text2Color"
|
||||
] ++
|
||||
|
||||
# failing with:
|
||||
# TypeError: __init__() got an unexpected keyword argument 'msg' - maybe you meant pytest.mark.skipif?
|
||||
[
|
||||
"test_force_window_opengl_render_with_movies"
|
||||
]
|
||||
@@ -1,26 +0,0 @@
|
||||
diff --git i/requirements.txt w/requirements.txt
|
||||
index 556122ad..11fd49d5 100644
|
||||
--- i/requirements.txt
|
||||
+++ w/requirements.txt
|
||||
@@ -1,11 +1,10 @@
|
||||
-argparse==1.4.0
|
||||
-colour==0.1.5
|
||||
-numpy==1.15.0
|
||||
-Pillow==5.2.0
|
||||
-progressbar==2.5
|
||||
-scipy==1.1.0
|
||||
-tqdm==4.24.0
|
||||
-opencv-python==3.4.2.17
|
||||
-pycairo==1.17.1; sys_platform == 'linux'
|
||||
-pycairo>=1.18.0; sys_platform == 'win32'
|
||||
-pydub==0.23.0
|
||||
+colour
|
||||
+numpy
|
||||
+Pillow
|
||||
+progressbar
|
||||
+scipy
|
||||
+tqdm
|
||||
+pycairo
|
||||
+pycairo>=1.18.1; sys_platform == 'win32'
|
||||
+pydub
|
||||
+pyreadline==2.1; sys_platform == 'win32'
|
||||
@@ -1,4 +1,4 @@
|
||||
{ fetchFromGitHub, lib, stdenv, zlib, qtbase, cmake, fixDarwinDylibNames }:
|
||||
{ fetchFromGitHub, lib, stdenv, zlib, qtbase, qt5compat ? null, cmake, fixDarwinDylibNames }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "quazip";
|
||||
@@ -12,6 +12,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ zlib qtbase ];
|
||||
propagatedBuildInputs = [ qt5compat ];
|
||||
nativeBuildInputs = [ cmake ]
|
||||
++ lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "webkitgtk";
|
||||
version = "2.36.2";
|
||||
version = "2.36.3";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
@@ -75,7 +75,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://webkitgtk.org/releases/${pname}-${version}.tar.xz";
|
||||
sha256 = "/pO920oCwONvkm77boHSiv0oi4gk9sXPanXPQCKOAI4=";
|
||||
sha256 = "sha256-cy/PjE7GRLjtKLRuu9fB66udngr+qb315dEnhq/EeNE=";
|
||||
};
|
||||
|
||||
patches = lib.optionals stdenv.isLinux [
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
, "awesome-lint"
|
||||
, "balanceofsatoshis"
|
||||
, "bash-language-server"
|
||||
, "beancount-langserver"
|
||||
, "bower"
|
||||
, "bower2nix"
|
||||
, "browserify"
|
||||
|
||||
+159
-412
File diff suppressed because it is too large
Load Diff
@@ -2,17 +2,20 @@
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools-scm
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "adafruit-platformdetect";
|
||||
version = "3.22.1";
|
||||
version = "3.23.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "Adafruit-PlatformDetect";
|
||||
inherit version;
|
||||
sha256 = "sha256-fOBs0aPekIvpwbrYxzh1wz7EKGko0Je1f/N5H0DIguw=";
|
||||
hash = "sha256-4OWDwvdQBtV+ZqpITr027z0jwfge5/yOof9Xm7QRtuM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -13,13 +13,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "afdko";
|
||||
version = "3.8.1";
|
||||
version = "3.8.3";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-BaSpw7TiBymCvoP0/z1zynWKQJH/PjbbGf85ZI9LOZw=";
|
||||
sha256 = "0mplyla4zcai3qld7is7bl5wn2kzhp87w87yi13wpqnw06i6ij4b";
|
||||
};
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
commit 105daa26f09034af58eb13ac7c5c4ff5420c1724
|
||||
commit 1ccbf21a67da0fdbaad881a1f5c2a4df915e8c57
|
||||
Author: sternenseemann <sternenseemann@systemli.org>
|
||||
Date: Tue Oct 5 18:16:10 2021 +0200
|
||||
|
||||
@@ -9,19 +9,17 @@ Date: Tue Oct 5 18:16:10 2021 +0200
|
||||
called antlr4-runtime, not antlr4_static).
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index d7f86fb6..c43c4456 100644
|
||||
index e9c8c08e..dc3a46da 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -36,13 +36,13 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
|
||||
# https://www.antlr.org/download/antlr4-cpp-runtime-4.9.2-source.zip
|
||||
@@ -36,11 +36,11 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
|
||||
# https://www.antlr.org/download/antlr4-cpp-runtime-4.9.3-source.zip
|
||||
# set(ANTLR4_ZIP_REPOSITORY "/path_to_antlr4_archive/a4.zip")
|
||||
|
||||
-add_definitions(-DANTLR4CPP_STATIC)
|
||||
set(ANTLR4_WITH_STATIC_CRT OFF)
|
||||
# Use slightly more recent commit than 4.9.2 to deal with utfcpp test
|
||||
# compilation problems
|
||||
# set(ANTLR4_TAG tags/4.9.2)
|
||||
set(ANTLR4_TAG 916f03366edf15bf8b50010b11d479c189bf9f96)
|
||||
# 4.9.3 is the latest ANTLR4 version
|
||||
set(ANTLR4_TAG tags/4.9.3)
|
||||
-include(ExternalAntlr4Cpp)
|
||||
+find_path(ANTLR4_HEADER antlr4-runtime.h PATH_SUFFIXES antlr4-runtime)
|
||||
+set(ANTLR4_INCLUDE_DIRS ${ANTLR4_HEADER})
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "awesomeversion";
|
||||
version = "22.4.0";
|
||||
version = "22.5.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
owner = "ludeeus";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-bloBP5cKZtvu96HSQ4AmZ5+VeSXGkmN/m4fuyHLrBws=";
|
||||
sha256 = "sha256-/La54qrejUhyoA1fRPEIItlKojTP5n5YmH+ovL6ASGk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, click
|
||||
, setuptools-scm
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cloup";
|
||||
version = "0.14.0";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "4dec7e43905b7771884cda4f13ab8b7537bceaee467a92655e7660797ab08c47";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "cloup" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/janLuke/cloup";
|
||||
description = "Click extended with option groups, constraints, aliases, help themes";
|
||||
longDescription = ''
|
||||
Enriches Click with option groups, constraints, command aliases, help sections for subcommands, themes for --help and other stuff.
|
||||
'';
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ friedelino ];
|
||||
};
|
||||
}
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "crownstone-uart";
|
||||
version = "2.4.0";
|
||||
version = "2.4.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
owner = "crownstone";
|
||||
repo = "crownstone-lib-python-uart";
|
||||
rev = version;
|
||||
sha256 = "sha256-oCPv4siGy0POK6XeY29roKO/t8xMcJkwSO1onGNLq3E=";
|
||||
sha256 = "sha256-NGy63o56oWhHcQ9QKo05k/z8ABp3p3T3+uY2O1YyzBk=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -7,15 +7,19 @@
|
||||
, fetchPypi
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.7.3";
|
||||
pname = "dask-jobqueue";
|
||||
version = "0.7.3";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "682d7cc0e6b319b6ab83a7a898680c12e9c77ddc77df380b40041290f55d4e79";
|
||||
hash = "sha256-aC18wOazGbarg6eomGgMEunHfdx33zgLQAQSkPVdTnk=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -39,12 +43,14 @@ buildPythonPackage rec {
|
||||
"test_security"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "dask_jobqueue" ];
|
||||
pythonImportsCheck = [
|
||||
"dask_jobqueue"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
homepage = "https://github.com/dask/dask-jobqueue";
|
||||
description = "Deploy Dask on job schedulers like PBS, SLURM, and SGE";
|
||||
homepage = "https://github.com/dask/dask-jobqueue";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ costrouc ];
|
||||
};
|
||||
|
||||
@@ -4,27 +4,38 @@
|
||||
, dask
|
||||
, distributed
|
||||
, mpi4py
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "2022.4.0";
|
||||
pname = "dask-mpi";
|
||||
version = "2022.4.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-CgTx19NaBs3/UGWTMw1EFOokLJFySYzhkfV0LqxJnhc=";
|
||||
hash = "sha256-CgTx19NaBs3/UGWTMw1EFOokLJFySYzhkfV0LqxJnhc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ dask distributed mpi4py ];
|
||||
propagatedBuildInputs = [
|
||||
dask
|
||||
distributed
|
||||
mpi4py
|
||||
];
|
||||
|
||||
# hardcoded mpirun path in tests
|
||||
# Hardcoded mpirun path in tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "dask_mpi" ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"dask_mpi"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/dask/dask-mpi";
|
||||
description = "Deploy Dask using mpi4py";
|
||||
homepage = "https://github.com/dask/dask-mpi";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
maintainers = with maintainers; [ costrouc ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -63,7 +63,6 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
description = "A Python interface for fplll";
|
||||
changelog = "https://github.com/fplll/fpylll/releases/tag/${version}";
|
||||
homepage = "https://github.com/fplll/fpylll";
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-nest-sdm";
|
||||
version = "1.9.0";
|
||||
version = "2.0.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -24,8 +24,8 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "allenporter";
|
||||
repo = "python-google-nest-sdm";
|
||||
rev = version;
|
||||
sha256 = "sha256-FHa6/oWV35TPsafgEUTCuu0Rnd1/YBZF3mHOhkVuEU0=";
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "sha256-af1oYeNEQdz6HivAhvQY0xm3J4s+uXpcdema37oG15U=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hahomematic";
|
||||
version = "1.7.0";
|
||||
version = "1.7.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
owner = "danielperna84";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "sha256-Gu1yMLGkXmARNPX1Erjj1Py4APYAlQ4SI4PyG0QbYeY=";
|
||||
sha256 = "sha256-lLv3DrBPxw5M903ehKMYqsbBicmXcVS2v7P7FgTNkSQ=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, numpy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "isosurfaces";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "fa1b44e5e59d2f429add49289ab89e36f8dcda49b7badd99e0beea273be331f4";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
|
||||
# no tests defined upstream
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "isosurfaces" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/jared-hughes/isosurfaces";
|
||||
description = "Construct isolines/isosurfaces of a 2D/3D scalar field defined by a function";
|
||||
longDescription = ''
|
||||
Construct isolines/isosurfaces of a 2D/3D scalar field defined by a
|
||||
function, i.e. curves over which f(x,y)=0 or surfaces over which
|
||||
f(x,y,z)=0. Most similar libraries use marching squares or similar over a
|
||||
uniform grid, but this uses a quadtree to avoid wasting time sampling
|
||||
many far from the implicit surface.
|
||||
'';
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ friedelino ];
|
||||
};
|
||||
}
|
||||
@@ -10,14 +10,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jc";
|
||||
version = "1.19.0";
|
||||
version = "1.20.0";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kellyjonbrazil";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-0UOU4arSCh+5l258mwZQLNf/JUbPcTgcHtusiTyYPwg=";
|
||||
sha256 = "sha256-Qw6jgbYDfeJfT6QtIaT2llbfwZTpoLeH78mxJlFA7TI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ ruamel-yaml xmltodict pygments ];
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchFromGitHub
|
||||
, numpy
|
||||
, pybind11
|
||||
, pytestCheckHook
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mapbox-earcut";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "skogler";
|
||||
repo = "mapbox_earcut_python";
|
||||
rev = "v${version}";
|
||||
sha256 = "m4q2qTL55fkdi3hm75C3/XV9SUQkpJS+B5SEgpPEctk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools pybind11 ];
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "mapbox_earcut" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/skogler/mapbox_earcut_python";
|
||||
license = licenses.isc;
|
||||
description = "Mapbox-earcut fast triangulation of 2D-polygons";
|
||||
longDescription = ''
|
||||
Python bindings for the C++ implementation of the Mapbox Earcut
|
||||
library, which provides very fast and quite robust triangulation of 2D
|
||||
polygons.
|
||||
'';
|
||||
maintainers = with maintainers; [ friedelino ];
|
||||
};
|
||||
}
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "motionblinds";
|
||||
version = "0.6.7";
|
||||
version = "0.6.8";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||
owner = "starkillerOG";
|
||||
repo = "motion-blinds";
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "sha256-c6+kctEB4gwLGTgTA+sUA3v9ST4dn4RFPbyaXSgGvoQ=";
|
||||
sha256 = "sha256-xlAQD0sJVhbr0nfJZdrBbskVbgC9Lrbrgu6rvT3jQCs=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, flit-core
|
||||
, requests
|
||||
, pytestCheckHook
|
||||
, responses
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "msgraph-core";
|
||||
version = "0.2.2";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "microsoftgraph";
|
||||
repo = "msgraph-sdk-python-core";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-eRRlG3GJX3WeKTNJVWgNTTHY56qiUGOlxtvEZ2xObLA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
flit-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
responses
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
"tests/integration"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "msgraph.core" ];
|
||||
|
||||
meta = {
|
||||
description = "Core component of the Microsoft Graph Python SDK";
|
||||
homepage = "https://github.com/microsoftgraph/msgraph-sdk-python-core";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
{ lib
|
||||
, aioresponses
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
@@ -9,7 +10,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nexia";
|
||||
version = "0.9.13";
|
||||
version = "1.0.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
@@ -18,7 +19,7 @@ buildPythonPackage rec {
|
||||
owner = "bdraco";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-0VG8tSwbVTIIsQYAEwzQfXLTDy4df/nS/rbHjYo7xf0=";
|
||||
sha256 = "sha256-f1IUyeOmRmnr7zWoMKF895FKsNgiiCbw7inmXDGZrVw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -26,6 +27,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
aioresponses
|
||||
requests-mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
@@ -1,26 +1,35 @@
|
||||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchurl
|
||||
, pythonOlder
|
||||
, lib
|
||||
, nixosTests
|
||||
, python
|
||||
, pythonOlder
|
||||
|
||||
# pythonPackages
|
||||
, tqdm
|
||||
, dnspython
|
||||
, expiringdict
|
||||
, urllib3
|
||||
, requests
|
||||
, publicsuffix2
|
||||
, xmltodict
|
||||
, geoip2
|
||||
, urllib3
|
||||
, requests
|
||||
, imapclient
|
||||
, dateparser
|
||||
, mailsuite
|
||||
, elasticsearch
|
||||
, elasticsearch-dsl
|
||||
, kafka-python
|
||||
, mailsuite
|
||||
, tqdm
|
||||
, lxml
|
||||
, boto3
|
||||
, msgraph-core
|
||||
, azure-identity
|
||||
, google-api-core
|
||||
, google-api-python-client
|
||||
, google-auth
|
||||
, google-auth-httplib2
|
||||
, google-auth-oauthlib
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -31,33 +40,49 @@ let
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
pname = "parsedmarc";
|
||||
version = "7.0.1";
|
||||
version = "8.2.0";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1mi4hx410y7ikpfy1582lm252si0c3yryj0idqgqbx417fm21jjc";
|
||||
sha256 = "eb82328dffb4a62ddaefbcc22efd5a2694350504a56d41ba1e161f2d998dcbff";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "elasticsearch<7.14.0" "elasticsearch"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
tqdm
|
||||
dnspython
|
||||
expiringdict
|
||||
urllib3
|
||||
requests
|
||||
publicsuffix2
|
||||
xmltodict
|
||||
geoip2
|
||||
urllib3
|
||||
requests
|
||||
imapclient
|
||||
dateparser
|
||||
mailsuite
|
||||
elasticsearch
|
||||
elasticsearch-dsl
|
||||
kafka-python
|
||||
mailsuite
|
||||
tqdm
|
||||
lxml
|
||||
boto3
|
||||
msgraph-core
|
||||
azure-identity
|
||||
google-api-core
|
||||
google-api-python-client
|
||||
google-auth
|
||||
google-auth-httplib2
|
||||
google-auth-oauthlib
|
||||
];
|
||||
|
||||
# no tests on PyPI, no tags on GitHub
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "parsedmarc" ];
|
||||
|
||||
passthru = {
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pypoolstation";
|
||||
version = "0.4.2";
|
||||
version = "0.4.4";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||
src = fetchPypi {
|
||||
pname = "PyPoolstation";
|
||||
inherit version;
|
||||
sha256 = "sha256-86y/JnTSV+MEr0np3bbwqFMkVrWpMAeyn9WVuNod9xQ=";
|
||||
sha256 = "sha256-MG2V7/AqgH4OVcOEDdhwQswt96URJBQtoi1i+n4IV7Y=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -3,27 +3,37 @@
|
||||
, fetchFromGitHub
|
||||
, numpy
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sdds";
|
||||
version = "0.2.1";
|
||||
version = "0.3.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pylhc";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-JcxcF0tDigZz3upzE7rPDynCH45dnLk/zpS0a2dOwRU=";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-l9j+YJ5VNMzL6JW59kq0hQS7XIj53UxW5bNnfdURz/o=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "sdds" ];
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"sdds"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python 3 package to handle SDDS files";
|
||||
description = "Module to handle SDDS files";
|
||||
homepage = "https://pylhc.github.io/sdds/";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ veprbl ];
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "simplisafe-python";
|
||||
version = "2022.05.1";
|
||||
version = "2022.05.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -29,7 +29,7 @@ buildPythonPackage rec {
|
||||
owner = "bachya";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "sha256-tYExqOIJPJN8Lss6y0oelkrDuQCpNtFrsFRCxnbUNvU=";
|
||||
sha256 = "sha256-DWhXNn5KNs06oKJbWTCI/vuX2oruERAgb/1f4Au8na0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, hypothesis
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "srt";
|
||||
version = "3.5.2";
|
||||
|
||||
disabled = pythonOlder "2.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "7aa4ad5ce4126d3f53b3e7bc4edaa86653d0378bf1c0b1ab8c59f5ab41384450";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
hypothesis
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "srt" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/cdown/srt";
|
||||
description = "A tiny but featureful Python library for parsing, modifying, and composing SRT files";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ friedelino ];
|
||||
};
|
||||
}
|
||||
@@ -14,11 +14,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tqdm";
|
||||
version = "4.63.1";
|
||||
version = "4.64.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-QjCkkRmkFsiMxH0NLTLV2Q8aKC1eSX1JgBlQcE5Jhj0=";
|
||||
sha256 = "13a0spki37rdbx54nspcni3bpsp4d7p5ln570yipf1r01v9mbgj0";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "vulcan-api";
|
||||
version = "2.0.3";
|
||||
version = "2.1.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
@@ -25,7 +25,7 @@ buildPythonPackage rec {
|
||||
owner = "kapi2289";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "YLt9yufOBlWRyo+le7HcaFD/s7V5WpvhMUrHJqyC3pY=";
|
||||
sha256 = "sha256-XYpQ1uqRmdqsGeKyHKGxFyXMN9HugTiPUx9tFUiGSpU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zwave-js-server-python";
|
||||
version = "0.36.1";
|
||||
version = "0.37.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
owner = "home-assistant-libs";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-XVFOx0f5lBh5i7q8XEb4qd0Lu09jEEYKyJUJBqXwirc=";
|
||||
hash = "sha256-321voxogSkeHMsMdLnrjwG3vQOgGDcMjDen0EUKYE1U=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "beancount-language-server";
|
||||
version = "1.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "polarmutex";
|
||||
repo = "beancount-language-server";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-CkwNxamkErRo3svJNth2F8NSqlJNX+1S/srKu6Z+mX4=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-NTUs9ADTn+KoE08FikRHrdptZkrUqnjVIlcr8RtDvic=";
|
||||
|
||||
doInstallCheck = true;
|
||||
postInstallCheck = ''
|
||||
$out/bin/beancount-language-server --help > /dev/null
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Language Server Protocol (LSP) for beancount files";
|
||||
homepage = "https://github.com/polarmutex/beancount-language-server";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ polarmutex ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -3,16 +3,16 @@
|
||||
nixosTests }:
|
||||
buildGoModule rec {
|
||||
pname = "buildkite-agent";
|
||||
version = "3.35.2";
|
||||
version = "3.36.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "buildkite";
|
||||
repo = "agent";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-BpfWeSEX4N77yXfWKpH7KWKsncdOYquxF+L+g13DdiA=";
|
||||
sha256 = "sha256-Q1ul4YF6iBi6aCd9TiD0yjUUJx9OfsoyNWeevwvISBs=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-E51LBpNN/N3wH1LMxv/+nnwpQAxHhyDW2jgVIDkNeQ4=";
|
||||
vendorSha256 = "sha256-5K1xnfQ4U39WR8agOH8zYrvFS1gbr/ahEVTXlAzILL4=";
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace bootstrap/shell/shell.go --replace /bin/bash ${bash}/bin/bash
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
, fetchpatch, fetchFromGitHub, cmake, ninja, pkg-config, libuuid, utf8cpp, darwin }:
|
||||
|
||||
let
|
||||
version = "4.9.2";
|
||||
version = "4.9.3";
|
||||
source = fetchFromGitHub {
|
||||
owner = "antlr";
|
||||
repo = "antlr4";
|
||||
rev = version;
|
||||
sha256 = "0rpqgl2y22iiyg42y8jyiy2g7x421yf0q16cf17j76iai6y0bm5p";
|
||||
sha256 = "1af3cfqwk7lq1b5qsh1am0922fyhy7wmlpnrqdnvch3zzza9n1qm";
|
||||
};
|
||||
|
||||
runtime = {
|
||||
@@ -18,14 +18,6 @@ let
|
||||
|
||||
outputs = [ "out" "dev" "doc" ];
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "use-utfcpp-from-system.patch";
|
||||
url = "https://github.com/antlr/antlr4/commit/5a808b470e1314b63b0a921178040ccabb357945.patch";
|
||||
sha256 = "0nq7iajy9inllcspyqpxskfg3k5s1fwm7ph75i8lfc25rl35k1w7";
|
||||
})
|
||||
];
|
||||
|
||||
patchFlags = [ "-p3" ];
|
||||
|
||||
nativeBuildInputs = [ cmake ninja pkg-config ];
|
||||
@@ -52,7 +44,7 @@ let
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.antlr.org/download/antlr-${version}-complete.jar";
|
||||
sha256 = "1k9pw5gv2zhh06n1vys76kchlz4mz0vgv3iiba8w47b9fqa7n4dv";
|
||||
sha256 = "0dnz2x54kigc58bxnynjhmr5iq49f938vj6p50gdir1xdna41kdg";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
{ lib, stdenv, kernel, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "new-lg4ff";
|
||||
version = "0.3.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "berarma";
|
||||
repo = "new-lg4ff";
|
||||
rev = "${version}";
|
||||
sha256 = "+05xDpNI4m6wTS+YPgA0fP4iM10nMOZOtCrdQxpevBU=";
|
||||
};
|
||||
|
||||
preBuild = ''
|
||||
substituteInPlace Makefile --replace "modules_install" "INSTALL_MOD_PATH=$out modules_install"
|
||||
sed -i '/depmod/d' Makefile
|
||||
sed -i "10i\\\trmmod hid-logitech 2> /dev/null || true" Makefile
|
||||
sed -i "11i\\\trmmod hid-logitech-new 2> /dev/null || true" Makefile
|
||||
'';
|
||||
|
||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||
|
||||
makeFlags = [
|
||||
"KVERSION=${kernel.modDirVersion}"
|
||||
"KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Experimental Logitech force feedback module for Linux";
|
||||
homepage = "https://github.com/berarma/new-lg4ff";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ matthiasbenaets ];
|
||||
platforms = platforms.linux;
|
||||
broken = stdenv.isAarch64;
|
||||
};
|
||||
}
|
||||
@@ -5,15 +5,15 @@
|
||||
, git, nix, nixfmt, jq, coreutils, gnused, curl, cacert, bash }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2022-05-25";
|
||||
version = "2022-06-01";
|
||||
pname = "oh-my-zsh";
|
||||
rev = "e9e8c6b54d594109041bdd4bc3902b40f9ae8849";
|
||||
rev = "18e7e5d0339f3491a6c0324e2443415309b56173";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
owner = "ohmyzsh";
|
||||
repo = "ohmyzsh";
|
||||
sha256 = "afSA6OJm1ydw0/yBZx9QLyt4z7nWjQBAb+77Gw6nR4g=";
|
||||
sha256 = "NAVotL5RxpS/zKnO+ngMIjv787lqc1dj/c4blQrQcvU=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
@@ -1,10 +1,24 @@
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch
|
||||
, xorg, xkeyboard_config, zlib
|
||||
, libjpeg_turbo, pixman, fltk
|
||||
, cmake, gettext, libtool
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, xorg
|
||||
, xkeyboard_config
|
||||
, zlib
|
||||
, libjpeg_turbo
|
||||
, pixman
|
||||
, fltk
|
||||
, cmake
|
||||
, gettext
|
||||
, libtool
|
||||
, libGLU
|
||||
, gnutls, pam, nettle
|
||||
, xterm, openssh, perl
|
||||
, gnutls
|
||||
, gawk
|
||||
, pam
|
||||
, nettle
|
||||
, xterm
|
||||
, openssh
|
||||
, perl
|
||||
, makeWrapper
|
||||
, nixosTests
|
||||
}:
|
||||
@@ -31,7 +45,7 @@ stdenv.mkDerivation rec {
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
postPatch = lib.optionalString stdenv.isLinux ''
|
||||
sed -i -e '/^\$cmd \.= " -pn";/a$cmd .= " -xkbdir ${xkeyboard_config}/etc/X11/xkb";' unix/vncserver/vncserver.in
|
||||
fontPath=
|
||||
substituteInPlace vncviewer/vncviewer.cxx \
|
||||
@@ -39,6 +53,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
cp unix/xserver21.1.1.patch unix/xserver211.patch
|
||||
source_top="$(pwd)"
|
||||
'' + ''
|
||||
# On Mac, do not build a .dmg, instead copy the .app to the source dir
|
||||
gawk -i inplace 'BEGIN { del=0 } /hdiutil/ { del=2 } del<=0 { print } /$VERSION.dmg/ { del -= 1 }' release/makemacapp.in
|
||||
echo "mv \"\$APPROOT\" \"\$SRCDIR/\"" >> release/makemacapp.in
|
||||
'';
|
||||
|
||||
dontUseCmakeBuildDir = true;
|
||||
@@ -49,7 +67,7 @@ stdenv.mkDerivation rec {
|
||||
"-DCMAKE_INSTALL_LIBEXECDIR=${placeholder "out"}/bin"
|
||||
];
|
||||
|
||||
postBuild = ''
|
||||
postBuild = lib.optionalString stdenv.isLinux ''
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -Wno-error=int-to-pointer-cast -Wno-error=pointer-to-int-cast"
|
||||
export CXXFLAGS="$CXXFLAGS -fpermissive"
|
||||
# Build Xvnc
|
||||
@@ -76,9 +94,11 @@ stdenv.mkDerivation rec {
|
||||
--with-xkb-output=$out/share/X11/xkb/compiled
|
||||
make TIGERVNC_SRC=$src TIGERVNC_BUILDDIR=`pwd`/../.. -j$NIX_BUILD_CORES -l$NIX_BUILD_CORES
|
||||
popd
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
make dmg
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
postInstall = lib.optionalString stdenv.isLinux ''
|
||||
pushd unix/xserver/hw/vnc
|
||||
make TIGERVNC_SRC=$src TIGERVNC_BUILDDIR=`pwd`/../../../.. install
|
||||
popd
|
||||
@@ -86,21 +106,54 @@ stdenv.mkDerivation rec {
|
||||
|
||||
wrapProgram $out/bin/vncserver \
|
||||
--prefix PATH : ${lib.makeBinPath (with xorg; [ xterm twm xsetroot xauth ]) }
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
mkdir -p $out/Applications
|
||||
mv 'TigerVNC Viewer ${version}.app' $out/Applications/
|
||||
rm $out/bin/vncviewer
|
||||
echo "#!/usr/bin/env bash
|
||||
open $out/Applications/TigerVNC\ Viewer\ ${version}.app --args \$@" >> $out/bin/vncviewer
|
||||
chmod +x $out/bin/vncviewer
|
||||
'';
|
||||
|
||||
buildInputs = with xorg; [
|
||||
libjpeg_turbo fltk pixman
|
||||
gnutls pam nettle perl
|
||||
buildInputs = [
|
||||
fltk
|
||||
gnutls
|
||||
libjpeg_turbo
|
||||
pixman
|
||||
gawk
|
||||
] ++ lib.optionals stdenv.isLinux (with xorg; [
|
||||
nettle
|
||||
pam
|
||||
perl
|
||||
xorgproto
|
||||
utilmacros libXtst libXext libX11 libXext libICE libXi libSM libXft
|
||||
libxkbfile libXfont2 libpciaccess
|
||||
utilmacros
|
||||
libXtst
|
||||
libXext
|
||||
libX11
|
||||
libXext
|
||||
libICE
|
||||
libXi
|
||||
libSM
|
||||
libXft
|
||||
libxkbfile
|
||||
libXfont2
|
||||
libpciaccess
|
||||
libGLU
|
||||
] ++ xorg.xorgserver.buildInputs;
|
||||
] ++ xorg.xorgserver.buildInputs
|
||||
);
|
||||
|
||||
nativeBuildInputs = with xorg; [ cmake zlib gettext libtool utilmacros fontutil makeWrapper ]
|
||||
++ xorg.xorgserver.nativeBuildInputs;
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
gettext
|
||||
] ++ lib.optionals stdenv.isLinux (with xorg; [
|
||||
fontutil
|
||||
libtool
|
||||
makeWrapper
|
||||
utilmacros
|
||||
zlib
|
||||
] ++ xorg.xorgserver.nativeBuildInputs);
|
||||
|
||||
propagatedBuildInputs = xorg.xorgserver.propagatedBuildInputs;
|
||||
propagatedBuildInputs = lib.optional stdenv.isLinux xorg.xorgserver.propagatedBuildInputs;
|
||||
|
||||
passthru.tests.tigervnc = nixosTests.vnc.testTigerVNC;
|
||||
|
||||
@@ -109,7 +162,7 @@ stdenv.mkDerivation rec {
|
||||
license = lib.licenses.gpl2Plus;
|
||||
description = "Fork of tightVNC, made in cooperation with VirtualGL";
|
||||
maintainers = with lib.maintainers; [viric];
|
||||
platforms = with lib.platforms; linux;
|
||||
platforms = lib.platforms.unix;
|
||||
# Prevent a store collision.
|
||||
priority = 4;
|
||||
};
|
||||
|
||||
@@ -83,7 +83,7 @@ pythonPackages.buildPythonApplication rec {
|
||||
paramiko
|
||||
pyasn1
|
||||
pycrypto
|
||||
pydrive
|
||||
pydrive2
|
||||
future
|
||||
] ++ lib.optionals (!isPy3k) [
|
||||
enum
|
||||
|
||||
@@ -1,18 +1,32 @@
|
||||
{ lib, buildPythonApplication, fetchPypi, installShellFiles }:
|
||||
{ lib
|
||||
, python3
|
||||
, substituteAll
|
||||
, ffmpeg
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "you-get";
|
||||
version = "0.4.1602";
|
||||
version = "0.4.1612";
|
||||
|
||||
# Tests aren't packaged, but they all hit the real network so
|
||||
# probably aren't suitable for a build environment anyway.
|
||||
doCheck = false;
|
||||
|
||||
src = fetchPypi {
|
||||
src = python3.pkgs.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-RwbAbMS5CA6pO08TuaTb67YM/hLRkceOF7D6iV0XcI8=";
|
||||
sha256 = "sha256-lKEztwwn1pnALuwDiA1Ik9+XCVyO+UMobv+hXu0mn5w=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(substituteAll {
|
||||
src = ./ffmpeg-path.patch;
|
||||
ffmpeg = "${lib.getBin ffmpeg}/bin/ffmpeg";
|
||||
ffprobe = "${lib.getBin ffmpeg}/bin/ffmpeg";
|
||||
version = lib.getVersion ffmpeg;
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
postInstall = ''
|
||||
@@ -25,7 +39,6 @@ buildPythonApplication rec {
|
||||
meta = with lib; {
|
||||
description = "A tiny command line utility to download media contents from the web";
|
||||
homepage = "https://you-get.org";
|
||||
changelog = "https://github.com/soimort/you-get/raw/v${version}/CHANGELOG.rst";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ryneeverett ];
|
||||
};
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
diff --git a/src/you_get/processor/ffmpeg.py b/src/you_get/processor/ffmpeg.py
|
||||
index 50e2c9f..46e7f61 100755
|
||||
--- a/src/you_get/processor/ffmpeg.py
|
||||
+++ b/src/you_get/processor/ffmpeg.py
|
||||
@@ -31,7 +31,7 @@ def get_usable_ffmpeg(cmd):
|
||||
except:
|
||||
return None
|
||||
|
||||
-FFMPEG, FFPROBE, FFMPEG_VERSION = get_usable_ffmpeg('ffmpeg') or get_usable_ffmpeg('avconv') or (None, None, None)
|
||||
+FFMPEG, FFPROBE, FFMPEG_VERSION = ('@ffmpeg@', '@ffprobe@', '@version@')
|
||||
if logging.getLogger().isEnabledFor(logging.DEBUG):
|
||||
LOGLEVEL = ['-loglevel', 'info']
|
||||
STDIN = None
|
||||
@@ -5,16 +5,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "swaysome";
|
||||
version = "1.1.4";
|
||||
version = "1.1.5";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "hyask";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-hI6XPND05m67dxo9EwIDhFTyC2UrL4Ll1V/WcBoJymU=";
|
||||
sha256 = "sha256-E2Oy8ubH4VIpuH4idYNiZJISuYYe+stcUY/atN2JcVw=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-jG6HZiL2almALyEnQRmbeCTRG11URP3+Bxqyn8hLs7w=";
|
||||
cargoSha256 = "sha256-S+GcyEYQ4nnVoPMuglTmFdP5j015UyCXMyyhPHa5m8k=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Helper to make sway behave more like awesomewm";
|
||||
|
||||
@@ -11944,7 +11944,7 @@ with pkgs;
|
||||
|
||||
yle-dl = callPackage ../tools/misc/yle-dl {};
|
||||
|
||||
you-get = python3Packages.callPackage ../tools/misc/you-get { };
|
||||
you-get = callPackage ../tools/misc/you-get { };
|
||||
|
||||
zasm = callPackage ../development/compilers/zasm {};
|
||||
|
||||
@@ -15088,7 +15088,9 @@ with pkgs;
|
||||
|
||||
bpkg = callPackage ../development/tools/build-managers/build2/bpkg.nix { };
|
||||
|
||||
buildkite-agent = callPackage ../development/tools/continuous-integration/buildkite-agent { };
|
||||
buildkite-agent = callPackage ../development/tools/continuous-integration/buildkite-agent {
|
||||
buildGoModule = buildGo118Module;
|
||||
};
|
||||
|
||||
buildkite-agent-metrics = callPackage ../servers/monitoring/buildkite-agent-metrics { };
|
||||
|
||||
@@ -23095,6 +23097,10 @@ with pkgs;
|
||||
stdenv = gcc11Stdenv;
|
||||
};
|
||||
|
||||
new-lg4ff = callPackage ../os-specific/linux/new-lg4ff {
|
||||
inherit (linuxPackages) kernel;
|
||||
};
|
||||
|
||||
nmon = callPackage ../os-specific/linux/nmon { };
|
||||
|
||||
hwdata = callPackage ../os-specific/linux/hwdata { };
|
||||
@@ -26801,9 +26807,7 @@ with pkgs;
|
||||
|
||||
m32edit = callPackage ../applications/audio/midas/m32edit.nix {};
|
||||
|
||||
manim = python3Packages.callPackage ../applications/video/manim {
|
||||
opencv = python3Packages.opencv3;
|
||||
};
|
||||
manim = callPackage ../applications/video/manim { };
|
||||
|
||||
manuskript = libsForQt5.callPackage ../applications/editors/manuskript { };
|
||||
|
||||
@@ -31336,6 +31340,8 @@ with pkgs;
|
||||
|
||||
beancount = with python3.pkgs; toPythonApplication beancount;
|
||||
|
||||
beancount-language-server = callPackage ../development/tools/beancount-language-server {};
|
||||
|
||||
bean-add = callPackage ../applications/office/beancount/bean-add.nix { };
|
||||
|
||||
bench = haskell.lib.compose.justStaticExecutables haskellPackages.bench;
|
||||
|
||||
@@ -1763,6 +1763,8 @@ in {
|
||||
|
||||
cloudsplaining = callPackage ../development/python-modules/cloudsplaining { };
|
||||
|
||||
cloup = callPackage ../development/python-modules/cloup { };
|
||||
|
||||
clustershell = callPackage ../development/python-modules/clustershell { };
|
||||
|
||||
clvm = callPackage ../development/python-modules/clvm { };
|
||||
@@ -4343,6 +4345,8 @@ in {
|
||||
|
||||
isort = callPackage ../development/python-modules/isort { };
|
||||
|
||||
isosurfaces = callPackage ../development/python-modules/isosurfaces { };
|
||||
|
||||
isounidecode = callPackage ../development/python-modules/isounidecode { };
|
||||
|
||||
isoweek = callPackage ../development/python-modules/isoweek { };
|
||||
@@ -5166,6 +5170,8 @@ in {
|
||||
|
||||
mapbox = callPackage ../development/python-modules/mapbox { };
|
||||
|
||||
mapbox-earcut = callPackage ../development/python-modules/mapbox-earcut { };
|
||||
|
||||
mariadb = callPackage ../development/python-modules/mariadb { };
|
||||
|
||||
marisa-trie = callPackage ../development/python-modules/marisa-trie { };
|
||||
@@ -6385,6 +6391,8 @@ in {
|
||||
|
||||
micloud = callPackage ../development/python-modules/micloud { };
|
||||
|
||||
msgraph-core = callPackage ../development/python-modules/msgraph-core { };
|
||||
|
||||
netmap = callPackage ../development/python-modules/netmap { };
|
||||
|
||||
openai = callPackage ../development/python-modules/openai { };
|
||||
@@ -9969,6 +9977,8 @@ in {
|
||||
|
||||
srsly = callPackage ../development/python-modules/srsly { };
|
||||
|
||||
srt = callPackage ../development/python-modules/srt { };
|
||||
|
||||
srvlookup = callPackage ../development/python-modules/srvlookup { };
|
||||
|
||||
ssdeep = callPackage ../development/python-modules/ssdeep {
|
||||
|
||||
@@ -17,4 +17,7 @@ let
|
||||
in
|
||||
|
||||
(qt6 // {
|
||||
# LIBRARIES
|
||||
|
||||
quazip = callPackage ../development/libraries/quazip { };
|
||||
})))
|
||||
|
||||
Reference in New Issue
Block a user