mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-08 13:13:09 +00:00
Merge staging-next into staging
This commit is contained in:
commit
387e704ac5
@ -60,6 +60,8 @@ in
|
||||
networking.firewall.allowedTCPPorts = lib.optionals cfg.openFirewall [ 9651 ];
|
||||
networking.firewall.allowedUDPPorts = lib.optionals cfg.openFirewall [ 9650 9651 ];
|
||||
|
||||
environment.systemPackages = [ cfg.package ];
|
||||
|
||||
systemd.services.mycelium = {
|
||||
description = "Mycelium network";
|
||||
after = [ "network.target" ];
|
||||
|
@ -51,6 +51,9 @@ in
|
||||
peer1.wait_for_unit("mycelium.service")
|
||||
peer2.wait_for_unit("mycelium.service")
|
||||
|
||||
peer1.succeed("mycelium peers list | grep 192.168.1.12")
|
||||
peer2.succeed("mycelium peers list | grep 192.168.1.11")
|
||||
|
||||
peer1.succeed("ping -c5 ${peer2-ip}")
|
||||
peer2.succeed("ping -c5 ${peer1-ip}")
|
||||
'';
|
||||
|
@ -4,12 +4,12 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ganttproject-bin";
|
||||
version = "3.3.3300";
|
||||
version = "3.3.3309";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://dl.ganttproject.biz/ganttproject-${version}/ganttproject-${version}.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-U9x64UIBuVtW44zbsdWuMRZyEJhZ8VUWbDVtapTGPMo=";
|
||||
hash = "sha256-ysK+q9r8pbf9MBv7ck24joPR/ywyHnDCBHeOLfljYNw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "printrun";
|
||||
version = "2.0.1";
|
||||
version = "2.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kliment";
|
||||
repo = "Printrun";
|
||||
rev = "refs/tags/printrun-${version}";
|
||||
hash = "sha256-GmTA/C45MuptN/Y0KjpFjaLV3sWoM4rHz8AMfV9sf4U=";
|
||||
hash = "sha256-MANgxE3z8xq8ScxdxhwfEVsLMF9lgcdSjJZ0qu5p3ps=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "terminal-stocks";
|
||||
version = "1.0.18";
|
||||
version = "1.0.19";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "shweshi";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-f/ccGh31qT+euuGA3RRyiUYl+wpxazZHs5R8xehX3Zk=";
|
||||
hash = "sha256-6eDBcQfo6M+Z31ILLM4BbiOxoTD6t4LQJxawoJFEzhg=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-t71SfoPYVFLWcrjv2ErWazDeaVTO4W46g4lFler86Sc=";
|
||||
npmDepsHash = "sha256-0k2+vdfOUF0zV6Tl7VGXS2dNLnCHgSdI12LqvGkbv+k=";
|
||||
dontNpmBuild = true;
|
||||
|
||||
passthru.updateScript = nix-update-script {};
|
||||
|
@ -165,5 +165,12 @@ in stdenv.mkDerivation rec {
|
||||
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||
maintainers = with maintainers; [ dan4ik605743 ionutnechita ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
|
||||
knownVulnerabilities = [
|
||||
''
|
||||
Trusts a Russian government issued CA certificate for some websites.
|
||||
See https://habr.com/en/company/yandex/blog/655185/ (Russian) for details.
|
||||
''
|
||||
];
|
||||
};
|
||||
}
|
||||
|
@ -9,13 +9,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "kaniko";
|
||||
version = "1.23.0";
|
||||
version = "1.23.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "GoogleContainerTools";
|
||||
repo = "kaniko";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-HHnPO2ItQKtodTxdZzxVU9GS45cd6fnlY8PLTTfqCVg=";
|
||||
hash = "sha256-0FHhyUPZFddruZ3YV5SYB0b/bb0C+IVQpgIRaCoA1z8=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "temporal";
|
||||
version = "1.23.1";
|
||||
version = "1.24.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "temporalio";
|
||||
repo = "temporal";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-yu5EfW5ThTJx6ouCBoEEq9wU4MtlFGqqRaHMgIPaRqY=";
|
||||
hash = "sha256-GEmlmVTxQPoKsb9RtS6RcHY/0iDZsj3jG/Les2VPMAc=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-INmc/qbayjI+umkoGL8ih/iC7xqUkO1kfIZN5cQn/bw=";
|
||||
vendorHash = "sha256-u9xQFTwVKEGRPhBwcBgexCQhlNO91yP4m4vchCdBt9E=";
|
||||
|
||||
excludedPackages = [ "./build" ];
|
||||
|
||||
|
@ -1,27 +1,26 @@
|
||||
{ lib
|
||||
, fetchFromGitLab
|
||||
, fetchFromGitea
|
||||
, pkg-config
|
||||
, python3
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "poezio";
|
||||
version = "0.13.1";
|
||||
format = "setuptools";
|
||||
version = "0.14";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "lab.louiz.org";
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-3pUegEfhQxEv/7Htw6b2BN1lXtDockyANmi1xW4wPhA=";
|
||||
src = fetchFromGitea {
|
||||
domain = "codeberg.org";
|
||||
owner = "poezio";
|
||||
repo = "poezio";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-sk+8r+a0CcoB0RidqnE7hJUgt/xvN/MCJMkxiquvdJc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
build-system = [ python3.pkgs.setuptools ];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
dependencies = with python3.pkgs; [
|
||||
aiodns
|
||||
cffi
|
||||
mpd2
|
||||
@ -30,6 +29,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
pyasn1-modules
|
||||
pycares
|
||||
pyinotify
|
||||
setuptools
|
||||
slixmpp
|
||||
typing-extensions
|
||||
];
|
||||
@ -42,10 +42,15 @@ python3.pkgs.buildPythonApplication rec {
|
||||
"poezio"
|
||||
];
|
||||
|
||||
# remove poezio directory to prevent pytest import confusion
|
||||
preCheck = ''
|
||||
rm -r poezio
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Free console XMPP client";
|
||||
homepage = "https://poez.io";
|
||||
changelog = "https://lab.louiz.org/poezio/poezio/-/blob/v${version}/CHANGELOG";
|
||||
changelog = "https://codeberg.org/poezio/poezio/src/tag/v${version}/CHANGELOG";
|
||||
license = licenses.zlib;
|
||||
maintainers = with maintainers; [ lsix ];
|
||||
};
|
||||
|
@ -50,7 +50,7 @@ let
|
||||
# find where to edit them.
|
||||
versions.aarch64-darwin = "6.0.11.35001";
|
||||
versions.x86_64-darwin = "6.0.11.35001";
|
||||
versions.x86_64-linux = "6.0.10.5325";
|
||||
versions.x86_64-linux = "6.0.12.5501";
|
||||
|
||||
srcs = {
|
||||
aarch64-darwin = fetchurl {
|
||||
@ -64,7 +64,7 @@ let
|
||||
};
|
||||
x86_64-linux = fetchurl {
|
||||
url = "https://zoom.us/client/${versions.x86_64-linux}/zoom_x86_64.pkg.tar.xz";
|
||||
hash = "sha256-EStiiTUwSZFM9hyYXHDErlb0m6yjRwNl7O7XLXtkvjI=";
|
||||
hash = "sha256-h9gjVd7xqChaoC2BZWEhR5WdyfQrPiBjM2WHXMgp8uQ=";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -36,14 +36,14 @@ let
|
||||
in
|
||||
assert lib.all (p: p.enabled -> ! (builtins.elem null p.buildInputs)) plugins;
|
||||
stdenv.mkDerivation rec {
|
||||
version = "4.3.1";
|
||||
version = "4.3.2";
|
||||
pname = "weechat";
|
||||
|
||||
hardeningEnable = [ "pie" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://weechat.org/files/src/weechat-${version}.tar.xz";
|
||||
hash = "sha256-FX4ioX3MMDxmVzljGgRHDXhkdOgF/r7S7S1bYlDRhlM=";
|
||||
hash = "sha256-4fMd490+4ZiRVvTATp9L9hOdpq1Qwk9pH8EFfkz8N8Y=";
|
||||
};
|
||||
|
||||
# Why is this needed? https://github.com/weechat/weechat/issues/2031
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "juju";
|
||||
version = "3.5.0";
|
||||
version = "3.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "juju";
|
||||
repo = "juju";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-35m6e7AWhYnCl+s/i78krYA8As14inI3os8HMBJwCJY=";
|
||||
hash = "sha256-VOGkAv42dus2uxoffffIn6dwC18idwF2tycEHLd6I4s=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-4G4GspvNMVbfJJ8MfQtrhp5MRcDw0nhHvdlNdRJgpIM=";
|
||||
vendorHash = "sha256-2JNEN8fmxflEyP5lHAv75Bjt9sbKoWL5O+87hxK89vU=";
|
||||
|
||||
subPackages = [
|
||||
"cmd/juju"
|
||||
|
1084
pkgs/applications/system/coolercontrol/Cargo.lock
generated
1084
pkgs/applications/system/coolercontrol/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -26,7 +26,7 @@ rustPlatform.buildRustPackage {
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"tauri-plugin-localhost-0.1.0" = "sha256-z+cxkNtaaV7m7Rt2mpdw0Rm0oDR4VZPKwtdhY5V/HlI=";
|
||||
"tauri-plugin-localhost-0.1.0" = "sha256-Mf2/cnKotd751ZcSHfiSLNe2nxBfo4dMBdoCwQhe7yI=";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -11,7 +11,7 @@ buildNpmPackage {
|
||||
inherit version src;
|
||||
sourceRoot = "${src.name}/coolercontrol-ui";
|
||||
|
||||
npmDepsHash = "sha256-ZnuTtksB+HVYobL48S3RI8Ibe3pvDaF+YFAJJumiNxA=";
|
||||
npmDepsHash = "sha256-gnJvNQCbqFfPfsqi008HW4kBTpxiVpN7eHyn9bU6if8=";
|
||||
|
||||
postBuild = ''
|
||||
cp -r dist $out
|
||||
|
@ -15,7 +15,7 @@ rustPlatform.buildRustPackage {
|
||||
inherit version src;
|
||||
sourceRoot = "${src.name}/coolercontrold";
|
||||
|
||||
cargoHash = "sha256-qXZ/LXbKkLvnEQibGyMvkkYhz2eEGUHsYxVF3EbCpFc=";
|
||||
cargoHash = "sha256-CuA8r54O33csmSY67/AOlQQqUniAWkgWSewIBdeq7X4=";
|
||||
|
||||
postPatch = ''
|
||||
# copy the frontend static resources to a directory for embedding
|
||||
|
@ -4,13 +4,13 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "1.2.2";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "coolercontrol";
|
||||
repo = "coolercontrol";
|
||||
rev = version;
|
||||
hash = "sha256-c+MM8MAM8WSKSKECSfy/Iw7KWiWHxG75YShtv9d2Sjc=";
|
||||
hash = "sha256-0NYDPJNX0kWIBHv+b4GuK6efgHCBNDu3rBXaQ/iSxFk=";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -10,7 +10,7 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "5.12.203";
|
||||
version = "5.12.205";
|
||||
in
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "git-mit";
|
||||
@ -20,10 +20,10 @@ rustPlatform.buildRustPackage {
|
||||
owner = "PurpleBooth";
|
||||
repo = "git-mit";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-8sxC8peASy13Q582DbHHpQUj0AZN0soJrOocuPyJeHI=";
|
||||
hash = "sha256-I9tIw7ZtQ85L1Pt0+/CxugtmnClbEbn4xKjSkBqBa0o=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-zDUANe5zQNufPepbFoADkfjtEAE48GkMCpmG41OP2og=";
|
||||
cargoHash = "sha256-GWoh//sHhIVxmFuyAHRot/JG5wL3Zn2yIeRncaPENN4=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
|
@ -22,7 +22,7 @@ buildLua rec {
|
||||
longDescription = ''
|
||||
mpv-manga-reader is a script aimed at making mpv a usable manga reader.
|
||||
'';
|
||||
homepage = "https://github.com//mpv-manga-reader";
|
||||
homepage = "https://github.com/Dudemanguy/mpv-manga-reader";
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = with lib.maintainers; [ idlip ];
|
||||
};
|
||||
|
@ -5,16 +5,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "bee";
|
||||
version = "2.0.1";
|
||||
version = "2.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ethersphere";
|
||||
repo = "bee";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-4Pg8zKhXQwYK7eGH886sErzkdJRD4iCoQ+mLoS7GlZg=";
|
||||
sha256 = "sha256-FflPGsHF2kZ5eh0bNFtK5aMLon5m5B/se/5PdIIafzo=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-YhlUnmJuVejzy1I4+YkNnOPM+AUURr/j3dGdT3J6bVQ=";
|
||||
vendorHash = "sha256-XbOp0821HeCU5c+es3/UJNF0StDSDKKT+sasBJ+uTLM=";
|
||||
|
||||
subPackages = [ "cmd/bee" ];
|
||||
|
||||
|
@ -16,12 +16,12 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "brickstore";
|
||||
version = "0-unstable-2024-05-02";
|
||||
version = "2024.5.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rgriebl";
|
||||
repo = "brickstore";
|
||||
rev = "v2024.5.2";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-Bu9oNbZm3lx/CfYAReHyWe/kW+kaefDWeBtWLHOCORU=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
@ -44,13 +44,13 @@ in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cockpit";
|
||||
version = "316";
|
||||
version = "317";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cockpit-project";
|
||||
repo = "cockpit";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-AoRdeAA+K6VhRxgAF7t2COJtovk8U9B9j8MaBwMjJgw=";
|
||||
hash = "sha256-faTV9gOzPZMCLHoohzwOJ7v0gStavhUL6JQ1hFjcvhA=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
@ -10,14 +10,14 @@
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "corrscope";
|
||||
version = "0.9.0";
|
||||
version = "0.9.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "corrscope";
|
||||
repo = "corrscope";
|
||||
rev = version;
|
||||
hash = "sha256-kOPhVm4epIhBSsgQVKNCoQ7DZcMG/b3sapxwwKo/V+U=";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-SKsPe68CNaoUzGjMZn4azGFM3SbBipHK8gJcrm4+T+I=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "attrs" "ruamel.yaml" ];
|
||||
|
@ -29,13 +29,13 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "dillo";
|
||||
version = "3.1.0";
|
||||
version = "3.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dillo-browser";
|
||||
repo = "dillo";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-AqffkUPLvVSGq9iYksyvHf3HQ3DLWNlB3CYw4GCAAEI=";
|
||||
hash = "sha256-bGIOYONMtIN4IhSobOeSLiRDR13mo4W/DBX4kQ2S+hg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -7,16 +7,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "dumbpipe";
|
||||
version = "0.9.0";
|
||||
version = "0.10.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "n0-computer";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-el7cP00qWEAujtBtkMdF3/F09LQ0xMi6A140wErjzKk=";
|
||||
hash = "sha256-Pv7GySqKD3G1eryq6YwVL159XuuWB8DmQ0d1fPuFcmc=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-ucNMoKF9c5TFyFv8HYH3wypGQGTuZ6BT5/cuEIsyykI=";
|
||||
cargoHash = "sha256-MKJCpSdf9MzpBmgWImYO5+uSVN9uTLaLl4khizVGoig=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin (
|
||||
with darwin.apple_sdk.frameworks; [
|
||||
|
@ -3,7 +3,6 @@
|
||||
, fetchFromGitHub
|
||||
, unstableGitUpdater
|
||||
, alsa-lib
|
||||
, libfmvoice
|
||||
, libjack2
|
||||
, pkg-config
|
||||
, zlib
|
||||
@ -11,19 +10,17 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "fmtoy";
|
||||
version = "0-unstable-2024-04-18";
|
||||
version = "0-unstable-2024-06-07";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vampirefrog";
|
||||
repo = "fmtoy";
|
||||
rev = "aca005c770724f21c8a91dc6a482738871e78c9f";
|
||||
hash = "sha256-vrd7Eg3Bh8ll2yCfD1rAJpotEe+Zq+JuF4VMhiYsbDw=";
|
||||
rev = "1339600e2f5a4357f7a50f5c6ad49f3c7635adec";
|
||||
hash = "sha256-1kjUPEklZyue/DYn0jSfmXLjF22C+im6klY+S5KCvhc=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
rmdir libfmvoice
|
||||
cp --no-preserve=all -r ${libfmvoice.src} libfmvoice
|
||||
|
||||
substituteInPlace Makefile \
|
||||
--replace 'pkg-config' "$PKG_CONFIG"
|
||||
'';
|
||||
|
49
pkgs/by-name/gi/git-toolbelt/package.nix
Normal file
49
pkgs/by-name/gi/git-toolbelt/package.nix
Normal file
@ -0,0 +1,49 @@
|
||||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
makeWrapper,
|
||||
git,
|
||||
fzf,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "git-toolbelt";
|
||||
version = "1.9.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nvie";
|
||||
repo = "git-toolbelt";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-lrVMSItA0Eo7DgB+QjOLPPxwMLaC9+6FNPrhw6pkpKA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
buildInputs = [
|
||||
git
|
||||
fzf # needed by git-fixup-with
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm755 git-* -t "$out"/bin
|
||||
|
||||
for exe in "$out"/bin/*; do
|
||||
wrapProgram "$exe" \
|
||||
--prefix PATH : "$out"/bin:${lib.makeBinPath finalAttrs.buildInputs}
|
||||
done
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/nvie/git-toolbelt/blob/${finalAttrs.src.rev}/CHANGELOG.md";
|
||||
description = "A suite of useful Git commands that aid with scripting or every day command line usage";
|
||||
homepage = "https://github.com/nvie/git-toolbelt";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ tomasajt ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
})
|
@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gpsprune";
|
||||
version = "24";
|
||||
version = "24.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://activityworkshop.net/software/gpsprune/gpsprune_${version}.jar";
|
||||
sha256 = "sha256-gMwTdwYjYJt1j5MpHw6UD1wqmF7q3ikzjVSOGakIP30=";
|
||||
sha256 = "sha256-k7aRuz/FOqQe2C0luiUwoFxnIvgM6opwsGZV7+hxJSM=";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
38
pkgs/by-name/ka/kalamine/package.nix
Normal file
38
pkgs/by-name/ka/kalamine/package.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ lib
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "kalamine";
|
||||
version = "0.22";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "OneDeadKey";
|
||||
repo = "kalamine";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-SPXVFeysVF/6RqjhXmlPc+3m5vnVndJb7LQshQZBeg8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
python3.pkgs.hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
click
|
||||
lxml
|
||||
pyyaml
|
||||
tomli
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "kalamine" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Keyboard Layout Maker";
|
||||
homepage = "https://github.com/OneDeadKey/kalamine/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ iogamaster ];
|
||||
mainProgram = "kalamine";
|
||||
};
|
||||
}
|
32
pkgs/by-name/ku/kubefwd/package.nix
Normal file
32
pkgs/by-name/ku/kubefwd/package.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "kubefwd";
|
||||
version = "1.22.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "txn2";
|
||||
repo = "kubefwd";
|
||||
rev = version;
|
||||
hash = "sha256-xTd/1h9fW2GbZ2u3RsExbQouRZot9CUDuqNLItRySxM=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-qAlzgPw1reDZYK+InlnAsBgVemVumWwLgEuYm+ALcCs=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X=main.Version=${version}"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Bulk port forwarding Kubernetes services for local development";
|
||||
homepage = "https://github.com/txn2/kubefwd";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ iogamaster ];
|
||||
mainProgram = "kubefwd";
|
||||
};
|
||||
}
|
45
pkgs/by-name/le/leetgo/package.nix
Normal file
45
pkgs/by-name/le/leetgo/package.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "leetgo";
|
||||
version = "1.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "j178";
|
||||
repo = "leetgo";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-LbY7GGPu2ZwcclCmsE9V421FUi+foR7CXyFHF7GrjQo=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-GG9IfM50uVhsQVjXhUrYxuEbPlbsEsFubmUUSMr5SD4=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X=github.com/j178/leetgo/constants.Version=${version}"
|
||||
];
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd leetgo \
|
||||
--bash <($out/bin/leetgo completion bash) \
|
||||
--fish <($out/bin/leetgo completion fish) \
|
||||
--zsh <($out/bin/leetgo completion zsh)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A command-line tool for LeetCode";
|
||||
homepage = "https://github.com/j178/leetgo";
|
||||
changelog = "https://github.com/j178/leetgo/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ Ligthiago ];
|
||||
mainProgram = "leetgo";
|
||||
};
|
||||
}
|
47
pkgs/by-name/li/libmpd/package.nix
Normal file
47
pkgs/by-name/li/libmpd/package.nix
Normal file
@ -0,0 +1,47 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, pkg-config
|
||||
, doxygen
|
||||
, glib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "libmpd";
|
||||
version = "11.8.17";
|
||||
outputs = [
|
||||
"out"
|
||||
"dev"
|
||||
"devdoc"
|
||||
];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.musicpd.org/download/libmpd/${finalAttrs.version}/libmpd-${finalAttrs.version}.tar.gz";
|
||||
hash = "sha256-/iAyaw0QZB9xxGc/rmN7+SIqluFxL3HxcPyi/DS/eoM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
doxygen
|
||||
];
|
||||
buildInputs = [
|
||||
glib
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
make doc
|
||||
mkdir -p $devdoc/share/devhelp/libmpd
|
||||
cp -r doc/html $devdoc/share/devhelp/libmpd/doxygen
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Higher level access to MPD functions";
|
||||
homepage = "https://www.musicpd.org/download/libmpd/";
|
||||
changelog = "https://www.musicpd.org/download/libmpd/${finalAttrs.version}/README";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ doronbehar ];
|
||||
platforms = platforms.all;
|
||||
# Getting DARWIN_NULL related errors
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
})
|
40
pkgs/by-name/na/nats-kafka/package.nix
Normal file
40
pkgs/by-name/na/nats-kafka/package.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, nix-update-script
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "nats-kafka";
|
||||
version = "1.4.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nats-io";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-RboNlKpD+4mOx6iL6JpguR90y6Ux1x0twFcazIPj0w0=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-Zo4lAV/1TIblTbFrZcwvVecvAAgX+8N6OmdeNyI6Ja0=";
|
||||
|
||||
ldflags = [
|
||||
"-X github.com/nats-io/nats-kafka/server/core.Version=v${version}"
|
||||
];
|
||||
|
||||
# do not build & install test binaries
|
||||
subPackages = [ "." ];
|
||||
|
||||
# needs running nats-server and kafka
|
||||
doCheck = false;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
description = "NATS to Kafka Bridging";
|
||||
mainProgram = "nats-kafka";
|
||||
homepage = "https://github.com/nats-io/nats-kafka";
|
||||
changelog = "https://github.com/nats-io/nats-kafka/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ misuzu ];
|
||||
};
|
||||
}
|
26
pkgs/by-name/ok/okolors/package.nix
Normal file
26
pkgs/by-name/ok/okolors/package.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "okolors";
|
||||
version = "0.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Ivordir";
|
||||
repo = "Okolors";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-Cwe6kyhsCU3wbuD0PTnj1JQOnMjH+sLmG5AiJImRGSU=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-RVUrgz/YddT41N1omoPCW3Cjz7IWjc8sB7OwkCUDjM8=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Generate a color palette from an image using k-means clustering in the Oklab color space";
|
||||
homepage = "https://github.com/Ivordir/Okolors";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ laurent-f1z1 ];
|
||||
mainProgram = "okolors";
|
||||
};
|
||||
}
|
@ -30,17 +30,17 @@
|
||||
let
|
||||
pname = "ollama";
|
||||
# don't forget to invalidate all hashes each update
|
||||
version = "0.1.41";
|
||||
version = "0.1.42";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ollama";
|
||||
repo = "ollama";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-rwJf/DbqTOD2TIS0YHK8CaIEC93CfeDg08qV9ydaNe4=";
|
||||
hash = "sha256-lmnfFJBPgjaCdxkMALNQigrtD/V2T3Vs1GEKvRCgWaM=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
vendorHash = "sha256-bomHpEcoHG/xUGgzrFXB9D3np0ainTX066SCMY+NdnA=";
|
||||
vendorHash = "sha256-LNH3mpxIrPMe5emfum1W10jvXIjKC6GkGcjq1HhpJQo=";
|
||||
|
||||
# ollama's patches of llama.cpp's example server
|
||||
# `ollama/llm/generate/gen_common.sh` -> "apply temporary patches until fix is upstream"
|
||||
@ -51,6 +51,7 @@ let
|
||||
(preparePatch "03-load_exception.diff" "sha256-0XfMtMyg17oihqSFDBakBtAF0JwhsR188D+cOodgvDk=")
|
||||
(preparePatch "04-metal.diff" "sha256-Ne8J9R8NndUosSK0qoMvFfKNwqV5xhhce1nSoYrZo7Y=")
|
||||
(preparePatch "05-default-pretokenizer.diff" "sha256-NrQ0Fv5DAZYtRM0NBEeM2JLVTLFmb4Fs9RhwXhdMCC4=")
|
||||
(preparePatch "06-qwen2.diff" "sha256-nMtoAQUsjYuJv45uTlz8r/K1oF5NUsc75SnhgfSkE30=")
|
||||
];
|
||||
|
||||
preparePatch = patch: hash: fetchpatch {
|
||||
|
@ -2,12 +2,12 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "pg-dump-anon";
|
||||
version = "1.3.1";
|
||||
version = "1.3.2";
|
||||
src = fetchFromGitLab {
|
||||
owner = "dalibo";
|
||||
repo = "postgresql_anonymizer";
|
||||
rev = version;
|
||||
hash = "sha256-Z5Oz/cIYDxFUZwQijRk4xAOUdOK0LWR+px8WOcs+Rs0=";
|
||||
hash = "sha256-MGdGvd4P1fFKdd6wnS2V5Tdly6hJlAmSA4TspnO/6Tk=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/pg_dump_anon";
|
||||
|
28
pkgs/by-name/qu/quinze/package.nix
Normal file
28
pkgs/by-name/qu/quinze/package.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
name = "quinze";
|
||||
version = "2018-09-22";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://fontlibrary.org/assets/downloads/quinze/0271bb7be00ea75dcfa06ef7c7f1054e/quinze.zip";
|
||||
hash = "sha256-6C6drbAHme38tF2PtY/YFDdHCbR0JURs4F/K+KZqKiQ=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -m444 -Dt $out/share/fonts/truetype *.ttf
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "narrow monospaced font, designed to fit a fifteen pixel bitmap";
|
||||
homepage = "https://fontlibrary.org/en/font/quinze";
|
||||
license = licenses.ofl;
|
||||
maintainers = with maintainers; [ phunehehe ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -13,13 +13,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rsgain";
|
||||
version = "3.5";
|
||||
version = "3.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "complexlogic";
|
||||
repo = "rsgain";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-qIRtdgfGDNbZk9TQ3GC3lYetRqjOk8QPhAb4MuFuN0U=";
|
||||
sha256 = "sha256-33ezojvCYAvxmUWzLxes3nUpK4iIWjlXsVSi+q7xeGU=";
|
||||
};
|
||||
|
||||
cmakeFlags = ["-DCMAKE_BUILD_TYPE='Release'"];
|
||||
|
@ -7,16 +7,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "sendme";
|
||||
version = "0.8.0";
|
||||
version = "0.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "n0-computer";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Ptfh00AaLoU/UCqzVRgD38CxeY1dP/Y1ADgQxyLzcMc=";
|
||||
hash = "sha256-9ea0HZErwZ1PZwl1jlC3vafm/QnfhFRLYoFIOhxfY/g=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-iah0bz6E5akJmo+FAuJ0faDad3YNXt7jhK/6zYrg9lE=";
|
||||
cargoHash = "sha256-4SAvx1G5hBi0il7zmlXFSBAxzqLE7Vezo1ZuVccqhms=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin (
|
||||
with darwin.apple_sdk.frameworks; [
|
||||
|
39
pkgs/desktops/xfce/applications/xfmpc/default.nix
Normal file
39
pkgs/desktops/xfce/applications/xfmpc/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ lib
|
||||
, mkXfceDerivation
|
||||
, vala
|
||||
, libxfce4util
|
||||
, libxfce4ui
|
||||
, gtk3
|
||||
, glib
|
||||
, libmpd
|
||||
}:
|
||||
|
||||
mkXfceDerivation rec {
|
||||
category = "apps";
|
||||
pname = "xfmpc";
|
||||
# Last release is too old
|
||||
version = "0.3.1-2024-05-29";
|
||||
rev = "cf40dffec6e9b80abb1f1aa6d7dceef4790173dc";
|
||||
sha256 = "sha256-moCWSLGBJuWM4/lRJi6D3w38iJeCntLo3Vl/eVfu7lw=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
vala
|
||||
libxfce4util
|
||||
# Needed both here and in buildInputs for cross compilation to work
|
||||
libxfce4ui
|
||||
];
|
||||
buildInputs = [
|
||||
gtk3
|
||||
glib
|
||||
libxfce4ui
|
||||
libmpd
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "MPD client written in GTK";
|
||||
homepage = "https://docs.xfce.org/apps/xfmpc/start";
|
||||
changelog = "https://gitlab.xfce.org/apps/xfmpc/-/blob/${rev}/NEWS";
|
||||
maintainers = with maintainers; [ doronbehar ] ++ teams.xfce.members;
|
||||
mainProgram = "xfmpc";
|
||||
};
|
||||
}
|
@ -81,6 +81,8 @@ makeScopeWithSplicing' {
|
||||
|
||||
ristretto = callPackage ./applications/ristretto { };
|
||||
|
||||
xfmpc = callPackage ./applications/xfmpc { };
|
||||
|
||||
xfce4-taskmanager = callPackage ./applications/xfce4-taskmanager { };
|
||||
|
||||
xfce4-dict = callPackage ./applications/xfce4-dict { };
|
||||
|
@ -3,7 +3,6 @@
|
||||
, fetchurl
|
||||
, fetchpatch
|
||||
, fetchFromGitHub
|
||||
, bash
|
||||
, pkg-config
|
||||
, autoconf
|
||||
, cpio
|
||||
@ -44,27 +43,32 @@
|
||||
, gnome_vfs
|
||||
, glib
|
||||
, GConf
|
||||
, writeShellScript
|
||||
}:
|
||||
|
||||
let
|
||||
version = {
|
||||
feature = "22";
|
||||
interim = "";
|
||||
build = "36";
|
||||
};
|
||||
|
||||
# Java version format:
|
||||
# $FEATURE.$INTERIM.$UPDATE.$PATCH
|
||||
# See
|
||||
# https://openjdk.org/jeps/223
|
||||
# https://docs.oracle.com/en/java/javase/22/docs/api/java.base/java/lang/Runtime.Version.html
|
||||
featureVersion = "22";
|
||||
info = builtins.getAttr featureVersion (lib.importJSON ./info.json);
|
||||
version = info.version;
|
||||
|
||||
# when building a headless jdk, also bootstrap it with a headless jdk
|
||||
openjdk-bootstrap = openjdk22-bootstrap.override { gtkSupport = !headless; };
|
||||
|
||||
openjdk = stdenv.mkDerivation {
|
||||
openjdk = stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "openjdk" + lib.optionalString headless "-headless";
|
||||
version = "${version.feature}${version.interim}+${version.build}";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "openjdk";
|
||||
repo = "jdk${version.feature}u";
|
||||
rev = "jdk-${version.feature}${version.interim}+${version.build}";
|
||||
hash = "sha256-itjvIedPwJl/l3a2gIVpNMs1zkbrjioVqbCj1Z1nCJE=";
|
||||
repo = info.repo;
|
||||
rev = "jdk-${version}";
|
||||
hash = info.hash;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config autoconf unzip ensureNewerSourcesForZipFilesHook ];
|
||||
@ -144,9 +148,8 @@ let
|
||||
# https://openjdk.org/groups/build/doc/building.html
|
||||
configureFlags = [
|
||||
"--with-boot-jdk=${openjdk-bootstrap.home}"
|
||||
"--with-version-build=${version.build}"
|
||||
"--with-version-opt=nixos"
|
||||
"--with-version-pre="
|
||||
"--with-version-string=${version}"
|
||||
"--with-vendor-version-string=(nix)"
|
||||
"--enable-unlimited-crypto"
|
||||
"--with-native-debug-symbols=internal"
|
||||
"--with-libjpeg=system"
|
||||
@ -247,14 +250,28 @@ let
|
||||
|
||||
disallowedReferences = [ openjdk-bootstrap ];
|
||||
|
||||
pos = builtins.unsafeGetAttrPos "feature" version;
|
||||
meta = import ./meta.nix lib version.feature;
|
||||
pos = __curPos;
|
||||
meta = import ./meta.nix lib featureVersion;
|
||||
|
||||
passthru = {
|
||||
architecture = "";
|
||||
home = "${openjdk}/lib/openjdk";
|
||||
updateScript =
|
||||
let
|
||||
java-json = fetchurl {
|
||||
url = "https://search.maven.org/remotecontent?filepath=org/json/json/20240303/json-20240303.jar";
|
||||
hash = "sha256-PPbNaJLjLitMHDng9S9SSKL1s3ZG/fu3mma0a2GEFO0=";
|
||||
};
|
||||
in
|
||||
writeShellScript "update-java" ''
|
||||
${finalAttrs.finalPackage}/bin/java \
|
||||
-cp ${java-json} \
|
||||
${./JavaUpdater.java} \
|
||||
22 pkgs/development/compilers/openjdk/info.json
|
||||
'';
|
||||
|
||||
home = "${finalAttrs.finalPackage}/lib/openjdk";
|
||||
|
||||
inherit gtk3;
|
||||
};
|
||||
};
|
||||
});
|
||||
in
|
||||
openjdk
|
||||
|
181
pkgs/development/compilers/openjdk/JavaUpdater.java
Normal file
181
pkgs/development/compilers/openjdk/JavaUpdater.java
Normal file
@ -0,0 +1,181 @@
|
||||
import org.json.JSONArray;
|
||||
import org.json.JSONObject;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.PrintWriter;
|
||||
import java.net.URI;
|
||||
import java.net.http.*;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.util.*;
|
||||
import java.util.regex.Pattern;
|
||||
import java.util.stream.Collectors;
|
||||
import java.util.stream.Stream;
|
||||
import java.util.stream.StreamSupport;
|
||||
|
||||
public class JavaUpdater {
|
||||
|
||||
record GitHubResult(Optional<String> latestVersion, Optional<String> next) {
|
||||
}
|
||||
|
||||
record JsonInfo(String repo, String version, String hash) {
|
||||
public JsonInfo(JSONObject json) {
|
||||
this(json.getString("repo"), json.getString("version"), json.getString("hash"));
|
||||
}
|
||||
|
||||
public String toJsonString(String featureVersion) {
|
||||
return """
|
||||
\s "%s": {
|
||||
\s "version": "%s",
|
||||
\s "repo": "%s",
|
||||
\s "hash": "%s"
|
||||
\s }\
|
||||
""".formatted(featureVersion, version, repo, hash);
|
||||
}
|
||||
}
|
||||
|
||||
// Parses the GitHub Link header
|
||||
public static Optional<String> getNextLink(HttpHeaders headers) {
|
||||
var linkHeader = headers.map().get("Link");
|
||||
if (linkHeader == null || linkHeader.isEmpty()) return null;
|
||||
|
||||
var links = linkHeader.getFirst();
|
||||
var linksRegex = Pattern.compile("<(.+)>;\\s*rel=\"next\"");
|
||||
return Pattern.compile(",")
|
||||
.splitAsStream(links)
|
||||
.map(x -> linksRegex.matcher(x).results()
|
||||
.map(g -> g.group(1))
|
||||
.findFirst()
|
||||
)
|
||||
.filter(Optional::isPresent)
|
||||
.map(Optional::orElseThrow)
|
||||
.findFirst();
|
||||
}
|
||||
|
||||
// HTTP request helper, sets GITHUB_TOKEN if present
|
||||
private static HttpRequest NewGithubRequest(String url) {
|
||||
var token = System.getenv().get("GITHUB_TOKEN");
|
||||
var builder = HttpRequest.newBuilder()
|
||||
.uri(URI.create(url));
|
||||
if (token != null)
|
||||
builder.setHeader("Authorization", "Bearer " + token);
|
||||
return builder.build();
|
||||
}
|
||||
|
||||
private static GitHubResult getLatestTag(String url) {
|
||||
var request = NewGithubRequest(url);
|
||||
|
||||
var response =
|
||||
HttpClient.newHttpClient().sendAsync(request, HttpResponse.BodyHandlers.ofString())
|
||||
.join();
|
||||
|
||||
var json = new JSONArray(response.body());
|
||||
|
||||
Optional<String> version = StreamSupport.stream(json.spliterator(), false)
|
||||
.map(JSONObject.class::cast)
|
||||
.map(x -> x.getString("name").replaceFirst("jdk-", ""))
|
||||
.filter(x -> x.contains("-ga"))
|
||||
.max(Comparator.comparing(Runtime.Version::parse));
|
||||
|
||||
return new GitHubResult(version, getNextLink(response.headers()));
|
||||
}
|
||||
|
||||
public String findNewerVersion() {
|
||||
var url = Optional.of("https://api.github.com/repos/openjdk/" + getRepo() + "/tags?per_page=100");
|
||||
String version = getCurrentVersion();
|
||||
do {
|
||||
GitHubResult response = getLatestTag(url.orElseThrow());
|
||||
if (response.latestVersion.isPresent() && response.latestVersion.orElseThrow().equals(version)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
String latestVersion = Stream.of(version, response.latestVersion.orElse(version))
|
||||
.max(Comparator.comparing(Runtime.Version::parse)).orElseThrow();
|
||||
|
||||
if (latestVersion != version)
|
||||
return latestVersion;
|
||||
|
||||
url = response.next;
|
||||
} while (url.isPresent());
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
private static String prettyPrint(JSONObject json) {
|
||||
|
||||
Iterable<String> iterable = () -> json.keys();
|
||||
|
||||
return StreamSupport
|
||||
.stream(iterable.spliterator(), false)
|
||||
.sorted(Comparator.reverseOrder())
|
||||
.map(majorVersion -> (new JsonInfo(json.getJSONObject(majorVersion))).toJsonString(majorVersion))
|
||||
.collect(
|
||||
Collectors.joining(",\n", "{\n", "\n}")
|
||||
);
|
||||
}
|
||||
|
||||
public void updateJsonInfo(String newVersion) {
|
||||
try {
|
||||
JSONObject json = getJsonInfo();
|
||||
var info = json.getJSONObject(featureNumber);
|
||||
info.put("version", newVersion);
|
||||
info.put("hash", nixHash(newVersion));
|
||||
|
||||
try (PrintWriter out = new PrintWriter(infoJsonPath)) {
|
||||
out.println(prettyPrint(json));
|
||||
}
|
||||
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
|
||||
private String nixHash(String version) {
|
||||
try {
|
||||
var process = new ProcessBuilder("nix", "flake", "prefetch",
|
||||
"--extra-experimental-features", "'nix-command flakes'",
|
||||
"--json", "github:openjdk/" + getRepo() + "/jdk-" + version).start();
|
||||
|
||||
var json = new JSONObject(new String(process.getInputStream().readAllBytes()));
|
||||
process.waitFor();
|
||||
return json.getString("hash");
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
|
||||
private final String featureNumber;
|
||||
private final String infoJsonPath;
|
||||
private final JSONObject jsonInfo;
|
||||
|
||||
public String getCurrentVersion() {
|
||||
return this.jsonInfo.getJSONObject(this.featureNumber).getString("version");
|
||||
}
|
||||
|
||||
public String getRepo() {
|
||||
return this.jsonInfo.getJSONObject(this.featureNumber).getString("repo");
|
||||
}
|
||||
|
||||
public JSONObject getJsonInfo() {
|
||||
try {
|
||||
String infoStr = Files.readString(Path.of(this.infoJsonPath));
|
||||
return new JSONObject(infoStr);
|
||||
} catch (IOException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public JavaUpdater(String featureNumber, String infoJsonPath) {
|
||||
this.featureNumber = featureNumber;
|
||||
this.infoJsonPath = infoJsonPath;
|
||||
this.jsonInfo = getJsonInfo();
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
var updater = new JavaUpdater(args[0], args[1]);
|
||||
String newerVersion = updater.findNewerVersion();
|
||||
if (newerVersion != null) {
|
||||
updater.updateJsonInfo(newerVersion);
|
||||
}
|
||||
}
|
||||
}
|
12
pkgs/development/compilers/openjdk/info.json
Normal file
12
pkgs/development/compilers/openjdk/info.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"22": {
|
||||
"version": "22-ga",
|
||||
"repo": "jdk22u",
|
||||
"hash": "sha256-itjvIedPwJl/l3a2gIVpNMs1zkbrjioVqbCj1Z1nCJE="
|
||||
},
|
||||
"21": {
|
||||
"version": "21.0.3-ga",
|
||||
"repo": "jdk21u",
|
||||
"hash": "sha256-zRN16lrc5gtDlTVIQJRRx103w/VbRkatCLeEc9AXWPE="
|
||||
}
|
||||
}
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation ( finalAttrs: {
|
||||
pname = "blst";
|
||||
version = "0.3.11";
|
||||
version = "0.3.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "supranational";
|
||||
repo = "blst";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-oqljy+ZXJAXEB/fJtmB8rlAr4UXM+Z2OkDa20gpILNA=";
|
||||
hash = "sha256-z/xnttMuAOfoKn/yCBwdYbgcd6cDLD6tZxInAWn8XIk=";
|
||||
};
|
||||
|
||||
buildPhase = ''
|
||||
|
@ -40,6 +40,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
makeFlags = [
|
||||
"SYSTEM=${if stdenv.hostPlatform.isMinGW then "mingw" else stdenv.hostPlatform.parsed.kernel.name}"
|
||||
"CC:=$(CC)"
|
||||
"LD:=$(CC)"
|
||||
];
|
||||
|
||||
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "b2sdk";
|
||||
version = "2.2.1";
|
||||
version = "2.3.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||
owner = "Backblaze";
|
||||
repo = "b2-sdk-python";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-ENEAynUd66sjS+/Qoy9qyffPpSvxdnY1Nwdi+JTE96I=";
|
||||
hash = "sha256-Duva6rFYtMAfMYb2Ze8k3jIX8Ld8u4zdl7WXDbS0o64=";
|
||||
};
|
||||
|
||||
build-system = [ pdm-backend ];
|
||||
|
@ -13,13 +13,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bdffont";
|
||||
version = "0.0.25";
|
||||
version = "0.0.26";
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-IQ18ospOCg/iyT0Ts+BwfbFqUBz71War7c3KMl/3z+Y=";
|
||||
hash = "sha256-Q8IqwJmAYFicTX7RrVU9UvGZX+oaPb0RKlIFwArktXk=";
|
||||
};
|
||||
|
||||
format = "pyproject";
|
||||
|
@ -366,7 +366,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "boto3-stubs";
|
||||
version = "1.34.121";
|
||||
version = "1.34.122";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -374,7 +374,7 @@ buildPythonPackage rec {
|
||||
src = fetchPypi {
|
||||
pname = "boto3_stubs";
|
||||
inherit version;
|
||||
hash = "sha256-tqLJmBDBbkfVmHKmYSW/6H1a+5e1YTZXoVxoddXjU24=";
|
||||
hash = "sha256-gJdKU5mNiAr5dMVNWE/XBzOxD4QkbkDnRY6vTTsnoXY=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "botocore-stubs";
|
||||
version = "1.34.121";
|
||||
version = "1.34.122";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
src = fetchPypi {
|
||||
pname = "botocore_stubs";
|
||||
inherit version;
|
||||
hash = "sha256-8OvFc9QA/HxK1thXU+N9pi8oZenlTH01KAtifZuoS94=";
|
||||
hash = "sha256-oX1MW1o8EOj6tm3Bf78qHbzJ2mC44J0jps+FHM7b+q8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bthome-ble";
|
||||
version = "3.9.1";
|
||||
version = "3.9.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@ -23,13 +23,9 @@ buildPythonPackage rec {
|
||||
owner = "Bluetooth-Devices";
|
||||
repo = "bthome-ble";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-v3SzzbdWRJISuF1THHlrvci4b+H1Zw/0e5iSEB0Scvw=";
|
||||
hash = "sha256-T6R3w8ZatgB73/rM5GLS9dBp3E1rvbqHo+QS6GHHI4w=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./habluetooth-3.0-compat.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail " --cov=bthome_ble --cov-report=term-missing:skip-covered" ""
|
||||
@ -53,7 +49,7 @@ buildPythonPackage rec {
|
||||
description = "Library for BThome BLE devices";
|
||||
homepage = "https://github.com/Bluetooth-Devices/bthome-ble";
|
||||
changelog = "https://github.com/bluetooth-devices/bthome-ble/blob/v${version}/CHANGELOG.md";
|
||||
license = with licenses; [ mit ];
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
@ -1,48 +0,0 @@
|
||||
diff --git a/tests/test_parser_v1.py b/tests/test_parser_v1.py
|
||||
index d717263..bb03d80 100644
|
||||
--- a/tests/test_parser_v1.py
|
||||
+++ b/tests/test_parser_v1.py
|
||||
@@ -77,6 +77,7 @@ def bytes_to_service_info(
|
||||
advertisement=None,
|
||||
connectable=False,
|
||||
time=ADVERTISEMENT_TIME,
|
||||
+ tx_power=None,
|
||||
)
|
||||
|
||||
|
||||
@@ -96,6 +97,7 @@ def bytes_to_encrypted_service_info(
|
||||
advertisement=None,
|
||||
connectable=False,
|
||||
time=ADVERTISEMENT_TIME,
|
||||
+ tx_power=None,
|
||||
)
|
||||
|
||||
|
||||
@@ -1195,6 +1197,7 @@ def test_bthome_multiple_uuids(caplog):
|
||||
advertisement=None,
|
||||
connectable=False,
|
||||
time=ADVERTISEMENT_TIME,
|
||||
+ tx_power=None,
|
||||
)
|
||||
|
||||
device = BTHomeBluetoothDeviceData()
|
||||
diff --git a/tests/test_parser_v2.py b/tests/test_parser_v2.py
|
||||
index 8fee31a..3ff8bc3 100644
|
||||
--- a/tests/test_parser_v2.py
|
||||
+++ b/tests/test_parser_v2.py
|
||||
@@ -97,6 +97,7 @@ def bytes_to_service_info(
|
||||
advertisement=None,
|
||||
connectable=False,
|
||||
time=time,
|
||||
+ tx_power=None,
|
||||
)
|
||||
|
||||
|
||||
@@ -3171,6 +3172,7 @@ def test_bthome_multiple_uuids(caplog):
|
||||
advertisement=None,
|
||||
connectable=False,
|
||||
time=ADVERTISEMENT_TIME,
|
||||
+ tx_power=None,
|
||||
)
|
||||
|
||||
device = BTHomeBluetoothDeviceData()
|
@ -11,7 +11,7 @@
|
||||
let
|
||||
# 0.18.12 was yanked from PyPI, it refers to this issue:
|
||||
# https://github.com/deschler/django-modeltranslation/issues/701
|
||||
version = "0.19.0";
|
||||
version = "0.19.2";
|
||||
in
|
||||
buildPythonPackage {
|
||||
pname = "django-modeltranslation";
|
||||
@ -21,7 +21,7 @@ buildPythonPackage {
|
||||
owner = "deschler";
|
||||
repo = "django-modeltranslation";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Ypz1C+Dx1v61A7LvIsW644qfFjNHQ7KXeKewQ5MAgi0=";
|
||||
hash = "sha256-l0NyHIDAv7qmwtbMcxdnHFExlLchdfkP4iX/1ABzcRA=";
|
||||
};
|
||||
|
||||
# Remove all references to pytest-cov
|
||||
|
@ -15,14 +15,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-container";
|
||||
version = "2.45.0";
|
||||
version = "2.46.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-8vaSLR+cIKohDpbC679cKydLsnBKhewtTpdBDymxjss=";
|
||||
hash = "sha256-3kbZ+y22ml8j4NVjfEzzl1JcAsbyVJGCRJuitv7K7lw=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
@ -15,14 +15,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-dlp";
|
||||
version = "3.17.0";
|
||||
version = "3.18.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-YMUEBj8c154KA5Y/cm1gbypDxkfY4ncCq5wbym5rS9s=";
|
||||
hash = "sha256-R0CMx16DmMfc6Tw/YqPthYKyDxJcyODdMxAVrj62L34=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
@ -34,7 +34,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "litellm";
|
||||
version = "1.39.5";
|
||||
version = "1.40.6";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -43,7 +43,7 @@ buildPythonPackage rec {
|
||||
owner = "BerriAI";
|
||||
repo = "litellm";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-AAOXe+e7iNppKUaOoUIgofAj93FbwYJGfi+TFzj09RA=";
|
||||
hash = "sha256-mXrLhgOETrkwHYSJSmEPvFwZiO0kx9FmXlTJN2WZ8WI=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -46,7 +46,7 @@ in
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "llama-index-core";
|
||||
version = "0.10.42";
|
||||
version = "0.10.43";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -55,7 +55,7 @@ buildPythonPackage rec {
|
||||
owner = "run-llama";
|
||||
repo = "llama_index";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-DdD0gllACmwtXDQutjaKQmB8OpCBu+jgQ963g0dNW2c=";
|
||||
hash = "sha256-eqT3PR1yOrMU/lWGOr70OcekTeHveDfM9C8VOJEx1ps=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/${pname}";
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "llama-index-vector-stores-postgres";
|
||||
version = "0.1.7";
|
||||
version = "0.1.9";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
src = fetchPypi {
|
||||
pname = "llama_index_vector_stores_postgres";
|
||||
inherit version;
|
||||
hash = "sha256-00ccEfjYY8qrNYymHQ5w43w8zAHUAntO6oiwYUwaOVw=";
|
||||
hash = "sha256-gBa5Z6FaPTFw75CtzY0o/kaXr+3xbOaXQ62qbvue1Ko=";
|
||||
};
|
||||
|
||||
pythonRemoveDeps = [ "psycopg2-binary" ];
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "llama-index-vector-stores-qdrant";
|
||||
version = "0.2.8";
|
||||
version = "0.2.9";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
src = fetchPypi {
|
||||
pname = "llama_index_vector_stores_qdrant";
|
||||
inherit version;
|
||||
hash = "sha256-qeKV7jlBTujUEYMcPCS+PAD6xRlTBVi/DGJZ/MSN64A=";
|
||||
hash = "sha256-Iju/6Mh/dooQb8u3MHFc8XgNel2FBOI0VAGh6/dNZT4=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "oci";
|
||||
version = "2.126.2";
|
||||
version = "2.128.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
owner = "oracle";
|
||||
repo = "oci-python-sdk";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-eejIDpKpPekxrm1H9x2skxK67KNUm9mmrGM23hZ6ztM=";
|
||||
hash = "sha256-vdVfufsABznSgTMgbeTAFqGWo4JXAZoFaMXpvs3stmE=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
|
@ -16,18 +16,18 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyscf";
|
||||
version = "2.5.0";
|
||||
version = "2.6.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pyscf";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-UCchzoYsqeIGViewPf4KedmhYktXLmp5Me4lzb1i8p0=";
|
||||
hash = "sha256-y1RQKxFfhOC6+vUMJiXexaZeYZhav5t30XP7jooJ//0=";
|
||||
};
|
||||
|
||||
# setup.py calls Cmake and passes the arguments in CMAKE_CONFIGURE_ARGS to cmake.
|
||||
nativeBuildInputs = [ cmake ];
|
||||
build-system = [ cmake ];
|
||||
dontUseCmakeConfigure = true;
|
||||
preConfigure = ''
|
||||
export CMAKE_CONFIGURE_ARGS="-DBUILD_LIBCINT=0 -DBUILD_LIBXC=0 -DBUILD_XCFUN=0"
|
||||
@ -41,7 +41,7 @@ buildPythonPackage rec {
|
||||
xcfun
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
cppe
|
||||
h5py
|
||||
numpy
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pysolcast";
|
||||
version = "2.0.2";
|
||||
version = "2.0.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
owner = "mcaulifn";
|
||||
repo = "solcast";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-DXJkbAlkxBjUEbziFNdr8SilB2GRUoAwvrr0HY56Deg=";
|
||||
hash = "sha256-BMM6eDloyLee7mkwUE9HpWcRUE62y43YivRjDbwAqIk=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "responses" ];
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-roborock";
|
||||
version = "2.2.3";
|
||||
version = "2.3.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
@ -29,7 +29,7 @@ buildPythonPackage rec {
|
||||
owner = "humbertogontijo";
|
||||
repo = "python-roborock";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-aIvhc7MvFYbLTSKT0UZSb1glxcqfQvwTLgQPJFeS01M=";
|
||||
hash = "sha256-YjD/aTSUeVuMyrdC2dcKgIqeBC+8NircRFLh2+mbD+8=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "simplemma";
|
||||
version = "0.9.1";
|
||||
version = "1.0.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
@ -17,8 +17,8 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "adbar";
|
||||
repo = "simplemma";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-2IvAJ+tRnlYISymYXznCGAoUTKkM/PoYwpZpuMSXRYQ=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-lhk6QrBg0m8orYHphnP+YiCnJFE44buyp3NQbz0U550=";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
@ -16,12 +16,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "skl2onnx";
|
||||
version = "1.16.0";
|
||||
version = "1.17.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-M3Cz1AZc4txZM4eMMnP0rqQflFzGUUVDsTrS1X82nOU=";
|
||||
hash = "sha256-cSfchORw9In2gJTM//mlqBW2CfcA1D5wjm9lijOwZAM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -54,12 +54,15 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# RuntimeError: internal error
|
||||
disabledTests = lib.optionals (stdenv.hostPlatform.system == "aarch64-linux") [
|
||||
"test_add_scale_sequence"
|
||||
"test_modules"
|
||||
"test_setattr"
|
||||
];
|
||||
disabledTests =
|
||||
# Hangs forever
|
||||
[ "test_copy_onto" ]
|
||||
# RuntimeError: internal error
|
||||
++ lib.optionals (stdenv.hostPlatform.system == "aarch64-linux") [
|
||||
"test_add_scale_sequence"
|
||||
"test_modules"
|
||||
"test_setattr"
|
||||
];
|
||||
|
||||
# ModuleNotFoundError: No module named 'torch._C._distributed_c10d'; 'torch._C' is not a package
|
||||
disabledTestPaths = lib.optionals stdenv.isDarwin [ "test/test_distributed.py" ];
|
||||
|
@ -26,14 +26,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "trytond";
|
||||
version = "7.2.1";
|
||||
version = "7.2.3";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-gIWWzm7emSwgKoO5geNIXUqKNsDiq6fle5OHb+KvhLE=";
|
||||
hash = "sha256-rpHDbWNfMRrNOH/iXKmt45FxwInIENgCiUQtcCPvQgU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs =
|
||||
|
@ -13,14 +13,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "wasabi";
|
||||
version = "1.1.2";
|
||||
version = "1.1.3";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-Gq7zrOqjLtuckTMNKdOTbAw5/blldDVJwXPLVLFsMLU=";
|
||||
hash = "sha256-S7MAjwA4CdsMPii02vIJBuqHGiu0P5kUGX1UD08uCHg=";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
@ -39,9 +39,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
cp -ra . $out/share/sbt
|
||||
ln -sT ../share/sbt/bin/sbt $out/bin/sbt
|
||||
ln -sT ../share/sbt/bin/sbtn-${
|
||||
if (stdenv.hostPlatform.isAarch64) then "aarch64" else "x86_64"
|
||||
}-${
|
||||
if (stdenv.isDarwin) then "apple-darwin" else "pc-linux"
|
||||
if (stdenv.isDarwin) then "universal-apple-darwin"
|
||||
else if (stdenv.hostPlatform.isAarch64) then "aarch64-pc-linux"
|
||||
else "x86_64-pc-linux"
|
||||
} $out/bin/sbtn
|
||||
|
||||
runHook postInstall
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "pack";
|
||||
version = "0.33.2";
|
||||
version = "0.34.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "buildpacks";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-nKMgyMPPBon3DChkikNvb2s41osub+fdCeGFzXwhQJo=";
|
||||
hash = "sha256-1s/0eBRnir2MyrDALcOi5drCIJVkrPBB4RXKX08mxKs=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-/2GO99kfZTra7tJy90Y0nixNafiP65ZpDQnvEhOaGoA=";
|
||||
vendorHash = "sha256-jhgTHhiQUDf9738Zusk1SxEae9G6MQapBRq7DBN5Tuc=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "butane";
|
||||
version = "0.20.0";
|
||||
version = "0.21.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "coreos";
|
||||
repo = "butane";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-bSzXiA9dAMuljKCDpbWd1hSICNBAMCAUGPLH+0Sz1mA=";
|
||||
hash = "sha256-KsI+mt7nJHwrq0+GPNcI79jRy/4WEjHp2/egw0PcRLM=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
@ -6,15 +6,15 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "conftest";
|
||||
version = "0.52.0";
|
||||
version = "0.53.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-policy-agent";
|
||||
repo = "conftest";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-TjBBKFWyqrqeiddAn5SDiLZ4HirWC4vYwIEA43IFSxY=";
|
||||
hash = "sha256-Fg9U6xCOivolwpH4C63HAhSEcfkTJYrNRzwr0OLtLqs=";
|
||||
};
|
||||
vendorHash = "sha256-wQBeKPT/MSTd89UmtwKH7uX3sv7x1N5MXMKo/DZRmBk=";
|
||||
vendorHash = "sha256-tFJf0wYai1Nc8zbTXE/FSM0K7IkGQjsrMCwpi3rcwzg=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "go-minimock";
|
||||
version = "3.3.11";
|
||||
version = "3.3.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gojuno";
|
||||
repo = "minimock";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-BGG2gCHpPXRzjg9F/fjTbghHJngYnZAtwajBhgl3zt4=";
|
||||
hash = "sha256-9iokhXkwmISjg8pOy11bax0KEfro2lpGLI9fbz2tpiY=";
|
||||
};
|
||||
|
||||
ldflags = [
|
||||
|
@ -15,7 +15,7 @@ let
|
||||
buildHashes = builtins.fromJSON (builtins.readFile ./hashes.json);
|
||||
|
||||
# the version of infisical
|
||||
version = "0.22.2";
|
||||
version = "0.22.3";
|
||||
|
||||
# the platform-specific, statically linked binary
|
||||
src =
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ "_comment": "@generated by pkgs/development/tools/infisical/update.sh"
|
||||
, "x86_64-linux": "sha256-oRRkv0x43qhRzsTwcP9855kAOigfn13WPAGj7Izcm3Y="
|
||||
, "x86_64-darwin": "sha256-G7vokhMq4w781MkxeYTolc2ATFOwGLJeZ4XIS0E1h5s="
|
||||
, "aarch64-linux": "sha256-JXzTAfSNFPlxM3/vm+mMd8poT80b6XpZXXLShsGHGnY="
|
||||
, "aarch64-darwin": "sha256-bMw39FsL4tjAF/O/Y7Xg2pxVOW64qXLPbDjau8gonY0="
|
||||
, "x86_64-linux": "sha256-cju3d8/V0kF1U7IGvcdQiEbP4YX/xqy+TConpXEAreY="
|
||||
, "x86_64-darwin": "sha256-EMjAjpNaiH5Z9WpqFs/bnWlp7XteZXVdK/1pcIRzWHY="
|
||||
, "aarch64-linux": "sha256-3iIVSnEIfko6kzwC5glLgM5uUW36fIBltBQ/6FZZb4U="
|
||||
, "aarch64-darwin": "sha256-jozMvcYNzp+4xO+NI6rs/FRsurS8IZ8d54iqXmkKguA="
|
||||
}
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "oras";
|
||||
version = "1.1.0";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "oras-project";
|
||||
repo = "oras";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-oWDxrxCrBU0quSpRLXZ0w1COuImVj4FzAmv8574x76o=";
|
||||
hash = "sha256-uqbHyp7eB7uttBlWpWxkCDGHtLkViYPEsIXuMGZ6LuM=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-51keQmj1eGT3rJysnfTWIl8xoHfz3NPL/qXegc3wwNc=";
|
||||
vendorHash = "sha256-QGh3utM+9yPRGN/6IrPbXzyXA6yUNKQuOdVWglFeySw=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "protoc-gen-twirp_php";
|
||||
version = "0.10.0";
|
||||
version = "0.11.0";
|
||||
|
||||
# fetchFromGitHub currently not possible, because go.mod and go.sum are export-ignored
|
||||
src = fetchgit {
|
||||
url = "https://github.com/twirphp/twirp.git";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-YMndB5DiER2Z1ARbw2cpxE1DBFCoVNWhMdsfA3X27EE=";
|
||||
sha256 = "sha256-LUFwmxlbZVTlEyp82lm3ylh6KYtVlviYK13pxj4MH0M=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-Gf8thGuFAKX4pCNFJM3RbJ63vciLNcSqpOULcUOaGNw=";
|
||||
vendorHash = "sha256-BPvKRIYvIxen0m8C9geFC4gIq4VH8mmdI0ZLMnlBB/I=";
|
||||
|
||||
subPackages = [ "protoc-gen-twirp_php" ];
|
||||
|
||||
|
@ -9,14 +9,14 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-show-asm";
|
||||
version = "0.2.35";
|
||||
version = "0.2.36";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
hash = "sha256-23G4Re10ksoJSWRmzRjTpSGRLk3LLnkuzTjPOgf4oOk=";
|
||||
hash = "sha256-Ptv8txt7YXPh1QvFwsoRbBQgeLBGn6iVqst1GHU+JJw=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-OcGmlGA0relDY1Tn/edE1pX+vOhKFXJ8YeCdQ5b7ZnQ=";
|
||||
cargoHash = "sha256-GkhFbRhEJ+7ikqkNPydKx3Ty8KRsGts5UnwA8bl8Po8=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
|
@ -18,16 +18,16 @@ let
|
||||
}.${system} or throwSystem;
|
||||
|
||||
hash = {
|
||||
aarch64-darwin = "sha256-Wsys6Iagq/dwOKb+htMWosLL51blPxxq3PX8ioZ1UZw=";
|
||||
aarch64-linux = "sha256-vXvhtfHd/Pg4Pv6X23Y9nC1OFUeju5vBn9SEOaI5G6E=";
|
||||
armv7l-linux = "sha256-ZCqvztsUD+dom6HL/IejSjn9Cy/Rwnn7/QFxtW0XFoU=";
|
||||
x86_64-darwin = "sha256-vVbDvu3R66AwCZgg75k1Mjp2oVsrkdMXtqHA5sdACEo=";
|
||||
x86_64-linux = "sha256-POpm9f2HmGU4cBpVHHNCwpoK4+MTnu1Xxb2RUfZtq5Y=";
|
||||
aarch64-darwin = "sha256-ubXwWgg4QAwM27meaIjT/HjgoVs9cVUiGNWoGRLktBI=";
|
||||
aarch64-linux = "sha256-vd1hRTAGLI3Kv/FmYICKTSajyneh+F9vM1+gnqGthGs=";
|
||||
armv7l-linux = "sha256-Jl5H+MZUMBZOBmHgzpM/S7lAY4F1KtRS0G7Vu7ORKgg=";
|
||||
x86_64-darwin = "sha256-SL0DjE1ssPlypsWbhxq/YgSUYtdqOXkb6EktfmAAXkQ=";
|
||||
x86_64-linux = "sha256-18MbsqzYcr9hsON5hZujEBzvi7vyQzpYZOCitYYq5HY=";
|
||||
}.${system} or throwSystem;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tailwindcss";
|
||||
version = "3.4.3";
|
||||
version = "3.4.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/tailwindlabs/tailwindcss/releases/download/v${version}/tailwindcss-${plat}";
|
||||
|
@ -30,9 +30,20 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
sourceRoot = "${finalAttrs.pname}-${finalAttrs.version}/Quake";
|
||||
|
||||
nativeBuildInputs = [
|
||||
copyDesktopItems pkg-config vulkan-headers
|
||||
gzip libvorbis libmad flac curl libopus
|
||||
opusfile libogg libxmp vulkan-loader SDL2
|
||||
copyDesktopItems
|
||||
pkg-config
|
||||
vulkan-headers
|
||||
gzip
|
||||
libvorbis
|
||||
libmad
|
||||
flac
|
||||
curl
|
||||
libopus
|
||||
opusfile
|
||||
libogg
|
||||
libxmp
|
||||
vulkan-loader
|
||||
SDL2
|
||||
];
|
||||
|
||||
buildFlags = [
|
||||
@ -55,8 +66,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
preInstall = ''
|
||||
mkdir -p "$out/bin"
|
||||
mkdir -p "$out/share/quake"
|
||||
substituteInPlace Makefile --replace "cp ironwail.pak /usr/local/games/quake" "cp ironwail.pak $out/share/quake/ironwail.pak"
|
||||
substituteInPlace Makefile --replace "/usr/local/games" "$out/bin"
|
||||
substituteInPlace Makefile --replace-fail "cp ironwail.pak /usr/local/games/quake" "cp ironwail.pak $out/share/quake/ironwail.pak"
|
||||
substituteInPlace Makefile --replace-fail "/usr/local/games/quake" "$out/bin/ironwail"
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
@ -64,7 +75,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
name = "ironwail";
|
||||
exec = "quake";
|
||||
exec = "ironwail";
|
||||
desktopName = "Ironwail";
|
||||
categories = [ "Game" ];
|
||||
})
|
||||
@ -86,6 +97,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.necrophcodr ];
|
||||
mainProgram = "quake";
|
||||
mainProgram = "ironwail";
|
||||
};
|
||||
})
|
||||
|
@ -16,13 +16,13 @@ let
|
||||
in
|
||||
python.pkgs.buildPythonPackage rec {
|
||||
pname = "etebase-server";
|
||||
version = "0.11.0";
|
||||
version = "0.13.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "etesync";
|
||||
repo = "server";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-+MSNX+CFmIQII+SFjM2TQKCgRMOTdsOIVAP8ur4WjQY=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-GEieXue3Kvc4zZjfypKLmTmhNPbn/GR8g0qEqkl+wkw=";
|
||||
};
|
||||
|
||||
patches = [ ./secret.patch ];
|
||||
@ -31,7 +31,7 @@ python.pkgs.buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = with python.pkgs; [
|
||||
aiofiles
|
||||
django_3
|
||||
django_4
|
||||
fastapi
|
||||
msgpack
|
||||
pynacl
|
||||
|
@ -8,13 +8,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "klipper";
|
||||
version = "0.12.0-unstable-2024-05-27";
|
||||
version = "0.12.0-unstable-2024-06-05";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "KevinOConnor";
|
||||
repo = "klipper";
|
||||
rev = "6cd174208bd9bbd51dc0d519a26661fb926d038a";
|
||||
sha256 = "sha256-mIBJtrkh+SIGx9s+ZyUcn0343HEkGN8i0N/Ap/AETVs=";
|
||||
rev = "49c0ad6369670da574f550aa878ce9f6e1899e74";
|
||||
sha256 = "sha256-9kzOIv5FS0+FqgrMD2rtWoX1ZbidOfrh6pOalru8HWo=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/klippy";
|
||||
|
@ -6,16 +6,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "pocketbase";
|
||||
version = "0.22.12";
|
||||
version = "0.22.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pocketbase";
|
||||
repo = "pocketbase";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-ltz1efvP1wLQx/9rIRvt0ajEvEUaOjSWQzxjFhjXMI4=";
|
||||
hash = "sha256-eps1sLtE/yBLyq1iTzOWu+RqFAjAg4EXWV7QZnr2KjQ=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-EsBMnIeSBQw3tu2jSLS9VpmHHyfHw9crGSmOrUIRvoo=";
|
||||
vendorHash = "sha256-hxI/0ask3iQW0Ox+HuJ6Oi1jiHF/0NZ+L7cLJijqyyQ=";
|
||||
|
||||
# This is the released subpackage from upstream repo
|
||||
subPackages = [ "examples/base" ];
|
||||
|
@ -10,12 +10,12 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pgpool-II";
|
||||
version = "4.5.1";
|
||||
version = "4.5.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.pgpool.net/mediawiki/download.php?f=pgpool-II-${version}.tar.gz";
|
||||
name = "pgpool-II-${version}.tar.gz";
|
||||
hash = "sha256-jhSwVYoV2uh2fI4azuPy9sfAjr//2majWTZ+qqVsOTY=";
|
||||
hash = "sha256-SArCPwHNfWyFayk4a/F6hIcS+0tAV9TIq9XIv4Gb3wY=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
@ -252,7 +252,7 @@ let
|
||||
description = "A powerful, open source object-relational database system";
|
||||
license = licenses.postgresql;
|
||||
changelog = "https://www.postgresql.org/docs/release/${finalAttrs.version}/";
|
||||
maintainers = with maintainers; [ thoughtpolice danbst globin ivan ma27 ];
|
||||
maintainers = with maintainers; [ thoughtpolice danbst globin ivan ma27 wolfgangwalther ];
|
||||
pkgConfigModules = [ "libecpg" "libecpg_compat" "libpgtypes" "libpq" ];
|
||||
platforms = platforms.unix;
|
||||
|
||||
|
@ -5,16 +5,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "unifiedpush-common-proxies";
|
||||
version = "1.5.0";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "unifiedpush";
|
||||
repo = "common-proxies";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-eonKHhaH7mAdW7ouprQivMxKPGFv0s1m/S8jGwid8kM=";
|
||||
sha256 = "sha256-nKmWYBB/1akcISWxNgZxb15ROVQBcBbTn0HF+WZSb58=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-s0uN6PzIaAHLvRb9T07Xvb6mMAuvKHQ4oFJtl5hsvY4=";
|
||||
vendorHash = "sha256-wVZR/h0AtwZ1eo7EoRKNzaS2Wp0X01e2u3Ugmsnj644=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A set of rewrite proxies and gateways for UnifiedPush";
|
||||
|
@ -7,13 +7,13 @@
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "FreshRSS";
|
||||
version = "1.24.0";
|
||||
version = "1.24.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "FreshRSS";
|
||||
repo = "FreshRSS";
|
||||
rev = version;
|
||||
hash = "sha256-QMSSSSyInkWJP9im6RhyVItSgY30Nt2p1pRDdPPoaYI=";
|
||||
hash = "sha256-AAOON1RdbG6JSnCc123jmIlIXHOE1PE49BV4hcASO/s=";
|
||||
};
|
||||
|
||||
passthru.tests = {
|
||||
|
@ -5,8 +5,8 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "fits-cloudctl";
|
||||
version = "0.12.19"; # also update these 3 vars:
|
||||
gitversion = "tags/v0.12.19-0-g0a0d89a"; # git describe --long --all
|
||||
version = "0.12.20"; # also update these 3 vars:
|
||||
gitversion = "tags/v0.12.20-0-g0a0d89a"; # git describe --long --all
|
||||
gitsha = "0a0d89a8"; # git rev-parse --short=8 HEAD
|
||||
gittime = "2024-05-15T17:34:46+02:00"; # date --iso-8601=seconds
|
||||
|
||||
@ -14,10 +14,10 @@ buildGoModule rec {
|
||||
owner = "fi-ts";
|
||||
repo = "cloudctl";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-4R+wBjlCjk/7/iucC3zptrQ5D5wtQeqdeyfJ1DiFusY=";
|
||||
hash = "sha256-WDqdp9E9O6nzwLJNwljV2FcgTqdEVVRppOeNxrSrBv8=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-mK10DxDUrEkCdumq6MM6h7B8C8P1hGE466ko3yj1kto=";
|
||||
vendorHash = "sha256-18iCTv0H9X3IccWsTD44qEEt9nXnq/En5zoqEwkC8Bs=";
|
||||
|
||||
ldflags = [
|
||||
"-X github.com/metal-stack/v.Version=${version}"
|
||||
|
@ -9,16 +9,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "qovery-cli";
|
||||
version = "0.94.4";
|
||||
version = "0.94.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Qovery";
|
||||
repo = "qovery-cli";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-wPP3ca76y+Tdp/GgoIMS3DdxDi7hXLUShO5anRaX4ks=";
|
||||
hash = "sha256-btB/GBNwgNkpc2Ql+AqGl1ZOAjxnbAlQFE54rVxogvs=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-P34ff6yPnQcAUlNEnfFCu1QG31eoWM7h1OrznoFlRDo=";
|
||||
vendorHash = "sha256-vFZ2+F0HktAQA6abQlD5HJ3CLMgvJjs2xx6O2Jc2oeg=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
|
@ -9,7 +9,7 @@ let
|
||||
in
|
||||
python3.pkgs.buildPythonApplication {
|
||||
inherit pname version;
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = python3.pythonOlder "3.6";
|
||||
|
||||
@ -20,25 +20,30 @@ python3.pkgs.buildPythonApplication {
|
||||
hash = "sha256-iVS1wyPCXlbK1rMFidNbbUohu527NSaCpu1Dve01TvM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
numpy
|
||||
faster-whisper
|
||||
ctranslate2
|
||||
tqdm
|
||||
sounddevice
|
||||
];
|
||||
build-system = [ python3.pkgs.setuptools ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
dependencies = with python3.pkgs; [
|
||||
ctranslate2
|
||||
faster-whisper
|
||||
numpy
|
||||
pyannote-audio
|
||||
sounddevice
|
||||
tqdm
|
||||
];
|
||||
|
||||
nativeCheckInputs = with python3.pkgs; [
|
||||
nose2
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
# Note: we are not running the `e2e-tests` because they require downloading models from the internet.
|
||||
${python3.interpreter} -m nose2 -s tests
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Whisper command line client compatible with original OpenAI client based on CTranslate2";
|
||||
homepage = "https://github.com/Softcatala/whisper-ctranslate2";
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "resvg";
|
||||
version = "0.41.0";
|
||||
version = "0.42.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "RazrFalcon";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-plZiyEiBWeV2mwTsNK5Je8Axs/hcHH8aV2VpOix6QCY=";
|
||||
hash = "sha256-GAP/jCWtaMVmsLGD8EosspfzemrDAIAdts1tAz+zNik=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-U7xzb9e9wh9XbLvlYQ0ofIjH8FuSzVcrXnrehQmZgww=";
|
||||
cargoHash = "sha256-mRj5Hz8jY0NZSUJXFCvLswQE7H3+fkouZbNtWLP47FE=";
|
||||
|
||||
cargoBuildFlags = [
|
||||
"--package=resvg"
|
||||
|
@ -8,16 +8,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "aichat";
|
||||
version = "0.17.0";
|
||||
version = "0.18.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sigoden";
|
||||
repo = "aichat";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-muRUBBmhXtIbKvMzBISjoHFSOtYci6x9nQI/bUiEHrs=";
|
||||
hash = "sha256-V7WKzi9PKSek8DlF7QzBEaYn3a+BJzMtKEoi5yMGS/w=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-RKyZOfjweSE83hAjBIve38CT9R2DomwW3qA8ezw6dCI=";
|
||||
cargoHash = "sha256-sFRYu1sQ9PdjsBTgajMfvJqA32Q8HZCHs3h2wemb9oY=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
|
@ -13,7 +13,8 @@
|
||||
, xorg
|
||||
, zlib
|
||||
, buildPackages
|
||||
, withClipboard ? false
|
||||
, withClipboard ? !stdenv.isDarwin
|
||||
, withTrash ? !stdenv.isDarwin
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -42,7 +43,7 @@ rustPlatform.buildRustPackage rec {
|
||||
zlib
|
||||
];
|
||||
|
||||
buildFeatures = lib.optionals withClipboard [ "clipboard" ];
|
||||
buildFeatures = lib.optionals withTrash [ "trash" ] ++ lib.optionals withClipboard [ "clipboard" ];
|
||||
|
||||
RUSTONIG_SYSTEM_LIBONIG = true;
|
||||
|
||||
|
@ -2,12 +2,12 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "grpc_cli";
|
||||
version = "1.64.1";
|
||||
version = "1.64.2";
|
||||
src = fetchFromGitHub {
|
||||
owner = "grpc";
|
||||
repo = "grpc";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-FfAH9vGlqzSGCPFKZtYhYFLQtbUbdksZvDptx94gkDE=";
|
||||
hash = "sha256-ejutUSrDOjNjG0x1DTq8t26C8LoY7OPJsp0r2bX06os=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
nativeBuildInputs = [ automake cmake autoconf ];
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "shadowsocks-rust";
|
||||
version = "1.18.4";
|
||||
version = "1.19.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
owner = "shadowsocks";
|
||||
repo = pname;
|
||||
hash = "sha256-1gZP0PVvYWEfWmTVql+8uyNhcjawBMJKvqy/4sZ0/6Y=";
|
||||
hash = "sha256-Mru6HUq0er3zIpyaFcbFfyaoYvD+YHgU+kGp9yW5ia0=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-GZuRz4VtAm+aQO0Hq5v3HVfqjoMPsEw5G6VADsAvdEQ=";
|
||||
cargoHash = "sha256-mx//rLIsxrGV1nh8HR/Dg+SPRdSapmvulM1nYuHJzg0=";
|
||||
|
||||
nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config ];
|
||||
|
||||
|
@ -11,16 +11,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "sing-box";
|
||||
version = "1.9.0";
|
||||
version = "1.9.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SagerNet";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-vOxzIMN+JCsNu8INMl18dslqiZsl0+Pe0H0pvsm8i+M=";
|
||||
hash = "sha256-5TSsOlQjsw9UAscWstLsX/6MyexdRHRXu4K/EFPnyvQ=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-QzDUxGAGUy9k+IHdMV0k4LFVeqMyAmfN5TrGROJWfYI=";
|
||||
vendorHash = "sha256-gmh+0NYOXcBsD+aamCTuOlgvYqmtfDnar2iGWRcepPE=";
|
||||
|
||||
tags = [
|
||||
"with_quic"
|
||||
|
@ -11,14 +11,14 @@
|
||||
with python3.pkgs;
|
||||
buildPythonApplication rec {
|
||||
pname = "pdm";
|
||||
version = "2.15.3";
|
||||
version = "2.15.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-wifYH2vxCWJqVkOnu1McX1t3eoUMTqyNCLRywRRr7uU=";
|
||||
hash = "sha256-WOIlhQVn3K3OQkGNtGOJlt8rE3jNCDDNSK/aG0VdnHI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -7,13 +7,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "exploitdb";
|
||||
version = "2024-06-04";
|
||||
version = "2024-06-08";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "exploit-database";
|
||||
repo = "exploitdb";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-8Vj5rj+4DGCHXHgJBOlUffRaS8ejS6EurU3OcaYOezg=";
|
||||
hash = "sha256-2PZTafasrJet9E/qoMaUIS/eZ8zWLujIAh5vqCrIHkQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
@ -1,4 +1,4 @@
|
||||
# frozen_string_literal: true
|
||||
source "https://rubygems.org"
|
||||
|
||||
gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/6.4.11"
|
||||
gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/6.4.12"
|
||||
|
@ -1,9 +1,10 @@
|
||||
GIT
|
||||
remote: https://github.com/rapid7/metasploit-framework
|
||||
revision: 5dfb48d9f70d811d52e0633998108f22b4959b1a
|
||||
ref: refs/tags/6.4.11
|
||||
revision: 4248753964d0fe0e89bf84cf2b8c8c4871009a96
|
||||
ref: refs/tags/6.4.12
|
||||
specs:
|
||||
metasploit-framework (6.4.11)
|
||||
metasploit-framework (6.4.12)
|
||||
aarch64
|
||||
actionpack (~> 7.0.0)
|
||||
activerecord (~> 7.0.0)
|
||||
activesupport (~> 7.0.0)
|
||||
@ -106,6 +107,8 @@ GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
Ascii85 (1.1.1)
|
||||
aarch64 (2.1.0)
|
||||
racc (~> 1.6)
|
||||
actionpack (7.0.8.3)
|
||||
actionview (= 7.0.8.3)
|
||||
activesupport (= 7.0.8.3)
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user