Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2024-01-07 06:01:26 +00:00 committed by GitHub
commit 07f3c123b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
119 changed files with 3122 additions and 1681 deletions

View File

@ -117,6 +117,8 @@ The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been m
- `libass` now uses the native CoreText backend on Darwin, which may fix subtitle rendering issues with `mpv`, `ffmpeg`, etc.
- [Lilypond](https://lilypond.org/index.html) and [Denemo](https://www.denemo.org) are now compiled with Guile 3.0.
- The following options of the Nextcloud module were moved into [`services.nextcloud.extraOptions`](#opt-services.nextcloud.extraOptions) and renamed to match the name from Nextcloud's `config.php`:
- `logLevel` -> [`loglevel`](#opt-services.nextcloud.extraOptions.loglevel),
- `logType` -> [`log_type`](#opt-services.nextcloud.extraOptions.log_type),

View File

@ -0,0 +1,111 @@
{ config, lib, pkgs, utils, ... }:
let
cfg = config.services.llama-cpp;
in {
options = {
services.llama-cpp = {
enable = lib.mkEnableOption "LLaMA C++ server";
package = lib.mkPackageOption pkgs "llama-cpp" { };
model = lib.mkOption {
type = lib.types.path;
example = "/models/mistral-instruct-7b/ggml-model-q4_0.gguf";
description = "Model path.";
};
extraFlags = lib.mkOption {
type = lib.types.listOf lib.types.str;
description = "Extra flags passed to llama-cpp-server.";
example = ["-c" "4096" "-ngl" "32" "--numa"];
default = [];
};
host = lib.mkOption {
type = lib.types.str;
default = "127.0.0.1";
example = "0.0.0.0";
description = "IP address the LLaMA C++ server listens on.";
};
port = lib.mkOption {
type = lib.types.port;
default = 8080;
description = "Listen port for LLaMA C++ server.";
};
openFirewall = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Open ports in the firewall for LLaMA C++ server.";
};
};
};
config = lib.mkIf cfg.enable {
systemd.services.llama-cpp = {
description = "LLaMA C++ server";
after = ["network.target"];
wantedBy = ["multi-user.target"];
serviceConfig = {
Type = "idle";
KillSignal = "SIGINT";
ExecStart = "${cfg.package}/bin/llama-cpp-server --log-disable --host ${cfg.host} --port ${builtins.toString cfg.port} -m ${cfg.model} ${utils.escapeSystemdExecArgs cfg.extraFlags}";
Restart = "on-failure";
RestartSec = 300;
# for GPU acceleration
PrivateDevices = false;
# hardening
DynamicUser = true;
CapabilityBoundingSet = "";
RestrictAddressFamilies = [
"AF_INET"
"AF_INET6"
"AF_UNIX"
];
NoNewPrivileges = true;
PrivateMounts = true;
PrivateTmp = true;
PrivateUsers = true;
ProtectClock = true;
ProtectControlGroups = true;
ProtectHome = true;
ProtectKernelLogs = true;
ProtectKernelModules = true;
ProtectKernelTunables = true;
ProtectSystem = "strict";
MemoryDenyWriteExecute = true;
LockPersonality = true;
RemoveIPC = true;
RestrictNamespaces = true;
RestrictRealtime = true;
RestrictSUIDSGID = true;
SystemCallArchitectures = "native";
SystemCallFilter = [
"@system-service"
"~@privileged"
"~@resources"
];
SystemCallErrorNumber = "EPERM";
ProtectProc = "invisible";
ProtectHostname = true;
ProcSubset = "pid";
};
};
networking.firewall = lib.mkIf cfg.openFirewall {
allowedTCPPorts = [ cfg.port ];
};
};
meta.maintainers = with lib.maintainers; [ newam ];
}

View File

@ -95,7 +95,6 @@ in
ipv6 = mkOption {
type = types.bool;
default = false;
defaultText = literalExpression "config.networking.enableIPv6";
description = lib.mdDoc "Whether to use IPv6.";
};

View File

@ -0,0 +1,68 @@
# Dnsmasq {#module-services-networking-dnsmasq}
Dnsmasq is an integrated DNS, DHCP and TFTP server for small networks.
## Configuration {#module-services-networking-dnsmasq-configuration}
### An authoritative DHCP and DNS server on a home network {#module-services-networking-dnsmasq-configuration-home}
On a home network, you can use Dnsmasq as a DHCP and DNS server. New devices on
your network will be configured by Dnsmasq, and instructed to use it as the DNS
server by default. This allows you to rely on your own server to perform DNS
queries and caching, with DNSSEC enabled.
The following example assumes that
- you have disabled your router's integrated DHCP server, if it has one
- your router's address is set in [](#opt-networking.defaultGateway.address)
- your system's Ethernet interface is `eth0`
- you have configured the address(es) to forward DNS queries in [](#opt-networking.nameservers)
```nix
{
services.dnsmasq = {
enable = true;
settings = {
interface = "eth0";
bind-interfaces = true; # Only bind to the specified interface
dhcp-authoritative = true; # Should be set when dnsmasq is definitely the only DHCP server on a network
server = config.networking.nameservers; # Upstream dns servers to which requests should be forwarded
dhcp-host = [
# Give the current system a fixed address of 192.168.0.254
"dc:a6:32:0b:ea:b9,192.168.0.254,${config.networking.hostName},infinite"
];
dhcp-option = [
# Address of the gateway, i.e. your router
"option:router,${config.networking.defaultGateway.address}"
];
dhcp-range = [
# Range of IPv4 addresses to give out
# <range start>,<range end>,<lease time>
"192.168.0.10,192.168.0.253,24h"
# Enable stateless IPv6 allocation
"::f,::ff,constructor:eth0,ra-stateless"
];
dhcp-rapid-commit = true; # Faster DHCP negotiation for IPv6
local-service = true; # Accept DNS queries only from hosts whose address is on a local subnet
log-queries = true; # Log results of all DNS queries
bogus-priv = true; # Don't forward requests for the local address ranges (192.168.x.x etc) to upstream nameservers
domain-needed = true; # Don't forward requests without dots or domain parts to upstream nameservers
dnssec = true; # Enable DNSSEC
# DNSSEC trust anchor. Source: https://data.iana.org/root-anchors/root-anchors.xml
trust-anchor = ".,20326,8,2,E06D44B80B8F1D39A95C0B0D7C65D08458E880409BBC683457104237C7F8EC8D";
};
};
}
```
## References {#module-services-networking-dnsmasq-references}
- Upstream website: <https://dnsmasq.org>
- Manpage: <https://dnsmasq.org/docs/dnsmasq-man.html>
- FAQ: <https://dnsmasq.org/docs/FAQ>

View File

@ -181,4 +181,6 @@ in
restartTriggers = [ config.environment.etc.hosts.source ];
};
};
meta.doc = ./dnsmasq.md;
}

View File

@ -1,7 +1,8 @@
{ lib, stdenv, fetchurl, pkg-config
, libjack2, gettext, intltool, guile_2_2, lilypond
{ lib, stdenv, fetchurl, fetchpatch, pkg-config
, libjack2, gettext, intltool, guile, lilypond
, glib, libxml2, librsvg, libsndfile, aubio
, gtk3, gtksourceview, evince, fluidsynth, rubberband
, autoreconfHook, gtk-doc
, portaudio, portmidi, fftw, wrapGAppsHook }:
stdenv.mkDerivation rec {
@ -13,8 +14,21 @@ stdenv.mkDerivation rec {
sha256 = "sha256-S+WXDGmEf5fx+HYnXJdE5QNOfJg7EqEEX7IMI2SUtV0=";
};
patches = [
(fetchpatch {
name = "allow-guile-3.patch";
url = "https://git.savannah.gnu.org/cgit/denemo.git/patch/?id=9de1c65e56a021925af532bb55336b0ce86d3084";
postFetch = ''
substituteInPlace $out \
--replace "2.6.8" "2.6.0" \
--replace "2.6.9" "2.6.0"
'';
hash = "sha256-Jj33k/KgvZgKG43MuLgjb4A2KNkm/z9ytzGKcXMAOI4=";
})
];
buildInputs = [
libjack2 guile_2_2 lilypond glib libxml2 librsvg libsndfile
libjack2 guile lilypond glib libxml2 librsvg libsndfile
aubio gtk3 gtksourceview evince fluidsynth rubberband portaudio fftw portmidi
];
@ -25,6 +39,8 @@ stdenv.mkDerivation rec {
'';
nativeBuildInputs = [
autoreconfHook
gtk-doc
wrapGAppsHook
intltool
gettext

View File

@ -44,7 +44,7 @@ python3.pkgs.buildPythonApplication {
bitstring
cryptography
dnspython
groestlcoin_hash
groestlcoin-hash
jsonrpclib-pelix
matplotlib
pbkdf2

View File

@ -2,13 +2,13 @@
buildPythonApplication rec {
pname = "gallery-dl";
version = "1.26.5";
version = "1.26.6";
format = "setuptools";
src = fetchPypi {
inherit version;
pname = "gallery_dl";
sha256 = "sha256-XlHfCPwTgy66CiIvEu/NU8gNXfLg+8i98anngyeRfGU=";
sha256 = "sha256-QgvwxH8wbwxfjZaea89sINtHbSXyIq5XGpWUi6rOX+k=";
};
propagatedBuildInputs = [

View File

@ -1,76 +1,73 @@
{ lib
, python3
{ stdenv
, lib
, fetchFromGitHub
, gobject-introspection
, meson
, ninja
, python3
, wrapGAppsHook
, cinnamon
, glib
, gspell
, gtk3
, gobject-introspection
, gitUpdater
}:
python3.pkgs.buildPythonApplication rec {
stdenv.mkDerivation rec {
pname = "sticky";
version = "1.17";
format = "other";
version = "1.19";
src = fetchFromGitHub {
owner = "linuxmint";
repo = pname;
rev = version;
hash = "sha256-Am62Azm27irIUQEpZVY8ZP2pslH1eaiyRBdq4eSakQA=";
hash = "sha256-nvnft62vZ9ivijYnQGULW7ff2aAVJiIx9xq09My2NxE=";
};
postPatch = ''
sed -i -e "s|/usr/bin|$out/bin|" data/org.x.sticky.service
sed -i -e "s|/usr/lib|$out/lib|" usr/bin/sticky
sed -i -e "s|/usr/share|$out/share|" usr/lib/sticky/*.py
'';
nativeBuildInputs = [
gobject-introspection
meson
ninja
python3.pkgs.wrapPython
wrapGAppsHook
];
buildInputs = [
glib
cinnamon.xapp
glib
gspell
gtk3
python3 # for patchShebangs
];
propagatedBuildInputs = with python3.pkgs; [
pythonPath = with python3.pkgs; [
pygobject3
xapp
];
postBuild = ''
glib-compile-schemas usr/share/glib-2.0/schemas
postInstall = ''
# https://github.com/linuxmint/sticky/pull/118
cp -r ../etc $out
cp -r ../usr/* $out
glib-compile-schemas $out/share/glib-2.0/schemas
'';
# hook for gobject-introspection doesn't like strictDeps
# https://github.com/NixOS/nixpkgs/issues/56943
strictDeps = false;
# no tests
doCheck = false;
dontWrapGApps = true;
installPhase = ''
runHook preInstall
mkdir -p $out/bin
mv usr/lib $out
mv usr/share $out
patchShebangs $out/lib/sticky
mv $out/lib/sticky/sticky.py $out/bin/sticky
sed -i -e "1aimport sys;sys.path.append('$out/lib/sticky')" $out/bin/sticky
runHook postInstall
'';
# Arguments to be passed to `makeWrapper`, only used by buildPython*
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
buildPythonPath "$out $pythonPath"
chmod +x $out/bin/sticky
wrapProgram $out/bin/sticky \
--prefix PYTHONPATH : "$program_PYTHONPATH" \
''${gappsWrapperArgs[@]}
'';
passthru = {

View File

@ -45,13 +45,13 @@
}:
buildPythonApplication rec {
pname = "visidata";
version = "2.11.1";
version = "3.0";
src = fetchFromGitHub {
owner = "saulpw";
repo = "visidata";
rev = "v${version}";
hash = "sha256-A8iYFdW30Em5pjGn3DRpaV0A7ixwfSzmIp8AgtPkBCI=";
hash = "sha256-LALWQu7BgMbAEyOXUE3p6bXhdx8h6jPEvjs/TEtf/wU==";
};
propagatedBuildInputs = [
@ -70,6 +70,7 @@ buildPythonApplication rec {
pyshp
#mapbox-vector-tile
pypng
#pyconll
fonttools
#sas7bdat
#xport
@ -114,11 +115,16 @@ buildPythonApplication rec {
checkPhase = ''
runHook preCheck
# disable some tests which require access to the network
rm -f tests/load-http.vd # http
rm -f tests/graph-cursor-nosave.vd # http
rm -f tests/messenger-nosave.vd # dns
# tests to disable because we don't have a package to load such files
rm -f tests/load-conllu.vdj # no 'pyconll'
rm -f tests/load-sav.vd # no 'savReaderWriter'
# tests use git to compare outputs to references
git init -b "test-reference"
git config user.name "nobody"

View File

@ -27,13 +27,13 @@
, dbusSupport ? true
}:
stdenv.mkDerivation rec {
version = "3.7.0";
version = "3.8.0";
pname = "baresip";
src = fetchFromGitHub {
owner = "baresip";
repo = "baresip";
rev = "v${version}";
hash = "sha256-A1S8pen0aPd3CmeRpttwivhwHnAv7Rk2lao8I/CWvo0=";
hash = "sha256-7QqaKK8zalyopn9+MkKmdt9XaCkDFBNiXwVd2iXmqMA=";
};
prePatch = lib.optionalString (!dbusSupport) ''
substituteInPlace cmake/modules.cmake --replace 'list(APPEND MODULES ctrl_dbus)' ""

File diff suppressed because it is too large Load Diff

View File

@ -4,17 +4,18 @@
, rustPlatform
, fetchFromGitHub
, Cocoa
, pkgsBuildHost
}:
rustPlatform.buildRustPackage rec {
pname = "gurk-rs";
version = "0.4.0";
version = "0.4.2";
src = fetchFromGitHub {
owner = "boxdot";
repo = pname;
rev = "v${version}";
sha256 = "sha256-LN54XUu+54yGVCbi7ZwY22KOnfS67liioI4JeR3l92I=";
sha256 = "sha256-UTjTXUc0W+vlO77ilveAy0HWF5KSKbDnrg5ewTyuTdA=";
};
postPatch = ''
@ -24,10 +25,11 @@ rustPlatform.buildRustPackage rec {
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"curve25519-dalek-3.2.1" = "sha256-T/NGZddFQWq32eRu6FYfgdPqU8Y4Shi1NpMaX4GeQ54=";
"libsignal-protocol-0.1.0" = "sha256-gapAurbs/BdsfPlVvWWF7Ai1nXZcxCW8qc5gQdbnthM=";
"libsignal-service-0.1.0" = "sha256-C1Lhi/NRWyPT7omlAdjK7gVTLxmZjZVuZgmZ8dn/D3Y=";
"presage-0.5.0-dev" = "sha256-OtRrPcH4/o6Sq/day1WU6R8QgQ2xWkespkfFPqFeKWk=";
"libsignal-protocol-0.1.0" = "sha256-FCrJO7porlY5FrwZ2c67UPd4tgN7cH2/3DTwfPjihwM=";
"libsignal-service-0.1.0" = "sha256-OWLtaxldKgYPP/aJuWezNkNN0990l3RtDWK38R1fL90=";
"curve25519-dalek-4.0.0" = "sha256-KUXvYXeVvJEQ/+dydKzXWCZmA2bFa2IosDzaBL6/Si0=";
"presage-0.6.0-dev" = "sha256-65YhxMAAFsnOprBWiB0uH/R9iITt+EYn+kMVjAwTgOQ=";
"qr2term-0.3.1" = "sha256-U8YLouVZTtDwsvzZiO6YB4Pe75RXGkZXOxHCQcCOyT8=";
};
};
@ -37,7 +39,7 @@ rustPlatform.buildRustPackage rec {
NIX_LDFLAGS = lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [ "-framework" "AppKit" ];
PROTOC = "${protobuf}/bin/protoc";
PROTOC = "${pkgsBuildHost.protobuf}/bin/protoc";
meta = with lib; {
description = "Signal Messenger client for terminal";

View File

@ -8,17 +8,17 @@
let
pname = "mattermost-desktop";
version = "5.5.0";
version = "5.5.1";
srcs = {
"x86_64-linux" = {
url = "https://releases.mattermost.com/desktop/${version}/${pname}-${version}-linux-x64.tar.gz";
hash = "sha256-htjKGO16Qs1RVE4U47DdN8bNpUH4JD/LkMOeoIRmLPI=";
hash = "sha256-bRiO5gYM7nrnkbHBP3B9zAK2YV5POkc3stEsbZJ48VA=";
};
"aarch64-linux" = {
url = "https://releases.mattermost.com/desktop/${version}/${pname}-${version}-linux-arm64.tar.gz";
hash = "sha256-LQhMSIrWDZTXBnJfLKph5e6txHGvQSqEu+P1j1zOiTg=";
hash = "sha256-Z4U6Jbwasra69QPHJ9/7WwMSxh0O9r4QIe/xC3WRf4w=";
};
};

View File

@ -39,7 +39,7 @@ let
pillow
rencode
six
zope_interface
zope-interface
dbus-python
pycairo
librsvg

View File

@ -1,9 +1,9 @@
{ stdenv, lib, fetchurl, autoconf, automake, pkg-config, libtool
, gtk2, halibut, ncurses, perl, darwin
{ stdenv, lib, fetchurl, cmake, perl, pkg-config
, gtk3, ncurses, darwin
}:
stdenv.mkDerivation rec {
version = "0.76";
version = "0.80";
pname = "putty";
src = fetchurl {
@ -11,33 +11,12 @@ stdenv.mkDerivation rec {
"https://the.earth.li/~sgtatham/putty/${version}/${pname}-${version}.tar.gz"
"ftp://ftp.wayne.edu/putty/putty-website-mirror/${version}/${pname}-${version}.tar.gz"
];
sha256 = "0gvi8phabszqksj2by5jrjmshm7bpirhgavz0dqyz1xaimxdjz2l";
hash = "sha256-IBPIOnIbF1NSnpCQ98ODDo/kyAoHDMznZFObrbP2cIE=";
};
# glib-2.62 deprecations
env.NIX_CFLAGS_COMPILE = "-DGLIB_DISABLE_DEPRECATION_WARNINGS";
preConfigure = lib.optionalString stdenv.hostPlatform.isUnix ''
perl mkfiles.pl
( cd doc ; make );
./mkauto.sh
cd unix
'' + lib.optionalString stdenv.hostPlatform.isWindows ''
cd windows
'';
TOOLPATH = stdenv.cc.targetPrefix;
makefile = if stdenv.hostPlatform.isWindows then "Makefile.mgw" else null;
installPhase = if stdenv.hostPlatform.isWindows then ''
for exe in *.exe; do
install -D $exe $out/bin/$exe
done
'' else null;
nativeBuildInputs = [ autoconf automake halibut libtool perl pkg-config ];
nativeBuildInputs = [ cmake perl pkg-config ];
buildInputs = lib.optionals stdenv.hostPlatform.isUnix [
gtk2 ncurses
gtk3 ncurses
] ++ lib.optional stdenv.isDarwin darwin.apple_sdk.libs.utmp;
enableParallelBuilding = true;

View File

@ -19,13 +19,13 @@
stdenv.mkDerivation rec {
pname = "foliate";
version = "3.0.1";
version = "3.1.0";
src = fetchFromGitHub {
owner = "johnfactotum";
repo = pname;
rev = version;
hash = "sha256-ksjd/H62c9dhoOXQtrKqexAjLMGd/adP/fL78fYRi/Y=";
rev = "refs/tags/${version}";
hash = "sha256-6cymAqQxHHoTgzEyUKXC7zV/lUEJfIG+54+tLsc9iHo=";
fetchSubmodules = true;
};
@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "A simple and modern GTK eBook reader";
homepage = "https://johnfactotum.github.io/foliate/";
homepage = "https://johnfactotum.github.io/foliate";
license = licenses.gpl3Only;
maintainers = with maintainers; [ onny ];
};

View File

@ -211,7 +211,7 @@ python.pkgs.buildPythonApplication rec {
whitenoise
whoosh
zipp
zope_interface
zope-interface
zxing-cpp
]
++ redis.optional-dependencies.hiredis

View File

@ -7,9 +7,9 @@
, autoreconfHook
, guile
, flex
, gtk2
, gtk3
, glib
, gtkextra
, gtksheet
, gettext
, gawk
, shared-mime-info
@ -19,19 +19,20 @@
stdenv.mkDerivation rec {
pname = "lepton-eda";
version = "1.9.17-20211219";
version = "1.9.18-20220529";
src = fetchurl {
url = "https://github.com/lepton-eda/lepton-eda/releases/download/${version}/lepton-eda-${builtins.head (lib.splitString "-" version)}.tar.gz";
sha256 = "sha256-lOneKeJUcw6jOX/3iv9BDWOJ3xip/vGhzxHHNAbtsS8=";
hash = "sha256-X9yNuosNR1Jf3gYWQZeOnKdxzJLld29Sn9XYsPGWYYI=";
};
nativeBuildInputs = [ pkg-config makeWrapper texinfo autoreconfHook ];
propagatedBuildInputs = [ guile flex gtk2 glib gtkextra gettext gawk shared-mime-info groff libstroke ];
propagatedBuildInputs = [ guile flex gtk3 glib gtksheet gettext gawk shared-mime-info groff libstroke ];
configureFlags = [
"--disable-update-xdg-database"
"--with-gtk3"
];
CFLAGS = [

View File

@ -4,13 +4,13 @@
stdenv.mkDerivation rec {
pname = "verilator";
version = "5.018";
version = "5.020";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
hash = "sha256-f06UzNw2MQ5me03EPrVFhkwxKum/GLDzQbDNTBsJMJs=";
hash = "sha256-7kxH/RPM+fjDuybwJgTYm0X6wpaqesGfu57plrExd8c=";
};
enableParallelBuilding = true;

View File

@ -79,7 +79,7 @@ let
"zope.interface"
"node_three"
] [
"zope_interface"
"zope-interface"
"threejs"
];
# spkg names (this_is_a_package-version) of all transitive deps

View File

@ -14,13 +14,13 @@
buildGoModule rec {
pname = "runc";
version = "1.1.10";
version = "1.1.11";
src = fetchFromGitHub {
owner = "opencontainers";
repo = "runc";
rev = "v${version}";
hash = "sha256-YoRwr5imolblix1st/YeVTrAUdQXTqrx1BdNMdYlt/0=";
hash = "sha256-3LZWidINg15Aqoswml/BY7ZmLvz0XsbtYV5Cx8h5lpM=";
};
vendorHash = null;

View File

@ -44,13 +44,13 @@ in
stdenv.mkDerivation rec {
pname = "cockpit";
version = "307";
version = "308";
src = fetchFromGitHub {
owner = "cockpit-project";
repo = "cockpit";
rev = "refs/tags/${version}";
hash = "sha256-6z3IAEc+qzh02g1uTaO6LdLD09eYE/5P8Gg7KW3jlvY=";
hash = "sha256-0IJRd4QoUBcJDERWHkaR7ehCLhICnjGb7pYla18DMkk=";
fetchSubmodules = true;
};

View File

@ -6,16 +6,16 @@
buildGoModule rec {
pname = "gickup";
version = "0.10.25";
version = "0.10.26";
src = fetchFromGitHub {
owner = "cooperspencer";
repo = "gickup";
rev = "refs/tags/v${version}";
hash = "sha256-2ydYGuIcoxw9iBSeCg3q6gVW2yMqL8j3nRzlplIm8Ps=";
hash = "sha256-GYYmoGNYiwarMZw1w8tdH8zKl19XQ2R+EaJFK8iacwI=";
};
vendorHash = "sha256-zyjtiZzePqWtxqkHqdNp04g70V42Rkrf60V7BY8JMz4=";
vendorHash = "sha256-vyDzGho9vcdCmBP7keccp5w3tXWHlSaFoncS1hqnBoc=";
ldflags = ["-X main.version=${version}"];

View File

@ -0,0 +1,50 @@
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, gobject-introspection
, gtk-doc
, pkg-config
, atk
, cairo
, glade
, gtk3
, pango
}:
stdenv.mkDerivation (finalAttrs: {
pname = "gtksheet";
version = "4.3.13";
src = fetchFromGitHub {
owner = "fpaquet";
repo = "gtksheet";
rev = "V${finalAttrs.version}";
hash = "sha256-2JwkyT6OBApfgyfNSksbrusF8WcZ4v3tlbblDJJtN2k=";
};
strictDeps = true;
nativeBuildInputs = [
autoreconfHook
gobject-introspection
gtk-doc
pkg-config
];
buildInputs = [
atk
cairo
glade
gtk3
pango
];
meta = {
description = "A spreadsheet widget for GTK+";
homepage = "https://fpaquet.github.io/gtksheet/";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ wegank ];
platforms = lib.platforms.unix;
};
})

View File

@ -0,0 +1,54 @@
{ lib
, fetchFromGitHub
, gobject-introspection
, gtk3
, python3Packages
, wrapGAppsHook
, unstableGitUpdater
}:
python3Packages.buildPythonApplication rec {
pname = "labwc-gtktheme";
version = "unstable-2022-07-17";
pyproject = false;
src = fetchFromGitHub {
owner = "labwc";
repo = "labwc-gtktheme";
rev = "0eb103701775ecd3aa4d517f42dede4f56381241";
hash = "sha256-aeF6unzR9bqaKXkqOHlGrMdPx3xXCtig58tKVliUO4g=";
};
nativeBuildInputs = [
gobject-introspection
wrapGAppsHook
];
buildInputs = [
gtk3
];
pythonPath = with python3Packages; [
pygobject3
];
strictDeps = true;
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cp -a labwc-gtktheme.py $out/bin/labwc-gtktheme
runHook postInstall
'';
passthru.updateScript = unstableGitUpdater { };
meta = {
homepage = "https://github.com/labwc/labwc-gtktheme";
description = "Create a labwc theme based on current Gtk theme";
mainProgram = "labwc-gtktheme";
license = lib.licenses.gpl2Only;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ AndersonTorres romildo ];
};
}

View File

@ -9,13 +9,13 @@
stdenv.mkDerivation {
pname = "sioclient";
version = "unstable-2023-02-13";
version = "3.1.0-unstable-2023-11-10";
src = fetchFromGitHub {
owner = "socketio";
repo = "socket.io-client-cpp";
rev = "b10474e3eaa6b27e75dbc1382ac9af74fdf3fa85";
hash = "sha256-bkuFA6AvZvBpnO6Lixqx8Ux5Dy5NHWGB2y1VF7allC0=";
rev = "0dc2f7afea17a0e5bfb5e9b1e6d6f26ab1455cef";
hash = "sha256-iUKWDv/CS2e68cCSM0QUobkfz2A8ZjJ7S0zw7rowQJ0=";
};
nativeBuildInputs = [

View File

@ -18,13 +18,13 @@
stdenv.mkDerivation rec {
pname = "switchboard-plug-network";
version = "unstable-2023-09-05"; # 2.4.4 does not support networkmanager 1.44
version = "2.5.0";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = "3b69132788ff8734a481d498b49207e05a4f7d70";
hash = "sha256-XWiihU/FK6oeWQWRYsc/IxqafuvwA89ZE3o/WzaxudE=";
rev = version;
hash = "sha256-Dd7sZ66iyfuoHeQYrhlx9G9g4ylGq1IBlkTF5zFlVBQ=";
};
patches = [

View File

@ -17,13 +17,13 @@
stdenv.mkDerivation rec {
pname = "wingpanel-indicator-network";
version = "7.0.2";
version = "7.1.0";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
sha256 = "sha256-PqTnopacT1/Ctx8VH6b35tiVI+3ZlrdFcRsDpAWm4a0=";
sha256 = "sha256-eCWse/rEuAG5YSW+/EOB/aAvikyof0KwbVtLthCGqRQ=";
};
nativeBuildInputs = [

View File

@ -0,0 +1,71 @@
{ lib
, stdenv
, fetchurl
, gmp
, mpfr
, ntl
, autoconf
, automake
, gettext
, libtool
, openblas ? null, blas, lapack
, withBlas ? true
, withNtl ? true
}:
assert withBlas -> openblas != null && blas.implementation == "openblas" && lapack.implementation == "openblas";
stdenv.mkDerivation rec {
pname = "flint3";
version = "3.0.1";
src = fetchurl {
url = "https://www.flintlib.org/flint-${version}.tar.gz";
sha256 = "sha256-ezEaAFA6hjiB64F32+uEMi8pOZ89fXLzsaTJuh1XlLQ=";
};
propagatedBuildInputs = [
autoconf
automake
gettext
libtool
];
buildInputs = [
gmp
mpfr
] ++ lib.optionals withBlas [
openblas
] ++ lib.optionals withNtl [
ntl
];
# We're not using autoreconfHook because flint's bootstrap
# script calls autoreconf, among other things.
preConfigurePhase = ''
echo "Executing bootstrap.sh"
./bootstrap.sh
'';
configureFlags = [
"--with-gmp=${gmp}"
"--with-mpfr=${mpfr}"
] ++ lib.optionals withBlas [
"--with-blas=${openblas}"
] ++ lib.optionals withNtl [
"--with-ntl=${ntl}"
];
enableParallelBuilding = true;
doCheck = true;
meta = with lib; {
description = "Fast Library for Number Theory";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ smasher164 ] ++ teams.sage.members;
platforms = platforms.unix;
homepage = "https://www.flintlib.org/";
downloadPage = "https://www.flintlib.org/downloads.html";
};
}

View File

@ -1,22 +1,14 @@
{ fetchurl, fetchpatch, lib, stdenv, zlib, openssl, libuuid, pkg-config, bzip2 }:
stdenv.mkDerivation rec {
version = "20201230";
version = "20231119";
pname = "libewf";
src = fetchurl {
url = "https://github.com/libyal/libewf/releases/download/${version}/libewf-experimental-${version}.tar.gz";
hash = "sha256-10r4jPzsA30nHQzjdg/VkwTG1PwOskwv8Bra34ZPMgc=";
hash = "sha256-7AjUEaXasOzJV9ErZK2a4HMTaqhcBbLKd8M+A5SbKrc=";
};
patches = [
# fix build with OpenSSL 3.0
(fetchpatch {
url = "https://github.com/libyal/libewf/commit/033ea5b4e5f8f1248f74a2ec61fc1be183c6c46b.patch";
hash = "sha256-R4+NO/91kiZP48SJyVF9oYjKCg1h/9Kh8/0VOEmJXPQ=";
})
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ zlib openssl libuuid ]
++ lib.optionals stdenv.isDarwin [ bzip2 ];

View File

@ -28,13 +28,13 @@ let
in
stdenv.mkDerivation rec {
pname = "libime";
version = "1.1.3";
version = "1.1.4";
src = fetchFromGitHub {
owner = "fcitx";
repo = "libime";
rev = version;
sha256 = "sha256-C34hcea0htc9ayytjqy/t08yA2xMC18sAkDc9PK/Hhc=";
sha256 = "sha256-cjlclemt4xsQcpmZ8CflN79QkOE4m07O4hLOQcLF1nA=";
fetchSubmodules = true;
};

View File

@ -11,13 +11,13 @@
buildPythonPackage rec {
pname = "archspec";
version = "0.2.2";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = pname;
repo = pname;
owner = "archspec";
repo = "archspec";
rev = "refs/tags/v${version}";
fetchSubmodules = true;
hash = "sha256-6+1TiXCBqW8YH/ggZhRcZV/Tyh8Ku3ocwxf9z9KrCZY=";
@ -43,7 +43,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Library for detecting, labeling, and reasoning about microarchitectures";
homepage = "https://archspec.readthedocs.io/";
changelog = "https://github.com/archspec/archspec/releases/tag/v0.2.1";
changelog = "https://github.com/archspec/archspec/releases/tag/v${version}";
license = with licenses; [ mit asl20 ];
maintainers = with maintainers; [ atila ];
};

View File

@ -43,7 +43,7 @@
# , xbr
, yapf
# , zlmdb
, zope_interface
, zope-interface
}@args:
buildPythonPackage rec {
@ -99,7 +99,7 @@ buildPythonPackage rec {
nvx = [ cffi ];
scram = [ argon2-cffi cffi passlib ];
serialization = [ cbor2 flatbuffers msgpack ujson py-ubjson ];
twisted = [ attrs args.twisted zope_interface ];
twisted = [ attrs args.twisted zope-interface ];
ui = [ pygobject3 ];
xbr = [ base58 cbor2 click ecdsa eth-abi jinja2 hkdf mnemonic py-ecc /* py-eth-sig-utils */ py-multihash rlp spake2 twisted /* web3 xbr */ yapf /* zlmdb */ ];
};

View File

@ -2,9 +2,9 @@
, fetchPypi
, buildPythonPackage
, persistent
, zope_interface
, zope-interface
, transaction
, zope_testrunner
, zope-testrunner
, python
, pythonOlder
}:
@ -24,12 +24,12 @@ buildPythonPackage rec {
propagatedBuildInputs = [
persistent
zope_interface
zope-interface
];
nativeCheckInputs = [
transaction
zope_testrunner
zope-testrunner
];
checkPhase = ''

View File

@ -16,7 +16,7 @@
, requests
, six
, zope-component
, zope_interface
, zope-interface
, setuptools
, dialog
, gnureadline
@ -53,7 +53,7 @@ buildPythonPackage rec {
requests
six
zope-component
zope_interface
zope-interface
setuptools # for pkg_resources
];

View File

@ -3,7 +3,7 @@
, pythonOlder
, fetchFromGitHub
, pytz
, zope_interface
, zope-interface
}:
buildPythonPackage rec {
@ -22,7 +22,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
pytz
zope_interface
zope-interface
];
pythonImportsCheck = [
@ -37,4 +37,3 @@ buildPythonPackage rec {
maintainers = with maintainers; [ icyrockcom ];
};
}

View File

@ -62,7 +62,7 @@ buildPythonPackage rec {
owner = "iterative";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-hhlwXvP/XqZfFFXo1yPK4TdKUECZXfKCWhCcGotyDCk=";
hash = "sha256-P3N9wCmua0kS9vli+QUjJPZSeQXO9t8m1Ei+CeN2tEU=";
};
pythonRelaxDeps = [

View File

@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, zope_interface
, zope-interface
, zope-testing
}:
@ -15,7 +15,7 @@ buildPythonPackage rec {
sha256 = "a094ed7961a3dd38fcaaa69cf7a58670038acdff186360166d9e3d964b7a7323";
};
propagatedBuildInputs = [ zope_interface zope-testing ];
propagatedBuildInputs = [ zope-interface zope-testing ];
# tests fail, see https://hydra.nixos.org/build/4316603/log/raw
doCheck = false;

View File

@ -10,7 +10,7 @@
, setuptools
, six
, testtools
, zope_interface
, zope-interface
}:
buildPythonPackage rec {
@ -31,7 +31,7 @@ buildPythonPackage rec {
pyrsistent
setuptools
six
zope_interface
zope-interface
];
nativeCheckInputs = [

View File

@ -1,11 +1,11 @@
{ buildPythonPackage, fetchPypi, atpublic, zope_interface, nose2 }:
{ buildPythonPackage, fetchPypi, atpublic, zope-interface, nose2 }:
buildPythonPackage rec {
pname = "flufl.bounce";
version = "4.0";
buildInputs = [ nose2 ];
propagatedBuildInputs = [ atpublic zope_interface ];
propagatedBuildInputs = [ atpublic zope-interface ];
src = fetchPypi {
inherit pname version;

View File

@ -10,8 +10,8 @@
, importlib-metadata
, setuptools
, wheel
, zope_event
, zope_interface
, zope-event
, zope-interface
, pythonOlder
# for passthru.tests
@ -47,8 +47,8 @@ buildPythonPackage rec {
propagatedBuildInputs = [
importlib-metadata
zope_event
zope_interface
zope-event
zope-interface
] ++ lib.optionals (!isPyPy) [
greenlet
];

View File

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi
, zope_testrunner, six, chardet}:
, zope-testrunner, six, chardet}:
buildPythonPackage rec {
pname = "ghdiff";
@ -11,7 +11,7 @@ buildPythonPackage rec {
sha256 = "17mdhi2sq9017nq8rkjhhc87djpi5z99xiil0xz17dyplr7nmkqk";
};
nativeCheckInputs = [ zope_testrunner ];
nativeCheckInputs = [ zope-testrunner ];
propagatedBuildInputs = [ six chardet ];
meta = with lib; {

View File

@ -10,20 +10,25 @@
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "google-cloud-datacatalog";
version = "3.16.0";
format = "setuptools";
version = "3.17.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-cD5BQ5Ykj6mEdLurnqli9MlqPK8RhMkDv8lFPSdLDqI=";
hash = "sha256-xaKBfkgmhB7MH1qFWu9hjHIIVG1BjBgzjfnyD14V9Z0=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
google-api-core
grpc-google-iam-v1
@ -44,8 +49,8 @@ buildPythonPackage rec {
meta = with lib; {
description = "Google Cloud Data Catalog API API client library";
homepage = "https://github.com/googleapis/python-datacatalog";
changelog = "https://github.com/googleapis/python-datacatalog/blob/v${version}/CHANGELOG.md";
homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-datacatalog";
changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-datacatalog-v${version}/packages/google-cloud-datacatalog/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};

View File

@ -4,12 +4,13 @@
}:
buildPythonPackage rec {
pname = "groestlcoin_hash";
pname = "groestlcoin-hash";
version = "1.0.3";
format = "setuptools";
src = fetchPypi {
inherit pname version;
pname = "groestlcoin_hash";
inherit version;
sha256 = "31a8f6fa4c19db5258c3c73c071b71702102c815ba862b6015d9e4b75ece231e";
};

View File

@ -1,12 +1,13 @@
{ lib, pythonOlder, buildPythonPackage, fetchPypi, six, glibcLocales, pytest }:
buildPythonPackage rec {
pname = "hcs_utils";
pname = "hcs-utils";
version = "2.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
pname = "hcs_utils";
inherit version;
sha256 = "04xq69hrys8lf9kp8pva0c4aphjjfw412km7c32ydkwq0i59rhp2";
};

View File

@ -2,22 +2,27 @@
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "hstspreload";
version = "2023.1.1";
format = "setuptools";
version = "2024.1.5";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "sethmlarson";
repo = pname;
repo = "hstspreload";
rev = "refs/tags/${version}";
hash = "sha256-MF+pRP0KluF7LrSkfxs6ZSEXyqmr51mUqUn01dLdUdQ=";
hash = "sha256-sf0Dsl6zH64O3Y8jns10jAE5faaJSRAu4M5JQ4JBKh0=";
};
nativeBuildInputs = [
setuptools
];
# Tests require network connection
doCheck = false;

View File

@ -14,7 +14,7 @@
, tubes
, twisted
, werkzeug
, zope_interface
, zope-interface
# tests
, idna
@ -48,7 +48,7 @@ buildPythonPackage rec {
twisted
tubes
werkzeug
zope_interface
zope-interface
];
nativeCheckInputs = [

View File

@ -3,7 +3,7 @@
, fetchPypi
, setuptools
, lazr-delegates
, zope_interface
, zope-interface
, pytestCheckHook
}:
@ -24,7 +24,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
lazr-delegates
zope_interface
zope-interface
];
pythonImportsCheck = [

View File

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, setuptools
, zope_interface
, zope-interface
, pytestCheckHook
}:
@ -22,7 +22,7 @@ buildPythonPackage rec {
];
propagatedBuildInputs = [
zope_interface
zope-interface
];
pythonImportsCheck = [

View File

@ -6,12 +6,13 @@
, six }:
buildPythonPackage rec {
pname = "lazy_import";
pname = "lazy-import";
version = "0.2.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
pname = "lazy_import";
inherit version;
sha256 = "0gca9xj60qr3aprj9qdc66crr4r7hl8wzv6gc9y40nclazwawj91";
};

View File

@ -6,7 +6,7 @@
, pyparsing
, service-identity
, six
, zope_interface
, zope-interface
, pythonOlder
, python
}:
@ -27,7 +27,7 @@ buildPythonPackage rec {
pyparsing
six
twisted
zope_interface
zope-interface
] ++ twisted.optional-dependencies.tls;
nativeCheckInputs = [

View File

@ -12,18 +12,27 @@
buildPythonPackage rec {
pname = "omnikinverter";
version = "0.9.1";
format = "pyproject";
version = "1.0.0";
pyproject = true;
disabled = pythonOlder "3.9";
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "klaasnicolaas";
repo = "python-omnikinverter";
rev = "refs/tags/v${version}";
hash = "sha256-Vjfnwk9iIe5j+s/zJHQ2X095Eexp/aKtIi/k0sK45q0=";
hash = "sha256-W9VeRhsCXLLgOgvJcNNCGNmPvakPtKHAtwQAGtYJbcY=";
};
__darwinAllowLocalNetworking = true;
postPatch = ''
# Upstream doesn't set a version for the pyproject.toml
substituteInPlace pyproject.toml \
--replace "0.0.0" "${version}" \
--replace "--cov" ""
'';
nativeBuildInputs = [
poetry-core
];
@ -39,13 +48,6 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
# Upstream doesn't set a version for the pyproject.toml
substituteInPlace pyproject.toml \
--replace "0.0.0" "${version}" \
--replace "--cov" ""
'';
pythonImportsCheck = [
"omnikinverter"
];

View File

@ -2,7 +2,7 @@
, buildPythonPackage
, cffi
, fetchPypi
, zope_interface
, zope-interface
, sphinx
, manuel
, pythonOlder
@ -26,7 +26,7 @@ buildPythonPackage rec {
];
propagatedBuildInputs = [
zope_interface
zope-interface
cffi
];

View File

@ -7,7 +7,7 @@
, pythonOlder
, sphinxHook
, sphinx-rtd-theme
, zope_interface
, zope-interface
}:
buildPythonPackage rec {
@ -36,7 +36,7 @@ buildPythonPackage rec {
setuptools
sphinxHook
sphinx-rtd-theme
zope_interface
zope-interface
];
passthru.optional-dependencies.crypto = [

View File

@ -7,7 +7,7 @@
, pyramid
, pytestCheckHook
, setuptools
, zope_interface
, zope-interface
}:
buildPythonPackage rec {
@ -36,7 +36,7 @@ buildPythonPackage rec {
chameleon
pyramid
setuptools
zope_interface
zope-interface
];
nativeCheckInputs = [

View File

@ -12,7 +12,7 @@
, venusian
, webob
, zope-deprecation
, zope_interface
, zope-interface
, pythonOlder
}:
@ -38,7 +38,7 @@ buildPythonPackage rec {
venusian
webob
zope-deprecation
zope_interface
zope-interface
];
nativeCheckInputs = [

View File

@ -1,4 +1,4 @@
{ stdenv, lib, isPy3k, buildPythonPackage, fetchFromGitHub, zope_interface, twisted }:
{ stdenv, lib, isPy3k, buildPythonPackage, fetchFromGitHub, zope-interface, twisted }:
buildPythonPackage rec {
pname = "python3-application";
@ -14,7 +14,7 @@ buildPythonPackage rec {
hash = "sha256-L7KN6rKkbjNmkSoy8vdMYpXSBkWN7afNpreJO0twjq8=";
};
propagatedBuildInputs = [ zope_interface twisted ];
propagatedBuildInputs = [ zope-interface twisted ];
pythonImportsCheck = [ "application" ];

View File

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildPythonPackage, isPy3k, zope_interface, twisted, greenlet }:
{ lib, fetchFromGitHub, buildPythonPackage, isPy3k, zope-interface, twisted, greenlet }:
buildPythonPackage rec {
pname = "python3-eventlib";
@ -14,7 +14,7 @@ buildPythonPackage rec {
hash = "sha256-LFW3rCGa7A8tk6SjgYgjkLQ+72GE2WN8wG+XkXYTAoQ=";
};
propagatedBuildInputs = [ zope_interface twisted greenlet ];
propagatedBuildInputs = [ zope-interface twisted greenlet ];
dontUseSetuptoolsCheck = true;

View File

@ -4,8 +4,8 @@
, pythonOlder
, setuptools
, pytestCheckHook
, zope_interface
, zope_testrunner
, zope-interface
, zope-testrunner
, sphinx
}:
@ -27,13 +27,13 @@ buildPythonPackage rec {
];
propagatedBuildInputs = [
zope_interface
zope-interface
sphinx
];
nativeCheckInputs = [
pytestCheckHook
zope_testrunner
zope-testrunner
];
pythonImportsCheck = [

View File

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, setuptools
, zope_interface
, zope-interface
, webob
, pytestCheckHook
}:
@ -22,7 +22,7 @@ buildPythonPackage rec {
setuptools
];
propagatedBuildInputs = [ zope_interface webob ];
propagatedBuildInputs = [ zope-interface webob ];
nativeCheckInputs = [
pytestCheckHook

View File

@ -27,7 +27,7 @@
, tldextract
, twisted
, w3lib
, zope_interface
, zope-interface
}:
buildPythonPackage rec {
@ -75,7 +75,7 @@ buildPythonPackage rec {
tldextract
twisted
w3lib
zope_interface
zope-interface
];
nativeCheckInputs = [

View File

@ -1,7 +1,7 @@
{ lib
, fetchPypi
, buildPythonPackage
, zope_interface
, zope-interface
, mock
, pythonOlder
}:
@ -19,7 +19,7 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
zope_interface
zope-interface
mock
];

View File

@ -17,7 +17,7 @@
, hyperlink
, incremental
, typing-extensions
, zope_interface
, zope-interface
# optional-dependencies
, appdirs
@ -89,7 +89,7 @@ buildPythonPackage rec {
hyperlink
incremental
typing-extensions
zope_interface
zope-interface
];
postPatch = ''

View File

@ -6,7 +6,7 @@
, pytestCheckHook
, pythonOlder
, twisted
, zope_interface
, zope-interface
}:
buildPythonPackage rec {
@ -23,7 +23,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
twisted
zope_interface
zope-interface
];
nativeCheckInputs = [

View File

@ -15,7 +15,7 @@
, pythonOlder
, service-identity
, twisted
, zope_interface
, zope-interface
}:
buildPythonPackage rec {
@ -35,7 +35,7 @@ buildPythonPackage rec {
incremental
twisted
automat
zope_interface
zope-interface
] ++ twisted.optional-dependencies.tls;
nativeCheckInputs = [

View File

@ -4,7 +4,7 @@
, fetchPypi
, python
, zc-buildout
, zope_testrunner
, zope-testrunner
}:
buildPythonPackage rec {
@ -20,7 +20,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ zc-buildout ];
nativeCheckInputs = [ zope_testrunner ];
nativeCheckInputs = [ zope-testrunner ];
checkPhase = ''
${python.interpreter} -m zope.testrunner --test-path=src []

View File

@ -2,7 +2,7 @@
, stdenv
, fetchPypi
, buildPythonPackage
, zope_testrunner
, zope-testrunner
, manuel
, docutils
, pygments
@ -20,7 +20,7 @@ buildPythonPackage rec {
patches = lib.optional stdenv.hostPlatform.isMusl ./remove-setlocale-test.patch;
buildInputs = [ manuel docutils ];
propagatedBuildInputs = [ zope_testrunner ];
propagatedBuildInputs = [ zope-testrunner ];
nativeCheckInputs = [ pygments ];
meta = with lib; {

View File

@ -2,10 +2,10 @@
, fetchPypi
, buildPythonPackage
, python
, zope_testrunner
, zope-testrunner
, transaction
, six
, zope_interface
, zope-interface
, zodbpickle
, zconfig
, persistent
@ -31,7 +31,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
transaction
six
zope_interface
zope-interface
zodbpickle
zconfig
persistent
@ -41,7 +41,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
manuel
zope_testrunner
zope-testrunner
];
checkPhase = ''

View File

@ -4,10 +4,10 @@
, zope-configuration
, zope-deferredimport
, zope-deprecation
, zope_event
, zope-event
, zope-hookable
, zope-i18nmessageid
, zope_interface
, zope-interface
}:
buildPythonPackage rec {
@ -25,13 +25,13 @@ buildPythonPackage rec {
zope-configuration
zope-deferredimport
zope-deprecation
zope_event
zope-event
zope-hookable
zope-i18nmessageid
zope_interface
zope-interface
];
# ignore tests because of a circular dependency on zope_security
# ignore tests because of a circular dependency on zope-security
doCheck = false;
pythonImportsCheck = [

View File

@ -4,11 +4,11 @@
, pythonOlder
, setuptools
, zope-i18nmessageid
, zope_interface
, zope_schema
, zope-interface
, zope-schema
, pytestCheckHook
, zope-testing
, zope_testrunner
, zope-testrunner
, manuel
}:
@ -33,13 +33,13 @@ buildPythonPackage rec {
manuel
pytestCheckHook
zope-testing
zope_testrunner
zope-testrunner
];
propagatedBuildInputs = [
zope-i18nmessageid
zope_interface
zope_schema
zope-interface
zope-schema
];
# Need to investigate how to run the tests with zope-testrunner

View File

@ -3,7 +3,7 @@
, fetchPypi
, pythonOlder
, setuptools
, zope_testrunner
, zope-testrunner
, pytestCheckHook
}:
@ -26,7 +26,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytestCheckHook
zope_testrunner
zope-testrunner
];
pythonImportsCheck = [

View File

@ -2,9 +2,9 @@
, buildPythonPackage
, fetchPypi
, isPy27
, zope_interface
, zope_location
, zope_schema
, zope-interface
, zope-location
, zope-schema
, unittestCheckHook
}:
@ -18,10 +18,10 @@ buildPythonPackage rec {
hash = "sha256-epg2yjqX9m1WGzYPeGUBKGif4JNAddzg75ECe9xPOlc=";
};
propagatedBuildInputs = [ zope_interface ];
propagatedBuildInputs = [ zope-interface ];
doCheck = !isPy27; # namespace conflicts
nativeCheckInputs = [ unittestCheckHook zope_location zope_schema ];
nativeCheckInputs = [ unittestCheckHook zope-location zope-schema ];
unittestFlagsArray = [ "-s" "src/zope/copy" ];

View File

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, zope-proxy
, zope_testrunner
, zope-testrunner
}:
buildPythonPackage rec {
@ -18,7 +18,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ zope-proxy ];
nativeCheckInputs = [ zope_testrunner ];
nativeCheckInputs = [ zope-testrunner ];
checkPhase = ''
zope-testrunner --test-path=src []

View File

@ -3,7 +3,7 @@
, fetchPypi
, pythonOlder
, setuptools
, zope_interface
, zope-interface
}:
buildPythonPackage rec {
@ -23,7 +23,7 @@ buildPythonPackage rec {
setuptools
];
propagatedBuildInputs = [ zope_interface ];
propagatedBuildInputs = [ zope-interface ];
# circular deps
doCheck = false;

View File

@ -1,8 +1,8 @@
{ lib
, buildPythonPackage
, fetchPypi
, zope_schema
, zope_interface
, zope-schema
, zope-interface
}:
buildPythonPackage rec {
@ -14,7 +14,7 @@ buildPythonPackage rec {
hash = "sha256-yza3iGspJ2+C8WhfPykfQjXmac2HhdFHQtRl0Trvaqs=";
};
propagatedBuildInputs = [ zope_interface zope_schema ];
propagatedBuildInputs = [ zope-interface zope-schema ];
checkPhase = ''
cd src/zope/filerepresentation && python -m unittest

View File

@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, zope_testrunner
, zope-testrunner
, unittestCheckHook
}:
@ -18,7 +18,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
unittestCheckHook
zope_testrunner
zope-testrunner
];
unittestFlagsArray = [

View File

@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, zope_event
, zope-event
}:
buildPythonPackage rec {
@ -13,7 +13,7 @@ buildPythonPackage rec {
hash = "sha256-v+4fP/YhQ4GUmeNI9bin86oCWfmspeDdrnOR0Fnc5nE=";
};
propagatedBuildInputs = [ zope_event ];
propagatedBuildInputs = [ zope-event ];
doCheck = false; # Circular deps.

View File

@ -3,8 +3,8 @@
, fetchPypi
, pythonOlder
, setuptools
, zope_event
, zope_interface
, zope-event
, zope-interface
}:
buildPythonPackage rec {
@ -24,7 +24,7 @@ buildPythonPackage rec {
setuptools
];
propagatedBuildInputs = [ zope_event zope_interface ];
propagatedBuildInputs = [ zope-event zope-interface ];
# namespace colides with local directory
doCheck = false;

View File

@ -15,7 +15,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ zope-proxy ];
# ignore circular dependency on zope_schema
# ignore circular dependency on zope-schema
preBuild = ''
sed -i '/zope.schema/d' setup.py
'';

View File

@ -3,7 +3,7 @@
, fetchPypi
, pythonOlder
, setuptools
, zope_interface
, zope-interface
}:
buildPythonPackage rec {
@ -23,7 +23,7 @@ buildPythonPackage rec {
setuptools
];
propagatedBuildInputs = [ zope_interface ];
propagatedBuildInputs = [ zope-interface ];
# circular deps
doCheck = false;

View File

@ -1,9 +1,9 @@
{ lib
, buildPythonPackage
, fetchPypi
, zope_location
, zope_event
, zope_interface
, zope-location
, zope-event
, zope-interface
, zope-testing
}:
@ -16,10 +16,10 @@ buildPythonPackage rec {
hash = "sha256-6tTbywM1TU5BDJo7kERR60TZAlR1Gxy97fSmGu3p+7k=";
};
propagatedBuildInputs = [ zope_location zope_event zope_interface zope-testing ];
propagatedBuildInputs = [ zope-location zope-event zope-interface zope-testing ];
# ImportError: No module named 'zope.event'
# even though zope_event has been included.
# even though zope-event has been included.
# Package seems to work fine.
doCheck = false;

View File

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, zope-i18nmessageid
, zope_interface
, zope-interface
}:
buildPythonPackage rec {
@ -14,7 +14,7 @@ buildPythonPackage rec {
hash = "sha256-bhv3QJdZtNpyAuL6/aZXWD1Acx8661VweWaItJPpkHk=";
};
propagatedBuildInputs = [ zope-i18nmessageid zope_interface ];
propagatedBuildInputs = [ zope-i18nmessageid zope-interface ];
meta = with lib; {
homepage = "https://github.com/zopefoundation/zope.size";

View File

@ -2,8 +2,8 @@
, buildPythonPackage
, fetchPypi
, setuptools
, zope_interface
, zope_schema
, zope-interface
, zope-schema
, zope-cachedescriptors
, pytz
, webtest
@ -13,7 +13,7 @@
, six
, mock
, zope-testing
, zope_testrunner
, zope-testrunner
, python
}:
@ -37,8 +37,8 @@ buildPythonPackage rec {
propagatedBuildInputs = [
setuptools
zope_interface
zope_schema
zope-interface
zope-schema
zope-cachedescriptors
pytz
webtest
@ -51,7 +51,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
mock
zope-testing
zope_testrunner
zope-testrunner
];
checkPhase = ''

View File

@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, zope_interface
, zope-interface
, zope-exceptions
, zope-testing
, six
@ -17,7 +17,7 @@ buildPythonPackage rec {
hash = "sha256-1r1y9E6jLKpBW5bP4UFSsnhjF67xzW9IqCe2Le8Fj9Q=";
};
propagatedBuildInputs = [ zope_interface zope-exceptions zope-testing six ];
propagatedBuildInputs = [ zope-interface zope-exceptions zope-testing six ];
doCheck = false; # custom test modifies sys.path

View File

@ -9,7 +9,7 @@
, twisted
, jinja2
, msgpack
, zope_interface
, zope-interface
, sqlalchemy
, alembic
, python-dateutil
@ -85,7 +85,7 @@ let
twisted
jinja2
msgpack
zope_interface
zope-interface
sqlalchemy
alembic
python-dateutil

View File

@ -7,18 +7,18 @@
buildGoModule rec {
pname = "extism-cli";
version = "0.3.8";
version = "0.3.9";
src = fetchFromGitHub {
owner = "extism";
repo = "cli";
rev = "refs/tags/v${version}";
hash = "sha256-StMipPMLSQzrhWv0yoKkNiuHMRW7QIhmVZ/M27WDWrM=";
hash = "sha256-t53VJOc1umIwPyS6hkAm+u9KsKiYas4iRrlraofJSEY=";
};
modRoot = "./extism";
vendorHash = "sha256-sSKiwYT5EP0FQJbhgv9ZFDwwwvIJ66yMULbj529AZwY=";
vendorHash = "sha256-Ukbg2CG2qeLmM9HijKXZY/fEY2QfJXTyaTIsEDT5W6E=";
nativeBuildInputs = [ installShellFiles ];

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "gauge";
version = "1.5.4";
version = "1.5.6";
src = fetchFromGitHub {
owner = "getgauge";
repo = "gauge";
rev = "v${version}";
hash = "sha256-BJyc8umtJUsZgj4jdoYf6PSaDg41mnrZNd6rAdewWro=";
hash = "sha256-XWMv3H/NcEnX9+kCU6gzyrhpCtMWV3I+ZQ9Ia4XFpgY=";
};
vendorHash = "sha256-K0LoAJzYzQorKp3o1oH5qruMBbJiCQrduBgoZ0naaLc=";
vendorHash = "sha256-dTPKdDEK3xdvKUqI4fUDlUi0q0sMCw5Nfaj71IXit9M=";
excludedPackages = [ "build" "man" ];

View File

@ -124,13 +124,13 @@ let
in
stdenv.mkDerivation rec {
pname = "hydra";
version = "2023-12-04";
version = "2023-12-24";
src = fetchFromGitHub {
owner = "NixOS";
repo = "hydra";
rev = "4dc8fe0b08edc421c251270ccd4be3e5bf9d66b4";
hash = "sha256-FjyMb5ZbPa2GLrRuFMUP/foKb0KvXFKThvgc9faFIw8=";
rev = "02e453fc8c39751843220eaecdeaf7d539b7e765";
hash = "sha256-hIXRgu2MGqFYCALDKAiP+8lE859zftRe4OVIgGOTkvc=";
};
patches = [

View File

@ -6,11 +6,11 @@
stdenv.mkDerivation rec {
pname = "sgt-puzzles";
version = "20231120.08365fb";
version = "20240103.7a93ae5";
src = fetchurl {
url = "http://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-${version}.tar.gz";
hash = "sha256-V4OHkF0i3dnvRXmo2UKItibr4Dr8vG1CX2L2/9mL7p4=";
hash = "sha256-1pTruSF+Kl1wqTFIaYYHrvbD9p+k+1PGa5PpV4jvgEk=";
};
sgt-puzzles-menu = fetchurl {

View File

@ -27,13 +27,13 @@
stdenv.mkDerivation rec {
pname = "vcmi";
version = "1.4.1";
version = "1.4.2";
src = fetchFromGitHub {
owner = "vcmi";
repo = "vcmi";
rev = version;
hash = "sha256-5G6qmn2b1/0h7aGNNx4t38Akzg2bZFKubOp3FLqSi+I=";
hash = "sha256-C8WzEidTanWKPI/J2bEsi7sTMhn+FmykC55EsXZLLQ0=";
};
nativeBuildInputs = [

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, ghostscript, gyre-fonts, texinfo, imagemagick, texi2html, guile_2_2
{ stdenv, lib, fetchurl, ghostscript, gyre-fonts, texinfo, imagemagick, texi2html, guile
, python3, gettext, flex, perl, bison, pkg-config, autoreconfHook, dblatex
, fontconfig, freetype, pango, fontforge, help2man, zip, netpbm, groff
, freefont_ttf, makeFontsConf
@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook bison flex makeWrapper pkg-config ];
buildInputs =
[ ghostscript texinfo imagemagick texi2html guile_2_2 dblatex tex zip netpbm
[ ghostscript texinfo imagemagick texi2html guile dblatex tex zip netpbm
python3 gettext perl fontconfig freetype pango
fontforge help2man groff t1utils boehmgc rsync
];

View File

@ -26,13 +26,13 @@
stdenv.mkDerivation rec {
pname = "linux-wifi-hotspot";
version = "4.7.0";
version = "4.7.1";
src = fetchFromGitHub {
owner = "lakinduakash";
repo = pname;
rev = "v${version}";
sha256 = "sha256-YwxVQNuxZib0yjG/+W0BZu39iS96UPYITV1vWsR7MzQ=";
sha256 = "sha256-yPTnv96n1mV7aN6hf7wSvJIBfT7v9+jjjSoEcpzLRB8=";
};
nativeBuildInputs = [

View File

@ -122,7 +122,7 @@ with python.pkgs; buildPythonApplication rec {
pytest-django
pytest-unordered
responses
zope_interface
zope-interface
];
fixupPhase = ''

View File

@ -2,7 +2,7 @@
# Do not edit!
{
version = "2024.1.1";
version = "2024.1.2";
components = {
"3_day_blinds" = ps: with ps; [
];

View File

@ -317,6 +317,16 @@ let
};
});
python-roborock = super.python-roborock.overridePythonAttrs (oldAttrs: rec {
version = "0.38.0";
src = fetchFromGitHub {
owner = "humbertogontijo";
repo = "python-roborock";
rev = "refs/tags/v${version}";
hash = "sha256-jYESUMhLb5oiM3PWIIIU4dn/waGUnCAaXe0URnIq0C8=";
};
});
python-slugify = super.python-slugify.overridePythonAttrs (oldAttrs: rec {
pname = "python-slugify";
version = "4.0.1";
@ -423,7 +433,7 @@ let
extraBuildInputs = extraPackages python.pkgs;
# Don't forget to run parse-requirements.py after updating
hassVersion = "2024.1.1";
hassVersion = "2024.1.2";
in python.pkgs.buildPythonApplication rec {
pname = "homeassistant";
@ -441,13 +451,13 @@ in python.pkgs.buildPythonApplication rec {
owner = "home-assistant";
repo = "core";
rev = "refs/tags/${version}";
hash = "sha256-jTBNjVBPtxNG+5Ju3Dgjnpl9i5DM6qo92yWKNaFzfCo=";
hash = "sha256-FlGSVYgKDw0x4l1z1qe+cUAuzFH0XrE2o7LC2ByY5Bo=";
};
# Secondary source is pypi sdist for translations
sdist = fetchPypi {
inherit pname version;
hash = "sha256-LpiZ9cvfMgzpDtEriiTeDGIsl9QX8LzebzUtb8H73VE=";
hash = "sha256-ijs9RNx17JI0nSHCBB3ysgrM4OdOtcH/96O9DcrTtFQ=";
};
nativeBuildInputs = with python.pkgs; [

View File

@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "homeassistant-stubs";
version = "2024.1.1";
version = "2024.1.2";
format = "pyproject";
disabled = python.version != home-assistant.python.version;
@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "KapJI";
repo = "homeassistant-stubs";
rev = "refs/tags/${version}";
hash = "sha256-jVmjMs1OmxSnx0cQHXbAezJhkv5V8PRJOSDmfx0XQ9o=";
hash = "sha256-yUchqjstie+LETY5QnOPc2XpL4MAbXVDHVDYL9v6vFo=";
};
nativeBuildInputs = [

View File

@ -20,7 +20,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
mailman
requests
zope_interface
zope-interface
];
nativeCheckInputs = [

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