mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
Compare commits
14 Commits
backport-1
...
23.05-pre
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b68bd2ee52 | ||
|
|
02ebf46231 | ||
|
|
aaa31647dd | ||
|
|
f3bf8a1b9d | ||
|
|
53dff5c028 | ||
|
|
4ef32c251a | ||
|
|
0c5624ceb1 | ||
|
|
b70b4d0d62 | ||
|
|
4814a3b3c7 | ||
|
|
aba2c391f1 | ||
|
|
d155128b53 | ||
|
|
6b802f913f | ||
|
|
7aa3e528bf | ||
|
|
d1a4e0784b |
@@ -195,7 +195,7 @@ rec {
|
||||
On each release the first letter is bumped and a new animal is chosen
|
||||
starting with that new letter.
|
||||
*/
|
||||
codeName = "Raccoon";
|
||||
codeName = "Stoat";
|
||||
|
||||
/* Returns the current nixpkgs version suffix as string. */
|
||||
versionSuffix =
|
||||
|
||||
51
nixos/doc/manual/from_md/release-notes/rl-2305.section.xml
Normal file
51
nixos/doc/manual/from_md/release-notes/rl-2305.section.xml
Normal file
@@ -0,0 +1,51 @@
|
||||
<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="sec-release-23.05">
|
||||
<title>Release 23.05 (“Stoat”, 2023.05/??)</title>
|
||||
<para>
|
||||
Support is planned until the end of December 2023, handing over to
|
||||
23.11.
|
||||
</para>
|
||||
<section xml:id="sec-release-23.05-highlights">
|
||||
<title>Highlights</title>
|
||||
<para>
|
||||
In addition to numerous new and upgraded packages, this release
|
||||
has the following highlights:
|
||||
</para>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>
|
||||
Create the first release note entry in this section!
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</section>
|
||||
<section xml:id="sec-release-23.05-new-services">
|
||||
<title>New Services</title>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>
|
||||
Create the first release note entry in this section!
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</section>
|
||||
<section xml:id="sec-release-23.05-incompatibilities">
|
||||
<title>Backward Incompatibilities</title>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>
|
||||
Create the first release note entry in this section!
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</section>
|
||||
<section xml:id="sec-release-23.05-notable-changes">
|
||||
<title>Other Notable Changes</title>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>
|
||||
Create the first release note entry in this section!
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</section>
|
||||
</section>
|
||||
@@ -8,6 +8,7 @@
|
||||
This section lists the release notes for each stable version of NixOS and
|
||||
current unstable revision.
|
||||
</para>
|
||||
<xi:include href="../from_md/release-notes/rl-2305.section.xml" />
|
||||
<xi:include href="../from_md/release-notes/rl-2211.section.xml" />
|
||||
<xi:include href="../from_md/release-notes/rl-2205.section.xml" />
|
||||
<xi:include href="../from_md/release-notes/rl-2111.section.xml" />
|
||||
|
||||
29
nixos/doc/manual/release-notes/rl-2305.section.md
Normal file
29
nixos/doc/manual/release-notes/rl-2305.section.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# Release 23.05 (“Stoat”, 2023.05/??) {#sec-release-23.05}
|
||||
|
||||
Support is planned until the end of December 2023, handing over to 23.11.
|
||||
|
||||
## Highlights {#sec-release-23.05-highlights}
|
||||
|
||||
In addition to numerous new and upgraded packages, this release has the following highlights:
|
||||
|
||||
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
|
||||
|
||||
- Create the first release note entry in this section!
|
||||
|
||||
## New Services {#sec-release-23.05-new-services}
|
||||
|
||||
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
|
||||
|
||||
- Create the first release note entry in this section!
|
||||
|
||||
## Backward Incompatibilities {#sec-release-23.05-incompatibilities}
|
||||
|
||||
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
|
||||
|
||||
- Create the first release note entry in this section!
|
||||
|
||||
## Other Notable Changes {#sec-release-23.05-notable-changes}
|
||||
|
||||
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
|
||||
|
||||
- Create the first release note entry in this section!
|
||||
@@ -2,6 +2,7 @@
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, installShellFiles
|
||||
, libcdio-paranoia
|
||||
, cdrdao
|
||||
, libsndfile
|
||||
@@ -35,6 +36,8 @@ in python3.pkgs.buildPythonApplication rec {
|
||||
];
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
installShellFiles
|
||||
|
||||
setuptools-scm
|
||||
docutils
|
||||
setuptoolsCheckHook
|
||||
@@ -65,6 +68,11 @@ in python3.pkgs.buildPythonApplication rec {
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
|
||||
'';
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
postBuild = ''
|
||||
make -C man
|
||||
'';
|
||||
|
||||
preCheck = ''
|
||||
# disable tests that require internet access
|
||||
# https://github.com/JoeLametta/whipper/issues/291
|
||||
@@ -73,6 +81,10 @@ in python3.pkgs.buildPythonApplication rec {
|
||||
export HOME=$TMPDIR
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
installManPage man/*.1
|
||||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = whipper;
|
||||
command = "HOME=$TMPDIR whipper --version";
|
||||
|
||||
@@ -1,10 +1,28 @@
|
||||
{ lib, fetchFromGitHub, gitUpdater
|
||||
, meson, ninja, pkg-config, wrapGAppsHook
|
||||
, desktop-file-utils, gsettings-desktop-schemas, libnotify, libhandy, webkitgtk
|
||||
, python3Packages, gettext
|
||||
, appstream-glib, gdk-pixbuf, glib, gobject-introspection, gspell, gtk3, gtksourceview4, gnome
|
||||
, steam, xdg-utils, pciutils, cabextract
|
||||
, freetype, p7zip, gamemode, mangohud
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, fetchFromGitLab
|
||||
, gitUpdater
|
||||
, python3Packages
|
||||
, blueprint-compiler
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, wrapGAppsHook4
|
||||
, appstream-glib
|
||||
, desktop-file-utils
|
||||
, librsvg
|
||||
, gtk4
|
||||
, gtksourceview5
|
||||
, libadwaita
|
||||
, steam
|
||||
, cabextract
|
||||
, p7zip
|
||||
, xdpyinfo
|
||||
, imagemagick
|
||||
, procps
|
||||
, gamescope
|
||||
, mangohud
|
||||
, vmtouch
|
||||
, wine
|
||||
, bottlesExtraLibraries ? pkgs: [ ] # extra packages to add to steam.run multiPkgs
|
||||
, bottlesExtraPkgs ? pkgs: [ ] # extra packages to add to steam.run targetPkgs
|
||||
@@ -21,75 +39,77 @@ let
|
||||
in
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "bottles";
|
||||
version = "2022.5.28-trento-3";
|
||||
version = "2022.10.14.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bottlesdevs";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-KIDLRqDLFTsVAczRpTchnUtKJfVHqbYzf8MhIR5UdYY=";
|
||||
sha256 = "sha256-FO91GSGlc2f3TSLrlmRDPi5p933/Y16tdEpX4RcKhL0=";
|
||||
};
|
||||
|
||||
patches = [ ./vulkan_icd.patch ];
|
||||
|
||||
postPatch = ''
|
||||
chmod +x build-aux/meson/postinstall.py
|
||||
patchShebangs build-aux/meson/postinstall.py
|
||||
|
||||
substituteInPlace src/backend/wine/winecommand.py \
|
||||
substituteInPlace bottles/backend/wine/winecommand.py \
|
||||
--replace \
|
||||
'self.__get_runner()' \
|
||||
'(lambda r: (f"${steam-run}/bin/steam-run {r}", r)[r == "wine" or r == "wine64"])(self.__get_runner())'
|
||||
'';
|
||||
"command = f\"{runner} {command}\"" \
|
||||
"command = f\"{''' if runner == 'wine' or runner == 'wine64' else '${steam-run}/bin/steam-run '}{runner} {command}\"" \
|
||||
--replace \
|
||||
"command = f\"{_picked['entry_point']} {command}\"" \
|
||||
"command = f\"${steam-run}/bin/steam-run {_picked['entry_point']} {command}\""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
blueprint-compiler
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
wrapGAppsHook
|
||||
gettext
|
||||
wrapGAppsHook4
|
||||
gtk4 # gtk4-update-icon-cache
|
||||
appstream-glib
|
||||
desktop-file-utils
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gdk-pixbuf
|
||||
glib
|
||||
gobject-introspection
|
||||
gsettings-desktop-schemas
|
||||
gspell
|
||||
gtk3
|
||||
gtksourceview4
|
||||
libhandy
|
||||
libnotify
|
||||
webkitgtk
|
||||
gnome.adwaita-icon-theme
|
||||
librsvg
|
||||
gtk4
|
||||
gtksourceview5
|
||||
libadwaita
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
pyyaml
|
||||
pytoml
|
||||
requests
|
||||
pycairo
|
||||
pygobject3
|
||||
lxml
|
||||
dbus-python
|
||||
gst-python
|
||||
liblarch
|
||||
patool
|
||||
markdown
|
||||
fvs
|
||||
pefile
|
||||
urllib3
|
||||
chardet
|
||||
certifi
|
||||
idna
|
||||
pillow
|
||||
orjson
|
||||
icoextract
|
||||
] ++ [
|
||||
steam-run
|
||||
xdg-utils
|
||||
pciutils
|
||||
cabextract
|
||||
wine
|
||||
freetype
|
||||
p7zip
|
||||
gamemode # programs.gamemode.enable
|
||||
xdpyinfo
|
||||
imagemagick
|
||||
procps
|
||||
|
||||
gamescope
|
||||
mangohud
|
||||
vmtouch
|
||||
wine
|
||||
];
|
||||
|
||||
format = "other";
|
||||
strictDeps = false; # broken with gobject-introspection setup hook, see https://github.com/NixOS/nixpkgs/issues/56943
|
||||
dontWrapGApps = true; # prevent double wrapping
|
||||
|
||||
preFixup = ''
|
||||
|
||||
13
pkgs/applications/misc/bottles/vulkan_icd.patch
Normal file
13
pkgs/applications/misc/bottles/vulkan_icd.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/bottles/backend/utils/vulkan.py b/bottles/backend/utils/vulkan.py
|
||||
index 6673493..07f70d1 100644
|
||||
--- a/bottles/backend/utils/vulkan.py
|
||||
+++ b/bottles/backend/utils/vulkan.py
|
||||
@@ -29,6 +29,8 @@ class VulkanUtils:
|
||||
"/etc/vulkan",
|
||||
"/usr/local/share/vulkan",
|
||||
"/usr/local/etc/vulkan"
|
||||
+ "/run/opengl-driver/share/vulkan/",
|
||||
+ "/run/opengl-driver-32/share/vulkan/",
|
||||
]
|
||||
if "FLATPAK_ID" in os.environ:
|
||||
__vk_icd_dirs += [
|
||||
36
pkgs/applications/misc/keepmenu/default.nix
Normal file
36
pkgs/applications/misc/keepmenu/default.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
{ lib, python3Packages, python3, xvfb-run }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "keepmenu";
|
||||
version = "1.2.2";
|
||||
|
||||
src = python3Packages.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "SeVNtONH1bn2hb2pBOVM3Oafrb+jARgfvRe7vUu6Gto=";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
export HOME=$TMPDIR
|
||||
mkdir -p $HOME/.config/keepmenu
|
||||
cp config.ini.example $HOME/.config/keepmenu/config.ini
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
pykeepass
|
||||
pynput
|
||||
];
|
||||
|
||||
checkInputs = [ xvfb-run ];
|
||||
checkPhase = ''
|
||||
xvfb-run python setup.py test
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "keepmenu" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/firecat53/keepmenu";
|
||||
description = "Dmenu/Rofi frontend for Keepass databases";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ elliot ];
|
||||
};
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, fetchPypi
|
||||
, gobject-introspection
|
||||
, jellyfin-apiclient-python
|
||||
, jinja2
|
||||
, mpv
|
||||
@@ -9,6 +10,7 @@
|
||||
, python-mpv-jsonipc
|
||||
, pywebview
|
||||
, tkinter
|
||||
, wrapGAppsHook
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
@@ -20,6 +22,11 @@ buildPythonApplication rec {
|
||||
sha256 = "sha256-JiSC6WjrLsWk3/m/EHq7KNXaJ6rqT2fG9TT1jPvYlK0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
wrapGAppsHook
|
||||
gobject-introspection
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
jellyfin-apiclient-python
|
||||
mpv
|
||||
@@ -52,6 +59,12 @@ buildPythonApplication rec {
|
||||
--replace "notify_updates: bool = True" "notify_updates: bool = False"
|
||||
'';
|
||||
|
||||
# needed for pystray to access appindicator using GI
|
||||
preFixup = ''
|
||||
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||
'';
|
||||
dontWrapGApps = true;
|
||||
|
||||
# no tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "jellyfin_mpv_shim" ];
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{ lib, buildPythonApplication, fetchFromGitHub, mpv, requests, python-mpv-jsonipc, pystray, tkinter }:
|
||||
{ lib, buildPythonApplication, fetchFromGitHub, mpv, requests, python-mpv-jsonipc, pystray, tkinter
|
||||
, wrapGAppsHook, gobject-introspection }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "plex-mpv-shim";
|
||||
@@ -11,8 +12,19 @@ buildPythonApplication rec {
|
||||
sha256 = "0hgv9g17dkrh3zbsx27n80yvkgix9j2x0rgg6d3qsf7hp5j3xw4r";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
wrapGAppsHook
|
||||
gobject-introspection
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ mpv requests python-mpv-jsonipc pystray tkinter ];
|
||||
|
||||
# needed for pystray to access appindicator using GI
|
||||
preFixup = ''
|
||||
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||
'';
|
||||
dontWrapGApps = true;
|
||||
|
||||
# does not contain tests
|
||||
doCheck = false;
|
||||
|
||||
|
||||
31
pkgs/development/python-modules/fvs/default.nix
Normal file
31
pkgs/development/python-modules/fvs/default.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, orjson}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fvs";
|
||||
version = "0.3.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "FVS";
|
||||
extension = "tar.gz";
|
||||
sha256 = "sha256-yYd0HzdwbqB9kexJjBRRYmdsoWtZtcjCNRz0ZJVM5CI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
orjson
|
||||
];
|
||||
|
||||
# no tests in src
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"fvs"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "File Versioning System with hash comparison and data storage to create unlinked states that can be deleted";
|
||||
homepage = "https://github.com/mirkobrombin/FVS";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ bryanasdev000 ];
|
||||
};
|
||||
}
|
||||
31
pkgs/development/python-modules/icoextract/default.nix
Normal file
31
pkgs/development/python-modules/icoextract/default.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, pefile, pillow}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "icoextract";
|
||||
version = "0.1.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "tar.gz";
|
||||
sha256 = "sha256-x0GEV0PUbkAzoUJgAqup9bHd7iYttGyzIZNdo8KsFyo=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pefile
|
||||
pillow
|
||||
];
|
||||
|
||||
# tests expect mingw and multiarch
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"icoextract"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Extract icons from Windows PE files";
|
||||
homepage = "https://github.com/jlu5/icoextract";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ bryanasdev000 ];
|
||||
};
|
||||
}
|
||||
@@ -1,5 +1,15 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub
|
||||
, pillow, xlib, six, xvfb-run, sphinx }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pillow
|
||||
, xlib
|
||||
, six
|
||||
, xvfb-run
|
||||
, sphinx
|
||||
, gobject-introspection
|
||||
, pygobject3
|
||||
, gtk3
|
||||
, libayatana-appindicator }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pystray";
|
||||
@@ -12,8 +22,8 @@ buildPythonPackage rec {
|
||||
sha256 = "sha256-8B178MSe4ujlnGBmQhIu+BoAh1doP9V5cL0ermLQTvs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ sphinx ];
|
||||
propagatedBuildInputs = [ pillow xlib six ];
|
||||
nativeBuildInputs = [ gobject-introspection sphinx ];
|
||||
propagatedBuildInputs = [ pillow xlib six pygobject3 gtk3 libayatana-appindicator ];
|
||||
checkInputs = [ xvfb-run ];
|
||||
|
||||
checkPhase = ''
|
||||
|
||||
@@ -8341,6 +8341,8 @@ with pkgs;
|
||||
|
||||
keepkey_agent = with python3Packages; toPythonApplication keepkey_agent;
|
||||
|
||||
keepmenu = callPackage ../applications/misc/keepmenu { };
|
||||
|
||||
kent = callPackage ../applications/science/biology/kent { };
|
||||
|
||||
keybase = callPackage ../tools/security/keybase {
|
||||
@@ -27600,7 +27602,7 @@ with pkgs;
|
||||
bonzomatic = callPackage ../applications/editors/bonzomatic { };
|
||||
|
||||
bottles = callPackage ../applications/misc/bottles {
|
||||
wine = wineWowPackages.minimal;
|
||||
wine = null;
|
||||
};
|
||||
|
||||
brave = callPackage ../applications/networking/browsers/brave { };
|
||||
|
||||
@@ -3560,6 +3560,8 @@ self: super: with self; {
|
||||
|
||||
fuzzywuzzy = callPackage ../development/python-modules/fuzzywuzzy { };
|
||||
|
||||
fvs = callPackage ../development/python-modules/fvs { };
|
||||
|
||||
fx2 = callPackage ../development/python-modules/fx2 { };
|
||||
|
||||
g2pkk = callPackage ../development/python-modules/g2pkk { };
|
||||
@@ -4403,6 +4405,8 @@ self: super: with self; {
|
||||
|
||||
idasen = callPackage ../development/python-modules/idasen { };
|
||||
|
||||
icoextract = callPackage ../development/python-modules/icoextract { };
|
||||
|
||||
icontract = callPackage ../development/python-modules/icontract { };
|
||||
|
||||
identify = callPackage ../development/python-modules/identify { };
|
||||
|
||||
Reference in New Issue
Block a user