Compare commits

...

14 Commits

Author SHA1 Message Date
Martin Weinelt
b68bd2ee52 23.05 is Stoat 2022-11-21 21:22:27 +01:00
Sandro
02ebf46231 Merge pull request #199761 from Myaats/fix-pystray 2022-11-21 21:21:32 +01:00
Sandro
aaa31647dd Merge pull request #163667 from Eliot00/keepmenu-init
resolves https://github.com/NixOS/nixpkgs/issues/163594
2022-11-21 21:19:33 +01:00
Sandro
f3bf8a1b9d Merge pull request #196817 from SuperSamus/bottles
Closes https://github.com/NixOS/nixpkgs/issues/192292
closes https://github.com/NixOS/nixpkgs/issues/182539
closes https://github.com/NixOS/nixpkgs/issues/181501
2022-11-21 21:11:49 +01:00
Artturi
53dff5c028 Merge pull request #202231 from somasis/whipper
whipper: install man pages
2022-11-21 22:07:05 +02:00
Kylie McClain
4ef32c251a whipper: install man pages 2022-11-21 14:08:59 -05:00
Elliot
0c5624ceb1 keepmenu: init at 1.2.2
Update pkgs/applications/misc/keepmenu/default.nix

Co-authored-by: Bruno Bigras <bigras.bruno@gmail.com>

Update pkgs/applications/misc/keepmenu/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

Update pkgs/applications/misc/keepmenu/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

add python imports check

Update pkgs/applications/misc/keepmenu/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

Update pkgs/applications/misc/keepmenu/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

Update pkgs/applications/misc/keepmenu/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

Update pkgs/applications/misc/keepmenu/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

test
2022-11-19 21:11:51 +08:00
Mats
b70b4d0d62 plex-mpv-shim: add gapps-wrapper for pystray 2022-11-19 11:52:35 +01:00
Mats
4814a3b3c7 jellyfin-mpv-shim: add gapps-wrapper for pystray
Wraps jellyfin-mpv-shim using wrapGAppsHook to support more backends in
pystray
2022-11-19 11:52:35 +01:00
Mats
aba2c391f1 pythonPackages.pystray: fix two backends
Adds support for pystray to load the appindicator and gtk backends
2022-11-19 11:52:02 +01:00
Martino Fontana
d155128b53 bottles: 2022.5.28-trento-3 -> 2022.10.14.1 2022-11-02 00:08:21 +01:00
Bryan A. S
6b802f913f fvs: init at 0.3.4
for use with bottles
2022-10-31 11:31:42 +01:00
Bryan A. S
7aa3e528bf icoextract: init at 0.1.4
for use with bottles
2022-10-31 11:31:42 +01:00
Martino Fontana
d1a4e0784b bottles: don't include system wine by default 2022-10-31 11:31:42 +01:00
16 changed files with 312 additions and 47 deletions

View File

@@ -1 +1 @@
22.11
23.05

View File

@@ -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 =

View 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>

View File

@@ -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" />

View 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!

View File

@@ -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";

View File

@@ -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 = ''

View 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 += [

View 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 ];
};
}

View File

@@ -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" ];

View File

@@ -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;

View 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 ];
};
}

View 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 ];
};
}

View File

@@ -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 = ''

View File

@@ -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 { };

View File

@@ -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 { };