Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub 7af142cf 4ea6d023

+1043 -429
+2 -1
nixos/modules/config/shells-environment.nix
··· 214 '' 215 # Create the required /bin/sh symlink; otherwise lots of things 216 # (notably the system() function) won't work. 217 - mkdir -m 0755 -p /bin 218 ln -sfn "${cfg.binsh}" /bin/.sh.tmp 219 mv /bin/.sh.tmp /bin/sh # atomically replace /bin/sh 220 '';
··· 214 '' 215 # Create the required /bin/sh symlink; otherwise lots of things 216 # (notably the system() function) won't work. 217 + mkdir -p /bin 218 + chmod 0755 /bin 219 ln -sfn "${cfg.binsh}" /bin/.sh.tmp 220 mv /bin/.sh.tmp /bin/sh # atomically replace /bin/sh 221 '';
+1
nixos/modules/programs/ssh.nix
··· 12 '' 13 #! ${pkgs.runtimeShell} -e 14 export DISPLAY="$(systemctl --user show-environment | ${pkgs.gnused}/bin/sed 's/^DISPLAY=\(.*\)/\1/; t; d')" 15 export WAYLAND_DISPLAY="$(systemctl --user show-environment | ${pkgs.gnused}/bin/sed 's/^WAYLAND_DISPLAY=\(.*\)/\1/; t; d')" 16 exec ${cfg.askPassword} "$@" 17 '';
··· 12 '' 13 #! ${pkgs.runtimeShell} -e 14 export DISPLAY="$(systemctl --user show-environment | ${pkgs.gnused}/bin/sed 's/^DISPLAY=\(.*\)/\1/; t; d')" 15 + export XAUTHORITY="$(systemctl --user show-environment | ${pkgs.gnused}/bin/sed 's/^XAUTHORITY=\(.*\)/\1/; t; d')" 16 export WAYLAND_DISPLAY="$(systemctl --user show-environment | ${pkgs.gnused}/bin/sed 's/^WAYLAND_DISPLAY=\(.*\)/\1/; t; d')" 17 exec ${cfg.askPassword} "$@" 18 '';
+1 -1
nixos/modules/services/misc/moonraker.nix
··· 103 104 config = mkIf cfg.enable { 105 warnings = [] 106 - ++ optional (cfg.settings ? update_manager) 107 ''Enabling update_manager is not supported on NixOS and will lead to non-removable warnings in some clients.'' 108 ++ optional (cfg.configDir != null) 109 ''
··· 103 104 config = mkIf cfg.enable { 105 warnings = [] 106 + ++ optional (cfg.settings.update_manager.enable_system_updates or false) 107 ''Enabling update_manager is not supported on NixOS and will lead to non-removable warnings in some clients.'' 108 ++ optional (cfg.configDir != null) 109 ''
+2
nixos/modules/services/security/clamav.nix
··· 196 systemd.services.clamav-freshclam = mkIf cfg.updater.enable { 197 description = "ClamAV virus database updater (freshclam)"; 198 restartTriggers = [ freshclamConfigFile ]; 199 after = [ "network-online.target" ]; 200 201 serviceConfig = { ··· 243 systemd.services.clamav-fangfrisch = mkIf cfg.fangfrisch.enable { 244 description = "ClamAV virus database updater (fangfrisch)"; 245 restartTriggers = [ fangfrischConfigFile ]; 246 after = [ "network-online.target" "clamav-fangfrisch-init.service" ]; 247 248 serviceConfig = {
··· 196 systemd.services.clamav-freshclam = mkIf cfg.updater.enable { 197 description = "ClamAV virus database updater (freshclam)"; 198 restartTriggers = [ freshclamConfigFile ]; 199 + requires = [ "network-online.target" ]; 200 after = [ "network-online.target" ]; 201 202 serviceConfig = { ··· 244 systemd.services.clamav-fangfrisch = mkIf cfg.fangfrisch.enable { 245 description = "ClamAV virus database updater (fangfrisch)"; 246 restartTriggers = [ fangfrischConfigFile ]; 247 + requires = [ "network-online.target" ]; 248 after = [ "network-online.target" "clamav-fangfrisch-init.service" ]; 249 250 serviceConfig = {
+2 -1
nixos/modules/services/web-servers/ttyd.nix
··· 180 # Runs login which needs to be run as root 181 # login: Cannot possibly work without effective root 182 User = "root"; 183 }; 184 185 script = if cfg.passwordFile != null then '' 186 - PASSWORD=$(cat ${escapeShellArg cfg.passwordFile}) 187 ${pkgs.ttyd}/bin/ttyd ${lib.escapeShellArgs args} \ 188 --credential ${escapeShellArg cfg.username}:"$PASSWORD" \ 189 ${pkgs.shadow}/bin/login
··· 180 # Runs login which needs to be run as root 181 # login: Cannot possibly work without effective root 182 User = "root"; 183 + LoadCredential = lib.optionalString (cfg.passwordFile != null) "TTYD_PASSWORD_FILE:${cfg.passwordFile}"; 184 }; 185 186 script = if cfg.passwordFile != null then '' 187 + PASSWORD=$(cat "$CREDENTIALS_DIRECTORY/TTYD_PASSWORD_FILE") 188 ${pkgs.ttyd}/bin/ttyd ${lib.escapeShellArgs args} \ 189 --credential ${escapeShellArg cfg.username}:"$PASSWORD" \ 190 ${pkgs.shadow}/bin/login
+1
nixos/tests/all-tests.nix
··· 906 trilium-server = handleTestOn ["x86_64-linux"] ./trilium-server.nix {}; 907 tsja = handleTest ./tsja.nix {}; 908 tsm-client-gui = handleTest ./tsm-client-gui.nix {}; 909 txredisapi = handleTest ./txredisapi.nix {}; 910 tuptime = handleTest ./tuptime.nix {}; 911 turbovnc-headless-server = handleTest ./turbovnc-headless-server.nix {};
··· 906 trilium-server = handleTestOn ["x86_64-linux"] ./trilium-server.nix {}; 907 tsja = handleTest ./tsja.nix {}; 908 tsm-client-gui = handleTest ./tsm-client-gui.nix {}; 909 + ttyd = handleTest ./web-servers/ttyd.nix {}; 910 txredisapi = handleTest ./txredisapi.nix {}; 911 tuptime = handleTest ./tuptime.nix {}; 912 turbovnc-headless-server = handleTest ./turbovnc-headless-server.nix {};
+3 -3
nixos/tests/elk.nix
··· 1 # To run the test on the unfree ELK use the following command: 2 # cd path/to/nixpkgs 3 - # NIXPKGS_ALLOW_UNFREE=1 nix-build -A nixosTests.elk.unfree.ELK-6 4 5 { system ? builtins.currentSystem, 6 config ? {}, ··· 120 }; 121 122 elasticsearch-curator = { 123 - enable = true; 124 actionYAML = '' 125 --- 126 actions: ··· 246 one.wait_until_succeeds( 247 expect_hits("SuperdupercalifragilisticexpialidociousIndeed") 248 ) 249 - '' + '' 250 with subtest("Elasticsearch-curator works"): 251 one.systemctl("stop logstash") 252 one.systemctl("start elasticsearch-curator")
··· 1 # To run the test on the unfree ELK use the following command: 2 # cd path/to/nixpkgs 3 + # NIXPKGS_ALLOW_UNFREE=1 nix-build -A nixosTests.elk.unfree.ELK-7 4 5 { system ? builtins.currentSystem, 6 config ? {}, ··· 120 }; 121 122 elasticsearch-curator = { 123 + enable = elk ? elasticsearch-curator; 124 actionYAML = '' 125 --- 126 actions: ··· 246 one.wait_until_succeeds( 247 expect_hits("SuperdupercalifragilisticexpialidociousIndeed") 248 ) 249 + '' + lib.optionalString (elk ? elasticsearch-curator) '' 250 with subtest("Elasticsearch-curator works"): 251 one.systemctl("stop logstash") 252 one.systemctl("start elasticsearch-curator")
+102 -6
nixos/tests/web-servers/stargazer.nix
··· 1 { pkgs, lib, ... }: 2 { 3 name = "stargazer"; 4 meta = with lib.maintainers; { maintainers = [ gaykitty ]; }; ··· 7 geminiserver = { pkgs, ... }: { 8 services.stargazer = { 9 enable = true; 10 routes = [ 11 { 12 route = "localhost"; 13 - root = toString (pkgs.writeTextDir "index.gmi" '' 14 - # Hello NixOS! 15 - ''); 16 } 17 ]; 18 }; 19 }; 20 }; 21 22 testScript = { nodes, ... }: '' 23 geminiserver.wait_for_unit("stargazer") 24 geminiserver.wait_for_open_port(1965) 25 26 - with subtest("check is serving over gemini"): 27 - response = geminiserver.succeed("${pkgs.gemget}/bin/gemget --header -o - gemini://localhost:1965") 28 print(response) 29 - assert "Hello NixOS!" in response 30 ''; 31 }
··· 1 { pkgs, lib, ... }: 2 + let 3 + test_script = pkgs.stdenv.mkDerivation rec { 4 + pname = "stargazer-test-script"; 5 + inherit (pkgs.stargazer) version src; 6 + buildInputs = with pkgs; [ (python3.withPackages (ps: with ps; [ cryptography ])) ]; 7 + dontBuild = true; 8 + doCheck = false; 9 + installPhase = '' 10 + mkdir -p $out/bin 11 + cp scripts/gemini-diagnostics $out/bin/test 12 + ''; 13 + }; 14 + test_env = pkgs.stdenv.mkDerivation rec { 15 + pname = "stargazer-test-env"; 16 + inherit (pkgs.stargazer) version src; 17 + buildPhase = '' 18 + cc test_data/cgi-bin/loop.c -o test_data/cgi-bin/loop 19 + ''; 20 + doCheck = false; 21 + installPhase = '' 22 + mkdir -p $out 23 + cp -r * $out/ 24 + ''; 25 + }; 26 + scgi_server = pkgs.stdenv.mkDerivation rec { 27 + pname = "stargazer-test-scgi-server"; 28 + inherit (pkgs.stargazer) version src; 29 + buildInputs = with pkgs; [ python3 ]; 30 + dontConfigure = true; 31 + dontBuild = true; 32 + doCheck = false; 33 + installPhase = '' 34 + mkdir -p $out/bin 35 + cp scripts/scgi-server $out/bin/scgi-server 36 + ''; 37 + }; 38 + in 39 { 40 name = "stargazer"; 41 meta = with lib.maintainers; { maintainers = [ gaykitty ]; }; ··· 44 geminiserver = { pkgs, ... }: { 45 services.stargazer = { 46 enable = true; 47 + connectionLogging = false; 48 + requestTimeout = 1; 49 routes = [ 50 { 51 route = "localhost"; 52 + root = "${test_env}/test_data/test_site"; 53 + } 54 + { 55 + route = "localhost=/en.gmi"; 56 + root = "${test_env}/test_data/test_site"; 57 + lang = "en"; 58 + charset = "ascii"; 59 + } 60 + { 61 + route = "localhost~/(.*).gemini"; 62 + root = "${test_env}/test_data/test_site"; 63 + rewrite = "\\1.gmi"; 64 + lang = "en"; 65 + charset = "ascii"; 66 + } 67 + { 68 + route = "localhost=/plain.txt"; 69 + root = "${test_env}/test_data/test_site"; 70 + lang = "en"; 71 + charset = "ascii"; 72 + cert-path = "/var/lib/gemini/certs/localhost.crt"; 73 + key-path = "/var/lib/gemini/certs/localhost.key"; 74 + } 75 + { 76 + route = "localhost:/cgi-bin"; 77 + root = "${test_env}/test_data"; 78 + cgi = true; 79 + cgi-timeout = 5; 80 + } 81 + { 82 + route = "localhost:/scgi"; 83 + scgi = true; 84 + scgi-address = "127.0.0.1:1099"; 85 + } 86 + { 87 + route = "localhost=/root"; 88 + redirect = ".."; 89 + permanent = true; 90 + } 91 + { 92 + route = "localhost=/priv.gmi"; 93 + root = "${test_env}/test_data/test_site"; 94 + client-cert = "${test_env}/test_data/client_cert/good.crt"; 95 + } 96 + { 97 + route = "example.com~(.*)"; 98 + redirect = "gemini://localhost"; 99 + rewrite = "\\1"; 100 + } 101 + { 102 + route = "localhost:/no-exist"; 103 + root = "./does_not_exist"; 104 } 105 ]; 106 }; 107 + systemd.services.scgi_server = { 108 + after = [ "network.target" ]; 109 + wantedBy = [ "multi-user.target" ]; 110 + serviceConfig = { 111 + ExecStart = "${scgi_server}/bin/scgi-server"; 112 + }; 113 + }; 114 }; 115 }; 116 117 testScript = { nodes, ... }: '' 118 + geminiserver.wait_for_unit("scgi_server") 119 + geminiserver.wait_for_open_port(1099) 120 geminiserver.wait_for_unit("stargazer") 121 geminiserver.wait_for_open_port(1965) 122 123 + with subtest("stargazer test suite"): 124 + response = geminiserver.succeed("sh -c 'cd ${test_env}; ${test_script}/bin/test'") 125 print(response) 126 ''; 127 }
+19
nixos/tests/web-servers/ttyd.nix
···
··· 1 + import ../make-test-python.nix ({ lib, pkgs, ... }: { 2 + name = "ttyd"; 3 + meta.maintainers = with lib.maintainers; [ stunkymonkey ]; 4 + 5 + nodes.machine = { pkgs, ... }: { 6 + services.ttyd = { 7 + enable = true; 8 + username = "foo"; 9 + passwordFile = pkgs.writeText "password" "bar"; 10 + }; 11 + }; 12 + 13 + testScript = '' 14 + machine.wait_for_unit("ttyd.service") 15 + machine.wait_for_open_port(7681) 16 + response = machine.succeed("curl -vvv -u foo:bar -s -H 'Host: ttyd' http://127.0.0.1:7681/") 17 + assert '<title>ttyd - Terminal</title>' in response, "Page didn't load successfully" 18 + ''; 19 + })
+4
pkgs/applications/audio/mmlgui/default.nix
··· 39 # Don't force building tests 40 substituteInPlace Makefile \ 41 --replace 'all: $(MMLGUI_BIN) test' 'all: $(MMLGUI_BIN)' 42 ''; 43 44 strictDeps = true;
··· 39 # Don't force building tests 40 substituteInPlace Makefile \ 41 --replace 'all: $(MMLGUI_BIN) test' 'all: $(MMLGUI_BIN)' 42 + 43 + # Breaking change in libvgm 44 + substituteInPlace src/emu_player.cpp \ 45 + --replace 'Resmpl_SetVals(&resmpl, 0xff' 'Resmpl_SetVals(&resmpl, RSMODE_LINEAR' 46 ''; 47 48 strictDeps = true;
+4 -4
pkgs/applications/audio/vgmplay-libvgm/default.nix
··· 9 , inih 10 }: 11 12 - stdenv.mkDerivation rec { 13 pname = "vgmplay-libvgm"; 14 - version = "unstable-2023-04-12"; 15 16 src = fetchFromGitHub { 17 owner = "ValleyBell"; 18 repo = "vgmplay-libvgm"; 19 - rev = "813abab549e99bb7e936acbfa1199cf435c237c6"; 20 - sha256 = "sdQO+xk3a7AFXo3jpbcuNBkd19PjKoBMRhr4IK06oHg="; 21 }; 22 23 nativeBuildInputs = [ cmake pkg-config ];
··· 9 , inih 10 }: 11 12 + stdenv.mkDerivation { 13 pname = "vgmplay-libvgm"; 14 + version = "unstable-2024-01-03"; 15 16 src = fetchFromGitHub { 17 owner = "ValleyBell"; 18 repo = "vgmplay-libvgm"; 19 + rev = "7db1c63c056d79a8f9f533aa7eb82b7fdf7d456c"; 20 + hash = "sha256-GjBwu8Y/lOI8SLO4SrAWcntQIwKe/hXuh9tKbOPHQiA="; 21 }; 22 23 nativeBuildInputs = [ cmake pkg-config ];
+3 -3
pkgs/applications/misc/rsclock/default.nix
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "rsClock"; 5 - version = "0.1.10"; 6 7 src = fetchFromGitHub { 8 owner = "valebes"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-bxka9qTow5aL8ErYQudB+WRi2HecYn4/M3lBSxjd5/U="; 12 }; 13 14 - cargoHash = "sha256-ESBeXLBkDAmuQkazcXYdo5VnMCTaxfZmzKP+d5V4lEo="; 15 16 meta = with lib; { 17 description = "A simple terminal clock written in Rust";
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "rsClock"; 5 + version = "0.1.11"; 6 7 src = fetchFromGitHub { 8 owner = "valebes"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-z+WGi1Jl+YkdAc4Nu818vi+OXg54GfAM6PbWYkgptpo="; 12 }; 13 14 + cargoHash = "sha256-/uAxIV7eroJNGsLl4T/6RskoTIWKu5Cgmv48eMkDZQw="; 15 16 meta = with lib; { 17 description = "A simple terminal clock written in Rust";
+2 -2
pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/default.nix
··· 64 in 65 stdenv.mkDerivation rec { 66 pname = "telegram-desktop"; 67 - version = "4.14.8"; 68 69 src = fetchFromGitHub { 70 owner = "telegramdesktop"; 71 repo = "tdesktop"; 72 rev = "v${version}"; 73 fetchSubmodules = true; 74 - hash = "sha256-ACpY8SsbuZRCF3arBtEIYjdQRy/2xkP1/g5caxmmSo4="; 75 }; 76 77 patches = [
··· 64 in 65 stdenv.mkDerivation rec { 66 pname = "telegram-desktop"; 67 + version = "4.14.9"; 68 69 src = fetchFromGitHub { 70 owner = "telegramdesktop"; 71 repo = "tdesktop"; 72 rev = "v${version}"; 73 fetchSubmodules = true; 74 + hash = "sha256-VqLCkGav6qtam9qk2MsjCdyVSj3630FGQg50Mv0OBNE="; 75 }; 76 77 patches = [
+30 -5
pkgs/applications/networking/instant-messengers/zulip-term/default.nix
··· 5 , libnotify 6 }: 7 8 - python3.pkgs.buildPythonApplication rec { 9 pname = "zulip-term"; 10 version = "0.7.0"; 11 12 - # no tests on PyPI 13 src = fetchFromGitHub { 14 owner = "zulip"; 15 repo = "zulip-terminal"; 16 - rev = version; 17 - sha256 = "sha256-ZouUU4p1FSGMxPuzDo5P971R+rDXpBdJn2MqvkJO+Fw="; 18 }; 19 20 patches = [ 21 ./pytest-executable-name.patch 22 ]; 23 24 - propagatedBuildInputs = with python3.pkgs; [ 25 beautifulsoup4 26 lxml 27 pygments ··· 50 meta = with lib; { 51 description = "Zulip's official terminal client"; 52 homepage = "https://github.com/zulip/zulip-terminal"; 53 license = licenses.asl20; 54 maintainers = with maintainers; [ dotlambda ]; 55 };
··· 5 , libnotify 6 }: 7 8 + let 9 + py = python3.override { 10 + packageOverrides = self: super: { 11 + 12 + # Requires "urwid~=2.1.2", otherwise some tests are failing 13 + urwid = super.urwid.overridePythonAttrs (oldAttrs: rec { 14 + version = "2.1.2"; 15 + src = fetchFromGitHub { 16 + owner = "urwid"; 17 + repo = "urwid"; 18 + rev = "refs/tags/${version}"; 19 + hash = "sha256-oPb2h/+gaqkZTXIiESjExMfBNnOzDvoMkXvkZ/+KVwo="; 20 + }; 21 + doCheck = false; 22 + }); 23 + }; 24 + }; 25 + in 26 + with py.pkgs; 27 + 28 + buildPythonApplication rec { 29 pname = "zulip-term"; 30 version = "0.7.0"; 31 + pyproject = true; 32 33 src = fetchFromGitHub { 34 owner = "zulip"; 35 repo = "zulip-terminal"; 36 + rev = "refs/tags/${version}"; 37 + hash = "sha256-ZouUU4p1FSGMxPuzDo5P971R+rDXpBdJn2MqvkJO+Fw="; 38 }; 39 40 patches = [ 41 ./pytest-executable-name.patch 42 ]; 43 44 + nativeBuildInputs = with py.pkgs; [ 45 + setuptools 46 + ]; 47 + 48 + propagatedBuildInputs = with py.pkgs; [ 49 beautifulsoup4 50 lxml 51 pygments ··· 74 meta = with lib; { 75 description = "Zulip's official terminal client"; 76 homepage = "https://github.com/zulip/zulip-terminal"; 77 + changelog = "https://github.com/zulip/zulip-terminal/releases/tag/${version}"; 78 license = licenses.asl20; 79 maintainers = with maintainers; [ dotlambda ]; 80 };
+2 -2
pkgs/applications/networking/mailreaders/thunderbird/packages.nix
··· 44 45 thunderbird-115 = (buildMozillaMach rec { 46 pname = "thunderbird"; 47 - version = "115.6.0"; 48 application = "comm/mail"; 49 applicationName = "Mozilla Thunderbird"; 50 binaryName = pname; 51 src = fetchurl { 52 url = "mirror://mozilla/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.xz"; 53 - sha512 = "2484a99a62fc960b7926b1daa6055e14b1f9e1006ea45522d16131071b33003d4f7ef95911fd2ceb3e941f9d251c66d917013d6a5ecd717d2b1c6d33944f2e01"; 54 }; 55 extraPatches = [ 56 # The file to be patched is different from firefox's `no-buildconfig-ffx90.patch`.
··· 44 45 thunderbird-115 = (buildMozillaMach rec { 46 pname = "thunderbird"; 47 + version = "115.6.1"; 48 application = "comm/mail"; 49 applicationName = "Mozilla Thunderbird"; 50 binaryName = pname; 51 src = fetchurl { 52 url = "mirror://mozilla/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.xz"; 53 + sha512 = "f2efaff8b209234b202671b5322fb14a367b955e28c4b24b139af091b838186126e3d387ca21e57ed089629af876e86b38588789b1ef3db14f4f8703095467b3"; 54 }; 55 extraPatches = [ 56 # The file to be patched is different from firefox's `no-buildconfig-ffx90.patch`.
+2 -2
pkgs/applications/networking/remote/freerdp/default.nix
··· 76 in 77 stdenv.mkDerivation rec { 78 pname = "freerdp"; 79 - version = "2.11.2"; 80 81 src = fetchFromGitHub { 82 owner = "FreeRDP"; 83 repo = "FreeRDP"; 84 rev = version; 85 - sha256 = "sha256-buInsfjzpY4EF7bSojy42YNXssbNriSQGYBFE/DUJ7A="; 86 }; 87 88 postPatch = ''
··· 76 in 77 stdenv.mkDerivation rec { 78 pname = "freerdp"; 79 + version = "2.11.5"; 80 81 src = fetchFromGitHub { 82 owner = "FreeRDP"; 83 repo = "FreeRDP"; 84 rev = version; 85 + hash = "sha256-WyYBIiIQNDHydJqU3jWNItJU2/sYnRpGHCXE9Xhom5M="; 86 }; 87 88 postPatch = ''
+19 -7
pkgs/applications/science/misc/cwltool/default.nix
··· 7 8 python3.pkgs.buildPythonApplication rec { 9 pname = "cwltool"; 10 - version = "3.1.20230213100550"; 11 - format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "common-workflow-language"; 15 - repo = pname; 16 rev = "refs/tags/${version}"; 17 - hash = "sha256-BtHkIVadcccnYYX8lRqiCzO+/qFeBaZfdUuu6qrjysk="; 18 }; 19 20 postPatch = '' 21 substituteInPlace setup.py \ 22 - --replace "ruamel.yaml >= 0.15, < 0.17.22" "ruamel.yaml" \ 23 --replace "prov == 1.5.1" "prov" \ 24 - --replace "setup_requires=PYTEST_RUNNER," "" 25 ''; 26 27 nativeBuildInputs = [ 28 git 29 - ]; 30 31 propagatedBuildInputs = with python3.pkgs; [ 32 argcomplete 33 bagit 34 coloredlogs 35 cwl-utils 36 mypy-extensions 37 prov 38 psutil ··· 42 ruamel-yaml 43 schema-salad 44 shellescape 45 typing-extensions 46 ]; 47
··· 7 8 python3.pkgs.buildPythonApplication rec { 9 pname = "cwltool"; 10 + version = "3.1.20240112164112"; 11 + pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "common-workflow-language"; 15 + repo = "cwltool"; 16 rev = "refs/tags/${version}"; 17 + hash = "sha256-Y0DORypXlTDv04qh796oXPSTxCXGb7rLQ8Su+/As7Lo="; 18 }; 19 20 postPatch = '' 21 substituteInPlace setup.py \ 22 + --replace "ruamel.yaml >= 0.16, < 0.19" "ruamel.yaml" \ 23 --replace "prov == 1.5.1" "prov" \ 24 + --replace '"schema-salad >= 8.4.20230426093816, < 9",' "" \ 25 + --replace "PYTEST_RUNNER + " "" 26 + substituteInPlace pyproject.toml \ 27 + --replace "mypy==1.8.0" "mypy" \ 28 + --replace "ruamel.yaml>=0.16.0,<0.18" "ruamel.yaml" 29 ''; 30 31 nativeBuildInputs = [ 32 git 33 + ] ++ (with python3.pkgs; [ 34 + setuptools 35 + setuptools-scm 36 + ]); 37 38 propagatedBuildInputs = with python3.pkgs; [ 39 argcomplete 40 bagit 41 coloredlogs 42 cwl-utils 43 + mypy 44 mypy-extensions 45 prov 46 psutil ··· 50 ruamel-yaml 51 schema-salad 52 shellescape 53 + spython 54 + toml 55 + types-psutil 56 + types-requests 57 typing-extensions 58 ]; 59
+5 -4
pkgs/applications/science/robotics/mujoco/default.nix
··· 129 130 in stdenv.mkDerivation rec { 131 pname = "mujoco"; 132 - version = "3.1.0"; 133 134 # Bumping version? Make sure to look though the MuJoCo's commit 135 # history for bumped dependency pins! 136 src = fetchFromGitHub { 137 owner = "google-deepmind"; 138 - repo = pname; 139 - rev = version; 140 - hash = "sha256-a8h30psoAlj9dI4j8IfY3WzWjY4MrRosGbvgt79s1BQ="; 141 }; 142 143 patches = [ ./mujoco-system-deps-dont-fetch.patch ]; ··· 180 meta = with lib; { 181 description = "Multi-Joint dynamics with Contact. A general purpose physics simulator."; 182 homepage = "https://mujoco.org/"; 183 license = licenses.asl20; 184 maintainers = with maintainers; [ samuela tmplt ]; 185 };
··· 129 130 in stdenv.mkDerivation rec { 131 pname = "mujoco"; 132 + version = "3.1.1"; 133 134 # Bumping version? Make sure to look though the MuJoCo's commit 135 # history for bumped dependency pins! 136 src = fetchFromGitHub { 137 owner = "google-deepmind"; 138 + repo = "mujoco"; 139 + rev = "refs/tags/${version}"; 140 + hash = "sha256-+2nt7G8j6Pi60cfMBPYWPGwD8wpxDOSylenm0oCitzM="; 141 }; 142 143 patches = [ ./mujoco-system-deps-dont-fetch.patch ]; ··· 180 meta = with lib; { 181 description = "Multi-Joint dynamics with Contact. A general purpose physics simulator."; 182 homepage = "https://mujoco.org/"; 183 + changelog = "https://github.com/google-deepmind/mujoco/releases/tag/${version}"; 184 license = licenses.asl20; 185 maintainers = with maintainers; [ samuela tmplt ]; 186 };
+2 -2
pkgs/applications/virtualization/docker-slim/default.nix
··· 2 3 buildGoModule rec { 4 pname = "docker-slim"; 5 - version = "1.40.9"; 6 7 src = fetchFromGitHub { 8 owner = "slimtoolkit"; 9 repo = "slim"; 10 rev = version; 11 - hash = "sha256-tVGD5DbrnAiifCYEjI8l8Zsij2qAUkW5yxllr//6510="; 12 }; 13 14 vendorHash = null;
··· 2 3 buildGoModule rec { 4 pname = "docker-slim"; 5 + version = "1.40.10"; 6 7 src = fetchFromGitHub { 8 owner = "slimtoolkit"; 9 repo = "slim"; 10 rev = version; 11 + hash = "sha256-NpQyIOR8FkOgPHi3UwBAEpouJF/eaSAWD2zQ5dj+gAg="; 12 }; 13 14 vendorHash = null;
+2 -2
pkgs/applications/virtualization/podman-tui/default.nix
··· 2 3 buildGoModule rec { 4 pname = "podman-tui"; 5 - version = "0.15.0"; 6 7 src = fetchFromGitHub { 8 owner = "containers"; 9 repo = "podman-tui"; 10 rev = "v${version}"; 11 - hash = "sha256-DXodgpa/oWDBlJYTXcJb8cBkG1DCjFv8vKEzLhu0pN4="; 12 }; 13 14 vendorHash = null;
··· 2 3 buildGoModule rec { 4 pname = "podman-tui"; 5 + version = "0.16.0"; 6 7 src = fetchFromGitHub { 8 owner = "containers"; 9 repo = "podman-tui"; 10 rev = "v${version}"; 11 + hash = "sha256-Ndy7B0T2RgdkBA+nTYvAJ2RnIH48bUu9MdUDAVQUa6s="; 12 }; 13 14 vendorHash = null;
+7 -7
pkgs/applications/window-managers/picom/default.nix
··· 12 , libxcb 13 , libxdg_basedir 14 , libXext 15 - , libXinerama 16 , libxml2 17 , libxslt 18 , makeWrapper 19 , meson 20 , ninja 21 - , pcre 22 , pixman 23 , pkg-config 24 , stdenv 25 , uthash 26 , xcbutilimage 27 , xcbutilrenderutil 28 , xorgproto ··· 32 33 stdenv.mkDerivation (finalAttrs: { 34 pname = "picom"; 35 - version = "10.2"; 36 37 src = fetchFromGitHub { 38 owner = "yshui"; 39 repo = "picom"; 40 rev = "v${finalAttrs.version}"; 41 - hash = "sha256-C+icJXTkE+XMaU7N6JupsP8xhmRVggX9hY1P7za0pO0="; 42 fetchSubmodules = true; 43 }; 44 ··· 63 libxcb 64 libxdg_basedir 65 libXext 66 - libXinerama 67 libxml2 68 libxslt 69 - pcre 70 pixman 71 xcbutilimage 72 xcbutilrenderutil 73 xorgproto ··· 111 ''; 112 license = licenses.mit; 113 homepage = "https://github.com/yshui/picom"; 114 - maintainers = with maintainers; [ ertes twey thiagokokada ]; 115 platforms = platforms.linux; 116 mainProgram = "picom"; 117 };
··· 12 , libxcb 13 , libxdg_basedir 14 , libXext 15 , libxml2 16 , libxslt 17 , makeWrapper 18 , meson 19 , ninja 20 + , pcre2 21 , pixman 22 , pkg-config 23 , stdenv 24 , uthash 25 + , xcbutil 26 , xcbutilimage 27 , xcbutilrenderutil 28 , xorgproto ··· 32 33 stdenv.mkDerivation (finalAttrs: { 34 pname = "picom"; 35 + version = "11"; 36 37 src = fetchFromGitHub { 38 owner = "yshui"; 39 repo = "picom"; 40 rev = "v${finalAttrs.version}"; 41 + hash = "sha256-KIblpEEW33ZxxTYuQ/lbUGEJcVdmSWdNOrVCvhOY/OU="; 42 fetchSubmodules = true; 43 }; 44 ··· 63 libxcb 64 libxdg_basedir 65 libXext 66 libxml2 67 libxslt 68 + pcre2 69 pixman 70 + xcbutil 71 xcbutilimage 72 xcbutilrenderutil 73 xorgproto ··· 111 ''; 112 license = licenses.mit; 113 homepage = "https://github.com/yshui/picom"; 114 + maintainers = with maintainers; [ ertes gepbird twey thiagokokada ]; 115 platforms = platforms.linux; 116 mainProgram = "picom"; 117 };
+2 -2
pkgs/applications/window-managers/picom/picom-allusive.nix
··· 1 - { picom, lib, fetchFromGitHub, installShellFiles }: 2 3 picom.overrideAttrs (oldAttrs: rec { 4 pname = "picom-allusive"; ··· 11 hash = "sha256-yM4TJjoVs+i33m/u/oWlx1TDKJrgwlfiGu72DOL/tl8="; 12 }; 13 14 - nativeBuildInputs = [ installShellFiles ] ++ oldAttrs.nativeBuildInputs; 15 16 postInstall = '' 17 installManPage $src/man/picom.1.gz
··· 1 + { picom, lib, fetchFromGitHub, installShellFiles, pcre }: 2 3 picom.overrideAttrs (oldAttrs: rec { 4 pname = "picom-allusive"; ··· 11 hash = "sha256-yM4TJjoVs+i33m/u/oWlx1TDKJrgwlfiGu72DOL/tl8="; 12 }; 13 14 + nativeBuildInputs = [ installShellFiles pcre ] ++ oldAttrs.nativeBuildInputs; 15 16 postInstall = '' 17 installManPage $src/man/picom.1.gz
+3 -1
pkgs/applications/window-managers/picom/picom-jonaburg.nix
··· 1 - { picom, lib, fetchFromGitHub }: 2 3 picom.overrideAttrs (oldAttrs: rec { 4 pname = "picom-jonaburg"; ··· 9 rev = "e3c19cd7d1108d114552267f302548c113278d45"; 10 sha256 = "sha256-4voCAYd0fzJHQjJo4x3RoWz5l3JJbRvgIXn1Kg6nz6Y="; 11 }; 12 13 meta = with lib; { 14 description = "A fork of picom featuring animations and improved rounded corners.";
··· 1 + { picom, lib, fetchFromGitHub, pcre }: 2 3 picom.overrideAttrs (oldAttrs: rec { 4 pname = "picom-jonaburg"; ··· 9 rev = "e3c19cd7d1108d114552267f302548c113278d45"; 10 sha256 = "sha256-4voCAYd0fzJHQjJo4x3RoWz5l3JJbRvgIXn1Kg6nz6Y="; 11 }; 12 + 13 + nativeBuildInputs = [ pcre ] ++ oldAttrs.nativeBuildInputs; 14 15 meta = with lib; { 16 description = "A fork of picom featuring animations and improved rounded corners.";
+3 -3
pkgs/by-name/ki/kikit/default.nix
··· 23 in 24 buildPythonApplication rec { 25 pname = "kikit"; 26 - version = "1.3.0"; 27 format = "setuptools"; 28 29 disabled = pythonOlder "3.7"; ··· 31 src = fetchFromGitHub { 32 owner = "yaqwsx"; 33 repo = "KiKit"; 34 - rev = "v${version}"; 35 - hash = "sha256-kDTPk/R3eZtm4DjoUV4tSQzjGQ9k8MKQedX4oUXYzeo="; 36 }; 37 38 propagatedBuildInputs = [
··· 23 in 24 buildPythonApplication rec { 25 pname = "kikit"; 26 + version = "1.4.0"; 27 format = "setuptools"; 28 29 disabled = pythonOlder "3.7"; ··· 31 src = fetchFromGitHub { 32 owner = "yaqwsx"; 33 repo = "KiKit"; 34 + rev = "refs/tags/v${version}"; 35 + hash = "sha256-88/1bL3MtawR/8P8U1jHatMbq+JxF1qb+plH3rYh1qU="; 36 }; 37 38 propagatedBuildInputs = [
+44
pkgs/by-name/mc/mcap-cli/package.nix
···
··· 1 + { lib, buildGoModule, fetchFromGitHub }: 2 + let 3 + version = "0.0.38"; 4 + in 5 + buildGoModule { 6 + 7 + pname = "mcap-cli"; 8 + 9 + inherit version; 10 + 11 + src = fetchFromGitHub { 12 + repo = "mcap"; 13 + owner = "foxglove"; 14 + rev = "releases/mcap-cli/v${version}"; 15 + hash = "sha256-mwKWf0kJ3uMx1cLUac+AqXgQ1Af3tLDOCTFKgq8FtHE="; 16 + }; 17 + 18 + vendorHash = "sha256-Gl0zLBTWscKGtVOS6rPRL/r8KHYHpZwoUDbEyCL4Ijk="; 19 + 20 + modRoot = "go/cli/mcap"; 21 + 22 + GOWORK="off"; 23 + 24 + # copy the local versions of the workspace modules 25 + postConfigure = '' 26 + chmod -R u+w vendor 27 + rm -rf vendor/github.com/foxglove/mcap/go/{mcap,ros} 28 + cp -r ../../{mcap,ros} vendor/github.com/foxglove/mcap/go 29 + ''; 30 + 31 + checkFlags = [ 32 + # requires git-lfs and network 33 + # https://github.com/foxglove/mcap/issues/895 34 + "-skip=TestCat|TestInfo" 35 + ]; 36 + 37 + meta = with lib; { 38 + description = "MCAP CLI tool to inspect and fix MCAP files"; 39 + homepage = "https://github.com/foxglove/mcap"; 40 + license = with licenses; [ mit ]; 41 + maintainers = with maintainers; [ squalus therishidesai ]; 42 + }; 43 + 44 + }
+2 -2
pkgs/by-name/mo/monophony/package.nix
··· 12 }: 13 python3Packages.buildPythonApplication rec { 14 pname = "monophony"; 15 - version = "2.5.1"; 16 format = "other"; 17 18 sourceRoot = "source/source"; ··· 20 owner = "zehkira"; 21 repo = "monophony"; 22 rev = "v${version}"; 23 - hash = "sha256-kBFznJcH6UOlzgUnhPSOUBxqqsHzIEpirN63gRYC/u0="; 24 }; 25 26 pythonPath = with python3Packages; [
··· 12 }: 13 python3Packages.buildPythonApplication rec { 14 pname = "monophony"; 15 + version = "2.5.2"; 16 format = "other"; 17 18 sourceRoot = "source/source"; ··· 20 owner = "zehkira"; 21 repo = "monophony"; 22 rev = "v${version}"; 23 + hash = "sha256-DIAvRxUC1JIK4Tyc+REqgO6kZRokPcmLCKwI/+YRGx8="; 24 }; 25 26 pythonPath = with python3Packages; [
+2 -2
pkgs/by-name/op/openswitcher/package.nix
··· 14 15 python3Packages.buildPythonApplication rec { 16 pname = "openswitcher"; 17 - version = "0.9.1"; 18 format = "other"; 19 20 src = fetchFromSourcehut { 21 owner = "~martijnbraam"; 22 repo = "pyatem"; 23 rev = version; 24 - hash = "sha256-264XqBl+1qsAc5vOxJabbkubY+F72xo06WWishVEQOI="; 25 }; 26 27 outputs = [
··· 14 15 python3Packages.buildPythonApplication rec { 16 pname = "openswitcher"; 17 + version = "0.10.0"; 18 format = "other"; 19 20 src = fetchFromSourcehut { 21 owner = "~martijnbraam"; 22 repo = "pyatem"; 23 rev = version; 24 + hash = "sha256-O+f1vVwfGJjLem25hsYE1Q1V4vzjrc0HxTBUCANCEwE="; 25 }; 26 27 outputs = [
+3 -3
pkgs/by-name/pa/paralus-cli/package.nix
··· 7 8 buildGoModule rec { 9 pname = "paralus-cli"; 10 - version = "0.1.4"; 11 12 src = fetchFromGitHub { 13 repo = "cli"; 14 owner = "paralus"; 15 rev = "v${version}"; 16 - hash = "sha256-2lTT53VTvwcxYSn9koLKMIc7pmAdrOmeuBvAHjMkqu0="; 17 }; 18 19 - vendorHash = "sha256-M4ur9V2HP/bxG4LzM4xoGdzd4l54pc8pjWiT5GQ3X04="; 20 21 ldflags = [ 22 "-s"
··· 7 8 buildGoModule rec { 9 pname = "paralus-cli"; 10 + version = "0.1.5"; 11 12 src = fetchFromGitHub { 13 repo = "cli"; 14 owner = "paralus"; 15 rev = "v${version}"; 16 + hash = "sha256-cVrT8wU9MJgc/hzMVe1b0lzm7f+0Prv9w1IjMOAh69E="; 17 }; 18 19 + vendorHash = "sha256-fO+armn5V/dXQfx8fdavohiiutHGGQ/5mRENfDNHCY8="; 20 21 ldflags = [ 22 "-s"
+6 -4
pkgs/by-name/pe/persistent-cache-cpp/package.nix
··· 57 hash = "sha256-2/6EYBh71S4dzqWEde+3dLOGp015fN6IifAj1bI1XAI="; 58 }) 59 60 - # Enable linking based on stdenv (static or dynamic) 61 # Remove when https://gitlab.com/ubports/development/core/lib-cpp/persistent-cache-cpp/-/merge_requests/16 merged & in release 62 (fetchpatch { 63 name = "0004-persistent-cache-cpp-Un-hardcode-static-linking.patch"; 64 url = "https://gitlab.com/OPNA2608/persistent-cache-cpp/-/commit/45cd84fe76e3a0e1da41a662df695009a6f4f07e.patch"; 65 hash = "sha256-1UjdhzrjnIUO1ySaZTm0vkdNgok0RNlGtNOWUoAUlzU="; 66 }) 67 ]; 68 ··· 87 buildInputs = [ 88 boost 89 lomiri.cmake-extras 90 - ]; 91 - 92 - propagatedBuildInputs = [ 93 leveldb 94 ]; 95
··· 57 hash = "sha256-2/6EYBh71S4dzqWEde+3dLOGp015fN6IifAj1bI1XAI="; 58 }) 59 60 + # Enable linking based on stdenv (static or dynamic), only propagate leveldb link requirement when linked statically 61 # Remove when https://gitlab.com/ubports/development/core/lib-cpp/persistent-cache-cpp/-/merge_requests/16 merged & in release 62 (fetchpatch { 63 name = "0004-persistent-cache-cpp-Un-hardcode-static-linking.patch"; 64 url = "https://gitlab.com/OPNA2608/persistent-cache-cpp/-/commit/45cd84fe76e3a0e1da41a662df695009a6f4f07e.patch"; 65 hash = "sha256-1UjdhzrjnIUO1ySaZTm0vkdNgok0RNlGtNOWUoAUlzU="; 66 + }) 67 + (fetchpatch { 68 + name = "0005-persistent-cache-cpp-Propagate-leveldb-dependency-only-when-needed.patch"; 69 + url = "https://gitlab.com/OPNA2608/persistent-cache-cpp/-/commit/6204b65df32360a7e358558041219a867652c429.patch"; 70 + hash = "sha256-cIewdtF0OdQuLz94KNY2HL8XZp1IaKlZz2hNlMvKLw4="; 71 }) 72 ]; 73 ··· 92 buildInputs = [ 93 boost 94 lomiri.cmake-extras 95 leveldb 96 ]; 97
+4 -1
pkgs/by-name/re/redocly-cli/package.nix
··· 31 cp -R packages/core $out/lib/node_modules/@redocly/cli/node_modules/@redocly/openapi-core 32 33 mkdir $out/bin 34 - makeWrapper $out/lib/node_modules/@redocly/cli/node_modules/@redocly/cli/bin/cli.js $out/bin/redocly-cli --set REDOCLY_TELEMETRY off 35 ''; 36 37 installCheckPhase = ''
··· 31 cp -R packages/core $out/lib/node_modules/@redocly/cli/node_modules/@redocly/openapi-core 32 33 mkdir $out/bin 34 + makeWrapper $out/lib/node_modules/@redocly/cli/node_modules/@redocly/cli/bin/cli.js \ 35 + $out/bin/redocly-cli \ 36 + --set-default REDOCLY_TELEMETRY off \ 37 + --set-default CI true # Silence update messages 38 ''; 39 40 installCheckPhase = ''
+2 -2
pkgs/by-name/rq/rqbit/Cargo.lock
··· 1253 1254 [[package]] 1255 name = "librqbit" 1256 - version = "5.4.1" 1257 dependencies = [ 1258 "anyhow", 1259 "axum 0.7.3", ··· 2025 2026 [[package]] 2027 name = "rqbit" 2028 - version = "5.4.1" 2029 dependencies = [ 2030 "anyhow", 2031 "bytes",
··· 1253 1254 [[package]] 1255 name = "librqbit" 1256 + version = "5.4.2" 1257 dependencies = [ 1258 "anyhow", 1259 "axum 0.7.3", ··· 2025 2026 [[package]] 2027 name = "rqbit" 2028 + version = "5.4.2" 2029 dependencies = [ 2030 "anyhow", 2031 "bytes",
+2 -2
pkgs/by-name/rq/rqbit/package.nix
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "rqbit"; 5 - version = "5.4.1"; 6 7 src = fetchFromGitHub { 8 owner = "ikatson"; 9 repo = "rqbit"; 10 rev = "v${version}"; 11 - hash = "sha256-dD9nGxyUA+Vw5efB4eXdz4WdxXlwyhT6mSyblcX65Bs="; 12 }; 13 14 cargoLock = {
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "rqbit"; 5 + version = "5.4.2"; 6 7 src = fetchFromGitHub { 8 owner = "ikatson"; 9 repo = "rqbit"; 10 rev = "v${version}"; 11 + hash = "sha256-ZC68RQi0UcdALKVgwRUyO0+ZmKtGMjudYQabsAnghzg="; 12 }; 13 14 cargoLock = {
+31
pkgs/by-name/wi/wireguard-vanity-keygen/package.nix
···
··· 1 + { lib 2 + , buildGoModule 3 + , fetchFromGitHub 4 + }: 5 + 6 + buildGoModule rec { 7 + pname = "wireguard-vanity-keygen"; 8 + version = "0.0.7"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "axllent"; 12 + repo = "wireguard-vanity-keygen"; 13 + rev = version; 14 + hash = "sha256-+q6l2531APm67JqvFNQb4Zj5pyWnHgncwxcgWNiBCJw="; 15 + }; 16 + 17 + vendorHash = "sha256-F3AoN8NgXjePy7MmI8jzLDxaIZBCfOPRbe0ZYmt6vm8="; 18 + 19 + ldflags = [ "-s" "-w" "-X main.appVersion=${version}" ]; 20 + 21 + meta = with lib; { 22 + changelog = let 23 + versionWithoutDots = concatStrings (splitString "." version); 24 + in "https://github.com/axllent/wireguard-vanity-keygen/blob/develop/CHANGELOG.md#${versionWithoutDots}"; 25 + description = "WireGuard vanity key generator"; 26 + homepage = "https://github.com/axllent/wireguard-vanity-keygen"; 27 + license = licenses.mit; 28 + maintainers = with maintainers; [ arikgrahl ]; 29 + mainProgram = "wireguard-vanity-keygen"; 30 + }; 31 + }
+4 -2
pkgs/development/cuda-modules/backend-stdenv.nix
··· 13 gccMajorVersion = nvccCompatibilities.${cudaVersion}.gccMaxMajorVersion; 14 cudaStdenv = stdenvAdapters.useLibsFrom stdenv pkgs."gcc${gccMajorVersion}Stdenv"; 15 passthruExtra = { 16 - nixpkgsCompatibleLibstdcxx = lib.warn "cudaPackages.backendStdenv.nixpkgsCompatibleLibstdcxx is misnamed, deprecated, and will be removed after 24.05" cudaStdenv.cc.cxxStdlib.package; 17 - # cc already exposed 18 }; 19 assertCondition = true; 20 in
··· 13 gccMajorVersion = nvccCompatibilities.${cudaVersion}.gccMaxMajorVersion; 14 cudaStdenv = stdenvAdapters.useLibsFrom stdenv pkgs."gcc${gccMajorVersion}Stdenv"; 15 passthruExtra = { 16 + # cudaPackages.backendStdenv.nixpkgsCompatibleLibstdcxx has been removed, 17 + # if you need it you're likely doing something wrong. There has been a 18 + # warning here for a month or so. Now we can no longer return any 19 + # meaningful value in its place and drop the attribute entirely. 20 }; 21 assertCondition = true; 22 in
+2 -2
pkgs/development/interpreters/php/8.3.nix
··· 2 3 let 4 base = callPackage ./generic.nix (_args // { 5 - version = "8.3.1"; 6 - hash = "sha256-xA+ukZf6aKUy9qBiwxba/jsExUUTa1S56tSTL8JsauE="; 7 }); 8 in 9 base.withExtensions ({ all, ... }: with all; ([
··· 2 3 let 4 base = callPackage ./generic.nix (_args // { 5 + version = "8.3.2"; 6 + hash = "sha256-WCs8g3qNlS7//idKXklwbEOojBYoMMKow1gIn+dEkoQ="; 7 }); 8 in 9 base.withExtensions ({ all, ... }: with all; ([
+2 -2
pkgs/development/libraries/imgui/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "imgui"; 5 - version = "1.90"; 6 7 src = fetchFromGitHub { 8 owner = "ocornut"; 9 repo = "imgui"; 10 rev = "v${version}"; 11 - sha256 = "sha256-rJMWCPVhho34NcPvJZaB5d6EbZkJyLXEfeotplOOaiA="; 12 }; 13 14 dontBuild = true;
··· 2 3 stdenv.mkDerivation rec { 4 pname = "imgui"; 5 + version = "1.90.1"; 6 7 src = fetchFromGitHub { 8 owner = "ocornut"; 9 repo = "imgui"; 10 rev = "v${version}"; 11 + sha256 = "sha256-gf47uLeNiXQic43buB5ZnMqiotlUfIyAsP+3H7yJuFg="; 12 }; 13 14 dontBuild = true;
+7 -1
pkgs/development/libraries/imtui/default.nix
··· 8 , withCurl ? (!withEmscripten), curl 9 , withNcurses ? (!withEmscripten), ncurses 10 , static ? withEmscripten 11 }: 12 13 stdenv.mkDerivation rec { ··· 25 26 buildInputs = lib.optional withEmscripten emscripten 27 ++ lib.optional withCurl curl 28 - ++ lib.optional withNcurses ncurses; 29 30 postPatch = '' 31 cp -r ${imgui}/include/imgui third-party/imgui 32 ''; 33 34 cmakeFlags = [ ··· 54 changelog = "https://github.com/ggerganov/imtui/blob/${src.rev}/CHANGELOG.md"; 55 license = licenses.mit; 56 maintainers = with maintainers; [ azahi ]; 57 }; 58 }
··· 8 , withCurl ? (!withEmscripten), curl 9 , withNcurses ? (!withEmscripten), ncurses 10 , static ? withEmscripten 11 + , darwin 12 }: 13 14 stdenv.mkDerivation rec { ··· 26 27 buildInputs = lib.optional withEmscripten emscripten 28 ++ lib.optional withCurl curl 29 + ++ lib.optional withNcurses ncurses 30 + ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Cocoa; 31 32 postPatch = '' 33 cp -r ${imgui}/include/imgui third-party/imgui 34 + '' + lib.optionalString (lib.versionAtLeast imgui.version "1.90.1") '' 35 + substituteInPlace src/imtui-impl-{emscripten,ncurses}.cpp \ 36 + --replace "ImGuiKey_KeyPadEnter" "ImGuiKey_KeypadEnter" 37 ''; 38 39 cmakeFlags = [ ··· 59 changelog = "https://github.com/ggerganov/imtui/blob/${src.rev}/CHANGELOG.md"; 60 license = licenses.mit; 61 maintainers = with maintainers; [ azahi ]; 62 + platforms = platforms.unix; 63 }; 64 }
+2 -2
pkgs/development/libraries/libjcat/default.nix
··· 19 20 stdenv.mkDerivation rec { 21 pname = "libjcat"; 22 - version = "0.2.0"; 23 24 outputs = [ "bin" "out" "dev" "devdoc" "man" "installedTests" ]; 25 ··· 27 owner = "hughsie"; 28 repo = "libjcat"; 29 rev = version; 30 - sha256 = "sha256-nLn2s9hX9f6I1Avxzs24ZPQHglJqKSUTpBpwskVyJKw="; 31 }; 32 33 patches = [
··· 19 20 stdenv.mkDerivation rec { 21 pname = "libjcat"; 22 + version = "0.2.1"; 23 24 outputs = [ "bin" "out" "dev" "devdoc" "man" "installedTests" ]; 25 ··· 27 owner = "hughsie"; 28 repo = "libjcat"; 29 rev = version; 30 + sha256 = "sha256-tCXz62MEqYBnrx2RxlTBwKGTahfhUCVdet4VnXw5klQ="; 31 }; 32 33 patches = [
+4 -4
pkgs/development/libraries/libvgm/default.nix
··· 40 inherit (lib) optional optionals; 41 onOff = val: if val then "ON" else "OFF"; 42 in 43 - stdenv.mkDerivation rec { 44 pname = "libvgm"; 45 - version = "unstable-2023-08-14"; 46 47 src = fetchFromGitHub { 48 owner = "ValleyBell"; 49 repo = "libvgm"; 50 - rev = "079c4e737e6a73b38ae20125521d7d9eafda28e9"; 51 - sha256 = "hmaGIf9AQOYqrpnmKAB9I2vO+EXrzvoRaQ6Epdygy4o="; 52 }; 53 54 outputs = [
··· 40 inherit (lib) optional optionals; 41 onOff = val: if val then "ON" else "OFF"; 42 in 43 + stdenv.mkDerivation { 44 pname = "libvgm"; 45 + version = "unstable-2024-01-03"; 46 47 src = fetchFromGitHub { 48 owner = "ValleyBell"; 49 repo = "libvgm"; 50 + rev = "223b6f9d629feda1982dc4bbeebd19fa63b987fb"; 51 + hash = "sha256-CrqgDuOsY+Hpp41De6oWJduj8d8ftMUanMEWJKh79rw="; 52 }; 53 54 outputs = [
+3 -3
pkgs/development/python-modules/aiovodafone/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "aiovodafone"; 13 - version = "0.5.1"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.10"; ··· 19 owner = "chemelli74"; 20 repo = "aiovodafone"; 21 rev = "refs/tags/v${version}"; 22 - hash = "sha256-4Pcdf5yAzjXbmWehon9DdZfaIdEjPLcdzf/EjYKEamk="; 23 }; 24 25 postPatch = '' ··· 47 meta = with lib; { 48 description = "Library to control Vodafon Station"; 49 homepage = "https://github.com/chemelli74/aiovodafone"; 50 - changelog = "https://github.com/chemelli74/aiovodafone/blob/${version}/CHANGELOG.md"; 51 license = licenses.asl20; 52 maintainers = with maintainers; [ fab ]; 53 };
··· 10 11 buildPythonPackage rec { 12 pname = "aiovodafone"; 13 + version = "0.5.3"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.10"; ··· 19 owner = "chemelli74"; 20 repo = "aiovodafone"; 21 rev = "refs/tags/v${version}"; 22 + hash = "sha256-a9V5rocQmloNkg9IsxOAle8zmOIQ7jf1xPLjdsjntVw="; 23 }; 24 25 postPatch = '' ··· 47 meta = with lib; { 48 description = "Library to control Vodafon Station"; 49 homepage = "https://github.com/chemelli74/aiovodafone"; 50 + changelog = "https://github.com/chemelli74/aiovodafone/blob/v${version}/CHANGELOG.md"; 51 license = licenses.asl20; 52 maintainers = with maintainers; [ fab ]; 53 };
+10 -5
pkgs/development/python-modules/apispec-webframeworks/default.nix
··· 3 , bottle 4 , buildPythonPackage 5 , fetchFromGitHub 6 , flask 7 , mock 8 , pytestCheckHook ··· 12 13 buildPythonPackage rec { 14 pname = "apispec-webframeworks"; 15 - version = "0.5.2"; 16 - format = "setuptools"; 17 18 - disabled = pythonOlder "3.7"; 19 20 src = fetchFromGitHub { 21 owner = "marshmallow-code"; 22 repo = "apispec-webframeworks"; 23 - rev = version; 24 - hash = "sha256-ByNmmBLO99njw9JrT+cCW/K4NJBH92smAiIgg47Cvkk="; 25 }; 26 27 propagatedBuildInputs = [ 28 apispec
··· 3 , bottle 4 , buildPythonPackage 5 , fetchFromGitHub 6 + , flit-core 7 , flask 8 , mock 9 , pytestCheckHook ··· 13 14 buildPythonPackage rec { 15 pname = "apispec-webframeworks"; 16 + version = "1.0.0"; 17 + pyproject = true; 18 19 + disabled = pythonOlder "3.8"; 20 21 src = fetchFromGitHub { 22 owner = "marshmallow-code"; 23 repo = "apispec-webframeworks"; 24 + rev = "refs/tags/${version}"; 25 + hash = "sha256-zrsqIZ5ZogZsK1ZOL2uy8igS4T8a+19IwL5dMhKw7OA="; 26 }; 27 + 28 + nativeBuildInputs = [ 29 + flit-core 30 + ]; 31 32 propagatedBuildInputs = [ 33 apispec
+2 -2
pkgs/development/python-modules/async-upnp-client/default.nix
··· 22 23 buildPythonPackage rec { 24 pname = "async-upnp-client"; 25 - version = "0.38.0"; 26 pyproject = true; 27 28 disabled = pythonOlder "3.8"; ··· 31 owner = "StevenLooman"; 32 repo = "async_upnp_client"; 33 rev = "refs/tags/${version}"; 34 - hash = "sha256-hCgZsoccrHCXTZPnFX5OFhCGnd2WufxWo84jW3k9KiY="; 35 }; 36 37 nativeBuildInputs = [
··· 22 23 buildPythonPackage rec { 24 pname = "async-upnp-client"; 25 + version = "0.38.1"; 26 pyproject = true; 27 28 disabled = pythonOlder "3.8"; ··· 31 owner = "StevenLooman"; 32 repo = "async_upnp_client"; 33 rev = "refs/tags/${version}"; 34 + hash = "sha256-tYGJwmzyVTry3KIMv1JjoBsE6kNw7FJb1nq1+39bEdU="; 35 }; 36 37 nativeBuildInputs = [
+25 -7
pkgs/development/python-modules/biopython/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 , numpy 5 - , isPy3k 6 }: 7 8 buildPythonPackage rec { 9 pname = "biopython"; 10 - version = "1.82"; 11 - format = "setuptools"; 12 13 src = fetchPypi { 14 inherit pname version; 15 - hash = "sha256-qbENlZroipdEqRxs42AfTIbn7EFnm8k8KfZ5IY9hZ7s="; 16 }; 17 18 - disabled = !isPy3k; 19 20 propagatedBuildInputs = [ numpy ]; 21 - # Checks try to write to $HOME, which does not work with nix 22 - doCheck = false; 23 meta = { 24 description = "Python library for bioinformatics"; 25 longDescription = ''
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 + , pythonOlder 5 + , setuptools 6 , numpy 7 }: 8 9 buildPythonPackage rec { 10 pname = "biopython"; 11 + version = "1.83"; 12 + pyproject = true; 13 + 14 + disabled = pythonOlder "3.9"; 15 16 src = fetchPypi { 17 inherit pname version; 18 + hash = "sha256-eOa/t43mMDQDev01/nfLbgqeW2Jwa+z3in2SKxbtg/c="; 19 }; 20 21 + nativeBuildInputs = [ 22 + setuptools 23 + ]; 24 25 propagatedBuildInputs = [ numpy ]; 26 + 27 + pythonImportsCheck = [ 28 + "Bio" 29 + ]; 30 + 31 + checkPhase = '' 32 + runHook preCheck 33 + 34 + export HOME=$(mktemp -d) 35 + cd Tests 36 + python run_tests.py --offline 37 + 38 + runHook postCheck 39 + ''; 40 + 41 meta = { 42 description = "Python library for bioinformatics"; 43 longDescription = ''
+21 -23
pkgs/development/python-modules/blocksat-cli/default.nix
··· 1 { lib 2 , buildPythonPackage 3 - , fetchPypi 4 , distro 5 , pysnmp 6 , python-gnupg 7 , qrcode 8 , requests 9 - , sseclient-py 10 - , zfec 11 - , pytestCheckHook 12 - , pythonOlder 13 }: 14 15 buildPythonPackage rec { 16 pname = "blocksat-cli"; 17 - version = "0.4.6"; 18 - format = "setuptools"; 19 20 - disabled = pythonOlder "3.7"; 21 22 - src = fetchPypi { 23 - inherit pname version; 24 - hash = "sha256-uANAMNoAC4HUoUuR5ldxoiy+LLzZVpKosU5JttXLnqg="; 25 }; 26 27 propagatedBuildInputs = [ 28 distro 29 pysnmp 30 python-gnupg 31 qrcode 32 requests 33 - sseclient-py 34 - zfec 35 ]; 36 37 nativeCheckInputs = [ 38 pytestCheckHook 39 ]; 40 41 - disabledTestPaths = [ 42 - # disable tests which require being connected to the satellite 43 - "blocksatcli/test_satip.py" 44 - "blocksatcli/api/test_listen.py" 45 - "blocksatcli/api/test_msg.py" 46 - "blocksatcli/api/test_net.py" 47 - # disable tests which require being online 48 - "blocksatcli/api/test_order.py" 49 - ]; 50 - 51 disabledTests = [ 52 "test_monitor_get_stats" 53 "test_monitor_update_with_reporting_enabled" ··· 61 meta = with lib; { 62 description = "Blockstream Satellite CLI"; 63 homepage = "https://github.com/Blockstream/satellite"; 64 license = licenses.gpl3Only; 65 maintainers = with maintainers; [ prusnak ]; 66 };
··· 1 { lib 2 , buildPythonPackage 3 , distro 4 + , fetchFromGitHub 5 + , pyasyncore 6 , pysnmp 7 + , pytestCheckHook 8 , python-gnupg 9 + , pythonAtLeast 10 + , pythonOlder 11 , qrcode 12 , requests 13 + , setuptools 14 }: 15 16 buildPythonPackage rec { 17 pname = "blocksat-cli"; 18 + version = "2.4.6"; 19 + pyproject = true; 20 21 + disabled = pythonOlder "3.8"; 22 23 + src = fetchFromGitHub { 24 + owner = "Blockstream"; 25 + repo = "satellite"; 26 + rev = "refs/tags/v${version}"; 27 + hash = "sha256-1gz2lAS/AHeY54AaVXGeofLC68KjAP7POsIaBL3v2EY="; 28 }; 29 30 + nativeBuildInputs = [ 31 + setuptools 32 + ]; 33 + 34 propagatedBuildInputs = [ 35 distro 36 pysnmp 37 python-gnupg 38 qrcode 39 requests 40 + ] ++ lib.optionals (pythonAtLeast "3.12") [ 41 + pyasyncore 42 ]; 43 44 nativeCheckInputs = [ 45 pytestCheckHook 46 ]; 47 48 disabledTests = [ 49 "test_monitor_get_stats" 50 "test_monitor_update_with_reporting_enabled" ··· 58 meta = with lib; { 59 description = "Blockstream Satellite CLI"; 60 homepage = "https://github.com/Blockstream/satellite"; 61 + changelog = "https://github.com/Blockstream/satellite/releases/tag/v${version}"; 62 license = licenses.gpl3Only; 63 maintainers = with maintainers; [ prusnak ]; 64 };
+2 -2
pkgs/development/python-modules/bx-py-utils/default.nix
··· 14 15 buildPythonPackage rec { 16 pname = "bx-py-utils"; 17 - version = "88"; 18 19 disabled = pythonOlder "3.9"; 20 ··· 24 owner = "boxine"; 25 repo = "bx_py_utils"; 26 rev = "refs/tags/v${version}"; 27 - hash = "sha256-Ds7Ljgp6OdbFkEWl1E0X03o0oJ/Nk8U3pO/ztK42DbY="; 28 }; 29 30 postPatch = ''
··· 14 15 buildPythonPackage rec { 16 pname = "bx-py-utils"; 17 + version = "91"; 18 19 disabled = pythonOlder "3.9"; 20 ··· 24 owner = "boxine"; 25 repo = "bx_py_utils"; 26 rev = "refs/tags/v${version}"; 27 + hash = "sha256-W8NP5h9fHyTJj6TIpBunoPcNOu8eWV1rA8ZaoGUnmBQ="; 28 }; 29 30 postPatch = ''
+2 -2
pkgs/development/python-modules/coinmetrics-api-client/default.nix
··· 17 18 buildPythonPackage rec { 19 pname = "coinmetrics-api-client"; 20 - version = "2023.11.27.17"; 21 pyproject = true; 22 23 disabled = pythonOlder "3.9"; ··· 27 src = fetchPypi { 28 inherit version; 29 pname = "coinmetrics_api_client"; 30 - hash = "sha256-UDcegRnDtz6LYAN9S8wiW/TCsIsQHr5sSX+chEkeFnw="; 31 }; 32 33 pythonRelaxDeps = [
··· 17 18 buildPythonPackage rec { 19 pname = "coinmetrics-api-client"; 20 + version = "2024.1.17.17"; 21 pyproject = true; 22 23 disabled = pythonOlder "3.9"; ··· 27 src = fetchPypi { 28 inherit version; 29 pname = "coinmetrics_api_client"; 30 + hash = "sha256-mYA67oiWWvEdNU2MrjtOPyDW3LbxH/mgh+MOuZg2ljo="; 31 }; 32 33 pythonRelaxDeps = [
+2 -2
pkgs/development/python-modules/cvxpy/default.nix
··· 19 20 buildPythonPackage rec { 21 pname = "cvxpy"; 22 - version = "1.4.1"; 23 format = "pyproject"; 24 25 disabled = pythonOlder "3.7"; 26 27 src = fetchPypi { 28 inherit pname version; 29 - hash = "sha256-ep7zTjxX/4yETYbwo4NPtVda8ZIzlHY53guld8YSLj4="; 30 }; 31 32 # we need to patch out numpy version caps from upstream
··· 19 20 buildPythonPackage rec { 21 pname = "cvxpy"; 22 + version = "1.4.2"; 23 format = "pyproject"; 24 25 disabled = pythonOlder "3.7"; 26 27 src = fetchPypi { 28 inherit pname version; 29 + hash = "sha256-CjhqV4jb14t7IN0HFSTsY2yPpys2KOafGrxxTI+YEeU="; 30 }; 31 32 # we need to patch out numpy version caps from upstream
+15 -11
pkgs/development/python-modules/cwl-upgrader/default.nix
··· 7 , pythonOlder 8 , ruamel-yaml 9 , schema-salad 10 }: 11 12 buildPythonPackage rec { 13 pname = "cwl-upgrader"; 14 - version = "1.2.10"; 15 - format = "setuptools"; 16 17 disabled = pythonOlder "3.8"; 18 19 src = fetchFromGitHub { 20 owner = "common-workflow-language"; 21 - repo = pname; 22 rev = "refs/tags/v${version}"; 23 - hash = "sha256-D/MIvn/jyxK++CMgKM8EYDVo94WFgdlTtMZjsXoQ4W4="; 24 }; 25 26 postPatch = '' 27 - substituteInPlace setup.py \ 28 - --replace "ruamel.yaml >= 0.15, < 0.17.22" "ruamel.yaml" \ 29 - --replace "setup_requires=PYTEST_RUNNER," "" 30 - sed -i "/ruamel.yaml/d" setup.py 31 ''; 32 33 propagatedBuildInputs = [ 34 mypy-extensions ··· 46 ]; 47 48 meta = with lib; { 49 - description = "Library to interface with Yolink"; 50 - homepage = "https://github.com/common-workflow-language/cwl-utils"; 51 - changelog = "https://github.com/common-workflow-language/cwl-utils/releases/tag/v${version}"; 52 license = licenses.asl20; 53 maintainers = with maintainers; [ fab ]; 54 };
··· 7 , pythonOlder 8 , ruamel-yaml 9 , schema-salad 10 + , setuptools 11 }: 12 13 buildPythonPackage rec { 14 pname = "cwl-upgrader"; 15 + version = "1.2.11"; 16 + pyproject = true; 17 18 disabled = pythonOlder "3.8"; 19 20 src = fetchFromGitHub { 21 owner = "common-workflow-language"; 22 + repo = "cwl-upgrader"; 23 rev = "refs/tags/v${version}"; 24 + hash = "sha256-P8607Io/KIJqAnrValM+rRK59tQITcC/jyGwkge8qN0="; 25 }; 26 27 postPatch = '' 28 + # Version detection doesn't work for schema_salad 29 + substituteInPlace pyproject.toml \ 30 + --replace '"schema_salad",' "" 31 ''; 32 + 33 + nativeBuildInputs = [ 34 + setuptools 35 + ]; 36 37 propagatedBuildInputs = [ 38 mypy-extensions ··· 50 ]; 51 52 meta = with lib; { 53 + description = "Library to upgrade CWL syntax to a newer version"; 54 + homepage = "https://github.com/common-workflow-language/cwl-upgrader"; 55 + changelog = "https://github.com/common-workflow-language/cwl-upgrader/releases/tag/v${version}"; 56 license = licenses.asl20; 57 maintainers = with maintainers; [ fab ]; 58 };
+5 -4
pkgs/development/python-modules/django-sesame/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "django-sesame"; 13 - version = "3.2.1"; 14 - format = "pyproject"; 15 16 disabled = pythonOlder "3.8"; 17 18 src = fetchFromGitHub { 19 owner = "aaugustin"; 20 - repo = pname; 21 rev = "refs/tags/${version}"; 22 - hash = "sha256-R7ySuop7E1lkxtRSVNFfzyb3Ba1mW0o6PDiTxTztK/Y="; 23 }; 24 25 nativeBuildInputs = [ ··· 46 meta = with lib; { 47 description = "URLs with authentication tokens for automatic login"; 48 homepage = "https://github.com/aaugustin/django-sesame"; 49 license = licenses.bsd3; 50 maintainers = with maintainers; [ elohmeier ]; 51 };
··· 10 11 buildPythonPackage rec { 12 pname = "django-sesame"; 13 + version = "3.2.2"; 14 + pyproject = true; 15 16 disabled = pythonOlder "3.8"; 17 18 src = fetchFromGitHub { 19 owner = "aaugustin"; 20 + repo = "django-sesame"; 21 rev = "refs/tags/${version}"; 22 + hash = "sha256-8jbYhD/PfPnutJZonmdrqLIQdXiUHF12w0M9tuyyDz0="; 23 }; 24 25 nativeBuildInputs = [ ··· 46 meta = with lib; { 47 description = "URLs with authentication tokens for automatic login"; 48 homepage = "https://github.com/aaugustin/django-sesame"; 49 + changelog = "https://github.com/aaugustin/django-sesame/blob/${version}/docs/changelog.rst"; 50 license = licenses.bsd3; 51 maintainers = with maintainers; [ elohmeier ]; 52 };
+3 -3
pkgs/development/python-modules/django-two-factor-auth/default.nix
··· 17 18 buildPythonPackage rec { 19 pname = "django-two-factor-auth"; 20 - version = "1.15.1"; 21 - format = "setuptools"; 22 23 disabled = pythonOlder "3.7"; 24 ··· 26 owner = "jazzband"; 27 repo = "django-two-factor-auth"; 28 rev = "refs/tags/${version}"; 29 - hash = "sha256-+E6kSD00ChPiRLT2i43dNlVkbvuR1vKkbSZfD1Bf3qc="; 30 }; 31 32 nativeBuildInputs = [
··· 17 18 buildPythonPackage rec { 19 pname = "django-two-factor-auth"; 20 + version = "1.15.5"; 21 + pyproject = true; 22 23 disabled = pythonOlder "3.7"; 24 ··· 26 owner = "jazzband"; 27 repo = "django-two-factor-auth"; 28 rev = "refs/tags/${version}"; 29 + hash = "sha256-Sr7L3ioeofyADHb1NSgs0GmVbzX7rro7yhhG9Gq6GJE="; 30 }; 31 32 nativeBuildInputs = [
+4 -2
pkgs/development/python-modules/edk2-pytool-library/default.nix
··· 10 , cryptography 11 , joblib 12 , gitpython 13 , pytestCheckHook 14 }: 15 16 buildPythonPackage rec { 17 pname = "edk2-pytool-library"; 18 - version = "0.19.9"; 19 pyproject = true; 20 21 disabled = pythonOlder "3.10"; ··· 24 owner = "tianocore"; 25 repo = "edk2-pytool-library"; 26 rev = "refs/tags/v${version}"; 27 - hash = "sha256-eQcto4pd+y9fCjuiaSezA3okfW+xrR01Kc/N2tQdf5A="; 28 }; 29 30 nativeBuildInputs = [ ··· 44 cryptography 45 joblib 46 gitpython 47 ]; 48 49 nativeCheckInputs = [
··· 10 , cryptography 11 , joblib 12 , gitpython 13 + , sqlalchemy 14 , pytestCheckHook 15 }: 16 17 buildPythonPackage rec { 18 pname = "edk2-pytool-library"; 19 + version = "0.20.0"; 20 pyproject = true; 21 22 disabled = pythonOlder "3.10"; ··· 25 owner = "tianocore"; 26 repo = "edk2-pytool-library"; 27 rev = "refs/tags/v${version}"; 28 + hash = "sha256-uqXQbSk/diyTq4d+J1ubc6ylJpETmJt699vfbSuY290="; 29 }; 30 31 nativeBuildInputs = [ ··· 45 cryptography 46 joblib 47 gitpython 48 + sqlalchemy 49 ]; 50 51 nativeCheckInputs = [
+23 -11
pkgs/development/python-modules/find-libpython/default.nix
··· 1 { lib 2 , buildPythonPackage 3 - , fetchPypi 4 , pytestCheckHook 5 , pythonOlder 6 }: 7 8 buildPythonPackage rec { 9 pname = "find-libpython"; 10 - version = "0.3.0"; 11 - format = "setuptools"; 12 13 - src = fetchPypi { 14 - inherit version; 15 - pname = "find_libpython"; 16 - sha256 = "sha256-bn/l2a9/rW3AZstVFaDpyQpx8f6yuy+OTNu0+DJ26eU="; 17 }; 18 19 - disabled = pythonOlder "3.7"; 20 21 - pythonImportsCheck = [ "find_libpython" ]; 22 23 - nativeCheckInputs = [ pytestCheckHook ]; 24 25 meta = with lib; { 26 description = "Finds the libpython associated with your environment, wherever it may be hiding"; 27 - changelog = "https://github.com/ktbarrett/find_libpython/releases/tag/${version}"; 28 homepage = "https://github.com/ktbarrett/find_libpython"; 29 license = licenses.mit; 30 maintainers = with maintainers; [ jleightcap ];
··· 1 { lib 2 , buildPythonPackage 3 + , fetchFromGitHub 4 , pytestCheckHook 5 , pythonOlder 6 + , setuptools 7 + , setuptools-scm 8 }: 9 10 buildPythonPackage rec { 11 pname = "find-libpython"; 12 + version = "0.3.1"; 13 + pyproject = true; 14 + 15 + disabled = pythonOlder "3.7"; 16 17 + src = fetchFromGitHub { 18 + owner = "ktbarrett"; 19 + repo = "find_libpython"; 20 + rev = "refs/tags/v${version}"; 21 + hash = "sha256-DBBAgfYQ4UBFn5Osb1kpVBWbrZVBAvcVGQ/J4rJO/rQ="; 22 }; 23 24 + nativeBuildInputs = [ 25 + setuptools 26 + setuptools-scm 27 + ]; 28 29 + nativeCheckInputs = [ 30 + pytestCheckHook 31 + ]; 32 33 + pythonImportsCheck = [ 34 + "find_libpython" 35 + ]; 36 37 meta = with lib; { 38 description = "Finds the libpython associated with your environment, wherever it may be hiding"; 39 + changelog = "https://github.com/ktbarrett/find_libpython/releases/tag/v${version}"; 40 homepage = "https://github.com/ktbarrett/find_libpython"; 41 license = licenses.mit; 42 maintainers = with maintainers; [ jleightcap ];
+9 -6
pkgs/development/python-modules/flask-marshmallow/default.nix
··· 2 , buildPythonPackage 3 , fetchFromGitHub 4 , pythonOlder 5 , flask 6 , marshmallow 7 - , packaging 8 , pytestCheckHook 9 , flask-sqlalchemy 10 , marshmallow-sqlalchemy ··· 12 13 buildPythonPackage rec { 14 pname = "flask-marshmallow"; 15 - version = "0.15.0"; 16 - format = "setuptools"; 17 18 - disabled = pythonOlder "3.7"; 19 20 src = fetchFromGitHub { 21 owner = "marshmallow-code"; 22 repo = "flask-marshmallow"; 23 rev = "refs/tags/${version}"; 24 - hash = "sha256-N21M/MzcvOaDh5BgbbZtNcpRAULtWGLTMberCfOUoEM="; 25 }; 26 27 propagatedBuildInputs = [ 28 flask 29 marshmallow 30 - packaging 31 ]; 32 33 nativeCheckInputs = [
··· 2 , buildPythonPackage 3 , fetchFromGitHub 4 , pythonOlder 5 + , flit-core 6 , flask 7 , marshmallow 8 , pytestCheckHook 9 , flask-sqlalchemy 10 , marshmallow-sqlalchemy ··· 12 13 buildPythonPackage rec { 14 pname = "flask-marshmallow"; 15 + version = "1.1.0"; 16 + pyproject = true; 17 18 + disabled = pythonOlder "3.8"; 19 20 src = fetchFromGitHub { 21 owner = "marshmallow-code"; 22 repo = "flask-marshmallow"; 23 rev = "refs/tags/${version}"; 24 + hash = "sha256-+5L4OfBRMkS6WRXT7dI/uuqloc/PZgu+DFvOCinByh8="; 25 }; 26 27 + nativeBuildInputs = [ 28 + flit-core 29 + ]; 30 + 31 propagatedBuildInputs = [ 32 flask 33 marshmallow 34 ]; 35 36 nativeCheckInputs = [
+2 -2
pkgs/development/python-modules/immutabledict/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "immutabledict"; 11 - version = "4.0.0"; 12 format = "pyproject"; 13 14 disabled = pythonOlder "3.7"; ··· 17 owner = "corenting"; 18 repo = "immutabledict"; 19 rev = "refs/tags/v${version}"; 20 - hash = "sha256-z03s2mOJiMVnvLmeFJFgCRvkP+9VUcALiIoIPBAHUPw="; 21 }; 22 23 nativeBuildInputs = [
··· 8 9 buildPythonPackage rec { 10 pname = "immutabledict"; 11 + version = "4.1.0"; 12 format = "pyproject"; 13 14 disabled = pythonOlder "3.7"; ··· 17 owner = "corenting"; 18 repo = "immutabledict"; 19 rev = "refs/tags/v${version}"; 20 + hash = "sha256-c76apNW6nlxL9paevqKpPw5RpDLMpYnbVabCCIrW3pw="; 21 }; 22 23 nativeBuildInputs = [
+10 -5
pkgs/development/python-modules/jsonrpc-base/default.nix
··· 4 , pytest-asyncio 5 , pytestCheckHook 6 , pythonOlder 7 }: 8 9 buildPythonPackage rec { 10 pname = "jsonrpc-base"; 11 - version = "2.1.1"; 12 - format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "emlove"; 18 - repo = pname; 19 - rev = version; 20 - hash = "sha256-C03m/zeLIFqsmEMSzt84LMOWAHUcpdEHhaa5hx2NsoQ="; 21 }; 22 23 nativeCheckInputs = [ 24 pytest-asyncio
··· 4 , pytest-asyncio 5 , pytestCheckHook 6 , pythonOlder 7 + , setuptools 8 }: 9 10 buildPythonPackage rec { 11 pname = "jsonrpc-base"; 12 + version = "2.2.0"; 13 + pyproject = true; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "emlove"; 19 + repo = "jsonrpc-base"; 20 + rev = "refs/tags/${version}"; 21 + hash = "sha256-AbpuAW+wuGc+Vj4FDFlyB2YbiwDxPLuyAGiNcmGU+Ss="; 22 }; 23 + 24 + nativeBuildInputs = [ 25 + setuptools 26 + ]; 27 28 nativeCheckInputs = [ 29 pytest-asyncio
+14 -7
pkgs/development/python-modules/jsonrpc-websocket/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 - , aiohttp 5 , jsonrpc-base 6 , pytest-asyncio 7 , pytestCheckHook 8 , pythonOlder 9 }: 10 11 buildPythonPackage rec { 12 pname = "jsonrpc-websocket"; 13 - version = "3.1.4"; 14 - format = "setuptools"; 15 16 - disabled = pythonOlder "3.6"; 17 18 src = fetchFromGitHub { 19 owner = "emlove"; 20 repo = "jsonrpc-websocket"; 21 - rev = version; 22 - hash = "sha256-xSOITOVtsNMEDrq610l8LNipLdyMWzKOQDedQEGaNOQ="; 23 }; 24 25 propagatedBuildInputs = [ 26 aiohttp 27 jsonrpc-base 28 ]; 29 30 nativeCheckInputs = [ 31 - pytestCheckHook 32 pytest-asyncio 33 ]; 34 35 pytestFlagsArray = [
··· 1 { lib 2 + , aiohttp 3 + , async-timeout 4 , buildPythonPackage 5 , fetchFromGitHub 6 , jsonrpc-base 7 , pytest-asyncio 8 , pytestCheckHook 9 , pythonOlder 10 + , setuptools 11 }: 12 13 buildPythonPackage rec { 14 pname = "jsonrpc-websocket"; 15 + version = "3.1.5"; 16 + pyproject = true; 17 18 + disabled = pythonOlder "3.7"; 19 20 src = fetchFromGitHub { 21 owner = "emlove"; 22 repo = "jsonrpc-websocket"; 23 + rev = "refs/tags/${version}"; 24 + hash = "sha256-CdYa4gcbG3EM1glxLU1hyqbNse87KJKjwSRQSFfDMM0="; 25 }; 26 27 + nativeBuildInputs = [ 28 + setuptools 29 + ]; 30 + 31 propagatedBuildInputs = [ 32 aiohttp 33 + async-timeout 34 jsonrpc-base 35 ]; 36 37 nativeCheckInputs = [ 38 pytest-asyncio 39 + pytestCheckHook 40 ]; 41 42 pytestFlagsArray = [
+9 -4
pkgs/development/python-modules/lxmf/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 , rns 5 - , pythonOlder 6 }: 7 8 buildPythonPackage rec { 9 pname = "lxmf"; 10 - version = "0.3.8"; 11 - format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 ··· 16 owner = "markqvist"; 17 repo = "lxmf"; 18 rev = "refs/tags/${version}"; 19 - hash = "sha256-tse2Hgu50KfxWLBkzyV4VpDj2YHgxIc5izgvwJAJ/7k="; 20 }; 21 22 propagatedBuildInputs = [ 23 rns
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 + , pythonOlder 5 , rns 6 + , setuptools 7 }: 8 9 buildPythonPackage rec { 10 pname = "lxmf"; 11 + version = "0.3.9"; 12 + pyproject = true; 13 14 disabled = pythonOlder "3.7"; 15 ··· 17 owner = "markqvist"; 18 repo = "lxmf"; 19 rev = "refs/tags/${version}"; 20 + hash = "sha256-nZDcSVHR8IKlGBa5ljd3MmgzUPvG7Hv76WRfXxMsndY="; 21 }; 22 + 23 + nativeBuildInputs = [ 24 + setuptools 25 + ]; 26 27 propagatedBuildInputs = [ 28 rns
+4 -2
pkgs/development/python-modules/meshtastic/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , dotmap 4 , fetchFromGitHub ··· 20 21 buildPythonPackage rec { 22 pname = "meshtastic"; 23 - version = "2.2.18"; 24 pyproject = true; 25 26 disabled = pythonOlder "3.7"; ··· 29 owner = "meshtastic"; 30 repo = "Meshtastic-python"; 31 rev = "refs/tags/${version}"; 32 - hash = "sha256-r3Hs3oD6CyYa/Ew0wMiLeUj/R4aa8Wc/W65EXMrPGmw="; 33 }; 34 35 nativeBuildInputs = [ ··· 37 ]; 38 39 propagatedBuildInputs = [ 40 dotmap 41 pexpect 42 protobuf
··· 1 { lib 2 + , bleak 3 , buildPythonPackage 4 , dotmap 5 , fetchFromGitHub ··· 21 22 buildPythonPackage rec { 23 pname = "meshtastic"; 24 + version = "2.2.19"; 25 pyproject = true; 26 27 disabled = pythonOlder "3.7"; ··· 30 owner = "meshtastic"; 31 repo = "Meshtastic-python"; 32 rev = "refs/tags/${version}"; 33 + hash = "sha256-5VXvh0W3llSnpIalg1e+JyFgmlTV5J2x4VC/j2+9Xb8="; 34 }; 35 36 nativeBuildInputs = [ ··· 38 ]; 39 40 propagatedBuildInputs = [ 41 + bleak 42 dotmap 43 pexpect 44 protobuf
+20 -6
pkgs/development/python-modules/mujoco/default.nix
··· 1 - { buildPythonPackage 2 , cmake 3 , fetchPypi 4 , glfw 5 , lib 6 , mujoco 7 , numpy 8 , perl 9 - , pkgs 10 , pybind11 11 , python 12 , setuptools 13 }: 14 15 buildPythonPackage rec { 16 pname = "mujoco"; 17 - version = "3.1.0"; 18 19 pyproject = true; 20 ··· 24 # in the project's CI. 25 src = fetchPypi { 26 inherit pname version; 27 - hash = "sha256-rZNVihIuvNJnQWqA5tV9DG5r3/LttWNW6fN2js+fDb8="; 28 }; 29 30 nativeBuildInputs = [ cmake setuptools ]; 31 dontUseCmakeConfigure = true; 32 buildInputs = [ mujoco pybind11 ]; 33 - propagatedBuildInputs = [ glfw numpy ]; 34 35 pythonImportsCheck = [ "${pname}" ]; 36 ··· 48 # E.g. 3.11.2 -> "311" 49 pythonVersionMajorMinor = with lib.versions; 50 "${major python.pythonVersion}${minor python.pythonVersion}"; 51 in '' 52 ${perl}/bin/perl -0777 -i -pe "s/GIT_REPO\n.*\n.*GIT_TAG\n.*\n//gm" mujoco/CMakeLists.txt 53 ${perl}/bin/perl -0777 -i -pe "s/(FetchContent_Declare\(\n.*lodepng\n.*)(GIT_REPO.*\n.*GIT_TAG.*\n)(.*\))/\1\3/gm" mujoco/simulate/CMakeLists.txt 54 55 - build="/build/${pname}-${version}/build/temp.linux-x86_64-cpython-${pythonVersionMajorMinor}/" 56 mkdir -p $build/_deps 57 ln -s ${mujoco.pin.lodepng} $build/_deps/lodepng-src 58 ln -s ${mujoco.pin.eigen3} $build/_deps/eigen-src ··· 63 description = 64 "Python bindings for MuJoCo: a general purpose physics simulator."; 65 homepage = "https://mujoco.org/"; 66 license = licenses.asl20; 67 maintainers = with maintainers; [ tmplt ]; 68 };
··· 1 + { absl-py 2 + , buildPythonPackage 3 , cmake 4 + , etils 5 , fetchPypi 6 , glfw 7 , lib 8 , mujoco 9 , numpy 10 , perl 11 , pybind11 12 + , pyopengl 13 , python 14 , setuptools 15 + , stdenv 16 }: 17 18 buildPythonPackage rec { 19 pname = "mujoco"; 20 + version = "3.1.1"; 21 22 pyproject = true; 23 ··· 27 # in the project's CI. 28 src = fetchPypi { 29 inherit pname version; 30 + hash = "sha256-ESEnPeL79O0wnllEo9s50B84WyINIOeMRg7E78BpRbM="; 31 }; 32 33 nativeBuildInputs = [ cmake setuptools ]; 34 dontUseCmakeConfigure = true; 35 buildInputs = [ mujoco pybind11 ]; 36 + propagatedBuildInputs = [ 37 + absl-py 38 + etils 39 + glfw 40 + numpy 41 + pyopengl 42 + ]; 43 44 pythonImportsCheck = [ "${pname}" ]; 45 ··· 57 # E.g. 3.11.2 -> "311" 58 pythonVersionMajorMinor = with lib.versions; 59 "${major python.pythonVersion}${minor python.pythonVersion}"; 60 + 61 + # E.g. "linux-aarch64" 62 + platform = with stdenv.hostPlatform.parsed; 63 + "${kernel.name}-${cpu.name}"; 64 in '' 65 ${perl}/bin/perl -0777 -i -pe "s/GIT_REPO\n.*\n.*GIT_TAG\n.*\n//gm" mujoco/CMakeLists.txt 66 ${perl}/bin/perl -0777 -i -pe "s/(FetchContent_Declare\(\n.*lodepng\n.*)(GIT_REPO.*\n.*GIT_TAG.*\n)(.*\))/\1\3/gm" mujoco/simulate/CMakeLists.txt 67 68 + build="/build/${pname}-${version}/build/temp.${platform}-cpython-${pythonVersionMajorMinor}/" 69 mkdir -p $build/_deps 70 ln -s ${mujoco.pin.lodepng} $build/_deps/lodepng-src 71 ln -s ${mujoco.pin.eigen3} $build/_deps/eigen-src ··· 76 description = 77 "Python bindings for MuJoCo: a general purpose physics simulator."; 78 homepage = "https://mujoco.org/"; 79 + changelog = "https://github.com/google-deepmind/mujoco/releases/tag/${version}"; 80 license = licenses.asl20; 81 maintainers = with maintainers; [ tmplt ]; 82 };
+10 -5
pkgs/development/python-modules/nomadnet/default.nix
··· 1 { lib 2 , buildPythonPackage 3 - , rns 4 , fetchFromGitHub 5 , lxmf 6 - , urwid 7 , pythonOlder 8 , qrcode 9 }: 10 11 buildPythonPackage rec { 12 pname = "nomadnet"; 13 - version = "0.4.4"; 14 - format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 ··· 19 owner = "markqvist"; 20 repo = "NomadNet"; 21 rev = "refs/tags/${version}"; 22 - hash = "sha256-k2KJSqOIBU1UwcmNgLek+XVI/C1YwOlAg+l/XJvTx5E="; 23 }; 24 25 propagatedBuildInputs = [ 26 rns
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 , lxmf 5 , pythonOlder 6 , qrcode 7 + , rns 8 + , setuptools 9 + , urwid 10 }: 11 12 buildPythonPackage rec { 13 pname = "nomadnet"; 14 + version = "0.4.5"; 15 + pyproject = true; 16 17 disabled = pythonOlder "3.7"; 18 ··· 20 owner = "markqvist"; 21 repo = "NomadNet"; 22 rev = "refs/tags/${version}"; 23 + hash = "sha256-+w/Earu76mMJFp8ALvaDEkZOGJqlKbO7jfpW/xxvd1o="; 24 }; 25 + 26 + nativeBuildInputs = [ 27 + setuptools 28 + ]; 29 30 propagatedBuildInputs = [ 31 rns
+33 -22
pkgs/development/python-modules/openpyxl/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitLab 4 - , pythonOlder 5 - 6 - # dependencies 7 - , et-xmlfile 8 - 9 - # tests 10 , lxml 11 , pandas 12 , pillow 13 , pytestCheckHook 14 }: 15 16 buildPythonPackage rec { 17 pname = "openpyxl"; 18 version = "3.1.2"; 19 - format = "setuptools"; 20 21 disabled = pythonOlder "3.7"; 22 ··· 24 domain = "foss.heptapod.net"; 25 owner = "openpyxl"; 26 repo = "openpyxl"; 27 - rev = version; 28 hash = "sha256-SWRbjA83AOLrfe6on2CSb64pH5EWXkfyYcTqWJNBEP0="; 29 }; 30 31 propagatedBuildInputs = [ 32 et-xmlfile 33 ]; ··· 40 ]; 41 42 pytestFlagsArray = [ 43 - # broken since lxml 2.12; https://foss.heptapod.net/openpyxl/openpyxl/-/issues/2116 44 - "--deselect=openpyxl/chart/tests/test_reader.py::test_read" 45 - "--deselect=openpyxl/comments/tests/test_comment_reader.py::test_read_comments" 46 - "--deselect=openpyxl/drawing/tests/test_spreadsheet_drawing.py::TestSpreadsheetDrawing::test_ignore_external_blip" 47 - "--deselect=openpyxl/packaging/tests/test_manifest.py::TestManifest::test_from_xml" 48 - "--deselect=openpyxl/packaging/tests/test_manifest.py::TestManifest::test_filenames" 49 - "--deselect=openpyxl/packaging/tests/test_manifest.py::TestManifest::test_exts" 50 - "--deselect=openpyxl/styles/tests/test_stylesheet.py::TestStylesheet::test_from_complex" 51 - "--deselect=openpyxl/styles/tests/test_stylesheet.py::TestStylesheet::test_merge_named_styles" 52 - "--deselect=openpyxl/styles/tests/test_stylesheet.py::TestStylesheet::test_unprotected_cell" 53 - "--deselect=openpyxl/styles/tests/test_stylesheet.py::TestStylesheet::test_none_values" 54 - "--deselect=openpyxl/styles/tests/test_stylesheet.py::TestStylesheet::test_rgb_colors" 55 - "--deselect=openpyxl/styles/tests/test_stylesheet.py::TestStylesheet::test_named_styles" 56 - "--deselect=openpyxl/workbook/external_link/tests/test_external.py::test_read_ole_link" 57 ]; 58 59 pythonImportsCheck = [
··· 1 { lib 2 , buildPythonPackage 3 + , et-xmlfile 4 , fetchFromGitLab 5 , lxml 6 , pandas 7 , pillow 8 , pytestCheckHook 9 + , pythonAtLeast 10 + , pythonOlder 11 + , setuptools 12 }: 13 14 buildPythonPackage rec { 15 pname = "openpyxl"; 16 version = "3.1.2"; 17 + pyproject = true; 18 19 disabled = pythonOlder "3.7"; 20 ··· 22 domain = "foss.heptapod.net"; 23 owner = "openpyxl"; 24 repo = "openpyxl"; 25 + rev = "refs/tags/${version}"; 26 hash = "sha256-SWRbjA83AOLrfe6on2CSb64pH5EWXkfyYcTqWJNBEP0="; 27 }; 28 29 + nativeBuildInputs = [ 30 + setuptools 31 + ]; 32 + 33 propagatedBuildInputs = [ 34 et-xmlfile 35 ]; ··· 42 ]; 43 44 pytestFlagsArray = [ 45 + "-W" 46 + "ignore::DeprecationWarning" 47 + ]; 48 + disabledTests = [ 49 + # Tests broken since lxml 2.12; https://foss.heptapod.net/openpyxl/openpyxl/-/issues/2116 50 + "test_read" 51 + "test_read_comments" 52 + "test_ignore_external_blip" 53 + "test_from_xml" 54 + "test_filenames" 55 + "test_exts" 56 + "test_from_complex" 57 + "test_merge_named_styles" 58 + "test_unprotected_cell" 59 + "test_none_values" 60 + "test_rgb_colors" 61 + "test_named_styles" 62 + "test_read_ole_link" 63 + ] ++ lib.optionals (pythonAtLeast "3.11") [ 64 + "test_broken_sheet_ref" 65 + "test_name_invalid_index" 66 + "test_defined_names_print_area" 67 + "test_no_styles" 68 ]; 69 70 pythonImportsCheck = [
+2 -11
pkgs/development/python-modules/pyatem/default.nix
··· 18 19 buildPythonPackage rec { 20 pname = "pyatem"; 21 - version = "0.9.0"; # check latest version in setup.py 22 pyproject = true; 23 24 src = fetchFromSourcehut { 25 owner = "~martijnbraam"; 26 repo = "pyatem"; 27 rev = version; 28 - hash = "sha256-ntwUhgC8Cgrim+kU3B3ckgPDmPe+aEHDP4wsB45KbJg="; 29 }; 30 31 nativeBuildInputs = [ ··· 48 cp -r pyatem/{test_*.py,fixtures} $TESTDIR/ 49 pushd $TESTDIR 50 ''; 51 - 52 - disabledTests = lib.optionals (stdenv.isLinux && stdenv.isAarch64) [ 53 - # colorspace mapping has weird, but constant offsets on aarch64-linux 54 - "test_blueramp" 55 - "test_greenramp" 56 - "test_hues" 57 - "test_primaries" 58 - "test_redramp" 59 - ]; 60 61 postCheck = '' 62 popd
··· 18 19 buildPythonPackage rec { 20 pname = "pyatem"; 21 + version = "0.10.0"; # check latest version in setup.py 22 pyproject = true; 23 24 src = fetchFromSourcehut { 25 owner = "~martijnbraam"; 26 repo = "pyatem"; 27 rev = version; 28 + hash = "sha256-O+f1vVwfGJjLem25hsYE1Q1V4vzjrc0HxTBUCANCEwE="; 29 }; 30 31 nativeBuildInputs = [ ··· 48 cp -r pyatem/{test_*.py,fixtures} $TESTDIR/ 49 pushd $TESTDIR 50 ''; 51 52 postCheck = '' 53 popd
+4 -4
pkgs/development/python-modules/pyhanko-certvalidator/default.nix
··· 16 17 buildPythonPackage rec { 18 pname = "pyhanko-certvalidator"; 19 - version = "0.26.2"; 20 pyproject = true; 21 22 disabled = pythonOlder "3.7"; ··· 25 owner = "MatthiasValvekens"; 26 repo = "certvalidator"; 27 rev = "refs/tags/v${version}"; 28 - hash = "sha256-yGFaRpAOTbuVfY5UefC1sdJS4FFkgkIZnHHG35p3n3E="; 29 }; 30 31 postPatch = '' ··· 68 "test_revocation_mode_hard_aiohttp_autofetch" 69 # The path could not be validated because no revocation information could be found for intermediate certificate 1 70 "test_revocation_mode_hard" 71 - # certificate expired 2022-09-17 72 - "test_revocation_mode_soft" 73 ]; 74 75 pythonImportsCheck = [
··· 16 17 buildPythonPackage rec { 18 pname = "pyhanko-certvalidator"; 19 + version = "0.26.3"; 20 pyproject = true; 21 22 disabled = pythonOlder "3.7"; ··· 25 owner = "MatthiasValvekens"; 26 repo = "certvalidator"; 27 rev = "refs/tags/v${version}"; 28 + hash = "sha256-uUmsWiN182g+kxrCny7UNLDHdAdqKk64w6vnjmGBNjM="; 29 }; 30 31 postPatch = '' ··· 68 "test_revocation_mode_hard_aiohttp_autofetch" 69 # The path could not be validated because no revocation information could be found for intermediate certificate 1 70 "test_revocation_mode_hard" 71 + # ValueError: Hash algorithm not known for ed448 72 + "test_ed" 73 ]; 74 75 pythonImportsCheck = [
+10 -6
pkgs/development/python-modules/pykwalify/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , python-dateutil 4 , docopt 5 , fetchPypi 6 , pytestCheckHook 7 - , pyyaml 8 , ruamel-yaml 9 , testfixtures 10 }: ··· 19 hash = "sha256-eWsq0+1MuZuIMItTP7L1WcMPpu+0+p/aETR/SD0kWIQ="; 20 }; 21 22 propagatedBuildInputs = [ 23 python-dateutil 24 docopt 25 - pyyaml 26 ruamel-yaml 27 ]; 28 29 nativeCheckInputs = [ 30 pytestCheckHook 31 testfixtures 32 - ]; 33 - 34 - disabledTests = [ 35 - "test_multi_file_support" 36 ]; 37 38 pythonImportsCheck = [ "pykwalify" ];
··· 1 { lib 2 , buildPythonPackage 3 + , fetchpatch 4 , python-dateutil 5 , docopt 6 , fetchPypi 7 , pytestCheckHook 8 , ruamel-yaml 9 , testfixtures 10 }: ··· 19 hash = "sha256-eWsq0+1MuZuIMItTP7L1WcMPpu+0+p/aETR/SD0kWIQ="; 20 }; 21 22 + patches = [ 23 + # fix test failures with ruamel.yaml 0.18+ 24 + (fetchpatch { 25 + name = "pykwalify-fix-tests-ruamel-yaml-0.18.patch"; 26 + url = "https://github.com/Grokzen/pykwalify/commit/57bb2ba5c28b6928edb3f07ef581a5a807524baf.diff"; 27 + hash = "sha256-XUiebDzFSvNrPpRMoc2lv9m+30cfFh0N0rznMiSdQ/0="; 28 + }) 29 + ]; 30 + 31 propagatedBuildInputs = [ 32 python-dateutil 33 docopt 34 ruamel-yaml 35 ]; 36 37 nativeCheckInputs = [ 38 pytestCheckHook 39 testfixtures 40 ]; 41 42 pythonImportsCheck = [ "pykwalify" ];
+2 -2
pkgs/development/python-modules/pytest-cases/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "pytest-cases"; 13 - version = "3.8.1"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.6"; 17 18 src = fetchPypi { 19 inherit pname version; 20 - hash = "sha256-Sdf2+K1TTlpuc/uPX9OJhmBvF7Ru5V9+vuB6VcZ3ygE="; 21 }; 22 23 nativeBuildInputs = [
··· 10 11 buildPythonPackage rec { 12 pname = "pytest-cases"; 13 + version = "3.8.2"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.6"; 17 18 src = fetchPypi { 19 inherit pname version; 20 + hash = "sha256-JM7AEoyCL1G19AL6zgnnBJlU2WddsspnX84e9/j3Seg="; 21 }; 22 23 nativeBuildInputs = [
+28 -7
pkgs/development/python-modules/pytest-random-order/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 , pythonOlder 5 - , pytest 6 }: 7 8 buildPythonPackage rec { 9 - version = "1.1.0"; 10 - format = "setuptools"; 11 pname = "pytest-random-order"; 12 13 src = fetchPypi { 14 inherit pname version; 15 - hash = "sha256-2+beu5NTp6+YTMnt2+s1d91Nu8wVKaeePSH2jtm0VgU="; 16 }; 17 18 - disabled = pythonOlder "3.5"; 19 20 - buildInputs = [ pytest ]; 21 22 meta = with lib; { 23 homepage = "https://github.com/jbasko/pytest-random-order"; 24 description = "Randomise the order of tests with some control over the randomness"; 25 license = licenses.mit; 26 - maintainers = [ maintainers.prusnak ]; 27 }; 28 }
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 + , py 5 + , pytest 6 + , pytest-xdist 7 + , pytestCheckHook 8 , pythonOlder 9 + , setuptools 10 }: 11 12 buildPythonPackage rec { 13 pname = "pytest-random-order"; 14 + version = "1.1.1"; 15 + pyproject = true; 16 + 17 + disabled = pythonOlder "3.5"; 18 19 src = fetchPypi { 20 inherit pname version; 21 + hash = "sha256-RHLX008fHF86NZxP/FwT7QZSMvMeyhnIhEwatAbnkIA="; 22 }; 23 24 + nativeBuildInputs = [ 25 + setuptools 26 + ]; 27 + 28 + buildInputs = [ 29 + pytest 30 + ]; 31 + 32 + nativeCheckInputs = [ 33 + py 34 + pytest-xdist 35 + pytestCheckHook 36 + ]; 37 38 + pythonImportsCheck = [ 39 + "random_order" 40 + ]; 41 42 meta = with lib; { 43 homepage = "https://github.com/jbasko/pytest-random-order"; 44 description = "Randomise the order of tests with some control over the randomness"; 45 + changelog = "https://github.com/jbasko/pytest-random-order/releases/tag/v${version}"; 46 license = licenses.mit; 47 + maintainers = with maintainers; [ prusnak ]; 48 }; 49 }
+42 -10
pkgs/development/python-modules/pyutil/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 , simplejson 5 - , mock 6 , twisted 7 - , isPyPy 8 }: 9 10 buildPythonPackage rec { 11 pname = "pyutil"; 12 version = "3.3.6"; 13 - format = "setuptools"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-XcPWu5xbq6u10Ldz4JQEXXVxLos0ry0psOKGAmaCZ8A="; 18 }; 19 20 - propagatedBuildInputs = [ simplejson ]; 21 - 22 - nativeCheckInputs = [ mock twisted ]; 23 - 24 prePatch = lib.optionalString isPyPy '' 25 grep -rl 'utf-8-with-signature-unix' ./ | xargs sed -i -e "s|utf-8-with-signature-unix|utf-8|g" 26 ''; 27 28 - meta = with lib; { 29 - description = "Pyutil, a collection of mature utilities for Python programmers"; 30 31 longDescription = '' 32 These are a few data structures, classes and functions which 33 we've needed over many years of Python programming and which ··· 37 Python language or its standard library, thus showing that 38 we're not alone in wanting tools like these. 39 ''; 40 - 41 homepage = "https://github.com/tpltnt/pyutil"; 42 license = licenses.gpl2Plus; 43 maintainers = with maintainers; [ prusnak ];
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 + , isPyPy 5 + , mock 6 + , pytestCheckHook 7 + , pythonAtLeast 8 + , pythonOlder 9 + , setuptools 10 , simplejson 11 , twisted 12 + , versioneer 13 }: 14 15 buildPythonPackage rec { 16 pname = "pyutil"; 17 version = "3.3.6"; 18 + pyproject = true; 19 + 20 + disabled = pythonOlder "3.8"; 21 22 src = fetchPypi { 23 inherit pname version; 24 hash = "sha256-XcPWu5xbq6u10Ldz4JQEXXVxLos0ry0psOKGAmaCZ8A="; 25 }; 26 27 prePatch = lib.optionalString isPyPy '' 28 grep -rl 'utf-8-with-signature-unix' ./ | xargs sed -i -e "s|utf-8-with-signature-unix|utf-8|g" 29 ''; 30 31 + nativeBuildInputs = [ 32 + setuptools 33 + versioneer 34 + ]; 35 36 + passthru.optional-dependencies = { 37 + jsonutil = [ 38 + simplejson 39 + ]; 40 + # Module not available 41 + # randcookie = [ 42 + # zbase32 43 + # ]; 44 + }; 45 + 46 + nativeCheckInputs = [ 47 + mock 48 + twisted 49 + pytestCheckHook 50 + ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); 51 + 52 + pythonImportsCheck = [ 53 + "pyutil" 54 + ]; 55 + 56 + disabledTests = lib.optionals (pythonAtLeast "3.12") [ 57 + # https://github.com/tpltnt/pyutil/issues/10 58 + "test_decimal" 59 + "test_float" 60 + ]; 61 + 62 + meta = with lib; { 63 + description = "Collection of mature utilities for Python programmers"; 64 longDescription = '' 65 These are a few data structures, classes and functions which 66 we've needed over many years of Python programming and which ··· 70 Python language or its standard library, thus showing that 71 we're not alone in wanting tools like these. 72 ''; 73 homepage = "https://github.com/tpltnt/pyutil"; 74 license = licenses.gpl2Plus; 75 maintainers = with maintainers; [ prusnak ];
+5 -7
pkgs/development/python-modules/qbittorrent-api/default.nix
··· 2 , buildPythonPackage 3 , fetchPypi 4 , requests 5 - , six 6 , urllib3 7 , packaging 8 , setuptools 9 - , wheel 10 }: 11 12 buildPythonPackage rec { 13 pname = "qbittorrent-api"; 14 - version = "2023.11.57"; 15 - format = "pyproject"; 16 17 src = fetchPypi { 18 inherit pname version; 19 - hash = "sha256-fmFJW4PDQc7szu0ymE+fV9k6wUDLRHkOriEHDnzDSQg="; 20 }; 21 22 propagatedBuildInputs = [ 23 requests 24 - six 25 urllib3 26 packaging 27 ]; 28 29 nativeBuildInputs = [ 30 setuptools 31 - wheel 32 ]; 33 34 # Tests require internet access
··· 2 , buildPythonPackage 3 , fetchPypi 4 , requests 5 , urllib3 6 , packaging 7 , setuptools 8 + , setuptools-scm 9 }: 10 11 buildPythonPackage rec { 12 pname = "qbittorrent-api"; 13 + version = "2024.1.58"; 14 + pyproject = true; 15 16 src = fetchPypi { 17 inherit pname version; 18 + hash = "sha256-6JyU9mr0xfRLB7AJOcnPc+PpF0EWi/R/Wy3lCKanAmA="; 19 }; 20 21 propagatedBuildInputs = [ 22 requests 23 urllib3 24 packaging 25 ]; 26 27 nativeBuildInputs = [ 28 setuptools 29 + setuptools-scm 30 ]; 31 32 # Tests require internet access
+11 -6
pkgs/development/python-modules/qrcode/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 - , setuptools 5 , pillow 6 , pypng 7 - , typing-extensions 8 - , mock 9 , pytestCheckHook 10 , testers 11 - , qrcode 12 }: 13 14 buildPythonPackage rec { 15 pname = "qrcode"; 16 version = "7.4.2"; 17 - format = "pyproject"; 18 19 src = fetchPypi { 20 inherit pname version; ··· 48 }; 49 }; 50 51 meta = with lib; { 52 description = "Python QR Code image generator"; 53 homepage = "https://github.com/lincolnloop/python-qrcode"; 54 changelog = "https://github.com/lincolnloop/python-qrcode/blob/v${version}/CHANGES.rst"; 55 license = licenses.bsd3; 56 }; 57 - 58 }
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 + , mock 5 , pillow 6 , pypng 7 , pytestCheckHook 8 + , pythonAtLeast 9 + , qrcode 10 + , setuptools 11 , testers 12 + , typing-extensions 13 }: 14 15 buildPythonPackage rec { 16 pname = "qrcode"; 17 version = "7.4.2"; 18 + pyproject = true; 19 20 src = fetchPypi { 21 inherit pname version; ··· 49 }; 50 }; 51 52 + disabledTests = lib.optionals (pythonAtLeast "3.12") [ 53 + "test_change" 54 + ]; 55 + 56 meta = with lib; { 57 description = "Python QR Code image generator"; 58 homepage = "https://github.com/lincolnloop/python-qrcode"; 59 changelog = "https://github.com/lincolnloop/python-qrcode/blob/v${version}/CHANGES.rst"; 60 license = licenses.bsd3; 61 + maintainers = with maintainers; [ ]; 62 }; 63 }
+2 -2
pkgs/development/python-modules/riscv-config/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "riscv-config"; 13 - version = "3.14.3"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; ··· 19 owner = "riscv-software-src"; 20 repo = pname; 21 rev = "refs/tags/${version}"; 22 - hash = "sha256-a6rTKCLAHrdfP/M8Q8YYSck4q+7tmospMFcCdIdNyy0="; 23 }; 24 25 propagatedBuildInputs = [
··· 10 11 buildPythonPackage rec { 12 pname = "riscv-config"; 13 + version = "3.17.0"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; ··· 19 owner = "riscv-software-src"; 20 repo = pname; 21 rev = "refs/tags/${version}"; 22 + hash = "sha256-dMs900w5sXggqxU+2W8qKrKjGpyrXhA2QEbXQeaKZTs="; 23 }; 24 25 propagatedBuildInputs = [
+8 -3
pkgs/development/python-modules/rns/default.nix
··· 5 , netifaces 6 , pyserial 7 , pythonOlder 8 }: 9 10 buildPythonPackage rec { 11 pname = "rns"; 12 - version = "0.6.9"; 13 - format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 ··· 18 owner = "markqvist"; 19 repo = "Reticulum"; 20 rev = "refs/tags/${version}"; 21 - hash = "sha256-L99eeDGbXXS9bff+r4j5AmmuICfeNKRD8+71+ojw320="; 22 }; 23 24 propagatedBuildInputs = [ 25 cryptography
··· 5 , netifaces 6 , pyserial 7 , pythonOlder 8 + , setuptools 9 }: 10 11 buildPythonPackage rec { 12 pname = "rns"; 13 + version = "0.7.0"; 14 + pyproject = true; 15 16 disabled = pythonOlder "3.7"; 17 ··· 19 owner = "markqvist"; 20 repo = "Reticulum"; 21 rev = "refs/tags/${version}"; 22 + hash = "sha256-iwW52jPSCwelfByerKHxKgH4NbWwCJLPyHXyBeJPwaM="; 23 }; 24 + 25 + nativeBuildInputs = [ 26 + setuptools 27 + ]; 28 29 propagatedBuildInputs = [ 30 cryptography
+2 -2
pkgs/development/python-modules/socialscan/default.nix
··· 9 10 buildPythonPackage rec { 11 pname = "socialscan"; 12 - version = "2.0.0"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.8"; ··· 18 owner = "iojw"; 19 repo = pname; 20 rev = "refs/tags/v${version}"; 21 - hash = "sha256-jiyTcpJ00DvfweChawj1ugdCVHHAdwDbHEp9jivH7gs="; 22 }; 23 24 propagatedBuildInputs = [
··· 9 10 buildPythonPackage rec { 11 pname = "socialscan"; 12 + version = "2.0.1"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.8"; ··· 18 owner = "iojw"; 19 repo = pname; 20 rev = "refs/tags/v${version}"; 21 + hash = "sha256-4JJVhB6x1NGagtfzE03Jae2GOr25hh+4l7gQ23zc7Ck="; 22 }; 23 24 propagatedBuildInputs = [
+59
pkgs/development/python-modules/spython/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , setuptools 5 + , pytestCheckHook 6 + , pythonOlder 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "spython"; 11 + version = "0.3.12"; 12 + pyproject = true; 13 + 14 + disabled = pythonOlder "3.9"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "singularityhub"; 18 + repo = "singularity-cli"; 19 + rev = "refs/tags/${version}"; 20 + hash = "sha256-fRtqOpDgVMYlVDwbPkrnpd7PT4fV+2WS6RmpJoxaKdQ="; 21 + }; 22 + 23 + postPatch = '' 24 + substituteInPlace setup.py \ 25 + --replace '"pytest-runner"' "" 26 + ''; 27 + 28 + nativeBuildInputs = [ 29 + setuptools 30 + ]; 31 + 32 + nativeCheckInputs = [ 33 + pytestCheckHook 34 + ]; 35 + 36 + pythonImportsCheck = [ 37 + "spython" 38 + ]; 39 + 40 + disabledTests = [ 41 + # Assertion errors 42 + "test_has_no_instances" 43 + "test_check_install" 44 + "test_check_get_singularity_version" 45 + ]; 46 + 47 + disabledTestPaths = [ 48 + # Tests are looking for something that doesn't exist 49 + "spython/tests/test_client.py" 50 + ]; 51 + 52 + meta = with lib; { 53 + description = "Streamlined singularity python client (spython) for singularity"; 54 + homepage = "https://github.com/singularityhub/singularity-cli"; 55 + changelog = "https://github.com/singularityhub/singularity-cli/blob/${version}/CHANGELOG.md"; 56 + license = licenses.mpl20; 57 + maintainers = with maintainers; [ fab ]; 58 + }; 59 + }
+2 -2
pkgs/development/python-modules/thermopro-ble/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "thermopro-ble"; 14 - version = "0.5.0"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.9"; ··· 20 owner = "bluetooth-devices"; 21 repo = pname; 22 rev = "refs/tags/v${version}"; 23 - hash = "sha256-4lk/K9XW9naPDRXmuqKFBdOwMtLlQE8etJFEbNgfIvA="; 24 }; 25 26 nativeBuildInputs = [
··· 11 12 buildPythonPackage rec { 13 pname = "thermopro-ble"; 14 + version = "0.8.0"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.9"; ··· 20 owner = "bluetooth-devices"; 21 repo = pname; 22 rev = "refs/tags/v${version}"; 23 + hash = "sha256-ENzFX0rD97hCnllFKjcSGbAbEksqln/Hj0MuDVOKGDo="; 24 }; 25 26 nativeBuildInputs = [
+42 -11
pkgs/development/python-modules/urwid/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 - 5 - # build-system 6 , setuptools 7 , setuptools-scm 8 - 9 - # tests 10 - , glibcLocales 11 - , pytestCheckHook 12 }: 13 14 buildPythonPackage rec { 15 pname = "urwid"; 16 - version = "2.2.3"; 17 - format = "pyproject"; 18 19 src = fetchFromGitHub { 20 owner = "urwid"; 21 repo = "urwid"; 22 rev = "refs/tags/${version}"; 23 - hash = "sha256-oPb2h/+gaqkZTXIiESjExMfBNnOzDvoMkXvkZ/+KVwo="; 24 }; 25 26 postPatch = '' ··· 32 setuptools-scm 33 ]; 34 35 nativeCheckInputs = [ 36 glibcLocales 37 pytestCheckHook 38 - ]; 39 40 env.LC_ALL = "en_US.UTF8"; 41 ··· 53 ]; 54 55 meta = with lib; { 56 - changelog = "https://github.com/urwid/urwid/releases/tag/${version}"; 57 description = "A full-featured console (xterm et al.) user interface library"; 58 downloadPage = "https://github.com/urwid/urwid"; 59 homepage = "https://urwid.org/"; 60 license = licenses.lgpl21Plus;
··· 1 { lib 2 , buildPythonPackage 3 + , exceptiongroup 4 , fetchFromGitHub 5 + , glibcLocales 6 + , pygobject3 7 + , pyserial 8 + , pytestCheckHook 9 + , pythonOlder 10 + , pyzmq 11 , setuptools 12 , setuptools-scm 13 + , tornado 14 + , trio 15 + , twisted 16 }: 17 18 buildPythonPackage rec { 19 pname = "urwid"; 20 + version = "2.4.3"; 21 + pyproject = true; 22 + 23 + disabled = pythonOlder "3.7"; 24 25 src = fetchFromGitHub { 26 owner = "urwid"; 27 repo = "urwid"; 28 rev = "refs/tags/${version}"; 29 + hash = "sha256-raDsUZaXBC4s/48KNH8Thrpm8Bq8wj9+Rahk+LkxcDo="; 30 }; 31 32 postPatch = '' ··· 38 setuptools-scm 39 ]; 40 41 + passthru.optional-dependencies = { 42 + glib = [ 43 + pygobject3 44 + ]; 45 + tornado = [ 46 + tornado 47 + ]; 48 + trio = [ 49 + exceptiongroup 50 + trio 51 + ]; 52 + twisted = [ 53 + twisted 54 + ]; 55 + zmq = [ 56 + pyzmq 57 + ]; 58 + serial = [ 59 + pyserial 60 + ]; 61 + lcd = [ 62 + pyserial 63 + ]; 64 + }; 65 + 66 nativeCheckInputs = [ 67 glibcLocales 68 pytestCheckHook 69 + ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); 70 71 env.LC_ALL = "en_US.UTF8"; 72 ··· 84 ]; 85 86 meta = with lib; { 87 description = "A full-featured console (xterm et al.) user interface library"; 88 + changelog = "https://github.com/urwid/urwid/releases/tag/${version}"; 89 downloadPage = "https://github.com/urwid/urwid"; 90 homepage = "https://urwid.org/"; 91 license = licenses.lgpl21Plus;
+35 -8
pkgs/development/python-modules/whispers/default.nix
··· 4 , buildPythonPackage 5 , crossplane 6 , fetchFromGitHub 7 , jellyfish 8 , jproperties 9 , luhn ··· 12 , pytestCheckHook 13 , pythonOlder 14 , pyyaml 15 }: 16 17 buildPythonPackage rec { 18 pname = "whispers"; 19 version = "2.2.0"; 20 - format = "setuptools"; 21 22 disabled = pythonOlder "3.7"; 23 24 src = fetchFromGitHub { 25 owner = "adeptex"; 26 - repo = pname; 27 rev = "refs/tags/${version}"; 28 hash = "sha256-9vXku8BWJtlf+lmAcQ8a7qTisRNc+xVw0T0Eunc4lt4="; 29 }; 30 31 propagatedBuildInputs = [ 32 astroid 33 beautifulsoup4 ··· 44 pytestCheckHook 45 ]; 46 47 - postPatch = '' 48 - substituteInPlace setup.py \ 49 - --replace '"pytest-runner"' "" 50 - ''; 51 - 52 preCheck = '' 53 # Some tests need the binary available in PATH 54 export PATH=$out/bin:$PATH ··· 60 61 meta = with lib; { 62 description = "Tool to identify hardcoded secrets in static structured text"; 63 - homepage = "https://github.com/Skyscanner/whispers"; 64 license = with licenses; [ asl20 ]; 65 maintainers = with maintainers; [ fab ]; 66 };
··· 4 , buildPythonPackage 5 , crossplane 6 , fetchFromGitHub 7 + , fetchpatch 8 , jellyfish 9 , jproperties 10 , luhn ··· 13 , pytestCheckHook 14 , pythonOlder 15 , pyyaml 16 + , setuptools 17 }: 18 19 buildPythonPackage rec { 20 pname = "whispers"; 21 version = "2.2.0"; 22 + pyproject = true; 23 24 disabled = pythonOlder "3.7"; 25 26 src = fetchFromGitHub { 27 owner = "adeptex"; 28 + repo = "whispers"; 29 rev = "refs/tags/${version}"; 30 hash = "sha256-9vXku8BWJtlf+lmAcQ8a7qTisRNc+xVw0T0Eunc4lt4="; 31 }; 32 33 + patches = [ 34 + # Support astroid > 3, https://github.com/adeptex/whispers/pull/117 35 + (fetchpatch { 36 + url = "https://github.com/adeptex/whispers/commit/ff25e81cb3d775e5fb186c2d135b77c27d9ed43a.patch"; 37 + hash = "sha256-jKm7fs04mGUD7MZYAA/3xt01e9knuLun3c3u8PlLebg="; 38 + }) 39 + (fetchpatch { 40 + url = "https://github.com/adeptex/whispers/commit/ba6a56dddb12d1cb62f94dd7659ba24fdc4363ee.patch"; 41 + hash = "sha256-eHWnXHT0lzS7BqneMqfvV3w6GfrCiTJ5i+av82J+fpk="; 42 + }) 43 + (fetchpatch { 44 + url = "https://github.com/adeptex/whispers/commit/8b7b1593eb86abfc09b3581d463fc7d0e06309dc.patch"; 45 + hash = "sha256-JcRdv5eIyXKWaVqbJZlYqiSieE4z0MKF4dvO/hRBBMs="; 46 + }) 47 + (fetchpatch { 48 + url = "https://github.com/adeptex/whispers/commit/71dcb614e4d9e0247afc50cd4214659739f8844e.patch"; 49 + hash = "sha256-7XIFuc8Rf2ValN3BoAJOjSqjgmiOauxCFonMgGljFg0="; 50 + }) 51 + ]; 52 + 53 + postPatch = '' 54 + substituteInPlace setup.py \ 55 + --replace '"pytest-runner"' "" 56 + ''; 57 + 58 + nativeBuildInputs = [ 59 + setuptools 60 + ]; 61 + 62 propagatedBuildInputs = [ 63 astroid 64 beautifulsoup4 ··· 75 pytestCheckHook 76 ]; 77 78 preCheck = '' 79 # Some tests need the binary available in PATH 80 export PATH=$out/bin:$PATH ··· 86 87 meta = with lib; { 88 description = "Tool to identify hardcoded secrets in static structured text"; 89 + homepage = "https://github.com/adeptex/whispers"; 90 + changelog = "https://github.com/adeptex/whispers/releases/tag/${version}"; 91 license = with licenses; [ asl20 ]; 92 maintainers = with maintainers; [ fab ]; 93 };
+2 -2
pkgs/development/python-modules/xstatic/default.nix
··· 5 6 buildPythonPackage rec { 7 pname = "XStatic"; 8 - version = "1.0.2"; 9 10 src = fetchPypi { 11 inherit version pname; 12 - sha256 = "80b78dfe37bce6dee4343d64c65375a80bcf399b46dd47c0c7d56161568a23a8"; 13 }; 14 15 # no tests implemented
··· 5 6 buildPythonPackage rec { 7 pname = "XStatic"; 8 + version = "1.0.3"; 9 10 src = fetchPypi { 11 inherit version pname; 12 + sha256 = "sha256-QCVEzJ4XlIlEEFTwnIB4BOEV6iRpB96HwDVftPWjEmg="; 13 }; 14 15 # no tests implemented
+16 -6
pkgs/development/python-modules/zfec/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 , setuptools 5 - , pyutil 6 , twisted 7 }: 8 ··· 20 setuptools 21 ]; 22 23 - propagatedBuildInputs = [ pyutil ]; 24 25 - nativeCheckInputs = [ twisted ]; 26 27 - checkPhase = "trial zfec"; 28 29 - pythonImportsCheck = [ "zfec" ]; 30 31 meta = with lib; { 32 homepage = "https://github.com/tahoe-lafs/zfec"; 33 - description = "Zfec, a fast erasure codec which can be used with the command-line, C, Python, or Haskell"; 34 longDescription = '' 35 Fast, portable, programmable erasure coding a.k.a. "forward 36 error correction": the generation of redundant blocks of
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 + , hypothesis 5 + , pyutil 6 , setuptools 7 , twisted 8 }: 9 ··· 21 setuptools 22 ]; 23 24 + propagatedBuildInputs = [ 25 + pyutil 26 + ]; 27 28 + nativeCheckInputs = [ 29 + hypothesis 30 + twisted 31 + ]; 32 33 + checkPhase = '' 34 + trial zfec 35 + ''; 36 37 + pythonImportsCheck = [ 38 + "zfec" 39 + ]; 40 41 meta = with lib; { 42 homepage = "https://github.com/tahoe-lafs/zfec"; 43 + description = "Fast erasure codec which can be used with the command-line, C, Python, or Haskell"; 44 longDescription = '' 45 Fast, portable, programmable erasure coding a.k.a. "forward 46 error correction": the generation of redundant blocks of
+2 -2
pkgs/development/tools/analysis/codeql/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "codeql"; 5 - version = "2.15.5"; 6 7 dontConfigure = true; 8 dontBuild = true; ··· 10 11 src = fetchzip { 12 url = "https://github.com/github/codeql-cli-binaries/releases/download/v${version}/codeql.zip"; 13 - hash = "sha256-FkiGyug8kYxiVdsnljwka4PJz5BSFVRVlOOf5pjTvM8="; 14 }; 15 16 nativeBuildInputs = [
··· 2 3 stdenv.mkDerivation rec { 4 pname = "codeql"; 5 + version = "2.16.0"; 6 7 dontConfigure = true; 8 dontBuild = true; ··· 10 11 src = fetchzip { 12 url = "https://github.com/github/codeql-cli-binaries/releases/download/v${version}/codeql.zip"; 13 + hash = "sha256-1XqpERNM4rNyv9HT1jyZIqSkEDsajIJ9D0FzWcFm20c="; 14 }; 15 16 nativeBuildInputs = [
+2 -2
pkgs/development/tools/analysis/cppcheck/default.nix
··· 14 15 stdenv.mkDerivation (finalAttrs: { 16 pname = "cppcheck"; 17 - version = "2.13.0"; 18 19 outputs = [ "out" "man" ]; 20 ··· 22 owner = "danmar"; 23 repo = "cppcheck"; 24 rev = finalAttrs.version; 25 - hash = "sha256-+z8mMwI4hHpE3enIriTsxZEocqifppYgjZz3UPGswIo="; 26 }; 27 28 nativeBuildInputs = [
··· 14 15 stdenv.mkDerivation (finalAttrs: { 16 pname = "cppcheck"; 17 + version = "2.13.1"; 18 19 outputs = [ "out" "man" ]; 20 ··· 22 owner = "danmar"; 23 repo = "cppcheck"; 24 rev = finalAttrs.version; 25 + hash = "sha256-X2HMC0Mij4odyyl79bgCyaw3qRMjEQBbHO3Q2kE9YLE="; 26 }; 27 28 nativeBuildInputs = [
+3 -3
pkgs/development/tools/analysis/tflint/default.nix
··· 10 11 buildGoModule rec { 12 pname = "tflint"; 13 - version = "0.50.1"; 14 15 src = fetchFromGitHub { 16 owner = "terraform-linters"; 17 repo = pname; 18 rev = "v${version}"; 19 - hash = "sha256-r/mVLgJudHyNvQa9H9pQ1qhiFx11RikIg4IIz5tC6Us="; 20 }; 21 22 - vendorHash = "sha256-iyJx5dp+NYbaJhZL67ZjFd28ms3vyF38z9P8qJscryQ="; 23 24 doCheck = false; 25
··· 10 11 buildGoModule rec { 12 pname = "tflint"; 13 + version = "0.50.2"; 14 15 src = fetchFromGitHub { 16 owner = "terraform-linters"; 17 repo = pname; 18 rev = "v${version}"; 19 + hash = "sha256-MZx8lJTUWrKDXWGlmsCDT4Fjf56GrTJ/byn+htXOFfg="; 20 }; 21 22 + vendorHash = "sha256-N8J9s9gJEooqrsAUMcC9BZ65qlmpERPoqdknzYZxIIk="; 23 24 doCheck = false; 25
+2 -2
pkgs/development/tools/apktool/default.nix
··· 8 9 stdenv.mkDerivation rec { 10 pname = "apktool"; 11 - version = "2.9.2"; 12 13 src = fetchurl { 14 urls = [ 15 "https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_${version}.jar" 16 "https://github.com/iBotPeaches/Apktool/releases/download/v${version}/apktool_${version}.jar" 17 ]; 18 - hash = "sha256-gx8P/Je28g9RHWGDy/Z4VGTTQarLD7fm8i7wx7IokRo="; 19 }; 20 21 dontUnpack = true;
··· 8 9 stdenv.mkDerivation rec { 10 pname = "apktool"; 11 + version = "2.9.3"; 12 13 src = fetchurl { 14 urls = [ 15 "https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_${version}.jar" 16 "https://github.com/iBotPeaches/Apktool/releases/download/v${version}/apktool_${version}.jar" 17 ]; 18 + hash = "sha256-eVbrBBlDAM4NCoStGHce68lLifuNHdzOjqTAVoGGRvQ="; 19 }; 20 21 dontUnpack = true;
+2 -2
pkgs/development/tools/avro-tools/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "avro-tools"; 5 - version = "1.11.1"; 6 7 src = fetchurl { 8 url = 9 "mirror://maven/org/apache/avro/avro-tools/${version}/${pname}-${version}.jar"; 10 - sha256 = "sha256-uVTnWXbCS3JQkHWxopixhNue/ihzvukJ0CNDL5gm24g="; 11 }; 12 13 dontUnpack = true;
··· 2 3 stdenv.mkDerivation rec { 4 pname = "avro-tools"; 5 + version = "1.11.3"; 6 7 src = fetchurl { 8 url = 9 "mirror://maven/org/apache/avro/avro-tools/${version}/${pname}-${version}.jar"; 10 + sha256 = "sha256-dPaV1rZxxE+G/gB7hEDyiMI7ZbzkTpNEtexp/Y6hrPI="; 11 }; 12 13 dontUnpack = true;
+15 -15
pkgs/development/tools/electron/info.json
··· 3 "deps": { 4 "src/electron": { 5 "fetcher": "fetchFromGitHub", 6 - "hash": "sha256-QY0JaQVI60WAzWNWDXZRejFODA+p0LMjYvk2CMF8czs=", 7 "owner": "electron", 8 "repo": "electron", 9 - "rev": "v28.1.3" 10 }, 11 "src": { 12 "fetcher": "fetchFromGitiles", 13 - "hash": "sha256-7tGDiHumIfb5ST8tCNUCN7pjlcU+R13j68vYKTu0wiQ=", 14 "url": "https://chromium.googlesource.com/chromium/src.git", 15 - "rev": "120.0.6099.199", 16 "postFetch": "rm -r $out/third_party/blink/web_tests; rm -r $out/third_party/hunspell/tests; rm -r $out/content/test/data; rm -r $out/courgette/testdata; rm -r $out/extensions/test/data; rm -r $out/media/test/data; " 17 }, 18 "src/third_party/clang-format/script": { ··· 873 "rev": "78d3966b3c331292ea29ec38661b25df0a245948" 874 } 875 }, 876 - "version": "28.1.3", 877 "modules": "119", 878 - "chrome": "120.0.6099.199", 879 "node": "18.18.2", 880 "chromium": { 881 - "version": "120.0.6099.199", 882 "deps": { 883 "gn": { 884 "version": "2023-10-23", ··· 895 "deps": { 896 "src/electron": { 897 "fetcher": "fetchFromGitHub", 898 - "hash": "sha256-C9Oj6xuPFnj5Wh+VeeXc9AJ3Pgxq+SGn624OFWseO4M=", 899 "owner": "electron", 900 "repo": "electron", 901 - "rev": "v27.2.2" 902 }, 903 "src": { 904 "fetcher": "fetchFromGitiles", ··· 1765 "rev": "78d3966b3c331292ea29ec38661b25df0a245948" 1766 } 1767 }, 1768 - "version": "27.2.2", 1769 "modules": "118", 1770 "chrome": "118.0.5993.159", 1771 "node": "18.17.1", ··· 1780 } 1781 } 1782 }, 1783 - "chromium_npm_hash": "sha256-5cjqpYB45nw2gop54VP+tL7/0w63nQGfQ4x6a6KS7XQ=", 1784 - "electron_yarn_hash": "1rxijv3fspjfan7mmw4cmxcb231ny7gn72yzsdnqs0225alrjac0" 1785 }, 1786 "26": { 1787 "deps": { 1788 "src/electron": { 1789 "fetcher": "fetchFromGitHub", 1790 - "hash": "sha256-KTvbe8reOTqzqXoPHBQY24mxvUSokGh8JlxCJTdNxbc=", 1791 "owner": "electron", 1792 "repo": "electron", 1793 - "rev": "v26.6.5" 1794 }, 1795 "src": { 1796 "fetcher": "fetchFromGitiles", ··· 2609 "rev": "78d3966b3c331292ea29ec38661b25df0a245948" 2610 } 2611 }, 2612 - "version": "26.6.5", 2613 "modules": "116", 2614 "chrome": "116.0.5845.228", 2615 "node": "18.16.1",
··· 3 "deps": { 4 "src/electron": { 5 "fetcher": "fetchFromGitHub", 6 + "hash": "sha256-NncDuvceqh2QU7EeHaeyIBEp1kXpPLKkhXlqfqaRmGM=", 7 "owner": "electron", 8 "repo": "electron", 9 + "rev": "v28.1.4" 10 }, 11 "src": { 12 "fetcher": "fetchFromGitiles", 13 + "hash": "sha256-4ET4+Yd0VwKS/Ze/KO3yhehAdmjCSswaoWmMTo+8KK8=", 14 "url": "https://chromium.googlesource.com/chromium/src.git", 15 + "rev": "120.0.6099.216", 16 "postFetch": "rm -r $out/third_party/blink/web_tests; rm -r $out/third_party/hunspell/tests; rm -r $out/content/test/data; rm -r $out/courgette/testdata; rm -r $out/extensions/test/data; rm -r $out/media/test/data; " 17 }, 18 "src/third_party/clang-format/script": { ··· 873 "rev": "78d3966b3c331292ea29ec38661b25df0a245948" 874 } 875 }, 876 + "version": "28.1.4", 877 "modules": "119", 878 + "chrome": "120.0.6099.216", 879 "node": "18.18.2", 880 "chromium": { 881 + "version": "120.0.6099.216", 882 "deps": { 883 "gn": { 884 "version": "2023-10-23", ··· 895 "deps": { 896 "src/electron": { 897 "fetcher": "fetchFromGitHub", 898 + "hash": "sha256-UHrY5DOwkkVS7j5WgY4vTWIH747jX/gMM3AfnxHc+do=", 899 "owner": "electron", 900 "repo": "electron", 901 + "rev": "v27.2.3" 902 }, 903 "src": { 904 "fetcher": "fetchFromGitiles", ··· 1765 "rev": "78d3966b3c331292ea29ec38661b25df0a245948" 1766 } 1767 }, 1768 + "version": "27.2.3", 1769 "modules": "118", 1770 "chrome": "118.0.5993.159", 1771 "node": "18.17.1", ··· 1780 } 1781 } 1782 }, 1783 + "electron_yarn_hash": "1rxijv3fspjfan7mmw4cmxcb231ny7gn72yzsdnqs0225alrjac0", 1784 + "chromium_npm_hash": "sha256-5cjqpYB45nw2gop54VP+tL7/0w63nQGfQ4x6a6KS7XQ=" 1785 }, 1786 "26": { 1787 "deps": { 1788 "src/electron": { 1789 "fetcher": "fetchFromGitHub", 1790 + "hash": "sha256-Y9SiwDHCkHi+s5zYWPtFPhxjpCQMrpZP+IBi/xYZFVo=", 1791 "owner": "electron", 1792 "repo": "electron", 1793 + "rev": "v26.6.6" 1794 }, 1795 "src": { 1796 "fetcher": "fetchFromGitiles", ··· 2609 "rev": "78d3966b3c331292ea29ec38661b25df0a245948" 2610 } 2611 }, 2612 + "version": "26.6.6", 2613 "modules": "116", 2614 "chrome": "116.0.5845.228", 2615 "node": "18.16.1",
+5 -5
pkgs/development/tools/language-servers/csharp-ls/default.nix
··· 3 , dotnetCorePackages 4 }: 5 let 6 - inherit (dotnetCorePackages) sdk_7_0; 7 in 8 9 buildDotnetGlobalTool rec { 10 pname = "csharp-ls"; 11 - version = "0.10.0"; 12 13 - nugetSha256 = "sha256-1t8U2Q4lIlj2QwbnevAMMGcqtpPh5zk0Bd7EHa7qvCI="; 14 15 - dotnet-sdk = sdk_7_0; 16 - dotnet-runtime = sdk_7_0; 17 18 meta = with lib; { 19 description = "Roslyn-based LSP language server for C#";
··· 3 , dotnetCorePackages 4 }: 5 let 6 + inherit (dotnetCorePackages) sdk_8_0; 7 in 8 9 buildDotnetGlobalTool rec { 10 pname = "csharp-ls"; 11 + version = "0.11.0"; 12 13 + nugetSha256 = "sha256-zB8uJqlf8kL8jh3WNsPQF7EJpONqi23co3O/iBzfEoU="; 14 15 + dotnet-sdk = sdk_8_0; 16 + dotnet-runtime = sdk_8_0; 17 18 meta = with lib; { 19 description = "Roslyn-based LSP language server for C#";
+12 -1
pkgs/development/tools/rye/Cargo.lock
··· 1781 1782 [[package]] 1783 name = "rye" 1784 - version = "0.18.0" 1785 dependencies = [ 1786 "age", 1787 "anyhow", ··· 1827 "whattheshell", 1828 "which", 1829 "winapi", 1830 "zip", 1831 "zstd", 1832 ] ··· 2652 checksum = "61de7bac303dc551fe038e2b3cef0f571087a47571ea6e79a87692ac99b99699" 2653 dependencies = [ 2654 "memchr", 2655 ] 2656 2657 [[package]]
··· 1781 1782 [[package]] 1783 name = "rye" 1784 + version = "0.19.0" 1785 dependencies = [ 1786 "age", 1787 "anyhow", ··· 1827 "whattheshell", 1828 "which", 1829 "winapi", 1830 + "winreg", 1831 "zip", 1832 "zstd", 1833 ] ··· 2653 checksum = "61de7bac303dc551fe038e2b3cef0f571087a47571ea6e79a87692ac99b99699" 2654 dependencies = [ 2655 "memchr", 2656 + ] 2657 + 2658 + [[package]] 2659 + name = "winreg" 2660 + version = "0.51.0" 2661 + source = "registry+https://github.com/rust-lang/crates.io-index" 2662 + checksum = "937f3df7948156640f46aacef17a70db0de5917bda9c92b0f751f3a955b588fc" 2663 + dependencies = [ 2664 + "cfg-if", 2665 + "windows-sys 0.48.0", 2666 ] 2667 2668 [[package]]
+2 -2
pkgs/development/tools/rye/default.nix
··· 12 13 rustPlatform.buildRustPackage rec { 14 pname = "rye"; 15 - version = "0.18.0"; 16 17 src = fetchFromGitHub { 18 owner = "mitsuhiko"; 19 repo = "rye"; 20 rev = "refs/tags/${version}"; 21 - hash = "sha256-IxR9FUzX4i9QeQ2vDtwMC36nSvYuKTSLnhJl+r7fTOo="; 22 }; 23 24 cargoLock = {
··· 12 13 rustPlatform.buildRustPackage rec { 14 pname = "rye"; 15 + version = "0.19.0"; 16 17 src = fetchFromGitHub { 18 owner = "mitsuhiko"; 19 repo = "rye"; 20 rev = "refs/tags/${version}"; 21 + hash = "sha256-c5PIJMqe5ljNy582LuYJK18ixrphVhYRtiF5X5CB20Y="; 22 }; 23 24 cargoLock = {
+3 -3
pkgs/development/web/minify/default.nix
··· 9 10 buildGoModule rec { 11 pname = "minify"; 12 - version = "2.20.10"; 13 14 src = fetchFromGitHub { 15 owner = "tdewolff"; 16 repo = pname; 17 rev = "v${version}"; 18 - hash = "sha256-HNb9Sf1do2VfqpXTW+EqizkOV4kcJz9ySAaji66xkAE="; 19 }; 20 21 - vendorHash = "sha256-SGjwRLzXnIr5EduPPJRgt+WSkgq0kxOAANH7cW03tBs="; 22 23 nativeBuildInputs = [ installShellFiles ]; 24
··· 9 10 buildGoModule rec { 11 pname = "minify"; 12 + version = "2.20.14"; 13 14 src = fetchFromGitHub { 15 owner = "tdewolff"; 16 repo = pname; 17 rev = "v${version}"; 18 + hash = "sha256-/4iIN3L3hARxpa7bQcMBQ8DF6SfqrK+rFgJn/MYoUL8="; 19 }; 20 21 + vendorHash = "sha256-iTHUZUmT1LLS8wtPTDaay2Mx+Trv8TUox6PHwYTuY2U="; 22 23 nativeBuildInputs = [ installShellFiles ]; 24
+2 -2
pkgs/games/lgames/lbreakouthd/default.nix
··· 10 11 stdenv.mkDerivation (finalAttrs: { 12 pname = "lbreakouthd"; 13 - version = "1.1.5"; 14 15 src = fetchurl { 16 url = "mirror://sourceforge/lgames/lbreakouthd-${finalAttrs.version}.tar.gz"; 17 - hash = "sha256-dejGWf/UQaXHaT3Q79T7IO1WBFE1ZbqE9QW5nRPbDeo="; 18 }; 19 20 buildInputs = [
··· 10 11 stdenv.mkDerivation (finalAttrs: { 12 pname = "lbreakouthd"; 13 + version = "1.1.6"; 14 15 src = fetchurl { 16 url = "mirror://sourceforge/lgames/lbreakouthd-${finalAttrs.version}.tar.gz"; 17 + hash = "sha256-Gor2LnM8vi6skJbzfR5023J13GxvqcpIrua9S+nT/S0="; 18 }; 19 20 buildInputs = [
+2 -2
pkgs/games/vintagestory/default.nix
··· 20 21 stdenv.mkDerivation rec { 22 pname = "vintagestory"; 23 - version = "1.18.15"; 24 25 src = fetchurl { 26 url = "https://cdn.vintagestory.at/gamefiles/stable/vs_client_linux-x64_${version}.tar.gz"; 27 - hash = "sha256-luZwRKVptSd69tCaf6Jv0YOfwOeDOcuY7VoL+21tTEo="; 28 }; 29 30
··· 20 21 stdenv.mkDerivation rec { 22 pname = "vintagestory"; 23 + version = "1.19.1"; 24 25 src = fetchurl { 26 url = "https://cdn.vintagestory.at/gamefiles/stable/vs_client_linux-x64_${version}.tar.gz"; 27 + hash = "sha256-PrsClGSXTah5kkhww7slfkwpo0gJryf6pm61LsCYbiE="; 28 }; 29 30
+2 -2
pkgs/misc/logging/beats/7.x.nix
··· 8 owner = "elastic"; 9 repo = "beats"; 10 rev = "v${version}"; 11 - hash = "sha256-Quq32/3NeGhrsy17GrIeBiB3LGQuMFTFl3lAyyU6GZM="; 12 }; 13 14 - vendorHash = "sha256-UJjwCRxY1rrymroBqC/SfCVM9vmnQOtLlS3OONih3kM="; 15 16 subPackages = [ package ]; 17
··· 8 owner = "elastic"; 9 repo = "beats"; 10 rev = "v${version}"; 11 + hash = "sha256-0qwWHRIDLlnaPOCRmiiFGg+/jdanWuQtggM2QSaMR1o="; 12 }; 13 14 + vendorHash = "sha256-rwCCpptppkpvwQWUtqTjBUumP8GSpPHBTCaj0nYVQv8="; 15 16 subPackages = [ package ]; 17
+2 -2
pkgs/os-specific/linux/android-udev-rules/default.nix
··· 6 7 stdenv.mkDerivation rec { 8 pname = "android-udev-rules"; 9 - version = "20231207"; 10 11 src = fetchFromGitHub { 12 owner = "M0Rf30"; 13 repo = "android-udev-rules"; 14 rev = version; 15 - hash = "sha256-wNGIDOHbQ4qtKqtGqLOGEopWgnox3cATY77daRNVUFM="; 16 }; 17 18 installPhase = ''
··· 6 7 stdenv.mkDerivation rec { 8 pname = "android-udev-rules"; 9 + version = "20240114"; 10 11 src = fetchFromGitHub { 12 owner = "M0Rf30"; 13 repo = "android-udev-rules"; 14 rev = version; 15 + hash = "sha256-qf+KcEcWOsgLMifUOqNbi5t4s62p1gUfna45MyD01U0="; 16 }; 17 18 installPhase = ''
+2 -2
pkgs/os-specific/linux/kernel/zen-kernels.nix
··· 11 }; 12 # ./update-zen.py lqx 13 lqxVariant = { 14 - version = "6.6.12"; #lqx 15 suffix = "lqx1"; #lqx 16 - sha256 = "13wj7w66mrkabf7f03svq8x9dqy7w3dnh9jqpkr2hdkd6l2nf6c3"; #lqx 17 isLqx = true; 18 }; 19 zenKernelsFor = { version, suffix, sha256, isLqx }: buildLinux (args // {
··· 11 }; 12 # ./update-zen.py lqx 13 lqxVariant = { 14 + version = "6.7.1"; #lqx 15 suffix = "lqx1"; #lqx 16 + sha256 = "12fsf7wigma1wmqcpqp1aabmwxsf4yhwa6y3xhbnmiz83cakx27z"; #lqx 17 isLqx = true; 18 }; 19 zenKernelsFor = { version, suffix, sha256, isLqx }: buildLinux (args // {
+2
pkgs/servers/home-assistant/custom-components/default.nix
··· 6 7 govee-lan = callPackage ./govee-lan {}; 8 9 miele = callPackage ./miele {}; 10 11 prometheus_sensor = callPackage ./prometheus_sensor {};
··· 6 7 govee-lan = callPackage ./govee-lan {}; 8 9 + gpio = callPackage ./gpio {}; 10 + 11 miele = callPackage ./miele {}; 12 13 prometheus_sensor = callPackage ./prometheus_sensor {};
+28
pkgs/servers/home-assistant/custom-components/gpio/default.nix
···
··· 1 + { lib 2 + , buildHomeAssistantComponent 3 + , fetchFromGitea 4 + , libgpiod 5 + }: 6 + 7 + buildHomeAssistantComponent rec { 8 + owner = "raboof"; 9 + domain = "gpio"; 10 + version = "0.0.2"; 11 + 12 + src = fetchFromGitea { 13 + domain = "codeberg.org"; 14 + owner = "raboof"; 15 + repo = "ha-gpio"; 16 + rev = "v${version}"; 17 + hash = "sha256-oito5W7uQYgxUQFIynW9G7jbIpmFONWC8FslRdX3gsE="; 18 + }; 19 + 20 + propagatedBuildInputs = [ libgpiod ]; 21 + 22 + meta = with lib; { 23 + description = "Home Assistant GPIO custom integration"; 24 + homepage = "https://codeberg.org/raboof/ha-gpio"; 25 + maintainers = with maintainers; [ raboof ]; 26 + license = licenses.asl20; 27 + }; 28 + }
+2 -14
pkgs/servers/home-automation/evcc/default.nix
··· 2 , buildGoModule 3 , fetchFromGitHub 4 , fetchNpmDeps 5 - , fetchpatch 6 , cacert 7 , go 8 , git ··· 17 18 buildGoModule rec { 19 pname = "evcc"; 20 - version = "0.123.7"; 21 22 src = fetchFromGitHub { 23 owner = "evcc-io"; 24 repo = "evcc"; 25 rev = version; 26 - hash = "sha256-I8qcKrCuiUpDdsWDMiEZdo+PBkMELo5V6GW+nKFaD3Y="; 27 }; 28 29 - patches = [ 30 - (fetchpatch { 31 - # https://github.com/evcc-io/evcc/pull/11547 32 - name = "evcc-mockgen.patch"; 33 - url = "https://github.com/evcc-io/evcc/commit/5ec02a9dba79a733f71fc02a9552eb01e4e08f0b.patch"; 34 - hash = "sha256-uxKdtwdhUcMFCMkG756OD9aSMP9rdOL4Tg0HBWwp3kw="; 35 - }) 36 - ]; 37 - 38 vendorHash = "sha256-FKF6+64mjrKgzFAb+O0QCURieOoRB//QNbpMFMcNG8s="; 39 40 npmDeps = fetchNpmDeps { ··· 55 cacert 56 mockgen 57 ]; 58 - 59 - inherit patches; 60 61 preBuild = '' 62 make assets
··· 2 , buildGoModule 3 , fetchFromGitHub 4 , fetchNpmDeps 5 , cacert 6 , go 7 , git ··· 16 17 buildGoModule rec { 18 pname = "evcc"; 19 + version = "0.123.8"; 20 21 src = fetchFromGitHub { 22 owner = "evcc-io"; 23 repo = "evcc"; 24 rev = version; 25 + hash = "sha256-AsLprF4Szv91mShE1Ch6qOIkAIwHTw5lWm38DjQGOZM="; 26 }; 27 28 vendorHash = "sha256-FKF6+64mjrKgzFAb+O0QCURieOoRB//QNbpMFMcNG8s="; 29 30 npmDeps = fetchNpmDeps { ··· 45 cacert 46 mockgen 47 ]; 48 49 preBuild = '' 50 make assets
+4 -4
pkgs/servers/search/elasticsearch/7.x.nix
··· 18 plat = elemAt info 1; 19 hashes = 20 { 21 - x86_64-linux = "sha512-eiAT5Dx/w56GoxpzPMdMWH7yu6DAE/lc6HT5i0iKT48Ob7JUoe7dXAsOIQrtmgGV9zWPqWU8iQ4jRBP/kxkIBw=="; 22 - x86_64-darwin = "sha512-5vSefA9Z4mCz49Q+Vzdck1KXbE9REYAF46kSf0G1n5XlHqFYzTGOmUEObZhGTqH4RDLJBdEqhLj2iyzjWQX5RA=="; 23 - aarch64-linux = "sha512-8nkPSbecOBJGu/h0MZGUUq+Tqk/YqmvJwfkDHn7V2cZJ9bq4Z8KKfRYC4ihdP0pfePgJrAV0SwKtZ9aGELtnfQ=="; 24 - aarch64-darwin = "sha512-dbZrYGULuC3FF/SllPpAgW077Lkr87NJ8+gyTMayl8i8rOvAjnZhiR/U7eA6CZ/qVsFQkpGATdAzRXF8NlZBcg=="; 25 }; 26 in 27 stdenv.mkDerivation rec {
··· 18 plat = elemAt info 1; 19 hashes = 20 { 21 + x86_64-linux = "sha512-OiWGRxaCdRxXuxE/W04v87ytzOeUEcHRjF5nyRkdqSbZSnLXUyKOYQ4fKmk4til0VBOaKZYId20XyPiu/XTXNw=="; 22 + x86_64-darwin = "sha512-V/vKYL96+M1lp7ZJlvuneRBePWZmucUANfUrFPMuq+fnUP4nN69RStLWcgwgt65EspFMBwKVyQbak4swV8rWxw=="; 23 + aarch64-linux = "sha512-fNgVRaIIGx01reNHOnGKhMOG1aYU7gC8HLpIESSbM3+9xO1q9IHIaL/ObI/w2RYj/lD22d7PAdX5N6Hd1pVSAA=="; 24 + aarch64-darwin = "sha512-DgexeyoxZ1YTPw9HjSUAM6eC8XtzIw7MY1WUVsIa8zl5j3RpCp25s3oI12BWefjYYCTjdtFDMsnoFSqZBabLig=="; 25 }; 26 in 27 stdenv.mkDerivation rec {
+10 -10
pkgs/servers/search/elasticsearch/plugins.nix
··· 38 src = fetchurl { 39 url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${version}.zip"; 40 hash = 41 - if version == "7.17.10" then "sha256-D08CVW/qHpZZaKnploM4aCJ4bunvPjVmieDYr1d6jQA=" 42 else throw "unsupported version ${version} for plugin ${pluginName}"; 43 }; 44 meta = with lib; { ··· 54 src = fetchurl { 55 url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${version}.zip"; 56 hash = 57 - if version == "7.17.10" then "sha256-cpgr2zPCpsLrmshWJWoGNcGl0X+bO/K4A9bMqLv8+H8=" 58 else throw "unsupported version ${version} for plugin ${pluginName}"; 59 }; 60 meta = with lib; { ··· 87 src = fetchurl { 88 url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${version}.zip"; 89 hash = 90 - if version == "7.17.10" then "sha256-UmykO+hZDvlFhEbf7zL2bdw4j6NhByRBu9eH3F6/EtM=" 91 else throw "unsupported version ${version} for plugin ${pluginName}"; 92 }; 93 meta = with lib; { ··· 103 src = fetchurl { 104 url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${version}.zip"; 105 hash = 106 - if version == "7.17.10" then "sha256-Y/AbLfHSdocX0NQbnKm63gTWgwzssb4kpSwRqLozD9w=" 107 else throw "unsupported version ${version} for plugin ${pluginName}"; 108 }; 109 meta = with lib; { ··· 119 src = fetchurl { 120 url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${version}.zip"; 121 hash = 122 - if version == "7.17.10" then "sha256-QIYD7cGpJQg+csv/tekN6GFtdnuhYU6VyAXk7nY/uWs=" 123 else throw "unsupported version ${version} for plugin ${pluginName}"; 124 }; 125 meta = with lib; { ··· 135 src = fetchurl { 136 url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${esVersion}.zip"; 137 hash = 138 - if version == "7.17.10" then "sha256-L8lS+EPYuhNNTnP3ImeZsBQ5a5DAncs3qBFDWGWISRI=" 139 else throw "unsupported version ${version} for plugin ${pluginName}"; 140 }; 141 meta = with lib; { ··· 151 src = fetchurl { 152 url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${esVersion}.zip"; 153 hash = 154 - if version == "7.17.10" then "sha256-eXstbxlyS8WzW8u5YiMFXGpILCcEWrIb/IxXVzAGFLU=" 155 else throw "unsupported version ${version} for plugin ${pluginName}"; 156 }; 157 meta = with lib; { ··· 167 pluginName = "search-guard"; 168 version = 169 # https://docs.search-guard.com/latest/search-guard-versions 170 - if esVersion == "7.17.10" then "${esVersion}-53.7.0" 171 else throw "unsupported version ${esVersion} for plugin ${pluginName}"; 172 src = 173 - if esVersion == "7.17.10" then 174 fetchurl { 175 url = "https://maven.search-guard.com/search-guard-suite-release/com/floragunn/search-guard-suite-plugin/${version}/search-guard-suite-plugin-${version}.zip"; 176 - hash = "sha256-FIF4O8z0U2giXVA2cNEdCDbpuJDJhaxHBOmv2fACucw="; 177 } 178 else throw "unsupported version ${version} for plugin ${pluginName}"; 179 meta = with lib; {
··· 38 src = fetchurl { 39 url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${version}.zip"; 40 hash = 41 + if version == "7.17.16" then "sha256-wgm6N5fofs5wTM25ZT3dJkg7iDesXsc3Up419IAY9gk=" 42 else throw "unsupported version ${version} for plugin ${pluginName}"; 43 }; 44 meta = with lib; { ··· 54 src = fetchurl { 55 url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${version}.zip"; 56 hash = 57 + if version == "7.17.16" then "sha256-SShdBcWfm21XoVhghSSiWIhsoXzG7wz6162iOmuf5EU=" 58 else throw "unsupported version ${version} for plugin ${pluginName}"; 59 }; 60 meta = with lib; { ··· 87 src = fetchurl { 88 url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${version}.zip"; 89 hash = 90 + if version == "7.17.16" then "sha256-S/Cp9opeLitFh2/3Qw7/MFt6GcYKufxXKD6cJSi3SaQ=" 91 else throw "unsupported version ${version} for plugin ${pluginName}"; 92 }; 93 meta = with lib; { ··· 103 src = fetchurl { 104 url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${version}.zip"; 105 hash = 106 + if version == "7.17.16" then "sha256-hMErTLd5fXg420Olz+j6Zv7WByA1aNq9FlEgCtkYIxY=" 107 else throw "unsupported version ${version} for plugin ${pluginName}"; 108 }; 109 meta = with lib; { ··· 119 src = fetchurl { 120 url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${version}.zip"; 121 hash = 122 + if version == "7.17.16" then "sha256-z0gfdx98urCzdQNlVn99CmteG6jweOmUDmGJW89twtU=" 123 else throw "unsupported version ${version} for plugin ${pluginName}"; 124 }; 125 meta = with lib; { ··· 135 src = fetchurl { 136 url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${esVersion}.zip"; 137 hash = 138 + if version == "7.17.16" then "sha256-TWMN8jzFjzBVTUB+zn4tJr47VMXHC8U+014BvnArK8M=" 139 else throw "unsupported version ${version} for plugin ${pluginName}"; 140 }; 141 meta = with lib; { ··· 151 src = fetchurl { 152 url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${esVersion}.zip"; 153 hash = 154 + if version == "7.17.16" then "sha256-hG5wy1Xw4T1NzI7pja3CejwJg002/n6YqM1/QaVSWbg=" 155 else throw "unsupported version ${version} for plugin ${pluginName}"; 156 }; 157 meta = with lib; { ··· 167 pluginName = "search-guard"; 168 version = 169 # https://docs.search-guard.com/latest/search-guard-versions 170 + if esVersion == "7.17.16" then "${esVersion}-53.8.0" 171 else throw "unsupported version ${esVersion} for plugin ${pluginName}"; 172 src = 173 + if esVersion == "7.17.16" then 174 fetchurl { 175 url = "https://maven.search-guard.com/search-guard-suite-release/com/floragunn/search-guard-suite-plugin/${version}/search-guard-suite-plugin-${version}.zip"; 176 + hash = "sha256-j8dz7rUKWqMvT6EksoFIuGJzYcgdMipKeg2d8UtzlDI="; 177 } 178 else throw "unsupported version ${version} for plugin ${pluginName}"; 179 meta = with lib; {
+4
pkgs/servers/ttyd/default.nix
··· 20 21 outputs = [ "out" "man" ]; 22 23 meta = { 24 description = "Share your terminal over the web"; 25 homepage = "https://github.com/tsl0922/ttyd";
··· 20 21 outputs = [ "out" "man" ]; 22 23 + passthru.tests = { 24 + inherit (nixosTests) ttyd; 25 + }; 26 + 27 meta = { 28 description = "Share your terminal over the web"; 29 homepage = "https://github.com/tsl0922/ttyd";
+18 -4
pkgs/stdenv/linux/bootstrap-files/riscv64-unknown-linux-gnu.nix
··· 1 { 2 busybox = import <nix/fetchurl.nix> { 3 - url = "http://tarballs.nixos.org/stdenv-linux/riscv64/9bd3cf0063b80428bd85a286205adab4b6ffcbd6/busybox"; 4 - sha256 = "6f61912f94bc4ef287d1ff48a9521ed16bd07d8d8ec775e471f32c64d346583d"; 5 executable = true; 6 }; 7 8 bootstrapTools = import <nix/fetchurl.nix> { 9 - url = "http://tarballs.nixos.org/stdenv-linux/riscv64/9bd3cf0063b80428bd85a286205adab4b6ffcbd6/bootstrap-tools.tar.xz"; 10 - sha256 = "5466b19288e980125fc62ebb864d09908ffe0bc50cebe52cfee89acff14d5b9f"; 11 }; 12 }
··· 1 + # 2 + # Files came from this Hydra build: 3 + # 4 + # https://hydra.nixos.org/build/246376732 5 + # 6 + # Which used nixpkgs revision 160cedc144aced7a35a91440b46b74ffacd52682 7 + # to instantiate: 8 + # 9 + # /nix/store/cpiajh4l83b08pynwiwkpxj53d78pcxr-stdenv-bootstrap-tools-riscv64-unknown-linux-gnu.drv 10 + # 11 + # and then built: 12 + # 13 + # /nix/store/8a92pj40awdw585mcb9dvm4nyb03k3q3-stdenv-bootstrap-tools-riscv64-unknown-linux-gnu 14 + # 15 { 16 busybox = import <nix/fetchurl.nix> { 17 + url = "http://tarballs.nixos.org/stdenv-linux/riscv64/160cedc144aced7a35a91440b46b74ffacd52682/busybox"; 18 + sha256 = "sha256-OGO96QUzs2n5pGipn/V87AxzUY9OWKZl417nE8HdZIE="; 19 executable = true; 20 }; 21 22 bootstrapTools = import <nix/fetchurl.nix> { 23 + url = "http://tarballs.nixos.org/stdenv-linux/riscv64/160cedc144aced7a35a91440b46b74ffacd52682/bootstrap-tools.tar.xz"; 24 + sha256 = "sha256-0LxRd7fdafQezNJ+N2tuOfm0KEwgfRSts5fhP0e0r0s="; 25 }; 26 }
+2 -2
pkgs/tools/X11/ffcast/default.nix
··· 4 5 stdenv.mkDerivation rec { 6 pname = "ffcast"; 7 - version = "2.5.0"; 8 9 src = fetchFromGitHub { 10 owner = "ropery"; 11 repo = "FFcast"; 12 rev = version; 13 - sha256 = "047y32bixhc8ksr98vwpgd0k1xxgsv2vs0n3kc2xdac4krc9454h"; 14 }; 15 16 nativeBuildInputs = [ autoreconfHook makeWrapper perl /*for pod2man*/ ];
··· 4 5 stdenv.mkDerivation rec { 6 pname = "ffcast"; 7 + version = "2.5.1"; 8 9 src = fetchFromGitHub { 10 owner = "ropery"; 11 repo = "FFcast"; 12 rev = version; 13 + sha256 = "sha256-kxqwDGEguFTFHkQzXctXqxslt0+bYnfUdQ8C/8+eTXo="; 14 }; 15 16 nativeBuildInputs = [ autoreconfHook makeWrapper perl /*for pod2man*/ ];
+13
pkgs/tools/audio/beets/builtin-plugins.nix
··· 9 , mp3gain 10 , mp3val 11 , python3Packages 12 , ... 13 }: { 14 absubmit = { ··· 123 unimported.testPaths = [ ]; 124 web.propagatedBuildInputs = [ python3Packages.flask ]; 125 zero = { }; 126 }
··· 9 , mp3gain 10 , mp3val 11 , python3Packages 12 + , version 13 , ... 14 }: { 15 absubmit = { ··· 124 unimported.testPaths = [ ]; 125 web.propagatedBuildInputs = [ python3Packages.flask ]; 126 zero = { }; 127 + # NOTE: Condition can be removed once stable beets updates 128 + } // lib.optionalAttrs ((lib.versions.majorMinor version) != "1.6") { 129 + limit = { }; 130 + substitute = { 131 + testPaths = [ ]; 132 + }; 133 + advancedrewrite = { 134 + testPaths = [ ]; 135 + }; 136 + autobpm = { 137 + testPaths = [ ]; 138 + }; 139 }
+15 -1
pkgs/tools/audio/beets/common.nix
··· 36 let 37 inherit (lib) attrNames attrValues concatMap; 38 39 - mkPlugin = { name, enable ? !disableAllPlugins, builtin ? false, propagatedBuildInputs ? [ ], testPaths ? [ "test/test_${name}.py" ], wrapperBins ? [ ] }: { 40 inherit name enable builtin propagatedBuildInputs testPaths wrapperBins; 41 }; 42
··· 36 let 37 inherit (lib) attrNames attrValues concatMap; 38 39 + mkPlugin = { name 40 + , enable ? !disableAllPlugins 41 + , builtin ? false 42 + , propagatedBuildInputs ? [ ] 43 + , testPaths ? [ 44 + # NOTE: This conditional can be removed when beets-stable is updated and 45 + # the default plugins test path is changed 46 + (if (lib.versions.majorMinor version) == "1.6" then 47 + "test/test_${name}.py" 48 + else 49 + "test/plugins/test_${name}.py" 50 + ) 51 + ] 52 + , wrapperBins ? [ ] 53 + }: { 54 inherit name enable builtin propagatedBuildInputs testPaths wrapperBins; 55 }; 56
+2
pkgs/tools/audio/beets/default.nix
··· 22 23 beets-stable = callPackage ./common.nix rec { 24 inherit python3Packages; 25 version = "1.6.0"; 26 src = fetchFromGitHub { 27 owner = "beetbox";
··· 22 23 beets-stable = callPackage ./common.nix rec { 24 inherit python3Packages; 25 + # NOTE: ./builtin-plugins.nix and ./common.nix can have some conditionals 26 + # be removed when stable version updates 27 version = "1.6.0"; 28 src = fetchFromGitHub { 29 owner = "beetbox";
+2 -2
pkgs/tools/audio/patray/default.nix
··· 6 7 python3.pkgs.buildPythonApplication rec { 8 pname = "patray"; 9 - version = "0.1.1"; 10 11 src = fetchPypi { 12 inherit version pname; 13 - sha256 = "0vaapn2p4257m1d5nbnwnh252b7lhl00560gr9pqh2b7xqm1bh6g"; 14 }; 15 16 patchPhase = ''
··· 6 7 python3.pkgs.buildPythonApplication rec { 8 pname = "patray"; 9 + version = "0.1.2"; 10 11 src = fetchPypi { 12 inherit version pname; 13 + sha256 = "sha256-O8CBUexL2V1qI7bB/Lns3yjUvFOpC6spd/6asXa5+pw="; 14 }; 15 16 patchPhase = ''
+19 -18
pkgs/tools/filesystems/garage/default.nix
··· 24 inherit sha256; 25 }; 26 27 inherit cargoSha256; 28 29 nativeBuildInputs = [ protobuf pkg-config ]; ··· 68 69 meta = { 70 description = "S3-compatible object store for small self-hosted geo-distributed deployments"; 71 homepage = "https://garagehq.deuxfleurs.fr"; 72 license = lib.licenses.agpl3Only; 73 maintainers = with lib.maintainers; [ nickcao _0x4A6F teutat3s raitobezarius ]; ··· 82 # we have to keep all the numbers in the version to handle major/minor/patch level. 83 # for <1.0. 84 85 - garage_0_8_4 = generic { 86 - version = "0.8.4"; 87 - sha256 = "sha256-YgMw41ofM59h7OnHK1H8+Se5mZEdYypPIdkqbyX9qfs="; 88 - cargoSha256 = "sha256-dEtksOVqy5wAPoqCuXJj3c4TB6UbR8PTaB70fbL6iR8="; 89 }; 90 91 - garage_0_8 = garage_0_8_4; 92 93 - garage_0_9_0 = (generic { 94 - version = "0.9.0"; 95 - sha256 = "sha256-Bw7ohMAfnbkhl43k8KxYu2OJd5689PqDS0vAcgU09W8="; 96 - cargoSha256 = "sha256-JqCt/8p24suQMRzEyTE2OkbzZCGUDLuGq32kCq3eZ7o="; 97 - }).overrideAttrs (oldAttrs: { 98 - patches = oldAttrs.patches or [ ] ++ [ 99 - (fetchpatch { 100 - url = "https://git.deuxfleurs.fr/Deuxfleurs/garage/commit/c7f5dcd953ff1fdfa002a8bccfb43eafcc6fddd4.patch"; 101 - sha256 = "sha256-q7E6gtPjnj5O/K837LMP6LPEFcgdkifxRFrYzBuqkk0="; 102 - }) 103 - ]; 104 - }); 105 106 - garage_0_9 = garage_0_9_0; 107 108 garage = garage_0_9; 109 }
··· 24 inherit sha256; 25 }; 26 27 + postPatch = '' 28 + # Starting in 0.9.x series, Garage is using mold in local development 29 + # and this leaks in this packaging, we remove it to use the default linker. 30 + rm .cargo/config.toml || true 31 + ''; 32 + 33 inherit cargoSha256; 34 35 nativeBuildInputs = [ protobuf pkg-config ]; ··· 74 75 meta = { 76 description = "S3-compatible object store for small self-hosted geo-distributed deployments"; 77 + changelog = "https://git.deuxfleurs.fr/Deuxfleurs/garage/releases/tag/v${version}"; 78 homepage = "https://garagehq.deuxfleurs.fr"; 79 license = lib.licenses.agpl3Only; 80 maintainers = with lib.maintainers; [ nickcao _0x4A6F teutat3s raitobezarius ]; ··· 89 # we have to keep all the numbers in the version to handle major/minor/patch level. 90 # for <1.0. 91 92 + garage_0_8_5 = generic { 93 + version = "0.8.5"; 94 + sha256 = "sha256-YRxkjETSmI1dcHP9qTPLcOMqXx9B2uplVR3bBjJWn3I="; 95 + cargoSha256 = "sha256-VOcymlvqqQRdT1MFzRcMuD+Xo3fc3XTuRA12tW7ZjdI="; 96 + broken = stdenv.isDarwin; 97 }; 98 99 + garage_0_8 = garage_0_8_5; 100 101 + garage_0_9_1 = generic { 102 + version = "0.9.1"; 103 + sha256 = "sha256-AXLaifVmZU4j5D/wKn/0TzhjHZBzZW1+tMyhsAo2eBU="; 104 + cargoSha256 = "sha256-4/+OsM73TroBB1TGqare2xASO5KhqVyNkkss0Y0JZXg="; 105 + }; 106 107 + garage_0_9 = garage_0_9_1; 108 109 garage = garage_0_9; 110 }
+6 -6
pkgs/tools/misc/logstash/7.x.nix
··· 16 hashes = 17 if enableUnfree 18 then { 19 - x86_64-linux = "sha512-U5G/7wnEA6NlUYo6jo8HW7eXSxNwlbPH/SoBc8+m29SnRRFwo2V6/vPmpGjpCjjW56W2aXmYePk4n6RP+P7gJg=="; 20 - x86_64-darwin = "sha512-jjUWuCMppHUFNY+36rSGyjlCOtxEofBhw19roiWsLzczDyr8PjfrZStlNuXKNdd6wkhd7HQ/qNmd1PzGC928IQ=="; 21 - aarch64-linux = "sha512-BvkaWqv/D4akFQ3mwf0C+20KRLBKxmBZfLTINWzx0iVSqqd4mdtCpJpeNbPK1zvl17rYys+0sX5iKUkynN95Gg=="; 22 } 23 else { 24 - x86_64-linux = "sha512-uiLExBT0dRU4e7KMxHYSvqWK/5fEB/JXGGPoMXSivvJzYn9l3VMe2DPkBmjHkUSlAdScPsaRwbHE2PsMsSSwUg=="; 25 - x86_64-darwin = "sha512-gal8oGwIb6wz8y6QEk9knV3c4J1kkCECD0NLdbW/9jBl+dyKome3LO3VgQibwk2xISL3Be+Laaz49Z8Rdxy/dw=="; 26 - aarch64-linux = "sha512-ZK20GnobFLIdRjszPz9EcKTbkUDiiNN5v3lRDIMJHVyifpl5YddXzuIym4XRbabaihA4oArqux50q4+VuEGtCg=="; 27 }; 28 this = stdenv.mkDerivation rec { 29 version = elk7Version;
··· 16 hashes = 17 if enableUnfree 18 then { 19 + x86_64-linux = "sha512-ze0hJxUHCN52bOxUs5upDj64tIE58P2BTow2kaCo6HreRiF9rfTTzNkNr/hCmEgE+/oFbgSEuOQLz+6G373RDQ=="; 20 + x86_64-darwin = "sha512-FOFd8d+4UddSGorjuUWW/JbQ5fQH4LU1f1HJLmdbfnb8Q5L4GEveb2LmWNILU8/a85V4HGmD6lL8mCJqH9CULQ=="; 21 + aarch64-linux = "sha512-giYqW88/6iT3haXzJVn/+b7uxjYhHq4GERmiq3tMIvjxDyu7B6g+X7JneaTYxhpNdn6gOD/hfXgNv+hFRq6lgg=="; 22 } 23 else { 24 + x86_64-linux = "sha512-OC9gx76k+RMdjqcDkrJCNbPYSQameyddaYMxUIB0foVxCmo6UvbdcwZGXRLPPn95in8rYOCjvPoBkmupiQw9xQ=="; 25 + x86_64-darwin = "sha512-1OEfEED/jjlT3Fd095Y5VYiWKnovytI3UYCCy1Rs3tEvkZPHYwqIQHfMQYeAvGgUci37ADwEDu8xrSQULHToLw=="; 26 + aarch64-linux = "sha512-QWW0AXOMNIXThxpUiRomvINm+917MvGrSDndrEw11IYYuvi0d0dckJiRytfnBbBNoOKpVhB68uOmfjIcZBNpWQ=="; 27 }; 28 this = stdenv.mkDerivation rec { 29 version = elk7Version;
+2 -2
pkgs/tools/misc/steampipe/default.nix
··· 2 3 buildGoModule rec { 4 pname = "steampipe"; 5 - version = "0.21.2"; 6 7 src = fetchFromGitHub { 8 owner = "turbot"; 9 repo = "steampipe"; 10 rev = "v${version}"; 11 - hash = "sha256-baZF1qrRCAF3MjwDb43ejHSFsqVFrIULOsopRRaUZPs="; 12 }; 13 14 vendorHash = "sha256-XwFBXQw6OfxIQWYidTj+TLn0TrVTrfVry6MgiQWIoV4=";
··· 2 3 buildGoModule rec { 4 pname = "steampipe"; 5 + version = "0.21.3"; 6 7 src = fetchFromGitHub { 8 owner = "turbot"; 9 repo = "steampipe"; 10 rev = "v${version}"; 11 + hash = "sha256-Qbg6f8fIupAEiiT7gDRQCs3pe1lw+tO5va5PpwgATfk="; 12 }; 13 14 vendorHash = "sha256-XwFBXQw6OfxIQWYidTj+TLn0TrVTrfVry6MgiQWIoV4=";
+2 -2
pkgs/tools/networking/kapp/default.nix
··· 2 3 buildGoModule rec { 4 pname = "kapp"; 5 - version = "0.59.2"; 6 7 src = fetchFromGitHub { 8 owner = "carvel-dev"; 9 repo = "kapp"; 10 rev = "v${version}"; 11 - sha256 = "sha256-fDGQQo5REKtBlyBDZ4FTLGeayc14cppMmfLsXZtUJpA="; 12 }; 13 14 vendorHash = null;
··· 2 3 buildGoModule rec { 4 pname = "kapp"; 5 + version = "0.60.0"; 6 7 src = fetchFromGitHub { 8 owner = "carvel-dev"; 9 repo = "kapp"; 10 rev = "v${version}"; 11 + sha256 = "sha256-o1MFbyjgOvhgcrlkbYGn0+nHENL2STFiD9CUkCdB56E="; 12 }; 13 14 vendorHash = null;
+3 -3
pkgs/tools/security/govulncheck/default.nix
··· 6 7 buildGoModule rec { 8 pname = "govulncheck"; 9 - version = "1.0.1"; 10 11 src = fetchFromGitHub { 12 owner = "golang"; 13 repo = "vuln"; 14 rev = "refs/tags/v${version}"; 15 - hash = "sha256-cewQ03dK/k3mXevE09M01Yox/3ZWP6IrG0H4QsZMzy8="; 16 }; 17 18 patches = [ ··· 23 }) 24 ]; 25 26 - vendorHash = "sha256-r9XshbgVA5rppJF46SFYPad344ZHMLWTHTnL6vbIFH8="; 27 28 subPackages = [ 29 "cmd/govulncheck"
··· 6 7 buildGoModule rec { 8 pname = "govulncheck"; 9 + version = "1.0.2"; 10 11 src = fetchFromGitHub { 12 owner = "golang"; 13 repo = "vuln"; 14 rev = "refs/tags/v${version}"; 15 + hash = "sha256-vTHP7I3r7EAt4puh7bonKj6A94j169tKWgTfxASWyo0="; 16 }; 17 18 patches = [ ··· 23 }) 24 ]; 25 26 + vendorHash = "sha256-Jg2Nx63Xak149111jbBP6SgK3hze21Dx5qcDKXCqa48="; 27 28 subPackages = [ 29 "cmd/govulncheck"
+2 -2
pkgs/top-level/all-packages.nix
··· 7952 7953 # The latest version used by elasticsearch, logstash, kibana and the the beats from elastic. 7954 # When updating make sure to update all plugins or they will break! 7955 - elk7Version = "7.17.10"; 7956 7957 elasticsearch7 = callPackage ../servers/search/elasticsearch/7.x.nix { 7958 util-linux = util-linuxMinimal; ··· 8472 }) 8473 garage 8474 garage_0_8 garage_0_9 8475 - garage_0_8_4 garage_0_9_0; 8476 8477 garmintools = callPackage ../development/libraries/garmintools { }; 8478
··· 7952 7953 # The latest version used by elasticsearch, logstash, kibana and the the beats from elastic. 7954 # When updating make sure to update all plugins or they will break! 7955 + elk7Version = "7.17.16"; 7956 7957 elasticsearch7 = callPackage ../servers/search/elasticsearch/7.x.nix { 7958 util-linux = util-linuxMinimal; ··· 8472 }) 8473 garage 8474 garage_0_8 garage_0_9 8475 + garage_0_8_5 garage_0_9_1; 8476 8477 garmintools = callPackage ../development/libraries/garmintools { }; 8478
+7
pkgs/top-level/perl-packages.nix
··· 22426 url = "mirror://cpan/authors/id/F/FR/FRACTAL/Session-Token-1.503.tar.gz"; 22427 hash = "sha256-MsPflu9FXHGHA2Os2VDdxPvISMWU9LxVshtEz5efeaE="; 22428 }; 22429 meta = { 22430 description = "Secure, efficient, simple random session token generation"; 22431 homepage = "https://github.com/hoytech/Session-Token";
··· 22426 url = "mirror://cpan/authors/id/F/FR/FRACTAL/Session-Token-1.503.tar.gz"; 22427 hash = "sha256-MsPflu9FXHGHA2Os2VDdxPvISMWU9LxVshtEz5efeaE="; 22428 }; 22429 + patches = [ 22430 + # Add final null-byte to tokens. https://github.com/hoytech/Session-Token/pull/3 22431 + (fetchpatch { 22432 + url = "https://github.com/hoytech/Session-Token/commit/cd64e7b69986054bb715755290811308159b7959.patch"; 22433 + hash = "sha256-nMQmdvVQW8cQYO0+bLJcdVfSOLVIsongk+71fQ7fQdU="; 22434 + }) 22435 + ]; 22436 meta = { 22437 description = "Secure, efficient, simple random session token generation"; 22438 homepage = "https://github.com/hoytech/Session-Token";
+2
pkgs/top-level/python-packages.nix
··· 13706 13707 spyse-python = callPackage ../development/python-modules/spyse-python { }; 13708 13709 sqids = callPackage ../development/python-modules/sqids { }; 13710 13711 sqlalchemy = callPackage ../development/python-modules/sqlalchemy { };
··· 13706 13707 spyse-python = callPackage ../development/python-modules/spyse-python { }; 13708 13709 + spython = callPackage ../development/python-modules/spython { }; 13710 + 13711 sqids = callPackage ../development/python-modules/sqids { }; 13712 13713 sqlalchemy = callPackage ../development/python-modules/sqlalchemy { };