Merge master into staging-next

This commit is contained in:
nixpkgs-ci[bot] 2025-05-03 00:15:48 +00:00 committed by GitHub
commit 2ff912d92b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
107 changed files with 828 additions and 501 deletions

View file

@ -61,12 +61,14 @@ body:
You can still open a build failure report, but please say '**No, Hydra cannot reproduce this build failure.**' below.
- If there's a <img src="https://raw.githubusercontent.com/NixOS/hydra/refs/heads/master/src/root/static/images/emojione-question-2754.svg" width="20px" align="top" alt="Gray Question Mark"> icon near the package entry, say '**Hydra is currently rebuilding this package.**'
- If there's a <img src="https://raw.githubusercontent.com/NixOS/hydra/refs/heads/master/src/root/static/images/emojione-stopsign-1f6d1.svg" width="20px" align="top" alt="Red Stop Sign"> icon near the package entry, then the build job was stopped manually. If this occurs, please coordinate with the [Infrastructure Team](https://matrix.to/#/#infra:nixos.org), and say '**The last build job was manually cancelled.**'
- If Hydra isn't supposed to build the package at all, say '**Hydra doesnt try to build the package.**'
options:
- "Please select the Hydra Status."
- "Yes, Hydra can reproduce this build failure."
- "No, Hydra cannot reproduce this build failure."
- "Hydra is currently rebuilding this package."
- "The last build job was manually cancelled."
- "Hydra doesnt try to build the package."
default: 0
validations:
required: true

10
.github/labeler.yml vendored
View file

@ -40,6 +40,16 @@
- pkgs/development/coq-modules/**/*
- pkgs/top-level/coq-packages.nix
"6.topic: COSMIC":
- any:
- changed-files:
- any-glob-to-any-file:
- nixos/modules/services/desktop-managers/cosmic.nix
- nixos/modules/services/display-managers/cosmic-greeter.nix
- nixos/tests/cosmic.nix
- pkgs/by-name/co/cosmic-*/**/*
- pkgs/by-name/xd/xdg-desktop-portal-cosmic/*
"6.topic: crystal":
- any:
- changed-files:

View file

@ -20,7 +20,7 @@ jobs:
lib
maintainers
- uses: cachix/install-nix-action@d1ca217b388ee87b2507a9a93bf01368bde7cec2 # v31
- uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31
with:
extra_nix_config: sandbox = true

View file

@ -23,7 +23,7 @@ jobs:
with:
ref: ${{ needs.get-merge-commit.outputs.mergedSha }}
- uses: cachix/install-nix-action@d1ca217b388ee87b2507a9a93bf01368bde7cec2 # v31
- uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31
with:
extra_nix_config: sandbox = true

View file

@ -34,7 +34,7 @@ jobs:
rev=$(jq -r .rev ci/pinned-nixpkgs.json)
echo "url=https://github.com/NixOS/nixpkgs/archive/$rev.tar.gz" >> "$GITHUB_ENV"
- uses: cachix/install-nix-action@d1ca217b388ee87b2507a9a93bf01368bde7cec2 # v31
- uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31
with:
extra_nix_config: sandbox = true
nix_path: nixpkgs=${{ env.url }}

View file

@ -27,7 +27,7 @@ jobs:
with:
ref: refs/pull/${{ github.event.pull_request.number }}/merge
- uses: cachix/install-nix-action@d1ca217b388ee87b2507a9a93bf01368bde7cec2 # v31
- uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31
- name: Build shell
run: nix-build shell.nix

View file

@ -45,7 +45,7 @@ jobs:
needs: get-merge-commit
if: github.repository_owner == 'NixOS' && needs.get-merge-commit.outputs.mergedSha
steps:
- uses: cachix/install-nix-action@d1ca217b388ee87b2507a9a93bf01368bde7cec2 # v31
- uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31
- uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16
with:
@ -92,7 +92,7 @@ jobs:
runs-on: ubuntu-24.04
if: github.repository_owner == 'NixOS'
steps:
- uses: cachix/install-nix-action@d1ca217b388ee87b2507a9a93bf01368bde7cec2 # v31
- uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31
# Important: Because we use pull_request_target, this checks out the base branch of the PR, not the PR head.
# This is intentional, because we need to request the review of owners as declared in the base branch.

View file

@ -32,7 +32,7 @@ jobs:
with:
ref: ${{ needs.get-merge-commit.outputs.mergedSha }}
- uses: cachix/install-nix-action@d1ca217b388ee87b2507a9a93bf01368bde7cec2 # v31
- uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31
with:
# nixpkgs commit is pinned so that it doesn't break
# editorconfig-checker 2.4.0

View file

@ -22,7 +22,7 @@ jobs:
with:
ref: ${{ needs.get-merge-commit.outputs.mergedSha }}
- uses: cachix/install-nix-action@d1ca217b388ee87b2507a9a93bf01368bde7cec2 # v31
- uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31
with:
extra_nix_config: sandbox = true

View file

@ -43,7 +43,7 @@ jobs:
echo "targetSha=$targetSha" >> "$GITHUB_OUTPUT"
- name: Install Nix
uses: cachix/install-nix-action@d1ca217b388ee87b2507a9a93bf01368bde7cec2 # v31
uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31
with:
extra_nix_config: sandbox = true
@ -71,7 +71,7 @@ jobs:
path: nixpkgs
- name: Install Nix
uses: cachix/install-nix-action@d1ca217b388ee87b2507a9a93bf01368bde7cec2 # v31
uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31
with:
extra_nix_config: sandbox = true
@ -111,7 +111,7 @@ jobs:
path: nixpkgs
- name: Install Nix
uses: cachix/install-nix-action@d1ca217b388ee87b2507a9a93bf01368bde7cec2 # v31
uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31
with:
extra_nix_config: sandbox = true
@ -152,7 +152,7 @@ jobs:
path: nixpkgs
- name: Install Nix
uses: cachix/install-nix-action@d1ca217b388ee87b2507a9a93bf01368bde7cec2 # v31
uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31
with:
extra_nix_config: sandbox = true
@ -260,7 +260,7 @@ jobs:
path: comparison
- name: Install Nix
uses: cachix/install-nix-action@d1ca217b388ee87b2507a9a93bf01368bde7cec2 # v31
uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31
# Important: This workflow job runs with extra permissions,
# so we need to make sure to not run untrusted code from PRs

View file

@ -27,7 +27,7 @@ jobs:
rev=$(jq -r .rev ci/pinned-nixpkgs.json)
echo "url=https://github.com/NixOS/nixpkgs/archive/$rev.tar.gz" >> "$GITHUB_ENV"
- uses: cachix/install-nix-action@d1ca217b388ee87b2507a9a93bf01368bde7cec2 # v31
- uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31
with:
extra_nix_config: sandbox = true
nix_path: nixpkgs=${{ env.url }}

View file

@ -33,7 +33,7 @@ jobs:
with:
ref: refs/pull/${{ github.event.pull_request.number }}/merge
- uses: cachix/install-nix-action@d1ca217b388ee87b2507a9a93bf01368bde7cec2 # v31
- uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31
with:
extra_nix_config: sandbox = true

View file

@ -20,7 +20,7 @@ jobs:
with:
ref: refs/pull/${{ github.event.pull_request.number }}/merge
- uses: cachix/install-nix-action@d1ca217b388ee87b2507a9a93bf01368bde7cec2 # v31
- uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31
with:
extra_nix_config: sandbox = true

View file

@ -32,7 +32,7 @@ jobs:
ref: ${{ needs.get-merge-commit.outputs.mergedSha }}
if: ${{ env.CHANGED_FILES && env.CHANGED_FILES != '' }}
- uses: cachix/install-nix-action@d1ca217b388ee87b2507a9a93bf01368bde7cec2 # v31
- uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31
with:
extra_nix_config: sandbox = true
nix_path: nixpkgs=channel:nixpkgs-unstable

View file

@ -43,7 +43,7 @@ jobs:
git worktree add "$target" "$(git rev-parse HEAD^1)"
echo "target=$target" >> "$GITHUB_ENV"
- uses: cachix/install-nix-action@d1ca217b388ee87b2507a9a93bf01368bde7cec2 # v31
- uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31
- name: Fetching the pinned tool
# Update the pinned version using ci/nixpkgs-vet/update-pinned-tool.sh

View file

@ -469,3 +469,6 @@ pkgs/development/interpreters/lfe/ @NixOS/beam
# OctoDNS
pkgs/tools/networking/octodns/ @anthonyroussel
# Teleport
pkgs/servers/teleport @arianvp @justinas @sigma @tomberek @freezeboy @techknowlogick @JuliusFreudenberger

View file

@ -382,6 +382,15 @@ pkgs.mkShell {
```
will create a development shell where a `node_modules` directory is created & packages symlinked to the Nix store when activated.
:::{.note}
Commands like `npm install` & `npm add` that writes packages & executables needs to be used with `--package-lock-only`.
This means `npm` installs dependencies by writing into `package-lock.json` without modifying the `node_modules` folder. Installation happens through reloading the devShell.
This might be best practice since it gives the `nix shell` virtually exclusive ownership over your `node_modules` folder.
It's recommended to set `package-lock-only = true` in your project-local [`.npmrc`](https://docs.npmjs.com/cli/v11/configuring-npm/npmrc).
:::
### corepack {#javascript-corepack}
This package puts the corepack wrappers for pnpm and yarn in your PATH, and they will honor the `packageManager` setting in the `package.json`.

View file

@ -3360,6 +3360,12 @@
github = "bmilanov";
githubId = 30090366;
};
bmrips = {
name = "Benedikt M. Rips";
email = "benedikt.rips@gmail.com";
github = "bmrips";
githubId = 20407973;
};
bmwalters = {
name = "Bradley Walters";
email = "oss@walters.app";

View file

@ -1515,6 +1515,7 @@
./services/web-apps/collabora-online.nix
./services/web-apps/commafeed.nix
./services/web-apps/convos.nix
./services/web-apps/cook-cli.nix
./services/web-apps/crabfit.nix
./services/web-apps/davis.nix
./services/web-apps/cryptpad.nix

View file

@ -8,19 +8,19 @@
gitMinimal,
}:
let
version = "1.1.1";
version = "1.2.0";
src = fetchFromGitHub {
owner = "Saghen";
repo = "blink.cmp";
tag = "v${version}";
hash = "sha256-Vs34vPQ6BhBcSSlgGpUMOXNzywrwg116xt3MLUwgVVA=";
hash = "sha256-bKe8SSg1HPWE7b4iRQJwiOVCrvvgttuHCOIa4U/38AY=";
};
blink-fuzzy-lib = rustPlatform.buildRustPackage {
inherit version src;
pname = "blink-fuzzy-lib";
useFetchCargoVendor = true;
cargoHash = "sha256-MWElqh7ENJ6CbLOnvz0DsP5YYu+e+y12GSUOfW1IKGU=";
cargoHash = "sha256-IDoDugtNWQovfSstbVMkKHLBXKa06lxRWmywu4zyS3M=";
nativeBuildInputs = [ gitMinimal ];

View file

@ -2756,9 +2756,15 @@ in
];
};
peek-nvim = super.peek-nvim.overrideAttrs {
runtimeDeps = [ deno ];
};
peek-nvim = super.peek-nvim.overrideAttrs (old: {
patches = [
# Patch peek-nvim to run using nixpkgs deno
# This means end-users have to build peek-nvim the first time they use it...
(replaceVars ./patches/peek-nvim/cmd.patch {
deno = lib.getExe deno;
})
];
});
persisted-nvim = super.persisted-nvim.overrideAttrs {
nvimSkipModules = [

View file

@ -0,0 +1,37 @@
diff --git a/app/src/main.ts b/app/src/main.ts
index c82d914..e8542f3 100644
--- a/app/src/main.ts
+++ b/app/src/main.ts
@@ -73,7 +73,7 @@ async function init(socket: WebSocket) {
const onListen: Deno.ServeOptions['onListen'] = ({ hostname, port }) => {
const serverUrl = `${hostname.replace('0.0.0.0', 'localhost')}:${port}`;
logger.info(`listening on ${serverUrl}`);
- const webview = new Deno.Command('deno', {
+ const webview = new Deno.Command('@deno@', {
cwd: dirname(fromFileUrl(Deno.mainModule)),
args: [
'run',
diff --git a/lua/peek/app.lua b/lua/peek/app.lua
index af5148e..5e67563 100644
--- a/lua/peek/app.lua
+++ b/lua/peek/app.lua
@@ -38,10 +38,17 @@ function module.setup()
end
cmd = vim.list_extend({
- 'deno',
- 'task',
- '--quiet',
+ '@deno@',
'run',
+ '--allow-read',
+ '--allow-write',
+ '--allow-net',
+ '--allow-env',
+ '--allow-run',
+ '--no-check',
+ '--allow-import',
+ '--no-lock',
+ '../../app/src/main.ts',
}, args)
end

View file

@ -1,7 +1,6 @@
{
stdenv,
lib,
mkDerivation,
fetchFromGitHub,
cargo,
extra-cmake-modules,
@ -9,21 +8,16 @@
rustPlatform,
# common deps
karchive,
qtwebsockets,
libzip,
qt6Packages,
# client deps
qtbase,
qtkeychain,
qtmultimedia,
qtsvg,
qttools,
ffmpeg,
libsecret,
libwebp,
# optional client deps
giflib,
kdnssd,
libvpx,
miniupnpc,
@ -45,17 +39,17 @@ assert lib.assertMsg (
) "You must specify at least one of buildClient, buildServer, or buildExtraTools.";
let
clientDeps = [
clientDeps = with qt6Packages; [
qtbase
qtkeychain
qtmultimedia
qtsvg
qttools
ffmpeg
libsecret
libwebp
# optional:
giflib # gif animation export support
kdnssd # local server discovery with Zeroconf
libvpx # WebM video export
miniupnpc # automatic port forwarding
];
@ -67,7 +61,7 @@ let
] ++ lib.optional withSystemd systemd;
in
mkDerivation rec {
stdenv.mkDerivation rec {
pname = "drawpile";
version = "2.2.2";
@ -88,12 +82,18 @@ mkDerivation rec {
extra-cmake-modules
rustc
rustPlatform.cargoSetupHook
(
if buildClient || buildServerGui then
qt6Packages.wrapQtAppsHook
else
qt6Packages.wrapQtAppsNoGuiHook
)
];
buildInputs =
[
karchive
qtwebsockets
libzip
qt6Packages.qtwebsockets
]
++ lib.optionals buildClient clientDeps
++ lib.optionals buildServer serverDeps;

View file

@ -13,13 +13,13 @@
stdenv.mkDerivation rec {
pname = "helm-secrets";
version = "4.6.3";
version = "4.6.4";
src = fetchFromGitHub {
owner = "jkroepke";
repo = pname;
rev = "v${version}";
hash = "sha256-5vsUyeQH/kCaHo7aze1xA1NVLXrxpFB19P708ikKTpg=";
hash = "sha256-PvWHxcxNSCI5RX830+b61fiyi0WX8ujEJzjyUOXp+iA=";
};
nativeBuildInputs = [ makeWrapper ];

View file

@ -9,6 +9,7 @@
runtimeShell,
kubectl,
nixosTests,
nix-update-script,
components ? [
"cmd/kubelet"
@ -19,15 +20,15 @@
],
}:
buildGoModule rec {
buildGoModule (finalAttrs: {
pname = "kubernetes";
version = "1.32.3";
version = "1.33.0";
src = fetchFromGitHub {
owner = "kubernetes";
repo = "kubernetes";
rev = "v${version}";
hash = "sha256-kF3Oo+YETnsrFPWBO5b7nH2A2eONIOkE84+u6vOSrpE=";
tag = "v${finalAttrs.version}";
hash = "sha256-5MlMBsYf8V7BvV6xaeRMVSRaE+TpG8xJkMwVGm/fVdo=";
};
vendorHash = null;
@ -95,15 +96,18 @@ buildGoModule rec {
runHook postInstall
'';
meta = with lib; {
description = "Production-Grade Container Scheduling and Management";
license = licenses.asl20;
homepage = "https://kubernetes.io";
teams = [ teams.kubernetes ];
platforms = platforms.linux;
passthru = {
updateScript = nix-update-script { };
tests = nixosTests.kubernetes // {
inherit kubectl;
};
};
passthru.tests = nixosTests.kubernetes // {
inherit kubectl;
meta = {
description = "Production-Grade Container Scheduling and Management";
license = lib.licenses.asl20;
homepage = "https://kubernetes.io";
teams = [ lib.teams.kubernetes ];
platforms = lib.platforms.linux;
};
}
})

View file

@ -2,6 +2,7 @@
lib,
stdenv,
buildGoModule,
buildGo123Module,
fetchFromGitHub,
fetchFromGitLab,
callPackage,
@ -96,6 +97,7 @@ let
# These are the providers that don't fall in line with the default model
special-providers = {
aws = automated-providers.aws.override { mkProviderGoModule = buildGo123Module; };
# github api seems to be broken, doesn't just fail to recognize the license, it's ignored entirely.
checkly = automated-providers.checkly.override { spdx = "MIT"; };
gitlab = automated-providers.gitlab.override {

View file

@ -0,0 +1,24 @@
{
buildKodiAddon,
fetchFromGitHub,
lib,
}:
buildKodiAddon rec {
pname = "bluetooth-manager";
namespace = "script.bluetooth.man";
version = "1.0.4";
src = fetchFromGitHub {
owner = "wastis";
repo = "BluetoothManager";
tag = "v${version}";
hash = "sha256-KKaR7rIkflMYU6EDBEcorHQ3t7jsB4Qe6Ikg+eBblkA=";
};
meta = with lib; {
description = "Addon that allows to manage bluetooth devices from within a Linux based Kodi";
platforms = platforms.all;
maintainers = teams.kodi.members;
license = licenses.gpl3Plus;
};
}

View file

@ -7,13 +7,13 @@
stdenv.mkDerivation rec {
pname = "ada";
version = "3.2.3";
version = "3.2.4";
src = fetchFromGitHub {
owner = "ada-url";
repo = "ada";
tag = "v${version}";
hash = "sha256-35vw/hGlOPhpjY43jWTrWxqazaYzhdviXxBe53cKEzg=";
hash = "sha256-tC7Hpf9xCysraTtVC+mYE/DVNrG02lwLAlDiTeaWpY4=";
};
nativeBuildInputs = [ cmake ];

View file

@ -12,20 +12,20 @@
}:
let
pname = "anubis";
version = "1.16.0";
version = "1.17.1";
src = fetchFromGitHub {
owner = "TecharoHQ";
repo = "anubis";
tag = "v${version}";
hash = "sha256-/7GMf0QGR0rtz05vHN/yYYuzxN25NhqidITdAf6jSXY=";
hash = "sha256-8b2rVVuxhsY0+5IZvzMm7ki3HGbJAnUUoAqpD1PuqZ4=";
};
anubisXess = buildNpmPackage {
inherit version src;
pname = "${pname}-xess";
npmDepsHash = "sha256-QrW0grgNRZRum2mCec86Za1UV4R5QSRlhjVYFsZDwY8=";
npmDepsHash = "sha256-jiLrqn0jenug2ff/mqhOIfc7f+CsQja5g2K9n+W1kVM=";
buildPhase = ''
runHook preBuild
@ -44,7 +44,7 @@ in
buildGoModule (finalAttrs: {
inherit pname version src;
vendorHash = "sha256-D0+SDJIagAPqd71fIHCh29vPMVL0ZZAFg0rmgW2EaGw=";
vendorHash = "sha256-v9GsTUzBYfjh6/ETBbFpN5dqMzMaOz8w39Xz1omaPJE=";
nativeBuildInputs = [
esbuild
@ -88,6 +88,7 @@ buildGoModule (finalAttrs: {
maintainers = with lib.maintainers; [
knightpp
soopyc
ryand56
];
mainProgram = "anubis";
};

View file

@ -3,16 +3,15 @@
stdenvNoCC,
fetchFromGitHub,
}:
stdenvNoCC.mkDerivation rec {
stdenvNoCC.mkDerivation {
pname = "bemoji";
version = "0.4.0";
version = "0.4.0-unstable-2024-04-28";
src = fetchFromGitHub {
owner = "marty-oehme";
repo = "bemoji";
tag = "v${version}";
hash = "sha256-HXwho0vRI9ZrUuDMicMH4ZNExY+zJfbrne2LMQmmHww=";
rev = "1b5e9c1284ede59d771bfd43780cc8f6f7446f38";
hash = "sha256-WD4oFq0NRZ0Dt/YamutM7iWz3fMRxCqwgRn/rcUsTIw=";
};
strictDeps = true;
@ -28,6 +27,9 @@ stdenvNoCC.mkDerivation rec {
license = licenses.mit;
mainProgram = "bemoji";
platforms = platforms.all;
maintainers = with maintainers; [ laurent-f1z1 ];
maintainers = with maintainers; [
laurent-f1z1
MrSom3body
];
};
}

View file

@ -6,15 +6,15 @@
rustPlatform.buildRustPackage rec {
pname = "cargo-tally";
version = "1.0.62";
version = "1.0.63";
src = fetchCrate {
inherit pname version;
hash = "sha256-EZvwjxIw6ixaSvHod7l9178D7MRTk4MrWHPxy+UCgf4=";
hash = "sha256-SNTqoxguv+HRdTLBL+cxUGNmprlC6VnpZ8xp6tKr+is=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-aSOEaHlUeP8D0GDdI6iLnuRHFasTt1nM6EGzYxhIPvo=";
cargoHash = "sha256-gpGBXh1qR5cFZXDSYKDYg8d4/A/K88dYSUb9mNrmGno=";
meta = with lib; {
description = "Graph the number of crates that depend on your crate over time";

View file

@ -9,13 +9,13 @@
buildGoModule rec {
pname = "clusterctl";
version = "1.10.0";
version = "1.10.1";
src = fetchFromGitHub {
owner = "kubernetes-sigs";
repo = "cluster-api";
rev = "v${version}";
hash = "sha256-04ytG4U8Luc5yh5VAbS1AQpjjapKsWWZSSB3IU5Rf6U=";
hash = "sha256-8clNhU9RxQ63zBaNnvftp4+wUG33bL8KCxbgzJwJdPo=";
};
vendorHash = "sha256-iProsOETP9ahyemF2tHUVmoiqjG+ghjZkHb6PAhygb4=";

View file

@ -6,17 +6,17 @@
rustPlatform.buildRustPackage rec {
pname = "comrak";
version = "0.38.0";
version = "0.39.0";
src = fetchFromGitHub {
owner = "kivikakk";
repo = "comrak";
rev = "v${version}";
sha256 = "sha256-chgg/6BJlCTOWPQ0jnE4l5O/lk0iA4xSwdWURKMF+f8=";
sha256 = "sha256-hy/kn8hShwzLHvzp3x1eSGipYRSXjOYCMPHEM1xQEr0=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-lP0eGjYZ3AOOH8O4N77QRCNt5Vd2FGfP95vdJN467rE=";
cargoHash = "sha256-MFSyxoNzPzIP2Yi3lCyEcsAx4DvNmk2Jr75oD/tX9iE=";
meta = with lib; {
description = "CommonMark-compatible GitHub Flavored Markdown parser and formatter";

View file

@ -8,17 +8,17 @@
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cosmic-ext-ctl";
version = "1.4.0";
version = "1.5.0";
src = fetchFromGitHub {
owner = "cosmic-utils";
repo = "cosmic-ctl";
tag = "v${finalAttrs.version}";
hash = "sha256-4UbmzBKxJwpyzucPRguQV1078961goiQlhtDjOGz1kA=";
hash = "sha256-URqNhkC1XrXYxr14K6sT3TLso38eWLMA+WplBdj52Vg=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-53lpHzHQ6SoZzd+h6O0NvSJHsPgbW0/kqnDrM5D6SWQ=";
cargoHash = "sha256-OL1LqOAyIFFCGIp3ySdvEXJ1ECp9DgC/8mfAPo/E7k4=";
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];

View file

@ -5,11 +5,11 @@
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "dbip-asn-lite";
version = "2025-04";
version = "2025-05";
src = fetchurl {
url = "https://download.db-ip.com/free/dbip-asn-lite-${finalAttrs.version}.mmdb.gz";
hash = "sha256-gAMetVcoeTmXUYELzplAjz2Rk5p4tY4+NnCmmotUN0o=";
hash = "sha256-7o/mGSi66++h9mOPhsv/M/taDHJ7kPfKPh7jb+nC4IQ=";
};
dontUnpack = true;

View file

@ -5,11 +5,11 @@
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "dbip-city-lite";
version = "2025-04";
version = "2025-05";
src = fetchurl {
url = "https://download.db-ip.com/free/dbip-city-lite-${finalAttrs.version}.mmdb.gz";
hash = "sha256-KVp7dZJlEeLjN925bZq2+RnYgsdC724rkb/PxVxq9vE=";
hash = "sha256-Trqy6BlagHycC432BE1p/fF+hfcVpPhzVJTKIJQaWlY=";
};
dontUnpack = true;

View file

@ -5,11 +5,11 @@
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "dbip-country-lite";
version = "2025-04";
version = "2025-05";
src = fetchurl {
url = "https://download.db-ip.com/free/dbip-country-lite-${finalAttrs.version}.mmdb.gz";
hash = "sha256-Be9Q4VQUb5ql0BLreSu4YBGA+NHJkofjsp46aN7tI1E=";
hash = "sha256-7ZmodKYVMID/5yOMZuEpRkb41/DTrgprJPG7DYnYNak=";
};
dontUnpack = true;

View file

@ -30,7 +30,7 @@ let
in
stdenv.mkDerivation {
pname = "domination";
version = "1.3.3";
version = "1.3.4";
# The .zip releases do not contain the build.xml file
src = fetchsvn {
@ -40,8 +40,8 @@ stdenv.mkDerivation {
# https://sourceforge.net/p/domination/code/HEAD/tree/Domination/ChangeLog.txt
# Alternatively, look for revs like "changelog update",
# "new version x.y.z info on website", or "website update for x.y.z".
rev = "2616";
hash = "sha256-/h9TstRxMpeoEsIeSN0MRmyRsiBHomguIPch1Zda8s8=";
rev = "2664";
hash = "sha256-bkaHpqJSc3UvwNT7LwuPUT8xN0g6QypfLSHlLmm8nX8=";
};
nativeBuildInputs = [

View file

@ -0,0 +1,10 @@
diff --git a/scripts/bash-based-configure b/scripts/bash-based-configure
--- a/scripts/bash-based-configure
+++ b/scripts/bash-based-configure
@@ -1364,6 +1364,7 @@ EOF
cat >conftest.c <<EOF
#include <glib.h>
+#include <stdio.h>
int main(int argc, char *argv[])
{ g_malloc(1024);

View file

@ -32,6 +32,7 @@ stdenv.mkDerivation rec {
patches = lib.optionals enableSoftening [
./encryption.patch
./dvdrom.patch
./gcc14-fix.patch
];
postPatch = ''

View file

@ -15,17 +15,17 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "eza";
version = "0.21.2";
version = "0.21.3";
src = fetchFromGitHub {
owner = "eza-community";
repo = "eza";
tag = "v${finalAttrs.version}";
hash = "sha256-r8svNiz0hcK0QQ0LvkYKTc9gLOEDLylZss32g6sM/hY=";
hash = "sha256-6SGGeZVQe3uuyEt6TJn5cBqnI/BdDGRiPHugKrgQNhs=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-akoRFvlwHUg8KzmxMGkJ//fIrX/+/yu6fHbxBjgwUZc=";
cargoHash = "sha256-QCy9lLOSB+64DPTc/SVSCrD2nfJswGcR2P9AdN6CqZw=";
nativeBuildInputs = [
cmake

View file

@ -2,50 +2,57 @@
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
cmake,
libzip,
boost,
wt4,
wt,
libconfig,
pkg-config,
libarchive,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "fileshelter";
version = "4.0.1";
version = "6.2.0";
src = fetchFromGitHub {
owner = "epoupon";
repo = "fileshelter";
rev = "v${version}";
sha256 = "07n70wwqj7lqdxs3wya1m8bwg8l6lgmmlfpwyv3r3s4dfzb1b3ka";
tag = "v${finalAttrs.version}";
hash = "sha256-21ANNJB7rbGAdlS7ELyGAEIjvK8biFlH27yVHrLKpwY=";
};
postPatch = ''
sed -i '1i #include <algorithm>' src/fileshelter/ui/ShareCreateFormView.cpp
'';
enableParallelBuilding = true;
nativeBuildInputs = [
autoreconfHook
cmake
pkg-config
];
buildInputs = [
libzip
boost
wt4
wt
libconfig
libarchive
];
NIX_LDFLAGS = "-lpthread";
postInstall = ''
ln -s ${wt4}/share/Wt/resources $out/share/fileshelter/docroot/resources
ln -s ${wt}/share/Wt/resources $out/share/fileshelter/docroot/resources
'';
meta = with lib; {
meta = {
homepage = "https://github.com/epoupon/fileshelter";
description = "FileShelter is a 'one-click' file sharing web application";
mainProgram = "fileshelter";
maintainers = [ maintainers.willibutz ];
license = licenses.gpl3;
maintainers = [ lib.maintainers.willibutz ];
license = lib.licenses.gpl3;
platforms = [ "x86_64-linux" ];
};
}
})

View file

@ -9,17 +9,17 @@
rustPlatform.buildRustPackage rec {
pname = "flitter";
version = "1.1.1";
version = "1.1.3";
src = fetchFromGitHub {
owner = "alexozer";
repo = "flitter";
rev = "v${version}";
sha256 = "sha256-8e13kSQEjzzf+j4uTrocVioZjJ6lAz+80dLfWwjPb9o=";
tag = version;
hash = "sha256-LG4gCpV4NUOuQMjGIjjX+pc9dL/IG6pzy3J5cDfUE5k=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-nhFTXjOXy9QxsASlZHC4jXAJ/Xw65g1l3JczOYvq3dc=";
cargoHash = "sha256-V+GsBEyGNI+13TsIci5GC0VW5BYPCGDAlpaj9DQWjCg=";
nativeBuildInputs = [
pkg-config

View file

@ -27,7 +27,7 @@
}:
let
version = "1.22.2";
version = "1.22.3";
# build stimuli file for PGO build and the script to generate it
# independently of the foot's build, so we can cache the result
@ -104,7 +104,7 @@ stdenv.mkDerivation {
owner = "dnkl";
repo = "foot";
tag = version;
hash = "sha256-eX9nSAl2pHbJU8g80q3RifDlFh00LSi8GvYU4+rlIsA=";
hash = "sha256:1l5liw4dgv7hxdimyk5qycmkfjgimdrx51rjvdizpcfmdlkvg518";
};
separateDebugInfo = true;

View file

@ -6,13 +6,13 @@
buildGoModule rec {
pname = "frei";
version = "0.3.0";
version = "0.4.0";
src = fetchFromGitHub {
owner = "alexcoder04";
repo = "frei";
rev = "v${version}";
sha256 = "sha256-C70c/uADy/D2YARRYROkc6Bs/VtYH3SIXUjSF3+qVjY=";
sha256 = "sha256-QVoRiqQt4DJK07YcCPplxigpgIqjDeQVYyDK/KQ7gbo=";
};
vendorHash = null;

View file

@ -7,15 +7,15 @@
rustPlatform.buildRustPackage rec {
pname = "functiontrace-server";
version = "0.8.3";
version = "0.8.4";
src = fetchCrate {
inherit pname version;
hash = "sha256-xTNNAYhxyL5/Sip+nZJleWOjTYs2MH3QM7pzLYk/6Gs=";
hash = "sha256-i+lXjFXCPT6Skr+r/RKYQm+iJ+WETJ/tAQg5U6qFFi8=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-zwarLDKaI4TMCId8+3wVtioOMw2F8Z7Rnl0bKbQVndQ=";
cargoHash = "sha256-61+hEq0cdJZ+DTgN/ZtK6IKuwLCq3oxk0SrzqWewQXs=";
passthru.updateScript = nix-update-script { };

View file

@ -7,13 +7,13 @@
buildGoModule rec {
pname = "gosmee";
version = "0.24.0";
version = "0.25.0";
src = fetchFromGitHub {
owner = "chmouel";
repo = "gosmee";
rev = "v${version}";
hash = "sha256-hE9iZkIkMzCICw9n1XhJ2PO5SvqE0EVhLJQO7tCUw3U=";
hash = "sha256-aQ25V6FKfvXWFjeWkTQLWQfeZGBMlBUe2L9IkDPN+88=";
};
vendorHash = null;

View file

@ -0,0 +1,62 @@
{
fetchFromGitHub,
gawk,
lib,
nix-update-script,
runCommand,
stdenvNoCC,
writableTmpDirAsHomeHook,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "goto";
version = "2.1.0-unstable-2020-11-15";
src = fetchFromGitHub {
owner = "iridakos";
repo = "goto";
# no tags
rev = "b7fda54e0817b9cb47e22a78bd00b4571011cf58";
hash = "sha256-dUxim8LLb+J9cI7HySkmC2DIWbWAKSsH/cTVXmt8zRo=";
};
strictDeps = true;
buildInputs = [ gawk ];
postInstall = ''
install -Dm644 goto.sh -t $out/share/
'';
passthru.tests.basic-usage =
runCommand "goto-basic-usage"
{
nativeBuildInputs = [ writableTmpDirAsHomeHook ];
}
''
# Mock `complete` since the builder `pkgs.bash` is not interactive.
complete() { return; }
source ${finalAttrs.finalPackage}/share/goto.sh
goto --register pwd .
cd /
goto pwd
goto --unregister pwd
goto --list
touch $out
'';
passthru.updateScript = nix-update-script {
extraArgs = [ "--version=branch" ];
};
meta = {
description = "Alias and navigate to directories with tab completion";
homepage = "https://github.com/iridakos/goto";
changelog = "https://github.com/iridakos/goto/blob/${finalAttrs.src.rev}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.bmrips ];
};
})

View file

@ -8,16 +8,16 @@
buildGoModule rec {
pname = "gtree";
version = "1.11.4";
version = "1.11.5";
src = fetchFromGitHub {
owner = "ddddddO";
repo = "gtree";
rev = "v${version}";
hash = "sha256-a2kQVn/3PyGZliPOB/2hFULK+YJBv7JVv0p7cbmfsN0=";
hash = "sha256-AEzquSbDFy5vXyIjRvVxMp6ArDiPqy0XfPiPVPisobw=";
};
vendorHash = "sha256-ARmyA8qYKv8xTmpaN77D/NlBfFJFVTGudpBeQG5apso=";
vendorHash = "sha256-N+w8UreFq/SYjZgFh6QNcC/YsCDze/v2jvD0D19dDUs=";
subPackages = [
"cmd/gtree"

View file

@ -11,17 +11,17 @@
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "hddfancontrol";
version = "2.0.2";
version = "2.0.3";
src = fetchFromGitHub {
owner = "desbma";
repo = "hddfancontrol";
tag = finalAttrs.version;
hash = "sha256-/+bvTpfgAjyG8gkyhueLJCKJo3e2OvabfOYOM9vV+g8=";
hash = "sha256-GdvGFNmarLxtO6BoZ8PktVvAiKIxu4FdZWCJeVtW/fI=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-yupjse1snr467otqZgoSANpKoxq2F8NDfo8NvwGNJxk=";
cargoHash = "sha256-1GPct+CabVE8/tMpWsQ3/XRJQkcAmS6UDNuz5c/Oewo=";
nativeBuildInputs = [
makeWrapper

View file

@ -9,13 +9,13 @@
buildGoModule rec {
pname = "ignite-cli";
version = "28.9.0";
version = "28.10.0";
src = fetchFromGitHub {
repo = "cli";
owner = "ignite";
rev = "v${version}";
hash = "sha256-NLQ+Zd77JyHuih7hPeM067fcpny1V50GFDLGhtclGms=";
hash = "sha256-oGPiU6vC9T/fadyt97GkZBuPojINXnQPhtguwv7eyJU=";
};
vendorHash = "sha256-EaOs3m5AN0EYMO8j3mkKPOQwapi0WRaTIUJKTjDpmCo=";

View file

@ -17,7 +17,7 @@
stdenv.mkDerivation rec {
pname = "intel-media-driver";
version = "24.4.4";
version = "25.1.4";
outputs = [
"out"
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
owner = "intel";
repo = "media-driver";
rev = "intel-media-${version}";
hash = "sha256-vZIWH/YBrUMmXu/JBBeGPOsn7pZUDaU8O6vgoekGhVU=";
hash = "sha256-kRMBOQpGWVrOvQ2RoYZzoYAfB2r7UqesiaTajjw+SLA=";
};
patches = [

View file

@ -6,17 +6,17 @@
rustPlatform.buildRustPackage rec {
pname = "jql";
version = "8.0.5";
version = "8.0.6";
src = fetchFromGitHub {
owner = "yamafaktory";
repo = "jql";
rev = "jql-v${version}";
hash = "sha256-0sQEC2kUnuuKp73DJsNBFB0VL0rkBkudmr7ZQpS1v04=";
hash = "sha256-bb3QoODsVZaTw5mcagvcGLn8uwG48nmHPgtlIC2ZdVE=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-10eM7tczFoQVYagyP1btsCp4PHm+zRoh2oAEVVxsROA=";
cargoHash = "sha256-7+qlQf44DgjijKlM+HRjyubH3W/PJbortri3ur0ASnk=";
meta = with lib; {
description = "JSON Query Language CLI tool built with Rust";

View file

@ -7,13 +7,13 @@
buildGoModule rec {
pname = "kube-bench";
version = "0.10.5";
version = "0.10.6";
src = fetchFromGitHub {
owner = "aquasecurity";
repo = pname;
tag = "v${version}";
hash = "sha256-SI7rkJdl54e6b+zZEsj7CIU0wheDRcrAmCLoNWr7O8E=";
hash = "sha256-+4OSqFU9IoVN9lsw6CwVL60OU4e/yCBZfnD8qqNLTtk=";
};
vendorHash = "sha256-BB7DHACKELwvquOwmBSXl1kwKw43mNnpp5yY33wwdVo=";

View file

@ -11,13 +11,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "libmsquic";
version = "2.4.9";
version = "2.4.10";
src = fetchFromGitHub {
owner = "microsoft";
repo = "msquic";
tag = "v${finalAttrs.version}";
hash = "sha256-XcqSM4Kt6YuLsbqYcMd+g4pfBjoMMfX9xA85fWQhcck=";
hash = "sha256-lAiBS5DQISeu9ZbBOAxBSlAJ9Xn0kq7HI+eMw4nHt/E=";
fetchSubmodules = true;
};

View file

@ -97,7 +97,7 @@ let
++ lib.optionals mediaSupport [ ffmpeg ]
);
version = "14.5";
version = "14.5.1";
sources = {
x86_64-linux = fetchurl {
@ -109,7 +109,7 @@ let
"https://tor.eff.org/dist/mullvadbrowser/${version}/mullvad-browser-linux-x86_64-${version}.tar.xz"
"https://tor.calyxinstitute.org/dist/mullvadbrowser/${version}/mullvad-browser-linux-x86_64-${version}.tar.xz"
];
hash = "sha256-uqwsDXbS8tfG/bgTQKvdiaPzchVhssoQccQStncNWOk=";
hash = "sha256-FQdPdCkdxh+wieC12lT90qaSvu56o4BDgUkaDOm5xSE=";
};
};

View file

@ -6,24 +6,24 @@
rustPlatform.buildRustPackage {
pname = "n2";
version = "unstable-2023-10-10";
version = "unstable-2025-03-14";
src = fetchFromGitHub {
owner = "evmar";
repo = "n2";
rev = "90041c1f010d27464e3b18e38440ed9855ea62ef";
hash = "sha256-svJPcriSrqloJlr7pIp/k84O712l4ZEPlSr58GPANXY=";
rev = "d67d508c389ac2e6961c6f84cd668f05ec7dc7b7";
hash = "sha256-eWcN/iK/ToufABi4+hIyWetp2I94Vy4INHb4r6fw+TY=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-bVvtTsaLnsmfzv2wMFx81a2ef91pj8XGtXhj8X9WFlc=";
cargoHash = "sha256-LTgAaTQXW0XEbe+WS47pqSb+eU7FqjdTSO2++C3J5aM=";
meta = with lib; {
meta = {
homepage = "https://github.com/evmar/n2";
description = "Ninja compatible build system";
mainProgram = "n2";
license = licenses.asl20;
maintainers = with maintainers; [ fgaz ];
platforms = platforms.all;
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fgaz ];
platforms = lib.platforms.all;
};
}

View file

@ -79,7 +79,7 @@ let
owner = "OctoPrint";
repo = "OctoPrint";
rev = version;
hash = "sha256-HvIMssPpRhzG//eyf0SfM5ddTUMr82F4ZS7c9tp88qw=";
hash = "sha256-Zc9t2mZQVvwJsyd0VaS8tMdGm9Ix3/QNl5ogeOTohVU=";
};
propagatedBuildInputs =

View file

@ -117,17 +117,17 @@ in
goBuild (finalAttrs: {
pname = "ollama";
# don't forget to invalidate all hashes each update
version = "0.6.6";
version = "0.6.7";
src = fetchFromGitHub {
owner = "ollama";
repo = "ollama";
tag = "v${finalAttrs.version}";
hash = "sha256-9ZkO+LrS9rOTgOW8chLO3tnbne/+BSxQY+zOsSoE5Zc=";
hash = "sha256-GRqvaD/tAPI9cVlVu+HmRTv5zr7oCHdSlKoFfSLJ4r4=";
fetchSubmodules = true;
};
vendorHash = "sha256-4wYgtdCHvz+ENNMiHptu6ulPJAznkWetQcdba3IEB6s=";
vendorHash = "sha256-t7+GLNC6mRcXq9ErxN6gGki5WWWoEcMfzRVjta4fddA=";
env =
lib.optionalAttrs enableRocm {

View file

@ -12,11 +12,11 @@
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "opensearch";
version = "2.19.1";
version = "2.19.2";
src = fetchurl {
url = "https://artifacts.opensearch.org/releases/bundle/opensearch/${finalAttrs.version}/opensearch-${finalAttrs.version}-linux-x64.tar.gz";
hash = "sha256-skOqp9jc67h4gfcPcWE5A8Nt2gd/2Q7hHqN3QS1tVp8=";
hash = "sha256-EaOx8vs3y00ln7rUiaCGoD+HhiQY4bhQAzu18VfaTYw=";
};
nativeBuildInputs = [

View file

@ -10,16 +10,16 @@
php.buildComposerProject2 (finalAttrs: {
pname = "phpunit";
version = "12.1.3";
version = "12.1.4";
src = fetchFromGitHub {
owner = "sebastianbergmann";
repo = "phpunit";
tag = finalAttrs.version;
hash = "sha256-JwEeH3oMiiIa1awLwOrtGfkwN3srhPErkpHaAJ2IFVE=";
hash = "sha256-qFjDbrCqX68ZU+l7ZDADbEyulGk6VY5s92PyfSAum00=";
};
vendorHash = "sha256-3wwv+g9VsNzqgj1m9fea6OhWzbU203I8CPXcJRyWEpg=";
vendorHash = "sha256-JEi6r5jmXBah+aPr12GxRtLCqJOH/t+zzSDmWqkzHIk=";
passthru = {
updateScript = nix-update-script { };

View file

@ -6,6 +6,7 @@
SDL2,
SDL2_ttf,
SDL2_image,
libX11,
openssl,
which,
libsForQt5,
@ -47,6 +48,7 @@ stdenv.mkDerivation (finalAttrs: {
SDL2
SDL2_ttf
SDL2_image
libX11
openssl
];

View file

@ -11,13 +11,13 @@
buildGoModule rec {
pname = "rare";
version = "0.4.3";
version = "0.4.4";
src = fetchFromGitHub {
owner = "zix99";
repo = "rare";
rev = version;
hash = "sha256-fb4JbfDVZpehDhWlQHoUOOstcPMgEFuRlIZQV6OdvkQ=";
hash = "sha256-hdOG7UGEi4MnFg0wbyDN4gDpQLb9sG3yUrQ/J0fwKkA=";
};
vendorHash = "sha256-wUOtxNjL/4MosACCzPTWKWrnMZhxINfN1ppkRsqDh9M=";

View file

@ -17,17 +17,17 @@
rustPlatform.buildRustPackage rec {
pname = "satty";
version = "0.16.0";
version = "0.17.0";
src = fetchFromGitHub {
owner = "gabm";
repo = "Satty";
rev = "v${version}";
hash = "sha256-81WX9GAZ0mPai1/4FrqDGDu6k4OVYrKSJSC/FkPkZmE=";
hash = "sha256-Lf/3h6Y6lKWQ8lPJZ6SCm3+w/Dc4m8yUYH7Xv0GAbqo=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-Yfy0IP2RzIv+PvCGb5cK54FN3rBH3CKdBhaPpASirQ0=";
cargoHash = "sha256-aqFNIxZydyCJX2sRmuVohfyVZdDgYSh7d8UMqog0cm0=";
nativeBuildInputs = [
copyDesktopItems

View file

@ -0,0 +1,94 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
ninja,
pkg-config,
curl,
openssl,
SDL2,
alsa-lib,
libGL,
libGLU,
libX11,
libXi,
libXcursor,
lua,
makeDesktopItem,
copyDesktopItems,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "skyemu";
version = "3-unstable-2025-02-23";
src = fetchFromGitHub {
owner = "skylersaleh";
repo = "SkyEmu";
rev = "f8573db83d15791b0cd94c29ceb46bf683963ff0";
hash = "sha256-LI4zBKjB48zYYYVZePzefRFrw/zvg17jzh5ZOPHAWok=";
};
nativeBuildInputs = [
cmake
copyDesktopItems
ninja
pkg-config
];
buildInputs =
[
alsa-lib
curl
libGL
libGLU
openssl
SDL2
]
++ lib.optionals stdenv.hostPlatform.isLinux [
libX11
libXi
libXcursor
lua
];
cmakeFlags = [
(lib.cmakeBool "USE_SYSTEM_CURL" true)
(lib.cmakeBool "USE_SYSTEM_OPENSSL" true)
(lib.cmakeBool "USE_SYSTEM_SDL2" true)
(lib.cmakeBool "ENABLE_RETRO_ACHIEVEMENTS" true)
];
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail 'set(CMAKE_OSX_ARCHITECTURES' '#set(CMAKE_OSX_ARCHITECTURES'
'';
desktopItems = [
(makeDesktopItem {
name = "skyemu";
exec = "SkyEmu";
icon = "skyemu";
comment = "GameBoy, GameBoy Color, GameBoy Advance, and DS emulator";
desktopName = "SkyEmu";
categories = [
"Game"
"Emulator"
];
})
];
postInstall = ''
install -Dm644 $src/src/resources/icons/icon.png $out/share/pixmaps/skyemu.png
'';
meta = {
description = "Low level GameBoy, GameBoy Color, Game Boy Advance, and DS emulator";
homepage = "https://github.com/skylersaleh/SkyEmu";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ liberodark ];
mainProgram = "SkyEmu";
platforms = with lib.platforms; unix ++ windows;
};
})

View file

@ -6,16 +6,16 @@
buildGoModule rec {
pname = "templ";
version = "0.3.857";
version = "0.3.865";
src = fetchFromGitHub {
owner = "a-h";
repo = "templ";
rev = "v${version}";
hash = "sha256-c3x7v5PeMJFADRfImMyEasvlC9WSjqHQxNDg1sgPBfQ=";
hash = "sha256-ngdn5ftTunVUIOwmovYgIlGkyrYjXSJkp+0fJEHXB+s=";
};
vendorHash = "sha256-JVOsjBn1LV8p6HHelfAO1Qcqi/tPg1S3xBffo+0aplE=";
vendorHash = "sha256-q4L+r6S0eMNd5hP9UQCI+GxSJoiMGpjd0UTxA8zb6KU=";
subPackages = [ "cmd/templ" ];

View file

@ -6,13 +6,13 @@
buildGoModule rec {
pname = "tfsec";
version = "1.28.13";
version = "1.28.14";
src = fetchFromGitHub {
owner = "aquasecurity";
repo = "tfsec";
tag = "v${version}";
hash = "sha256-4auh0MPLSAkygbVZC2PbEcA21PNmBNkr4fA1m1H9kyU=";
hash = "sha256-8nZU7CjeKfpx1Fl3YtuQepW0LAG9/ng+8bMkoT1xmCQ=";
};
ldflags = [
@ -23,7 +23,7 @@ buildGoModule rec {
# "-extldflags '-fno-PIC -static'"
];
vendorHash = "sha256-cGVHDq4exa1dZxEemCWNLA5H201SXwW0madYCWHwtxM=";
vendorHash = "sha256-SuXrZNjr+x4uIA8fIae/9kypH/GDDKaiymD12xJvIFw=";
subPackages = [
"cmd/tfsec"

View file

@ -109,7 +109,7 @@ lib.warnIf (useHardenedMalloc != null)
++ lib.optionals mediaSupport [ ffmpeg ]
);
version = "14.5";
version = "14.5.1";
sources = {
x86_64-linux = fetchurl {
@ -119,7 +119,7 @@ lib.warnIf (useHardenedMalloc != null)
"https://tor.eff.org/dist/torbrowser/${version}/tor-browser-linux-x86_64-${version}.tar.xz"
"https://tor.calyxinstitute.org/dist/torbrowser/${version}/tor-browser-linux-x86_64-${version}.tar.xz"
];
hash = "sha256-wSxmNPPJsLRjDVimc2Rp1rBcIgYp/CtPKuU6+gZfVmw=";
hash = "sha256-XmJsHPnzu7Sk1LeOQG2KN+s8YGeTI/Z7pa+OrkEIaIQ=";
};
i686-linux = fetchurl {
@ -129,7 +129,7 @@ lib.warnIf (useHardenedMalloc != null)
"https://tor.eff.org/dist/torbrowser/${version}/tor-browser-linux-i686-${version}.tar.xz"
"https://tor.calyxinstitute.org/dist/torbrowser/${version}/tor-browser-linux-i686-${version}.tar.xz"
];
hash = "sha256-upqpWUl5qmDj7Oc/wIGdNlgIJSaTbhxlq4X+zjCPHfA=";
hash = "sha256-68kqhHAwCBAxFnXW1MbMdG//AB3TI/luomVH3v26DkM=";
};
};

View file

@ -23,13 +23,13 @@
}:
stdenv.mkDerivation rec {
pname = "trunk-recorder";
version = "5.0.1";
version = "5.0.2";
src = fetchFromGitHub {
owner = "robotastic";
repo = "trunk-recorder";
rev = "v${version}";
hash = "sha256-d2iBCSLR3kr6rnLXO3MeGVdi6+8pqXZqW/yhxAvA1cY=";
hash = "sha256-UTowlW2xKJllYlEvfEVQEyjNmFX3oafKJThIYDx7dkc=";
};
cmakeFlags = [ "-DCMAKE_SKIP_BUILD_RPATH=ON" ];
@ -55,6 +55,12 @@ stdenv.mkDerivation rec {
++ lib.optionals hackrfSupport [ hackrf ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ mpir ];
postPatch = ''
# fix broken symlink
rm -v trunk-recorder/git.h
cp -v git.h trunk-recorder/git.h
'';
postFixup = ''
wrapProgram $out/bin/trunk-recorder --prefix PATH : ${
lib.makeBinPath [

View file

@ -17,13 +17,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "ugrep";
version = "7.3.0";
version = "7.4.2";
src = fetchFromGitHub {
owner = "Genivia";
repo = "ugrep";
rev = "v${finalAttrs.version}";
hash = "sha256-GwBXjHUXp5iTfTsGELkJISPOsP70xzx8XJcarhrQRtM=";
hash = "sha256-ZUjUqSDzcrbYXYqQjRfiNy2bCm2bUUmbBnn9YtpFSzo=";
};
nativeBuildInputs = [ makeWrapper ];

View file

@ -9,12 +9,12 @@
let
generator = pkgsBuildBuild.buildGoModule rec {
pname = "v2ray-domain-list-community";
version = "20250422055726";
version = "20250430053132";
src = fetchFromGitHub {
owner = "v2fly";
repo = "domain-list-community";
rev = version;
hash = "sha256-mKnZOvFHzUNndbLDY9c9RCxtQQaELrHB4iHMvwucgzE=";
hash = "sha256-Nc8ck9MfHi86052J0fUUePzNqVnD2ONlB5zKULH9y70=";
};
vendorHash = "sha256-NLh14rXRci4hgDkBJVJDIDvobndB7KYRKAX7UjyqSsg=";
meta = with lib; {

View file

@ -6,13 +6,13 @@
buildGoModule rec {
pname = "weaviate";
version = "1.30.1";
version = "1.30.2";
src = fetchFromGitHub {
owner = "weaviate";
repo = "weaviate";
rev = "v${version}";
hash = "sha256-Rxi21DifRnOzUgPO3U74LMQ/27NwvYzcj3INplTT1j4=";
hash = "sha256-/jaBELPSxmGY4atPxpGEZcLN6Xezesez9UBD/uQNkNg=";
};
vendorHash = "sha256-jXfVPdORMBOAl3Od3GknGo7Qtfb4H3RqGYdI6Jx1/5I=";

View file

@ -2,21 +2,22 @@
lib,
fetchFromGitHub,
rustPlatform,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "wgsl-analyzer";
version = "0.9.8";
version = "2025-04-04";
src = fetchFromGitHub {
owner = "wgsl-analyzer";
repo = "wgsl-analyzer";
tag = "v${version}";
hash = "sha256-UizD6cTRs6M5GaOX3wvacMr5JWwyHrQS6L19fRnw6Xo=";
tag = finalAttrs.version;
hash = "sha256-t+Gpm+p2EaobuzUppkhCsaj3q/v+YjMSlau4GVoLgJo=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-W1WQ00SFpYOm4J1C65Jg1Yb3pujdcDQFdrpIgqKRLk4=";
cargoHash = "sha256-QjR0O/GFOsYi0+r3rYBdR9rw/4Qa5pNjWSbn6CsshqU=";
checkFlags = [
# Imports failures
@ -26,10 +27,12 @@ rustPlatform.buildRustPackage rec {
"--skip=tests::struct_recover_3"
];
passthru.updateScript = nix-update-script { };
meta = {
description = "Language server implementation for the WGSL shading language";
homepage = "https://github.com/wgsl-analyzer/wgsl-analyzer";
changelog = "https://github.com/wgsl-analyzer/wgsl-analyzer/releases/tag/v${version}";
changelog = "https://github.com/wgsl-analyzer/wgsl-analyzer/releases/tag/v${finalAttrs.version}";
license = with lib.licenses; [
asl20
mit
@ -37,4 +40,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ genga898 ];
mainProgram = "wgsl-analyzer";
};
}
})

View file

@ -11,17 +11,17 @@
rustPlatform.buildRustPackage rec {
pname = "xh";
version = "0.24.0";
version = "0.24.1";
src = fetchFromGitHub {
owner = "ducaale";
repo = "xh";
rev = "v${version}";
hash = "sha256-5Eq/rJ917zjlTnuxdIWhBNr8LA/ag+fyECYYX5k2S7I=";
hash = "sha256-2c96O5SL6tcPSbxx8NYxG8LDX3ZgyxEMmEeJnKDwb38=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-jeEhlpOl4ZiR1kQxCI3e6jacszVogzROpFC2w43BjZ0=";
cargoHash = "sha256-oncf3Hd85LgKn8KSDIBHXLJ3INzfp0X/Ng9OjAltLB4=";
buildFeatures = lib.optional withNativeTls "native-tls";

View file

@ -21,6 +21,11 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-knc9PejugU6K4EQflfz91keZr3ZJqZu2TKFQFFJrxiI=";
};
configureFlags = lib.optionals (!lib.systems.equals stdenv.buildPlatform stdenv.hostPlatform) [
"ac_cv_func_malloc_0_nonnull=yes"
"ac_cv_func_realloc_0_nonnull=yes"
];
nativeBuildInputs = [
autoreconfHook
validatePkgConfig

View file

@ -100,7 +100,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
env = lib.optionalAttrs (lib.versionOlder version "1.11") {
env = lib.optionalAttrs (lib.versionOlder version "1.11" || stdenv.hostPlatform.isAarch64) {
NIX_CFLAGS_COMPILE = toString [
"-Wno-error=implicit-function-declaration"
"-Wno-error=incompatible-pointer-types"

View file

@ -14,13 +14,13 @@
stdenv.mkDerivation rec {
pname = "KDDockWidgets";
version = "2.2.3";
version = "2.2.4";
src = fetchFromGitHub {
owner = "KDAB";
repo = pname;
rev = "v${version}";
sha256 = "sha256-VDLHED/QKxccZ18WEPV7GPdr3v7VaizDa5sZq7ei5+g=";
sha256 = "sha256-B5Fy0ax5ytNB9w8a0HxsVdkQrFubLs/D26LAijrQk3E=";
};
nativeBuildInputs = [ cmake ];

View file

@ -16,14 +16,15 @@
quarto,
extraPythonPackages ? ps: [ ],
sysctl,
which,
}:
stdenv.mkDerivation (final: {
pname = "quarto";
version = "1.6.43";
version = "1.7.29";
src = fetchurl {
url = "https://github.com/quarto-dev/quarto-cli/releases/download/v${final.version}/quarto-${final.version}-linux-amd64.tar.gz";
hash = "sha256-9cwGPduP0BN0fNtMb8lklK5FftJMuuPaqCFRN8vL+cI=";
hash = "sha256-UFXNyovsvRmLTAHQ3P/XYZwL4su9xwmrTQCFy3VXkak=";
};
patches = [
@ -32,6 +33,7 @@ stdenv.mkDerivation (final: {
nativeBuildInputs = [
makeWrapper
which
];
dontStrip = true;
@ -81,7 +83,7 @@ stdenv.mkDerivation (final: {
quarto-check =
runCommand "quarto-check"
{
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ sysctl ];
nativeBuildInputs = [ which ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ sysctl ];
}
''
export HOME="$(mktemp -d)"

View file

@ -1,26 +1,5 @@
diff --git a/bin/quarto.js b/bin/quarto.js
index f854281..0b78f6e 100644
--- a/bin/quarto.js
+++ b/bin/quarto.js
@@ -28511,7 +28511,7 @@ function jupyterHubServicePrefix() {
return Deno.env.get("JUPYTERHUB_SERVICE_PREFIX");
}
function isInteractiveTerminal() {
- return Deno.isatty(Deno.stderr.rid);
+ return Deno.stderr.isTerminal();
}
function isInteractiveSession() {
return isRStudio() || isInteractiveTerminal() || isVSCodeOutputChannel();
@@ -83562,7 +83562,7 @@ function writeFileToStdout(file) {
});
const contents = readAllSync(df);
writeAllSync1(Deno.stdout, contents);
- Deno.close(df.rid);
+ df.close();
}
function clearLine() {
info(ansi.eraseLine.cursorLeft(), {
@@ -96154,6 +96154,7 @@ class ParserBase {
@@ -97360,6 +97360,7 @@
class SAXParser extends ParserBase {
_listeners = {};
_controller;
@ -28,7 +7,7 @@ index f854281..0b78f6e 100644
fireListeners(event) {
const [name, ...args] = event;
const list = this._listeners[name] || [];
@@ -96189,33 +96190,23 @@ class SAXParser extends ParserBase {
@@ -97395,33 +97396,23 @@
write(chunk, controller) {
try {
this._controller = controller;
@ -68,7 +47,7 @@ index f854281..0b78f6e 100644
}
}
on(event, listener) {
@@ -96326,8 +96317,7 @@ async function readSitemap(sitemapPath) {
@@ -97532,8 +97523,7 @@
}
});
const reader = await Deno.open(sitemapPath);
@ -78,72 +57,3 @@ index f854281..0b78f6e 100644
return urlset;
}
function writeSitemap(sitemapPath, urlset, draftMode) {
@@ -98407,21 +98397,21 @@ async function generateFeed(feed, feedItems, path) {
feed,
escape: __VIRTUAL_FILE172
});
- await Deno.write(feedFile.rid, textEncoder.encode(preamble));
+ await feedFile.write(textEncoder.encode(preamble));
for (const feedItem of feedItems){
const item = renderEjs(resourcePath("projects/website/listing/feed/item.ejs.md"), {
item: feedItem,
escape: __VIRTUAL_FILE172
});
- await Deno.write(feedFile.rid, textEncoder.encode(item));
+ await feedFile.write(textEncoder.encode(item));
}
const postamble = renderEjs(resourcePath("projects/website/listing/feed/postamble.ejs.md"), {
feed,
escape: __VIRTUAL_FILE172
});
- await Deno.write(feedFile.rid, textEncoder.encode(postamble));
+ await feedFile.write(textEncoder.encode(postamble));
} finally{
- Deno.close(feedFile.rid);
+ feedFile.close();
}
}
function prepareItems(items, options) {
@@ -112277,7 +112267,7 @@ async function renderForPublish(render, providerName, type, title, siteUrl) {
}
function stageDocumentPublish(title, publishFiles) {
const publishDir = globalTempContext().createDir();
- const stagedFiles = window.structuredClone(publishFiles);
+ const stagedFiles = globalThis.structuredClone(publishFiles);
stagedFiles.baseDir = publishDir;
for (const file of publishFiles.files){
const src = join2(publishFiles.baseDir, file);
@@ -126377,33 +126367,6 @@ function reportPeformanceMetrics() {
console.log("Performance metrics");
console.log("Quarto:");
console.log(JSON.stringify(quartoPerformanceMetrics(), null, 2));
- console.log();
- console.log("Deno:");
- const denoMetrics = JSON.parse(JSON.stringify(Deno.metrics()));
- denoMetrics.ops = Object.fromEntries(Object.entries(denoMetrics.ops).map(([key, opMetrics])=>{
- for (const key of Object.keys(opMetrics)){
- if (opMetrics[key] === 0) {
- delete opMetrics[key];
- }
- }
- return [
- key,
- opMetrics
- ];
- }).filter(([_key, opMetrics])=>Object.keys(opMetrics).length > 0).map(([key, opMetrics])=>{
- if (opMetrics.opsDispatched === opMetrics.opsDispatchedSync && opMetrics.opsDispatched === opMetrics.opsCompleted && opMetrics.opsDispatched === opMetrics.opsCompletedSync || opMetrics.opsDispatched === opMetrics.opsDispatchedAsync && opMetrics.opsDispatched === opMetrics.opsCompleted && opMetrics.opsDispatched === opMetrics.opsCompletedAsync) {
- return [
- key,
- opMetrics.opsDispatched
- ];
- } else {
- return [
- key,
- opMetrics
- ];
- }
- }));
- console.log(JSON.stringify(denoMetrics, null, 2));
}
async function mainRunner(runner) {
try {

View file

@ -21,7 +21,7 @@
buildPythonPackage rec {
pname = "appthreat-vulnerability-db";
version = "6.3.1";
version = "6.4.0";
pyproject = true;
disabled = pythonOlder "3.10";
@ -30,7 +30,7 @@ buildPythonPackage rec {
owner = "AppThreat";
repo = "vulnerability-db";
tag = "v${version}";
hash = "sha256-inyKxDF6q8+h2/tcGHEHztBz0uY512wIPebzu4wKYss=";
hash = "sha256-BW8MN4sbQ+Z7Mi1EyrhmIOzGl1Gd8RS7vuaVMBPCtpE=";
};
pythonRelaxDeps = [
@ -74,7 +74,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Vulnerability database and package search for sources such as OSV, NVD, GitHub and npm";
homepage = "https://github.com/appthreat/vulnerability-db";
changelog = "https://github.com/AppThreat/vulnerability-db/releases/tag/v${version}";
changelog = "https://github.com/AppThreat/vulnerability-db/releases/tag/${src.tag}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
mainProgram = "vdb";

View file

@ -359,7 +359,7 @@
buildPythonPackage rec {
pname = "boto3-stubs";
version = "1.38.6";
version = "1.38.7";
pyproject = true;
disabled = pythonOlder "3.7";
@ -367,7 +367,7 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "boto3_stubs";
inherit version;
hash = "sha256-NFnRID2lyjQAoWBrXaxTsQwxh3rBG7+VqCuFeE/zJ3E=";
hash = "sha256-/ah+DvDbraEXm2v1Y1Z930XW0BTF1oLStdsQEmPC60Q=";
};
build-system = [ setuptools ];

View file

@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "botocore-stubs";
version = "1.38.6";
version = "1.38.7";
pyproject = true;
disabled = pythonOlder "3.7";
@ -18,7 +18,7 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "botocore_stubs";
inherit version;
hash = "sha256-Vu2Hs+CHDSGpaKg0YSm1eOH2tw7pAtALu2sWLCkSIvQ=";
hash = "sha256-xh9jUyF+8PmT2prFkWKuRbeQOEMeo6aEda8vRAOwjpU=";
};
nativeBuildInputs = [ setuptools ];

View file

@ -12,14 +12,14 @@
buildPythonPackage rec {
pname = "diffsync";
version = "2.0.1";
version = "2.1.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "networktocode";
repo = "diffsync";
tag = "v${version}";
hash = "sha256-T3kcZcRm28WeXZTXBBCpaMxjgB0KmqvWO4gdILH5hCA=";
hash = "sha256-UZpGWa/UjHXp6jD0fPNWTMl1DZ1AWmILRX/5XRIpLdE=";
};
nativeBuildInputs = [
@ -44,7 +44,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Utility library for comparing and synchronizing different datasets";
homepage = "https://github.com/networktocode/diffsync";
changelog = "https://github.com/networktocode/diffsync/blob/v${version}/CHANGELOG.md";
changelog = "https://github.com/networktocode/diffsync/blob/${src.tag}/CHANGELOG.md";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ clerie ];
};

View file

@ -8,14 +8,14 @@
buildPythonPackage rec {
pname = "django-admin-datta";
version = "1.0.18";
version = "1.0.19";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-9gQHtdmDjeoyCNjp+HG9nNh2xyGTwASHUyg77GvEHGM=";
hash = "sha256-65fUrV4FIbuVvNX93rgOCMjz4CoozMHEEVpzJqtbhKY=";
};
propagatedBuildInputs = [ django ];

View file

@ -27,14 +27,14 @@
buildPythonPackage rec {
pname = "fireworks-ai";
version = "0.15.12";
version = "0.15.13";
pyproject = true;
# no source available
src = fetchPypi {
pname = "fireworks_ai";
inherit version;
hash = "sha256-I4ClPZIkTGCP05j42XuXOA2Jnz/3EAkfS1CRe3URnsI=";
hash = "sha256-ZZSF4R1HOYpNmKnL2OPWoUwdSJJ2j2e3+hzW0QH55io=";
};
build-system = [

View file

@ -141,8 +141,17 @@ buildPythonPackage rec {
"test_check_cjk_vertical_metrics"
"test_check_cjk_vertical_metrics_regressions"
"test_check_fontbakery_version_live_apis"
"test_command_check_googlefonts"
# AssertionError
"test_check_shape_languages"
"test_command_config_file"
"test_config_override"
];
disabledTestPaths = [
# ValueError: Check 'googlefonts/glyphsets/shape_languages' not found
"tests/test_checks_filesize.py"
"tests/test_checks_googlefonts_overrides.py"
];
postInstall = ''

View file

@ -1,38 +1,47 @@
{
lib,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
google-api-core,
google-cloud-core,
grpcio,
google-crc32c,
grpc-google-iam-v1,
libcst,
mock,
proto-plus,
protobuf,
# optional dependencies
libcst,
# testing
grpcio,
mock,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "google-cloud-bigtable";
version = "2.30.0";
pyproject = true;
version = "2.30.1";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "google_cloud_bigtable";
inherit version;
hash = "sha256-3bnfW9OVhUWf5hfzheSCeAY+w3VIalER0i3QtsGNSDM=";
src = fetchFromGitHub {
owner = "googleapis";
repo = "python-bigtable";
tag = "v${version}";
hash = "sha256-TciCYpnwfIIvOexp4Ing6grZ7ufFonwP2G26UzlNaJ4=";
};
pyproject = true;
build-system = [ setuptools ];
dependencies = [
google-api-core
google-cloud-core
google-crc32c
grpc-google-iam-v1
proto-plus
protobuf
@ -61,11 +70,11 @@ buildPythonPackage rec {
"google.cloud.bigtable"
];
meta = with lib; {
meta = {
description = "Google Cloud Bigtable API client library";
homepage = "https://github.com/googleapis/python-bigtable";
changelog = "https://github.com/googleapis/python-bigtable/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = [ ];
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.sarahec ];
};
}

View file

@ -34,6 +34,7 @@ buildPythonPackage {
disabledTests = [
"test_expand" # It depends on FHS
"test_blocking" # flaky, depends on comparing running time w/ magic value
];
nativeCheckInputs = [ pytestCheckHook ];

View file

@ -10,14 +10,14 @@
buildPythonPackage rec {
pname = "ihm";
version = "2.4";
version = "2.5";
pyproject = true;
src = fetchFromGitHub {
owner = "ihmwg";
repo = "python-ihm";
tag = version;
hash = "sha256-vlt1YDF8TiWOfql/pasHU1Q7N0EU1wz60yh3+KAVnvM=";
hash = "sha256-U9Ytb2v9gzOu6MMz6HFn+yY5N+qCi692bN602Rt13S8=";
};
nativeBuildInputs = [ swig ];

View file

@ -19,14 +19,14 @@
buildPythonPackage rec {
pname = "mizani";
version = "0.13.3";
version = "0.13.4";
pyproject = true;
src = fetchFromGitHub {
owner = "has2k1";
repo = "mizani";
tag = "v${version}";
hash = "sha256-nnkGZwvSEGXyqF6hQHtfXFCQYX8IEl3YTIABxtNAl40=";
hash = "sha256-gZ4rJw+m0XgpfV6nylTqR6Taer6bok5E93WxOyAhXCk=";
};
build-system = [ setuptools-scm ];

View file

@ -0,0 +1,64 @@
{
lib,
buildPythonPackage,
fetchFromGitea,
# build-system
pbr,
# dependencies
oslo-config,
oslo-log,
oslo-utils,
prometheus-client,
# tests
oslotest,
stestr,
}:
buildPythonPackage rec {
pname = "oslo-metrics";
version = "0.11.0";
src = fetchFromGitea {
domain = "opendev.org";
owner = "openstack";
repo = "oslo.metrics";
tag = version;
hash = "sha256-PiMrfVWRV3GQPJ7PnXzhAdTncXcFDPZFd+sMHVr65UU=";
};
env.PBR_VERSION = version;
build-system = [
pbr
];
dependencies = [
oslo-config
oslo-log
oslo-utils
prometheus-client
];
nativeCheckInputs = [
oslotest
stestr
];
checkPhase = ''
runHook preCheck
stestr run
runHook postCheck
'';
pythonImportsCheck = [ "oslo_metrics" ];
meta = with lib; {
description = "OpenStack library for collecting metrics from Oslo libraries";
homepage = "https://opendev.org/openstack/oslo.metrics";
license = licenses.asl20;
teams = [ teams.openstack ];
};
}

View file

@ -2,31 +2,37 @@
lib,
buildPythonPackage,
fetchPypi,
ddt,
# build-system
pbr,
setuptools,
# dependencies
debtcollector,
eventlet,
fixtures,
iso8601,
libxcrypt-legacy,
netaddr,
netifaces,
oslo-i18n,
oslotest,
packaging,
pbr,
psutil,
pyparsing,
pytz,
tzdata,
# tests
ddt,
eventlet,
fixtures,
iana-etc,
libredirect,
libxcrypt-legacy,
oslotest,
pyyaml,
qemu-utils,
replaceVars,
setuptools,
stdenv,
stestr,
testscenarios,
tzdata,
pyyaml,
iana-etc,
libredirect,
}:
buildPythonPackage rec {
@ -52,12 +58,12 @@ buildPythonPackage rec {
rm test-requirements.txt
'';
nativeBuildInputs = [
build-system = [
pbr
setuptools
];
propagatedBuildInputs = [
dependencies = [
debtcollector
iso8601
netaddr
@ -76,10 +82,10 @@ buildPythonPackage rec {
fixtures
libredirect.hook
oslotest
pyyaml
qemu-utils
stestr
testscenarios
pyyaml
];
# disabled tests:
@ -92,15 +98,16 @@ buildPythonPackage rec {
stestr run -e <(echo "
oslo_utils.tests.test_netutils.NetworkUtilsTest.test_is_valid_ip
oslo_utils.tests.test_netutils.NetworkUtilsTest.test_is_valid_ipv4
oslo_utils.tests.test_eventletutils.EventletUtilsTest.test_event_set_clear_timeout
")
'';
pythonImportsCheck = [ "oslo_utils" ];
meta = with lib; {
meta = {
description = "Oslo Utility library";
homepage = "https://github.com/openstack/oslo.utils";
license = licenses.asl20;
teams = [ teams.openstack ];
license = lib.licenses.asl20;
teams = [ lib.teams.openstack ];
};
}

View file

@ -1,39 +1,50 @@
{
lib,
aiofiles,
aioftp,
aiohttp,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
# build-system
setuptools-scm,
# dependencies
aiofiles,
aiohttp,
# optional dependencies
aioftp,
# tests
pytest-asyncio,
pytest-localserver,
pytest-socket,
pytestCheckHook,
pythonOlder,
setuptools-scm,
tqdm,
}:
buildPythonPackage rec {
pname = "parfive";
version = "2.1.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-zWy0GSQhMHMM9B1M9vKE6/UPGnHObJUI4EZ+yY8X3I4=";
src = fetchFromGitHub {
owner = "Cadair";
repo = "parfive";
tag = "v${version}";
hash = "sha256-fzyXKw+/aWlnE09CCHqak8MVIk/kcjXkFyV1EKw2cjA=";
};
buildInputs = [ setuptools-scm ];
pyproject = true;
propagatedBuildInputs = [
aioftp
build-system = [ setuptools-scm ];
dependencies = [
aiohttp
tqdm
];
optional-dependencies = {
ftp = [ aioftp ];
};
nativeCheckInputs = [
aiofiles
pytest-asyncio
@ -49,13 +60,17 @@ buildPythonPackage rec {
"test_ftp_http"
];
# Tests require local network access
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "parfive" ];
meta = with lib; {
meta = {
description = "HTTP and FTP parallel file downloader";
mainProgram = "parfive";
homepage = "https://parfive.readthedocs.io/";
license = licenses.mit;
maintainers = [ ];
changelog = "https://github.com/Cadair/parfive/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.sarahec ];
};
}

View file

@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "plaid-python";
version = "30.0.0";
version = "31.0.0";
pyproject = true;
disabled = pythonOlder "3.6";
@ -19,7 +19,7 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "plaid_python";
inherit version;
hash = "sha256-qCaXtvLceFg5njbKbqPVHW81HniGswB4HIdWU51/4X4=";
hash = "sha256-cQAmKq3xqDih57MnUB8dSSHHVofj/4xFiY5gQ+EER9M=";
};
build-system = [ setuptools ];

View file

@ -19,14 +19,14 @@
buildPythonPackage rec {
pname = "posthog";
version = "3.25.0";
version = "4.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "PostHog";
repo = "posthog-python";
tag = "v${version}";
hash = "sha256-DETcD6VJseQelGhSYKqXpIxsQxB3/5RY2wWB9pxhI68=";
hash = "sha256-JEoltzbpbHOehdqaKkGJbrcjaOXC7wDQh++S/klsW9o=";
};
build-system = [ setuptools ];

View file

@ -50,6 +50,11 @@ buildPythonPackage rec {
six
];
disabledTests = [
# The memory usage goes *down* on Darwin, which the test confuses for an increase and fails
"test_get_metadata_memory_usage"
];
pythonImportsCheck = [ "pyeclib" ];
meta = with lib; {

View file

@ -8,13 +8,13 @@
buildPythonPackage rec {
pname = "pysol-cards";
version = "0.18.1";
version = "0.20.0";
format = "setuptools";
src = fetchPypi {
inherit version;
pname = "pysol_cards";
hash = "sha256-EDx8DDGecug24Jm7tH/1S+cp2XXjXBG6dNSsXkKGuOs=";
hash = "sha256-0jlmFojJyvvTA+Hv0PEUjZByHja5lC+mFVOtUgoVa0E=";
};
propagatedBuildInputs = [

View file

@ -2,35 +2,34 @@
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pycryptodome,
unittestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage {
pname = "sjcl";
version = "0.2.1";
format = "setuptools";
pyproject = true;
# PyPi release is missing tests
src = fetchFromGitHub {
owner = "berlincode";
repo = pname;
repo = "sjcl";
# commit from: 2018-08-16, because there aren't any tags on git
rev = "e8bdad312fa99c89c74f8651a1240afba8a9f3bd";
sha256 = "1v8rc55v28v8cl7nxcavj34am005wi63zcvwnbc6pyfbv4ss30ab";
hash = "sha256-S4GhNdnL+WvYsnyzP0zkBYCqyJBbsW4PZWgjsUthGe0=";
};
propagatedBuildInputs = [ pycryptodome ];
build-system = [ setuptools ];
nativeCheckInputs = [ unittestCheckHook ];
dependencies = [ pycryptodome ];
pythonImportsCheck = [ "sjcl" ];
meta = with lib; {
description = "Decrypt and encrypt messages compatible to the \"Stanford Javascript Crypto Library (SJCL)\" message format. This is a wrapper around pycrypto";
meta = {
description = "Decrypt and encrypt messages compatible to the \"Stanford Javascript Crypto Library (SJCL)\" message format";
homepage = "https://github.com/berlincode/sjcl";
license = licenses.bsd3;
maintainers = with maintainers; [ binsky ];
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ binsky ];
};
}

View file

@ -10,14 +10,14 @@
buildPythonPackage rec {
pname = "wagtail-modeladmin";
version = "2.1.0";
version = "2.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "wagtail-nest";
repo = "wagtail-modeladmin";
tag = "v${version}";
hash = "sha256-IG7e7YomMM7K2IlJ1Dr1zo+blDPHnu/JeS5csos8ncc=";
hash = "sha256-P75jrH4fMODZHht+RAOd0/MutxsWtmui5Kxk8F/Ew0Q=";
};
# Fail with `AssertionError`
@ -53,7 +53,7 @@ buildPythonPackage rec {
meta = {
description = "Add any model in your project to the Wagtail admin. Formerly wagtail.contrib.modeladmin";
homepage = "https://github.com/wagtail-nest/wagtail-modeladmin";
changelog = "https://github.com/wagtail/wagtail-modeladmin/blob/v${version}/CHANGELOG.md";
changelog = "https://github.com/wagtail/wagtail-modeladmin/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ sephi ];
};

View file

@ -1,12 +1,17 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
# build-system
hatchling,
# dependencies
aiosqlite,
anyio,
y-py,
# testing
pytest-asyncio,
pytestCheckHook,
uvicorn,
@ -16,9 +21,7 @@
buildPythonPackage rec {
pname = "ypy-websocket";
version = "0.12.4";
format = "pyproject";
disabled = pythonOlder "3.7";
pyproject = true;
src = fetchFromGitHub {
owner = "y-crdt";
@ -27,13 +30,11 @@ buildPythonPackage rec {
hash = "sha256-48x+MUhev9dErC003XOP3oGKd5uOghlBFgcR8Nm/0xs=";
};
build-system = [ hatchling ];
pythonRelaxDeps = [ "aiofiles" ];
nativeBuildInputs = [
hatchling
];
propagatedBuildInputs = [
dependencies = [
aiosqlite
anyio
y-py
@ -41,6 +42,8 @@ buildPythonPackage rec {
pythonImportsCheck = [ "ypy_websocket" ];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
@ -51,6 +54,8 @@ buildPythonPackage rec {
disabledTestPaths = [
# requires installing yjs Node.js module
"tests/test_ypy_yjs.py"
# Depends on no longer maintained ypy
"tests/test_asgi.py"
];
meta = {

Some files were not shown because too many files have changed in this diff Show more