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

View File

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

View File

@ -79,7 +79,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; { meta = with lib; {
description = "Small ncurses-based file browser forked from noice"; description = "Small ncurses-based file browser forked from noice";
homepage = "https://github.com/jarun/nnn"; 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; license = licenses.bsd2;
platforms = platforms.all; platforms = platforms.all;
maintainers = with maintainers; [ Br1ght0ne ]; maintainers = with maintainers; [ Br1ght0ne ];

View File

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "pdfcpu"; pname = "pdfcpu";
version = "0.7.0"; version = "0.8.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pdfcpu"; owner = "pdfcpu";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-FzlukSQSKeQY6H53UfWXwL8bXkOXRhaA92/Kgxh4oms="; hash = "sha256-E1D2DvwwrtlY06kvCZkoAO5VcdtkBJYLcxuqGsulFUA=";
# Apparently upstream requires that the compiled executable will know the # Apparently upstream requires that the compiled executable will know the
# commit hash and the date of the commit. This information is also presented # 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 # 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 = [ ldflags = [
"-s" "-s"

View File

@ -4,11 +4,11 @@
lib, lib,
}: let }: let
pname = "upscayl"; pname = "upscayl";
version = "2.10.0"; version = "2.11.0";
src = fetchurl { src = fetchurl {
url = "https://github.com/upscayl/upscayl/releases/download/v${version}/upscayl-${version}-linux.AppImage"; 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 { appimageContents = appimageTools.extractType2 {

View File

@ -65,7 +65,7 @@ stdenv.mkDerivation (finalAttrs: {
]; ];
meta = with lib; { 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"; description = "Wayland-native application launcher, similar to rofis drun mode";
homepage = "https://codeberg.org/dnkl/fuzzel"; homepage = "https://codeberg.org/dnkl/fuzzel";
license = with licenses; [ mit zlib ]; license = with licenses; [ mit zlib ];

View File

@ -2,11 +2,11 @@
appimageTools.wrapType2 rec { appimageTools.wrapType2 rec {
pname = "xlights"; pname = "xlights";
version = "2023.13"; version = "2024.09";
src = fetchurl { src = fetchurl {
url = "https://github.com/smeighan/xLights/releases/download/${version}/xLights-${version}-x86_64.AppImage"; 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; { meta = with lib; {

View File

@ -206,7 +206,7 @@ stdenv.mkDerivation (finalAttrs: {
experience, while offering full customization and a growing collection of experience, while offering full customization and a growing collection of
extensions and themes to make the browser truly your own. 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 = [ license = [
licenses.mpl20 licenses.mpl20
{ {

View File

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

View File

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

View File

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

View File

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

View File

@ -49,7 +49,7 @@ stdenv.mkDerivation (finalAttrs: {
}; };
meta = with lib; { 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"; description = "Embeddable, replicated and fault tolerant SQL engine";
homepage = "https://github.com/cowsql/cowsql"; homepage = "https://github.com/cowsql/cowsql";
license = licenses.lgpl3Only; license = licenses.lgpl3Only;

View File

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

View File

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

View File

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

View File

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

View File

@ -32,7 +32,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; { meta = with lib; {
homepage = "https://github.com/rtbrick/libdict/"; 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"; description = "C library of key-value data structures";
license = licenses.bsd2; license = licenses.bsd2;
maintainers = teams.wdz.members; 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/"; homepage = "https://strophe.im/libstrophe/";
license = with licenses; [ gpl3Only mit ]; license = with licenses; [ gpl3Only mit ];
platforms = platforms.unix; platforms = platforms.unix;
broken = stdenv.isDarwin;
maintainers = with maintainers; [ devhell flosse ]; maintainers = with maintainers; [ devhell flosse ];
}; };
} }

View File

@ -1,11 +1,13 @@
{ lib { lib
, rustPlatform , rustPlatform
, fetchFromGitHub , fetchFromGitHub
, pkg-config
, openssl
}: }:
let let
pname = "llm-ls"; pname = "llm-ls";
version = "0.4.0"; version = "0.5.2";
in in
rustPlatform.buildRustPackage { rustPlatform.buildRustPackage {
inherit pname version; inherit pname version;
@ -14,10 +16,14 @@ rustPlatform.buildRustPackage {
owner = "huggingface"; owner = "huggingface";
repo = "llm-ls"; repo = "llm-ls";
rev = version; 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; { meta = with lib; {
description = "LSP server leveraging LLMs for code completion (and more?)"; description = "LSP server leveraging LLMs for code completion (and more?)";

View File

@ -40,7 +40,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; { meta = with lib; {
description = "ownCloud Infinite Scale Stack "; description = "ownCloud Infinite Scale Stack ";
homepage = "https://owncloud.dev/ocis/"; 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 : # 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 # https://github.com/owncloud/ocis/releases/download/v5.0.1/End-User-License-Agreement-for-ownCloud-Infinite-Scale.pdf
license = licenses.unfree; 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; { meta = with lib; {
homepage = "https://polybar.github.io/"; 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"; description = "A fast and easy-to-use tool for creating status bars";
longDescription = '' longDescription = ''
Polybar aims to help users build beautiful and highly customizable Polybar aims to help users build beautiful and highly customizable

View File

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

View File

@ -1,27 +1,37 @@
{ lib {
, stdenv lib,
, fetchFromGitHub overrideSDK,
, AppKit stdenv,
, Carbon darwin,
, CoreAudio fetchFromGitHub,
, CoreWLAN testers,
, CoreVideo nix-update-script,
, DisplayServices
, IOKit
, MediaRemote
, SkyLight
, testers
, nix-update-script
}: }:
let let
inherit (stdenv.hostPlatform) system; inherit (stdenv.hostPlatform) system;
target = { inherit (darwin.apple_sdk_11_0.frameworks)
"aarch64-darwin" = "arm64"; AppKit
"x86_64-darwin" = "x86"; Carbon
}.${system} or (throw "Unsupported system: ${system}"); 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 in
stdenv.mkDerivation (finalAttrs: { stdenv'.mkDerivation (finalAttrs: {
pname = "sketchybar"; pname = "sketchybar";
version = "2.21.0"; version = "2.21.0";
@ -44,9 +54,7 @@ stdenv.mkDerivation (finalAttrs: {
SkyLight SkyLight
]; ];
makeFlags = [ makeFlags = [ target ];
target
];
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
@ -71,7 +79,10 @@ stdenv.mkDerivation (finalAttrs: {
homepage = "https://github.com/FelixKratz/SketchyBar"; homepage = "https://github.com/FelixKratz/SketchyBar";
license = lib.licenses.gpl3; license = lib.licenses.gpl3;
mainProgram = "sketchybar"; mainProgram = "sketchybar";
maintainers = with lib.maintainers; [ azuwis khaneliman ]; maintainers = with lib.maintainers; [
azuwis
khaneliman
];
platforms = lib.platforms.darwin; 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/. Details for snipe-it can be found on the official website at https://snipeitapp.com/.
''; '';
homepage = "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; license = licenses.agpl3Only;
maintainers = with maintainers; [ yayayayaka ]; maintainers = with maintainers; [ yayayayaka ];
platforms = platforms.linux; 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. using only the keyboard.
''; '';
homepage = "https://swaywm.org"; 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; license = licenses.mit;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ primeos synthetica ]; maintainers = with maintainers; [ primeos synthetica ];

View File

@ -74,7 +74,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; { meta = with lib; {
homepage = "https://github.com/artemsen/swayimg"; homepage = "https://github.com/artemsen/swayimg";
description = "Image viewer for Sway/Wayland"; 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; license = licenses.mit;
maintainers = with maintainers; [ matthewcroughan ]; maintainers = with maintainers; [ matthewcroughan ];
platforms = platforms.linux; platforms = platforms.linux;

View File

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

View File

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

View File

@ -56,7 +56,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; { meta = with lib; {
description = "Make OpenStreetMap vector tiles without the stack"; description = "Make OpenStreetMap vector tiles without the stack";
homepage = "https://tilemaker.org/"; 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 license = licenses.free; # FTWPL
maintainers = with maintainers; [ sikmir ]; maintainers = with maintainers; [ sikmir ];
platforms = platforms.unix; platforms = platforms.unix;

View File

@ -36,11 +36,30 @@ in
// (addToPropagatedBuildInputs (with chickenEggs; [ srfi-1 srfi-13 ]) old); // (addToPropagatedBuildInputs (with chickenEggs; [ srfi-1 srfi-13 ]) old);
cmark = addToBuildInputs pkgs.cmark; cmark = addToBuildInputs pkgs.cmark;
dbus = addToBuildInputsWithPkgConfig pkgs.dbus; 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; espeak = addToBuildInputsWithPkgConfig pkgs.espeak-ng;
exif = addToBuildInputsWithPkgConfig pkgs.libexif; exif = addToBuildInputsWithPkgConfig pkgs.libexif;
expat = addToBuildInputsWithPkgConfig pkgs.expat; expat = old:
ezxdisp = addToBuildInputsWithPkgConfig pkgs.xorg.libX11; (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; freetype = addToBuildInputsWithPkgConfig pkgs.freetype;
fuse = addToBuildInputsWithPkgConfig pkgs.fuse; fuse = addToBuildInputsWithPkgConfig pkgs.fuse;
gl-utils = addPkgConfig; gl-utils = addPkgConfig;
@ -54,7 +73,14 @@ in
// lib.optionalAttrs stdenv.isDarwin (addToCscOptions "-L -linotify" old); // lib.optionalAttrs stdenv.isDarwin (addToCscOptions "-L -linotify" old);
leveldb = addToBuildInputs pkgs.leveldb; leveldb = addToBuildInputs pkgs.leveldb;
magic = addToBuildInputs pkgs.file; 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 # missing dependency in upstream egg
mistie = addToPropagatedBuildInputs (with chickenEggs; [ srfi-1 ]); mistie = addToPropagatedBuildInputs (with chickenEggs; [ srfi-1 ]);
mosquitto = addToPropagatedBuildInputs ([ pkgs.mosquitto ]); mosquitto = addToPropagatedBuildInputs ([ pkgs.mosquitto ]);

View File

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

View File

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

View File

@ -182,7 +182,7 @@ stdenv.mkDerivation (finalAttrs: {
description = "A cross-platform multimedia library"; description = "A cross-platform multimedia library";
mainProgram = "sdl2-config"; mainProgram = "sdl2-config";
homepage = "http://www.libsdl.org/"; 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; license = licenses.zlib;
platforms = platforms.all; platforms = platforms.all;
maintainers = with maintainers; [ cpages ]; maintainers = with maintainers; [ cpages ];

View File

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

View File

@ -58,7 +58,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; { meta = with lib; {
description = "A blocking, shuffling and loss-less compression library"; description = "A blocking, shuffling and loss-less compression library";
homepage = "https://www.blosc.org"; 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 = [ pkgConfigModules = [
"blosc" "blosc"
]; ];

View File

@ -60,7 +60,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; { meta = with lib; {
description = "A fast, compressed, persistent binary data store library for C"; description = "A fast, compressed, persistent binary data store library for C";
homepage = "https://www.blosc.org"; 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 = [ pkgConfigModules = [
"blosc2" "blosc2"
]; ];

View File

@ -59,7 +59,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; { meta = with lib; {
description = "Library for compressing and decompressing 3D geometric meshes and point clouds"; description = "Library for compressing and decompressing 3D geometric meshes and point clouds";
homepage = "https://google.github.io/draco/"; 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; license = licenses.asl20;
maintainers = with maintainers; [ jansol ]; maintainers = with maintainers; [ jansol ];
platforms = platforms.all; platforms = platforms.all;

View File

@ -77,7 +77,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; { meta = with lib; {
description = "C++14 implementation of the TLS-1.3 standard"; description = "C++14 implementation of the TLS-1.3 standard";
homepage = "https://github.com/facebookincubator/fizz"; 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; license = licenses.bsd3;
platforms = platforms.unix; platforms = platforms.unix;
maintainers = with maintainers; [ pierreis kylesferrazza ]; maintainers = with maintainers; [ pierreis kylesferrazza ];

View File

@ -264,6 +264,6 @@ stdenv.mkDerivation (finalAttrs: {
"gtk+-x11-3.0" "gtk+-x11-3.0"
]; ];
platforms = platforms.all; 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 , withRpm ? !stdenv.isDarwin
, rpm , rpm
, db , db
, withConda ? true
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -23,11 +24,12 @@ stdenv.mkDerivation rec {
owner = "openSUSE"; owner = "openSUSE";
repo = "libsolv"; repo = "libsolv";
rev = version; rev = version;
sha256 = "sha256-cL7SDwCzXM2qJQfiu/3nfAiFbcFNn1YXD23Sl3n9nzY="; hash = "sha256-cL7SDwCzXM2qJQfiu/3nfAiFbcFNn1YXD23Sl3n9nzY=";
}; };
cmakeFlags = [ cmakeFlags = [
"-DENABLE_COMPLEX_DEPS=true" "-DENABLE_COMPLEX_DEPS=true"
(lib.cmakeBool "ENABLE_CONDA" withConda)
"-DENABLE_LZMA_COMPRESSION=true" "-DENABLE_LZMA_COMPRESSION=true"
"-DENABLE_BZIP2_COMPRESSION=true" "-DENABLE_BZIP2_COMPRESSION=true"
"-DENABLE_ZSTD_COMPRESSION=true" "-DENABLE_ZSTD_COMPRESSION=true"

View File

@ -206,7 +206,7 @@ stdenv.mkDerivation(finalAttrs: {
meta = with lib; { meta = with lib; {
description = "Server and user space API to deal with multimedia pipelines"; 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/"; homepage = "https://pipewire.org/";
license = licenses.mit; license = licenses.mit;
platforms = platforms.linux; platforms = platforms.linux;

View File

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

View File

@ -25,7 +25,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; { meta = with lib; {
homepage = "https://codeberg.org/dnkl/tllist"; 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"; description = "C header file only implementation of a typed linked list";
longDescription = '' longDescription = ''
Most C implementations of linked list are untyped. That is, their data Most C implementations of linked list are untyped. That is, their data

View File

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

View File

@ -1,41 +1,36 @@
{ lib {
, buildPythonPackage lib,
, fetchFromGitHub buildPythonPackage,
, pytestCheckHook fetchFromGitHub,
, pythonOlder pytestCheckHook,
, setuptools-scm pythonOlder,
setuptools-scm,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "asteval"; pname = "asteval";
version = "0.9.31"; version = "0.9.32";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "newville"; owner = "lmfit";
repo = pname; repo = "asteval";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-XIRDm/loZOOPQ7UO/XAo86TzhtHHRrnWFU7MNI4f1vM="; hash = "sha256-3eML5lEKEUlp3Fwdgvk31an83x8no5ichskKvzYJDsE=";
}; };
postPatch = '' postPatch = ''
substituteInPlace setup.cfg \ substituteInPlace setup.cfg \
--replace " --cov=asteval --cov-report xml" "" --replace-fail " --cov=asteval --cov-report xml" ""
''; '';
nativeBuildInputs = [ build-system = [ setuptools-scm ];
setuptools-scm
];
nativeCheckInputs = [ nativeCheckInputs = [ pytestCheckHook ];
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [ "asteval" ];
"asteval"
];
disabledTests = [ disabledTests = [
# AssertionError: 'ImportError' != None # AssertionError: 'ImportError' != None
@ -44,8 +39,8 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "AST evaluator of Python expression using ast module"; description = "AST evaluator of Python expression using ast module";
homepage = "https://github.com/newville/asteval"; homepage = "https://github.com/lmfit/asteval";
changelog = "https://github.com/newville/asteval/releases/tag/${version}"; changelog = "https://github.com/lmfit/asteval/releases/tag/${version}";
license = with licenses; [ mit ]; license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ]; 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 lib,
, pythonAtLeast buildPythonPackage,
, fetchPypi pythonRelaxDepsHook,
, pycosat hostPlatform,
, requests fetchFromGitHub,
, ruamel-yaml # build dependencies
, isPy3k hatchling,
, enum34 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 { buildPythonPackage rec {
pname = "conda"; pname = "conda";
version = "4.3.16"; version = "24.1.2";
format = "setuptools"; pyproject = true;
# this is a very outdated version of conda that isn't compatible with python 3.10+ src = fetchFromGitHub {
disabled = pythonAtLeast "3.10";
src = fetchPypi {
inherit pname version; 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 build-system = [
doCheck = false; 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 = { meta = {
description = "OS-agnostic, system-level binary package manager"; description = "OS-agnostic, system-level binary package manager";
homepage = "https://github.com/conda/conda"; homepage = "https://github.com/conda/conda";
license = lib.licenses.bsd3; license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.ericthemagician ];
}; };
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -78,7 +78,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; { meta = with lib; {
description = "A language server that offers Lua language support"; description = "A language server that offers Lua language support";
homepage = "https://github.com/luals/lua-language-server"; 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; license = licenses.mit;
maintainers = with maintainers; [ figsoda gepbird sei40kr ]; maintainers = with maintainers; [ figsoda gepbird sei40kr ];
mainProgram = "lua-language-server"; mainProgram = "lua-language-server";

View File

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

View File

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

View File

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

View File

@ -61,7 +61,7 @@ stdenv.mkDerivation (finalAttrs: {
compositor and back again. compositor and back again.
''; '';
homepage = "https://github.com/MirServer/wlcs"; 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; license = licenses.gpl3Only;
maintainers = with maintainers; [ OPNA2608 ]; maintainers = with maintainers; [ OPNA2608 ];
platforms = platforms.linux; platforms = platforms.linux;

View File

@ -68,8 +68,9 @@ stdenv.mkDerivation rec {
chess board & DGT clocks and much more. chess board & DGT clocks and much more.
''; '';
license = lib.licenses.unfree; license = lib.licenses.unfree;
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
homepage = "http://www.playwitharena.de";
platforms = ["x86_64-linux"]; 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"; 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/"; homepage = "https://github.com/OpenXRay/xray-16/";
license = licenses.unfree // { 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 ]; maintainers = with maintainers; [ OPNA2608 ];
platforms = [ "x86_64-linux" "i686-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; 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; { meta = with lib; {
broken = kernel.kernelOlder "4.19"; 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"; description = "Extensible Virtual Display Interface";
homepage = "https://www.displaylink.com/"; homepage = "https://www.displaylink.com/";
license = with licenses; [ lgpl21Only gpl2Only ]; 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) 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" = 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 # exactly one action mandatory, bail out if multiple are given
if [ -n "$action" ]; then showSyntax; fi if [ -n "$action" ]; then showSyntax; fi
action="$i" action="$i"

View File

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

File diff suppressed because it is too large Load Diff

View File

@ -2,21 +2,29 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "rust-synapse-compress-state"; pname = "rust-synapse-compress-state";
version = "0.1.3"; version = "0.1.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "matrix-org"; owner = "matrix-org";
repo = pname; repo = pname;
rev = "v${version}"; 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 = [ cargoBuildFlags = [
"--all" "--all"
]; ];
# Needed to get openssl-sys to use pkgconfig.
env.OPENSSL_NO_VENDOR = 1;
nativeBuildInputs = [ python3 pkg-config ]; nativeBuildInputs = [ python3 pkg-config ];
buildInputs = [ openssl ]; buildInputs = [ openssl ];

View File

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

View File

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

View File

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

View File

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

View File

@ -60,7 +60,7 @@ stdenv.mkDerivation (finalAttrs: {
description = "A GTK Gnutella client, optimized for speed and scalability"; description = "A GTK Gnutella client, optimized for speed and scalability";
mainProgram = "gtk-gnutella"; mainProgram = "gtk-gnutella";
homepage = "https://gtk-gnutella.sourceforge.net/"; # Code: https://github.com/gtk-gnutella/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 ]; maintainers = [ maintainers.doronbehar ];
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
platforms = platforms.unix; platforms = platforms.unix;

View File

@ -112,7 +112,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; { meta = with lib; {
description = "Next-generation RPM package management system"; description = "Next-generation RPM package management system";
homepage = "https://github.com/rpm-software-management/dnf5"; 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; license = licenses.gpl2Plus;
maintainers = with lib.maintainers; [ malt3 katexochen ]; maintainers = with lib.maintainers; [ malt3 katexochen ];
mainProgram = "dnf5"; mainProgram = "dnf5";

View File

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

View File

@ -28,7 +28,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
meta = with lib; { meta = with lib; {
homepage = "https://github.com/pgf-tikz/pgf"; 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; branch = lib.versions.major version;
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
maintainers = with maintainers; [ AndersonTorres ]; maintainers = with maintainers; [ AndersonTorres ];

View File

@ -13069,10 +13069,6 @@ with pkgs;
sixpair = callPackage ../tools/misc/sixpair { }; 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 { }; skippy-xd = callPackage ../tools/X11/skippy-xd { };
sks = callPackage ../servers/sks { sks = callPackage ../servers/sks {

View File

@ -2400,6 +2400,12 @@ self: super: with self; {
conda = callPackage ../development/python-modules/conda { }; 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 { }; confection = callPackage ../development/python-modules/confection { };
configargparse = callPackage ../development/python-modules/configargparse { }; configargparse = callPackage ../development/python-modules/configargparse { };
@ -6621,6 +6627,8 @@ self: super: with self; {
inherit (pkgs) lzfse; inherit (pkgs) lzfse;
}; };
libmambapy = callPackage ../development/python-modules/libmambapy { };
libmodulemd = lib.pipe pkgs.libmodulemd [ libmodulemd = lib.pipe pkgs.libmodulemd [
toPythonModule toPythonModule
(p: (p: