1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-04 14:52:34 +03:00

Merge remote-tracking branch 'origin/master' into staging-next

This commit is contained in:
K900 2025-02-16 13:23:25 +03:00
commit 395cc7772d
30 changed files with 358 additions and 168 deletions

View file

@ -129,6 +129,8 @@
- [Stash](https://github.com/stashapp/stash), An organizer for your adult videos/images, written in Go. Available as [services.stash](#opt-services.stash.enable). - [Stash](https://github.com/stashapp/stash), An organizer for your adult videos/images, written in Go. Available as [services.stash](#opt-services.stash.enable).
- [vsmartcard-vpcd](https://frankmorgner.github.io/vsmartcard/virtualsmartcard/README.html), a virtual smart card driver. Available as [services.vsmartcard-vpcd](#opt-services.vsmartcard-vpcd.enable).
- [Fider](https://fider.io/), an open platform to collect and prioritize feedback. Available as [services.fider](#opt-services.fider.enable). - [Fider](https://fider.io/), an open platform to collect and prioritize feedback. Available as [services.fider](#opt-services.fider.enable).
- [PDS](https://github.com/bluesky-social/pds), Personal Data Server for [bsky](https://bsky.social/). Available as [services.pds](option.html#opt-services.pds). - [PDS](https://github.com/bluesky-social/pds), Personal Data Server for [bsky](https://bsky.social/). Available as [services.pds](option.html#opt-services.pds).

View file

@ -567,6 +567,7 @@
./services/development/lorri.nix ./services/development/lorri.nix
./services/development/nixseparatedebuginfod.nix ./services/development/nixseparatedebuginfod.nix
./services/development/rstudio-server/default.nix ./services/development/rstudio-server/default.nix
./services/development/vsmartcard-vpcd.nix
./services/development/zammad.nix ./services/development/zammad.nix
./services/display-managers/default.nix ./services/display-managers/default.nix
./services/display-managers/greetd.nix ./services/display-managers/greetd.nix

View file

@ -0,0 +1,49 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.services.vsmartcard-vpcd;
in
{
options.services.vsmartcard-vpcd = {
enable = lib.mkEnableOption "Virtual smart card driver.";
port = lib.mkOption {
type = lib.types.port;
default = 35963;
description = ''
Port number vpcd will be listening on.
'';
};
hostname = lib.mkOption {
type = lib.types.str;
default = "/dev/null";
description = ''
Hostname of a waiting vpicc server vpcd will be connecting to. Use /dev/null for listening mode.
'';
};
};
config = lib.mkIf cfg.enable {
services.pcscd.readerConfigs = [
''
FRIENDLYNAME "Virtual PCD"
DEVICENAME ${cfg.hostname}:0x${lib.toHexString cfg.port}
LIBPATH ${pkgs.vsmartcard-vpcd}/var/lib/pcsc/drivers/serial/libifdvpcd.so
CHANNELID 0x${lib.toHexString cfg.port}
''
];
environment.systemPackages = [ pkgs.vsmartcard-vpcd ];
};
meta.maintainers = with lib.maintainers; [ stargate01 ];
}

View file

@ -92,7 +92,7 @@ let
chmod 0755 "$root/etc" "$root/var/lib" chmod 0755 "$root/etc" "$root/var/lib"
mkdir -p "$root/var/lib/private" "$root/root" /run/nixos-containers mkdir -p "$root/var/lib/private" "$root/root" /run/nixos-containers
chmod 0700 "$root/var/lib/private" "$root/root" /run/nixos-containers chmod 0700 "$root/var/lib/private" "$root/root" /run/nixos-containers
if ! [ -e "$root/etc/os-release" ]; then if ! [ -e "$root/etc/os-release" ] && ! [ -h "$root/etc/os-release" ]; then
touch "$root/etc/os-release" touch "$root/etc/os-release"
fi fi

View file

@ -15,12 +15,12 @@
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "vdr-softhddevice"; pname = "vdr-softhddevice";
version = "2.4.3"; version = "2.4.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ua0lnj"; owner = "ua0lnj";
repo = "vdr-plugin-softhddevice"; repo = "vdr-plugin-softhddevice";
sha256 = "sha256-KN0PJ/yER2iqk8+UZvLsgmScTa/9rmeBcZ19/ljHNAk="; sha256 = "sha256-RaPzflLz712+UU4dD7p3waMD6dg5SHfT9SfmON4jVk4=";
rev = "v${version}"; rev = "v${version}";
}; };

View file

@ -11,16 +11,16 @@ let
in in
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "clouddrive2"; pname = "clouddrive2";
version = "0.8.7"; version = "0.8.9";
src = fetchurl { src = fetchurl {
url = "https://github.com/cloud-fs/cloud-fs.github.io/releases/download/v${finalAttrs.version}/clouddrive-2-${os}-${arch}-${finalAttrs.version}.tgz"; url = "https://github.com/cloud-fs/cloud-fs.github.io/releases/download/v${finalAttrs.version}/clouddrive-2-${os}-${arch}-${finalAttrs.version}.tgz";
hash = hash =
{ {
x86_64-linux = "sha256-N5zZHBX0Vl4Ib3V2O4gXDQcNDibGInGDNNls226jMB0="; x86_64-linux = "sha256-8ZLDDRq3PzK25v0Gm6HdOruzFtCJVTR+fWGN5pXqk+A=";
aarch64-linux = "sha256-Tk5tNJbwI8hq8ajYa2/oDWvKJaLI8E/estuWKVB17jg="; aarch64-linux = "sha256-WF/d/wtvrO5BfqMhQ5189h1qB0GauttKQIHaGZOXUKo=";
x86_64-darwin = "sha256-ySq8aXpCMQtU9jJFi7kJaPCRDtqZXyBRv9Zx3m3Ymms="; x86_64-darwin = "sha256-uhYmRVukSLvAA08AEoHIgzsP/U3v8fTmlaP22HeYcL4=";
aarch64-darwin = "sha256-KMobDLbZ38tAetqP2DrHe9oClzzYpuTEyMV3oOgPVHI="; aarch64-darwin = "sha256-Il2dWcX8W1qhqaipqmPQU7oU7Dr3i5pY/+xQE8G3ix8=";
} }
.${stdenv.hostPlatform.system} or (throw "unsupported system ${stdenv.hostPlatform.system}"); .${stdenv.hostPlatform.system} or (throw "unsupported system ${stdenv.hostPlatform.system}");
}; };

View file

@ -6,14 +6,14 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "ioc-scan"; pname = "ioc-scan";
version = "2.0.0"; version = "3.0.0";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cisagov"; owner = "cisagov";
repo = "ioc-scanner"; repo = "ioc-scanner";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-SCyCANZfi7PqexM2Kc8WJwwEEiBQxPBg0ggWsK9WB4k="; hash = "sha256-p1cx6MwAPmPIsOHNWSU9AyYcQaddFugBkm6a+kUjzvg=";
}; };
build-system = with python3.pkgs; [ setuptools ]; build-system = with python3.pkgs; [ setuptools ];
@ -31,7 +31,7 @@ python3.pkgs.buildPythonApplication rec {
meta = with lib; { meta = with lib; {
description = "Tool to search a filesystem for indicators of compromise (IoC)"; description = "Tool to search a filesystem for indicators of compromise (IoC)";
homepage = "https://github.com/cisagov/ioc-scanner"; homepage = "https://github.com/cisagov/ioc-scanner";
changelog = "https://github.com/cisagov/ioc-scanner/releases/tag/v${version}"; changelog = "https://github.com/cisagov/ioc-scanner/releases/tag/${src.tag}";
license = with licenses; [ cc0 ]; license = with licenses; [ cc0 ];
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };

View file

@ -40,13 +40,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "luanti"; pname = "luanti";
version = "5.10.0"; version = "5.11.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "minetest"; owner = "minetest";
repo = "minetest"; repo = "minetest";
rev = finalAttrs.version; tag = finalAttrs.version;
hash = "sha256-sumwm8mJghpSriVflMQSHQM4BTmAhfI/Wl/FroLTVts="; hash = "sha256-0PJK7sS2oFTNWex9rLTgVIqaRhwuUb6H5HIlVOGA08k=";
}; };
patches = [ patches = [

View file

@ -11,10 +11,10 @@ mattermost.override {
# and make sure the version regex is up to date here. # and make sure the version regex is up to date here.
# Ensure you also check ../mattermost/package.nix for ESR releases. # Ensure you also check ../mattermost/package.nix for ESR releases.
regex = "^v(10\\.[0-9]+\\.[0-9]+)$"; regex = "^v(10\\.[0-9]+\\.[0-9]+)$";
version = "10.4.2"; version = "10.5.0";
srcHash = "sha256-R/LiExICunQeL7UPeqjKhMvCHMdibcPTnpTbGYQnbgI="; srcHash = "sha256-xPEtgY/bGZAB0JodLHbbmZcdm5M0BFAIG2oXLIjQqog=";
vendorHash = "sha256-AcemUxcBoytE/ZoXqaIlxkzAnmGV/C1laDqziMuE+XE="; vendorHash = "sha256-AcemUxcBoytE/ZoXqaIlxkzAnmGV/C1laDqziMuE+XE=";
npmDepsHash = "sha256-HABPwdhtev9DZLhWJQsyU4g2ZueYgsX+tUduMsc74YY="; npmDepsHash = "sha256-Fxm9OX5kFNL9NE5BBPUy0bfvZ0Aj46B80wemaMcA2J0=";
lockfileOverlay = '' lockfileOverlay = ''
unlock(.; "@floating-ui/react"; "channels/node_modules/@floating-ui/react") unlock(.; "@floating-ui/react"; "channels/node_modules/@floating-ui/react")
''; '';

View file

@ -1,9 +1,7 @@
{ {
lib, lib,
stdenv,
fetchFromGitHub, fetchFromGitHub,
rustPlatform, rustPlatform,
CoreServices,
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
@ -13,20 +11,18 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tommilligan"; owner = "tommilligan";
repo = pname; repo = pname;
rev = "v${version}"; tag = "v${version}";
hash = "sha256-GNQIOjgHCt3XPCzF0RjV9YStI8psLdHhTPuTkdgx8vA="; hash = "sha256-GNQIOjgHCt3XPCzF0RjV9YStI8psLdHhTPuTkdgx8vA=";
}; };
useFetchCargoVendor = true; useFetchCargoVendor = true;
cargoHash = "sha256-GbXLlWHbLL7HbyuX223S/o1/+LwbK8FjL7lnEgVVn00="; cargoHash = "sha256-GbXLlWHbLL7HbyuX223S/o1/+LwbK8FjL7lnEgVVn00=";
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices ]; meta = {
meta = with lib; {
description = "Preprocessor for mdbook to add Material Design admonishments"; description = "Preprocessor for mdbook to add Material Design admonishments";
mainProgram = "mdbook-admonish"; mainProgram = "mdbook-admonish";
license = licenses.mit; license = lib.licenses.mit;
maintainers = with maintainers; [ maintainers = with lib.maintainers; [
jmgilman jmgilman
Frostman Frostman
matthiasbeyer matthiasbeyer

View file

@ -1,48 +1,35 @@
{ {
lib, lib,
stdenv,
rustPlatform, rustPlatform,
fetchFromGitHub, fetchFromGitHub,
pkg-config, pkg-config,
bzip2, bzip2,
CoreServices,
}: }:
let rustPlatform.buildRustPackage rec {
pname = "mdbook-epub"; pname = "mdbook-epub";
version = "0.4.37"; version = "0.4.37";
in
rustPlatform.buildRustPackage {
inherit pname version;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "michael-f-bryan"; owner = "michael-f-bryan";
repo = pname; repo = pname;
rev = version; tag = version;
hash = "sha256-ddWClkeGabvqteVUtuwy4pWZGnarrKrIbuPEe62m6es="; hash = "sha256-ddWClkeGabvqteVUtuwy4pWZGnarrKrIbuPEe62m6es=";
}; };
useFetchCargoVendor = true; useFetchCargoVendor = true;
cargoHash = "sha256-3R81PJCOFc22QDHH2BqGB9jjvEcMc1axoySSJLJD3wI="; cargoHash = "sha256-3R81PJCOFc22QDHH2BqGB9jjvEcMc1axoySSJLJD3wI=";
nativeBuildInputs = [ nativeBuildInputs = [ pkg-config ];
pkg-config
];
buildInputs = buildInputs = [ bzip2 ];
[
bzip2
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
CoreServices
];
meta = with lib; { meta = {
description = "mdbook backend for generating an e-book in the EPUB format"; description = "mdbook backend for generating an e-book in the EPUB format";
mainProgram = "mdbook-epub"; mainProgram = "mdbook-epub";
homepage = "https://michael-f-bryan.github.io/mdbook-epub"; homepage = "https://michael-f-bryan.github.io/mdbook-epub";
license = licenses.mpl20; license = lib.licenses.mpl20;
maintainers = with maintainers; [ maintainers = with lib.maintainers; [
yuu yuu
matthiasbeyer matthiasbeyer
]; ];

View file

@ -1,9 +1,7 @@
{ {
lib, lib,
stdenv,
fetchFromGitHub, fetchFromGitHub,
rustPlatform, rustPlatform,
CoreServices,
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "mdbook-footnote"; pname = "mdbook-footnote";
@ -12,21 +10,19 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "daviddrysdale"; owner = "daviddrysdale";
repo = "mdbook-footnote"; repo = "mdbook-footnote";
rev = "v${version}"; tag = "v${version}";
hash = "sha256-WUMgm1hwsU9BeheLfb8Di0AfvVQ6j92kXxH2SyG3ses="; hash = "sha256-WUMgm1hwsU9BeheLfb8Di0AfvVQ6j92kXxH2SyG3ses=";
}; };
useFetchCargoVendor = true; useFetchCargoVendor = true;
cargoHash = "sha256-3tuejWMZlEAOgnBKEqZP2a72a8QP1yamfE/g2BJDEbg="; cargoHash = "sha256-3tuejWMZlEAOgnBKEqZP2a72a8QP1yamfE/g2BJDEbg=";
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices ]; meta = {
meta = with lib; {
description = "Preprocessor for mdbook to support the inclusion of automatically numbered footnotes"; description = "Preprocessor for mdbook to support the inclusion of automatically numbered footnotes";
mainProgram = "mdbook-footnote"; mainProgram = "mdbook-footnote";
homepage = "https://github.com/daviddrysdale/mdbook-footnote"; homepage = "https://github.com/daviddrysdale/mdbook-footnote";
license = licenses.asl20; license = lib.licenses.asl20;
maintainers = with maintainers; [ maintainers = with lib.maintainers; [
brianmcgillion brianmcgillion
matthiasbeyer matthiasbeyer
]; ];

View file

@ -1,9 +1,7 @@
{ {
lib, lib,
stdenv,
fetchFromGitHub, fetchFromGitHub,
rustPlatform, rustPlatform,
CoreServices,
graphviz, graphviz,
}: }:
@ -23,17 +21,15 @@ rustPlatform.buildRustPackage rec {
useFetchCargoVendor = true; useFetchCargoVendor = true;
cargoHash = "sha256-A1pFifxshWynwA88iLTMOm21NKCH8fHl5nFiV4wEG8A="; cargoHash = "sha256-A1pFifxshWynwA88iLTMOm21NKCH8fHl5nFiV4wEG8A=";
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices ];
nativeCheckInputs = [ graphviz ]; nativeCheckInputs = [ graphviz ];
meta = with lib; { meta = {
description = "Preprocessor for mdbook, rendering Graphviz graphs to HTML at build time"; description = "Preprocessor for mdbook, rendering Graphviz graphs to HTML at build time";
mainProgram = "mdbook-graphviz"; mainProgram = "mdbook-graphviz";
homepage = "https://github.com/dylanowen/mdbook-graphviz"; homepage = "https://github.com/dylanowen/mdbook-graphviz";
changelog = "https://github.com/dylanowen/mdbook-graphviz/releases/tag/v${version}"; changelog = "https://github.com/dylanowen/mdbook-graphviz/releases/tag/v${version}";
license = [ licenses.mpl20 ]; license = lib.licenses.mpl20;
maintainers = with maintainers; [ maintainers = with lib.maintainers; [
lovesegfault lovesegfault
matthiasbeyer matthiasbeyer
]; ];

View file

@ -2,8 +2,6 @@
lib, lib,
rustPlatform, rustPlatform,
fetchCrate, fetchCrate,
stdenv,
CoreServices,
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
@ -18,14 +16,12 @@ rustPlatform.buildRustPackage rec {
useFetchCargoVendor = true; useFetchCargoVendor = true;
cargoHash = "sha256-EoWsjuvvWeAI3OnVRJQT2hwoYq4BNqqvitH9LT0XGnA="; cargoHash = "sha256-EoWsjuvvWeAI3OnVRJQT2hwoYq4BNqqvitH9LT0XGnA=";
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices ]; meta = {
meta = with lib; {
description = "Preprocessor for mdbook, rendering LaTeX equations to HTML at build time"; description = "Preprocessor for mdbook, rendering LaTeX equations to HTML at build time";
mainProgram = "mdbook-katex"; mainProgram = "mdbook-katex";
homepage = "https://github.com/lzanini/${pname}"; homepage = "https://github.com/lzanini/${pname}";
license = [ licenses.mit ]; license = lib.licenses.mit;
maintainers = with maintainers; [ maintainers = with lib.maintainers; [
lovesegfault lovesegfault
matthiasbeyer matthiasbeyer
]; ];

View file

@ -1,9 +1,7 @@
{ {
lib, lib,
stdenv,
fetchFromGitHub, fetchFromGitHub,
rustPlatform, rustPlatform,
CoreServices,
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
@ -20,17 +18,13 @@ rustPlatform.buildRustPackage rec {
useFetchCargoVendor = true; useFetchCargoVendor = true;
cargoHash = "sha256-yb4EWSl/mQp5q9fmYUq6UEdsknqfUx//BZ8IK/BVs7g="; cargoHash = "sha256-yb4EWSl/mQp5q9fmYUq6UEdsknqfUx//BZ8IK/BVs7g=";
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ meta = {
CoreServices
];
meta = with lib; {
description = "Preprocessor for mdbook to add mermaid.js support"; description = "Preprocessor for mdbook to add mermaid.js support";
mainProgram = "mdbook-mermaid"; mainProgram = "mdbook-mermaid";
homepage = "https://github.com/badboy/mdbook-mermaid"; homepage = "https://github.com/badboy/mdbook-mermaid";
changelog = "https://github.com/badboy/mdbook-mermaid/blob/v${version}/CHANGELOG.md"; changelog = "https://github.com/badboy/mdbook-mermaid/blob/v${version}/CHANGELOG.md";
license = licenses.mpl20; license = lib.licenses.mpl20;
maintainers = with maintainers; [ maintainers = with lib.maintainers; [
xrelkd xrelkd
matthiasbeyer matthiasbeyer
]; ];

View file

@ -1,11 +1,9 @@
{ {
lib, lib,
stdenv,
fetchCrate, fetchCrate,
rustPlatform, rustPlatform,
pkg-config, pkg-config,
openssl, openssl,
CoreServices,
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
@ -20,17 +18,9 @@ rustPlatform.buildRustPackage rec {
useFetchCargoVendor = true; useFetchCargoVendor = true;
cargoHash = "sha256-cZNTfhrpuEoAXviog/qq2PWii/wycxxq5l/vFHW1f6k="; cargoHash = "sha256-cZNTfhrpuEoAXviog/qq2PWii/wycxxq5l/vFHW1f6k=";
nativeBuildInputs = [ nativeBuildInputs = [ pkg-config ];
pkg-config
];
buildInputs = buildInputs = [ openssl ];
[
openssl
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
CoreServices
];
# Stop downloading from the Internet to # Stop downloading from the Internet to
# generate the Chrome Devtools Protocol # generate the Chrome Devtools Protocol
@ -42,13 +32,13 @@ rustPlatform.buildRustPackage rec {
# No test. # No test.
doCheck = false; doCheck = false;
meta = with lib; { meta = {
description = "Backend for mdBook written in Rust for generating PDF"; description = "Backend for mdBook written in Rust for generating PDF";
mainProgram = "mdbook-pdf"; mainProgram = "mdbook-pdf";
homepage = "https://github.com/HollowMan6/mdbook-pdf"; homepage = "https://github.com/HollowMan6/mdbook-pdf";
changelog = "https://github.com/HollowMan6/mdbook-pdf/releases/tag/v${version}"; changelog = "https://github.com/HollowMan6/mdbook-pdf/releases/tag/v${version}";
license = licenses.gpl3Plus; license = lib.licenses.gpl3Plus;
maintainers = with maintainers; [ maintainers = with lib.maintainers; [
hollowman6 hollowman6
matthiasbeyer matthiasbeyer
]; ];

View file

@ -2,11 +2,9 @@
lib, lib,
fetchFromGitHub, fetchFromGitHub,
fetchpatch, fetchpatch,
stdenv,
rustPlatform, rustPlatform,
pkg-config, pkg-config,
openssl, openssl,
CoreServices,
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
@ -16,7 +14,7 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sytsereitsma"; owner = "sytsereitsma";
repo = pname; repo = pname;
rev = "v${version}"; tag = "v${version}";
hash = "sha256-26epwn6j/ZeMAphiFsrLjS0KIewvElr7V3p/EDr4Uqk="; hash = "sha256-26epwn6j/ZeMAphiFsrLjS0KIewvElr7V3p/EDr4Uqk=";
}; };
@ -34,14 +32,14 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices ]; buildInputs = [ openssl ];
meta = with lib; { meta = {
description = "mdBook preprocessor to render PlantUML diagrams to png images in the book output directory"; description = "mdBook preprocessor to render PlantUML diagrams to png images in the book output directory";
mainProgram = "mdbook-plantuml"; mainProgram = "mdbook-plantuml";
homepage = "https://github.com/sytsereitsma/mdbook-plantuml"; homepage = "https://github.com/sytsereitsma/mdbook-plantuml";
license = [ licenses.mit ]; license = lib.licenses.mit;
maintainers = with maintainers; [ maintainers = with lib.maintainers; [
jcouyang jcouyang
matthiasbeyer matthiasbeyer
]; ];

View file

@ -1,9 +1,7 @@
{ {
lib, lib,
stdenv,
fetchFromGitHub, fetchFromGitHub,
rustPlatform, rustPlatform,
CoreServices,
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
@ -13,20 +11,18 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "badboy"; owner = "badboy";
repo = pname; repo = pname;
rev = version; tag = version;
sha256 = "sha256-OFNp+kFDafYbzqb7xfPTO885cAjgWfNeDvUPDKq5GJU="; sha256 = "sha256-OFNp+kFDafYbzqb7xfPTO885cAjgWfNeDvUPDKq5GJU=";
}; };
useFetchCargoVendor = true; useFetchCargoVendor = true;
cargoHash = "sha256-0x/x3TRwRinQ/uLCQoRrJOE/mc2snkL/MCz76nQqb5E="; cargoHash = "sha256-0x/x3TRwRinQ/uLCQoRrJOE/mc2snkL/MCz76nQqb5E=";
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices ]; meta = {
meta = with lib; {
description = "Preprocessor for mdbook to add inline Table of Contents support"; description = "Preprocessor for mdbook to add inline Table of Contents support";
mainProgram = "mdbook-toc"; mainProgram = "mdbook-toc";
homepage = "https://github.com/badboy/mdbook-toc"; homepage = "https://github.com/badboy/mdbook-toc";
license = [ licenses.mpl20 ]; license = lib.licenses.mpl20;
maintainers = with maintainers; [ matthiasbeyer ]; maintainers = with lib.maintainers; [ matthiasbeyer ];
}; };
} }

View file

@ -7,17 +7,17 @@
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "obs-do"; pname = "obs-do";
version = "0.1.6"; version = "0.1.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jonhoo"; owner = "jonhoo";
repo = "obs-do"; repo = "obs-do";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-t6m/PX4GMCFH9wFrOaU/dcrbKitUXQlOcU7aUyJPpxA="; hash = "sha256-aeFUgwbB1sGD6n+WT4GJpQURk/xKvL0w+6DtF1VQsCM=";
}; };
useFetchCargoVendor = true; useFetchCargoVendor = true;
cargoHash = "sha256-gy/r8s4LF6LDeI+hz0ddAOTcaDh8Uvz9vF4Eg/+1q1Q="; cargoHash = "sha256-uiQnWe/yni++czOwHXbXjQTdg2nOdI3FxUag+aKP69c=";
nativeInstallCheckInputs = [ nativeInstallCheckInputs = [
versionCheckHook versionCheckHook

View file

@ -0,0 +1,109 @@
{
lib,
stdenv,
copyDesktopItems,
fetchFromGitLab,
fetchpatch,
pkg-config,
luajit_2_0,
libGL,
libGLU,
alsa-lib,
xorg,
glfw2,
glfw3,
useGlfw3 ? false,
}:
stdenv.mkDerivation {
pname = "pax-britannica";
version = "1.0.0-5";
src = fetchFromGitLab {
domain = "salsa.debian.org";
owner = "games-team";
repo = "pax-britannica";
rev = "00ccbac5";
hash = "sha256-j69di+3P+vaFzv8Zke1MdABMkLtknTNvlfPk1YVUfmU=";
};
patches =
[
(fetchpatch {
url = "https://sources.debian.org/data/main/p/pax-britannica/1.0.0-5/debian/patches/compile_for_linux.patch";
hash = "sha256-XncjmJrBakz5/w90O6rDif2rWSoAVKzuPEj9wN2VNvQ=";
})
(fetchpatch {
url = "https://sources.debian.org/data/main/p/pax-britannica/1.0.0-5/debian/patches/add_manpage.patch";
hash = "sha256-c8O6t0Zv/ln7WiPdbN3sYGsb7SL9Rmeo+94DsjpfgvY=";
})
(fetchpatch {
url = "https://sources.debian.org/data/main/p/pax-britannica/1.0.0-5/debian/patches/load_resources_from_usr_share.patch";
hash = "sha256-61Yt4Rq1I/Ofu640XsDDo0il275B+ozqH0Z6P18XT6Q=";
})
(fetchpatch {
url = "https://sources.debian.org/data/main/p/pax-britannica/1.0.0-5/debian/patches/add_desktop_entry.patch";
hash = "sha256-QSQEBoCw7KTOLgy7TaFvQRpR17HoggTOCxhfTG+kIOA=";
})
]
++ lib.optional useGlfw3 (fetchpatch {
url = "https://sources.debian.org/data/main/p/pax-britannica/1.0.0-5/debian/patches/glfw3.patch";
hash = "sha256-hj00vnW/i7lxFc4CGlRz6Havkg45gGgIg6MmCXcMsSg=";
});
postPatch = ''
substituteInPlace Makefile \
--replace-fail '-DEXTRA_LOADERS=\"../extra_loaders.h\"' '-DEXTRA_LOADERS=\\\"../extra_loaders.h\\\"'
substituteInPlace dokidoki-support/Makefile \
--replace-fail '$(STATIC_LINK)' "" \
--replace-fail '-llua' '-lluajit-5.1'
substituteInPlace dokidoki-support/minlua.c \
--replace-fail /usr/share/pax-britannica $out/share/pax-britannica
'';
nativeBuildInputs = [
pkg-config
copyDesktopItems
];
buildInputs = [
luajit_2_0
libGL
libGLU
alsa-lib
xorg.libX11
xorg.libXrandr
(if useGlfw3 then glfw3 else glfw2)
];
makeFlags =
if stdenv.hostPlatform.isLinux then
[ "linux" ]
else if stdenv.hostPlatform.isDarwin then
[ "macosx" ]
else if stdenv.hostPlatform.isMinGW then
[ "mingw" ]
else
throw "Unsupported hostPlatform";
preBuild = ''
makeFlagsArray+=(
EXTRA_LDFLAGS="$(pkg-config --libs alsa x11 xrandr)"
)
'';
desktopItems = [ "pax-britannica.desktop" ];
installPhase = ''
mkdir -p $out/{bin,share/pax-britannica,share/pixmaps}
cp -ar *.lua audio components dokidoki scripts sprites $out/share/pax-britannica/
cp pax-britannica.png $out/share/pixmaps/
cp pax-britannica $out/bin/
'';
meta = {
description = "One-button multi-player real-time strategy game";
homepage = "http://gangles.ca/games/pax-britannica/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ astro ];
platforms = with lib.platforms; linux ++ darwin ++ windows;
mainProgram = "pax-britannica";
};
}

View file

@ -2,6 +2,7 @@
lib, lib,
stdenv, stdenv,
fetchFromGitHub, fetchFromGitHub,
autoreconfHook,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -16,6 +17,8 @@ stdenv.mkDerivation rec {
sha256 = "1my9g4vp19dikx3fsbii4ichid1bs9b9in46bkg05gbljhj340f6"; sha256 = "1my9g4vp19dikx3fsbii4ichid1bs9b9in46bkg05gbljhj340f6";
}; };
nativeBuildInputs = [ autoreconfHook ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/vzaliva/simpleproxy"; homepage = "https://github.com/vzaliva/simpleproxy";
description = "Simple TCP proxy"; description = "Simple TCP proxy";

View file

@ -55,7 +55,7 @@ let
]; ];
buildInputs = glLibs ++ libs; buildInputs = glLibs ++ libs;
runpathPackages = glLibs ++ [ stdenv.cc.cc stdenv.cc.libc ]; runpathPackages = glLibs ++ [ stdenv.cc.cc stdenv.cc.libc ];
version = "1.0.23"; version = "1.0.24";
in in
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "tana"; pname = "tana";
@ -63,7 +63,7 @@ stdenv.mkDerivation {
src = fetchurl { src = fetchurl {
url = "https://github.com/tanainc/tana-desktop-releases/releases/download/v${version}/tana_${version}_amd64.deb"; url = "https://github.com/tanainc/tana-desktop-releases/releases/download/v${version}/tana_${version}_amd64.deb";
hash = "sha256-Z8k5ootRAon68+0HlFy9eycQkuVEKFGdghxCyao+gUY="; hash = "sha256-K3hJD42CWD+yQwbbzysMg2QD9RCw52h1mOV5lTO9CLc=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -1,8 +1,8 @@
/* /*
This file provides the `tectonic-unwrapped` package. On the other hand, This file provides the `tectonic-unwrapped` package. On the other hand,
the `tectonic` package is defined in `./wrapper.nix`, by wrapping the `tectonic` package is defined in `../tectonic/package.nix`, by wrapping
- [`tectonic-unwrapped`](./default.nix) i.e. this package, and - [`tectonic-unwrapped`](./package.nix) i.e. this package, and
- [`biber-for-tectonic`](./biber.nix), - [`biber-for-tectonic`](../../bi/biber-for-tectonic/package.nix),
which provides a compatible version of `biber`. which provides a compatible version of `biber`.
*/ */
@ -13,7 +13,7 @@
rustPlatform, rustPlatform,
darwin, darwin,
fontconfig, fontconfig,
harfbuzz, harfbuzzFull,
openssl, openssl,
pkg-config, pkg-config,
icu, icu,
@ -60,7 +60,7 @@ rustPlatform.buildRustPackage rec {
[ [
icu icu
fontconfig fontconfig
harfbuzz harfbuzzFull
openssl openssl
] ]
++ lib.optionals stdenv.hostPlatform.isDarwin ( ++ lib.optionals stdenv.hostPlatform.isDarwin (
@ -86,13 +86,13 @@ rustPlatform.buildRustPackage rec {
doCheck = true; doCheck = true;
meta = with lib; { meta = {
description = "Modernized, complete, self-contained TeX/LaTeX engine, powered by XeTeX and TeXLive"; description = "Modernized, complete, self-contained TeX/LaTeX engine, powered by XeTeX and TeXLive";
homepage = "https://tectonic-typesetting.github.io/"; homepage = "https://tectonic-typesetting.github.io/";
changelog = "https://github.com/tectonic-typesetting/tectonic/blob/tectonic@${version}/CHANGELOG.md"; changelog = "https://github.com/tectonic-typesetting/tectonic/blob/tectonic@${version}/CHANGELOG.md";
license = with licenses; [ mit ]; license = with lib.licenses; [ mit ];
mainProgram = "tectonic"; mainProgram = "tectonic";
maintainers = with maintainers; [ maintainers = with lib.maintainers; [
lluchs lluchs
doronbehar doronbehar
bryango bryango

View file

@ -0,0 +1,58 @@
{
lib,
stdenv,
fetchFromGitHub,
pkg-config,
libtool,
autoreconfHook,
pcsclite,
libnfc,
python3,
help2man,
gengetopt,
vsmartcard-vpcd,
darwin,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "vsmartcard-pcsc-relay";
inherit (vsmartcard-vpcd) version src;
sourceRoot = "${finalAttrs.src.name}/pcsc-relay";
nativeBuildInputs = [
autoreconfHook
libtool
pkg-config
help2man
];
buildInputs =
[
pcsclite
libnfc
gengetopt
(python3.withPackages (
pp: with pp; [
pyscard
pycrypto
pbkdf2
pillow
gnureadline
]
))
]
++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.PCSC
];
meta = {
description = "Relays a smart card using an contact-less interface";
homepage = "https://frankmorgner.github.io/vsmartcard/pcsc-relay/README.html";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.all;
broken = stdenv.isDarwin;
maintainers = with lib.maintainers; [ stargate01 ];
};
})

View file

@ -0,0 +1,63 @@
{
lib,
stdenv,
fetchFromGitHub,
pkg-config,
libtool,
autoreconfHook,
pcsclite,
qrencode,
python3,
help2man,
darwin,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "vsmartcard-vpcd";
version = "0.9-unstable-2025-01-25";
src = fetchFromGitHub {
owner = "frankmorgner";
repo = "vsmartcard";
rev = "7369dae26bcb709845003ae2128b8db9df7031ae";
hash = "sha256-mfw/Yv12ceBVZIyAKJqBh+w4otj3rYYZbJUjKRLcsr4=";
};
sourceRoot = "${finalAttrs.src.name}/virtualsmartcard";
nativeBuildInputs = [
autoreconfHook
libtool
pkg-config
help2man
];
buildInputs =
[
pcsclite
qrencode
(python3.withPackages (
pp: with pp; [
pyscard
pycrypto
pbkdf2
pillow
gnureadline
]
))
]
++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.PCSC
];
configureFlags = lib.optional stdenv.isDarwin "--enable-infoplist";
meta = {
description = "Emulates a smart card and makes it accessible through PC/SC";
homepage = "http://frankmorgner.github.io/vsmartcard/virtualsmartcard/README.html";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.all;
broken = stdenv.isDarwin;
maintainers = with lib.maintainers; [ stargate01 ];
};
})

View file

@ -36,7 +36,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "llama-index-core"; pname = "llama-index-core";
version = "0.12.15"; version = "0.12.17.post2";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -45,7 +45,7 @@ buildPythonPackage rec {
owner = "run-llama"; owner = "run-llama";
repo = "llama_index"; repo = "llama_index";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-GcY7AuyUYniEbjsMTMcRe4ulpR5kMvAW+XDoPzgjblw="; hash = "sha256-lAjaW/Kx7tYdsiyWnv6VLQG6lPkVyliD1KPJA/Or0YA=";
}; };
sourceRoot = "${src.name}/${pname}"; sourceRoot = "${src.name}/${pname}";

View file

@ -2678,8 +2678,6 @@ with pkgs;
beetsPackages = lib.recurseIntoAttrs (callPackage ../tools/audio/beets { }); beetsPackages = lib.recurseIntoAttrs (callPackage ../tools/audio/beets { });
inherit (beetsPackages) beets beets-unstable; inherit (beetsPackages) beets beets-unstable;
biber-for-tectonic = callPackage ../tools/typesetting/tectonic/biber.nix { };
binlore = callPackage ../development/tools/analysis/binlore { }; binlore = callPackage ../development/tools/analysis/binlore { };
birdfont = callPackage ../tools/misc/birdfont { }; birdfont = callPackage ../tools/misc/birdfont { };
@ -3974,51 +3972,15 @@ with pkgs;
md2pdf = with python3Packages; toPythonApplication md2pdf; md2pdf = with python3Packages; toPythonApplication md2pdf;
mdbook-epub = callPackage ../tools/text/mdbook-epub { mdcat = callPackage ../tools/text/mdcat {
inherit (darwin.apple_sdk.frameworks) CoreServices; inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
}; inherit (python3Packages) ansi2html;
mdbook-graphviz = callPackage ../tools/text/mdbook-graphviz {
inherit (darwin.apple_sdk.frameworks) CoreServices;
};
mdbook-katex = callPackage ../tools/text/mdbook-katex {
inherit (darwin.apple_sdk.frameworks) CoreServices;
}; };
mdbook-linkcheck = callPackage ../tools/text/mdbook-linkcheck { mdbook-linkcheck = callPackage ../tools/text/mdbook-linkcheck {
inherit (darwin.apple_sdk.frameworks) Security; inherit (darwin.apple_sdk.frameworks) Security;
}; };
mdbook-mermaid = callPackage ../tools/text/mdbook-mermaid {
inherit (darwin.apple_sdk.frameworks) CoreServices;
};
mdbook-pdf = callPackage ../tools/text/mdbook-pdf {
inherit (darwin.apple_sdk.frameworks) CoreServices;
};
mdbook-plantuml = callPackage ../tools/text/mdbook-plantuml {
inherit (darwin.apple_sdk.frameworks) CoreServices;
};
mdbook-toc = callPackage ../tools/text/mdbook-toc {
inherit (darwin.apple_sdk.frameworks) CoreServices;
};
mdbook-admonish = callPackage ../tools/text/mdbook-admonish {
inherit (darwin.apple_sdk.frameworks) CoreServices;
};
mdbook-footnote = callPackage ../tools/text/mdbook-footnote {
inherit (darwin.apple_sdk.frameworks) CoreServices;
};
mdcat = callPackage ../tools/text/mdcat {
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
inherit (python3Packages) ansi2html;
};
medfile = callPackage ../development/libraries/medfile { medfile = callPackage ../development/libraries/medfile {
hdf5 = hdf5.override { usev110Api = true; }; hdf5 = hdf5.override { usev110Api = true; };
}; };
@ -10676,12 +10638,6 @@ with pkgs;
tclap_1_4 = callPackage ../development/libraries/tclap/1.4.nix { }; tclap_1_4 = callPackage ../development/libraries/tclap/1.4.nix { };
tectonic = callPackage ../tools/typesetting/tectonic/wrapper.nix { };
tectonic-unwrapped = callPackage ../tools/typesetting/tectonic {
harfbuzz = harfbuzzFull;
};
termbench-pro = callPackage ../by-name/te/termbench-pro/package.nix { termbench-pro = callPackage ../by-name/te/termbench-pro/package.nix {
stdenv = if stdenv.hostPlatform.isDarwin then llvmPackages_17.stdenv else stdenv; stdenv = if stdenv.hostPlatform.isDarwin then llvmPackages_17.stdenv else stdenv;
fmt = fmt_11; fmt = fmt_11;