Skip to content

Commit

Permalink
Merge master into staging-next
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Aug 8, 2023
2 parents c1b4143 + 9f27c36 commit 4507a6b
Show file tree
Hide file tree
Showing 27 changed files with 3,226 additions and 56 deletions.
19 changes: 12 additions & 7 deletions doc/languages-frameworks/python.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -997,13 +997,18 @@ and in this case the `python3` interpreter is automatically used.

### Interpreters {#interpreters}

Versions 2.7, 3.8, 3.9, 3.10 and 3.11 of the CPython interpreter are available
as respectively `python27`, `python38`, `python39`, `python310` and `python311`.
The aliases `python2` and `python3` correspond to respectively `python27` and
`python310`. The attribute `python` maps to `python2`. The PyPy interpreters
compatible with Python 2.7 and 3 are available as `pypy27` and `pypy3`, with
aliases `pypy2` mapping to `pypy27` and `pypy` mapping to `pypy2`. The Nix
expressions for the interpreters can be found in
| Package | Aliases | Interpreter |
|------------|-----------------|-------------|
| python27 | python2, python | CPython 2.7 |
| python38 | | CPython 3.8 |
| python39 | | CPython 3.9 |
| python310 | python3 | CPython 3.10 |
| python311 | | CPython 3.11 |
| python312 | | CPython 3.12 |
| pypy27 | pypy2, pypy | PyPy2.7 |
| pypy39 | pypy3 | PyPy 3.9 |

The Nix expressions for the interpreters can be found in
`pkgs/development/interpreters/python`.

All packages depending on any Python interpreter get appended
Expand Down
3 changes: 3 additions & 0 deletions pkgs/applications/audio/sublime-music/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ python.pkgs.buildPythonApplication rec {
postPatch = ''
sed -i "/--cov/d" setup.cfg
sed -i "/--no-cov-on-fail/d" setup.cfg
# https://github.com/sublime-music/sublime-music/commit/f477659d24e372ed6654501deebad91ae4b0b51c
sed -i "s/python-mpv/mpv/g" pyproject.toml
'';

buildInputs = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/graphics/darktable/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@
}:

stdenv.mkDerivation rec {
version = "4.4.1";
version = "4.4.2";
pname = "darktable";

src = fetchurl {
url = "https://github.com/darktable-org/darktable/releases/download/release-${version}/darktable-${version}.tar.xz";
sha256 = "e043d38d2e8adb67af7690b12b535a40e8ec7bea05cfa8684db8b21a626e0f0d";
sha256 = "c11d28434fdf2e9ce572b9b1f9bc4e64dcebf6148e25080b4c32eb51916cfa98";
};

nativeBuildInputs = [ cmake ninja llvm_13 pkg-config intltool perl desktop-file-utils wrapGAppsHook ];
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/misc/rofi-power-menu/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/jluttine/rofi-power-menu";
maintainers = with maintainers; [ ikervagyok ];
platforms = platforms.linux;
mainProgram = "rofi-power-menu";
};
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"version" = "1.11.37";
"version" = "1.11.38";
"hashes" = {
"desktopSrcHash" = "sha256-6YiMAmOb0lSaLDE/ohVpZFbl4J1NxS9xNFFcebVW9MA=";
"desktopSrcHash" = "sha256-xDeVwDQ0/ZeqA8c052WvDyhn14TgDTg+FRYQscgxXOQ=";
"desktopYarnHash" = "1ksj99g649kvilr850rkk8nkl55z7vz7m8159777kjikakzra2ly";
"webSrcHash" = "sha256-zFRoL/bnic6Waaiz7Vfama4qzlYKk0TTr5zPK6PNSpM=";
"webYarnHash" = "1lpd9mmg51jnhdr2zfisxdpc4i64kn4bpzkxqzip7dnn9iz432kw";
"webSrcHash" = "sha256-R/JyEVjQN4AYD0AqLJDYcrfGHwTMVGDBhNIK3AtGi2c=";
"webYarnHash" = "1znayywxzs1c4ypdv4akxy0lb7mg0i9h74wnja4d5d3vbbdgnid5";
};
}
6 changes: 3 additions & 3 deletions pkgs/applications/terminal-emulators/foot/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}:

let
version = "1.15.2";
version = "1.15.3";

# build stimuli file for PGO build and the script to generate it
# independently of the foot's build, so we can cache the result
Expand Down Expand Up @@ -90,7 +90,7 @@ let

terminfoDir = "${placeholder "terminfo"}/share/terminfo";
in
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "foot";
inherit version;

Expand All @@ -99,7 +99,7 @@ stdenv.mkDerivation rec {
owner = "dnkl";
repo = "foot";
rev = version;
hash = "sha256:1iz9l01fpryc335pb0c3qi67fmmfplizv5pbc9s578mxl5j9dxg4";
hash = "sha256-jn/S0xjxZPnkGYpTRIpL3dKxGe7+Z+EmOGHiE0UkQqg=";
};

depsBuildBuild = [
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/video/stremio/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ stdenv.mkDerivation rec {
'';

meta = with lib; {
mainProgram = "stremio";
description = "A modern media center that gives you the freedom to watch everything you want.";
homepage = "https://www.stremio.com/";
# (Server-side) web UI is closed source now, apparently they work on open-sourcing it.
Expand Down
36 changes: 36 additions & 0 deletions pkgs/applications/virtualization/kraft/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{ lib
, buildGoModule
, fetchFromGitHub
, stdenv
}:

buildGoModule rec {
pname = "kraftkit";
version = "0.6.4";

src = fetchFromGitHub {
owner = "unikraft";
repo = "kraftkit";
rev = "v${version}";
hash = "sha256-+aZrJqxgPGIoWEW4PZj6Nib7Z49HitxqMbeoyIe14iM=";
};

vendorHash = "sha256-4V7GTqCDSHybuwIrnmO1MJ+DwMpkKOdA7UC72YJqStM=";

ldflags = [
"-s"
"-w"
"-X kraftkit.sh/internal/version.version=${version}"
];

subPackages = [ "cmd/kraft" ];

meta = {
description = "Build and use highly customized and ultra-lightweight unikernel VMs";
homepage = "https://github.com/unikraft/kraftkit";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ dit7ya ];
mainProgram = "kraft";
broken = stdenv.isDarwin; # > machine/platform/iterator_v1alpha1.go:32:34: undefined: hostSupportedStrategies
};
}
1 change: 1 addition & 0 deletions pkgs/applications/window-managers/eww/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/elkowar/eww";
license = licenses.mit;
maintainers = with maintainers; [ figsoda lom ];
mainProgram = "eww";
broken = stdenv.isDarwin;
};
}
4 changes: 2 additions & 2 deletions pkgs/data/fonts/cozette/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

stdenvNoCC.mkDerivation rec {
pname = "cozette";
version = "1.22.0";
version = "1.22.1";

src = fetchzip {
url = "https://github.com/slavfox/Cozette/releases/download/v.${version}/CozetteFonts-v-${builtins.replaceStrings ["."] ["-"] version}.zip";
hash = "sha256-IB+YQcIpxYumJ5ETezqQ2yVlvdh+wllJ+MkVHPWZCEg=";
hash = "sha256-HnMds58yv9Ck6ONRjdIm3CNpAi1E4Zei2MaxcMjp7FQ=";
};

installPhase = ''
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/interpreters/risor/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

buildGoModule rec {
pname = "risor";
version = "0.10.0";
version = "0.11.0";

src = fetchFromGitHub {
owner = "risor-io";
repo = "risor";
rev = "v${version}";
hash = "sha256-CnwejQ6e08AaUshfieXbQx05G6ZoF6vDlrtai3qxrxo=";
hash = "sha256-YBiBadyI8TRa7CpiTkMOL0biuVMAk23sqEOzJ0ipfA8=";
};

vendorHash = "sha256-diAbQwnlhMm43ZlLKq3llMl9mO3sIkc80aCI5UDn7F4=";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/rdkafka/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

stdenv.mkDerivation rec {
pname = "rdkafka";
version = "2.1.1";
version = "2.2.0";

src = fetchFromGitHub {
owner = "confluentinc";
repo = "librdkafka";
rev = "v${version}";
sha256 = "sha256-MwPRnD/S8o1gG6RWq2tKxqdpGum4FB5K8bHPAvlKW10=";
sha256 = "sha256-v/FjnDg22ZNQHmrUsPvjaCs4UQ/RPAxQdg9i8k6ba/4=";
};

nativeBuildInputs = [ pkg-config python3 which ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/aiohomekit/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

buildPythonPackage rec {
pname = "aiohomekit";
version = "2.6.13";
version = "2.6.14";
format = "pyproject";

disabled = pythonOlder "3.9";
Expand All @@ -28,7 +28,7 @@ buildPythonPackage rec {
owner = "Jc2k";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-33B9BBqvKQugGz4+9EuMPhLRyWd/Sbxwh4d5aMmDt4M=";
hash = "sha256-JPI1+sQVZe2/5YxW6OxZRosp36e93KEW+V1DAcLaYNY=";
};

nativeBuildInputs = [
Expand Down
7 changes: 4 additions & 3 deletions pkgs/development/python-modules/authlib/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

buildPythonPackage rec {
pname = "authlib";
version = "1.2.0";
version = "1.2.1";
format = "setuptools";

disabled = pythonOlder "3.7";
Expand All @@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "lepture";
repo = "authlib";
rev = "refs/tags/v${version}";
hash = "sha256-OYfvfPnpWE9g7L9cFXUD95B/9+OZy55ZVbmFhFgguUg=";
hash = "sha256-K6u590poZ9C3Uzi3a8k8aXMeSeRgn91e+p2PWYno3Y8=";
};

propagatedBuildInputs = [
Expand All @@ -49,6 +49,7 @@ buildPythonPackage rec {
pythonImportsCheck = [
"authlib"
];

disabledTestPaths = [
# Django tests require a running instance
"tests/django/"
Expand All @@ -60,7 +61,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Library for building OAuth and OpenID Connect servers";
homepage = "https://github.com/lepture/authlib";
changelog = "https://github.com/lepture/authlib/releases/tag/v${version}";
changelog = "https://github.com/lepture/authlib/blob/v${version}/docs/changelog.rst";
license = licenses.bsd3;
maintainers = with maintainers; [ flokli ];
};
Expand Down
Loading

0 comments on commit 4507a6b

Please sign in to comment.