Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
67ddd1eb e062b84a

+380 -242
+6
maintainers/maintainer-list.nix
··· 64 64 githubId = 64707304; 65 65 name = "Dmitry Kulikov"; 66 66 }; 67 + _0x120581f = { 68 + email = "nixpkgs@0x120581f.dev"; 69 + name = "0x120581f"; 70 + github = "0x120581f"; 71 + githubId = 130835755; 72 + }; 67 73 _0x4A6F = { 68 74 email = "mail-maintainer@0x4A6F.dev"; 69 75 matrix = "@0x4a6f:matrix.org";
+8 -8
pkgs/applications/editors/ldtk/default.nix
··· 1 1 { lib, stdenv, fetchurl, makeWrapper, makeDesktopItem, copyDesktopItems, unzip 2 2 , appimage-run, nix-update-script }: 3 3 4 - stdenv.mkDerivation rec { 4 + stdenv.mkDerivation (finalAttrs: { 5 5 pname = "ldtk"; 6 - version = "1.3.2"; 6 + version = "1.3.3"; 7 7 8 8 src = fetchurl { 9 - url = "https://github.com/deepnight/ldtk/releases/download/v${version}/ubuntu-distribution.zip"; 10 - hash = "sha256-8GiMm1Nb2jRLFWtGNsSfrW1jIi9yKCcyuUKwMEqoUZI="; 9 + url = "https://github.com/deepnight/ldtk/releases/download/v${finalAttrs.version}/ubuntu-distribution.zip"; 10 + hash = "sha256-egvAe4nAzPDBeTaAzrqhlDsG60bGNnKXB5Vt16vIZrQ"; 11 11 }; 12 12 13 13 nativeBuildInputs = [ unzip makeWrapper copyDesktopItems appimage-run ]; ··· 18 18 runHook preUnpack 19 19 20 20 unzip $src 21 - appimage-run -x src 'LDtk ${version} installer.AppImage' 21 + appimage-run -x src 'LDtk ${finalAttrs.version} installer.AppImage' 22 22 23 23 runHook postUnpack 24 24 ''; ··· 26 26 installPhase = '' 27 27 runHook preInstall 28 28 29 - install -Dm644 'LDtk ${version} installer.AppImage' $out/share/ldtk.AppImage 29 + install -Dm644 'LDtk ${finalAttrs.version} installer.AppImage' $out/share/ldtk.AppImage 30 30 makeWrapper ${appimage-run}/bin/appimage-run $out/bin/ldtk \ 31 31 --add-flags $out/share/ldtk.AppImage 32 32 install -Dm644 src/ldtk.png $out/share/icons/hicolor/1024x1024/apps/ldtk.png ··· 52 52 meta = with lib; { 53 53 description = "Modern, lightweight and efficient 2D level editor"; 54 54 homepage = "https://ldtk.io/"; 55 - changelog = "https://github.com/deepnight/ldtk/releases/tag/v${version}"; 55 + changelog = "https://github.com/deepnight/ldtk/releases/tag/v${finalAttrs.version}"; 56 56 license = licenses.mit; 57 57 platforms = [ "x86_64-linux" ]; 58 58 maintainers = with maintainers; [ felschr ]; 59 59 sourceProvenance = with sourceTypes; [ binaryBytecode ]; 60 60 }; 61 - } 61 + })
+6 -6
pkgs/applications/editors/vscode/vscode.nix
··· 19 19 archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz"; 20 20 21 21 sha256 = { 22 - x86_64-linux = "0kir1grd150gb7im6yx2l16hi43wwsi8q3dlpgah4m7na064xgyd"; 23 - x86_64-darwin = "1fw73483ja4zav8xd0j03ygib5zbviy3kd02jzmgbbbsac5li96m"; 24 - aarch64-linux = "1w0dxpvrj06m1d15q45xi4sl4g3fk0nf04vh2ar956lg67dqj7i6"; 25 - aarch64-darwin = "0i5vj3km6wkdc2mrks2rjbqbn1isg4l4ss6zs7qfra3zcj62bkc2"; 26 - armv7l-linux = "1jx8cz43ac35as414mxsj9abpkr4a7v10fg1msjy2ykcrzv9v3dr"; 22 + x86_64-linux = "13yd42jqlzjxg5afs05ph2z4xwsfkbcddqvc4fvz1qqwr698mkjj"; 23 + x86_64-darwin = "1slmqrxhrwm04v0lisc200mx6jv86vf5p62as4brzz9irnv707ry"; 24 + aarch64-linux = "1q99y9jx3c8z0l3pda0b79c50yff8as4z9c4dxwf7b67argi5ls6"; 25 + aarch64-darwin = "0ykb0ifkswv3rcp3x6rkm8r88flsfmwhlrlc4f55mbgj7jbfn5k3"; 26 + armv7l-linux = "0gshhing3drsrmf17jykafks7z587ixk63xinrdv62xl4x4qxca8"; 27 27 }.${system} or throwSystem; 28 28 in 29 29 callPackage ./generic.nix rec { 30 30 # Please backport all compatible updates to the stable release. 31 31 # This is important for the extension ecosystem. 32 - version = "1.78.2"; 32 + version = "1.79.0"; 33 33 pname = "vscode"; 34 34 35 35 executableName = "code" + lib.optionalString isInsiders "-insiders";
+38
pkgs/applications/misc/genesys/default.nix
··· 1 + { lib, stdenv, fetchurl, jre, graphviz, makeWrapper }: 2 + 3 + stdenv.mkDerivation (finalAttrs: { 4 + pname = "genesys"; 5 + version = "1.0.7"; 6 + 7 + src = fetchurl { 8 + url = "https://github.com/mrlem/genesys/releases/download/v${finalAttrs.version}/${finalAttrs.pname}-${finalAttrs.version}.tar.gz"; 9 + hash = "sha256-I1lEVvwRiGf1f4zUtqKhSb+it/nC8WAmw5S6edquOj8="; 10 + }; 11 + 12 + nativeBuildInputs = [ makeWrapper ]; 13 + 14 + # The package is distributed as a prebuilt JAVA binary 15 + dontConfigure = true; 16 + dontBuild = true; 17 + 18 + installPhase = '' 19 + runHook preInstall 20 + 21 + mkdir -p $out 22 + mv bin lib $out 23 + wrapProgram $out/bin/${finalAttrs.pname} \ 24 + --set JAVA_HOME "${jre.home}" \ 25 + --prefix PATH : "${graphviz}/bin" 26 + 27 + runHook postInstall 28 + ''; 29 + 30 + meta = { 31 + description = "A simple family tree generator that scales"; 32 + homepage = "https://github.com/mrlem/genesys"; 33 + license = lib.licenses.gpl3; 34 + maintainers = with lib.maintainers; [ rogarb ]; 35 + platforms = lib.platforms.all; 36 + }; 37 + }) 38 +
+34
pkgs/applications/misc/nwg-dock-hyprland/default.nix
··· 1 + { lib 2 + , buildGoModule 3 + , fetchFromGitHub 4 + , pkg-config 5 + , wrapGAppsHook 6 + , gtk-layer-shell 7 + }: 8 + 9 + buildGoModule rec { 10 + pname = "nwg-dock-hyprland"; 11 + version = "0.1.2"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "nwg-piotr"; 15 + repo = pname; 16 + rev = "v${version}"; 17 + sha256 = "sha256-7vdfxE3X2J7bDLzose0dKmjxNQhS5+/ROky9wkK1gc0="; 18 + }; 19 + 20 + vendorHash = "sha256-GhcrIVnZRbiGTfeUAWvslOVWDZmoL0ZRnjgTtQgxe2Q="; 21 + 22 + ldflags = [ "-s" "-w" ]; 23 + 24 + nativeBuildInputs = [ pkg-config wrapGAppsHook ]; 25 + buildInputs = [ gtk-layer-shell ]; 26 + 27 + meta = with lib; { 28 + description = "GTK3-based dock for Hyprland"; 29 + homepage = "https://github.com/nwg-piotr/nwg-dock-hyprland"; 30 + license = licenses.mit; 31 + platforms = platforms.linux; 32 + maintainers = with maintainers; [ aleksana ]; 33 + }; 34 + }
+2 -2
pkgs/applications/networking/sniffers/wireshark/default.nix
··· 49 49 assert withQt -> qt6 != null; 50 50 51 51 let 52 - version = "4.0.5"; 52 + version = "4.0.6"; 53 53 variant = if withQt then "qt" else "cli"; 54 54 in 55 55 stdenv.mkDerivation { ··· 61 61 repo = "wireshark"; 62 62 owner = "wireshark"; 63 63 rev = "v${version}"; 64 - hash = "sha256-9U0V2oLVyzq+3HxvOuD8Uzj1tjoMtYBws43fn5RfGhQ="; 64 + hash = "sha256-hQpnD1BWOdb1YuG2BaQI+q1EkkTF1Du/HezrYr/Fl7w="; 65 65 }; 66 66 67 67 cmakeFlags = [
+3 -2
pkgs/applications/version-management/gitea/default.nix
··· 5 5 , makeWrapper 6 6 , git 7 7 , bash 8 + , coreutils 8 9 , gitea 9 10 , gzip 10 11 , openssh ··· 34 35 ]; 35 36 36 37 postPatch = '' 37 - substituteInPlace modules/setting/setting.go --subst-var data 38 + substituteInPlace modules/setting/server.go --subst-var data 38 39 ''; 39 40 40 41 subPackages = [ "." ]; ··· 62 63 cp -R ./options/locale $out/locale 63 64 64 65 wrapProgram $out/bin/gitea \ 65 - --prefix PATH : ${lib.makeBinPath [ bash git gzip openssh ]} 66 + --prefix PATH : ${lib.makeBinPath [ bash coreutils git gzip openssh ]} 66 67 ''; 67 68 68 69 passthru = {
+5 -5
pkgs/applications/video/filebot/default.nix
··· 8 8 url = "https://search.maven.org/remotecontent?filepath=com/googlecode/lanterna/lanterna/3.1.1/lanterna-3.1.1.jar"; 9 9 hash = "sha256-7zxCeXYW5v9ritnvkwRpPKdgSptCmkT3HJOaNgQHUmQ="; 10 10 }; 11 - in stdenv.mkDerivation rec { 11 + in stdenv.mkDerivation (finalAttrs: { 12 12 pname = "filebot"; 13 - version = "5.0.2"; 13 + version = "5.0.3"; 14 14 15 15 src = fetchurl { 16 - url = "https://web.archive.org/web/20230418205553/https://get.filebot.net/filebot/FileBot_${version}/FileBot_${version}-portable.tar.xz"; 17 - hash = "sha256-XnzBXZy/gNA8qf7XairoviRmdQiXHbW19BgbHL52SP0="; 16 + url = "https://web.archive.org/web/20230418205553/https://get.filebot.net/filebot/FileBot_${finalAttrs.version}/FileBot_${finalAttrs.version}-portable.tar.xz"; 17 + hash = "sha256-8FTmR+ztR2ugPcgHvfwyh9yfxPiUJdeAVvjjl5cQCy0="; 18 18 }; 19 19 20 20 unpackPhase = "tar xvf $src"; ··· 68 68 maintainers = with maintainers; [ gleber felschr ]; 69 69 platforms = platforms.linux; 70 70 }; 71 - } 71 + })
+4 -4
pkgs/data/fonts/unscii/default.nix
··· 9 9 in 10 10 stdenv.mkDerivation rec { 11 11 pname = "unscii"; 12 - version = "1.1"; 12 + version = "2.1"; 13 13 14 14 src = fetchurl { 15 - url = "http://pelulamu.net/${pname}/${pname}-${version}-src.tar.gz"; 16 - sha256 = "0qcxcnqz2nlwfzlrn115kkp3n8dd7593h762vxs6vfqm13i39lq1"; 15 + url = "http://viznut.fi/${pname}/${pname}-${version}-src.tar.gz"; 16 + sha256 = "0msvqrq7x36p76a2n5bzkadh95z954ayqa08wxd017g4jpa1a4jd"; 17 17 }; 18 18 19 19 nativeBuildInputs = ··· 66 66 # version. The reduced version is public domain. 67 67 license = "http://unifoundry.com/LICENSE.txt"; 68 68 maintainers = [ lib.maintainers.raskin ]; 69 - homepage = "http://pelulamu.net/unscii/"; 69 + homepage = "http://viznut.fi/unscii/"; 70 70 }; 71 71 }
+2 -2
pkgs/development/interpreters/php/8.0.nix
··· 2 2 3 3 let 4 4 base = callPackage ./generic.nix (_args // { 5 - version = "8.0.28"; 6 - hash = "sha256-nV50k1yQDjuce2vHQFlrcZM2MOufY3F8DEkj2MeIxi4="; 5 + version = "8.0.29"; 6 + hash = "sha256-SAGh8OFxcChnI6tUrNBFrHipZWAh1W8QSmRUPuySLhI="; 7 7 }); 8 8 9 9 in
+3 -3
pkgs/development/interpreters/php/8.1.nix
··· 1 - { callPackage, lib, stdenv, ... }@_args: 1 + { callPackage, ... }@_args: 2 2 3 3 let 4 4 base = callPackage ./generic.nix (_args // { 5 - version = "8.1.19"; 6 - hash = "sha256-ZCByB/2jC+kmou8fZv8ma/H9x+AzObyZ+7oKEkXkJ5s="; 5 + version = "8.1.20"; 6 + hash = "sha256-VVeFh1FKJwdQD4UxnlfA1N+biAPNsmVmWVrEv0WdxN0="; 7 7 }); 8 8 9 9 in
+3 -3
pkgs/development/interpreters/php/8.2.nix
··· 1 - { callPackage, lib, stdenv, fetchurl, ... }@_args: 1 + { callPackage, ... }@_args: 2 2 3 3 let 4 4 base = callPackage ./generic.nix (_args // { 5 - version = "8.2.6"; 6 - hash = "sha256-RKcMUvU3ZiwQ2R7tv1H9dlyZYb5rolCO1jv3omzdMQA="; 5 + version = "8.2.7"; 6 + hash = "sha256-W/sqNcZ5Ib3K3VyQyykK11N9JNoROl6LwtZGsC3nSI8="; 7 7 }); 8 8 9 9 in
+2 -2
pkgs/development/python-modules/dvc-data/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "dvc-data"; 18 - version = "0.54.3"; 18 + version = "0.55.0"; 19 19 format = "pyproject"; 20 20 21 21 disabled = pythonOlder "3.8"; ··· 24 24 owner = "iterative"; 25 25 repo = pname; 26 26 rev = "refs/tags/${version}"; 27 - hash = "sha256-xkLqZmAzYfmfv9l1+PR8j5S7O5gKVh63+Jb9aZiLS8s="; 27 + hash = "sha256-eE1cVzhwyClVYmaotw37sG46g5W1ToUE/f3pZ2CCcE0="; 28 28 }; 29 29 30 30 SETUPTOOLS_SCM_PRETEND_VERSION = version;
+2 -2
pkgs/development/python-modules/dvclive/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "dvclive"; 17 - version = "2.11.0"; 17 + version = "2.11.1"; 18 18 format = "pyproject"; 19 19 20 20 disabled = pythonOlder "3.8"; ··· 23 23 owner = "iterative"; 24 24 repo = pname; 25 25 rev = "refs/tags/${version}"; 26 - hash = "sha256-dV6ob+TXzQOuHU9bybAO8sVmrJ7yP8vwp0pXXFVNb34="; 26 + hash = "sha256-zr8fLRwan1/G8RMHa6lf4Qa5fTh5DzVLO53PMW0fm4c="; 27 27 }; 28 28 29 29 SETUPTOOLS_SCM_PRETEND_VERSION = version;
+2 -2
pkgs/development/python-modules/elkm1-lib/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "elkm1-lib"; 15 - version = "2.2.2"; 15 + version = "2.2.3"; 16 16 format = "pyproject"; 17 17 18 18 disabled = pythonOlder "3.9"; ··· 21 21 owner = "gwww"; 22 22 repo = "elkm1"; 23 23 rev = "refs/tags/${version}"; 24 - hash = "sha256-z/ltpypCGJ3ORHOlLjicKlqIoxqGzVt588OHmNO65bg="; 24 + hash = "sha256-d676gLABChQn67E4q4koxwBRmurBWuFxSo/u+W5F8CI="; 25 25 }; 26 26 27 27 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/emoji/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "emoji"; 10 - version = "2.4.0"; 10 + version = "2.5.0"; 11 11 format = "setuptools"; 12 12 13 13 disabled = pythonOlder "3.7"; ··· 16 16 owner = "carpedm20"; 17 17 repo = pname; 18 18 rev = "refs/tags/v${version}"; 19 - hash = "sha256-tbNatosXt+KV1K3bvdz8lY73Yx/ClJcxUWHiPetp5wM="; 19 + hash = "sha256-S2gU16kO8QVdhgjsfIeuv0ypcYSjWOFaVFGJdQsdijg="; 20 20 }; 21 21 22 22 nativeCheckInputs = [
+25 -10
pkgs/development/python-modules/fontmath/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, isPy27 2 - , fonttools, setuptools-scm 3 - , pytest, pytest-runner 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , fonttools 5 + , setuptools-scm 6 + , pytestCheckHook 7 + , pythonOlder 4 8 }: 5 9 6 10 buildPythonPackage rec { 7 - pname = "fontMath"; 11 + pname = "fontmath"; 8 12 version = "0.9.3"; 9 - disabled = isPy27; 13 + format = "setuptools"; 14 + 15 + disabled = pythonOlder "3.7"; 10 16 11 17 src = fetchPypi { 12 - inherit pname version; 18 + pname = "fontMath"; 19 + inherit version; 13 20 hash = "sha256-alOHy3/rEFlY2y9c7tyHhRPMNb83FeJiCQ8FV74MGxw="; 14 21 extension = "zip"; 15 22 }; 16 23 17 - nativeBuildInputs = [ setuptools-scm ]; 24 + nativeBuildInputs = [ 25 + setuptools-scm 26 + ]; 27 + 28 + propagatedBuildInputs = [ 29 + fonttools 30 + ]; 18 31 19 - propagatedBuildInputs = [ fonttools ]; 20 - nativeCheckInputs = [ pytest pytest-runner ]; 32 + nativeCheckInputs = [ 33 + pytestCheckHook 34 + ]; 21 35 22 36 meta = with lib; { 23 37 description = "A collection of objects that implement fast font, glyph, etc. math"; 24 38 homepage = "https://github.com/robotools/fontMath/"; 39 + changelog = "https://github.com/robotools/fontMath/releases/tag/${version}"; 25 40 license = licenses.mit; 26 - maintainers = [ maintainers.sternenseemann ]; 41 + maintainers = with maintainers; [ sternenseemann ]; 27 42 }; 28 43 }
+15 -3
pkgs/development/python-modules/mwparserfromhell/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchPypi 4 4 , pytestCheckHook 5 - , pytest-runner 5 + , pythonOlder 6 6 }: 7 7 8 8 buildPythonPackage rec { 9 9 pname = "mwparserfromhell"; 10 10 version = "0.6.4"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.7"; 11 14 12 15 src = fetchPypi { 13 16 inherit pname version; 14 17 hash = "sha256-kr7JUorjTScok8yvK1J9+FwxT/KM+7MFY0BGewldg0w="; 15 18 }; 16 19 20 + postPatch = '' 21 + substituteInPlace setup.py \ 22 + --replace '"pytest-runner"' "" 23 + ''; 24 + 17 25 nativeCheckInputs = [ 18 26 pytestCheckHook 19 - pytest-runner 27 + ]; 28 + 29 + pythonImportsCheck = [ 30 + "mwparserfromhell" 20 31 ]; 21 32 22 33 meta = with lib; { 23 34 description = "MWParserFromHell is a parser for MediaWiki wikicode"; 24 - homepage = "https://mwparserfromhell.readthedocs.io/en/latest/"; 35 + homepage = "https://mwparserfromhell.readthedocs.io/"; 36 + changelog = "https://github.com/earwig/mwparserfromhell/releases/tag/v${version}"; 25 37 license = licenses.mit; 26 38 maintainers = with maintainers; [ melling ]; 27 39 };
+28 -6
pkgs/development/python-modules/ndjson/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, watchdog, flake8 2 - , pytest, pytest-runner, coverage, sphinx, twine }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , pytestCheckHook 5 + , pythonOlder 6 + , six 7 + , watchdog 8 + }: 3 9 4 10 buildPythonPackage rec { 5 11 pname = "ndjson"; 6 12 version = "0.3.1"; 13 + format = "setuptools"; 14 + 15 + disabled = pythonOlder "3.7"; 7 16 8 17 src = fetchPypi { 9 18 inherit pname version; 10 - sha256 = "v5dGy2uxy1PRcs2n8VTAfHhtZl/yg0Hk5om3lrIp5dY="; 19 + hash = "sha256-v5dGy2uxy1PRcs2n8VTAfHhtZl/yg0Hk5om3lrIp5dY="; 11 20 }; 12 21 13 - nativeCheckInputs = [ pytest pytest-runner flake8 twine sphinx coverage watchdog ]; 22 + postPatch = '' 23 + substituteInPlace setup.py \ 24 + --replace "'pytest-runner', " "" 25 + ''; 26 + 27 + nativeCheckInputs = [ 28 + pytestCheckHook 29 + six 30 + watchdog 31 + ]; 32 + 33 + pythonImportsCheck = [ 34 + "ndjson" 35 + ]; 14 36 15 37 meta = with lib; { 38 + description = "Module supports ndjson"; 16 39 homepage = "https://github.com/rhgrant10/ndjson"; 17 - description = "JsonDecoder"; 18 - platforms = platforms.unix; 40 + changelog = "https://github.com/rhgrant10/ndjson/blob/v${version}/HISTORY.rst"; 19 41 license = licenses.gpl3Only; 20 42 maintainers = with maintainers; [ freezeboy ]; 21 43 };
+22 -17
pkgs/development/python-modules/py-multibase/default.nix
··· 1 - { buildPythonPackage 1 + { lib 2 + , buildPythonPackage 2 3 , fetchPypi 3 - , isPy27 4 - , lib 5 4 , morphys 6 - , pytest 7 - , pytest-runner 5 + , pytestCheckHook 8 6 , python-baseconv 7 + , pythonOlder 9 8 , six 10 9 }: 11 10 buildPythonPackage rec { 12 11 pname = "py-multibase"; 13 12 version = "1.0.3"; 14 - disabled = isPy27; 13 + format = "setuptools"; 14 + 15 + disabled = pythonOlder "3.7"; 15 16 16 17 src = fetchPypi { 17 - inherit pname version ; 18 - sha256 = "d28a20efcbb61eec28f55827a0bf329c7cea80fffd933aecaea6ae8431267fe4"; 18 + inherit pname version; 19 + hash = "sha256-0oog78u2Huwo9VgnoL8ynHzqgP/9kzrsrqauhDEmf+Q="; 19 20 }; 20 21 21 22 postPatch = '' 22 - substituteInPlace setup.cfg --replace "[pytest]" "" 23 - substituteInPlace setup.cfg --replace "python_classes = *TestCase" "" 23 + substituteInPlace setup.cfg \ 24 + --replace "[pytest]" "" \ 25 + --replace "python_classes = *TestCase" "" 26 + substituteInPlace setup.py \ 27 + --replace "'pytest-runner'," "" 24 28 ''; 25 29 26 - nativeBuildInputs = [ 27 - pytest-runner 28 - ]; 29 - 30 30 propagatedBuildInputs = [ 31 31 morphys 32 - six 33 32 python-baseconv 33 + six 34 34 ]; 35 35 36 36 nativeCheckInputs = [ 37 - pytest 37 + pytestCheckHook 38 + ]; 39 + 40 + pythonImportsCheck = [ 41 + "multibase" 38 42 ]; 39 43 40 44 meta = with lib; { 41 - description = "Multibase is a protocol for distinguishing base encodings and other simple string encodings"; 45 + description = "Module for distinguishing base encodings and other simple string encodings"; 42 46 homepage = "https://github.com/multiformats/py-multibase"; 47 + changelog = "https://github.com/multiformats/py-multibase/blob/v${version}/HISTORY.rst"; 43 48 license = licenses.mit; 44 49 maintainers = with maintainers; [ rakesh4g ]; 45 50 };
+14 -12
pkgs/development/python-modules/py-multicodec/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 - , pytest-runner 4 + , morphys 5 5 , pytestCheckHook 6 6 , pythonOlder 7 - , morphys 8 7 , six 9 8 , varint 10 9 }: ··· 12 11 buildPythonPackage rec { 13 12 pname = "py-multicodec"; 14 13 version = "0.2.1"; 15 - disabled = pythonOlder "3.5"; 14 + format = "setuptools"; 15 + 16 + disabled = pythonOlder "3.7"; 16 17 17 18 src = fetchFromGitHub { 18 19 owner = "multiformats"; 19 20 repo = pname; 20 - rev = "v${version}"; 21 + rev = "refs/tags/v${version}"; 21 22 hash = "sha256-2aK+bfhqCMqSO+mtrHIfNQmQpQHpwd7yHseI/3O7Sp4="; 22 23 }; 23 24 24 25 # Error when not substituting: 25 26 # Failed: [pytest] section in setup.cfg files is no longer supported, change to [tool:pytest] instead. 26 27 postPatch = '' 27 - substituteInPlace setup.cfg --replace "[pytest]" "[tool:pytest]" 28 + substituteInPlace setup.cfg \ 29 + --replace "[pytest]" "[tool:pytest]" 30 + substituteInPlace setup.py \ 31 + --replace "'pytest-runner'," "" 28 32 ''; 29 33 30 - nativeBuildInputs = [ 31 - pytest-runner 32 - ]; 33 - 34 34 propagatedBuildInputs = [ 35 + morphys 36 + six 35 37 varint 36 - six 37 - morphys 38 38 ]; 39 39 40 40 nativeCheckInputs = [ 41 41 pytestCheckHook 42 42 ]; 43 43 44 - pythonImportsCheck = [ "multicodec" ]; 44 + pythonImportsCheck = [ 45 + "multicodec" 46 + ]; 45 47 46 48 meta = with lib; { 47 49 description = "Compact self-describing codecs";
+2 -2
pkgs/development/python-modules/pyschlage/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "pyschlage"; 14 - version = "2023.5.0"; 14 + version = "2023.6.0"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.7"; ··· 20 20 owner = "dknowles2"; 21 21 repo = "pyschlage"; 22 22 rev = "refs/tags/${version}"; 23 - hash = "sha256-l9Xi1VffvobSjluParvQjCTsCMWvhSV975j1OVclBWw="; 23 + hash = "sha256-ogYVk0Kvv595IlIa/qdV1lqlnW45IG29PX5EEaMaphw="; 24 24 }; 25 25 26 26 SETUPTOOLS_SCM_PRETEND_VERSION = version;
+1 -3
pkgs/development/python-modules/torch/bin.nix
··· 38 38 39 39 src = fetchurl srcs."${stdenv.system}-${pyVerNoDot}" or unsupported; 40 40 41 - nativeBuildInputs = [ 41 + nativeBuildInputs = lib.optionals stdenv.isLinux [ 42 42 addOpenGLRunpath 43 - patchelf 44 - ] ++ lib.optionals stdenv.isLinux [ 45 43 autoPatchelfHook 46 44 cudaPackages.autoAddOpenGLRunpathHook 47 45 ];
+14 -4
pkgs/development/python-modules/waterfurnace/default.nix
··· 3 3 , click 4 4 , fetchFromGitHub 5 5 , mock 6 - , pytest-runner 7 6 , pytestCheckHook 8 7 , requests 8 + , pythonOlder 9 9 , websocket-client 10 10 }: 11 11 12 12 buildPythonPackage rec { 13 13 pname = "waterfurnace"; 14 14 version = "1.1.0"; 15 + format = "setuptools"; 16 + 17 + disabled = pythonOlder "3.7"; 15 18 16 19 src = fetchFromGitHub { 17 20 owner = "sdague"; 18 21 repo = pname; 19 - rev = "v${version}"; 22 + rev = "refs/tags/v${version}"; 20 23 sha256 = "1ba247fw1fvi7zy31zj2wbjq7fajrbxhp139cl9jj67rfvxfv8xf"; 21 24 }; 22 25 26 + postPatch = '' 27 + substituteInPlace setup.py \ 28 + --replace "'pytest-runner'," "" 29 + ''; 30 + 23 31 propagatedBuildInputs = [ 24 32 click 25 - pytest-runner 26 33 requests 27 34 websocket-client 28 35 ]; ··· 32 39 pytestCheckHook 33 40 ]; 34 41 35 - pythonImportsCheck = [ "waterfurnace" ]; 42 + pythonImportsCheck = [ 43 + "waterfurnace" 44 + ]; 36 45 37 46 meta = with lib; { 38 47 description = "Python interface to waterfurnace geothermal systems"; 39 48 homepage = "https://github.com/sdague/waterfurnace"; 49 + changelog = "https://github.com/sdague/waterfurnace/blob/v${version}/HISTORY.rst"; 40 50 license = with licenses; [ asl20 ]; 41 51 maintainers = with maintainers; [ fab ]; 42 52 };
+18 -7
pkgs/development/tools/hobbes/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, llvm_12, ncurses, readline, zlib, libxml2 }: 2 - 3 - stdenv.mkDerivation { 1 + { lib 2 + , stdenv 3 + , llvmPackages_10 4 + , fetchFromGitHub 5 + , cmake 6 + , llvm_12 7 + , ncurses 8 + , readline 9 + , zlib 10 + , libxml2 11 + , python3 12 + }: 13 + llvmPackages_10.stdenv.mkDerivation { 4 14 pname = "hobbes"; 5 - version = "unstable-2021-04-28"; 15 + version = "unstable-2023-06-03"; 6 16 7 17 src = fetchFromGitHub { 8 - owner = "morgan-stanley"; 18 + owner = "morganstanley"; 9 19 repo = "hobbes"; 10 - rev = "737c7ca63516f6b3dca0e659c3de75d4325472d6"; 11 - sha256 = "0fjsmz1sbrp6464mrb9ha7p615w2l2pdldsc2ayvcrvxfyi1r4gj"; 20 + rev = "88a712b85bc896a4c87e60c12321445f1cdcfd00"; 21 + hash = "sha256-2v0yk35/cLKTjX0Qbc8cjc7Y6bamRSa9GpPvGoxL2Cw="; 12 22 }; 13 23 14 24 # TODO: re-enable Python tests once they work on Python 3 ··· 27 37 readline 28 38 zlib 29 39 libxml2 40 + python3 30 41 ]; 31 42 32 43 doCheck = true;
+40
pkgs/development/tools/xcodes/default.nix
··· 1 + { lib, stdenv, fetchurl, unzip }: 2 + 3 + stdenv.mkDerivation (finalAttrs: { 4 + pname = "xcodes"; 5 + version = "1.3.0"; 6 + 7 + src = fetchurl { 8 + url = "https://github.com/XcodesOrg/xcodes/releases/download/${finalAttrs.version}/xcodes.zip"; 9 + hash = "sha256:0cqb0gfb80xrnm4fipr46kbzqz2kicc13afhdxkbifzm4k83any5"; 10 + }; 11 + 12 + nativeBuildInputs = [ unzip ]; 13 + 14 + unpackPhase = '' 15 + runHook preUnpack 16 + unzip -q $src 17 + runHook postUnpack 18 + ''; 19 + 20 + dontPatch = true; 21 + dontConfigure = true; 22 + dontBuild = true; 23 + 24 + installPhase = '' 25 + runHook preInstall 26 + mkdir -p $out/bin 27 + install -m755 xcodes $out/bin/xcodes 28 + runHook postInstall 29 + ''; 30 + 31 + dontFixup = true; 32 + 33 + meta = with lib; { 34 + description = "Command-line tool to install and switch between multiple versions of Xcode"; 35 + homepage = "https://github.com/XcodesOrg/xcodes"; 36 + license = licenses.mit; 37 + maintainers = with maintainers; [ _0x120581f ]; 38 + platforms = platforms.darwin; 39 + }; 40 + })
-77
pkgs/games/scid-vs-pc/0001-put-fonts-in-out.patch
··· 1 - From 7e99cf4ae3f38406133a4abf962527cd02416f8e Mon Sep 17 00:00:00 2001 2 - From: Sebastian Galkin <paraseba@gmail.com> 3 - Date: Wed, 20 Dec 2017 18:23:03 -0200 4 - Subject: [PATCH] put fonts in $out 5 - 6 - --- 7 - Makefile.conf | 22 ++++------------------ 8 - configure | 12 ------------ 9 - 2 files changed, 4 insertions(+), 30 deletions(-) 10 - 11 - diff --git a/Makefile.conf b/Makefile.conf 12 - index e7f8de9..87f3fff 100644 13 - --- a/Makefile.conf 14 - +++ b/Makefile.conf 15 - @@ -226,19 +226,11 @@ install_scid: all_scid 16 - fi 17 - install -m 755 -d $(SHAREDIR)/bitmaps 18 - cp -r ./bitmaps/* $(SHAREDIR)/bitmaps/ 19 - - @if [ "`id -u`" -eq 0 ]; then \ 20 - - install -m 755 -d $(FONTDIR); \ 21 - - install -m 644 -p fonts/*.ttf $(FONTDIR); \ 22 - - else \ 23 - - install -m 755 -d ~/.fonts; \ 24 - - install -m 644 -p fonts/*.ttf ~/.fonts; \ 25 - - fi 26 - + install -m 755 -d $(FONTDIR); \ 27 - + install -m 644 -p fonts/*.ttf $(FONTDIR); \ 28 - + 29 - @if [ ! -z "`which fc-cache`" ]; then \ 30 - - if [ "`id -u`" -eq 0 ]; then \ 31 - - fc-cache -fv $(FONTDIR); \ 32 - - else \ 33 - - fc-cache -fv ~/.fonts; \ 34 - - fi; \ 35 - + fc-cache -fv $(FONTDIR); \ 36 - else \ 37 - echo "Don't know how to setup truetype fonts (fc-cache not available)."; \ 38 - echo "Please contact your system administrator."; \ 39 - @@ -292,12 +284,6 @@ uninstall: 40 - for f in `ls fonts/*.ttf`; do \ 41 - rm -f ~/.$$f; \ 42 - done; \ 43 - - if [ ! -z "`which fc-cache`" ]; then \ 44 - - fc-cache -fv ~/.fonts; \ 45 - - fi; \ 46 - - if [ "`find ~/.fonts -type d -empty`" = "`ls -d ~/.fonts`" ]; then \ 47 - - rmdir ~/.fonts; \ 48 - - fi; \ 49 - fi 50 - 51 - clean: 52 - diff --git a/configure b/configure 53 - index 4599c77..8b09678 100755 54 - --- a/configure 55 - +++ b/configure 56 - @@ -473,18 +473,6 @@ proc writeMakefile {{type ""}} { 57 - exit 1 58 - } 59 - 60 - - if {[isDarwin]} { 61 - - set var(FONTDIR) /Library/Fonts/ 62 - - } else { 63 - - # Just install fonts in to /usr irrespective of system prefix. /usr/local may not be active 64 - - set prefix /usr 65 - - if {![file isdirectory $prefix/share/fonts]} { 66 - - set var(FONTDIR) "~/.fonts" 67 - - } else { 68 - - set var(FONTDIR) $prefix/share/fonts/truetype/Scid 69 - - } 70 - - } 71 - - 72 - set line [gets $from] 73 - while {1} { 74 - set line [gets $from] 75 - -- 76 - 2.15.1 77 -
+12 -43
pkgs/games/scid-vs-pc/default.nix
··· 1 - { lib, fetchurl, tcl, tk, libX11, zlib, makeWrapper, makeDesktopItem }: 1 + { lib, fetchurl, tcl, tk, libX11, zlib, makeWrapper, which, makeDesktopItem }: 2 2 3 3 tcl.mkTclDerivation rec { 4 4 pname = "scid-vs-pc"; 5 - version = "4.22"; 5 + version = "4.24"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://sourceforge/scidvspc/scid_vs_pc-${version}.tgz"; 9 - sha256 = "sha256-PSHDPrfhJI/DyEVQLo8Ckargqf/iUG5PgvUbO/4WNJM="; 9 + hash = "sha256-x4Ljn1vaXrue16kUofWAH2sDNYC8h3NvzFjffRo0EhA="; 10 10 }; 11 11 12 - nativeBuildInputs = [ makeWrapper ]; 13 - buildInputs = [ tk libX11 zlib ]; 14 - 15 - prePatch = '' 16 - sed -i -e '/^ *set headerPath *{/a ${tcl}/include ${tk}/include' \ 17 - -e '/^ *set libraryPath *{/a ${tcl}/lib ${tk}/lib' \ 18 - -e '/^ *set x11Path *{/a ${libX11}/lib/' \ 19 - configure 20 - 21 - sed -i -e '/^ *set scidShareDir/s|\[file.*|"'"$out/share"'"|' \ 22 - tcl/config.tcl 12 + postPatch = '' 13 + substituteInPlace configure Makefile.conf \ 14 + --replace "~/.fonts" "$out/share/fonts/truetype/Scid" \ 15 + --replace "which fc-cache" "false" 23 16 ''; 24 17 25 - # configureFlags = [ 26 - # "BINDIR=$(out)/bin" 27 - # "SHAREDIR=$(out)/share" 28 - # "FONTDIR=$(out)/fonts" 29 - # ]; 18 + nativeBuildInputs = [ makeWrapper which ]; 19 + buildInputs = [ tk libX11 zlib ]; 30 20 31 - preConfigure = ''configureFlags=" 32 - BINDIR=$out/bin 33 - SHAREDIR=$out/share 34 - FONTDIR=$out/fonts" 35 - ''; 36 - 37 - patches = [ 38 - ./0001-put-fonts-in-out.patch 21 + configureFlags = [ 22 + "BINDIR=${placeholder "out"}/bin" 23 + "SHAREDIR=${placeholder "out"}/share" 39 24 ]; 40 - 41 - hardeningDisable = [ "format" ]; 42 - 43 - dontPatchShebangs = true; 44 - 45 - # TODO: can this use tclWrapperArgs? 46 - postFixup = '' 47 - sed -i -e '1c#!'"$out"'/bin/tcscid' "$out/bin/scidpgn" 48 - sed -i -e '1c#!${tk}/bin/wish' "$out/bin/sc_remote" 49 - sed -i -e '1c#!'"$out"'/bin/tkscid' "$out/bin/scid" 50 - 51 - for cmd in $out/bin/* ; do 52 - wrapProgram "$cmd" \ 53 - --set TK_LIBRARY "${tk}/lib/${tk.libPrefix}" 54 - done 55 - ''; 56 25 57 26 postInstall = '' 58 27 mkdir -p $out/share/applications
+11 -3
pkgs/tools/graphics/pdftoipe/default.nix
··· 14 14 owner = "otfried"; 15 15 repo = "ipe-tools"; 16 16 rev = "v${version}"; 17 - sha256 = "jlrjrjzZQo79CKMySayhCm1dqLh89wOQuXrXa2aqc0k="; 17 + hash = "sha256-jlrjrjzZQo79CKMySayhCm1dqLh89wOQuXrXa2aqc0k="; 18 18 }; 19 19 20 20 patches = [ ··· 22 22 # https://github.com/otfried/ipe-tools/pull/48 23 23 (fetchpatch { 24 24 url = "https://github.com/otfried/ipe-tools/commit/14335180432152ad094300d0afd00d8e390469b2.patch"; 25 - sha256 = "sha256-V3FmwG3bR6io/smxjasFJ5K0/u8RSFfdUX41ClGXhFc="; 25 + hash = "sha256-V3FmwG3bR6io/smxjasFJ5K0/u8RSFfdUX41ClGXhFc="; 26 26 stripLen = 1; 27 - name = "poppler_fix_build.patch"; 27 + name = "poppler_fix_build_48.patch"; 28 + }) 29 + # https://github.com/otfried/ipe-tools/pull/55 30 + (fetchpatch { 31 + url = "https://github.com/otfried/ipe-tools/commit/65586fcd9cc39e482ae5a9abdb6f4932d9bb88c4.patch"; 32 + hash = "sha256-qr1AQyWHz1e2a65m05xSHFnP6oSP6qSmMVekNk2flRc="; 33 + stripLen = 1; 34 + name = "poppler_fix_build_55.patch"; 28 35 }) 29 36 ]; 30 37 ··· 40 47 meta = with lib; { 41 48 description = "A program that tries to convert arbitrary PDF documents to Ipe files"; 42 49 homepage = "https://github.com/otfried/ipe-tools"; 50 + changelog = "https://github.com/otfried/ipe-tools/releases"; 43 51 license = licenses.gpl3Plus; 44 52 maintainers = with maintainers; [ yrd ]; 45 53 };
+32
pkgs/tools/misc/ical2orgpy/default.nix
··· 1 + { lib, python3Packages, ... }: 2 + 3 + python3Packages.buildPythonPackage rec { 4 + pname = "ical2orgpy"; 5 + version = "0.4.0"; 6 + 7 + src = python3Packages.fetchPypi { 8 + inherit pname version; 9 + sha256 = "sha256-7/kWW1oTSJXPJtN02uIDrFdNJ9ExKRUa3tUNA0oJSoc="; 10 + }; 11 + 12 + disabled = python3Packages.pythonOlder "3.9"; 13 + 14 + propagatedBuildInputs = with python3Packages; [ 15 + click 16 + future 17 + icalendar 18 + pytz 19 + tzlocal 20 + recurring-ical-events 21 + ]; 22 + checkInputs = with python3Packages; [ freezegun pytest pyyaml ]; 23 + nativeBuildInputs = [ python3Packages.pbr ]; 24 + 25 + meta = with lib; { 26 + description = "Converting ICAL file into org-mode format."; 27 + homepage = "https://github.com/ical2org-py/ical2org.py"; 28 + license = licenses.gpl3; 29 + maintainers = with maintainers; [ StillerHarpo ]; 30 + }; 31 + 32 + }
+8 -1
pkgs/tools/security/browserpass/default.nix
··· 5 5 , gnupg 6 6 , makeWrapper 7 7 , autoPatchelfHook 8 + , testers 9 + , browserpass 8 10 }: 9 11 10 12 buildGoModule rec { ··· 18 20 sha256 = "sha256-UZzOPRRiCUIG7uSSp9AEPMDN/+4cgyK47RhrI8oUx8U="; 19 21 }; 20 22 21 - nativeBuildInputs = [ makeWrapper autoPatchelfHook ]; 23 + nativeBuildInputs = [ makeWrapper ] ++ lib.optionals stdenv.isLinux [ autoPatchelfHook ]; 22 24 23 25 vendorHash = "sha256-CjuH4ANP2bJDeA+o+1j+obbtk5/NVLet/OFS3Rms4r0="; 24 26 ··· 55 57 mkdir -p $out/lib/mozilla/native-messaging-hosts 56 58 ln -s $out/lib/browserpass/hosts/firefox/*.json $out/lib/mozilla/native-messaging-hosts 57 59 ''; 60 + 61 + passthru.tests.version = testers.testVersion { 62 + package = browserpass; 63 + command = "browserpass --version"; 64 + }; 58 65 59 66 meta = with lib; { 60 67 description = "Browserpass native client app";
+5 -5
pkgs/tools/security/frida-tools/default.nix
··· 1 - { lib, python3 }: 1 + { lib, fetchPypi, python3Packages }: 2 2 3 - python3.pkgs.buildPythonApplication rec { 3 + python3Packages.buildPythonApplication rec { 4 4 pname = "frida-tools"; 5 5 version = "12.1.2"; 6 6 7 - src = python3.pkgs.fetchPypi { 7 + src = fetchPypi { 8 8 inherit pname version; 9 9 hash = "sha256-9SlDyp1fLOzLqu6sxVqY2jwEzQjrnbzfQXIRoyviPJY="; 10 10 }; 11 11 12 - propagatedBuildInputs = with python3.pkgs; [ 12 + propagatedBuildInputs = with python3Packages; [ 13 13 pygments 14 - prompt_toolkit 14 + prompt-toolkit 15 15 colorama 16 16 frida-python 17 17 ];
+9 -4
pkgs/top-level/all-packages.nix
··· 3765 3765 3766 3766 xcodeenv = callPackage ../development/mobile/xcodeenv { }; 3767 3767 3768 + xcodes = callPackage ../development/tools/xcodes { }; 3769 + 3768 3770 gomobile = callPackage ../development/mobile/gomobile { }; 3769 3771 3770 3772 ssh-agents = callPackage ../tools/networking/ssh-agents { }; ··· 31111 31113 31112 31114 svox = callPackage ../applications/audio/svox { }; 31113 31115 31116 + genesys = callPackage ../applications/misc/genesys { }; 31117 + 31114 31118 giada = callPackage ../applications/audio/giada { }; 31115 31119 31116 31120 giara = callPackage ../applications/networking/giara { }; ··· 31666 31670 wmfs = callPackage ../applications/window-managers/wmfs { }; 31667 31671 31668 31672 i810switch = callPackage ../os-specific/linux/i810switch { }; 31673 + 31674 + ical2orgpy = callPackage ../tools/misc/ical2orgpy { }; 31669 31675 31670 31676 icewm = callPackage ../applications/window-managers/icewm { }; 31671 31677 ··· 32943 32949 nwg-bar = callPackage ../applications/misc/nwg-bar { }; 32944 32950 32945 32951 nwg-dock = callPackage ../applications/misc/nwg-dock { }; 32952 + 32953 + nwg-dock-hyprland = callPackage ../applications/misc/nwg-dock-hyprland { }; 32946 32954 32947 32955 nwg-drawer = callPackage ../applications/misc/nwg-drawer { }; 32948 32956 ··· 37102 37110 37103 37111 scid = callPackage ../games/scid { }; 37104 37112 37105 - scid-vs-pc = callPackage ../games/scid-vs-pc { 37106 - tcl = tcl-8_6; 37107 - tk = tk-8_6; 37108 - }; 37113 + scid-vs-pc = callPackage ../games/scid-vs-pc { }; 37109 37114 37110 37115 scummvm = callPackage ../games/scummvm { 37111 37116 stdenv = if (stdenv.isDarwin && stdenv.isAarch64) then llvmPackages_14.stdenv else stdenv;