Merge master into staging-next

authored by github-actions[bot] and committed by GitHub 1887e39d ee776dd5

+181 -115
+49 -46
nixos/tests/mediamtx.nix
··· 1 - import ./make-test-python.nix ({ pkgs, lib, ...} : 2 3 - { 4 - name = "mediamtx"; 5 - meta.maintainers = with lib.maintainers; [ fpletz ]; 6 7 - nodes = { 8 - machine = { config, ... }: { 9 - services.mediamtx = { 10 - enable = true; 11 - settings = { 12 - metrics = true; 13 - paths.all.source = "publisher"; 14 }; 15 - }; 16 17 - systemd.services.rtmp-publish = { 18 - description = "Publish an RTMP stream to mediamtx"; 19 - after = [ "mediamtx.service" ]; 20 - bindsTo = [ "mediamtx.service" ]; 21 - wantedBy = [ "multi-user.target" ]; 22 - serviceConfig = { 23 - DynamicUser = true; 24 - Restart = "on-failure"; 25 - RestartSec = "1s"; 26 - TimeoutStartSec = "10s"; 27 - ExecStart = "${lib.getBin pkgs.ffmpeg-headless}/bin/ffmpeg -re -f lavfi -i smptebars=size=800x600:rate=10 -c libx264 -f flv rtmp://localhost:1935/test"; 28 }; 29 - }; 30 31 - systemd.services.rtmp-receive = { 32 - description = "Receive an RTMP stream from mediamtx"; 33 - after = [ "rtmp-publish.service" ]; 34 - bindsTo = [ "rtmp-publish.service" ]; 35 - wantedBy = [ "multi-user.target" ]; 36 - serviceConfig = { 37 - DynamicUser = true; 38 - Restart = "on-failure"; 39 - RestartSec = "1s"; 40 - TimeoutStartSec = "10s"; 41 - ExecStart = "${lib.getBin pkgs.ffmpeg-headless}/bin/ffmpeg -y -re -i rtmp://localhost:1935/test -f flv /dev/null"; 42 }; 43 }; 44 }; 45 - }; 46 47 - testScript = '' 48 - start_all() 49 50 - machine.wait_for_unit("mediamtx.service") 51 - machine.wait_for_unit("rtmp-publish.service") 52 - machine.wait_for_unit("rtmp-receive.service") 53 - machine.wait_for_open_port(9998) 54 - machine.succeed("curl http://localhost:9998/metrics | grep '^rtmp_conns.*state=\"publish\".*1$'") 55 - machine.succeed("curl http://localhost:9998/metrics | grep '^rtmp_conns.*state=\"read\".*1$'") 56 - ''; 57 - })
··· 1 + import ./make-test-python.nix ( 2 + { pkgs, lib, ... }: 3 4 + { 5 + name = "mediamtx"; 6 + meta.maintainers = with lib.maintainers; [ fpletz ]; 7 8 + nodes = { 9 + machine = { 10 + services.mediamtx = { 11 + enable = true; 12 + settings = { 13 + metrics = true; 14 + paths.all.source = "publisher"; 15 + }; 16 }; 17 18 + systemd.services.rtmp-publish = { 19 + description = "Publish an RTMP stream to mediamtx"; 20 + after = [ "mediamtx.service" ]; 21 + bindsTo = [ "mediamtx.service" ]; 22 + wantedBy = [ "multi-user.target" ]; 23 + serviceConfig = { 24 + DynamicUser = true; 25 + Restart = "on-failure"; 26 + RestartSec = "1s"; 27 + TimeoutStartSec = "10s"; 28 + ExecStart = "${lib.getBin pkgs.ffmpeg-headless}/bin/ffmpeg -re -f lavfi -i smptebars=size=800x600:rate=10 -c libx264 -f flv rtmp://localhost:1935/test"; 29 + }; 30 }; 31 32 + systemd.services.rtmp-receive = { 33 + description = "Receive an RTMP stream from mediamtx"; 34 + after = [ "rtmp-publish.service" ]; 35 + bindsTo = [ "rtmp-publish.service" ]; 36 + wantedBy = [ "multi-user.target" ]; 37 + serviceConfig = { 38 + DynamicUser = true; 39 + Restart = "on-failure"; 40 + RestartSec = "1s"; 41 + TimeoutStartSec = "10s"; 42 + ExecStart = "${lib.getBin pkgs.ffmpeg-headless}/bin/ffmpeg -y -re -i rtmp://localhost:1935/test -f flv /dev/null"; 43 + }; 44 }; 45 }; 46 }; 47 48 + testScript = '' 49 + start_all() 50 51 + machine.wait_for_unit("mediamtx.service") 52 + machine.wait_for_unit("rtmp-publish.service") 53 + machine.sleep(10) 54 + machine.wait_for_unit("rtmp-receive.service") 55 + machine.wait_for_open_port(9998) 56 + machine.succeed("curl http://localhost:9998/metrics | grep '^rtmp_conns.*state=\"publish\".*1$'") 57 + machine.succeed("curl http://localhost:9998/metrics | grep '^rtmp_conns.*state=\"read\".*1$'") 58 + ''; 59 + } 60 + )
+1 -1
pkgs/applications/misc/marktext/default.nix
··· 32 33 meta = with lib; { 34 description = "A simple and elegant markdown editor, available for Linux, macOS and Windows"; 35 - homepage = "https://marktext.app"; 36 license = licenses.mit; 37 maintainers = with maintainers; [ nh2 eduarrrd ]; 38 platforms = [ "x86_64-linux" ];
··· 32 33 meta = with lib; { 34 description = "A simple and elegant markdown editor, available for Linux, macOS and Windows"; 35 + homepage = "https://www.marktext.cc"; 36 license = licenses.mit; 37 maintainers = with maintainers; [ nh2 eduarrrd ]; 38 platforms = [ "x86_64-linux" ];
+6 -2
pkgs/applications/networking/maestral-qt/default.nix
··· 11 python3.pkgs.buildPythonApplication rec { 12 pname = "maestral-qt"; 13 version = "1.9.3"; 14 disabled = python3.pythonOlder "3.7"; 15 16 src = fetchFromGitHub { ··· 20 hash = "sha256-7Lt0Neobtofd1JDoz8BhGn+nFKaMLbM/6z0QQmtEKpA="; 21 }; 22 23 - format = "pyproject"; 24 25 - propagatedBuildInputs = with python3.pkgs; [ 26 click 27 markdown2 28 maestral
··· 11 python3.pkgs.buildPythonApplication rec { 12 pname = "maestral-qt"; 13 version = "1.9.3"; 14 + pyproject = true; 15 + 16 disabled = python3.pythonOlder "3.7"; 17 18 src = fetchFromGitHub { ··· 22 hash = "sha256-7Lt0Neobtofd1JDoz8BhGn+nFKaMLbM/6z0QQmtEKpA="; 23 }; 24 25 + build-system = with python3.pkgs; [ 26 + setuptools 27 + ]; 28 29 + dependencies = with python3.pkgs; [ 30 click 31 markdown2 32 maestral
+6 -4
pkgs/applications/video/go2tv/default.nix
··· 14 15 buildGoModule rec { 16 pname = "go2tv" + lib.optionalString (!withGui) "-lite"; 17 - version = "1.16.0"; 18 19 src = fetchFromGitHub { 20 owner = "alexballas"; 21 repo = "go2tv"; 22 - rev = "v${version}"; 23 - sha256 = "sha256-ZP4ZpNc5l4Acw83Q4rSvPYByvgiKpkbxxu0bseivW58="; 24 }; 25 26 vendorHash = "sha256-na79rF/9o+s6E4i08Ocs6u98IABc19sTGFvjI6yeJFo="; ··· 39 ] ++ lib.optionals stdenv.isDarwin [ Carbon Cocoa Kernel UserNotifications ]; 40 41 ldflags = [ 42 - "-s" "-w" 43 "-linkmode=external" 44 ]; 45 ··· 51 meta = with lib; { 52 description = "Cast media files to UPnP/DLNA Media Renderers and Smart TVs"; 53 homepage = "https://github.com/alexballas/go2tv"; 54 license = licenses.mit; 55 maintainers = with maintainers; [ gdamjan ]; 56 mainProgram = "go2tv";
··· 14 15 buildGoModule rec { 16 pname = "go2tv" + lib.optionalString (!withGui) "-lite"; 17 + version = "1.16.1"; 18 19 src = fetchFromGitHub { 20 owner = "alexballas"; 21 repo = "go2tv"; 22 + rev = "refs/tags/v${version}"; 23 + hash = "sha256-7m5GikrdcrJyl+KYuSk1JWLW2SsHOcBJNJuq2BahxHc="; 24 }; 25 26 vendorHash = "sha256-na79rF/9o+s6E4i08Ocs6u98IABc19sTGFvjI6yeJFo="; ··· 39 ] ++ lib.optionals stdenv.isDarwin [ Carbon Cocoa Kernel UserNotifications ]; 40 41 ldflags = [ 42 + "-s" 43 + "-w" 44 "-linkmode=external" 45 ]; 46 ··· 52 meta = with lib; { 53 description = "Cast media files to UPnP/DLNA Media Renderers and Smart TVs"; 54 homepage = "https://github.com/alexballas/go2tv"; 55 + changelog = "https://github.com/alexballas/go2tv/releases/tag/v${version}"; 56 license = licenses.mit; 57 maintainers = with maintainers; [ gdamjan ]; 58 mainProgram = "go2tv";
+3 -3
pkgs/by-name/fl/flye/package.nix
··· 10 11 python3Packages.buildPythonApplication rec { 12 pname = "flye"; 13 - version = "2.9.3"; 14 15 src = fetchFromGitHub { 16 owner = "fenderglass"; 17 repo = "flye"; 18 - rev = version; 19 - hash = "sha256-IALqtIPmvDYoH4w/tk2WB/P/pAcKXxgnsu9PFp+wIes="; 20 }; 21 22 nativeCheckInputs = [ python3Packages.pytestCheckHook ];
··· 10 11 python3Packages.buildPythonApplication rec { 12 pname = "flye"; 13 + version = "2.9.4"; 14 15 src = fetchFromGitHub { 16 owner = "fenderglass"; 17 repo = "flye"; 18 + rev = "refs/tags/${version}"; 19 + hash = "sha256-lwiY0VTEsLMMXt1VowsS3jj44v30Z766xNRwQtQKr10="; 20 }; 21 22 nativeCheckInputs = [ python3Packages.pytestCheckHook ];
+3 -3
pkgs/by-name/hu/hugo/package.nix
··· 10 11 buildGoModule rec { 12 pname = "hugo"; 13 - version = "0.125.7"; 14 15 src = fetchFromGitHub { 16 owner = "gohugoio"; 17 repo = "hugo"; 18 rev = "refs/tags/v${version}"; 19 - hash = "sha256-aONA9qfoilte73wBTZFu8rrVz+O8xtnRk/rOxJLANS8="; 20 }; 21 22 - vendorHash = "sha256-ZEaByHlJIfzGbmdadDpCJGCybj9SOHRzrrzR/S/zRnc="; 23 24 doCheck = false; 25
··· 10 11 buildGoModule rec { 12 pname = "hugo"; 13 + version = "0.126.1"; 14 15 src = fetchFromGitHub { 16 owner = "gohugoio"; 17 repo = "hugo"; 18 rev = "refs/tags/v${version}"; 19 + hash = "sha256-c421kzgD6PFM/9Rn+NmZGyRlJPWhQPraW/4HcuRoEUU="; 20 }; 21 22 + vendorHash = "sha256-VfwiA5LCAJ1pkmMCy/Dcc5bLKkNY1MHtxHcHvKLoWHs="; 23 24 doCheck = false; 25
+3 -3
pkgs/by-name/hy/hyprnome/package.nix
··· 8 9 rustPlatform.buildRustPackage rec { 10 pname = "hyprnome"; 11 - version = "0.2.0"; 12 13 src = fetchFromGitHub { 14 owner = "donovanglover"; 15 repo = "hyprnome"; 16 rev = version; 17 - hash = "sha256-zlXiT2EOIdgIDI4NQuU3C903SSq5bylBAFJXyv7mdJ4="; 18 }; 19 20 - cargoHash = "sha256-DpbRs97sr5wpJSrYF99ZiQ0SZOZdoQjfaLhKIAU95HA="; 21 22 nativeBuildInputs = [ installShellFiles ]; 23
··· 8 9 rustPlatform.buildRustPackage rec { 10 pname = "hyprnome"; 11 + version = "0.3.0"; 12 13 src = fetchFromGitHub { 14 owner = "donovanglover"; 15 repo = "hyprnome"; 16 rev = version; 17 + hash = "sha256-J/gaAwydSA9fi2qZYrWLpodTltL56yG4VQ2YlIPKJ/U="; 18 }; 19 20 + cargoHash = "sha256-Fyst6rwpvVQoeWCOkJwpNuMcnp6Q+kAXtDg+fccTVNM="; 21 22 nativeBuildInputs = [ installShellFiles ]; 23
+3 -3
pkgs/by-name/ig/ignite-cli/package.nix
··· 8 9 buildGoModule rec { 10 pname = "ignite-cli"; 11 - version = "28.3.0"; 12 13 src = fetchFromGitHub { 14 repo = "cli"; 15 owner = "ignite"; 16 rev = "v${version}"; 17 - hash = "sha256-VLbVXZRKunvqM2gZlFrRdpIG558w6WFIRa/XHZwqA7s="; 18 }; 19 20 - vendorHash = "sha256-pT9WQuoA1LfeA2MO1giuO2hfwydiWqjyYXdSbqfHdhs="; 21 22 nativeBuildInputs = [ makeWrapper ]; 23
··· 8 9 buildGoModule rec { 10 pname = "ignite-cli"; 11 + version = "28.4.0"; 12 13 src = fetchFromGitHub { 14 repo = "cli"; 15 owner = "ignite"; 16 rev = "v${version}"; 17 + hash = "sha256-FxTOtowoGXJvGt+qnVOogOnxAurFPe9ihQpBhxhwEkI="; 18 }; 19 20 + vendorHash = "sha256-ZqyZTvJ7IeEbQ/jRjaEiWT8xNnZdiaY3qJKeQtaHzXc="; 21 22 nativeBuildInputs = [ makeWrapper ]; 23
+39
pkgs/by-name/iz/izrss/package.nix
···
··· 1 + { 2 + lib, 3 + buildGoModule, 4 + fetchFromGitHub, 5 + ... 6 + }: 7 + let 8 + version = "0.0.5"; 9 + in 10 + buildGoModule { 11 + pname = "izrss"; 12 + inherit version; 13 + 14 + src = fetchFromGitHub { 15 + owner = "isabelroses"; 16 + repo = "izrss"; 17 + rev = "refs/tags/v${version}"; 18 + hash = "sha256-6ayTxAjVqMjgDbk4oJjxzSUkWA6kU3Rnvvma+ryy4bw="; 19 + }; 20 + 21 + ldflags = [ 22 + "-s" 23 + "-w" 24 + "-X main.version=${version}" 25 + ]; 26 + 27 + vendorHash = "sha256-gH5AFroreBD0tQmT99Bmo2pAdPkiPWUNGsmKX4p3/JA="; 28 + 29 + meta = with lib; { 30 + description = "An RSS feed reader for the terminal written in Go"; 31 + homepage = "https://github.com/isabelroses/izrss"; 32 + license = licenses.gpl3Plus; 33 + maintainers = with maintainers; [ 34 + isabelroses 35 + luftmensch-luftmensch 36 + ]; 37 + mainProgram = "izrss"; 38 + }; 39 + }
+3 -3
pkgs/by-name/me/mermaid-cli/package.nix
··· 11 12 stdenv.mkDerivation rec { 13 pname = "mermaid-cli"; 14 - version = "10.8.0"; 15 16 src = fetchFromGitHub { 17 owner = "mermaid-js"; 18 repo = "mermaid-cli"; 19 rev = version; 20 - hash = "sha256-nCLLv8QXx9N4WiUFw3WB+Rpfd4H4oCFa1ac01al+ovY="; 21 }; 22 23 offlineCache = fetchYarnDeps { 24 yarnLock = "${src}/yarn.lock"; 25 - hash = "sha256-thZxaa7S3vlS1Ws+G5dklun+ISCV908p1Ov7qb8fP3c="; 26 }; 27 28 nativeBuildInputs = [
··· 11 12 stdenv.mkDerivation rec { 13 pname = "mermaid-cli"; 14 + version = "10.9.0"; 15 16 src = fetchFromGitHub { 17 owner = "mermaid-js"; 18 repo = "mermaid-cli"; 19 rev = version; 20 + hash = "sha256-o9QaJsJlfqsAguYGHAdf8aqZWbOgDJs+0KVQAVtRlA0="; 21 }; 22 23 offlineCache = fetchYarnDeps { 24 yarnLock = "${src}/yarn.lock"; 25 + hash = "sha256-SfRzn5FxO+Ls+ne7ay3tySNLr+awEJ9fo/nwcAY11qA="; 26 }; 27 28 nativeBuildInputs = [
+2 -2
pkgs/by-name/py/pyprland/package.nix
··· 7 8 python3Packages.buildPythonApplication rec { 9 pname = "pyprland"; 10 - version = "2.2.17"; 11 format = "pyproject"; 12 13 disabled = python3Packages.pythonOlder "3.10"; ··· 16 owner = "hyprland-community"; 17 repo = "pyprland"; 18 rev = "refs/tags/${version}"; 19 - hash = "sha256-S1bIIazrBWyjF8tOcIk0AwwWq9gbpTKNsjr9iYA5lKk="; 20 }; 21 22 nativeBuildInputs = with python3Packages; [ poetry-core ];
··· 7 8 python3Packages.buildPythonApplication rec { 9 pname = "pyprland"; 10 + version = "2.2.20"; 11 format = "pyproject"; 12 13 disabled = python3Packages.pythonOlder "3.10"; ··· 16 owner = "hyprland-community"; 17 repo = "pyprland"; 18 rev = "refs/tags/${version}"; 19 + hash = "sha256-/eJ3emWI2l9jYgD7RX6tGUy6wHHQ25qS6Xd1x1uWZ1w="; 20 }; 21 22 nativeBuildInputs = with python3Packages; [ poetry-core ];
+3 -3
pkgs/by-name/ux/uxn/package.nix
··· 7 8 stdenv.mkDerivation (finalAttrs: { 9 pname = "uxn"; 10 - version = "1.0-unstable-2024-05-06"; 11 12 src = fetchFromSourcehut { 13 owner = "~rabbits"; 14 repo = "uxn"; 15 - rev = "3a696f8fa9931857e99e50074c6994649ee62d37"; 16 - hash = "sha256-wJUyFuF7ZCKQSa3RvklQYTDGmuQa062w5E2h0/aI0cQ="; 17 }; 18 19 outputs = [ "out" "projects" ];
··· 7 8 stdenv.mkDerivation (finalAttrs: { 9 pname = "uxn"; 10 + version = "1.0-unstable-2024-05-10"; 11 12 src = fetchFromSourcehut { 13 owner = "~rabbits"; 14 repo = "uxn"; 15 + rev = "bb57b85f5724ccabdb081ff83080c2e3e0e122f7"; 16 + hash = "sha256-S/lTa6nQ7qIIibYaLfaS4l2dEKgOwXuMryvK9j7FD9Y="; 17 }; 18 19 outputs = [ "out" "projects" ];
+2 -2
pkgs/data/misc/clash-geoip/default.nix
··· 2 3 stdenvNoCC.mkDerivation rec { 4 pname = "clash-geoip"; 5 - version = "20240412"; 6 7 src = fetchurl { 8 url = "https://github.com/Dreamacro/maxmind-geoip/releases/download/${version}/Country.mmdb"; 9 - sha256 = "sha256-xc31FwO9wku1MzLIuCScOKEgzwLPn5NuXi2H4L3+M9s="; 10 }; 11 12 dontUnpack = true;
··· 2 3 stdenvNoCC.mkDerivation rec { 4 pname = "clash-geoip"; 5 + version = "20240512"; 6 7 src = fetchurl { 8 url = "https://github.com/Dreamacro/maxmind-geoip/releases/download/${version}/Country.mmdb"; 9 + sha256 = "sha256-vWtiTcuTcAL6E083rHPVhqduIs6tuAOph/EdwLFXHek="; 10 }; 11 12 dontUnpack = true;
+2 -2
pkgs/development/python-modules/hiyapyco/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "hiyapyco"; 11 - version = "0.5.5"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "zerwes"; 16 repo = pname; 17 rev = "refs/tags/release-${version}"; 18 - hash = "sha256-LuENNwVB/1GyPLsfMRwHjz87c7+3/7U82m1MnHfRHdU="; 19 }; 20 21 nativeBuildInputs = [
··· 8 9 buildPythonPackage rec { 10 pname = "hiyapyco"; 11 + version = "0.5.6"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "zerwes"; 16 repo = pname; 17 rev = "refs/tags/release-${version}"; 18 + hash = "sha256-WBSOjOX4naa0XDTnO593EAvtz5EjVPWCbiZaPXdx0e4="; 19 }; 20 21 nativeBuildInputs = [
+7 -3
pkgs/development/python-modules/maestral/default.nix
··· 31 buildPythonPackage rec { 32 pname = "maestral"; 33 version = "1.9.3"; 34 - format = "pyproject"; 35 36 disabled = pythonOlder "3.8"; 37 ··· 42 hash = "sha256-h7RDaCVICi3wl6/b1s01cINhFirDOpOXoxTPZIBH3jE="; 43 }; 44 45 - propagatedBuildInputs = [ 46 click 47 desktop-notifier 48 dbus-python ··· 67 68 makeWrapperArgs = [ 69 # Add the installed directories to the python path so the daemon can find them 70 - "--prefix PYTHONPATH : ${makePythonPath propagatedBuildInputs}" 71 "--prefix PYTHONPATH : $out/${python.sitePackages}" 72 ]; 73
··· 31 buildPythonPackage rec { 32 pname = "maestral"; 33 version = "1.9.3"; 34 + pyproject = true; 35 36 disabled = pythonOlder "3.8"; 37 ··· 42 hash = "sha256-h7RDaCVICi3wl6/b1s01cINhFirDOpOXoxTPZIBH3jE="; 43 }; 44 45 + build-system = [ 46 + setuptools 47 + ]; 48 + 49 + dependencies = [ 50 click 51 desktop-notifier 52 dbus-python ··· 71 72 makeWrapperArgs = [ 73 # Add the installed directories to the python path so the daemon can find them 74 + "--prefix PYTHONPATH : ${makePythonPath dependencies}" 75 "--prefix PYTHONPATH : $out/${python.sitePackages}" 76 ]; 77
+2 -2
pkgs/development/python-modules/mkdocs-git-authors-plugin/default.nix
··· 7 8 buildPythonPackage rec { 9 pname = "mkdocs-git-authors-plugin"; 10 - version = "0.8.0"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; ··· 16 owner = "timvink"; 17 repo = "mkdocs-git-authors-plugin"; 18 rev = "refs/tags/v${version}"; 19 - hash = "sha256-ie6kDrj7ulmdQ7w3n7MnKgIWs321uPFxpQC3DNUGsTg="; 20 }; 21 22 propagatedBuildInputs = [ mkdocs ];
··· 7 8 buildPythonPackage rec { 9 pname = "mkdocs-git-authors-plugin"; 10 + version = "0.9.0"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; ··· 16 owner = "timvink"; 17 repo = "mkdocs-git-authors-plugin"; 18 rev = "refs/tags/v${version}"; 19 + hash = "sha256-UomcEXWNt5aVE9JxP9wskkHkFYXKN/+jXwr1SXCmeyE="; 20 }; 21 22 propagatedBuildInputs = [ mkdocs ];
+7 -7
pkgs/development/python-modules/timm/default.nix
··· 15 16 buildPythonPackage rec { 17 pname = "timm"; 18 - version = "0.9.16"; 19 pyproject = true; 20 21 disabled = pythonOlder "3.7"; ··· 24 owner = "huggingface"; 25 repo = "pytorch-image-models"; 26 rev = "refs/tags/v${version}"; 27 - hash = "sha256-IWEDKuI2565Z07q1MxTpzKS+CROPR6SyaD5fKcQ5eXk="; 28 }; 29 30 - nativeBuildInputs = [ 31 pdm-backend 32 ]; 33 34 - propagatedBuildInputs = [ 35 huggingface-hub 36 pyyaml 37 safetensors ··· 64 "timm.data" 65 ]; 66 67 - meta = with lib; { 68 description = "PyTorch image models, scripts, and pretrained weights"; 69 homepage = "https://huggingface.co/docs/timm/index"; 70 changelog = "https://github.com/huggingface/pytorch-image-models/blob/v${version}/README.md#whats-new"; 71 - license = licenses.asl20; 72 - maintainers = with maintainers; [ bcdarwin ]; 73 }; 74 }
··· 15 16 buildPythonPackage rec { 17 pname = "timm"; 18 + version = "1.0.3"; 19 pyproject = true; 20 21 disabled = pythonOlder "3.7"; ··· 24 owner = "huggingface"; 25 repo = "pytorch-image-models"; 26 rev = "refs/tags/v${version}"; 27 + hash = "sha256-h2J1v2zXUMGRKBBqq+RnxrXKOzlD5RRrVoODWSuj9Ms="; 28 }; 29 30 + build-system = [ 31 pdm-backend 32 ]; 33 34 + dependencies = [ 35 huggingface-hub 36 pyyaml 37 safetensors ··· 64 "timm.data" 65 ]; 66 67 + meta = { 68 description = "PyTorch image models, scripts, and pretrained weights"; 69 homepage = "https://huggingface.co/docs/timm/index"; 70 changelog = "https://github.com/huggingface/pytorch-image-models/blob/v${version}/README.md#whats-new"; 71 + license = lib.licenses.asl20; 72 + maintainers = with lib.maintainers; [ bcdarwin ]; 73 }; 74 }
+1
pkgs/development/python-modules/yapf/default.nix
··· 66 takes away some of the drudgery of maintaining your code. 67 ''; 68 license = lib.licenses.asl20; 69 maintainers = with lib.maintainers; [ AndersonTorres siddharthist ]; 70 }; 71 }
··· 66 takes away some of the drudgery of maintaining your code. 67 ''; 68 license = lib.licenses.asl20; 69 + mainProgram = "yapf"; 70 maintainers = with lib.maintainers; [ AndersonTorres siddharthist ]; 71 }; 72 }
+3 -3
pkgs/development/tools/analysis/cargo-tarpaulin/default.nix
··· 10 11 rustPlatform.buildRustPackage rec { 12 pname = "cargo-tarpaulin"; 13 - version = "0.29.2"; 14 15 src = fetchFromGitHub { 16 owner = "xd009642"; 17 repo = "tarpaulin"; 18 rev = version; 19 - hash = "sha256-3OLMTiMX5dsW691MX432YUuVqKOtrmS6Tpk96QVEyo8="; 20 }; 21 22 - cargoHash = "sha256-+xCA0LVEHhBGOgMx+/ABZL1I7NSJEWf21p9gmQJNBJo="; 23 24 nativeBuildInputs = [ 25 pkg-config
··· 10 11 rustPlatform.buildRustPackage rec { 12 pname = "cargo-tarpaulin"; 13 + version = "0.30.0"; 14 15 src = fetchFromGitHub { 16 owner = "xd009642"; 17 repo = "tarpaulin"; 18 rev = version; 19 + hash = "sha256-RtkW2FDey049URmr0WGNYcz5sTZXIQ7dZL/OlIaKX20="; 20 }; 21 22 + cargoHash = "sha256-HBpEMjc2FQvFqvvcCtxHJBj2waFau77t+m+1ZfomguA="; 23 24 nativeBuildInputs = [ 25 pkg-config
+3 -3
pkgs/development/tools/earthly/default.nix
··· 2 3 buildGoModule rec { 4 pname = "earthly"; 5 - version = "0.8.9"; 6 7 src = fetchFromGitHub { 8 owner = "earthly"; 9 repo = "earthly"; 10 rev = "v${version}"; 11 - hash = "sha256-bybWd+7+bbzxg2cXvat9lOZm+JNHaB/MsimAgbpLwuE="; 12 }; 13 14 - vendorHash = "sha256-66xN4uUeEFHpI/pAP7akG4YQhbY7ylu8AVOJnx60c7s="; 15 subPackages = [ "cmd/earthly" "cmd/debugger" ]; 16 17 CGO_ENABLED = 0;
··· 2 3 buildGoModule rec { 4 pname = "earthly"; 5 + version = "0.8.10"; 6 7 src = fetchFromGitHub { 8 owner = "earthly"; 9 repo = "earthly"; 10 rev = "v${version}"; 11 + hash = "sha256-oChedGnyTGN3do/B38CMEiY5cW7qdiDeUz1FjPeLQNU="; 12 }; 13 14 + vendorHash = "sha256-gKl5SZQ2pxipL918uup62IdaPokJ7q/7xkY4xgXwq8M="; 15 subPackages = [ "cmd/earthly" "cmd/debugger" ]; 16 17 CGO_ENABLED = 0;
+3 -3
pkgs/development/tools/reindeer/default.nix
··· 11 12 rustPlatform.buildRustPackage rec { 13 pname = "reindeer"; 14 - version = "2024.05.06.00"; 15 16 src = fetchFromGitHub { 17 owner = "facebookincubator"; 18 repo = "reindeer"; 19 rev = "refs/tags/v${version}"; 20 - hash = "sha256-p+nnwUzbaAMRDGqFfFJdhsNlz32Ss6oDhBLOcb/pAtI="; 21 }; 22 23 - cargoHash = "sha256-/fvmOB0huXUK08IXsLbcF7bIJ4mDywKDjG774wS1qbY="; 24 25 nativeBuildInputs = [ pkg-config ]; 26 buildInputs =
··· 11 12 rustPlatform.buildRustPackage rec { 13 pname = "reindeer"; 14 + version = "2024.05.13.00"; 15 16 src = fetchFromGitHub { 17 owner = "facebookincubator"; 18 repo = "reindeer"; 19 rev = "refs/tags/v${version}"; 20 + hash = "sha256-yXHBcb4/IsT39x4J5baJ8JdgG+riJACr8DKpDdi6ARw="; 21 }; 22 23 + cargoHash = "sha256-PYIeXKAuYhb6OARuefYZwP9OgPMvcoKnEnbVUztBqDY="; 24 25 nativeBuildInputs = [ pkg-config ]; 26 buildInputs =
+2 -2
pkgs/games/shattered-pixel-dungeon/default.nix
··· 5 6 callPackage ./generic.nix rec { 7 pname = "shattered-pixel-dungeon"; 8 - version = "2.3.2"; 9 10 src = fetchFromGitHub { 11 owner = "00-Evan"; 12 repo = "shattered-pixel-dungeon"; 13 rev = "v${version}"; 14 - hash = "sha256-CZOi3kLwYdA4U9LjgK4ukPTLFUodyubSQg9JaJpUB9s="; 15 }; 16 17 depsHash = "sha256-vihoR0bPh7590sRxeYJ1uuynNRxtRBuiFUrdmsRNUJc=";
··· 5 6 callPackage ./generic.nix rec { 7 pname = "shattered-pixel-dungeon"; 8 + version = "2.4.0"; 9 10 src = fetchFromGitHub { 11 owner = "00-Evan"; 12 repo = "shattered-pixel-dungeon"; 13 rev = "v${version}"; 14 + hash = "sha256-WTmzSuEoXLhr14vm2eQAmhmbTX/v7uKioQ1DcLnvAUw="; 15 }; 16 17 depsHash = "sha256-vihoR0bPh7590sRxeYJ1uuynNRxtRBuiFUrdmsRNUJc=";
+14 -1
pkgs/os-specific/linux/cryptodev/default.nix
··· 1 - { fetchFromGitHub, lib, stdenv, kernel ? false }: 2 3 stdenv.mkDerivation rec { 4 pname = "cryptodev-linux-1.13"; ··· 10 rev = pname; 11 hash = "sha256-EzTPoKYa+XWOAa/Dk7ru02JmlymHeXVX7RMmEoJ1OT0="; 12 }; 13 14 nativeBuildInputs = kernel.moduleBuildDependencies; 15 hardeningDisable = [ "pic" ];
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitHub, 5 + fetchpatch, 6 + kernel ? false, 7 + }: 8 9 stdenv.mkDerivation rec { 10 pname = "cryptodev-linux-1.13"; ··· 16 rev = pname; 17 hash = "sha256-EzTPoKYa+XWOAa/Dk7ru02JmlymHeXVX7RMmEoJ1OT0="; 18 }; 19 + 20 + patches = [ 21 + (fetchpatch { 22 + url = "https://github.com/cryptodev-linux/cryptodev-linux/compare/cryptodev-linux-1.13...5e7121e45ff283d30097da381fd7e97c4bb61364.patch"; 23 + hash = "sha256-GLWpiInBrUcVhpvEjTmD5KLCrrFZnlJGnmLU0QYz+4A="; 24 + }) 25 + ]; 26 27 nativeBuildInputs = kernel.moduleBuildDependencies; 28 hardeningDisable = [ "pic" ];
+1 -1
pkgs/tools/audio/pulsemixer/default.nix
··· 22 23 postFixup = '' 24 substituteInPlace "$out/bin/pulsemixer" \ 25 - --replace "libpulse.so.0" "$libpulseaudio/lib/libpulse.so.0" 26 ''; 27 28 meta = with lib; {
··· 22 23 postFixup = '' 24 substituteInPlace "$out/bin/pulsemixer" \ 25 + --replace-fail "libpulse.so.0" "$libpulseaudio/lib/libpulse${stdenv.hostPlatform.extensions.sharedLibrary}" 26 ''; 27 28 meta = with lib; {
+2 -2
pkgs/tools/games/joystickwake/default.nix
··· 1 { lib, python3, fetchFromGitHub }: 2 python3.pkgs.buildPythonApplication rec { 3 pname = "joystickwake"; 4 - version = "0.4.1"; 5 6 src = fetchFromGitHub { 7 owner = "foresto"; 8 repo = pname; 9 rev = "refs/tags/v${version}"; 10 - sha256 = "sha256-qf1owRdBGyU3q9ZJAzDEcMlnHfeUMSXga4v6QXdxXO0="; 11 }; 12 13 propagatedBuildInputs = with python3.pkgs; [ dbus-next pyudev xlib ];
··· 1 { lib, python3, fetchFromGitHub }: 2 python3.pkgs.buildPythonApplication rec { 3 pname = "joystickwake"; 4 + version = "0.4.2"; 5 6 src = fetchFromGitHub { 7 owner = "foresto"; 8 repo = pname; 9 rev = "refs/tags/v${version}"; 10 + sha256 = "sha256-vSvIpbcDIbRyitVjx3wNSxt5vTIZ9/NPWokOJt0p6oQ="; 11 }; 12 13 propagatedBuildInputs = with python3.pkgs; [ dbus-next pyudev xlib ];
+2 -2
pkgs/tools/misc/pspg/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "pspg"; 5 - version = "5.8.5"; 6 7 src = fetchFromGitHub { 8 owner = "okbob"; 9 repo = pname; 10 rev = version; 11 - sha256 = "sha256-Lri675TEIVWp8iEQI1oeSd9xNCVtzlUcK2AEJHmWNjs="; 12 }; 13 14 nativeBuildInputs = [ pkg-config installShellFiles ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "pspg"; 5 + version = "5.8.6"; 6 7 src = fetchFromGitHub { 8 owner = "okbob"; 9 repo = pname; 10 rev = version; 11 + sha256 = "sha256-UgJHsniDbfAcohnrYYUUJ4OhL2Fr65kGu26dsw9vYyM="; 12 }; 13 14 nativeBuildInputs = [ pkg-config installShellFiles ];
+3 -3
pkgs/tools/misc/starship/default.nix
··· 13 14 rustPlatform.buildRustPackage rec { 15 pname = "starship"; 16 - version = "1.18.2"; 17 18 src = fetchFromGitHub { 19 owner = "starship"; 20 repo = "starship"; 21 rev = "v${version}"; 22 - hash = "sha256-84FyKhSP2EZZkQJRhNPTYs2BYppylk50GiIck8pN3l4="; 23 }; 24 25 nativeBuildInputs = [ installShellFiles cmake ]; ··· 44 cp docs/public/presets/toml/*.toml $presetdir 45 ''; 46 47 - cargoHash = "sha256-Fu8KfWHCQUPSiT1aMSS0Il/S02YXdEqKMA2nsliUu8E="; 48 49 nativeCheckInputs = [ git ]; 50
··· 13 14 rustPlatform.buildRustPackage rec { 15 pname = "starship"; 16 + version = "1.19.0"; 17 18 src = fetchFromGitHub { 19 owner = "starship"; 20 repo = "starship"; 21 rev = "v${version}"; 22 + hash = "sha256-3IO9hHuhzJsCHU/6BA5ylEKQI2ik6ZiRul/iO/vzii4="; 23 }; 24 25 nativeBuildInputs = [ installShellFiles cmake ]; ··· 44 cp docs/public/presets/toml/*.toml $presetdir 45 ''; 46 47 + cargoHash = "sha256-zX04gX40dFYsK+R6gafHNtDevzrWiGufMwrGfhqYVG0="; 48 49 nativeCheckInputs = [ git ]; 50
+2 -2
pkgs/tools/networking/nzbget/default.nix
··· 19 20 stdenv.mkDerivation (finalAttrs: { 21 pname = "nzbget"; 22 - version = "24.0"; 23 24 src = fetchFromGitHub { 25 owner = "nzbgetcom"; 26 repo = "nzbget"; 27 rev = "v${finalAttrs.version}"; 28 - hash = "sha256-vEtbf4y3Jc69FrEzGE34Xt/4oDmZlWTbwispvoypRI0="; 29 }; 30 31 nativeBuildInputs = [ autoreconfHook pkg-config ];
··· 19 20 stdenv.mkDerivation (finalAttrs: { 21 pname = "nzbget"; 22 + version = "24.1"; 23 24 src = fetchFromGitHub { 25 owner = "nzbgetcom"; 26 repo = "nzbget"; 27 rev = "v${finalAttrs.version}"; 28 + hash = "sha256-HovfnTsgu07/lp/spI+iA8H7lOj0Qyrri2MOJKyMKHQ="; 29 }; 30 31 nativeBuildInputs = [ autoreconfHook pkg-config ];
+2 -2
pkgs/tools/networking/trurl/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "trurl"; 5 - version = "0.12"; 6 7 src = fetchFromGitHub { 8 owner = "curl"; 9 repo = pname; 10 rev = "${pname}-${version}"; 11 - hash = "sha256-r+z+7aE/frr1qWaBXyyO2L+aNa8CnhRqLg/jwwamIPg="; 12 }; 13 14 outputs = [ "out" "dev" "man" ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "trurl"; 5 + version = "0.13"; 6 7 src = fetchFromGitHub { 8 owner = "curl"; 9 repo = pname; 10 rev = "${pname}-${version}"; 11 + hash = "sha256-TkYZk4SoGAc0dxtxil4FjEhA53M+/dRmhc2kJfxWze8="; 12 }; 13 14 outputs = [ "out" "dev" "man" ];
+2 -2
pkgs/tools/system/runitor/default.nix
··· 2 3 buildGoModule rec { 4 pname = "runitor"; 5 - version = "1.2.0"; 6 vendorHash = null; 7 8 src = fetchFromGitHub { 9 owner = "bdd"; 10 repo = "runitor"; 11 rev = "v${version}"; 12 - sha256 = "sha256-lL9yfiqPIIfEvjiWcG6e1NrURHJFdk4x/od/w7/i2DE="; 13 }; 14 15 ldflags = [
··· 2 3 buildGoModule rec { 4 pname = "runitor"; 5 + version = "1.3.0"; 6 vendorHash = null; 7 8 src = fetchFromGitHub { 9 owner = "bdd"; 10 repo = "runitor"; 11 rev = "v${version}"; 12 + sha256 = "sha256-9sg+ku3Qh/X/EZ2VCrvIc0pq5iyn4O8RZrO4KpkciAI="; 13 }; 14 15 ldflags = [