jiebi/CodeConvo huggingface dataset:
<del> To confirm these dependencies, run in a fresh build tree: ninja muse/components/CMakeFiles/components.dir/confmport.o In file included from ../muse/components/confmport.cpp:48: ../muse/mplugins/midifilterimpl.h:28:10: fatal error: ui_midifilter.h: No such file or directory ninja muse/waveedit/CMakeFiles/waveedit.dir/wavecanvas.o In file included from ../muse/waveedit/wavecanvas.cpp:72: ../muse/components/copy_on_write.h:26:10: fatal error: ui_copy_on_write_base.h: No such file or directory ninja muse/instruments/CMakeFiles/instruments.dir/editinstrument.o In file included from ../muse/instruments/editinstrument.cpp:58: ../muse/components/editevent.h:26:10: fatal error: ui_editnotedialogbase.h: No such file or directory ninja muse/liste/CMakeFiles/liste.dir/listedit.o In file included from ../muse/liste/listedit.cpp:37: ../muse/components/editevent.h:26:10: fatal error: ui_editnotedialogbase.h: No such file or directory ninja muse/mixer/CMakeFiles/mixer.dir/rack.o In file included from ../muse/mixer/rack.cpp:49: ../muse/components/plugindialog.h:4:10: fatal error: ui_plugindialogbase.h: No such file or directory ninja muse/midiedit/CMakeFiles/midiedit.dir/drumedit.o In file included from /build/source/muse3/muse/midiedit/drumedit.cpp:64: /build/source/muse3/muse/components/filedialog.h:29:10: fatal error: ui_fdialogbuttons.h: No such file or directory --- a/muse/components/CMakeLists.txt +++ b/muse/components/CMakeLists.txt @@ -343,4 +343,5 @@ set_target_properties( components target_link_libraries ( components ${QT_LIBRARIES} +      mplugins widgets xml_module --- a/muse/waveedit/CMakeLists.txt +++ b/muse/waveedit/CMakeLists.txt @@ -79,4 +79,5 @@ set_target_properties( waveedit target_link_libraries( waveedit ${QT_LIBRARIES} +      components widgets ) --- a/muse/instruments/CMakeLists.txt +++ b/muse/instruments/CMakeLists.txt @@ -78,4 +78,5 @@ set_target_properties( instruments target_link_libraries ( instruments ${QT_LIBRARIES} +      components icons widgets --- a/muse/liste/CMakeLists.txt +++ b/muse/liste/CMakeLists.txt @@ -65,4 +65,5 @@ set_target_properties( liste target_link_libraries ( liste ${QT_LIBRARIES} +      components awl widgets --- a/muse/mixer/CMakeLists.txt +++ b/muse/mixer/CMakeLists.txt @@ -87,4 +87,5 @@ set_target_properties ( mixer target_link_libraries ( mixer ${QT_LIBRARIES} +      components widgets ) --- a/muse/midiedit/CMakeLists.txt +++ b/muse/midiedit/CMakeLists.txt @@ -93,4 +93,5 @@ set_target_properties( midiedit target_link_libraries ( midiedit ${QT_LIBRARIES} +      components al ctrl </del>
Group = cfg.group; StateDirectory = ""; ReadWritePaths = optionals (!cfg.autoMount) [ "" cfg.dataDir ]; <ins> # Make sure the socket units are started before ipfs.service Sockets = [ "ipfs-gateway.socket" "ipfs-api.socket" ]; </ins> } // optionalAttrs (cfg.serviceFdlimit != null) { LimitNOFILE = cfg.serviceFdlimit; }; } // optionalAttrs (!cfg.startWhenNeeded) { wantedBy = [ "default.target" ];
preFixup = '' for entry in $(find $out -name libipopt.so); do <del> patchelf --shrink-rpath --allowed-rpath-prefixes /nix/store $entry patchelf --set-rpath '$ORIGIN':"$(patchelf --print-rpath $entry)" $entry </del> <ins> patchelf --shrink-rpath --allowed-rpath-prefixes "$NIX_STORE" "$entry" patchelf --set-rpath '$ORIGIN':"$(patchelf --print-rpath $entry)" "$entry" </ins> done '';
'' + lib.optionalString buildSamples '' mkdir -p $sample/bin mv clients/staging/hipfft_* $sample/bin <del> patchelf $sample/bin/hipfft_* --shrink-rpath --allowed-rpath-prefixes /nix/store </del> <ins> patchelf $sample/bin/hipfft_* --shrink-rpath --allowed-rpath-prefixes "$NIX_STORE" </ins> '' + lib.optionalString (buildTests || buildBenchmarks) '' rmdir $out/bin '';
'' + lib.optionalString buildSamples '' mkdir -p $sample/bin mv clients/staging/example-* $sample/bin <del> patchelf $sample/bin/example-* --shrink-rpath --allowed-rpath-prefixes /nix/store </del> <ins> patchelf $sample/bin/example-* --shrink-rpath --allowed-rpath-prefixes "$NIX_STORE" </ins> '' + lib.optionalString (buildTests || buildBenchmarks) '' rmdir $out/bin '';
'' + lib.optionalString buildTests '' mkdir -p $test/bin mv bin/test_* $test/bin <del> patchelf $test/bin/test_* --shrink-rpath --allowed-rpath-prefixes /nix/store </del> <ins> patchelf $test/bin/test_* --shrink-rpath --allowed-rpath-prefixes "$NIX_STORE" </ins> ''; passthru.updateScript = rocmUpdateScript {
doCheck = false; # fails 13 out of 13 tests (ctest) <del> # Hack to avoid TMPDIR in RPATHs. preFixup = '' rm -rf "$(pwd)" mkdir "$(pwd)" </del> <ins> # remove forbidden references to $TMPDIR preFixup = lib.optionalString stdenv.isLinux '' patchelf --shrink-rpath --allowed-rpath-prefixes "$NIX_STORE" "$out"/libexec/* </ins> ''; <ins> enableParallelBuilding = true; </ins> meta = { maintainers = with lib.maintainers; [ abbradar periklis ]; knownVulnerabilities = [
mkdir "$out/bin" cp build/vm/*.so* "$out/lib/" cp build/vm/pharo "$out/bin/pharo" <del> patchelf --allowed-rpath-prefixes /nix/store --shrink-rpath "$out/bin/pharo" </del> <ins> patchelf --allowed-rpath-prefixes "$NIX_STORE" --shrink-rpath "$out/bin/pharo" </ins> wrapProgram "$out/bin/pharo" --set LD_LIBRARY_PATH "${library_path}" runHook postInstall
postInstall = '' find $out/bin -executable -type f -exec  <del> patchelf {} --shrink-rpath --allowed-rpath-prefixes /nix/store ; </del> <ins> patchelf {} --shrink-rpath --allowed-rpath-prefixes "$NIX_STORE" ; </ins> '' + lib.optionalString buildTests '' mkdir -p $test mv $out/bin/rdctst_tests $test/bin
buildInputs = [ libelf freeglut libGLU libGL ] ++ lib.optional stdenv.isDarwin GLUT; <del> # Hack to avoid TMPDIR in RPATHs. preFixup = ''rm -rf "$(pwd)" && mkdir "$(pwd)" ''; </del> <ins> # remove forbidden references to $TMPDIR preFixup = lib.optionalString stdenv.isLinux '' patchelf --shrink-rpath --allowed-rpath-prefixes "$NIX_STORE" "$out"/bin/* ''; </ins> doCheck = true; checkTarget = "-C tests run_tests";
# remove forbidden reference to $TMPDIR preFixup = '' <del> patchelf --shrink-rpath --allowed-rpath-prefixes "/nix/store" "$out/sbin/smbios-sys-info-lite" </del> <ins> patchelf --shrink-rpath --allowed-rpath-prefixes "$NIX_STORE" "$out/sbin/smbios-sys-info-lite" </ins> ''; meta = with lib; {
<del> name: "Direct Push Warning" on: push: branches: - master - release-** permissions: contents: read jobs: build: permissions: contents: write  # for peter-evans/commit-comment to comment on commit runs-on: ubuntu-latest if: github.repository_owner == 'NixOS' env: GITHUB_SHA: ${{ github.sha }} GITHUB_REPOSITORY: ${{ github.repository }} steps: - name: Check if commit is a merge commit id: ismerge run: | ISMERGE=$(curl -H 'Accept: application/vnd.github.groot-preview+json' -H "authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/${{ env.GITHUB_REPOSITORY }}/commits/${{ env.GITHUB_SHA }}/pulls | jq -r '.[] | select(.merge_commit_sha == "${{ env.GITHUB_SHA }}") | any') echo "ismerge=$ISMERGE" >> $GITHUB_OUTPUT # github events are eventually consistent, so wait until changes propagate to thier DB - run: sleep 60 if: steps.ismerge.outputs.ismerge != 'true' - name: Warn if the commit was a direct push if: steps.ismerge.outputs.ismerge != 'true' uses: peter-evans/commit-comment@v2 with: body: | @${{ github.actor }}, you pushed a commit directly to master/release branch instead of going through a Pull Request. That's highly discouraged beyond the few exceptions listed on https://github.com/NixOS/nixpkgs/issues/118661 </del>
<del> { config, stdenv, lib, fetchurl, fetchpatch , perl, pkg-config , libcap, libtool, libxml2, openssl, libuv, nghttp2, jemalloc , enablePython ? false, python3 , enableGSSAPI ? true, libkrb5 , buildPackages, nixosTests , cmocka, tzdata </del> <ins> { stdenv , lib , fetchurl , perl , pkg-config , libcap , libidn2 , libtool , libxml2 , openssl , libuv , nghttp2 , jemalloc , enablePython ? false , python3 , enableGSSAPI ? true , libkrb5 , buildPackages , nixosTests , cmocka , tzdata </ins> , gitUpdater }:
]; nativeBuildInputs = [ perl pkg-config ]; <del> buildInputs = [ libtool libxml2 openssl libuv nghttp2 jemalloc ] </del> <ins> buildInputs = [ libidn2 libtool libxml2 openssl libuv nghttp2 jemalloc ] </ins> ++ lib.optional stdenv.isLinux libcap ++ lib.optional enableGSSAPI libkrb5 ++ lib.optional enablePython (python3.withPackages (ps: with ps; [ ply ]));
configureFlags = [ "--localstatedir=/var" "--without-lmdb" <ins> "--with-libidn2" </ins> ] ++ lib.optional enableGSSAPI "--with-gssapi=${libkrb5.dev}/bin/krb5-config" <del> ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "BUILD_CC=$(CC_FOR_BUILD)"; </del> <ins> ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "BUILD_CC=$(CC_FOR_BUILD)"; </ins> postInstall = '' moveToOutput bin/bind9-config $dev
<ins> { lib , fetchFromGitHub , rustPlatform }: rustPlatform.buildRustPackage rec { pname = "yambar-hyprland-wses"; version = "0.1.0"; src = fetchFromGitHub { owner = "jonhoo"; repo = "yambar-hyprland-wses"; rev = "v${version}"; hash = "sha256-furHj1AAFgNiNHP9RBsVrIvrDckSKU8FXilzH9TQ99c="; }; cargoHash = "sha256-/ewEgrBxRw5Xii5PX1GLKzBrZjgnzYc/Hz+M1pJpncQ="; meta = { description = "Enable Yambar to show Hyprland workspaces"; homepage = "https://github.com/jonhoo/yambar-hyprland-wses"; license = with lib.licenses; [ asl20 mit ]; maintainers = with lib.maintainers; [ ludovicopiero ]; mainProgram = "yambar-hyprland-wses"; platforms = lib.platforms.linux; }; } </ins>
<ins> diff --git a/src/Makefile.am b/src/Makefile.am index 4b0c466..ce008fa 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -54,7 +54,7 @@ @chgrp games ${DOPEBIN} || chgrp wheel ${DOPEBIN} ||  ( echo "WARNING: Cannot change group of dopewars binary - the high";  echo "score file may be unreadable or unwriteable by some users" ) -	chmod 2755 ${DOPEBIN} +	chmod 755 ${DOPEBIN} install-data-local: ${mkinstalldirs} ${PIXDIR} </ins>
<ins> { lib , stdenv , fetchFromGitHub , autoreconfHook , makeWrapper , curl , ncurses , gtk3 , pkg-config , scoreDirectory ? "$HOME/.local/share" }: stdenv.mkDerivation (finalAttrs: { pname = "dopewars"; version = "1.6.2"; src = fetchFromGitHub { owner = "benmwebb"; repo = "dopewars"; rev = "v${finalAttrs.version}"; hash = "sha256-CpgqRYmrfOFxhC7yAS2OqRBi4r3Vesq3+7a0q5rc3vM="; }; nativeBuildInputs = [ autoreconfHook makeWrapper pkg-config ]; buildInputs = [ curl gtk3 ncurses ]; # remove the denied setting of setuid bit permission patches = [ ./0001-remove_setuid.patch ]; # run dopewars with -f so that it finds its scoreboard file in ~/.local/share postInstall = '' wrapProgram $out/bin/dopewars  --run 'mkdir -p ${scoreDirectory}'  --add-flags '-f ${scoreDirectory}/dopewars.sco' ''; meta = with lib; { description = "Game simulating the life of a drug dealer in New York"; homepage = "https://dopewars.sourceforge.io"; license = licenses.gpl2Plus; maintainers = with maintainers; [ geri1701 ]; mainProgram = "dopewars"; platforms = platforms.unix; }; }) </ins>
<ins> { lib , stdenv , fetchFromGitHub , cmake }: stdenv.mkDerivation (finalAttrs: { pname = "libgff"; version = "2.0.0"; src = fetchFromGitHub { owner = "COMBINE-lab"; repo = "libgff"; rev = "v${finalAttrs.version}"; hash = "sha256-ZCb3UyuB/+ykrYFQ9E5VytT65gAAULiOzIEu5IXISTc="; }; nativeBuildInputs = [ cmake ]; meta = { description = "A lightweight GTF/GFF parsers exposing a C++ interface"; homepage = "https://github.com/COMBINE-lab/libgff"; downloadPage = "https://github.com/COMBINE-lab/libgff/releases"; changelog = "https://github.com/COMBINE-lab/libgff/releases/tag/" + "v${finalAttrs.version}"; license = lib.licenses.boost; platforms = lib.platforms.all; maintainers = [ lib.maintainers.kupac ]; }; }) </ins>
<ins> diff --git a/Makefile.am b/Makefile.am index 31286d1..2631af1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -61,6 +61,7 @@ man_MANS =  man/man4/Read.4 pkginclude_HEADERS =  +        io_lib_config.h  io_lib/Read.h  io_lib/scf_extras.h  io_lib/translate.h  </ins>
<ins> { lib , stdenv , autoreconfHook , fetchFromGitHub , bzip2 , xz , zlib }: stdenv.mkDerivation (finalAttrs: { # Same name as the Debian library pname = "libstaden-read"; version = "1.15.0"; src = fetchFromGitHub { owner = "jkbonfield"; repo = "io_lib"; rev = "io_lib-" + builtins.replaceStrings ["."] ["-"] finalAttrs.version; fetchSubmodules = true; hash = "sha256-2Dlx+MXmqar81/Xmf0oE+6lWX461EDYijiZsZf/VD28="; }; patches = [ # Needed so that the lib can be detected ./libstaden-install-config-header.patch ]; buildInputs = [ bzip2 xz zlib ]; nativeBuildInputs = [ autoreconfHook ]; # autoreconfHook does not descend into htscodecs folder preAutoreconf = '' pushd ./htscodecs autoreconf --install --force --verbose pushd ''; meta = { description = "C library for reading/writing various DNA sequence formats"; homepage = "https://staden.sourceforge.net"; downloadPage = "https://github.com/jkbonfield/io_lib/releases"; changelog = "https://github.com/jkbonfield/io_lib/blob/${finalAttrs.src.rev}/CHANGES"; license = with lib.licenses; [ bsd3 free ]; platforms = lib.platforms.all; maintainers = [ lib.maintainers.kupac ]; }; }) </ins>
<ins> diff --git a/scripts/fetchPufferfish.sh b/scripts/fetchPufferfish.sh index bf2574e0..42582806 100755 --- a/scripts/fetchPufferfish.sh +++ b/scripts/fetchPufferfish.sh @@ -11,10 +11,6 @@ CURR_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) EXTERNAL_DIR=${CURR_DIR}/../external INSTALL_DIR=${CURR_DIR}/../external/install -if [ -d ${EXTERNAL_DIR}/pufferfish ] ; then -    rm -fr ${EXTERNAL_DIR}/pufferfish -fi - if [ -d ${INSTALL_DIR}/include/pufferfish ] ; then rm -fr ${INSTALL_DIR}/include/pufferfish fi @@ -23,42 +19,10 @@ if [ -d ${INSTALL_DIR}/src/pufferfish ] ; then rm -fr ${INSTALL_DIR}/src/pufferfish fi -SVER=salmon-v1.10.2 -#SVER=develop -#SVER=sketch-mode - -EXPECTED_SHA256=f225b74833f71dcf767a565345224357fb091f90ce79717abc836814d9ccd101 - -mkdir -p ${EXTERNAL_DIR} -curl -k -L https://github.com/COMBINE-lab/pufferfish/archive/${SVER}.zip -o ${EXTERNAL_DIR}/pufferfish.zip - -hashcheck="" -if exists sha256sum; then -	hashcheck="sha256sum" -elif exists shasum; then -	hashcheck="shasum -a256" -else -	unset hashcheck -fi - - -if [ -z "${hashcheck-}" ]; then -    echo "Couldn't find shasum command; can't verify contents of downloaded pufferfish"; -else - -    if [[ $SVER != develop && $SVER != onetbb ]]; then -        echo "${EXPECTED_SHA256}  ${EXTERNAL_DIR}/pufferfish.zip" | ${hashcheck} -c - || { echo "pufferfish.zip did not match expected SHA1! Exiting."; exit 1; } -    else -        echo "not testing sha since pulling from develop" -    fi -fi - - -rm -fr ${EXTERNAL_DIR}/pufferfish -unzip ${EXTERNAL_DIR}/pufferfish.zip -d ${EXTERNAL_DIR} -mv ${EXTERNAL_DIR}/pufferfish-${SVER} ${EXTERNAL_DIR}/pufferfish mkdir -p ${INSTALL_DIR}/include/pufferfish +# This is needed later when pufferfish is compiled for Salmon +cp -r ${pufferFishSrc} ${EXTERNAL_DIR}/pufferfish cp ${EXTERNAL_DIR}/pufferfish/include/ProgOpts.hpp ${INSTALL_DIR}/include/pufferfish cp ${EXTERNAL_DIR}/pufferfish/include/BooPHF.hpp ${INSTALL_DIR}/include/pufferfish </ins>
<ins> { lib , stdenv , autoreconfHook , bash , boost , bzip2 , cereal_1_3_2 , cmake , curl , fetchFromGitHub , jemalloc , libgff , libiconv , libstaden-read , pkg-config , tbb_2021_8 , xz , zlib }: stdenv.mkDerivation (finalAttrs: { pname = "salmon"; version = "1.10.2"; pufferFishSrc = fetchFromGitHub { owner = "COMBINE-lab"; repo = "pufferfish"; rev = "salmon-v${finalAttrs.version}"; hash = "sha256-JKbUFBEsqnENl4vFqve1FCd4TI3n9bRi2RNHC8QGQGc="; }; src = fetchFromGitHub { owner = "COMBINE-lab"; repo = "salmon"; rev = "v${finalAttrs.version}"; hash = "sha256-kwqoUmVCqjr/xRxJjQKaFjjCQW+MFASHJ2f9OiAumNU="; }; patches = [ # Use pufferfish source fetched by nix ./fetch-pufferfish.patch ]; postPatch = "patchShebangs ."; buildInputs = [ (boost.override { enableShared = false; enabledStatic = true; }) bzip2 cereal_1_3_2 curl jemalloc libgff libstaden-read tbb_2021_8 xz zlib ] ++ lib.optionals stdenv.isDarwin [ libiconv ]; nativeBuildInputs = [ cmake pkg-config ]; strictDeps = true; meta = { description = "Tool for quantifying the expression of transcripts using RNA-seq data"; longDescription = '' Salmon is a tool for quantifying the expression of transcripts using RNA-seq data. Salmon uses new algorithms (specifically, coupling the concept of quasi-mapping with a two-phase inference procedure) to provide accurate expression estimates very quickly and while using little memory. Salmon performs its inference using an expressive and realistic model of RNA-seq data that takes into account experimental attributes and biases commonly observed in real RNA-seq data. ''; homepage = "https://combine-lab.github.io/salmon"; downloadPage = "https://github.com/COMBINE-lab/salmon/releases"; changelog = "https://github.com/COMBINE-lab/salmon/releases/tag/" + "v${finalAttrs.version}"; license = lib.licenses.gpl3Only; platforms = lib.platforms.all; maintainers = [ lib.maintainers.kupac ]; }; }) </ins>
<ins> diff --git a/cps/tornado_wsgi.py b/cps/tornado_wsgi.py index af93219c..cf302042 100644 --- a/cps/tornado_wsgi.py +++ b/cps/tornado_wsgi.py @@ -53,7 +53,7 @@ class MyWSGIContainer(WSGIContainer): return response.append app_response = self.wsgi_application( -            MyWSGIContainer.environ(request), start_response +            self.environ(request), start_response ) try: response.extend(app_response) @@ -86,9 +86,8 @@ class MyWSGIContainer(WSGIContainer): request.connection.finish() self._log(status_code, request) -    @staticmethod -    def environ(request: httputil.HTTPServerRequest) -> Dict[Text, Any]: -        environ = WSGIContainer.environ(request) +    def environ(self, request: httputil.HTTPServerRequest) -> Dict[Text, Any]: +        environ = super().environ(request) environ['RAW_URI'] = request.path return environ </ins>
pants13-pre = buildPythonPackage rec { pname   = "pantsbuild.pants"; <del> version = "1.3.0.dev13"; </del> <ins> version = "1.3.0.dev19"; </ins> name    = "${pname}-${version}"; src = self.fetchPypi { inherit pname version; <del> sha256 = "0gnz0f74s53xccfdn78v2dg1m3gx2mm0pdmmjvs5ikfbb9lidhz4"; </del> <ins> sha256 = "07gxx8kzkcx3pm2qd5sz2xb3nw9khvbapiqdzgjvzbvai2gsd5qq"; </ins> }; prePatch = ''
, xorg }: <del> let version = "10.114.26-2"; desktopItem = makeDesktopItem rec { name = "Wavebox"; exec = "wavebox"; icon = "wavebox"; desktopName = name; genericName = name; categories = [ "Network" "WebBrowser" ]; }; tarball = "Wavebox_${version}.tar.gz"; in stdenv.mkDerivation { </del> <ins> stdenv.mkDerivation rec { </ins> pname = "wavebox"; <del> inherit version; </del> <ins> version = "10.118.5-2"; </ins> src = fetchurl { <del> url = "https://download.wavebox.app/stable/linux/tar/${tarball}"; sha256 = "1yk664zgahjg6n98n3kc9avcay0nqwcyq8wq231p7kvd79zazk0r"; </del> <ins> url = "https://download.wavebox.app/stable/linux/tar/Wavebox_${version}.tar.gz"; sha256 = "sha256-TxMl8pdycCMY6NFi5MSLZg0p/+KmuAPQOm370bPMm/0="; </ins> }; # don't remove runtime deps dontPatchELF = true; <ins> # ignore optional Qt 6 shim autoPatchelfIgnoreMissingDeps = [ "libQt6Widgets.so.6" "libQt6Gui.so.6" "libQt6Core.so.6" ]; </ins> <del> nativeBuildInputs = [ autoPatchelfHook makeWrapper qt5.wrapQtAppsHook ]; </del> <ins> nativeBuildInputs = [ autoPatchelfHook makeWrapper qt5.wrapQtAppsHook copyDesktopItems ]; </ins> buildInputs = with xorg; [ libXdmcp
runtimeDependencies = [ (lib.getLib udev) libnotify gtk4 ]; <ins> desktopItems = [ (makeDesktopItem rec { name = "Wavebox"; exec = "wavebox"; icon = "wavebox"; desktopName = name; genericName = name; categories = [ "Network" "WebBrowser" ]; }) ]; </ins> installPhase = '' <ins> runHook preInstall </ins> mkdir -p $out/bin $out/opt/wavebox cp -r * $out/opt/wavebox <del> # provide desktop item and icon mkdir -p $out/share/applications $out/share/icons/hicolor/128x128/apps ln -s ${desktopItem}/share/applications/* $out/share/applications </del> <ins> # provide icon for desktop item mkdir -p $out/share/icons/hicolor/128x128/apps </ins> ln -s $out/opt/wavebox/product_logo_128.png $out/share/icons/hicolor/128x128/apps/wavebox.png <ins> runHook postInstall </ins> ''; postFixup = ''
<ins> #!/usr/bin/env nix-shell #!nix-shell -i bash -p nix-update curl jq version=$(curl "https://download.wavebox.app/stable/linux/latest.json" | jq --raw-output '.["urls"]["tar"] | match("https://download.wavebox.app/stable/linux/tar/Wavebox_(.+).tar.gz").captures[0]["string"]') nix-update wavebox --version "$version" </ins>
<ins> { lib, buildNimPackage, fetchFromGitHub, }: buildNimPackage (final: prev: { pname = "nimlangserver"; version = "1.2.0"; # lock.json was generated by converting # nimble.lock into requires "<gitUrl>#revSha" in a dummy.nimble # for all packages and then running nim_lk on said dummy package # default nim_lk output fails because it attempts # to use branches that will not work instead of HEAD for packages lockFile = ./lock.json; src = fetchFromGitHub { owner = "nim-lang"; repo = "langserver"; rev = "71b59bfa77dabf6b8b381f6e18a1d963a1a658fc"; hash = "sha256-dznegEhRHvztrNhBcUhW83RYgJpduwdGLWj/tJ//K8c="; }; doCheck = false; meta = with lib; final.src.meta // { description = "The Nim language server implementation (based on nimsuggest)"; license = licenses.mit; mainProgram = "nimlangserver"; maintainers = with maintainers; [daylinmorgan]; }; }) </ins>
<ins> { lib, stdenv, zig, libyuv, fetchFromGitHub }: stdenv.mkDerivation (finalAttrs: { pname = "backlight-auto"; version = "0.0.1"; src = fetchFromGitHub { owner = "lf94"; repo = "backlight-auto"; rev = finalAttrs.version; hash = "sha256-QPymwlDrgKM/SXDzJdmfzWLSLU2D7egif1OIUE+SHoI="; }; nativeBuildInputs = [ zig.hook ]; buildInputs = [ libyuv ]; meta = with lib; { description = "Automatically set screen brightness with a webcam"; homepage = "https://len.falken.directory/backlight-auto.html"; license = licenses.mit; maintainers = [ maintainers.lf- ]; platforms = platforms.linux; }; }) </ins>
sha256 = "ff6d5376a2d9caba6f5bb78e68af77cefbdb2f04cd256f738e39f8ac9a79a4a8"; }; <del> buildInputs = [ ncurses curl taglib fftw mpd_clientlib pkgconfig ]; </del> <ins> buildInputs = [ ncurses curl taglib fftw mpd_clientlib pkgconfig ] ++ libiconvOrEmpty; </ins> <del> meta = { </del> <ins> meta = with stdenv.lib; { </ins> description = "Curses-based interface for MPD (music player daemon)"; <del> homepage = http://unkart.ovh.org/ncmpcpp/; license = "GPLv2+"; maintainers = [ stdenv.lib.maintainers.mornfall ]; platforms = stdenv.lib.platforms.all; </del> <ins> homepage    = http://unkart.ovh.org/ncmpcpp/; license     = licenses.gpl2Plus; maintainers = with maintainers; [ lovek323 mornfall ]; platforms   = platforms.all; </ins> }; }
cargoHash = "sha256-mRi0NUETTdYE/oM+Jo7gW/zNby8dPAKl6XhzP0Qzsf0="; doCheck = false; <del> nativeBuildInputs = [ pkg-config ]; </del> <ins> nativeBuildInputs = [ installShellFiles pkg-config ]; </ins> buildInputs = [ openssl libsodium xxHash ] ++ (lib.optionals gitImportSupport [ libgit2 ]) ++ (lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
buildFeatures = lib.optional gitImportSupport "git"; <ins> postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd pijul  --bash <($out/bin/pijul completion bash)  --fish <($out/bin/pijul completion fish)  --zsh <($out/bin/pijul completion zsh) ''; </ins> meta = with lib; { description = "A distributed version control system"; homepage = "https://pijul.org";
<ins> { lib , buildPythonPackage , fetchFromGitHub , pytestCheckHook # Python deps , six , setuptools }: buildPythonPackage rec { pname = "mando"; version = "0.7.1"; pyproject = true; src = fetchFromGitHub { owner = "rubik"; repo = "mando"; rev = "v${version}"; hash = "sha256-Ylrrfo57jqGuWEqCa5RyTT9AagBpUvAfviHkyJPFv08="; }; nativeBuildInputs = [ setuptools ]; nativeCheckInputs = [ pytestCheckHook ]; propagatedBuildInputs = [ six ]; pythonImportsCheck = [ "mando" ]; meta = with lib; { description = "Create Python CLI apps with little to no effort at all"; homepage = "https://mando.readthedocs.org"; changelog = "https://github.com/rubik/mando/blob/v${version}/CHANGELOG"; license = licenses.mit; maintainers = with maintainers; [ t4ccer ]; }; } </ins>