jiebi/CodeConvo huggingface dataset:
<ins> #!/usr/bin/env nix-shell #! nix-shell -i bash -p curl jq git gnused gnugrep # executing this script without arguments will # - find the newest stable plex-desktop version avaiable on snapcraft (https://snapcraft.io/plex-desktop) # - read the current plex-desktop version from the current nix expression # - update the nix expression if the versions differ # - try to build the updated version, exit if that fails # - give instructions for upstreaming # As an optional argument you can specify the snapcraft channel to update to. # Default is `stable` and only stable updates should be pushed to nixpkgs. For # testing you may specify `candidate` or `edge`. channel="${1:-stable}" # stable/candidate/edge nixpkgs="$(git rev-parse --show-toplevel)" plex_nix="$nixpkgs/pkgs/by-name/pl/plex-desktop/package.nix" # # find the newest stable plex-desktop version avaiable on snapcraft # # create bash array from snap info snap_info=($( curl -s -H 'X-Ubuntu-Series: 16'  "https://api.snapcraft.io/api/v1/snaps/details/plex-desktop?channel=$channel"  | jq --raw-output  '.revision,.download_sha512,.version,.last_updated' )) # "revision" is the actual version identifier on snapcraft, the "version" is # just for human consumption. Revision is just an integer that gets increased # by one every (stable or unstable) release. revision="${snap_info[0]}" # We need to escape the slashes hash="$(nix-hash --to-sri --type sha512 ${snap_info[1]} | sed 's|/|/|g')" upstream_version="${snap_info[2]}" last_updated="${snap_info[3]}" echo "Latest $channel release is $upstream_version from $last_updated." # # read the current plex-desktop version from the currently *committed* nix expression # current_version=$( grep 'versions*=' "$plex_nix"  | sed -Ene 's/.*"(.*)".*/1/p' ) echo "Current version: $current_version" # # update the nix expression if the versions differ # if [[ "$current_version" == "$upstream_version" ]]; then echo "Plex is already up-to-date" exit 0 fi echo "Updating from ${current_version} to ${upstream_version}, released on ${last_updated}" # search-and-replace revision, hash and version sed --regexp-extended  -e 's/revs*=s*"[0-9]+"s*;/rev = "'"${revision}"'";/'  -e 's/hashs*=s*"[^"]*"s*;/hash = "'"${hash}"'";/'  -e 's/versions*=s*".*"s*;/version = "'"${upstream_version}"'";/'  -i "$plex_nix" # # try to build the updated version # if ! nix-build -A plex-desktop "$nixpkgs"; then echo "The updated plex-desktop failed to build." exit 1 fi # Commit changes git add "$plex_nix" git commit -m "plex-desktop: ${current_version} -> ${upstream_version}" </ins>
<ins> { buildGoModule , fetchFromGitHub , lib , pkg-config , webkitgtk , glib , fuse , installShellFiles }: let pname = "onedriver"; version = "0.13.0-2"; src = fetchFromGitHub { owner = "jstaf"; repo = "onedriver"; rev = "v${version}"; hash = "sha256-Bcjgmx9a4pTRhkzR3tbOB6InjvuH71qomv4t+nRNc+w="; }; in buildGoModule { inherit pname version src; vendorHash = "sha256-OOiiKtKb+BiFkoSBUQQfqm4dMfDW3Is+30Kwcdg8LNA="; nativeBuildInputs = [ pkg-config installShellFiles ]; buildInputs = [ webkitgtk glib fuse ]; ldflags = [ "-X github.com/jstaf/onedriver/cmd/common.commit=v${version}" ]; subPackages = [ "cmd/onedriver" "cmd/onedriver-launcher" ]; postInstall = '' echo "Running postInstall" install -Dm644 ./resources/onedriver.svg $out/share/icons/onedriver/onedriver.svg install -Dm644 ./resources/onedriver.png $out/share/icons/onedriver/onedriver.png install -Dm644 ./resources/onedriver-128.png $out/share/icons/onedriver/onedriver-128.png install -Dm644 ./resources/onedriver.desktop $out/share/applications/onedriver.desktop mkdir -p $out/share/man/man1 installManPage ./resources/onedriver.1 substituteInPlace $out/share/applications/onedriver.desktop  --replace "/usr/bin/onedriver-launcher" "$out/bin/onedriver-launcher"  --replace "/usr/share/icons" "$out/share/icons" ''; meta = with lib; { description = "A network filesystem for Linux"; longDescription = '' onedriver is a network filesystem that gives your computer direct access to your files on Microsoft OneDrive. This is not a sync client. Instead of syncing files, onedriver performs an on-demand download of files when your computer attempts to use them. onedriver allows you to use files on OneDrive as if they were files on your local computer. ''; inherit (src.meta) homepage; license = licenses.gpl3Plus; maintainers = [ maintainers.massimogengarelli ]; platforms = platforms.linux; }; } </ins>
}: stdenvNoCC.mkDerivation rec { pname = "itch"; <del> version = "25.6.2"; </del> <ins> version = "26.1.2"; # TODO: Using kitch instead of itch, revert when possible </ins> src = fetchzip { <del> url = "https://broth.itch.ovh/${pname}/linux-amd64/${version}/itch.zip"; </del> <ins> url = "https://broth.itch.ovh/k${pname}/linux-amd64/${version}/archive/default#.zip"; </ins> stripRoot = false; <del> sha256 = "sha256-F/vaYBHCygseiKNMJ+jBy31YDIFqYToAETGUl/pkHII="; </del> <ins> sha256 = "sha256-thXe+glpltSiKNGIRgvOZQZPJWfDHWo3dLdziyp2BM4="; </ins> }; itch-setup = fetchzip {
fetchFromGitHub { owner = "itchio"; repo = pname; <del> rev = "v25.6.1-canary"; # Use ${version} if possible hash = "sha256-iBp7K7AW97SOlRa8N8TW2LcVtmUi9JU00fYUuPwKORc="; </del> <ins> rev = "v${version}-canary"; sha256 = "sha256-veZiKs9qHge+gCEpJ119bAT56ssXJAH3HBcYkEHqBFg="; </ins> sparseCheckout = [ sparseCheckout ]; } + sparseCheckout;
postFixup = '' makeWrapper ${steam-run}/bin/steam-run $out/bin/${pname}  <del> --add-flags ${electron_11}/bin/electron  </del> <ins> --add-flags ${electron}/bin/electron  </ins> --add-flags $out/share/${pname}/resources/app  --set BROTH_USE_LOCAL butler,itch-setup  --prefix PATH : ${butler}/bin/:${itch-setup}
buildGoModule rec { pname = "katana"; <del> version = "1.0.3"; </del> <ins> version = "1.0.4"; </ins> src = fetchFromGitHub { owner = "projectdiscovery"; repo = pname; rev = "refs/tags/v${version}"; <del> hash = "sha256-0OXpA+sa97YjbHhIq3Uj65OWg53PH9y2cY8bjCqC3tQ="; </del> <ins> hash = "sha256-wpGRpgRJtywkTJ3YBk5TzXc2taPPWjOhj+Kg8hAgm7M="; </ins> }; <del> vendorHash = "sha256-rb0fNAOP4y2yvJb7FIlAIfXF0uw0eLKgup75f9cwT6U="; CGO_ENABLED = 0; </del> <ins> vendorHash = "sha256-qqivaKipe7lfUq3Neod8JMvtMVQN4O03JpDMSMHf8YY="; </ins> subPackages = [ "cmd/katana" ];
options = { devices = mkOption { type = types.listOf types.str; <ins> default = [ ]; </ins> example = [ "/dev/input/by-id/usb-0000_0000-event-kbd" ]; <del> description = mdDoc "Paths to keyboard devices."; </del> <ins> description = mdDoc '' Paths to keyboard devices. An empty list, the default value, lets kanata detect which input devices are keyboards and intercept them all. ''; </ins> }; config = mkOption { type = types.lines;
}; config = mkIf cfg.enable { <ins> warnings = let keyboardsWithEmptyDevices = filterAttrs (name: keyboard: keyboard.devices == [ ]) cfg.keyboards; existEmptyDevices = length (attrNames keyboardsWithEmptyDevices) > 0; moreThanOneKeyboard = length (attrNames cfg.keyboards) > 1; in optional (existEmptyDevices && moreThanOneKeyboard) "One device can only be intercepted by one kanata instance.  Setting services.kanata.keyboards.${head (attrNames keyboardsWithEmptyDevices)}.devices = [ ] and using more than one services.kanata.keyboards may cause a race condition."; </ins> hardware.uinput.enable = true; systemd.services = mapAttrs' mkService cfg.keyboards;
firewall-nftables = handleTest ./firewall.nix { nftables = true; }; fish = handleTest ./fish.nix {}; flannel = handleTestOn ["x86_64-linux"] ./flannel.nix {}; <ins> floorp = handleTest ./firefox.nix { firefoxPackage = pkgs.floorp; }; </ins> fluentd = handleTest ./fluentd.nix {}; fluidd = handleTest ./fluidd.nix {}; fontconfig-default-fonts = handleTest ./fontconfig-default-fonts.nix {};
<ins> { stdenv , lib , fetchFromGitHub , buildMozillaMach , nixosTests }: ((buildMozillaMach rec { pname = "floorp"; packageVersion = "11.5.0"; applicationName = "Floorp"; binaryName = "floorp"; version = "155.4.0"; src = fetchFromGitHub { owner = "Floorp-Projects"; repo = "Floorp"; fetchSubmodules = true; rev = "v${packageVersion}"; hash = "sha256-adK3LAu3cDh6d+GvtnkWmSnxansnSZoIgtA9TAqIMyA="; }; extraConfigureFlags = [ "--with-app-name=${pname}" "--with-app-basename=${applicationName}" "--with-branding=browser/branding/official" "--with-distribution-id=app.floorp.Floorp" "--with-unsigned-addon-scopes=app,system" "--allow-addon-sideload" ]; meta = { description = "A fork of Firefox, focused on keeping the Open, Private and Sustainable Web alive, built in Japan"; homepage = "https://floorp.app/"; maintainers = with lib.maintainers; [ christoph-heiss ]; platforms = lib.platforms.unix; badPlatforms = lib.platforms.darwin; broken = stdenv.buildPlatform.is32bit; # since Firefox 60, build on 32-bit platforms fails with "out of memory". # not in `badPlatforms` because cross-compilation on 64-bit machine might work. maxSilent = 14400; # 4h, double the default of 7200s (c.f. #129212, #129115) license = lib.licenses.mpl20; }; tests = [ nixosTests.floorp ]; }).override { privacySupport = true; enableOfficialBranding = false; }).overrideAttrs (prev: { MOZ_REQUIRE_SIGNING = ""; }) </ins>
flex-ndax = callPackage ../applications/radio/flex-ndax { }; <ins> floorp-unwrapped = callPackage ../applications/networking/browsers/floorp { }; floorp = wrapFirefox floorp-unwrapped { }; </ins> fluxbox = callPackage ../applications/window-managers/fluxbox { }; hackedbox = callPackage ../applications/window-managers/hackedbox { };
<ins> { lib , rustPlatform , fetchFromGitHub , pkg-config , wrapGAppsHook , atk , cairo , gdk-pixbuf , glib , gtk3 , pango , stdenv , darwin , wayland , gtk-layer-shell , unstableGitUpdater }: rustPlatform.buildRustPackage rec { pname = "anyrun"; version = "0-unstable-2023-12-01"; src = fetchFromGitHub { owner = "kirottu"; repo = "anyrun"; rev = "e14da6c37337ffa3ee1bc66965d58ef64c1590e5"; hash = "sha256-hI9+KBShsSfvWX7bmRa/1VI20WGat3lDXmbceMZzMS4="; }; cargoHash = "sha256-apOQc9Z6YANoaeKcbNxBfAv7mmGFB+CagrYRPgC5wLY="; strictDeps = true; enableParallelBuilding = true; doCheck = true; nativeBuildInputs = [ pkg-config wrapGAppsHook ]; buildInputs = [ atk cairo gdk-pixbuf glib gtk3 gtk-layer-shell pango ] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ] ++ lib.optionals stdenv.isLinux [ wayland ]; preFixup = '' gappsWrapperArgs+=( --prefix ANYRUN_PLUGINS : $out/lib ) ''; postInstall = '' install -Dm444 anyrun/res/style.css examples/config.ron -t $out/share/doc/${pname}/examples/ ''; passthru.updateScript = unstableGitUpdater { }; meta = { description = "A wayland-native, highly customizable runner"; homepage = "https://github.com/kirottu/anyrun"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ eclairevoyant NotAShelf ]; mainProgram = "anyrun"; }; } </ins>
<ins> { lib , stdenv , fetchFromGitHub , unstableGitUpdater , curl , gtkmm3 , glibmm , gnutls , yajl , pkg-config }: stdenv.mkDerivation (finalAttrs: { pname = "samrewritten"; version = "unstable-2023-05-23"; src = fetchFromGitHub { owner = "PaulCombal"; repo = "SamRewritten"; # The latest release is too old, use latest commit instead rev = "39d524a72678a226bf9140db6b97641f554563c3"; hash = "sha256-sS/lVY5EWXdTOg7cDWPbi/n5TNt+pRAF1x7ZEaYG4wM="; }; makeFlags = [ "PREFIX=$(out)" ]; nativeBuildInputs = [ pkg-config ]; buildInputs = [ curl gtkmm3 glibmm gnutls yajl ]; passthru.updateScript = unstableGitUpdater { }; meta = { description = "Steam Achievement Manager For Linux. Rewritten in C++"; homepage = "https://github.com/PaulCombal/SamRewritten"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ ludovicopiero ]; platforms = lib.platforms.linux; }; }) </ins>
clippy, mkShell, makeWrapper, <ins> runCommand, </ins> }: let runtimeExprPath = ./src/eval.nix; nixpkgsLibPath = ../../../lib; <ins> # Needed to make Nix evaluation work inside nix builds initNix = '' export TEST_ROOT=$(pwd)/test-tmp export NIX_CONF_DIR=$TEST_ROOT/etc export NIX_LOCALSTATE_DIR=$TEST_ROOT/var export NIX_LOG_DIR=$TEST_ROOT/var/log/nix export NIX_STATE_DIR=$TEST_ROOT/var/nix export NIX_STORE_DIR=$TEST_ROOT/store # Ensure that even if tests run in parallel, we don't get an error # We'd run into https://github.com/NixOS/nix/issues/2706 unless the store is initialised first nix-store --init ''; </ins> package = rustPlatform.buildRustPackage { name = "nixpkgs-check-by-name";
makeWrapper ]; env.NIX_CHECK_BY_NAME_EXPR_PATH = "${runtimeExprPath}"; <del> # Needed to make Nix evaluation work inside the nix build preCheck = '' export TEST_ROOT=$(pwd)/test-tmp export NIX_CONF_DIR=$TEST_ROOT/etc export NIX_LOCALSTATE_DIR=$TEST_ROOT/var export NIX_LOG_DIR=$TEST_ROOT/var/log/nix export NIX_STATE_DIR=$TEST_ROOT/var/nix export NIX_STORE_DIR=$TEST_ROOT/store export NIXPKGS_LIB_PATH=${nixpkgsLibPath} # Ensure that even if tests run in parallel, we don't get an error # We'd run into https://github.com/NixOS/nix/issues/2706 unless the store is initialised first nix-store --init ''; </del> <ins> env.NIXPKGS_LIB_PATH = "${nixpkgsLibPath}"; preCheck = initNix; </ins> postCheck = '' cargo fmt --check cargo clippy -- -D warnings
env.NIXPKGS_LIB_PATH = toString nixpkgsLibPath; inputsFrom = [ package ]; }; <ins> # Tests the tool on the current Nixpkgs tree, this is a good sanity check passthru.tests.nixpkgs = runCommand "test-nixpkgs-check-by-name" { nativeBuildInputs = [ package nix ]; nixpkgsPath = lib.cleanSource ../../..; } '' ${initNix} nixpkgs-check-by-name --base "$nixpkgsPath" "$nixpkgsPath" touch $out ''; </ins> }; in package
// so the UsesByName ratchet is already as tight as it can be NonAttributeSet => Success(Tight), NonCallPackage => Success(Tight), <del> // This is an odd case when _internalCallByNamePackageFile is used to define a package. </del> <ins> // This is the case when the `pkgs/by-name`-internal _internalCallByNamePackageFile // is used for a package outside `pkgs/by-name` </ins> CallPackage(CallPackageInfo { call_package_variant: Auto, .. <del> }) => NixpkgsProblem::InternalCallPackageUsed { attr_name: attribute_name.clone(), </del> <ins> }) => { // With the current detection mechanism, this also triggers for aliases // to pkgs/by-name packages, and there's no good method of // distinguishing alias vs non-alias. // Using `config.allowAliases = false` at least currently doesn't work // because there's nothing preventing people from defining aliases that // are present even with that disabled. // In the future we could kind of abuse this behavior to have better // enforcement of conditional aliases, but for now we just need to not // give an error. Success(Tight) </ins> } <del> .into(), </del> // Only derivations can be in pkgs/by-name, // so this attribute doesn't qualify CallPackage(CallPackageInfo {
subpath.display(), text, ), <del> NixpkgsProblem::InternalCallPackageUsed { attr_name } => write!( f, "pkgs.{attr_name}: This attribute is defined using `_internalCallByNamePackageFile`, which is an internal function not intended for manual use.", ), </del> NixpkgsProblem::MovedOutOfByName { package_name, call_package_path, empty_arg } => { let call_package_arg = if let Some(path) = &call_package_path {
else [ ]; <ins> # A list optionally containing the `aliases.nix` file from the test case as an overlay # But only if config.allowAliases is not false optionalAliasesOverlay = if (config.allowAliases or true) && builtins.pathExists (root + "/aliases.nix") then [ (import (root + "/aliases.nix")) ] else [ ]; </ins> # All the overlays in the right order, including the user-supplied ones allOverlays = [ autoCalledPackages ] ++ optionalAllPackagesOverlay <ins> ++ optionalAliasesOverlay </ins> ++ overlays; # Apply all the overlays in order to the base fixed-point function pkgsFun
inherit pname; version = "0.85.0"; src = nushell.src; <del> cargoHash = "sha256-OKtktjBOujvljAX260TbC2sQWZOiGgU+sXsbYRhGPRM="; </del> <ins> cargoHash = "sha256-WS8VRpJnn/VWS7GUkGowFf51ifUx0SbEZzcoTfx2dp0="; </ins> nativeBuildInputs = [ pkg-config ]; <del> buildInputs = [ IOKit Foundation ]; </del> <ins> buildInputs = lib.optionals stdenv.isDarwin [ IOKit Foundation ]; </ins> cargoBuildFlags = [ "--package nu_plugin_formats" ]; doCheck = false; meta = with lib; {
inherit pname; version = "0.85.0"; src = nushell.src; <del> cargoHash = "sha256-Fj70uKYzEKxeZeNrqlwM7ZFJ+K1tz10RqLndrdY40CE="; </del> <ins> cargoHash = "sha256-6luY3SIRRd9vaY9KIJcj8Q974FW0LtAvRjVpdpzkdLo="; </ins> nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ]; cargoBuildFlags = [ "--package nu_plugin_gstat" ];
src = nushell.src; <del> cargoHash = "sha256-8iUqOdGWm2kDW72ptlCBIqqe4zjckN09MOQD77kCf5Y="; </del> <ins> cargoHash = "sha256-xyty3GfI+zNkuHs7LYHBctqXUHZ4/MNNcnnfYvI18do="; </ins> buildInputs = lib.optionals stdenv.isDarwin [ IOKit CoreFoundation ];
rustPlatform.buildRustPackage rec { pname = "sudo-rs"; <del> version = "0.2.0"; </del> <ins> version = "0.2.1"; </ins> src = fetchFromGitHub { owner = "memorysafety"; repo = "sudo-rs"; rev = "v${version}"; <del> hash = "sha256-Kk5D3387hdl6eGWTSV003r+XajuDh6YgHuqYlj9NnaQ="; </del> <ins> hash = "sha256-EQEdNDUXEMMiFZKuu9LR9ywjvKWyM5bWcRHHUB9+gp4="; </ins> }; <del> cargoHash = "sha256-yeMK37tOgJcs9pW3IclpR5WMXx0gMDJ2wcmInxJYbQ8="; </del> <ins> cargoHash = "sha256-Zs9/A7u4yMLKY4cAUCnsqRHgkxI8R3w1JwkAd2lw0eo="; </ins> nativeBuildInputs = [ installShellFiles pandoc ]; buildInputs = [ pam ]; <del> patches = [ (fetchpatch { # @R-VdP's patch to work with NixOS' suid wrappers name = "Skip self_check when executed as root.patch"; url = "https://github.com/R-VdP/sudo-rs/commit/a44541dcb36b94f938daaed66b3ff06cfc1c2b40.patch"; hash = "sha256-PdmOqp/NDjFy8ve4jEOi58e0N9xUnaVKioQwdC5Jf1U="; }) ]; </del> # Don't attempt to generate the docs in a (pan)Docker container postPatch = '' substituteInPlace util/generate-docs.sh
stdenv.mkDerivation (finalAttrs: { pname = "stretchly"; <del> version = "1.15.1"; </del> <ins> version = "1.16.0"; </ins> src = fetchurl { url = "https://github.com/hovancik/stretchly/releases/download/v${finalAttrs.version}/stretchly-${finalAttrs.version}.tar.xz"; <del> hash = "sha256-suTH6o7vtUr2DidPXAwqrya5/WukQOFmS/34LaiWDBs="; </del> <ins> hash = "sha256-gOMUXGldtZUfqLABJHfbToYe0pcAn8dRWEFxCi/gY9Y="; </ins> }; icon = fetchurl {
<ins> { lib , buildGoModule , fetchFromGitHub }: buildGoModule rec { pname = "bitmagnet"; version = "0.0.6"; src = fetchFromGitHub { owner = "bitmagnet-io"; repo = "bitmagnet"; rev = "v${version}"; hash = "sha256-+KAIHg8M2CM+GRRv+htmev8MFe/Y1sJ8p+um/c7kI7c="; }; vendorHash = "sha256-ydiZ3KMEiVkmdzhHjYYLJ7wuiKmwlMEn4OWrKSOnaSo="; ldflags = [ "-s" "-w" ]; meta = { description = "A self-hosted BitTorrent indexer, DHT crawler, and torrent search engine"; longDescription = '' A self-hosted BitTorrent indexer, DHT crawler, content classifier and torrent search engine with web UI, GraphQL API and Servarr stack integration. ''; homepage = "https://bitmagnet.io/"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ eclairevoyant ]; mainProgram = "bitmagnet"; }; } </ins>
}; preBuild = '' <del> makeFlags="V=1 DISABLE_JBIG=1 CUPSFILTER=$out/lib/cups/filter CUPSPPD=$out/share/cups/model" </del> <ins> makeFlags="V=1 CUPSFILTER=$out/lib/cups/filter CUPSPPD=$out/share/cups/model" </ins> ''; buildInputs = [cups zlib];
<del> { lib , aiohttp , beautifulsoup4 , buildPythonPackage , fetchFromGitHub , pkce , poetry-core , pythonOlder }: buildPythonPackage rec { pname = "pymyq"; version = "3.1.13"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "Python-MyQ"; repo = "Python-MyQ"; rev = "refs/tags/v${version}"; hash = "sha256-kW03swRXZdkh45I/up/FIxv0WGBRqTlDt1X71Ow/hrg="; }; nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ aiohttp beautifulsoup4 pkce ]; # Project has no tests doCheck = false; pythonImportsCheck = [ "pymyq" ]; meta = with lib; { description = "Python wrapper for MyQ API"; homepage = "https://github.com/Python-MyQ/Python-MyQ"; changelog = "https://github.com/Python-MyQ/Python-MyQ/releases/tag/v${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; } </del>
<ins> { lib , aiohttp , beautifulsoup4 , buildPythonPackage , fetchFromGitHub , pkce , poetry-core , pythonOlder }: buildPythonPackage rec { pname = "python-myq"; version = "3.1.13"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "Python-MyQ"; repo = "Python-MyQ"; rev = "refs/tags/v${version}"; hash = "sha256-kW03swRXZdkh45I/up/FIxv0WGBRqTlDt1X71Ow/hrg="; }; nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ aiohttp beautifulsoup4 pkce ]; # Project has no tests doCheck = false; pythonImportsCheck = [ "pymyq" ]; meta = with lib; { description = "Python wrapper for MyQ API"; homepage = "https://github.com/Python-MyQ/Python-MyQ"; changelog = "https://github.com/Python-MyQ/Python-MyQ/releases/tag/v${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; } </ins>
pymc3 = pymc; # added 2022-06-05, module was rename starting with 4.0.0 pymssql = throw "pymssql has been abandoned upstream."; # added 2020-05-04 PyMVGLive = pymvglive; # added 2023-02-19 <ins> pymyq = python-myq; # added 2023-10-20 </ins> pyqt4 = throw "pyqt4 has been removed, because it depended on the long EOL qt4"; # added 2022-06-09 pyramid_beaker = pyramid-beaker; # added 2023-08-23 pyramid_chameleon = pyramid-chameleon; # added 2023-08-23
"-H:Name=${executable}" "-march=compatibility" "--verbose" <ins> "-J-Dsun.stdout.encoding=UTF-8" "-J-Dsun.stderr.encoding=UTF-8" </ins> ] # Extra arguments to be passed to the native-image , extraNativeImageBuildArgs ? [ ] # XMX size of GraalVM during build , graalvmXmx ? "-J-Xmx6g" <del> # Locale to be used by GraalVM compiler , LC_ALL ? "en_US.UTF-8" </del> , meta ? { } , ... } @ args:
doInstallCheck = true; installCheckPhase = '' <del> $out/bin/bb --version | grep '${version}' $out/bin/bb '(+ 1 2)' | grep '3' $out/bin/bb '(vec (dedupe *input*))' <<< '[1 1 1 1 2]' | grep '[1 2]' </del> <ins> $out/bin/bb --version | fgrep '${version}' $out/bin/bb '(+ 1 2)' | fgrep '3' $out/bin/bb '(vec (dedupe *input*))' <<< '[1 1 1 1 2]' | fgrep '[1 2]' $out/bin/bb '(prn "bépo àê")' | fgrep 'bépo àê' </ins> ''; # As of v1.2.174, this will remove references to ${graalvmDrv}/conf/chronology,
<ins> { lib , buildPythonPackage , pythonOlder , fetchPypi , ptpython , ipython , setuptools , setuptools-scm , setuptools-generate }: let pname = "repl-python-wakatime"; version = "0.0.6"; in buildPythonPackage { inherit pname version; format = "pyproject"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; hash = "sha256-s2UelniMn4+wWILbVIIKidRCFaOvo/nNNofA7yf2+9c="; }; nativeBuildInputs = [ setuptools setuptools-scm setuptools-generate ]; propagatedBuildInputs = [ ptpython ipython ]; pythonImportsCheck = [ "repl_python_wakatime" ]; meta = with lib; { description = "Python REPL plugin for automatic time tracking and metrics generated from your programming activity"; homepage = "https://github.com/wakatime/repl-python-wakatime"; license = licenses.gpl3Only; maintainers = with maintainers; [ jfvillablanca ]; }; } </ins>
{ lib , fetchFromGitHub }: rec { <del> version = "3.5.1"; </del> <ins> version = "3.6.1"; </ins> format = "setuptools"; src = fetchFromGitHub { owner = "openrazer"; repo = "openrazer"; rev = "v${version}"; <del> hash = "sha256-6YU2tl17LpDZe9pQ1a+B2SGIhqGdwME3Db6umVz7RLc="; </del> <ins> hash = "sha256-bboTRZqJq5tKeBQuiEQAXxTHYvoldDQlwbfehjDA8EE="; </ins> }; meta = with lib; {
concatAttrLists = attrsets: zipAttrsWithNames (filterAttrNames isList (head attrsets)) (_: concatLists) attrsets; <del> template = rec { inherit pname version; </del> <ins> template = { </ins> nativeBuildInputs = [ pkg-config xfce4-dev-tools wrapGAppsHook ]; buildInputs = [ hicolor-icon-theme ]; configureFlags = [ "--enable-maintainer-mode" ];