jiebi/CodeConvo huggingface dataset:
in stdenv.mkDerivation (finalAttrs: { pname = "kodi"; <del> version = "21.0"; </del> <ins> version = "21.1"; </ins> kodiReleaseName = "Omega"; src = fetchFromGitHub { owner = "xbmc"; repo  = "xbmc"; rev   = "${finalAttrs.version}-${finalAttrs.kodiReleaseName}"; <del> hash  = "sha256-xrFWqgwTkurEwt3/+/e4SCM6Uk9nxuW62SrCFWWqZO0="; </del> <ins> hash  = "sha256-NjId1T1cw9dl0Fx1QDsijiN1VUpuQ/EFl1kxWSESCR4="; </ins> }; patches = [
sha256 = "sha256-JSEW1gqQuLGRkathlwZU/TnG6dL/xWKW4//SfE+kO0A="; }; <del> gdbm3 = gdbm.overrideAttrs (old: rec { version = "1.8.3"; src = fetchurl { url = "mirror://gnu/gdbm/gdbm-${version}.tar.gz"; sha256 = "sha256-zDQDOKLii0AFirnrU1SiHVP4ihWC6iG6C7GFw3ooHck="; }; installPhase = '' mkdir -p $out/lib cp .libs/libgdbm*.so* $out/lib/ ''; }); </del> vmware-unpack-env = buildFHSEnv rec { name = "vmware-unpack-env"; targetPkgs = pkgs: [ zlib ];
}; patches = [ <del> (fetchpatch { name = "gsd_3-compatibility.patch"; url = "https://github.com/mdtraj/mdtraj/commit/81209d00817ab07cfc4668bf5ec88088d16904c0.patch"; hash = "sha256-ttNmij7csxF0Z5wPPwhGumRX055W2IgFjRAe6nI6GNY="; }) # remove pkg_resources usage # https://github.com/mdtraj/mdtraj/pull/1837 (fetchpatch { name = "fix-runtime-error.patch"; url = "https://github.com/mdtraj/mdtraj/commit/02d44d4db7039fceb199c85b4f993244804f470d.patch"; hash = "sha256-nhbi3iOrDSM87DyIp1KVt383Vvb6aYOgkjuYzviqiq8="; }) # remove distutils usage # https://github.com/mdtraj/mdtraj/pull/1834 (fetchpatch { name = "python312-compatibility.patch"; url = "https://github.com/mdtraj/mdtraj/commit/95d79747deef42c976ca362a57806b61933409f3.patch"; hash = "sha256-Cq7/d745q6ZgAyWGM4ULnSsWezsbnu1CjSz5eqYSb+g="; }) </del> # disable intrinsics when SIMD is not available # TODO: enable SIMD with python3.12 # https://github.com/mdtraj/mdtraj/pull/1884
"test_precentered_2" ]; <ins> # these files import distutils # remove once https://github.com/mdtraj/mdtraj/pull/1916 is merged disabledTestPaths = lib.optionals (pythonAtLeast "3.12") [ "test_mol2.py" "test_netcdf.py" ]; </ins> pythonImportsCheck = [ "mdtraj" ]; meta = with lib; {
rustPlatform.buildRustPackage rec { pname = "zed"; <del> version = "0.149.3"; </del> <ins> version = "0.149.5"; </ins> src = fetchFromGitHub { owner = "zed-industries"; repo = "zed"; rev = "refs/tags/v${version}"; <del> hash = "sha256-fz0StzZIqDLmip0M2959h7ZgoB+cdTC5QNKKNRVZItA="; </del> <ins> hash = "sha256-RQGYcJJf65arew9iwtPh/jFYMbXiY9Wg7xEjAsUSvEA="; </ins> fetchSubmodules = true; };
}: stdenv.mkDerivation (finalAttrs: { pname = "composefs"; <del> version = "1.0.5"; </del> <ins> version = "1.0.6"; </ins> src = fetchFromGitHub { owner = "containers"; repo = "composefs"; rev = "v${finalAttrs.version}"; <del> hash = "sha256-2h0wwtuhvFz5IExR/Fu0l+/nTAlDpMREVRjgrhbEghw="; </del> <ins> hash = "sha256-9YEY7oTjWwVT2KbzTOOc6sJIGEAkdLSKDf1noF1cYuA="; </ins> }; strictDeps = true; outputs = [ "out" "lib" "dev" ]; postPatch = lib.optionalString installExperimentalTools '' <del> sed -i "s/install : false/install : true/g" tools/meson.build </del> <ins> substituteInPlace tools/meson.build  --replace-fail "install : false" "install : true" </ins> ''; nativeBuildInputs = [ meson ninja go-md2man pkg-config ];
<del> { lib , stdenv , fetchurl , undmg , dpkg , autoPatchelfHook , wrapGAppsHook3 , makeWrapper , alsa-lib , at-spi2-atk , gdk-pixbuf , glibc , nss , udev , xorg , gnome-keyring , mesa , gtk3 , libusb1 , libsecret , libappindicator , xdotool }: let pname = "keeweb"; version = "1.18.7"; srcs = { x86_64-linux = fetchurl { url = "https://github.com/keeweb/keeweb/releases/download/v${version}/KeeWeb-${version}.linux.x64.deb"; hash = "sha256-/U+vn5TLIU9/J6cRFjuAdyGzlwC04mp4L2X2ETp+ZSE="; }; x86_64-darwin = fetchurl { url = "https://github.com/keeweb/keeweb/releases/download/v${version}/KeeWeb-${version}.mac.x64.dmg"; hash = "sha256-+ZFGrrw0tZ7F6lb/3iBIyGD+tp1puVhkPv10hfp6ATU="; }; aarch64-darwin = fetchurl { url = "https://github.com/keeweb/keeweb/releases/download/v${version}/KeeWeb-${version}.mac.arm64.dmg"; hash = "sha256-bkhwsWYLkec16vMOfXUce7jfrmI9W2xHiZvU1asebK4="; }; }; src = srcs.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); libraries = [ alsa-lib at-spi2-atk gdk-pixbuf nss udev xorg.libX11 xorg.libXcomposite xorg.libXext xorg.libXrandr xorg.libXScrnSaver xorg.libXtst xorg.libxshmfence gnome-keyring mesa gtk3 libusb1 libsecret libappindicator xdotool ]; meta = with lib; { description = "Free cross-platform password manager compatible with KeePass"; mainProgram = "keeweb"; homepage = "https://keeweb.info/"; changelog = "https://github.com/keeweb/keeweb/blob/v${version}/release-notes.md"; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.mit; maintainers = with maintainers; [ sikmir ]; platforms = builtins.attrNames srcs; }; in if stdenv.isDarwin then stdenv.mkDerivation { inherit pname version src meta; nativeBuildInputs = [ undmg ]; sourceRoot = "."; installPhase = '' mkdir -p $out/Applications cp -r *.app $out/Applications ''; } else stdenv.mkDerivation { inherit pname version src meta; nativeBuildInputs = [ autoPatchelfHook wrapGAppsHook3 makeWrapper ]; buildInputs = libraries; unpackPhase = '' ${dpkg}/bin/dpkg-deb --fsys-tarfile $src | tar --extract ''; installPhase = '' runHook preInstall mkdir -p $out/bin cp -r usr/share $out/share makeWrapper $out/share/keeweb-desktop/keeweb $out/bin/keeweb  --argv0 "keeweb"  --add-flags "$out/share/keeweb-desktop/resources/app.asar"  --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath libraries}" runHook postInstall ''; } </del>
<ins> { lib, libGL, stdenv, fetchurl, undmg, dpkg, autoPatchelfHook, wrapGAppsHook3, alsa-lib, at-spi2-atk, gdk-pixbuf, nss, udev, gnome-keyring, mesa, gtk3, libusb1, libsecret, libappindicator, xdotool, libX11, libXcomposite, libXext, libXrandr, libXScrnSaver, libXtst, libxshmfence, }: let pname = "keeweb"; version = "1.18.7"; srcs = { x86_64-linux = fetchurl { url = "https://github.com/keeweb/keeweb/releases/download/v${version}/KeeWeb-${version}.linux.x64.deb"; hash = "sha256-/U+vn5TLIU9/J6cRFjuAdyGzlwC04mp4L2X2ETp+ZSE="; }; x86_64-darwin = fetchurl { url = "https://github.com/keeweb/keeweb/releases/download/v${version}/KeeWeb-${version}.mac.x64.dmg"; hash = "sha256-+ZFGrrw0tZ7F6lb/3iBIyGD+tp1puVhkPv10hfp6ATU="; }; aarch64-darwin = fetchurl { url = "https://github.com/keeweb/keeweb/releases/download/v${version}/KeeWeb-${version}.mac.arm64.dmg"; hash = "sha256-bkhwsWYLkec16vMOfXUce7jfrmI9W2xHiZvU1asebK4="; }; }; src = srcs.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); libraries = [ alsa-lib at-spi2-atk gdk-pixbuf libGL nss udev libX11 libXcomposite libXext libXrandr libXScrnSaver libXtst libxshmfence gnome-keyring mesa gtk3 libusb1 libsecret libappindicator xdotool ]; meta = { description = "Free cross-platform password manager compatible with KeePass"; mainProgram = "keeweb"; homepage = "https://keeweb.info/"; changelog = "https://github.com/keeweb/keeweb/blob/v${version}/release-notes.md"; sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sikmir ]; platforms = builtins.attrNames srcs; }; in if stdenv.isDarwin then stdenv.mkDerivation { inherit pname version src meta ; nativeBuildInputs = [ undmg ]; sourceRoot = "."; installPhase = '' mkdir -p $out/Applications cp -r *.app $out/Applications ''; } else stdenv.mkDerivation { inherit pname version src meta ; nativeBuildInputs = [ autoPatchelfHook wrapGAppsHook3 ]; buildInputs = libraries; unpackPhase = '' ${dpkg}/bin/dpkg-deb --fsys-tarfile $src | tar --extract ''; installPhase = '' runHook preInstall mkdir -p $out/bin cp -r usr/share $out/share runHook postInstall ''; postFixup = '' makeWrapper $out/share/keeweb-desktop/keeweb $out/bin/keeweb  --argv0 "keeweb"  --add-flags "$out/share/keeweb-desktop/resources/app.asar"  --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath libraries}"  ''${gappsWrapperArgs[@]} ''; } </ins>
keepass-diff = callPackage ../applications/misc/keepass-diff { }; <del> keeweb = callPackage ../applications/misc/keeweb { }; </del> evolution-data-server-gtk4 = evolution-data-server.override { withGtk3 = false; withGtk4 = true; }; evolution-ews = callPackage ../applications/networking/mailreaders/evolution/evolution-ews { }; evolution = callPackage ../applications/networking/mailreaders/evolution/evolution { };
++ optionals (cfg.socket != null) [ "--interface" cfg.socket ] ++ optionals (cfg.interface != null) [ "--interface" cfg.interface ] ++ [ "--signal" (toString cfg.signal) ] <del> ++ (concatLists (mapAttrsToList (_k: _v: [ "--client-option" "${_k}=${_v}" ]) cfg.clientOptions)) </del> <ins> ++ (lib.concatLists (lib.mapAttrsToList (_k: _v: [ "--client-option" "${_k}=${_v}" ]) cfg.clientOptions)) </ins> ++ [ "--terminal-type" cfg.terminalType ] ++ optionals cfg.checkOrigin [ "--check-origin" ] ++ optionals cfg.writeable [ "--writable" ] # the typo is correct ++ [ "--max-clients" (toString cfg.maxClients) ] ++ optionals (cfg.indexFile != null) [ "--index" cfg.indexFile ] ++ optionals cfg.enableIPv6 [ "--ipv6" ] <del> ++ optionals cfg.enableSSL [ "--ssl-cert" cfg.certFile "--ssl-key" cfg.keyFile "--ssl-ca" cfg.caFile ] </del> <ins> ++ optionals cfg.enableSSL [ "--ssl" "--ssl-cert" cfg.certFile "--ssl-key" cfg.keyFile ] ++ optionals ( cfg.enableSSL && cfg.caFile != null ) [ "--ssl-ca" cfg.caFile ] </ins> ++ [ "--debug" (toString cfg.logLevel) ]; in
assertions = [ { assertion = cfg.enableSSL <del> -> cfg.certFile != null && cfg.keyFile != null && cfg.caFile != null; message = "SSL is enabled for ttyd, but no certFile, keyFile or caFile has been specified."; } </del> <ins> -> cfg.certFile != null && cfg.keyFile != null; message = "SSL is enabled for ttyd, but no certFile or keyFile has been specified."; } </ins> { assertion = cfg.writeable != null; message = "services.ttyd.writeable must be set"; } { assertion = ! (cfg.interface != null && cfg.socket != null);
builtins.mapAttrs (pname: attrs: callPackage ./generic.nix (attrs // { inherit pname; })) { zettlr = { <del> version = "3.0.2"; hash = "sha256-xwBq+kLmTth15uLiYWJOhi/YSPZVJNO6JTrKFojSDXA="; </del> <ins> version = "3.2.0"; hash = "sha256-gttDGWFJ/VmOyqgOSKnCqqPtNTKJd1fmDpa0ZAX3xc8="; </ins> }; }
appimageTools.wrapType2 rec { inherit pname version src; <del> extraPkgs = pkgs: [ pkgs.texliveMedium pkgs.pandoc ]; </del> <ins> extraPkgs = pkgs: [ pkgs.texliveMedium pkgs.pandoc ]; </ins> extraInstallCommands = '' <ins> source "${makeWrapper}/nix-support/setup-hook" wrapProgram $out/bin/zettlr  --add-flags "''${NIXOS_OZONE_WL:+''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" </ins> install -m 444 -D ${appimageContents}/Zettlr.desktop $out/share/applications/Zettlr.desktop install -m 444 -D ${appimageContents}/Zettlr.png $out/share/icons/hicolor/512x512/apps/Zettlr.png substituteInPlace $out/share/applications/Zettlr.desktop  <del> --replace 'Exec=AppRun' 'Exec=${pname}' </del> <ins> --replace-fail 'Exec=AppRun' 'Exec=${pname}' </ins> ''; <del> meta = with lib; { </del> <ins> meta = { </ins> description = "Markdown editor for writing academic texts and taking notes"; homepage = "https://www.zettlr.com"; platforms = [ "x86_64-linux" ]; <del> license = licenses.gpl3; maintainers = with maintainers; [ tfmoraes ]; </del> <ins> license = lib.licenses.gpl3; maintainers = with lib.maintainers; [ tfmoraes ]; </ins> mainProgram = "zettlr"; }; }
<ins> { lib, stdenv, fetchFromGitHub, makeWrapper, makeDesktopItem, copyDesktopItems, SDL2, bzip2, cmake, fluidsynth, game-music-emu, gtk3, imagemagick, libGL, libjpeg, libsndfile, libvpx, libwebp, mpg123, ninja, openal, pkg-config, vulkan-loader, zlib, zmusic, }: stdenv.mkDerivation rec { pname = "gzdoom"; version = "4.12.2"; src = fetchFromGitHub { owner = "ZDoom"; repo = "gzdoom"; rev = "g${version}"; fetchSubmodules = true; hash = "sha256-taie1Iod3pXvuxxBC7AArmtndkIV0Di9mtJoPvPkioo="; }; outputs = [ "out" "doc" ]; nativeBuildInputs = [ cmake copyDesktopItems imagemagick makeWrapper ninja pkg-config ]; buildInputs = [ SDL2 bzip2 fluidsynth game-music-emu gtk3 libGL libjpeg libsndfile libvpx libwebp mpg123 openal vulkan-loader zlib zmusic ]; postPatch = '' substituteInPlace tools/updaterevision/UpdateRevision.cmake  --replace-fail "ret_var(Tag)" "ret_var("${src.rev}")"  --replace-fail "ret_var(Timestamp)" "ret_var("1970-00-00 00:00:00 +0000")"  --replace-fail "ret_var(Hash)" "ret_var("${src.rev}")"  --replace-fail "<unknown version>" "${src.rev}" ''; cmakeFlags = [ "-DDYN_GTK=OFF" "-DDYN_OPENAL=OFF" ]; desktopItems = [ (makeDesktopItem { name = "gzdoom"; exec = "gzdoom"; desktopName = "GZDoom"; comment = meta.description; icon = "gzdoom"; categories = [ "Game" ]; }) ]; postInstall = '' mv $out/bin/gzdoom $out/share/games/doom/gzdoom makeWrapper $out/share/games/doom/gzdoom $out/bin/gzdoom  --set LD_LIBRARY_PATH ${lib.makeLibraryPath [ vulkan-loader ]} for size in 16 24 32 48 64 128; do mkdir -p $out/share/icons/hicolor/"$size"x"$size"/apps magick $src/src/win32/icon1.ico -background none -resize "$size"x"$size" -flatten  $out/share/icons/hicolor/"$size"x"$size"/apps/gzdoom.png done; ''; meta = { homepage = "https://github.com/ZDoom/gzdoom"; description = "Modder-friendly OpenGL and Vulkan source port based on the DOOM engine"; mainProgram = "gzdoom"; longDescription = '' GZDoom is a feature centric port for all DOOM engine games, based on ZDoom, adding an OpenGL renderer and powerful scripting capabilities. ''; license = lib.licenses.gpl3Plus; platforms = lib.platforms.linux; maintainers = with lib.maintainers; [ azahi lassulus Gliczy ]; }; } </ins>
<del> { lib , stdenv , fetchFromGitHub , makeWrapper , makeDesktopItem , copyDesktopItems , SDL2 , bzip2 , cmake , fluidsynth , game-music-emu , gtk3 , imagemagick , libGL , libjpeg , libsndfile , libvpx , libwebp , mpg123 , ninja , openal , pkg-config , vulkan-loader , zlib , zmusic }: stdenv.mkDerivation rec { pname = "gzdoom"; version = "4.12.2"; src = fetchFromGitHub { owner = "ZDoom"; repo = "gzdoom"; rev = "g${version}"; fetchSubmodules = true; hash = "sha256-taie1Iod3pXvuxxBC7AArmtndkIV0Di9mtJoPvPkioo="; }; outputs = [ "out" "doc" ]; nativeBuildInputs = [ cmake copyDesktopItems imagemagick makeWrapper ninja pkg-config ]; buildInputs = [ SDL2 bzip2 fluidsynth game-music-emu gtk3 libGL libjpeg libsndfile libvpx libwebp mpg123 openal vulkan-loader zlib zmusic ]; postPatch = '' substituteInPlace tools/updaterevision/UpdateRevision.cmake  --replace "ret_var(Tag)" "ret_var("${src.rev}")"  --replace "ret_var(Timestamp)" "ret_var("1970-00-00 00:00:00 +0000")"  --replace "ret_var(Hash)" "ret_var("${src.rev}")" ''; cmakeFlags = [ "-DDYN_GTK=OFF" "-DDYN_OPENAL=OFF" ]; desktopItems = [ (makeDesktopItem { name = "gzdoom"; exec = "gzdoom"; desktopName = "GZDoom"; comment = meta.description; icon = "gzdoom"; categories = [ "Game" ]; }) ]; postInstall = '' mv $out/bin/gzdoom $out/share/games/doom/gzdoom makeWrapper $out/share/games/doom/gzdoom $out/bin/gzdoom for size in 16 24 32 48 64 128; do mkdir -p $out/share/icons/hicolor/"$size"x"$size"/apps convert -background none -resize "$size"x"$size" $src/src/win32/icon1.ico -flatten  $out/share/icons/hicolor/"$size"x"$size"/apps/gzdoom.png done; ''; meta = with lib; { homepage = "https://github.com/ZDoom/gzdoom"; description = "Modder-friendly OpenGL and Vulkan source port based on the DOOM engine"; mainProgram = "gzdoom"; longDescription = '' GZDoom is a feature centric port for all DOOM engine games, based on ZDoom, adding an OpenGL renderer and powerful scripting capabilities. ''; license = licenses.gpl3Plus; platforms = platforms.linux; maintainers = with maintainers; [ azahi lassulus ]; }; } </del>
let inherit (neovimUtils) grammarToPlugin; <del> generatedGrammars = callPackage ./generated.nix { </del> <ins> initialGeneratedGrammars = callPackage ./generated.nix { </ins> inherit (tree-sitter) buildGrammar; }; <ins> grammarOverrides = final: prev: { nix = prev.nix.overrideAttrs { # workaround for https://github.com/NixOS/nixpkgs/issues/332580 prePatch = "rm queries/highlights.scm"; }; }; generatedGrammars = lib.fix (lib.extends grammarOverrides (_: initialGeneratedGrammars)); </ins> generatedDerivations = lib.filterAttrs (_: lib.isDerivation) generatedGrammars;
# pkgs.vimPlugins.nvim-treesitter.withAllGrammars withPlugins = f: self.nvim-treesitter.overrideAttrs { <del> passthru.dependencies = let grammars = map grammarToPlugin (f (tree-sitter.builtGrammars // builtGrammars)); copyGrammar = grammar: let name = lib.last (lib.splitString "-" grammar.name); in "ln -sf ${grammar}/parser/${name}.so $out/parser/${name}.so"; in [ (runCommand "vimplugin-treesitter-grammars" { meta.platforms = lib.platforms.all; } '' mkdir -p $out/parser ${lib.concatMapStringsSep "n" copyGrammar grammars} '') ]; </del> <ins> passthru.dependencies = map grammarToPlugin (f (tree-sitter.builtGrammars // builtGrammars)); </ins> }; withAllGrammars = withPlugins (_: allGrammars);
certifi, cffi, charset-normalizer, <ins> cryptography, </ins> cython, <del> fetchPypi, </del> <ins> fetchFromGitHub, </ins> filelock, idna, keyring, <del> oscrypto, </del> packaging, pandas, platformdirs, pyarrow, <del> pycryptodomex, </del> pyjwt, pyopenssl, <ins> pytest-xdist, pytestCheckHook, </ins> pythonOlder, pytz, requests,
disabled = pythonOlder "3.8"; <del> src = fetchPypi { pname = "snowflake_connector_python"; inherit version; hash = "sha256-/ZvCqxv1OE0si2W8ALsEdVV9UvBHenESkzSqtT+Wef0="; </del> <ins> src = fetchFromGitHub { owner = "snowflakedb"; repo = "snowflake-connector-python"; rev = "refs/tags/v${version}"; hash = "sha256-A6QnKCROd1vJpFCTrLEoHVo43xojdjpgYS3qQm64gcY="; </ins> }; build-system = [ cython setuptools <del> wheel </del> ]; dependencies = [ asn1crypto certifi cffi charset-normalizer <ins> cryptography </ins> filelock idna <del> oscrypto </del> packaging platformdirs <del> pycryptodomex </del> pyjwt pyopenssl pytz
secure-local-storage = [ keyring ]; }; <del> # Tests require encrypted secrets, see # https://github.com/snowflakedb/snowflake-connector-python/tree/master/.github/workflows/parameters doCheck = false; </del> <ins> preCheck = '' export HOME=$(mktemp -d) ''; nativeCheckInputs = [ pytest-xdist pytestCheckHook ]; disabledTestPaths = [ # Tests require encrypted secrets, see # https://github.com/snowflakedb/snowflake-connector-python/tree/master/.github/workflows/parameters "test/extras/simple_select1.py" "test/integ" # error getting schema from stream, error code: 0, error info: Expected to # be able to read 19504 bytes for message body but got 19503 "test/unit/test_connection.py" "test/unit/test_cursor.py" "test/unit/test_error_arrow_stream.py" "test/unit/test_ocsp.py" "test/unit/test_retry_network.py" "test/unit/test_s3_util.py" ]; disabledTests = [ # Tests connect to the internet "test_status_when_num_of_chunks_is_zero" "test_test_socket_get_cert" ]; </ins> pythonImportsCheck = [ "snowflake"
owner = "paul-gauthier"; repo = "aider"; rev = "refs/tags/v${version}"; <del> hash = "sha256-e0Fqj67vYt41Zbr1FN2fuLp6cHRius8RtacBHLgB9dM="; </del> <ins> hash = "sha256-ErDepSju8B4GochHKxL03aUfOLAiNfTaXBAllAZ144M="; </ins> }; pythonRelaxDeps = true;
, wrapQtAppsHook , gst_all_1 , testers <del> , crow-translate </del> }: <del> stdenv.mkDerivation rec { </del> <ins> stdenv.mkDerivation (finalAttrs: { </ins> pname = "crow-translate"; <del> version = "2.11.1"; </del> <ins> version = "3.0.0"; </ins> <del> src = fetchzip { url = "https://github.com/${pname}/${pname}/releases/download/${version}/${pname}-${version}-source.tar.gz"; hash = "sha256-1rq1pF4tOaZNEaHflxlBuHta80EzD9m3O99geR1EPxE="; </del> <ins> src = fetchFromGitLab { domain = "invent.kde.org"; owner = "office"; repo = "crow-translate"; rev = "v${finalAttrs.version}"; hash = "sha256-hdrhxbv44DlxoF1JU1d2auP/vR8a3IJI+hN7PhdPMaY="; fetchSubmodules = true; </ins> }; postPatch = '' <del> substituteInPlace data/io.crow_translate.CrowTranslate.desktop  --replace "Exec=qdbus" "Exec=${lib.getBin qttools}/bin/qdbus" </del> <ins> substituteInPlace data/org.kde.CrowTranslate.desktop.in  --subst-var-by QT_BIN_DIR ${lib.getBin qttools}/bin </ins> ''; nativeBuildInputs = [
''; passthru.tests.version = testers.testVersion { <del> package = crow-translate; </del> <ins> package = finalAttrs.finalPackage; </ins> }; <del> meta = with lib; { </del> <ins> meta = { </ins> description = "Simple and lightweight translator that allows to translate and speak text using Google, Yandex and Bing"; <del> homepage = "https://crow-translate.github.io/"; license = licenses.gpl3Plus; maintainers = with maintainers; [ sikmir ]; platforms = platforms.linux; </del> <ins> homepage = "https://invent.kde.org/office/crow-translate"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ sikmir ]; platforms = lib.platforms.linux; </ins> mainProgram = "crow"; }; <del> } </del> <ins> }) </ins>
in rustPlatform.buildRustPackage rec { pname = "rio"; <del> version = "0.1.13"; </del> <ins> version = "0.1.15"; </ins> src = fetchFromGitHub { owner = "raphamorim"; repo = "rio"; <del> rev = "refs/tags/v${version}"; hash = "sha256-JrmjQjKpL9di66z4IYTcWhNBL0CgalqOhQgVDpkh6b0="; </del> <ins> rev = "v${version}"; hash = "sha256-aLqWhRaNqi7gMDxBITLU/Tj//h7RURycLSZXOOq83As="; </ins> }; <del> cargoHash = "sha256-KWdkpQY1F0RU3JViFrXEp+JW6xdaofEmp2SlAkzPMPU="; </del> <ins> cargoHash = "sha256-4nqJbz2vauO4jRuUSDjBV1pVrAJMhIP4+eUwS1+GecU="; </ins> nativeBuildInputs = [ ncurses
}: let <del> version = "2.11.6"; </del> <ins> version = "2.12.1"; </ins> src = fetchFromGitHub { owner = "paperless-ngx"; repo = "paperless-ngx"; rev = "refs/tags/v${version}"; <del> hash = "sha256-RNX+KS2h9zrOK8QzeQWH55pkNPTDW4gic2HLG+XXLRg="; </del> <ins> hash = "sha256-txqwVGLUel74ObCqwMWSqa4Nd2eDRf0SqAIes5tlMDg="; </ins> }; # subpath installation is broken with uvicorn >= 0.26
cd src-ui ''; <del> npmDepsHash = "sha256-ML1Yp3JIMbRF6kVu190ReoY7oDUtUfNkHE7dHF6YUAE="; </del> <ins> npmDepsHash = "sha256-hb2z2cPMTN5bHtUldTR5Mvgo4nZL8/S+Uhfis37gF44="; </ins> nativeBuildInputs = [ pkg-config
in python.pkgs.buildPythonApplication rec { pname = "paperless-ngx"; <del> format = "other"; </del> <ins> pyproject = false; </ins> inherit version src; <ins> postPatch = '' # pytest-xdist makes the tests flaky substituteInPlace src/setup.cfg  --replace-fail "--numprocesses auto --maxprocesses=16" "" ''; </ins> nativeBuildInputs = [ gettext xorg.lndir ]; <del> propagatedBuildInputs = with python.pkgs; [ </del> <ins> dependencies = with python.pkgs; [ </ins> bleach channels channels-redis
makeWrapper $out/lib/paperless-ngx/src/manage.py $out/bin/paperless-ngx  --prefix PYTHONPATH : "${pythonPath}"  --prefix PATH : "${path}" <del> makeWrapper ${python.pkgs.celery}/bin/celery $out/bin/celery  </del> <ins> makeWrapper ${lib.getExe python.pkgs.celery} $out/bin/celery  </ins> --prefix PYTHONPATH : "${pythonPath}:$out/lib/paperless-ngx/src"  --prefix PATH : "${path}"
hash = "sha256-OOP1l7J2BgO3nOPSipxfwfN/lOUsl80UzYMBosyBHrM="; }; <ins> extraInstallCommands = let contents = appimageTools.extractType2 { inherit pname version src; }; in '' mkdir -p $out/share cp -r ${contents}/usr/share/* $out/share chmod +w $out/share install -Dm644 ${contents}/httpie.desktop $out/share/applications/httpie.desktop substituteInPlace $out/share/applications/httpie.desktop  --replace-fail 'Exec=AppRun' 'Exec=httpie-desktop' ''; </ins> meta = with lib; { description = "Cross-platform API testing client for humans. Painlessly test REST, GraphQL, and HTTP APIs"; homepage = "https://github.com/httpie/desktop";
sha256 = "acc10e10909f0f956ba1b42b6c450ea0bdaaa27b3942899f65931396cfcdd36a"; }; <ins> patches = [ (fetchpatch { url = https://github.com/vstinner/faulthandler/commit/67b661e.patch; sha256 = "1nn8c9nq5qypja949hzz0n4yprsyr63wihf5g3gwrinm2nkjnnv7"; }) (fetchpatch { url = https://github.com/vstinner/faulthandler/commit/07cbb7b.patch; sha256 = "0fh6rjyjw7z1hsiy3sgdc8j9mncg1vlv3y0h4bplqyw18vq3srb3"; }) ]; </ins> meta = { description = "Dump the Python traceback"; license = stdenv.lib.licenses.bsd2;