Merge master into staging-next

This commit is contained in:
github-actions[bot] 2024-04-26 12:01:18 +00:00 committed by GitHub
commit 7ac1647abc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
84 changed files with 2565 additions and 229 deletions

View File

@ -2034,6 +2034,12 @@
githubId = 687218;
name = "averelld";
};
avery = {
email = "nixpkgs@avery.cafe";
github = "coolavery";
githubId = 76545554;
name = "Avery";
};
avh4 = {
email = "gruen0aermel@gmail.com";
github = "avh4";
@ -7213,6 +7219,12 @@
githubId = 40209356;
name = "Gabriel Doriath Döhler";
};
gdifolco = {
email = "gautier.difolco@gmail.com";
github = "blackheaven";
githubId = 1362807;
name = "Gautier Di Folco";
};
gdinh = {
email = "nix@contact.dinh.ai";
github = "gdinh";

View File

@ -32,6 +32,13 @@ in
Whether to give the Sunshine binary CAP_SYS_ADMIN, required for DRM/KMS screen capture.
'';
};
autoStart = mkOption {
type = bool;
default = true;
description = ''
Whether sunshine should be started automatically.
'';
};
settings = mkOption {
default = { };
description = ''
@ -135,7 +142,7 @@ in
systemd.user.services.sunshine = {
description = "Self-hosted game stream host for Moonlight";
wantedBy = [ "graphical-session.target" ];
wantedBy = mkIf cfg.autoStart [ "graphical-session.target" ];
partOf = [ "graphical-session.target" ];
wants = [ "graphical-session.target" ];
after = [ "graphical-session.target" ];

View File

@ -79,7 +79,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; {
description = "Small ncurses-based file browser forked from noice";
homepage = "https://github.com/jarun/nnn";
changelog = "https://github.com/jarun/nnn/blob/v${version}/CHANGELOG";
changelog = "https://github.com/jarun/nnn/blob/v${finalAttrs.version}/CHANGELOG";
license = licenses.bsd2;
platforms = platforms.all;
maintainers = with maintainers; [ Br1ght0ne ];

View File

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "pdfcpu";
version = "0.7.0";
version = "0.8.0";
src = fetchFromGitHub {
owner = "pdfcpu";
repo = pname;
rev = "v${version}";
hash = "sha256-FzlukSQSKeQY6H53UfWXwL8bXkOXRhaA92/Kgxh4oms=";
hash = "sha256-E1D2DvwwrtlY06kvCZkoAO5VcdtkBJYLcxuqGsulFUA=";
# Apparently upstream requires that the compiled executable will know the
# commit hash and the date of the commit. This information is also presented
# in the output of `pdfcpu version` which we use as a sanity check in the
@ -31,7 +31,7 @@ buildGoModule rec {
'';
};
vendorHash = "sha256-jVX/CFf9dd9qD3gyGVDjbfINtPLCsgdjWFix4BCpDZ0=";
vendorHash = "sha256-4k4aZnQ9SjcGr/ziCacfcVfVk7w4Qhli2rOeYE76Qs0=";
ldflags = [
"-s"

View File

@ -4,11 +4,11 @@
lib,
}: let
pname = "upscayl";
version = "2.10.0";
version = "2.11.0";
src = fetchurl {
url = "https://github.com/upscayl/upscayl/releases/download/v${version}/upscayl-${version}-linux.AppImage";
hash = "sha256-nRYNYNHIkbvvQZd1zRDCCsCadgRgV/yn9WfaKjt44O8=";
hash = "sha256-XhvOzARP8Ytlf23vNMYZ5x1UKvKOlM/69yhysasW3dA=";
};
appimageContents = appimageTools.extractType2 {

View File

@ -65,7 +65,7 @@ stdenv.mkDerivation (finalAttrs: {
];
meta = with lib; {
changelog = "https://codeberg.org/dnkl/fuzzel/releases/tag/${version}";
changelog = "https://codeberg.org/dnkl/fuzzel/releases/tag/${finalAttrs.version}";
description = "Wayland-native application launcher, similar to rofis drun mode";
homepage = "https://codeberg.org/dnkl/fuzzel";
license = with licenses; [ mit zlib ];

View File

@ -2,11 +2,11 @@
appimageTools.wrapType2 rec {
pname = "xlights";
version = "2023.13";
version = "2024.09";
src = fetchurl {
url = "https://github.com/smeighan/xLights/releases/download/${version}/xLights-${version}-x86_64.AppImage";
hash = "sha256-vNauKG7F7AiSMZrkMPwR9C+Mshot4NOf4oIdEr5Pu3Q=";
hash = "sha256-eXoSZUbwKu7174UVPguK9R0MgaMrV2jtRtLK/zSGvtw=";
};
meta = with lib; {

View File

@ -206,7 +206,7 @@ stdenv.mkDerivation (finalAttrs: {
experience, while offering full customization and a growing collection of
extensions and themes to make the browser truly your own.
'';
changelog = "https://repo.palemoon.org/MoonchildProductions/Pale-Moon/releases/tag/${version}_Release";
changelog = "https://repo.palemoon.org/MoonchildProductions/Pale-Moon/releases/tag/${finalAttrs.version}_Release";
license = [
licenses.mpl20
{

View File

@ -11,18 +11,18 @@
buildGoModule rec {
pname = "shellhub-agent";
version = "0.14.3";
version = "0.15.0";
src = fetchFromGitHub {
owner = "shellhub-io";
repo = "shellhub";
rev = "v${version}";
hash = "sha256-XnkU/I41x6JqrH5D6JGw1fgdiNfiMOBy9DUUXzKwkGg=";
hash = "sha256-533GGzSlpF9Rz8SrV0x6Hea/H8WxujuPF3cwmL5vdCw=";
};
modRoot = "./agent";
vendorHash = "sha256-nuFgJc1xQU4X86ojdFzs+9Gp3HDLsw3tkMcprlXCrko=";
vendorHash = "sha256-F3di9oTuE7qWzvAbHMkrSG+hkEs7FpEo4tLX6dCdklY=";
ldflags = [ "-s" "-w" "-X main.AgentVersion=v${version}" ];

View File

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "git-town";
version = "14.1.0";
version = "14.2.0";
src = fetchFromGitHub {
owner = "git-town";
repo = "git-town";
rev = "v${version}";
hash = "sha256-BhtKl052P3PGxGXb5lSOIsncJLiNlevzBMEF2kCuFpM=";
hash = "sha256-+OJ8aUA/VFOAzdCRcOCQKm6/RjRe13TITP1DAWqoAQI=";
};
vendorHash = null;

View File

@ -35,7 +35,7 @@ stdenv.mkDerivation {
meta = {
description = "Generates contact sheets from video files";
homepage = "http://p.outlyer.net/vcs";
license = licenses.cc-by-nc-sa-30;
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ elitak ];
platforms = with platforms; unix;
mainProgram = "vcs";

View File

@ -2,12 +2,12 @@
let
pname = "anytype";
version = "0.39.0";
version = "0.40.2";
name = "Anytype-${version}";
src = fetchurl {
url = "https://github.com/anyproto/anytype-ts/releases/download/v${version}/${name}.AppImage";
name = "Anytype-${version}.AppImage";
hash = "sha256-Sgrgwp8yZGMLq25tHuoQquNjHTEbRPmFqzpMHnjq7oI=";
hash = "sha256-RO8rYH0wHPxwey1ICAVK1jURs7b+oxLXRlychgi6c1c=";
};
appimageContents = appimageTools.extractType2 { inherit name src; };
in appimageTools.wrapType2 {

View File

@ -49,7 +49,7 @@ stdenv.mkDerivation (finalAttrs: {
};
meta = with lib; {
changelog = "https://github.com/cowsql/cowsql/releases/tag/${version}";
changelog = "https://github.com/cowsql/cowsql/releases/tag/${finalAttrs.version}";
description = "Embeddable, replicated and fault tolerant SQL engine";
homepage = "https://github.com/cowsql/cowsql";
license = licenses.lgpl3Only;

View File

@ -21,20 +21,20 @@
stdenv.mkDerivation rec {
pname = "delfin";
version = "0.4.2";
version = "0.4.4";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "avery42";
repo = "delfin";
rev = "v${version}";
hash = "sha256-7GHwwwFibmwBcrlC2zSpEUZ2dca14wZFU6PJWjincPQ=";
hash = "sha256-qbl0PvGKI3S845xLr0aXf/uk2uuOXMjvu9S3BOPzxa0=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
hash = "sha256-zlecw6230AC/+y537iEhJU+BgWRs2WCFP0AIcxchZBA=";
hash = "sha256-Js1mIotSOayYDjDVQMqXwaeSC2a1g1DeqD6QmeWwztk=";
};
nativeBuildInputs = [
@ -70,7 +70,7 @@ stdenv.mkDerivation rec {
description = "Stream movies and TV shows from Jellyfin";
homepage = "https://www.delfin.avery.cafe/";
license = licenses.gpl3Only;
maintainers = with maintainers; [ colinsane ];
maintainers = with maintainers; [ colinsane avery ];
mainProgram = "delfin";
platforms = platforms.linux;
};

View File

@ -26,11 +26,11 @@ let
in
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "dynamodb-local";
version = "2.3.0";
version = "2.4.0";
src = fetchurl {
url = "https://d1ni2b6xgvw0s0.cloudfront.net/v2.x/dynamodb_local_2024-03-14.tar.gz";
hash = "sha256-BmLbmT63CaETgu1a/Tcf0KyF+Xwol67yKVwSMa9fJbw=";
url = "https://d1ni2b6xgvw0s0.cloudfront.net/v2.x/dynamodb_local_2024-04-17.tar.gz";
hash = "sha256-sEsS5qX1qKNoH/zh+mXWZtUd0ycxDtSWtyq+Hkkzr0Q=";
};
sourceRoot = ".";

View File

@ -26,13 +26,13 @@ let
pieBuild = stdenv.hostPlatform.isMusl;
in buildGoModule rec {
pname = "frankenphp";
version = "1.1.2";
version = "1.1.4";
src = fetchFromGitHub {
owner = "dunglas";
repo = "frankenphp";
rev = "v${version}";
hash = "sha256-r6BMlcjvRbVnBHsfRhJyMiyZzH2Z+FLOYz6ik4I8p+A=";
hash = "sha256-I1O5ZujFRIgbe+6k1FmCedywYwN1zA+owU+tLBtN7nU=";
};
sourceRoot = "${src.name}/caddy";
@ -40,7 +40,7 @@ in buildGoModule rec {
# frankenphp requires C code that would be removed with `go mod tidy`
# https://github.com/golang/go/issues/26366
proxyVendor = true;
vendorHash = "sha256-gxBD2KPkWtAM0MsaQ9Ed4QDjJCg1uJQpXvnCOnAsZTw=";
vendorHash = "sha256-u+7pUt6SmNI/smE3l3CQl+e/ZsVRSeVJgprR0aslrMI=";
buildInputs = [ phpUnwrapped brotli ] ++ phpUnwrapped.buildInputs;
nativeBuildInputs = [ makeBinaryWrapper ] ++ lib.optionals stdenv.isDarwin [ pkg-config darwin.cctools darwin.autoSignDarwinBinariesHook ];

View File

@ -8,15 +8,15 @@
, hicolor-icon-theme
}:
stdenvNoCC.mkDerivation {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "gruvbox-plus-icons";
version = "unstable-2023-12-07";
version = "5.3.1";
src = fetchFromGitHub {
owner = "SylEleuth";
repo = "gruvbox-plus-icon-pack";
rev = "f3109979fe93b31ea14eb2d5c04247a895302ea0";
sha256 = "sha256-EijTEDkPmcDcMhCuL6fOWjU9eXFUwmeOEwfGlxadb1U=";
rev = "v${finalAttrs.version}";
sha256 = "sha256-Y+wNmZTVWsg6Hn+fak71jnoZ72Cz/8YYpGWkKr4+C9Q=";
};
nativeBuildInputs = [ gtk3 ];
@ -44,4 +44,4 @@ stdenvNoCC.mkDerivation {
platforms = platforms.linux;
maintainers = with maintainers; [ eureka-cpu RGBCube ];
};
}
})

View File

@ -32,7 +32,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; {
homepage = "https://github.com/rtbrick/libdict/";
changelog = "https://github.com/rtbrick/libdict/releases/tag/${version}";
changelog = "https://github.com/rtbrick/libdict/releases/tag/${finalAttrs.version}";
description = "C library of key-value data structures";
license = licenses.bsd2;
maintainers = teams.wdz.members;

View File

@ -0,0 +1,60 @@
{
fetchFromGitHub,
lib,
stdenv,
cmake,
fmt,
spdlog,
tl-expected,
nlohmann_json,
yaml-cpp,
simdjson,
reproc,
libsolv,
curl,
libarchive,
zstd,
bzip2,
python3Packages,
}:
stdenv.mkDerivation rec {
pname = "libmamba";
version = "1.5.7";
src = fetchFromGitHub {
owner = "mamba-org";
repo = "mamba";
rev = "${pname}-${version}";
hash = "sha256-HfmvLi9IBWlaGAn2Ej4Bnm4b3l19jEXwNl5IUkdVxi0=";
};
nativeBuildInputs = [
cmake
python3Packages.python
];
buildInputs = [
fmt
spdlog
tl-expected
nlohmann_json
yaml-cpp
simdjson
reproc
libsolv
curl
libarchive
zstd
bzip2
];
cmakeFlags = [
(lib.cmakeBool "BUILD_LIBMAMBA" true)
(lib.cmakeBool "BUILD_SHARED" true)
];
meta = {
description = "The library for the fast Cross-Platform Package Manager";
homepage = "https://github.com/mamba-org/mamba";
license = lib.licenses.bsd3;
platforms = lib.platforms.all;
maintainers = [ lib.maintainers.ericthemagician ];
};
}

View File

@ -39,7 +39,6 @@ stdenv.mkDerivation rec {
homepage = "https://strophe.im/libstrophe/";
license = with licenses; [ gpl3Only mit ];
platforms = platforms.unix;
broken = stdenv.isDarwin;
maintainers = with maintainers; [ devhell flosse ];
};
}

View File

@ -1,11 +1,13 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, openssl
}:
let
pname = "llm-ls";
version = "0.4.0";
version = "0.5.2";
in
rustPlatform.buildRustPackage {
inherit pname version;
@ -14,10 +16,14 @@ rustPlatform.buildRustPackage {
owner = "huggingface";
repo = "llm-ls";
rev = version;
sha256 = "sha256-aMoT/rH6o4dHCSiSI/btdKysFfIbHvV7R5dRHIOF/Qs=";
sha256 = "sha256-DyPdx+nNBhOZ86GQljMYULatWny2EteNNzzO6qv1Wlk=";
};
cargoHash = "sha256-Z6BO4kDtlIrVdDk1fiwyelpu1rj7e4cibgFZRsl1pfA=";
cargoHash = "sha256-7McUyQjnCuV0JG65hUoR8TtB4vrjiEO1l7NXYochgG8=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
meta = with lib; {
description = "LSP server leveraging LLMs for code completion (and more?)";

View File

@ -40,7 +40,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; {
description = "ownCloud Infinite Scale Stack ";
homepage = "https://owncloud.dev/ocis/";
changelog = "https://github.com/owncloud/ocis/releases/tag/v${version}";
changelog = "https://github.com/owncloud/ocis/releases/tag/v${finalAttrs.version}";
# oCIS is licensed under non-free EULA which can be found here :
# https://github.com/owncloud/ocis/releases/download/v5.0.1/End-User-License-Agreement-for-ownCloud-Infinite-Scale.pdf
license = licenses.unfree;

View File

@ -0,0 +1,33 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "openpomodoro-cli";
version = "0.3.0";
src = fetchFromGitHub {
owner = "open-pomodoro";
repo = "openpomodoro-cli";
rev = "refs/tags/v${version}";
hash = "sha256-h/o4yxrZ8ViHhN2JS0ZJMfvcJBPCsyZ9ZQw9OmKnOfY=";
};
vendorHash = "sha256-BR9d/PMQ1ZUYWSDO5ID2bkTN+A+VbaLTlz5t0vbkO60=";
ldflags = [
"-w"
"-s"
"-X=main.Version=${version}"
];
meta = with lib; {
description = "A command-line Pomodoro tracker which uses the Open Pomodoro Format";
homepage = "https://github.com/open-pomodoro/openpomodoro-cli";
changelog = "https://github.com/open-pomodoro/openpomodoro-cli/blob/${src.rev}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ gdifolco ];
mainProgram = "openpomodoro-cli";
};
}

View File

@ -102,7 +102,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; {
homepage = "https://polybar.github.io/";
changelog = "https://github.com/polybar/polybar/releases/tag/${version}";
changelog = "https://github.com/polybar/polybar/releases/tag/${finalAttrs.version}";
description = "A fast and easy-to-use tool for creating status bars";
longDescription = ''
Polybar aims to help users build beautiful and highly customizable

View File

@ -2,13 +2,13 @@
buildGoModule rec {
name = "regal";
version = "0.21.0";
version = "0.21.2";
src = fetchFromGitHub {
owner = "StyraInc";
repo = "regal";
rev = "v${version}";
hash = "sha256-4qqwL+zzBLtN8DLgUsVVAjXKdAvvbo12PHQstptbFIc=";
hash = "sha256-YGUXJ5rfzyLwqhOLBuIRdN1G0fTcrPmuIsYKS/CzzW4=";
};
vendorHash = "sha256-5rj2dCWya24VUmIFf0oJQop80trq9NnqqFlBW/A6opk=";

View File

@ -1,27 +1,37 @@
{ lib
, stdenv
, fetchFromGitHub
, AppKit
, Carbon
, CoreAudio
, CoreWLAN
, CoreVideo
, DisplayServices
, IOKit
, MediaRemote
, SkyLight
, testers
, nix-update-script
{
lib,
overrideSDK,
stdenv,
darwin,
fetchFromGitHub,
testers,
nix-update-script,
}:
let
inherit (stdenv.hostPlatform) system;
target = {
"aarch64-darwin" = "arm64";
"x86_64-darwin" = "x86";
}.${system} or (throw "Unsupported system: ${system}");
inherit (darwin.apple_sdk_11_0.frameworks)
AppKit
Carbon
CoreAudio
CoreWLAN
CoreVideo
DisplayServices
IOKit
MediaRemote
SkyLight
;
target =
{
"aarch64-darwin" = "arm64";
"x86_64-darwin" = "x86";
}
.${system} or (throw "Unsupported system: ${system}");
stdenv' = if stdenv.isDarwin then overrideSDK stdenv "11.0" else stdenv;
in
stdenv.mkDerivation (finalAttrs: {
stdenv'.mkDerivation (finalAttrs: {
pname = "sketchybar";
version = "2.21.0";
@ -44,9 +54,7 @@ stdenv.mkDerivation (finalAttrs: {
SkyLight
];
makeFlags = [
target
];
makeFlags = [ target ];
installPhase = ''
runHook preInstall
@ -71,7 +79,10 @@ stdenv.mkDerivation (finalAttrs: {
homepage = "https://github.com/FelixKratz/SketchyBar";
license = lib.licenses.gpl3;
mainProgram = "sketchybar";
maintainers = with lib.maintainers; [ azuwis khaneliman ];
maintainers = with lib.maintainers; [
azuwis
khaneliman
];
platforms = lib.platforms.darwin;
};
})

View File

@ -53,7 +53,7 @@ php.buildComposerProject (finalAttrs: {
Details for snipe-it can be found on the official website at https://snipeitapp.com/.
'';
homepage = "https://snipeitapp.com/";
changelog = "https://github.com/snipe/snipe-it/releases/tag/v${version}";
changelog = "https://github.com/snipe/snipe-it/releases/tag/v${finalAttrs.version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ yayayayaka ];
platforms = platforms.linux;

View File

@ -0,0 +1,41 @@
{ lib
, stdenv
, pkg-config
, fetchFromGitHub
, libusb1
}:
# IMPORTANT: You need permissions to access the stlink usb devices.
# Add services.udev.packages = [ pkgs.stlink ] to your configuration.nix
stdenv.mkDerivation {
pname = "stlink-tool";
version = "0-unstable-2020-06-10";
src = fetchFromGitHub {
owner = "jeanthom";
repo = "stlink-tool";
rev = "8cbdffee012d5a782dd67d1277ed22fa889b9ba9";
hash = "sha256-1Mk4rFyIviJ9hcJo1GyzRmlPIemBJtuj3PgvnNhche0=";
fetchSubmodules = true;
};
buildInputs = [ libusb1 ];
nativeBuildInputs = [ pkg-config ];
env.NIX_CFLAGS_COMPILE = "-Wno-uninitialized";
installPhase = ''
runHook preInstall
install -D stlink-tool $out/bin/stlink-tool
runHook postInstall
'';
meta = with lib; {
description = "libusb tool for flashing chinese ST-Link dongles";
homepage = "https://github.com/jeanthom/stlink-tool";
license = licenses.mit;
platforms = platforms.unix;
maintainers = [ maintainers.wucke13 ];
mainProgram = "stlink-tool";
};
}

View File

@ -87,7 +87,7 @@ stdenv.mkDerivation (finalAttrs: {
using only the keyboard.
'';
homepage = "https://swaywm.org";
changelog = "https://github.com/swaywm/sway/releases/tag/${version}";
changelog = "https://github.com/swaywm/sway/releases/tag/${finalAttrs.version}";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ primeos synthetica ];

View File

@ -74,7 +74,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; {
homepage = "https://github.com/artemsen/swayimg";
description = "Image viewer for Sway/Wayland";
changelog = "https://github.com/artemsen/swayimg/releases/tag/v${version}";
changelog = "https://github.com/artemsen/swayimg/releases/tag/v${finalAttrs.version}";
license = licenses.mit;
maintainers = with maintainers; [ matthewcroughan ];
platforms = platforms.linux;

View File

@ -12,6 +12,7 @@
python3,
xdg-utils,
installShellFiles,
darwin,
}:
stdenv.mkDerivation rec {
pname = "taskwarrior";
@ -38,6 +39,10 @@ stdenv.mkDerivation rec {
cargo
rustc
rustPlatform.cargoSetupHook
] ++ lib.optionals stdenv.isDarwin [
# darwin dependencies
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.SystemConfiguration
];
doCheck = true;

View File

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "tenv";
version = "1.7.1";
version = "1.8.0";
src = fetchFromGitHub {
owner = "tofuutils";
repo = "tenv";
rev = "v${version}";
hash = "sha256-Iq1yv80qiQxISS0r1ShjJOXVtp/ryodgih1m3ykI8+0=";
hash = "sha256-w8A3tmv8KzwtP5gqbaj5UdFxLcz9ILBP1itXSlLJ3Q0=";
};
vendorHash = "sha256-NMkR90+kJ3VsuhF45l5K68uOqenPfINZDEE0GfjULro=";

View File

@ -56,7 +56,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; {
description = "Make OpenStreetMap vector tiles without the stack";
homepage = "https://tilemaker.org/";
changelog = "https://github.com/systemed/tilemaker/blob/v${version}/CHANGELOG.md";
changelog = "https://github.com/systemed/tilemaker/blob/v${finalAttrs.version}/CHANGELOG.md";
license = licenses.free; # FTWPL
maintainers = with maintainers; [ sikmir ];
platforms = platforms.unix;

View File

@ -36,11 +36,30 @@ in
// (addToPropagatedBuildInputs (with chickenEggs; [ srfi-1 srfi-13 ]) old);
cmark = addToBuildInputs pkgs.cmark;
dbus = addToBuildInputsWithPkgConfig pkgs.dbus;
epoxy = addToPropagatedBuildInputsWithPkgConfig pkgs.libepoxy;
epoxy = old:
(addToPropagatedBuildInputsWithPkgConfig pkgs.libepoxy old)
// lib.optionalAttrs stdenv.cc.isClang {
env.NIX_CFLAGS_COMPILE = toString [
"-Wno-error=incompatible-function-pointer-types"
"-Wno-error=int-conversion"
];
};
espeak = addToBuildInputsWithPkgConfig pkgs.espeak-ng;
exif = addToBuildInputsWithPkgConfig pkgs.libexif;
expat = addToBuildInputsWithPkgConfig pkgs.expat;
ezxdisp = addToBuildInputsWithPkgConfig pkgs.xorg.libX11;
expat = old:
(addToBuildInputsWithPkgConfig pkgs.expat old)
// lib.optionalAttrs stdenv.cc.isClang {
env.NIX_CFLAGS_COMPILE = toString [
"-Wno-error=incompatible-function-pointer-types"
];
};
ezxdisp = old:
(addToBuildInputsWithPkgConfig pkgs.xorg.libX11 old)
// lib.optionalAttrs stdenv.cc.isClang {
env.NIX_CFLAGS_COMPILE = toString [
"-Wno-error=implicit-function-declaration"
];
};
freetype = addToBuildInputsWithPkgConfig pkgs.freetype;
fuse = addToBuildInputsWithPkgConfig pkgs.fuse;
gl-utils = addPkgConfig;
@ -54,7 +73,14 @@ in
// lib.optionalAttrs stdenv.isDarwin (addToCscOptions "-L -linotify" old);
leveldb = addToBuildInputs pkgs.leveldb;
magic = addToBuildInputs pkgs.file;
mdh = addToBuildInputs pkgs.pcre;
mdh = old:
(addToBuildInputs pkgs.pcre old)
// lib.optionalAttrs stdenv.cc.isClang {
env.NIX_CFLAGS_COMPILE = toString [
"-Wno-error=implicit-function-declaration"
"-Wno-error=implicit-int"
];
};
# missing dependency in upstream egg
mistie = addToPropagatedBuildInputs (with chickenEggs; [ srfi-1 ]);
mosquitto = addToPropagatedBuildInputs ([ pkgs.mosquitto ]);

View File

@ -4,6 +4,7 @@ mkCoqDerivation rec {
pname = "corn";
inherit version;
defaultVersion = with lib.versions; lib.switch coq.coq-version [
{ case = (range "8.17" "8.19"); out = "8.19.0"; }
{ case = (range "8.14" "8.18"); out = "8.18.0"; }
{ case = (range "8.11" "8.17"); out = "8.16.0"; }
{ case = (range "8.7" "8.15"); out = "8.13.0"; }
@ -15,6 +16,7 @@ mkCoqDerivation rec {
"8.13.0".sha256 = "1wzr7mdsnf1rq7q0dvmv55vxzysy85b00ahwbs868bl7m8fk8x5b";
"8.16.0".sha256 = "sha256-ZE/EEIndxHfo/9Me5NX4ZfcH0ZAQ4sRfZY7LRZfLXBQ=";
"8.18.0".sha256 = "sha256-ow3mfarZ1PvBGf5WLnI8LdF3E+8A6fN7cOcXHrZJLo0=";
"8.19.0".sha256 = "sha256-h5MlfRuv2hTbxGmpLUEGQO1YqQTwUNEHZzCfvdOU1TA=";
};
configureScript = "./configure.sh";

View File

@ -5,6 +5,7 @@ mkCoqDerivation {
pname = "math-classes";
inherit version;
defaultVersion = with lib.versions; lib.switch coq.coq-version [
{ case = range "8.17" "8.19"; out = "8.19.0"; }
{ case = range "8.12" "8.18"; out = "8.18.0"; }
{ case = range "8.12" "8.17"; out = "8.17.0"; }
{ case = range "8.6" "8.16"; out = "8.15.0"; }
@ -14,6 +15,7 @@ mkCoqDerivation {
release."8.15.0".sha256 = "10w1hm537k6jx8a8vghq1yx12rsa0sjk2ipv3scgir71ln30hllw";
release."8.17.0".sha256 = "sha256-WklL8pgYTd0l4TGt7h7tWj1qcFcXvoPn25+XKF1pIKA=";
release."8.18.0".sha256 = "sha256-0WwPss8+Vr37zX616xeuS4TvtImtSbToFQkQostIjO8=";
release."8.19.0".sha256 = "sha256-rsV96W9MPFi/DKsepNPm1QnC2DMemio+uALIgzVYw0w=";
propagatedBuildInputs = [ bignums ];

View File

@ -182,7 +182,7 @@ stdenv.mkDerivation (finalAttrs: {
description = "A cross-platform multimedia library";
mainProgram = "sdl2-config";
homepage = "http://www.libsdl.org/";
changelog = "https://github.com/libsdl-org/SDL/releases/tag/release-${version}";
changelog = "https://github.com/libsdl-org/SDL/releases/tag/release-${finalAttrs.version}";
license = licenses.zlib;
platforms = platforms.all;
maintainers = with maintainers; [ cpages ];

View File

@ -18,6 +18,7 @@ stdenv.mkDerivation rec {
pname = "rtaudio";
version = "5.2.0";
# nixpkgs-update: no auto update
src = fetchFromGitHub {
owner = "thestk";
repo = "rtaudio";

View File

@ -58,7 +58,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; {
description = "A blocking, shuffling and loss-less compression library";
homepage = "https://www.blosc.org";
changelog = "https://github.com/Blosc/c-blosc/releases/tag/v${version}";
changelog = "https://github.com/Blosc/c-blosc/releases/tag/v${finalAttrs.version}";
pkgConfigModules = [
"blosc"
];

View File

@ -60,7 +60,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; {
description = "A fast, compressed, persistent binary data store library for C";
homepage = "https://www.blosc.org";
changelog = "https://github.com/Blosc/c-blosc2/releases/tag/v${version}";
changelog = "https://github.com/Blosc/c-blosc2/releases/tag/v${finalAttrs.version}";
pkgConfigModules = [
"blosc2"
];

View File

@ -59,7 +59,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; {
description = "Library for compressing and decompressing 3D geometric meshes and point clouds";
homepage = "https://google.github.io/draco/";
changelog = "https://github.com/google/draco/releases/tag/${version}";
changelog = "https://github.com/google/draco/releases/tag/${finalAttrs.version}";
license = licenses.asl20;
maintainers = with maintainers; [ jansol ];
platforms = platforms.all;

View File

@ -77,7 +77,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; {
description = "C++14 implementation of the TLS-1.3 standard";
homepage = "https://github.com/facebookincubator/fizz";
changelog = "https://github.com/facebookincubator/fizz/releases/tag/v${version}";
changelog = "https://github.com/facebookincubator/fizz/releases/tag/v${finalAttrs.version}";
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = with maintainers; [ pierreis kylesferrazza ];

View File

@ -264,6 +264,6 @@ stdenv.mkDerivation (finalAttrs: {
"gtk+-x11-3.0"
];
platforms = platforms.all;
changelog = "https://gitlab.gnome.org/GNOME/gtk/-/raw/${version}/NEWS";
changelog = "https://gitlab.gnome.org/GNOME/gtk/-/raw/${finalAttrs.version}/NEWS";
};
})

View File

@ -13,6 +13,7 @@
, withRpm ? !stdenv.isDarwin
, rpm
, db
, withConda ? true
}:
stdenv.mkDerivation rec {
@ -23,11 +24,12 @@ stdenv.mkDerivation rec {
owner = "openSUSE";
repo = "libsolv";
rev = version;
sha256 = "sha256-cL7SDwCzXM2qJQfiu/3nfAiFbcFNn1YXD23Sl3n9nzY=";
hash = "sha256-cL7SDwCzXM2qJQfiu/3nfAiFbcFNn1YXD23Sl3n9nzY=";
};
cmakeFlags = [
"-DENABLE_COMPLEX_DEPS=true"
(lib.cmakeBool "ENABLE_CONDA" withConda)
"-DENABLE_LZMA_COMPRESSION=true"
"-DENABLE_BZIP2_COMPRESSION=true"
"-DENABLE_ZSTD_COMPRESSION=true"

View File

@ -206,7 +206,7 @@ stdenv.mkDerivation(finalAttrs: {
meta = with lib; {
description = "Server and user space API to deal with multimedia pipelines";
changelog = "https://gitlab.freedesktop.org/pipewire/pipewire/-/releases/${version}";
changelog = "https://gitlab.freedesktop.org/pipewire/pipewire/-/releases/${finalAttrs.version}";
homepage = "https://pipewire.org/";
license = licenses.mit;
platforms = platforms.linux;

View File

@ -7,7 +7,7 @@
stdenv.mkDerivation rec {
pname = "quantlib";
version = "1.33";
version = "1.34";
outputs = [ "out" "dev" ];
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
owner = "lballabio";
repo = "QuantLib";
rev = "v${version}";
sha256 = "sha256-j2nRm6ebf5OU6mqmcC7wQf/qlf/K9RmmCAnfT+Au8ZM=";
sha256 = "sha256-qrMaIBiDg7bFtWTDAQgAMtekb/7VrI7Ix+G59mU4WHI=";
};
nativeBuildInputs = [ cmake ];

View File

@ -25,7 +25,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; {
homepage = "https://codeberg.org/dnkl/tllist";
changelog = "https://codeberg.org/dnkl/tllist/releases/tag/${version}";
changelog = "https://codeberg.org/dnkl/tllist/releases/tag/${finalAttrs.version}";
description = "C header file only implementation of a typed linked list";
longDescription = ''
Most C implementations of linked list are untyped. That is, their data

View File

@ -7,15 +7,15 @@
buildPythonPackage rec {
pname = "asgineer";
version = "0.8.1";
version = "0.8.2";
format = "setuptools";
# PyPI tarball doesn't include tests directory
src = fetchFromGitHub {
owner = "almarklein";
repo = pname;
rev = "v${version}";
sha256 = "0hd1i9pc8m7sc8bkn31q4ygkmnl5vklrcziq9zkdiqaqm8clyhcx";
rev = "refs/tags/v${version}";
sha256 = "sha256-UYnVlsdEhEAJF21zVmjAXX01K6LQR2I+Dfw5tSsmf5E=";
};
nativeCheckInputs = [

View File

@ -1,41 +1,36 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, setuptools-scm
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "asteval";
version = "0.9.31";
format = "setuptools";
version = "0.9.32";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "newville";
repo = pname;
owner = "lmfit";
repo = "asteval";
rev = "refs/tags/${version}";
hash = "sha256-XIRDm/loZOOPQ7UO/XAo86TzhtHHRrnWFU7MNI4f1vM=";
hash = "sha256-3eML5lEKEUlp3Fwdgvk31an83x8no5ichskKvzYJDsE=";
};
postPatch = ''
substituteInPlace setup.cfg \
--replace " --cov=asteval --cov-report xml" ""
--replace-fail " --cov=asteval --cov-report xml" ""
'';
nativeBuildInputs = [
setuptools-scm
];
build-system = [ setuptools-scm ];
nativeCheckInputs = [
pytestCheckHook
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [
"asteval"
];
pythonImportsCheck = [ "asteval" ];
disabledTests = [
# AssertionError: 'ImportError' != None
@ -44,8 +39,8 @@ buildPythonPackage rec {
meta = with lib; {
description = "AST evaluator of Python expression using ast module";
homepage = "https://github.com/newville/asteval";
changelog = "https://github.com/newville/asteval/releases/tag/${version}";
homepage = "https://github.com/lmfit/asteval";
changelog = "https://github.com/lmfit/asteval/releases/tag/${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};

View File

@ -0,0 +1,47 @@
{
lib,
buildPythonPackage,
pythonRelaxDepsHook,
fetchFromGitHub,
libmambapy,
hatchling,
hatch-vcs,
boltons,
}:
buildPythonPackage rec {
pname = "conda-libmamba-solver";
version = "24.1.0";
pyproject = true;
src = fetchFromGitHub {
inherit pname version;
owner = "conda";
repo = "conda-libmamba-solver";
rev = version;
hash = "sha256-vsUYrDVNMKHd3mlaAFYCP4uPQ9HxeKsose5O8InaMcE=";
};
nativeBuildInputs = [ pythonRelaxDepsHook ];
build-system = [
hatchling
hatch-vcs
];
dependencies = [
boltons
libmambapy
];
# this package depends on conda for the import to run succesfully, but conda depends on this package to execute.
# pythonImportsCheck = [ "conda_libmamba_solver" ];
pythonRemoveDeps = [ "conda" ];
meta = {
description = "The libmamba based solver for conda.";
homepage = "https://github.com/conda/conda-libmamba-solver";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.ericthemagician ];
};
}

View File

@ -0,0 +1,30 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
conda-package-streaming,
}:
buildPythonPackage rec {
pname = "conda-package-handling";
version = "2.2.0";
src = fetchFromGitHub {
owner = "conda";
repo = "conda-package-handling";
rev = version;
hash = "sha256-WeGfmT6lLwcwhheLBPMFcVMudY+zPsvTuXuOsiEAorQ=";
};
pyproject = true;
build-system = [ setuptools ];
dependencies = [ conda-package-streaming ];
pythonImportsCheck = [ "conda_package_handling" ];
meta = {
description = "Create and extract conda packages of various formats";
homepage = "https://github.com/conda/conda-package-handling";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.ericthemagician ];
};
}

View File

@ -0,0 +1,35 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
requests,
zstandard,
}:
buildPythonPackage rec {
pname = "conda-package-streaming";
version = "0.9.0";
pyproject = true;
src = fetchFromGitHub {
owner = "conda";
repo = "conda-package-streaming";
rev = "v${version}";
hash = "sha256-UTql2M+9eFDuHOwLYYKJ751wEcOfLJYzfU6+WF8Je2g=";
};
build-system = [ flit-core ];
dependencies = [
requests
zstandard
];
pythonImportsCheck = [ "conda_package_streaming" ];
meta = {
description = "An efficient library to read from new and old format .conda and .tar.bz2 conda packages.";
homepage = "https://github.com/conda/conda-package-streaming";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.ericthemagician ];
};
}

View File

@ -0,0 +1,51 @@
--- a/conda/base/context.py
+++ b/conda/base/context.py
@@ -754,7 +754,7 @@
@property
def conda_prefix(self):
- return abspath(sys.prefix)
+ return expand("~/.conda")
@property
@deprecated(
@@ -787,28 +787,17 @@
The vars can refer to each other if necessary since the dict is ordered.
None means unset it.
"""
- if context.dev:
- return {
- "CONDA_EXE": sys.executable,
- # do not confuse with os.path.join, we are joining paths with ; or : delimiters
- "PYTHONPATH": os.pathsep.join(
- (CONDA_SOURCE_ROOT, os.environ.get("PYTHONPATH", ""))
- ),
- "_CE_M": "-m",
- "_CE_CONDA": "conda",
- "CONDA_PYTHON_EXE": sys.executable,
- }
- else:
- bin_dir = "Scripts" if on_win else "bin"
- exe = "conda.exe" if on_win else "conda"
- # I was going to use None to indicate a variable to unset, but that gets tricky with
- # error-on-undefined.
- return {
- "CONDA_EXE": os.path.join(sys.prefix, bin_dir, exe),
- "_CE_M": "",
- "_CE_CONDA": "",
- "CONDA_PYTHON_EXE": sys.executable,
- }
+ import sys
+ return {
+ "CONDA_EXE": sys.executable,
+ # do not confuse with os.path.join, we are joining paths with ; or : delimiters
+ "PYTHONPATH": os.pathsep.join(
+ [CONDA_SOURCE_ROOT, os.environ.get("PYTHONPATH", "")] + [path for path in sys.path if "site-packages" in path]
+ ),
+ "_CE_M": "-m",
+ "_CE_CONDA": "conda",
+ "CONDA_PYTHON_EXE": sys.executable,
+ }
@memoizedproperty
def channel_alias(self):

View File

@ -1,38 +1,83 @@
{ lib
, buildPythonPackage
, pythonAtLeast
, fetchPypi
, pycosat
, requests
, ruamel-yaml
, isPy3k
, enum34
{
lib,
buildPythonPackage,
pythonRelaxDepsHook,
hostPlatform,
fetchFromGitHub,
# build dependencies
hatchling,
hatch-vcs,
# runtime dependencies
archspec,
conda-libmamba-solver,
conda-package-handling,
distro,
jsonpatch,
packaging,
platformdirs,
pluggy,
pycosat,
requests,
ruamel-yaml,
tqdm,
truststore,
# runtime options
defaultEnvPath ? "~/.conda/envs", # default path to store conda environments
defaultPkgPath ? "~/.conda/pkgs", # default path to store download conda packages
}:
# Note: this installs conda as a library. The application cannot be used.
# This is likely therefore NOT what you're looking for.
buildPythonPackage rec {
pname = "conda";
version = "4.3.16";
format = "setuptools";
version = "24.1.2";
pyproject = true;
# this is a very outdated version of conda that isn't compatible with python 3.10+
disabled = pythonAtLeast "3.10";
src = fetchPypi {
src = fetchFromGitHub {
inherit pname version;
sha256 = "a91ef821343dea3ba9670f3d10b36c1ace4f4c36d70c175d8fc8886e94285953";
owner = "conda";
repo = "conda";
rev = version;
hash = "sha256-L/Y7Bb3R5YqXbjTN4CRPFnkgymVLrxuFmjVzpvt28dE=";
};
propagatedBuildInputs = [ pycosat requests ruamel-yaml ] ++ lib.optional (!isPy3k) enum34;
nativeBuildInputs = [ pythonRelaxDepsHook ];
# No tests
doCheck = false;
build-system = [
hatchling
hatch-vcs
];
dependencies = [
archspec
conda-libmamba-solver
conda-package-handling
distro
jsonpatch
packaging
platformdirs
pluggy
pycosat
requests
ruamel-yaml
tqdm
truststore
];
patches = [ ./0001-conda_exe.patch ];
makeWrapperArgs = [
"--set CONDA_EXE ${placeholder "out"}/bin/conda"
''--set-default CONDA_ENVS_PATH "${defaultEnvPath}"''
''--set-default CONDA_PKGS_DIRS "${defaultPkgPath}"''
];
pythonImportsCheck = [ "conda" ];
# menuinst is currently not packaged
pythonRemoveDeps = lib.optionals (!hostPlatform.isWindows) [ "menuinst" ];
meta = {
description = "OS-agnostic, system-level binary package manager";
homepage = "https://github.com/conda/conda";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.ericthemagician ];
};
}

View File

@ -1,26 +1,30 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, python-dateutil
, python-mimeparse
, pythonOlder
{
lib,
buildPythonPackage,
fetchFromGitHub,
python-dateutil,
python-mimeparse,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "django-tastypie";
version = "0.14.6";
format = "setuptools";
version = "0.14.7";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "django-tastypie";
repo = pname;
repo = "django-tastypie";
rev = "refs/tags/v${version}";
hash = "sha256-emZVcycGLa8Z2yMv/NWZi1b5fPk50u841cFfFF3Ke/s=";
hash = "sha256-bQBq5Wk5P9c+/a5B+LnxG8aCrVK1A3jLsLFK69/UYjo=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
python-dateutil
python-mimeparse
];
@ -28,9 +32,7 @@ buildPythonPackage rec {
# Tests requires a Django instance
doCheck = false;
pythonImportsCheck = [
"tastypie"
];
pythonImportsCheck = [ "tastypie" ];
meta = with lib; {
description = "Utilities and helpers for writing Pylint plugins";

View File

@ -13,13 +13,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "eigenpy";
version = "3.5.0";
version = "3.5.1";
src = fetchFromGitHub {
owner = "stack-of-tasks";
repo = "eigenpy";
rev = "v${finalAttrs.version}";
hash = "sha256-ar7KmlvWD2qoOonaH8YhVssZhpbTdHNvxY7rzvmhzc0=";
hash = "sha256-nTS9FNXGrak5g83BHHNSsk5V5khpOpRz5zWE8D1gDUo=";
};
outputs = [

View File

@ -1,16 +1,17 @@
{ lib
, buildPythonPackage
, editdistance-s
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, setuptools
, ukkonen
{
lib,
buildPythonPackage,
editdistance-s,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
setuptools,
ukkonen,
}:
buildPythonPackage rec {
pname = "identify";
version = "2.5.35";
version = "2.5.36";
pyproject = true;
disabled = pythonOlder "3.8";
@ -19,28 +20,24 @@ buildPythonPackage rec {
owner = "pre-commit";
repo = "identify";
rev = "refs/tags/v${version}";
hash = "sha256-kUBAq9ttIdTLApJ0yW8Yk/NIXpmllApQGpR24wm0PHA=";
hash = "sha256-CO+qP0FIUdPFXy6/7FgrKZbUp48XbgqqGV2GAX9ogMY=";
};
nativeBuildInputs = [
setuptools
];
build-system = [ setuptools ];
nativeCheckInputs = [
dependencies = [
editdistance-s
pytestCheckHook
ukkonen
];
pythonImportsCheck = [
"identify"
];
pythonImportsCheck = [ "identify" ];
meta = with lib; {
description = "File identification library for Python";
mainProgram = "identify-cli";
homepage = "https://github.com/chriskuehl/identify";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
mainProgram = "identify-cli";
};
}

View File

@ -0,0 +1,93 @@
{
lib,
fetchFromGitHub,
pythonPackages,
buildPythonPackage,
cmake,
ninja,
libmamba,
pybind11,
setuptools,
fmt,
spdlog,
tl-expected,
nlohmann_json,
yaml-cpp,
reproc,
libsolv,
curl,
zstd,
bzip2,
wheel,
}:
buildPythonPackage rec {
pname = "libmambapy";
version = "1.5.7";
pyproject = true;
src = fetchFromGitHub {
owner = "mamba-org";
repo = "mamba";
rev = "${pname}-${version}";
hash = "sha256-HfmvLi9IBWlaGAn2Ej4Bnm4b3l19jEXwNl5IUkdVxi0=";
};
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
(libmamba.override { python3Packages = pythonPackages; })
pybind11
fmt
spdlog
tl-expected
nlohmann_json
yaml-cpp
reproc
libsolv
curl
zstd
bzip2
];
build-system = [
setuptools
wheel
];
# patch needed to fix setuptools errors
# see these for reference
# https://stackoverflow.com/questions/72294299/multiple-top-level-packages-discovered-in-a-flat-layout
# https://github.com/pypa/setuptools/issues/3197#issuecomment-1078770109
postPatch = ''
substituteInPlace libmambapy/setup.py --replace-warn "setuptools.setup()" "setuptools.setup(py_modules=[])"
'';
cmakeFlags = [
"-GNinja"
(lib.cmakeBool "BUILD_LIBMAMBAPY" true)
];
buildPhase = ''
ninjaBuildPhase
cp -r libmambapy ../libmambapy
cd ../libmambapy
pypaBuildPhase
'';
pythonRemoveDeps = [ "scikit-build" ];
pythonImportsCheck = [
"libmambapy"
"libmambapy.bindings"
];
meta = {
description = "The python library for the fast Cross-Platform Package Manager";
homepage = "https://github.com/mamba-org/mamba";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.ericthemagician ];
};
}

View File

@ -19,14 +19,14 @@
buildPythonPackage rec {
pname = "marimo";
version = "0.4.2";
version = "0.4.4";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-wFDx90zTaPF9gHLZnWBJQlMBuz8iZQRHkcS8BAxcZRA=";
hash = "sha256-M6zvr3F67++UOjBVPVTuCJIRikNK/daV5Aq6x/LTreI=";
};
build-system = [

View File

@ -16,14 +16,14 @@
buildPythonPackage rec {
pname = "particle";
version = "0.23.1";
version = "0.24.0";
format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-7uKLDoRr/qTf1w6exf/jJEYT2wi2tqm3c/VaQxB1L6s=";
hash = "sha256-irS13UVHui2ug1SVWkNSEIkqV13/RvMjysbPQGALl2o=";
};
postPatch = ''

View File

@ -9,14 +9,14 @@
buildPythonPackage rec {
pname = "rapidgzip";
version = "0.13.1";
version = "0.13.2";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-t6mfOsCg0FoV7N4GfTIs1KwxeGIOORuxbEIEJN52nRw=";
hash = "sha256-W1Wi9byhwYRyF6VhZ+BkPLsxCzaHFHoYFs/LggXo5tQ=";
};
nativeBuildInputs = [ cython nasm setuptools ];

View File

@ -1,44 +1,45 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
, pyyaml
, ruamel-yaml
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
pytestCheckHook,
pyyaml,
ruamel-yaml,
setuptools,
}:
buildPythonPackage rec {
pname = "yamale";
version = "5.1.0";
format = "setuptools";
version = "5.2.0";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "23andMe";
repo = pname;
repo = "yamale";
rev = "refs/tags/${version}";
hash = "sha256-WLI3cL6i7eLfaX1nN8K/fHlrkOm+JdTEscelql6jO44=";
hash = "sha256-UTtase1b8Zjaixhp/g0tLtT6QZS4cyaSHcFz+h9Qoos=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
pyyaml
ruamel-yaml
];
nativeCheckInputs = [
pytestCheckHook
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [
"yamale"
];
pythonImportsCheck = [ "yamale" ];
meta = with lib; {
description = "A schema and validator for YAML";
mainProgram = "yamale";
homepage = "https://github.com/23andMe/Yamale";
changelog = "https://github.com/23andMe/Yamale/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ rtburns-jpl ];
mainProgram = "yamale";
};
}

View File

@ -78,7 +78,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; {
description = "A language server that offers Lua language support";
homepage = "https://github.com/luals/lua-language-server";
changelog = "https://github.com/LuaLS/lua-language-server/blob/${version}/changelog.md";
changelog = "https://github.com/LuaLS/lua-language-server/blob/${finalAttrs.version}/changelog.md";
license = licenses.mit;
maintainers = with maintainers; [ figsoda gepbird sei40kr ];
mainProgram = "lua-language-server";

View File

@ -8,16 +8,16 @@
buildGoModule rec {
pname = "pscale";
version = "0.195.0";
version = "0.197.0";
src = fetchFromGitHub {
owner = "planetscale";
repo = "cli";
rev = "v${version}";
sha256 = "sha256-Dgp4N4R239NSewHJ7iVhWwfoppXsnhhL8ZrDEbiM9v4=";
sha256 = "sha256-Yjnq6ALbuvkYIOZ4CdBq1naTPGgT3aX0wRmREZpHo7I=";
};
vendorHash = "sha256-0rzX54AdlFvvYhfZvS3qBxV4bIF2li8HwKdtm0jS04g=";
vendorHash = "sha256-TdRfff342QvwjBC6B6/npbkvaH3o9CBKe2exu6TnT2o=";
ldflags = [
"-s" "-w"

View File

@ -8,13 +8,13 @@
}:
buildGoModule rec {
pname = "turso-cli";
version = "0.92.0";
version = "0.92.1";
src = fetchFromGitHub {
owner = "tursodatabase";
repo = "turso-cli";
rev = "v${version}";
hash = "sha256-L118k+NOvO9jBqBzPkrx/U+RjgY318b1Q0u5X7uT7i0=";
hash = "sha256-Oe+VxNMJwX0iIAyGoPtzgRV/VaWzVQLlBH1HxhKqUqw=";
};
vendorHash = "sha256-2NjdjB09WYzHjQEl2hMUWN1/xsj/Hlr8lVYU/pkxTqQ=";

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "uftrace";
version = "0.15.2";
version = "0.16";
src = fetchFromGitHub {
owner = "namhyung";
repo = "uftrace";
rev = "v${version}";
sha256 = "sha256-FfTt1S7X7FakKXWbmJJ1HMYcu/tG/UFknz8XmEPbPUo=";
sha256 = "sha256-JuBwyE6JH3CpJH863LbnWELUIIEKVaAcz8h8beeABGQ=";
};
postUnpack = ''

View File

@ -61,7 +61,7 @@ stdenv.mkDerivation (finalAttrs: {
compositor and back again.
'';
homepage = "https://github.com/MirServer/wlcs";
changelog = "https://github.com/MirServer/wlcs/releases/tag/v${version}";
changelog = "https://github.com/MirServer/wlcs/releases/tag/v${finalAttrs.version}";
license = licenses.gpl3Only;
maintainers = with maintainers; [ OPNA2608 ];
platforms = platforms.linux;

View File

@ -68,8 +68,9 @@ stdenv.mkDerivation rec {
chess board & DGT clocks and much more.
'';
license = lib.licenses.unfree;
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
homepage = "http://www.playwitharena.de";
platforms = ["x86_64-linux"];
hydraPlatforms = lib.platforms.none;
};
}

View File

@ -68,7 +68,7 @@ stdenv.mkDerivation (finalAttrs: {
description = "Improved version of the X-Ray Engine, the game engine used in the world-famous S.T.A.L.K.E.R. game series by GSC Game World";
homepage = "https://github.com/OpenXRay/xray-16/";
license = licenses.unfree // {
url = "https://github.com/OpenXRay/xray-16/blob/${version}/License.txt";
url = "https://github.com/OpenXRay/xray-16/blob/${finalAttrs.version}/License.txt";
};
maintainers = with maintainers; [ OPNA2608 ];
platforms = [ "x86_64-linux" "i686-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];

View File

@ -54,7 +54,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; {
broken = kernel.kernelOlder "4.19";
changelog = "https://github.com/DisplayLink/evdi/releases/tag/v${version}";
changelog = "https://github.com/DisplayLink/evdi/releases/tag/v${finalAttrs.version}";
description = "Extensible Virtual Display Interface";
homepage = "https://www.displaylink.com/";
license = with licenses; [ lgpl21Only gpl2Only ];

View File

@ -50,6 +50,10 @@ while [ "$#" -gt 0 ]; do
;;
switch|boot|test|build|edit|repl|dry-build|dry-run|dry-activate|build-vm|build-vm-with-bootloader|list-generations)
if [ "$i" = dry-run ]; then i=dry-build; fi
if [ "$i" = list-generations ]; then
buildNix=
fast=1
fi
# exactly one action mandatory, bail out if multiple are given
if [ -n "$action" ]; then showSyntax; fi
action="$i"

View File

@ -1,6 +1,6 @@
{ callPackage }:
{
rust-synapse-compress-state = callPackage ./rust-synapse-compress-state.nix { };
rust-synapse-compress-state = callPackage ./rust-synapse-compress-state { };
synadm = callPackage ./synadm.nix { };
}

File diff suppressed because it is too large Load Diff

View File

@ -2,21 +2,29 @@
rustPlatform.buildRustPackage rec {
pname = "rust-synapse-compress-state";
version = "0.1.3";
version = "0.1.4";
src = fetchFromGitHub {
owner = "matrix-org";
repo = pname;
rev = "v${version}";
sha256 = "sha256-SSfVtG8kwHarVbB1O7xC2SSbUpPGYMHTMyoxu8mpEk0=";
hash = "sha256-nNQ/d4FFAvI+UY+XeqExyhngq+k+j5Pkz94ch27aoVM=";
};
cargoSha256 = "sha256-PG+UeovhJMsIlm5dOYdtMxbUxZjwG3V59kAcB9aFP5c=";
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"state-map-0.1.0" = "sha256-zToFCioijyT0vZ6c1uO+1ho+RODTe4OwbK2GhoKk+X4=";
};
};
cargoBuildFlags = [
"--all"
];
# Needed to get openssl-sys to use pkgconfig.
env.OPENSSL_NO_VENDOR = 1;
nativeBuildInputs = [ python3 pkg-config ];
buildInputs = [ openssl ];

View File

@ -21,7 +21,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; {
description = "A tool designed for parsing and converting SPIR-V to other shader languages";
homepage = "https://github.com/KhronosGroup/SPIRV-Cross";
changelog = "https://github.com/KhronosGroup/SPIRV-Cross/releases/tag/${version}";
changelog = "https://github.com/KhronosGroup/SPIRV-Cross/releases/tag/${finalAttrs.version}";
platforms = platforms.all;
license = licenses.asl20;
maintainers = with maintainers; [ Flakebi ];

View File

@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
'') ];
postFixup = lib.optionalString (!withOffensive) ''
rm -f $out/share/fortunes/men-women*
rm $out/share/games/fortunes/men-women*
'';
meta = with lib; {

View File

@ -15,7 +15,7 @@ let
python pytest nose3 cryptography pyyaml requests mock requests-mock
python-dateutil setuptools;
version = "4.69";
version = "4.72";
in
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
owner = "spaam";
repo = "svtplay-dl";
rev = version;
hash = "sha256-F8VyeIj9I7oDpHTyGw1T8ZvC6kxYf15soY9ni0Zg7u4=";
hash = "sha256-kJ+2vedvxZWnKlgALvuwxLSC6Mmk8M1JIArev5m1wx0=";
};
pythonPaths = [ cryptography pyyaml requests ];

View File

@ -2,13 +2,13 @@
python3Packages.buildPythonApplication rec {
pname = "trash-cli";
version = "0.23.11.10";
version = "0.24.4.17";
src = fetchFromGitHub {
owner = "andreafrancia";
repo = "trash-cli";
rev = version;
hash = "sha256-bP1x+yYAsPQ1vXS3rmHD11UiJ7r/02akb84hr+o8JLs=";
hash = "sha256-pXDqn+QuhTE12zXq6A4GSGSCtYJ6hBahv2p9aYQXxaI=";
};
propagatedBuildInputs = with python3Packages; [ psutil six ];

View File

@ -60,7 +60,7 @@ stdenv.mkDerivation (finalAttrs: {
description = "A GTK Gnutella client, optimized for speed and scalability";
mainProgram = "gtk-gnutella";
homepage = "https://gtk-gnutella.sourceforge.net/"; # Code: https://github.com/gtk-gnutella/gtk-gnutella
changelog = "https://raw.githubusercontent.com/gtk-gnutella/gtk-gnutella/v${version}/ChangeLog";
changelog = "https://raw.githubusercontent.com/gtk-gnutella/gtk-gnutella/v${finalAttrs.version}/ChangeLog";
maintainers = [ maintainers.doronbehar ];
license = licenses.gpl2Plus;
platforms = platforms.unix;

View File

@ -112,7 +112,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; {
description = "Next-generation RPM package management system";
homepage = "https://github.com/rpm-software-management/dnf5";
changelog = "https://github.com/rpm-software-management/dnf5/releases/tag/${version}";
changelog = "https://github.com/rpm-software-management/dnf5/releases/tag/${finalAttrs.version}";
license = licenses.gpl2Plus;
maintainers = with lib.maintainers; [ malt3 katexochen ];
mainProgram = "dnf5";

View File

@ -5,14 +5,14 @@
rustPlatform.buildRustPackage rec {
pname = "pulldown-cmark";
version = "0.10.2";
version = "0.10.3";
src = fetchCrate {
inherit pname version;
hash = "sha256-jRQ2BnaElhciyBPQiHw680uFC6FXs+rP8rJGWH5ZbCc=";
hash = "sha256-lJTMMXjuam872p+3+uesODd3s3/IJFg476AssikhI48=";
};
cargoHash = "sha256-UsdssFfy7cTM0wrfLDLrzbKudB5vqFINInJAteH5OTk=";
cargoHash = "sha256-P0Wem+iEnjq+iyJYw0QqwFQ7UuG/BMKEUernykjg44o=";
meta = {
description = "A pull parser for CommonMark written in Rust";

View File

@ -28,7 +28,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
meta = with lib; {
homepage = "https://github.com/pgf-tikz/pgf";
description = "A Portable Graphic Format for TeX - version ${version}";
description = "A Portable Graphic Format for TeX";
branch = lib.versions.major version;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ AndersonTorres ];

View File

@ -13069,10 +13069,6 @@ with pkgs;
sixpair = callPackage ../tools/misc/sixpair { };
sketchybar = darwin.apple_sdk_11_0.callPackage ../os-specific/darwin/sketchybar {
inherit (darwin.apple_sdk_11_0.frameworks) AppKit Carbon CoreAudio CoreWLAN CoreVideo DisplayServices IOKit MediaRemote SkyLight;
};
skippy-xd = callPackage ../tools/X11/skippy-xd { };
sks = callPackage ../servers/sks {

View File

@ -2400,6 +2400,12 @@ self: super: with self; {
conda = callPackage ../development/python-modules/conda { };
conda-libmamba-solver = callPackage ../development/python-modules/conda-libmamba-solver { };
conda-package-handling = callPackage ../development/python-modules/conda-package-handling { };
conda-package-streaming = callPackage ../development/python-modules/conda-package-streaming { };
confection = callPackage ../development/python-modules/confection { };
configargparse = callPackage ../development/python-modules/configargparse { };
@ -6621,6 +6627,8 @@ self: super: with self; {
inherit (pkgs) lzfse;
};
libmambapy = callPackage ../development/python-modules/libmambapy { };
libmodulemd = lib.pipe pkgs.libmodulemd [
toPythonModule
(p: