0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2024-08-31 12:05:08 +00:00 committed by GitHub
commit c33b70bb75
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
86 changed files with 19485 additions and 1005 deletions

View file

@ -114,6 +114,4 @@ in {
genode = filterDoubles predicates.isGenode; genode = filterDoubles predicates.isGenode;
embedded = filterDoubles predicates.isNone; embedded = filterDoubles predicates.isNone;
mesaPlatforms = ["i686-linux" "x86_64-linux" "x86_64-darwin" "armv5tel-linux" "armv6l-linux" "armv7l-linux" "armv7a-linux" "aarch64-linux" "powerpc64-linux" "powerpc64le-linux" "aarch64-darwin" "riscv64-linux"];
} }

View file

@ -188,6 +188,7 @@ in {
ceph-multi-node = handleTestOn [ "aarch64-linux" "x86_64-linux" ] ./ceph-multi-node.nix {}; ceph-multi-node = handleTestOn [ "aarch64-linux" "x86_64-linux" ] ./ceph-multi-node.nix {};
ceph-single-node = handleTestOn [ "aarch64-linux" "x86_64-linux" ] ./ceph-single-node.nix {}; ceph-single-node = handleTestOn [ "aarch64-linux" "x86_64-linux" ] ./ceph-single-node.nix {};
ceph-single-node-bluestore = handleTestOn [ "aarch64-linux" "x86_64-linux" ] ./ceph-single-node-bluestore.nix {}; ceph-single-node-bluestore = handleTestOn [ "aarch64-linux" "x86_64-linux" ] ./ceph-single-node-bluestore.nix {};
ceph-single-node-bluestore-dmcrypt = handleTestOn [ "aarch64-linux" "x86_64-linux" ] ./ceph-single-node-bluestore-dmcrypt.nix {};
certmgr = handleTest ./certmgr.nix {}; certmgr = handleTest ./certmgr.nix {};
cfssl = handleTestOn ["aarch64-linux" "x86_64-linux"] ./cfssl.nix {}; cfssl = handleTestOn ["aarch64-linux" "x86_64-linux"] ./cfssl.nix {};
cgit = handleTest ./cgit.nix {}; cgit = handleTest ./cgit.nix {};

View file

@ -0,0 +1,270 @@
import ./make-test-python.nix (
{ pkgs, lib, ... }:
let
# the single node ipv6 address
ip = "2001:db8:ffff::";
# the global ceph cluster id
cluster = "54465b37-b9d8-4539-a1f9-dd33c75ee45a";
# the fsids of OSDs
osd-fsid-map = {
"0" = "1c1b7ea9-06bf-4d30-9a01-37ac3a0254aa";
"1" = "bd5a6f49-69d5-428c-ac25-a99f0c44375c";
"2" = "c90de6c7-86c6-41da-9694-e794096dfc5c";
};
in
{
name = "basic-single-node-ceph-cluster-bluestore-dmcrypt";
meta = with pkgs.lib.maintainers; {
maintainers = [ benaryorg nh2 ];
};
nodes = {
ceph =
{ pkgs, config, ... }:
{
# disks for bluestore
virtualisation.emptyDiskImages = [
20480
20480
20480
];
# networking setup (no external connectivity required, only local IPv6)
networking.useDHCP = false;
systemd.network = {
enable = true;
wait-online.extraArgs = [
"-i"
"lo"
];
networks = {
"40-loopback" = {
enable = true;
name = "lo";
DHCP = "no";
addresses = [ { Address = "${ip}/128"; } ];
};
};
};
# do not start the ceph target by default so we can format the disks first
systemd.targets.ceph.wantedBy = lib.mkForce [ ];
# add the packages to systemPackages so the testscript doesn't run into any unexpected issues
# this shouldn't be required on production systems which have their required packages in the unit paths only
# but it helps in case one needs to actually run the tooling anyway
environment.systemPackages = with pkgs; [
ceph
cryptsetup
lvm2
];
services.ceph = {
enable = true;
client.enable = true;
extraConfig = {
public_addr = ip;
cluster_addr = ip;
# ipv6
ms_bind_ipv4 = "false";
ms_bind_ipv6 = "true";
# msgr2 settings
ms_cluster_mode = "secure";
ms_service_mode = "secure";
ms_client_mode = "secure";
ms_mon_cluster_mode = "secure";
ms_mon_service_mode = "secure";
ms_mon_client_mode = "secure";
# less default modules, cuts down on memory and startup time in the tests
mgr_initial_modules = "";
# distribute by OSD, not by host, as per https://docs.ceph.com/en/reef/cephadm/install/#single-host
osd_crush_chooseleaf_type = "0";
};
client.extraConfig."mon.0" = {
host = "ceph";
mon_addr = "v2:[${ip}]:3300";
public_addr = "v2:[${ip}]:3300";
};
global = {
fsid = cluster;
clusterNetwork = "${ip}/64";
publicNetwork = "${ip}/64";
monInitialMembers = "0";
};
mon = {
enable = true;
daemons = [ "0" ];
};
osd = {
enable = true;
daemons = builtins.attrNames osd-fsid-map;
};
mgr = {
enable = true;
daemons = [ "ceph" ];
};
};
systemd.services =
let
osd-name = id: "ceph-osd-${id}";
osd-pre-start = id: [
"!${config.services.ceph.osd.package.out}/bin/ceph-volume lvm activate --bluestore ${id} ${osd-fsid-map.${id}} --no-systemd"
"${config.services.ceph.osd.package.lib}/libexec/ceph/ceph-osd-prestart.sh --id ${id} --cluster ${config.services.ceph.global.clusterName}"
];
osd-post-stop = id: [
"!${config.services.ceph.osd.package.out}/bin/ceph-volume lvm deactivate ${id}"
];
map-osd = id: {
name = osd-name id;
value = {
serviceConfig.ExecStartPre = lib.mkForce (osd-pre-start id);
serviceConfig.ExecStopPost = osd-post-stop id;
unitConfig.ConditionPathExists = lib.mkForce [ ];
unitConfig.StartLimitBurst = lib.mkForce 4;
path = with pkgs; [
util-linux
lvm2
cryptsetup
];
};
};
in
lib.pipe config.services.ceph.osd.daemons [
(builtins.map map-osd)
builtins.listToAttrs
];
};
};
testScript =
{ ... }:
''
start_all()
ceph.wait_for_unit("default.target")
# Bootstrap ceph-mon daemon
ceph.succeed(
"mkdir -p /var/lib/ceph/bootstrap-osd",
"ceph-authtool --create-keyring /tmp/ceph.mon.keyring --gen-key -n mon. --cap mon 'allow *'",
"ceph-authtool --create-keyring /etc/ceph/ceph.client.admin.keyring --gen-key -n client.admin --cap mon 'allow *' --cap osd 'allow *' --cap mds 'allow *' --cap mgr 'allow *'",
"ceph-authtool --create-keyring /var/lib/ceph/bootstrap-osd/ceph.keyring --gen-key -n client.bootstrap-osd --cap mon 'profile bootstrap-osd' --cap mgr 'allow r'",
"ceph-authtool /tmp/ceph.mon.keyring --import-keyring /etc/ceph/ceph.client.admin.keyring",
"ceph-authtool /tmp/ceph.mon.keyring --import-keyring /var/lib/ceph/bootstrap-osd/ceph.keyring",
"monmaptool --create --fsid ${cluster} --addv 0 'v2:[${ip}]:3300/0' --clobber /tmp/ceph.initial-monmap",
"mkdir -p /var/lib/ceph/mon/ceph-0",
"ceph-mon --mkfs -i 0 --monmap /tmp/ceph.initial-monmap --keyring /tmp/ceph.mon.keyring",
"chown ceph:ceph -R /tmp/ceph.mon.keyring /var/lib/ceph",
"systemctl start ceph-mon-0.service",
)
ceph.wait_for_unit("ceph-mon-0.service")
# should the mon not start or bind for some reason this gives us a better error message than the config commands running into a timeout
ceph.wait_for_open_port(3300, "${ip}")
ceph.succeed(
# required for HEALTH_OK
"ceph config set mon auth_allow_insecure_global_id_reclaim false",
# IPv6
"ceph config set global ms_bind_ipv4 false",
"ceph config set global ms_bind_ipv6 true",
# the new (secure) protocol
"ceph config set global ms_bind_msgr1 false",
"ceph config set global ms_bind_msgr2 true",
# just a small little thing
"ceph config set mon mon_compact_on_start true",
)
# Can't check ceph status until a mon is up
ceph.succeed("ceph -s | grep 'mon: 1 daemons'")
# Bootstrap OSDs (do this before starting the mgr because cryptsetup and the mgr both eat a lot of memory)
ceph.succeed(
# this will automatically do what's required for LVM, cryptsetup, and stores all the data in Ceph's internal databases
"ceph-volume lvm prepare --bluestore --data /dev/vdb --dmcrypt --no-systemd --osd-id 0 --osd-fsid ${osd-fsid-map."0"}",
"ceph-volume lvm prepare --bluestore --data /dev/vdc --dmcrypt --no-systemd --osd-id 1 --osd-fsid ${osd-fsid-map."1"}",
"ceph-volume lvm prepare --bluestore --data /dev/vdd --dmcrypt --no-systemd --osd-id 2 --osd-fsid ${osd-fsid-map."2"}",
"sudo ceph-volume lvm deactivate 0",
"sudo ceph-volume lvm deactivate 1",
"sudo ceph-volume lvm deactivate 2",
"chown -R ceph:ceph /var/lib/ceph",
)
# Start OSDs (again, argon2id eats memory, so this happens before starting the mgr)
ceph.succeed(
"systemctl start ceph-osd-0.service",
"systemctl start ceph-osd-1.service",
"systemctl start ceph-osd-2.service",
)
ceph.wait_until_succeeds("ceph -s | grep 'quorum 0'")
ceph.wait_until_succeeds("ceph osd stat | grep -e '3 osds: 3 up[^,]*, 3 in'")
# Start the ceph-mgr daemon, after copying in the keyring
ceph.succeed(
"mkdir -p /var/lib/ceph/mgr/ceph-ceph/",
"ceph auth get-or-create -o /var/lib/ceph/mgr/ceph-ceph/keyring mgr.ceph mon 'allow profile mgr' osd 'allow *' mds 'allow *'",
"chown -R ceph:ceph /var/lib/ceph/mgr/ceph-ceph/",
"systemctl start ceph-mgr-ceph.service",
)
ceph.wait_for_unit("ceph-mgr-ceph")
ceph.wait_until_succeeds("ceph -s | grep 'quorum 0'")
ceph.wait_until_succeeds("ceph -s | grep 'mgr: ceph(active,'")
ceph.wait_until_succeeds("ceph osd stat | grep -e '3 osds: 3 up[^,]*, 3 in'")
ceph.wait_until_succeeds("ceph -s | grep 'HEALTH_OK'")
# test the actual storage
ceph.succeed(
"ceph osd pool create single-node-test 32 32",
"ceph osd pool ls | grep 'single-node-test'",
# We need to enable an application on the pool, otherwise it will
# stay unhealthy in state POOL_APP_NOT_ENABLED.
# Creating a CephFS would do this automatically, but we haven't done that here.
# See: https://docs.ceph.com/en/reef/rados/operations/pools/#associating-a-pool-with-an-application
# We use the custom application name "nixos-test" for this.
"ceph osd pool application enable single-node-test nixos-test",
"ceph osd pool rename single-node-test single-node-other-test",
"ceph osd pool ls | grep 'single-node-other-test'",
)
ceph.wait_until_succeeds("ceph -s | grep '2 pools, 33 pgs'")
ceph.wait_until_succeeds("ceph -s | grep 'HEALTH_OK'")
ceph.wait_until_succeeds("ceph -s | grep '33 active+clean'")
ceph.fail(
# the old pool should be gone
"ceph osd pool ls | grep 'multi-node-test'",
# deleting the pool should fail without setting mon_allow_pool_delete
"ceph osd pool delete single-node-other-test single-node-other-test --yes-i-really-really-mean-it",
)
# rebooting gets rid of any potential tmpfs mounts or device-mapper devices
ceph.shutdown()
ceph.start()
ceph.wait_for_unit("default.target")
# Start it up (again OSDs first due to memory constraints of cryptsetup and mgr)
ceph.systemctl("start ceph-mon-0.service")
ceph.wait_for_unit("ceph-mon-0")
ceph.systemctl("start ceph-osd-0.service")
ceph.wait_for_unit("ceph-osd-0")
ceph.systemctl("start ceph-osd-1.service")
ceph.wait_for_unit("ceph-osd-1")
ceph.systemctl("start ceph-osd-2.service")
ceph.wait_for_unit("ceph-osd-2")
ceph.systemctl("start ceph-mgr-ceph.service")
ceph.wait_for_unit("ceph-mgr-ceph")
# Ensure the cluster comes back up again
ceph.succeed("ceph -s | grep 'mon: 1 daemons'")
ceph.wait_until_succeeds("ceph -s | grep 'quorum 0'")
ceph.wait_until_succeeds("ceph osd stat | grep -E '3 osds: 3 up[^,]*, 3 in'")
ceph.wait_until_succeeds("ceph -s | grep 'mgr: ceph(active,'")
ceph.wait_until_succeeds("ceph -s | grep 'HEALTH_OK'")
'';
}
)

View file

@ -4,7 +4,7 @@
exiv2, lcms2, cfitsio, exiv2, lcms2, cfitsio,
baloo, kactivities, kio, kipi-plugins, kitemmodels, kparts, libkdcraw, libkipi, baloo, kactivities, kio, kipi-plugins, kitemmodels, kparts, libkdcraw, libkipi,
phonon, qtimageformats, qtsvg, qtx11extras, kinit, kpurpose, kcolorpicker, kimageannotator, phonon, qtimageformats, qtsvg, qtx11extras, kinit, kpurpose, kcolorpicker, kimageannotator,
wayland, wayland-protocols wayland, wayland-protocols, wayland-scanner
}: }:
mkDerivation { mkDerivation {
@ -20,7 +20,7 @@ mkDerivation {
# Fix build with versioned kImageAnnotator # Fix build with versioned kImageAnnotator
patches = [./kimageannotator.patch]; patches = [./kimageannotator.patch];
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools wayland-scanner ];
buildInputs = [ buildInputs = [
baloo kactivities kio kitemmodels kparts libkdcraw libkipi phonon baloo kactivities kio kitemmodels kparts libkdcraw libkipi phonon
exiv2 lcms2 cfitsio exiv2 lcms2 cfitsio

View file

@ -5,13 +5,13 @@
, knotifications, kscreen, kwidgetsaddons, kwindowsystem, kxmlgui, libkipi , knotifications, kscreen, kwidgetsaddons, kwindowsystem, kxmlgui, libkipi
, qtx11extras, knewstuff, kwayland, qttools, kcolorpicker, kimageannotator , qtx11extras, knewstuff, kwayland, qttools, kcolorpicker, kimageannotator
, qcoro, qtquickcontrols2, wayland, plasma-wayland-protocols, kpurpose, kpipewire , qcoro, qtquickcontrols2, wayland, plasma-wayland-protocols, kpurpose, kpipewire
, wrapGAppsHook3 , wrapGAppsHook3, wayland-scanner
}: }:
mkDerivation { mkDerivation {
pname = "spectacle"; pname = "spectacle";
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook3 ]; nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook3 wayland-scanner ];
buildInputs = [ buildInputs = [
kconfig kcoreaddons kdbusaddons kdeclarative ki18n kio knotifications kconfig kcoreaddons kdbusaddons kdeclarative ki18n kio knotifications
kscreen kwidgetsaddons kwindowsystem kxmlgui libkipi qtx11extras xcb-util-cursor kscreen kwidgetsaddons kwindowsystem kxmlgui libkipi qtx11extras xcb-util-cursor

View file

@ -15,16 +15,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "inlyne"; pname = "inlyne";
version = "0.4.2"; version = "0.4.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "trimental"; owner = "Inlyne-Project";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-Kae8WnahA/6k6QT5htYU2+diAFkmxVsbVaxRUlhf39o="; hash = "sha256-j4DEau7LZxIoVIIYwCUgqmkSgdRxWzF5/vOS0lvjgUk=";
}; };
cargoHash = "sha256-M6daK2y9HBRDV2wQjw87g1QYOqiJBfRf9uW1Eg6z6C8="; cargoHash = "sha256-fMovzaP+R0CUwJy1HKATH2tPrIPwzGtubF1WHUoQDRY=";
nativeBuildInputs = [ nativeBuildInputs = [
installShellFiles installShellFiles
@ -65,8 +65,8 @@ rustPlatform.buildRustPackage rec {
meta = with lib; { meta = with lib; {
description = "GPU powered browserless markdown viewer"; description = "GPU powered browserless markdown viewer";
homepage = "https://github.com/trimental/inlyne"; homepage = "https://github.com/Inlyne-Project/inlyne";
changelog = "https://github.com/trimental/inlyne/releases/tag/${src.rev}"; changelog = "https://github.com/Inlyne-Project/inlyne/releases/tag/${src.rev}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ figsoda ]; maintainers = with maintainers; [ figsoda ];
mainProgram = "inlyne"; mainProgram = "inlyne";

View file

@ -6,6 +6,7 @@
, river , river
, wayland , wayland
, wayland-protocols , wayland-protocols
, wayland-scanner
, zig_0_12 , zig_0_12
}: }:
@ -26,6 +27,7 @@ stdenv.mkDerivation (finalAttrs: {
river river
wayland wayland
wayland-protocols wayland-protocols
wayland-scanner
zig_0_12.hook zig_0_12.hook
]; ];

View file

@ -28,13 +28,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "planify"; pname = "planify";
version = "4.10.8"; version = "4.11.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "alainm23"; owner = "alainm23";
repo = "planify"; repo = "planify";
rev = version; rev = version;
hash = "sha256-gbwpNlWtJocKQqTFLoroUbXn4FOOA7LO1H/IduEsyrg="; hash = "sha256-jAQXe7g+u4tHca4QL8Ae8Yvl+esvGQpCHbDlycAwFZ4=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, SDL, SDL_ttf, SDL_image, libSM, libICE, libGLU, libGL, libpng, lua5, autoconf, automake }: { lib, stdenv, fetchFromGitHub, fetchpatch, SDL, SDL_ttf, SDL_image, libSM, libICE, libGLU, libGL, libpng, lua5, autoconf, automake, mesa }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gravit"; pname = "gravit";
@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
view in 3D and zoom in and out. view in 3D and zoom in and out.
''; '';
platforms = lib.platforms.mesaPlatforms; inherit (mesa.meta) platforms;
hydraPlatforms = lib.platforms.linux; # darwin times out hydraPlatforms = lib.platforms.linux; # darwin times out
}; };
} }

View file

@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub, cmake, eigen, avogadrolibs, molequeue, hdf5 { lib, stdenv, fetchFromGitHub, cmake, eigen, avogadrolibs, molequeue, hdf5
, openbabel, qttools, wrapQtAppsHook , openbabel, qttools, wrapQtAppsHook, mesa
}: }:
let let
@ -44,7 +44,7 @@ in stdenv.mkDerivation rec {
mainProgram = "avogadro2"; mainProgram = "avogadro2";
maintainers = with maintainers; [ sheepforce ]; maintainers = with maintainers; [ sheepforce ];
homepage = "https://github.com/OpenChemistry/avogadroapp"; homepage = "https://github.com/OpenChemistry/avogadroapp";
platforms = platforms.mesaPlatforms; inherit (mesa.meta) platforms;
license = licenses.bsd3; license = licenses.bsd3;
}; };
} }

View file

@ -5,6 +5,7 @@
, ninja , ninja
, pkg-config , pkg-config
, wayfire , wayfire
, wayland-scanner
, wf-config , wf-config
, libevdev , libevdev
, libinput , libinput
@ -29,6 +30,7 @@ stdenv.mkDerivation (finalAttrs: {
meson meson
ninja ninja
pkg-config pkg-config
wayland-scanner
]; ];
buildInputs = [ buildInputs = [

View file

@ -29,6 +29,7 @@
vulkan-headers, vulkan-headers,
vulkan-loader, vulkan-loader,
wayland, wayland,
wayland-scanner,
wrapGAppsHook3, wrapGAppsHook3,
wxGTK32, wxGTK32,
zarchive, zarchive,
@ -73,6 +74,7 @@ in stdenv.mkDerivation (finalAttrs: {
ninja ninja
pkg-config pkg-config
wxGTK32 wxGTK32
wayland-scanner
]; ];
buildInputs = [ buildInputs = [

17427
pkgs/by-name/es/eslint/package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,33 @@
{
lib,
buildNpmPackage,
fetchFromGitHub,
}:
buildNpmPackage rec {
pname = "eslint";
version = "9.9.1";
src = fetchFromGitHub {
owner = "eslint";
repo = "eslint";
rev = "refs/tags/v${version}";
hash = "sha256-n07a50bigglwr3ItZqbyQxu0mPZawTSVunwIe8goJBQ=";
};
postPatch = ''
cp ${./package-lock.json} package-lock.json
'';
npmDepsHash = "sha256-/E1JUsbPyHzWJ4kuNRg/blYRaAdATYbk+jnJFJyzHLE=";
dontNpmBuild = true;
dontNpmPrune = true;
meta = {
description = "Find and fix problems in your JavaScript code";
homepage = "https://eslint.org";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.onny ];
};
}

View file

@ -5,6 +5,7 @@
, cmake , cmake
, wayland , wayland
, wayland-protocols , wayland-protocols
, wayland-scanner
, hyprlang , hyprlang
, sdbus-cpp , sdbus-cpp
, systemd , systemd
@ -24,6 +25,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
pkg-config pkg-config
wayland-scanner
]; ];
buildInputs = [ buildInputs = [

View file

@ -0,0 +1,39 @@
{
lib,
fetchFromGitLab,
stdenv,
cmake,
kdePackages,
libsForQt5,
}:
stdenv.mkDerivation {
pname = "licensedigger";
version = "0-unstable-2024-08-28";
src = fetchFromGitLab {
domain = "invent.kde.org";
owner = "SDK";
repo = "licensedigger";
rev = "cc4b24d3fb67afa8fb0a9ef61210588958eaf0f5";
hash = "sha256-/ZEja+iDx0lVkJaLshPd1tZD4ZUspVeFHY1TNXjr4qg=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [
kdePackages.extra-cmake-modules
libsForQt5.qtbase
];
dontWrapQtApps = true;
meta = {
description = "Tools to convert existing license headers to SPDX compliant headers";
homepage = "https://invent.kde.org/sdk/licensedigger";
license = with lib.licenses; [
gpl2Only
gpl3Only
];
maintainers = with lib.maintainers; [ onny ];
};
}

View file

@ -10,16 +10,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "matrix-commander-rs"; pname = "matrix-commander-rs";
version = "0.3.0"; version = "0.4.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "8go"; owner = "8go";
repo = "matrix-commander-rs"; repo = "matrix-commander-rs";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-aecmd7LtHowH+nqLcRNDSfAxZDKtBTrG1KNyRup8CYI="; hash = "sha256-UoqddgXrwaKtIE0cuAFkfrgmvLIDRpGjl5jBQvh9mdI=";
}; };
cargoHash = "sha256-2biUWLWE0XtmB79yxFahQqLmqwH/6q50IhkcbUrBifU="; cargoHash = "sha256-cMXnMCiMeM4Tykquco7G3kcZC2xxoDl+uWqrQLFp1VM=";
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];

View file

@ -6,10 +6,10 @@
}: }:
let let
pname = "remnote"; pname = "remnote";
version = "1.16.101"; version = "1.16.107";
src = fetchurl { src = fetchurl {
url = "https://download2.remnote.io/remnote-desktop2/RemNote-${version}.AppImage"; url = "https://download2.remnote.io/remnote-desktop2/RemNote-${version}.AppImage";
hash = "sha256-gK54K48s+5u2uv9ZxR0PVekZHdtgguCb+qHOVb2awAE="; hash = "sha256-U3m8daxJzM5lp6AAPOgNdaxWaHvhkt7KRCisHQghY9Y=";
}; };
appimageContents = appimageTools.extractType2 { inherit pname version src; }; appimageContents = appimageTools.extractType2 { inherit pname version src; };
in in

View file

@ -608,6 +608,12 @@ dependencies = [
"windows-sys 0.48.0", "windows-sys 0.48.0",
] ]
[[package]]
name = "num-conv"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"
[[package]] [[package]]
name = "num-traits" name = "num-traits"
version = "0.2.17" version = "0.2.17"
@ -834,7 +840,7 @@ dependencies = [
[[package]] [[package]]
name = "roon-tui" name = "roon-tui"
version = "0.3.0" version = "0.3.2"
dependencies = [ dependencies = [
"any_ascii", "any_ascii",
"chrono", "chrono",
@ -1075,13 +1081,14 @@ dependencies = [
[[package]] [[package]]
name = "time" name = "time"
version = "0.3.30" version = "0.3.36"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c4a34ab300f2dee6e562c10a046fc05e358b29f9bf92277f30c3c8d82275f6f5" checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885"
dependencies = [ dependencies = [
"deranged", "deranged",
"itoa", "itoa",
"libc", "libc",
"num-conv",
"num_threads", "num_threads",
"powerfmt", "powerfmt",
"serde", "serde",
@ -1097,10 +1104,11 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
[[package]] [[package]]
name = "time-macros" name = "time-macros"
version = "0.2.15" version = "0.2.18"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4ad70d68dba9e1f8aceda7aa6711965dfec1cac869f311a51bd08b3a2ccbce20" checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf"
dependencies = [ dependencies = [
"num-conv",
"time-core", "time-core",
] ]

View file

@ -5,13 +5,13 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "roon-tui"; pname = "roon-tui";
version = "0.3.0"; version = "0.3.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "TheAppgineer"; owner = "TheAppgineer";
repo = "roon-tui"; repo = "roon-tui";
rev = version; rev = version;
hash = "sha256-rwZPUa6NyKs+jz0+JQC0kSrw0T/EL+ms2m+AzHvrI7o="; hash = "sha256-ocPSqj9/xJ2metetn6OY+IEFWysbstPmh2N5Jd8NDPM=";
}; };
cargoLock = { cargoLock = {

View file

@ -14,6 +14,7 @@
alsa-lib, alsa-lib,
makeWrapper, makeWrapper,
docutils, docutils,
wayland-scanner,
}: }:
let let
version = "1.0_beta15"; version = "1.0_beta15";
@ -45,6 +46,7 @@ stdenv.mkDerivation {
ninja ninja
pkg-config pkg-config
makeWrapper makeWrapper
wayland-scanner
]; ];
postFixup = '' postFixup = ''

View file

@ -7,6 +7,7 @@
, libpulseaudio , libpulseaudio
, wayland , wayland
, wayland-protocols , wayland-protocols
, wayland-scanner
}: }:
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "sway-audio-idle-inhibit"; pname = "sway-audio-idle-inhibit";
@ -20,7 +21,7 @@ stdenv.mkDerivation {
}; };
nativeBuildInputs = [ nativeBuildInputs = [
meson ninja pkg-config meson ninja pkg-config wayland-scanner
]; ];
buildInputs = [ buildInputs = [

View file

@ -7,14 +7,14 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "troubadix"; pname = "troubadix";
version = "24.8.0"; version = "24.8.2";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "greenbone"; owner = "greenbone";
repo = "troubadix"; repo = "troubadix";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-hH2U+ScR3OspFzbVO4CcQFb/1mn7vRTpvhVeLlAxluM="; hash = "sha256-rBExXotfI4uG4ns3x1cJTQ0PGABG7ZlziBrqcsa3dOg=";
}; };
pythonRelaxDeps = [ "validators" ]; pythonRelaxDeps = [ "validators" ];

View file

@ -4492,7 +4492,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314"
[[package]] [[package]]
name = "uv" name = "uv"
version = "0.4.0" version = "0.4.1"
dependencies = [ dependencies = [
"anstream", "anstream",
"anyhow", "anyhow",
@ -4898,6 +4898,7 @@ dependencies = [
"path-slash", "path-slash",
"serde", "serde",
"tempfile", "tempfile",
"tokio",
"tracing", "tracing",
"urlencoding", "urlencoding",
"uv-warnings", "uv-warnings",
@ -5042,6 +5043,8 @@ dependencies = [
"uv-state", "uv-state",
"uv-warnings", "uv-warnings",
"which", "which",
"windows-registry",
"windows-result",
"windows-sys 0.59.0", "windows-sys 0.59.0",
"winsafe 0.0.22", "winsafe 0.0.22",
] ]
@ -5246,7 +5249,7 @@ dependencies = [
[[package]] [[package]]
name = "uv-version" name = "uv-version"
version = "0.4.0" version = "0.4.1"
[[package]] [[package]]
name = "uv-virtualenv" name = "uv-virtualenv"
@ -5281,6 +5284,7 @@ dependencies = [
"fs-err", "fs-err",
"glob", "glob",
"insta", "insta",
"itertools 0.13.0",
"pep440_rs", "pep440_rs",
"pep508_rs", "pep508_rs",
"pypi-types", "pypi-types",

View file

@ -16,14 +16,14 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "uv"; pname = "uv";
version = "0.4.0"; version = "0.4.1";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "astral-sh"; owner = "astral-sh";
repo = "uv"; repo = "uv";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-JEGcX4dT/cVLb07n2Y0nai17jW0tXpV18qaYVnoEpew="; hash = "sha256-gjACm0q9j5Kx9E1rxiR7Bvg4FoAATesQyO0y8kbsTJI=";
}; };
cargoDeps = rustPlatform.importCargoLock { cargoDeps = rustPlatform.importCargoLock {

View file

@ -11,13 +11,13 @@
buildGoModule rec { buildGoModule rec {
pname = "werf"; pname = "werf";
version = "2.10.4"; version = "2.10.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "werf"; owner = "werf";
repo = "werf"; repo = "werf";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-1PpnUTlxjUu7jptpd4U7MRKJfRM8WTeMSgbNcQJeZlM="; hash = "sha256-pNKcBiZSZa8F8E5grEXbgPpqk9H+mu/TeiU3FSAalQE=";
}; };
vendorHash = "sha256-OR2nIR2q3iRfaSQSQRKn+jbygETx2+WmkOIjOCIB9O8="; vendorHash = "sha256-OR2nIR2q3iRfaSQSQRKn+jbygETx2+WmkOIjOCIB9O8=";

View file

@ -10,6 +10,7 @@
stdenv, stdenv,
wayland, wayland,
wayland-protocols, wayland-protocols,
wayland-scanner,
}: }:
let let
pname = "wl-kbptr"; pname = "wl-kbptr";
@ -30,6 +31,7 @@ stdenv.mkDerivation {
meson meson
ninja ninja
pkg-config pkg-config
wayland-scanner
]; ];
buildInputs = [ buildInputs = [

View file

@ -7,6 +7,7 @@
pkg-config, pkg-config,
wayland, wayland,
wayland-protocols, wayland-protocols,
wayland-scanner,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "wlinhibit"; pname = "wlinhibit";
@ -30,6 +31,7 @@ stdenv.mkDerivation rec {
meson meson
ninja ninja
pkg-config pkg-config
wayland-scanner
]; ];
meta = { meta = {

View file

@ -19,6 +19,7 @@
, pkg-config , pkg-config
, pixman , pixman
, wayland , wayland
, wayland-scanner
, zlib , zlib
}: }:
stdenv.mkDerivation { stdenv.mkDerivation {
@ -36,6 +37,7 @@ stdenv.mkDerivation {
meson meson
ninja ninja
pkg-config pkg-config
wayland-scanner
]; ];
buildInputs = [ buildInputs = [

View file

@ -8,6 +8,7 @@
doxygen, doxygen,
wrapQtAppsHook, wrapQtAppsHook,
wrapGAppsHook3, wrapGAppsHook3,
wayland-scanner,
dtkwidget, dtkwidget,
qt5integration, qt5integration,
qt5platform-plugins, qt5platform-plugins,
@ -46,6 +47,7 @@ stdenv.mkDerivation rec {
doxygen doxygen
wrapQtAppsHook wrapQtAppsHook
wrapGAppsHook3 wrapGAppsHook3
wayland-scanner
]; ];
dontWrapGApps = true; dontWrapGApps = true;

View file

@ -16,6 +16,7 @@
libportal, libportal,
packagekit, packagekit,
wayland, wayland,
wayland-scanner,
wingpanel, wingpanel,
}: }:
@ -36,6 +37,7 @@ stdenv.mkDerivation (finalAttrs: {
ninja ninja
pkg-config pkg-config
vala vala
wayland-scanner
]; ];
buildInputs = [ buildInputs = [

View file

@ -5,7 +5,7 @@
fetchFromGitHub, fetchFromGitHub,
nix-update-script, nix-update-script,
pkg-config, pkg-config,
libGLSupported ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms, libGLSupported ? lib.elem stdenv.hostPlatform.system mesa.meta.platforms,
openglSupport ? libGLSupported, openglSupport ? libGLSupported,
libGL, libGL,
alsaSupport ? stdenv.isLinux && !stdenv.hostPlatform.isAndroid, alsaSupport ? stdenv.isLinux && !stdenv.hostPlatform.isAndroid,

View file

@ -7,7 +7,8 @@
, libiconv , libiconv
, Cocoa , Cocoa
, autoSignDarwinBinariesHook , autoSignDarwinBinariesHook
, libGLSupported ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms , mesa
, libGLSupported ? lib.elem stdenv.hostPlatform.system mesa.meta.platforms
, openglSupport ? libGLSupported , openglSupport ? libGLSupported
, libGLU , libGLU
}: }:

View file

@ -13,6 +13,7 @@
, libXext , libXext
, libXft , libXft
, libXfixes , libXfixes
, mesa
, xinput , xinput
, CoreServices , CoreServices
}: }:
@ -50,6 +51,6 @@ stdenv.mkDerivation rec {
homepage = "http://fox-toolkit.org"; homepage = "http://fox-toolkit.org";
license = lib.licenses.lgpl3; license = lib.licenses.lgpl3;
maintainers = [ ]; maintainers = [ ];
platforms = lib.platforms.mesaPlatforms; inherit (mesa.meta) platforms;
}; };
} }

View file

@ -1,6 +1,7 @@
{ lib, stdenv, fetchurl, libGLU, libXmu, libXi, libXext { lib, stdenv, fetchurl, libGLU, libXmu, libXi, libXext
, AGL, OpenGL , AGL, OpenGL
, testers , testers
, mesa
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
@ -52,6 +53,6 @@ stdenv.mkDerivation (finalAttrs: {
license = licenses.free; # different files under different licenses license = licenses.free; # different files under different licenses
#["BSD" "GLX" "SGI-B" "GPL2"] #["BSD" "GLX" "SGI-B" "GPL2"]
pkgConfigModules = [ "glew" ]; pkgConfigModules = [ "glew" ];
platforms = platforms.mesaPlatforms; inherit (mesa.meta) platforms;
}; };
}) })

View file

@ -10,6 +10,7 @@
, OpenGL , OpenGL
, enableEGL ? (!stdenv.isDarwin) , enableEGL ? (!stdenv.isDarwin)
, testers , testers
, mesa
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
@ -74,8 +75,8 @@ stdenv.mkDerivation (finalAttrs: {
pkgConfigModules = [ "glew" ]; pkgConfigModules = [ "glew" ];
platforms = with platforms; platforms = with platforms;
if enableEGL then if enableEGL then
subtractLists darwin mesaPlatforms subtractLists darwin mesa.meta.platforms
else else
mesaPlatforms; mesa.meta.platforms;
}; };
}) })

View file

@ -15,6 +15,7 @@
, runtimeShell , runtimeShell
, withXorg ? true , withXorg ? true
, testers , testers
, mesa
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
@ -65,7 +66,7 @@ stdenv.mkDerivation (finalAttrs: {
mainProgram = "ilur"; mainProgram = "ilur";
license = licenses.lgpl2; license = licenses.lgpl2;
pkgConfigModules = [ "IL" ]; pkgConfigModules = [ "IL" ];
platforms = platforms.mesaPlatforms; inherit (mesa.meta) platforms;
maintainers = [ ]; maintainers = [ ];
}; };
}) })

View file

@ -13,11 +13,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libnbd"; pname = "libnbd";
version = "1.20.1"; version = "1.20.2";
src = fetchurl { src = fetchurl {
url = "https://download.libguestfs.org/libnbd/${lib.versions.majorMinor version}-stable/${pname}-${version}.tar.gz"; url = "https://download.libguestfs.org/libnbd/${lib.versions.majorMinor version}-stable/${pname}-${version}.tar.gz";
hash = "sha256-AoTfX6Ov9Trj9a9i+K+NYCwxhQ9C5YYqx/15RBtgJYw="; hash = "sha256-7DgviwGPPLccTPvomyH+0CMknXmR2wENsxpXD97OP84=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -29,7 +29,11 @@ rec {
homepage = "https://www.mesa3d.org/"; homepage = "https://www.mesa3d.org/";
changelog = "https://www.mesa3d.org/relnotes/${version}.html"; changelog = "https://www.mesa3d.org/relnotes/${version}.html";
license = with lib.licenses; [ mit ]; # X11 variant, in most files license = with lib.licenses; [ mit ]; # X11 variant, in most files
platforms = lib.platforms.mesaPlatforms; platforms = [
"i686-linux" "x86_64-linux" "x86_64-darwin" "armv5tel-linux"
"armv6l-linux" "armv7l-linux" "armv7a-linux" "aarch64-linux"
"powerpc64-linux" "powerpc64le-linux" "aarch64-darwin" "riscv64-linux"
];
maintainers = with lib.maintainers; [ primeos vcunat ]; # Help is welcome :) maintainers = with lib.maintainers; [ primeos vcunat ]; # Help is welcome :)
}; };
} }

View file

@ -70,7 +70,7 @@ stdenv.mkDerivation rec {
mainProgram = "wflinfo"; mainProgram = "wflinfo";
homepage = "https://www.waffle-gl.org/"; homepage = "https://www.waffle-gl.org/";
license = licenses.bsd2; license = licenses.bsd2;
platforms = platforms.mesaPlatforms; inherit (mesa.meta) platforms;
maintainers = with maintainers; [ Flakebi ]; maintainers = with maintainers; [ Flakebi ];
}; };
} }

View file

@ -84,7 +84,8 @@ mapAliases {
inherit (pkgs) dotenv-cli; # added 2024-06-26 inherit (pkgs) dotenv-cli; # added 2024-06-26
eask = pkgs.eask; # added 2023-08-17 eask = pkgs.eask; # added 2023-08-17
inherit (pkgs.elmPackages) elm-test; inherit (pkgs.elmPackages) elm-test;
eslint_d = pkgs.eslint_d; # Added 2023-05-26 inherit (pkgs) eslint; # Added 2024-08-28
inherit (pkgs) eslint_d; # Added 2023-05-26
inherit (pkgs) firebase-tools; # added 2023-08-18 inherit (pkgs) firebase-tools; # added 2023-08-18
inherit (pkgs) fixjson; # added 2024-06-26 inherit (pkgs) fixjson; # added 2024-06-26
flood = pkgs.flood; # Added 2023-07-25 flood = pkgs.flood; # Added 2023-07-25

View file

@ -92,7 +92,6 @@
, "emoj" , "emoj"
, "emojione" , "emojione"
, "escape-string-regexp" , "escape-string-regexp"
, "eslint"
, "esy" , "esy"
, "expo-cli" , "expo-cli"
, "fast-cli" , "fast-cli"

View file

@ -9,7 +9,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "ailment"; pname = "ailment";
version = "9.2.116"; version = "9.2.117";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.11"; disabled = pythonOlder "3.11";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "angr"; owner = "angr";
repo = "ailment"; repo = "ailment";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-BRT6yboFdQ9/S+XYJAz885QbxbRx/BmL18o3ic4fv7o="; hash = "sha256-OYbLaMtelNxohrOfb4A9NC9Zado+0qvm3i2zgkgt6p4=";
}; };
build-system = [ setuptools ]; build-system = [ setuptools ];

View file

@ -17,7 +17,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aiokafka"; pname = "aiokafka";
version = "0.10.0"; version = "0.11.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "aio-libs"; owner = "aio-libs";
repo = "aiokafka"; repo = "aiokafka";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-G9Q77nWUUW+hG/wm9z/S8gea4U1wHZdj7WdK2LsKBos="; hash = "sha256-CeEPRCsf2SFI5J5FuQlCRRtlOPcCtRiGXJUIQOAbyCc=";
}; };
build-system = [ build-system = [

View file

@ -8,14 +8,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aliyun-python-sdk-config"; pname = "aliyun-python-sdk-config";
version = "2.2.13"; version = "2.2.14";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-w4YJe3Bngg4A2KVlpIqf80FHhscLMMMk0AVkr/NfbPM="; hash = "sha256-drmk41/k/JJ6Zs6MrnMQa7xwpkO7MZEaSeyfm2QimKo=";
}; };
propagatedBuildInputs = [ aliyun-python-sdk-core ]; propagatedBuildInputs = [ aliyun-python-sdk-core ];

View file

@ -10,14 +10,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aliyun-python-sdk-core"; pname = "aliyun-python-sdk-core";
version = "2.15.1"; version = "2.15.2";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-UYVQ0H9TfNOvrDtsk7XJl840QOTQwFTjrL2qgmHpCt8="; hash = "sha256-VPZqU+GTxhxeFupFBaDKtDVD+K0u8igz9pxNXlFRwX0=";
}; };
pythonRelaxDeps = true; pythonRelaxDeps = true;

View file

@ -9,14 +9,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aliyun-python-sdk-kms"; pname = "aliyun-python-sdk-kms";
version = "2.16.4"; version = "2.16.5";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-DVuxZcB7apcpOXU6EoUHOT9IAReS7g7E9ZtgIeq9l1I="; hash = "sha256-8yiooZ2D7LuWX/zg7B6ZMHVSFtEEY4zZXs02J1O4E7M=";
}; };
build-system = [ setuptools ]; build-system = [ setuptools ];

View file

@ -36,7 +36,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "angr"; pname = "angr";
version = "9.2.116"; version = "9.2.117";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.11"; disabled = pythonOlder "3.11";
@ -45,7 +45,7 @@ buildPythonPackage rec {
owner = "angr"; owner = "angr";
repo = "angr"; repo = "angr";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-g/MQ/xbzBjFYbSz8+6pzZBox0ym5GzD6a5crVicOp7E="; hash = "sha256-woIid0DdaZqn7BZJrQ3UoOfGC1cP8r+t+++Sw8ZtX80=";
}; };
pythonRelaxDeps = [ "capstone" ]; pythonRelaxDeps = [ "capstone" ];

View file

@ -2,10 +2,10 @@
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchFromGitHub, fetchFromGitHub,
fetchpatch2,
apricot-select, apricot-select,
numba, numba,
numpy, numpy,
nose,
pytestCheckHook, pytestCheckHook,
pythonOlder, pythonOlder,
scikit-learn, scikit-learn,
@ -29,9 +29,13 @@ buildPythonPackage rec {
hash = "sha256-v9BHFxmlbwXVipPze/nV35YijdFBuka3gAl85AlsffQ="; hash = "sha256-v9BHFxmlbwXVipPze/nV35YijdFBuka3gAl85AlsffQ=";
}; };
postPatch = '' patches = [
sed -i '/"nose"/d' setup.py # migrate to pytest, https://github.com/jmschrei/apricot/pull/43
''; (fetchpatch2 {
url = "https://github.com/jmschrei/apricot/commit/ffa5cce97292775c0d6890671a19cacd2294383f.patch?full_index=1";
hash = "sha256-9A49m4587kAPK/kzZBqMRPwuA40S3HinLXaslYUcWdM=";
})
];
build-system = [ setuptools ]; build-system = [ setuptools ];
@ -44,10 +48,7 @@ buildPythonPackage rec {
tqdm tqdm
]; ];
nativeCheckInputs = [ nativeCheckInputs = [ pytestCheckHook ];
nose
pytestCheckHook
];
pythonImportsCheck = [ "apricot" ]; pythonImportsCheck = [ "apricot" ];

View file

@ -10,7 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "archinfo"; pname = "archinfo";
version = "9.2.116"; version = "9.2.117";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "angr"; owner = "angr";
repo = "archinfo"; repo = "archinfo";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-ckRLWOtwvY/37noomEyfscycifNvm1CbrIQIU1hZzGM="; hash = "sha256-eMhj+OQEfkD4AgwNEEVil7p/XoaREsM+72/bN72XnzE=";
}; };
build-system = [ setuptools ]; build-system = [ setuptools ];

View file

@ -14,7 +14,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "claripy"; pname = "claripy";
version = "9.2.116"; version = "9.2.117";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.11"; disabled = pythonOlder "3.11";
@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "angr"; owner = "angr";
repo = "claripy"; repo = "claripy";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-anBIIiFTptdTNKesA2dH2cq2wxd3DJTb4lCjAMRMz3I="; hash = "sha256-f9rb5UvkEB3SkxqFQI82m4RrY6jWnD7YTjIGLVSx4gk=";
}; };
# z3 does not provide a dist-info, so python-runtime-deps-check will fail # z3 does not provide a dist-info, so python-runtime-deps-check will fail

View file

@ -18,14 +18,14 @@
let let
# The binaries are following the argr projects release cycle # The binaries are following the argr projects release cycle
version = "9.2.116"; version = "9.2.117";
# Binary files from https://github.com/angr/binaries (only used for testing and only here) # Binary files from https://github.com/angr/binaries (only used for testing and only here)
binaries = fetchFromGitHub { binaries = fetchFromGitHub {
owner = "angr"; owner = "angr";
repo = "binaries"; repo = "binaries";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-FtJ093771M5imQCtBxwDsXn7HctyShaV0QRlU37zCSc="; hash = "sha256-yTCE0QjUoHIGW0xJvCsC01w75SxzTW2zQ/UUhSqY1mQ=";
}; };
in in
buildPythonPackage rec { buildPythonPackage rec {
@ -39,7 +39,7 @@ buildPythonPackage rec {
owner = "angr"; owner = "angr";
repo = "cle"; repo = "cle";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-syA0ULbvEP/K9iJLNbmf61eEJh8wckGEEzeGDjhksC8="; hash = "sha256-WpMfHd5mHZp9hp8twYjiIbDCk61LWBF4lJpHZnnIfjk=";
}; };
build-system = [ setuptools ]; build-system = [ setuptools ];

View file

@ -76,6 +76,9 @@ buildPythonPackage rec {
# ImportError: attempted relative import beyond top-level package # ImportError: attempted relative import beyond top-level package
rm tests/test_greenthreads.py rm tests/test_greenthreads.py
# git crashes; https://github.com/jelmer/dulwich/issues/1359
rm tests/compat/test_pack.py
''; '';
doCheck = !stdenv.isDarwin; doCheck = !stdenv.isDarwin;

View file

@ -9,7 +9,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "fastcore"; pname = "fastcore";
version = "1.7.1"; version = "1.7.2";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "fastai"; owner = "fastai";
repo = "fastcore"; repo = "fastcore";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-eb4J5aGrcpOcO0GBI1cwOsRxw0guvDiAPZjdFPB5SVQ="; hash = "sha256-3BOsOd3g+SepFUH2czywyaBnA88qLVyu/8eyHGkuEPY=";
}; };
build-system = [ setuptools ]; build-system = [ setuptools ];

View file

@ -12,7 +12,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "langgraph-cli"; pname = "langgraph-cli";
version = "0.1.51"; version = "0.1.52";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.10"; disabled = pythonOlder "3.10";
@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "langchain-ai"; owner = "langchain-ai";
repo = "langgraph"; repo = "langgraph";
rev = "refs/tags/cli==${version}"; rev = "refs/tags/cli==${version}";
hash = "sha256-ynnTS1OAU6BCy7kMHI267gnaiv5ToX0IM30nbGjAzr8="; hash = "sha256-zTBeDJB1Xu/rWsvEC/L4BRzxyh04lPYV7HQNHoJcskk=";
}; };
sourceRoot = "${src.name}/libs/cli"; sourceRoot = "${src.name}/libs/cli";

View file

@ -12,7 +12,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "mkdocstrings-python"; pname = "mkdocstrings-python";
version = "1.10.8"; version = "1.10.9";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "mkdocstrings"; owner = "mkdocstrings";
repo = "python"; repo = "python";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-3fXT2cV9jXkBNqK0LhKh8V11YLz+ulR3yAtq3GVOkTU="; hash = "sha256-ClIWH3JixDI7SMOaDKELeYlX7HqhzJ3JNO8FW/eCpuA=";
}; };
build-system = [ pdm-backend ]; build-system = [ pdm-backend ];

View file

@ -5,6 +5,7 @@
fetchFromGitHub, fetchFromGitHub,
setuptools, setuptools,
glfw, glfw,
mesa,
moderngl, moderngl,
numpy, numpy,
pillow, pillow,
@ -70,7 +71,7 @@ buildPythonPackage rec {
changelog = "https://github.com/moderngl/moderngl-window/blob/${version}/CHANGELOG.md"; changelog = "https://github.com/moderngl/moderngl-window/blob/${version}/CHANGELOG.md";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ c0deaddict ]; maintainers = with maintainers; [ c0deaddict ];
platforms = platforms.mesaPlatforms; inherit (mesa.meta) platforms;
broken = stdenv.isDarwin; broken = stdenv.isDarwin;
}; };
} }

View file

@ -41,7 +41,7 @@ buildPythonPackage rec {
changelog = "https://github.com/moderngl/moderngl/releases/tag/${version}"; changelog = "https://github.com/moderngl/moderngl/releases/tag/${version}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ c0deaddict ]; maintainers = with maintainers; [ c0deaddict ];
# should be mesaPlatforms, darwin build breaks. # should be mesa.meta.platforms, darwin build breaks.
platforms = platforms.linux; platforms = platforms.linux;
}; };
} }

View file

@ -17,6 +17,7 @@
ffmpeg-full, ffmpeg-full,
openal, openal,
libpulseaudio, libpulseaudio,
mesa,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -109,6 +110,6 @@ buildPythonPackage rec {
homepage = "http://www.pyglet.org/"; homepage = "http://www.pyglet.org/";
description = "Cross-platform windowing and multimedia library"; description = "Cross-platform windowing and multimedia library";
license = licenses.bsd3; license = licenses.bsd3;
platforms = platforms.mesaPlatforms; inherit (mesa.meta) platforms;
}; };
} }

View file

@ -5,6 +5,7 @@
fetchPypi, fetchPypi,
pkgs, pkgs,
pillow, pillow,
mesa,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -80,6 +81,6 @@ buildPythonPackage rec {
liberal BSD-style Open-Source license. liberal BSD-style Open-Source license.
''; '';
license = licenses.bsd3; license = licenses.bsd3;
platforms = platforms.mesaPlatforms; inherit (mesa.meta) platforms;
}; };
} }

View file

@ -13,6 +13,7 @@
pyqt5-sip, pyqt5-sip,
pyqt-builder, pyqt-builder,
libsForQt5, libsForQt5,
mesa,
enableVerbose ? true, enableVerbose ? true,
withConnectivity ? false, withConnectivity ? false,
withMultimedia ? false, withMultimedia ? false,
@ -201,7 +202,7 @@ buildPythonPackage rec {
description = "Python bindings for Qt5"; description = "Python bindings for Qt5";
homepage = "https://riverbankcomputing.com/"; homepage = "https://riverbankcomputing.com/";
license = licenses.gpl3Only; license = licenses.gpl3Only;
platforms = platforms.mesaPlatforms; inherit (mesa.meta) platforms;
maintainers = with maintainers; [ sander ]; maintainers = with maintainers; [ sander ];
}; };
} }

View file

@ -13,6 +13,7 @@
pyqt-builder, pyqt-builder,
qt6Packages, qt6Packages,
pythonOlder, pythonOlder,
mesa,
withMultimedia ? true, withMultimedia ? true,
withWebSockets ? true, withWebSockets ? true,
withLocation ? true, withLocation ? true,
@ -150,7 +151,7 @@ buildPythonPackage rec {
description = "Python bindings for Qt6"; description = "Python bindings for Qt6";
homepage = "https://riverbankcomputing.com/"; homepage = "https://riverbankcomputing.com/";
license = licenses.gpl3Only; license = licenses.gpl3Only;
platforms = platforms.mesaPlatforms; inherit (mesa.meta) platforms;
maintainers = with maintainers; [ LunNova ]; maintainers = with maintainers; [ LunNova ];
}; };
} }

View file

@ -2,6 +2,7 @@
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchPypi, fetchPypi,
mesa,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -23,7 +24,7 @@ buildPythonPackage rec {
description = "Python bindings for Qt5"; description = "Python bindings for Qt5";
homepage = "https://www.riverbankcomputing.com/software/sip/"; homepage = "https://www.riverbankcomputing.com/software/sip/";
license = licenses.gpl3Only; license = licenses.gpl3Only;
platforms = platforms.mesaPlatforms; inherit (mesa.meta) platforms;
maintainers = with maintainers; [ LunNova ]; maintainers = with maintainers; [ LunNova ];
}; };
} }

View file

@ -2,6 +2,7 @@
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchPypi, fetchPypi,
mesa,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -23,7 +24,7 @@ buildPythonPackage rec {
description = "Python bindings for Qt5"; description = "Python bindings for Qt5";
homepage = "https://www.riverbankcomputing.com/software/sip/"; homepage = "https://www.riverbankcomputing.com/software/sip/";
license = licenses.gpl3Only; license = licenses.gpl3Only;
platforms = platforms.mesaPlatforms; inherit (mesa.meta) platforms;
maintainers = with maintainers; [ sander ]; maintainers = with maintainers; [ sander ];
}; };
} }

View file

@ -8,6 +8,7 @@
pythonOlder, pythonOlder,
pyqt6, pyqt6,
python, python,
mesa,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -67,7 +68,7 @@ buildPythonPackage rec {
description = "Python bindings for Qt6 QtCharts"; description = "Python bindings for Qt6 QtCharts";
homepage = "https://riverbankcomputing.com/"; homepage = "https://riverbankcomputing.com/";
license = licenses.gpl3Only; license = licenses.gpl3Only;
platforms = platforms.mesaPlatforms; inherit (mesa.meta) platforms;
maintainers = with maintainers; [ dandellion ]; maintainers = with maintainers; [ dandellion ];
}; };
} }

View file

@ -10,6 +10,7 @@
pythonOlder, pythonOlder,
pyqt6, pyqt6,
python, python,
mesa,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -84,7 +85,7 @@ buildPythonPackage rec {
description = "Python bindings for Qt6 WebEngine"; description = "Python bindings for Qt6 WebEngine";
homepage = "https://riverbankcomputing.com/"; homepage = "https://riverbankcomputing.com/";
license = licenses.gpl3Only; license = licenses.gpl3Only;
platforms = platforms.mesaPlatforms; inherit (mesa.meta) platforms;
maintainers = with maintainers; [ maintainers = with maintainers; [
LunNova LunNova
nrdxp nrdxp

View file

@ -12,6 +12,7 @@
pyqt5, pyqt5,
sip, sip,
pyqt-builder, pyqt-builder,
mesa,
}: }:
let let
@ -98,7 +99,7 @@ buildPythonPackage (
description = "Python bindings for Qt5"; description = "Python bindings for Qt5";
homepage = "http://www.riverbankcomputing.co.uk"; homepage = "http://www.riverbankcomputing.co.uk";
license = lib.licenses.gpl3; license = lib.licenses.gpl3;
hydraPlatforms = lib.lists.intersectLists libsForQt5.qtwebengine.meta.platforms lib.platforms.mesaPlatforms; hydraPlatforms = lib.lists.intersectLists libsForQt5.qtwebengine.meta.platforms mesa.meta.platforms;
}; };
} }
// lib.optionalAttrs (stdenv.buildPlatform != stdenv.hostPlatform) { // lib.optionalAttrs (stdenv.buildPlatform != stdenv.hostPlatform) {

View file

@ -22,7 +22,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "python-kasa"; pname = "python-kasa";
version = "0.7.1"; version = "0.7.2";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -31,7 +31,7 @@ buildPythonPackage rec {
owner = "python-kasa"; owner = "python-kasa";
repo = "python-kasa"; repo = "python-kasa";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-ASS84thd54R1Z7+J7nMfUOPmQtJoybWis7C2US/mORs="; hash = "sha256-JfTFed591z1ZxTKP5FqYyaMBq8uCs4StlnqKp3Tc7Ug=";
}; };
build-system = [ poetry-core ]; build-system = [ poetry-core ];

View file

@ -12,14 +12,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyvex"; pname = "pyvex";
version = "9.2.116"; version = "9.2.117";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.11"; disabled = pythonOlder "3.11";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-qEmoK8nbxx2HXG+pRsl8Vs1a9DsmiQOn19RDMkftges="; hash = "sha256-hW5uCploPx7+Q8RYZSm6bp/SkbPftkfMkhLvBjHJuBc=";
}; };
build-system = [ setuptools ]; build-system = [ setuptools ];

View file

@ -54,7 +54,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Experimental Python API for Ruff"; description = "Experimental Python API for Ruff";
homepage = "https://github.com/amyreese/ruff-api"; homepage = "https://github.com/amyreese/ruff-api";
changelog = "https://github.com/amyreese/ruff-api/blob/${version}/CHANGELOG.md"; changelog = "https://github.com/amyreese/ruff-api/blob/${src.rev}/CHANGELOG.md";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };

View file

@ -3,16 +3,18 @@
aiohttp, aiohttp,
buildPythonPackage, buildPythonPackage,
fetchFromGitHub, fetchFromGitHub,
fetchpatch2,
netifaces, netifaces,
python-engineio, poetry-core,
python-socketio, python-engineio-v3,
python-socketio-v4,
pythonOlder, pythonOlder,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "sisyphus-control"; pname = "sisyphus-control";
version = "3.1.3"; version = "3.1.4";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -20,20 +22,25 @@ buildPythonPackage rec {
owner = "jkeljo"; owner = "jkeljo";
repo = "sisyphus-control"; repo = "sisyphus-control";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-FbZWvsm2NT9a7TgHKWh/LHPsse6NBLK2grlOtHDbV2Y="; hash = "sha256-1/trJ/mfiXljNt7ZIBwQ45mIBbqg68e29lvVsPDPzoU=";
}; };
pythonRelaxDeps = [ patches = [
"python-engineio" # https://github.com/jkeljo/sisyphus-control/pull/9
"python-socketio" (fetchpatch2 {
name = "specify-build-system.patch";
url = "https://github.com/jkeljo/sisyphus-control/commit/dd48079e03a53cdb3af721de0d307209286c38f0.patch";
hash = "sha256-573YLPrNbbMXSrZ3gK8cmHmuk2+UeggcKL/+eo4pgrs=";
})
]; ];
build-system = [ poetry-core ];
propagatedBuildInputs = [ dependencies = [
aiohttp aiohttp
netifaces netifaces
python-engineio python-engineio-v3
python-socketio python-socketio-v4
]; ];
# Module has no tests # Module has no tests
@ -44,7 +51,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Control your Sisyphus Kinetic Art Table"; description = "Control your Sisyphus Kinetic Art Table";
homepage = "https://github.com/jkeljo/sisyphus-control"; homepage = "https://github.com/jkeljo/sisyphus-control";
changelog = "https://github.com/jkeljo/sisyphus-control/blob/${version}/CHANGELOG.rst"; changelog = "https://github.com/jkeljo/sisyphus-control/blob/${src.rev}/CHANGELOG.rst";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };

View file

@ -8,14 +8,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "ucsmsdk"; pname = "ucsmsdk";
version = "0.9.18"; version = "0.9.19";
format = "setuptools"; format = "setuptools";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "CiscoUcs"; owner = "CiscoUcs";
repo = "ucsmsdk"; repo = "ucsmsdk";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-9LCrjelxx8HxIEiSdsvtvm31XiE11Gnp0suapmo2L5Q="; hash = "sha256-PPxslqY8v6WbRiRXnR9jVSGAo8k89lHomXpqgSK0meo=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -115,7 +115,7 @@ stdenv.mkDerivation rec {
}; };
meta = { meta = {
homepage = "http://www.valgrind.org/"; homepage = "https://valgrind.org/";
description = "Debugging and profiling tool suite"; description = "Debugging and profiling tool suite";
longDescription = '' longDescription = ''

View file

@ -30,5 +30,6 @@ buildGoModule rec {
license = licenses.asl20; license = licenses.asl20;
homepage = "https://litestream.io/"; homepage = "https://litestream.io/";
maintainers = with maintainers; [ fbrs ]; maintainers = with maintainers; [ fbrs ];
knownVulnerabilities = [ "CVE-2024-41254" ];
}; };
} }

View file

@ -25,6 +25,8 @@
AVKit, AVKit,
CoreAudio, CoreAudio,
swift, swift,
mesa,
}: }:
let let
@ -336,7 +338,7 @@ python3.pkgs.buildPythonApplication {
''; '';
homepage = "https://apps.ankiweb.net"; homepage = "https://apps.ankiweb.net";
license = licenses.agpl3Plus; license = licenses.agpl3Plus;
platforms = platforms.mesaPlatforms; inherit (mesa.meta) platforms;
maintainers = with maintainers; [ maintainers = with maintainers; [
euank euank
oxij oxij

View file

@ -18,6 +18,7 @@
, pkg-config , pkg-config
, libdrm , libdrm
, wayland , wayland
, wayland-scanner
, libffi , libffi
, libcap , libcap
, mesa , mesa
@ -90,6 +91,7 @@ stdenv'.mkDerivation rec {
pkg-config pkg-config
python3 python3
makeWrapper makeWrapper
wayland-scanner
# Avoid fighting upstream's usage of vendored ffmpeg libraries # Avoid fighting upstream's usage of vendored ffmpeg libraries
autoPatchelfHook autoPatchelfHook
] ++ lib.optionals cudaSupport [ ] ++ lib.optionals cudaSupport [

View file

@ -323,6 +323,11 @@ in rec {
name = "ceph-reef-ceph-volume-fix-set_dmcrypt_no_workqueue.patch"; name = "ceph-reef-ceph-volume-fix-set_dmcrypt_no_workqueue.patch";
hash = "sha256-r+7hcCz2WF/rJfgKwTatKY9unJlE8Uw3fmOyaY5jVH0="; hash = "sha256-r+7hcCz2WF/rJfgKwTatKY9unJlE8Uw3fmOyaY5jVH0=";
}) })
(fetchpatch {
url = "https://github.com/ceph/ceph/commit/607eb34b2c278566c386efcbf3018629cf08ccfd.patch";
name = "ceph-volume-fix-set_dmcrypt_no_workqueue-regex.patch";
hash = "sha256-q28Q7OIyFoMyMBCPXGA+AdNqp+9/6J/XwD4ODjx+JXY=";
})
]; ];
postPatch = '' postPatch = ''
@ -487,7 +492,8 @@ in rec {
inherit (nixosTests) inherit (nixosTests)
ceph-multi-node ceph-multi-node
ceph-single-node ceph-single-node
ceph-single-node-bluestore; ceph-single-node-bluestore
ceph-single-node-bluestore-dmcrypt;
}; };
}; };
}; };

View file

@ -16,6 +16,7 @@
, libXrender , libXrender
, libxcb , libxcb
, libxkbcommon , libxkbcommon
, mesa
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -71,7 +72,7 @@ stdenv.mkDerivation rec {
description = "OpenGL test suite, and test-suite runner"; description = "OpenGL test suite, and test-suite runner";
homepage = "https://gitlab.freedesktop.org/mesa/piglit"; homepage = "https://gitlab.freedesktop.org/mesa/piglit";
license = licenses.free; # custom license. See COPYING in the source repo. license = licenses.free; # custom license. See COPYING in the source repo.
platforms = platforms.mesaPlatforms; inherit (mesa.meta) platforms;
maintainers = with maintainers; [ Flakebi ]; maintainers = with maintainers; [ Flakebi ];
mainProgram = "piglit"; mainProgram = "piglit";
}; };

View file

@ -1,10 +1,12 @@
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, gtk3, libepoxy, wayland, wrapGAppsHook3 }: { lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, gtk3, libepoxy
, wayland, wayland-scanner, wrapGAppsHook3
}:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "wdisplays"; pname = "wdisplays";
version = "1.1.1"; version = "1.1.1";
nativeBuildInputs = [ meson ninja pkg-config wrapGAppsHook3 ]; nativeBuildInputs = [ meson ninja pkg-config wrapGAppsHook3 wayland-scanner ];
buildInputs = [ gtk3 libepoxy wayland ]; buildInputs = [ gtk3 libepoxy wayland ];

View file

@ -8,6 +8,7 @@
, pkg-config , pkg-config
, udev , udev
, wayland , wayland
, wayland-scanner
, libxkbcommon , libxkbcommon
, gtk3 , gtk3
, libayatana-appindicator , libayatana-appindicator
@ -30,6 +31,7 @@ stdenv.mkDerivation (finalAttrs: {
pkg-config pkg-config
dbus dbus
wayland wayland
wayland-scanner
libX11 libX11
udev udev
libusb1 libusb1

View file

@ -5,6 +5,7 @@
, libffi , libffi
, pkg-config , pkg-config
, wayland-protocols , wayland-protocols
, wayland-scanner
, wayland , wayland
, xorg , xorg
, darwin , darwin
@ -30,6 +31,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
pkg-config pkg-config
wayland-scanner
]; ];
buildInputs = lib.optionals stdenv.isLinux [ buildInputs = lib.optionals stdenv.isLinux [

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,7 @@
{ lib { lib
, rustPlatform , rustPlatform
, fetchFromGitHub , fetchFromGitHub
, fetchurl
, pkg-config , pkg-config
, bzip2 , bzip2
, openssl , openssl
@ -11,13 +12,13 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "rtz"; pname = "rtz";
version = "0.5.3"; version = "0.7.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "twitchax"; owner = "twitchax";
repo = "rtz"; repo = "rtz";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-cc5yGZ4zHB9V//ywvKv9qgKGDpKotzkJKbfwv1rK2tM="; hash = "sha256-Wfb3FEZHjWYUtRI4Qn3QNunIXuzW1AIEZkIvtVrjBPs=";
}; };
cargoLock = { cargoLock = {
@ -27,6 +28,11 @@ rustPlatform.buildRustPackage rec {
}; };
}; };
swagger-ui = fetchurl {
url = "https://github.com/juhaku/utoipa/raw/master/utoipa-swagger-ui-vendored/res/v5.17.12.zip";
hash = "sha256-HK4z/JI+1yq8BTBJveYXv9bpN/sXru7bn/8g5mf2B/I=";
};
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
]; ];
@ -41,9 +47,15 @@ rustPlatform.buildRustPackage rec {
buildFeatures = [ "web" ]; buildFeatures = [ "web" ];
# ${swagger-ui} is read-only and the copy made by the build script
# is as well. Remove it so that checks can copy it again.
preCheck = ''
find target -name $(basename ${swagger-ui}) -delete
'';
env = { env = {
# requires nightly features # use local data file instead of requiring network access
RUSTC_BOOTSTRAP = true; SWAGGER_UI_DOWNLOAD_URL = "file://${swagger-ui}";
}; };
meta = with lib; { meta = with lib; {

View file

@ -1,41 +1,38 @@
{ lib {
, fetchFromGitHub lib,
, python3 fetchFromGitHub,
python3,
}: }:
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "fierce"; pname = "fierce";
version = "1.5.0"; version = "1.6.0";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mschwager"; owner = "mschwager";
repo = pname; repo = "fierce";
rev = version; rev = "refs/tags/${version}";
sha256 = "sha256-9VTPD5i203BTl2nADjq131W9elgnaHNIWGIUuCiYlHg="; sha256 = "sha256-y5ZSDJCTqslU78kXGyk6DajBpX7xz1CVmbhYerHmyis=";
}; };
propagatedBuildInputs = with python3.pkgs; [ pythonRelaxDeps = [ "dnspython" ];
dnspython
];
postPatch = '' build-system = with python3.pkgs; [ poetry-core ];
substituteInPlace requirements.txt \
--replace 'dnspython==1.16.0' 'dnspython'
'';
# tests require network access dependencies = with python3.pkgs; [ dnspython ];
# Tests require network access
doCheck = false; doCheck = false;
pythonImportsCheck = [ pythonImportsCheck = [ "fierce" ];
"fierce"
];
meta = with lib; { meta = with lib; {
description = "DNS reconnaissance tool for locating non-contiguous IP space"; description = "DNS reconnaissance tool for locating non-contiguous IP space";
mainProgram = "fierce";
homepage = "https://github.com/mschwager/fierce"; homepage = "https://github.com/mschwager/fierce";
changelog = "https://github.com/mschwager/fierce/blob/${version}/CHANGELOG.md";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
maintainers = with maintainers; [ c0bw3b ]; maintainers = with maintainers; [ c0bw3b ];
mainProgram = "fierce";
}; };
} }

View file

@ -6,6 +6,7 @@
, pkg-config , pkg-config
, wayland , wayland
, wayland-protocols , wayland-protocols
, wayland-scanner
, libxkbcommon , libxkbcommon
, cairo , cairo
, gdk-pixbuf , gdk-pixbuf
@ -28,6 +29,7 @@ stdenv.mkDerivation {
meson meson
ninja ninja
scdoc scdoc
wayland-scanner
]; ];
buildInputs = [ buildInputs = [

View file

@ -178,7 +178,7 @@ let
in { in {
/* Common platform groups on which to test packages. */ /* Common platform groups on which to test packages. */
inherit (platforms) unix linux darwin cygwin all mesaPlatforms; inherit (platforms) unix linux darwin cygwin all;
inherit inherit
assertTrue assertTrue