mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
Merge staging-next into staging
This commit is contained in:
commit
6f7345c8a6
195 changed files with 3647 additions and 1621 deletions
|
|
@ -81,6 +81,8 @@
|
|||
- `rebuilderd` has been updated to 0.27.0 introducing breaking changes. See upstream changelog for details: [0.26.0](https://github.com/kpcyrd/rebuilderd/releases/tag/v0.26.0), [0.27.0](https://github.com/kpcyrd/rebuilderd/releases/tag/v0.27.0)
|
||||
|
||||
- Starting with v14, `flameshot` will primarily utilise xdg-desktop-portal calls for screenshotting. This will directly affect users on X11 window managers due to the lack of a compatible portal with Screenshot feature. See [upstream changelog](https://github.com/flameshot-org/flameshot/releases/tag/v14.0.0) or [NixOS Flameshot](https://wiki.nixos.org/wiki/Flameshot) wiki page for workarounds.
|
||||
- `nim1` and respective aliases have been removed due to entering EOL; please migrate to `nim` or `nim-unwrapped` (nim 2).
|
||||
- `nim-2_0` & `nim-2_2` and respective aliases have been removed; please migrate to `nim` or `nim-unwrapped` (nim 2.2.10).
|
||||
|
||||
## Other Notable Changes {#sec-nixpkgs-release-26.11-notable-changes}
|
||||
|
||||
|
|
|
|||
|
|
@ -62,17 +62,14 @@ let
|
|||
ln -s ${configFile} $out/application/config/config.php
|
||||
ln -s ${dbFile} $out/application/config/database.php
|
||||
|
||||
# make a copy of the original assets/json to prime the datadir
|
||||
cp -a "$out/assets/json/" "$out/assets/json.original/"
|
||||
|
||||
# link writable directories
|
||||
for directory in updates uploads backup logbook; do
|
||||
for directory in updates uploads backup logbook assets/qslcard images/eqsl_card_images assets/sstvimages assets/json; do
|
||||
rm -rf $out/$directory
|
||||
ln -s ${cfg.dataDir}/$directory $out/$directory
|
||||
done
|
||||
|
||||
# link writable asset files
|
||||
for asset in dok sota wwff; do
|
||||
rm -rf $out/assets/json/$asset.txt
|
||||
ln -s ${cfg.dataDir}/assets/json/$asset.txt $out/assets/json/$asset.txt
|
||||
done
|
||||
'';
|
||||
};
|
||||
in
|
||||
|
|
@ -503,13 +500,26 @@ in
|
|||
group = config.services.nginx.group;
|
||||
in
|
||||
[
|
||||
"d ${cfg.dataDir} 0750 ${cfg.user} ${group} - -"
|
||||
"d ${cfg.dataDir}/updates 0750 ${cfg.user} ${group} - -"
|
||||
"d ${cfg.dataDir}/uploads 0750 ${cfg.user} ${group} - -"
|
||||
"d ${cfg.dataDir}/backup 0750 ${cfg.user} ${group} - -"
|
||||
"d ${cfg.dataDir}/logbook 0750 ${cfg.user} ${group} - -"
|
||||
"d ${cfg.dataDir}/assets/json 0750 ${cfg.user} ${group} - -"
|
||||
"d ${cfg.dataDir}/assets/qslcard 0750 ${cfg.user} ${group} - -"
|
||||
"d ${cfg.dataDir} 0750 ${cfg.user} ${group} - -"
|
||||
"d ${cfg.dataDir}/updates 0750 ${cfg.user} ${group} - -"
|
||||
"d ${cfg.dataDir}/uploads 0750 ${cfg.user} ${group} - -"
|
||||
"d ${cfg.dataDir}/backup 0750 ${cfg.user} ${group} - -"
|
||||
"d ${cfg.dataDir}/logbook 0750 ${cfg.user} ${group} - -"
|
||||
"d ${cfg.dataDir}/assets 0750 ${cfg.user} ${group} - -"
|
||||
"d ${cfg.dataDir}/assets/json 0750 ${cfg.user} ${group} - -"
|
||||
"d ${cfg.dataDir}/assets/qslcard 0750 ${cfg.user} ${group} - -"
|
||||
"d ${cfg.dataDir}/assets/sstvimages 0750 ${cfg.user} ${group} - -"
|
||||
"d ${cfg.dataDir}/images 0750 ${cfg.user} ${group} - -"
|
||||
"d ${cfg.dataDir}/images/eqsl_card_images 0750 ${cfg.user} ${group} - -"
|
||||
"C ${cfg.dataDir}/assets/json/dok.txt 0640 ${cfg.user} ${group} - ${package}/assets/json.original/dok.txt"
|
||||
"C ${cfg.dataDir}/assets/json/pota.txt 0640 ${cfg.user} ${group} - ${package}/assets/json.original/pota.txt"
|
||||
"C ${cfg.dataDir}/assets/json/satellite_data.json 0640 ${cfg.user} ${group} - ${package}/assets/json.original/satellite_data.json"
|
||||
"C ${cfg.dataDir}/assets/json/sota.txt 0640 ${cfg.user} ${group} - ${package}/assets/json.original/sota.txt"
|
||||
"C ${cfg.dataDir}/assets/json/US_counties.csv 0640 ${cfg.user} ${group} - ${package}/assets/json.original/US_counties.csv"
|
||||
"C ${cfg.dataDir}/assets/json/us_national_parksontheair.csv 0640 ${cfg.user} ${group} - ${package}/assets/json.original/us_national_parksontheair.csv"
|
||||
"C ${cfg.dataDir}/assets/json/WABSquares.geojson 0640 ${cfg.user} ${group} - ${package}/assets/json.original/WABSquares.geojson"
|
||||
"C ${cfg.dataDir}/assets/json/wwff.txt 0640 ${cfg.user} ${group} - ${package}/assets/json.original/wwff.txt"
|
||||
"C+ ${cfg.dataDir}/assets/json/datatables_languages 0750 ${cfg.user} ${group} - ${package}/assets/json.original/datatables_languages"
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ let
|
|||
documentation.enable = false;
|
||||
|
||||
# To ensure that we can rebuild the grub configuration on the nixos-rebuild
|
||||
system.extraDependencies = with pkgs; [ stdenvNoCC ];
|
||||
system.extraDependencies = with pkgs; [ stdenvNoCC hello ];
|
||||
|
||||
boot.initrd.systemd.enable = ${boolToString systemdStage1};
|
||||
|
||||
|
|
@ -278,14 +278,14 @@ let
|
|||
target.succeed("nix-store --verify --check-contents >&2")
|
||||
|
||||
with subtest("Check whether the channel works"):
|
||||
target.succeed("nix-env -iA nixos.procps >&2")
|
||||
assert ".nix-profile" in target.succeed("type -tP ps | tee /dev/stderr")
|
||||
target.succeed("nix-env -iA nixos.hello >&2")
|
||||
assert ".nix-profile" in target.succeed("type -tP hello | tee /dev/stderr")
|
||||
|
||||
with subtest(
|
||||
"Check that the daemon works, and that non-root users can run builds "
|
||||
"(this will build a new profile generation through the daemon)"
|
||||
):
|
||||
target.succeed("su alice -l -c 'nix-env -iA nixos.procps' >&2")
|
||||
target.succeed("su alice -l -c 'nix-env -iA nixos.hello' >&2")
|
||||
|
||||
with subtest("Configure system with writable Nix store on next boot"):
|
||||
# we're not using copy_from_host here because the installer image
|
||||
|
|
@ -744,6 +744,7 @@ let
|
|||
desktop-file-utils
|
||||
docbook5
|
||||
docbook_xsl_ns
|
||||
hello
|
||||
kbd.dev
|
||||
kmod.dev
|
||||
libarchive.dev
|
||||
|
|
|
|||
|
|
@ -21,20 +21,20 @@ let
|
|||
# update-script-start: urls
|
||||
urls = {
|
||||
x86_64-linux = {
|
||||
url = "https://download.jetbrains.com/cpp/CLion-2026.1.2.tar.gz";
|
||||
hash = "sha256-Q3LOhpwpU6vrPWEzA+s2ZnbRxo+EeodBUHUYs3Xikrs=";
|
||||
url = "https://download.jetbrains.com/cpp/CLion-2026.1.4.tar.gz";
|
||||
hash = "sha256-uOhFuDqVw3pxtqBvOQH+FpJTFrneaD/R0VcpJZRYD2o=";
|
||||
};
|
||||
aarch64-linux = {
|
||||
url = "https://download.jetbrains.com/cpp/CLion-2026.1.2-aarch64.tar.gz";
|
||||
hash = "sha256-YM105ozP78oLDmwKL0t4Z4wGjCDh6xvhf/C1oCD6Qi8=";
|
||||
url = "https://download.jetbrains.com/cpp/CLion-2026.1.4-aarch64.tar.gz";
|
||||
hash = "sha256-I6IKQng4lNtRlQIq08K5bueqgKI/q1awX4EuRnyAnOk=";
|
||||
};
|
||||
x86_64-darwin = {
|
||||
url = "https://download.jetbrains.com/cpp/CLion-2026.1.2.dmg";
|
||||
hash = "sha256-UEkYDJBjRvvUUB2UFsc37kdp/i+1ctqULSKs62/t9/I=";
|
||||
url = "https://download.jetbrains.com/cpp/CLion-2026.1.4.dmg";
|
||||
hash = "sha256-AJt+K1zv4eyjdzubUeFGwB9mqzvOeb3ffA2k0MajPBs=";
|
||||
};
|
||||
aarch64-darwin = {
|
||||
url = "https://download.jetbrains.com/cpp/CLion-2026.1.2-aarch64.dmg";
|
||||
hash = "sha256-scMwDF+mIfx/66cBrvdxp+gU3+qA2sUWqoGCEhPItjE=";
|
||||
url = "https://download.jetbrains.com/cpp/CLion-2026.1.4-aarch64.dmg";
|
||||
hash = "sha256-i3stX7dyRgSOJkFTMD9/hkw6e2mGNqn13S7X/vJ66RQ=";
|
||||
};
|
||||
};
|
||||
# update-script-end: urls
|
||||
|
|
@ -48,8 +48,8 @@ in
|
|||
product = "CLion";
|
||||
|
||||
# update-script-start: version
|
||||
version = "2026.1.2";
|
||||
buildNumber = "261.24374.148";
|
||||
version = "2026.1.4";
|
||||
buildNumber = "261.26222.59";
|
||||
# update-script-end: version
|
||||
|
||||
src = fetchurl (urls.${system} or (throw "Unsupported system: ${system}"));
|
||||
|
|
|
|||
|
|
@ -12,20 +12,20 @@ let
|
|||
# update-script-start: urls
|
||||
urls = {
|
||||
x86_64-linux = {
|
||||
url = "https://download.jetbrains.com/go/goland-2026.1.2.tar.gz";
|
||||
hash = "sha256-1FkDEaapyDbTPe4soOdyCHLkp/UT3rZ6siGyGyjmGJo=";
|
||||
url = "https://download.jetbrains.com/go/goland-2026.1.4.tar.gz";
|
||||
hash = "sha256-pHSbmAZ+tSfa0wdtDp/3Ib/GNMP30OFNQlHWUfMwrW0=";
|
||||
};
|
||||
aarch64-linux = {
|
||||
url = "https://download.jetbrains.com/go/goland-2026.1.2-aarch64.tar.gz";
|
||||
hash = "sha256-E8WpA4s/ePEDAs47IPC0v10C1VKl9UYU7VNX/5igpm4=";
|
||||
url = "https://download.jetbrains.com/go/goland-2026.1.4-aarch64.tar.gz";
|
||||
hash = "sha256-7s98kY08aKjdRGQLDkffeVhgj1FWurLmTTYmtb5Qx6c=";
|
||||
};
|
||||
x86_64-darwin = {
|
||||
url = "https://download.jetbrains.com/go/goland-2026.1.2.dmg";
|
||||
hash = "sha256-iWYTMImwzMh9KSJgek8a84o/KlLWBaOj80vKlB8Ftes=";
|
||||
url = "https://download.jetbrains.com/go/goland-2026.1.4.dmg";
|
||||
hash = "sha256-RbvcLpLVyeL4B1DJ2/9Ub/6Cz6fJGXMPCHsJ705GsAo=";
|
||||
};
|
||||
aarch64-darwin = {
|
||||
url = "https://download.jetbrains.com/go/goland-2026.1.2-aarch64.dmg";
|
||||
hash = "sha256-TFnEMq7u51UvtaOjnxS+abJhsR3aSnaQjNFfF8EQrcQ=";
|
||||
url = "https://download.jetbrains.com/go/goland-2026.1.4-aarch64.dmg";
|
||||
hash = "sha256-y7mEke0z0MvQs+kMtrmrq7EeAtJUbgo6sGZrOB0MraM=";
|
||||
};
|
||||
};
|
||||
# update-script-end: urls
|
||||
|
|
@ -39,8 +39,8 @@ in
|
|||
product = "Goland";
|
||||
|
||||
# update-script-start: version
|
||||
version = "2026.1.2";
|
||||
buildNumber = "261.24374.154";
|
||||
version = "2026.1.4";
|
||||
buildNumber = "261.26222.72";
|
||||
# update-script-end: version
|
||||
|
||||
src = fetchurl (urls.${system} or (throw "Unsupported system: ${system}"));
|
||||
|
|
|
|||
|
|
@ -15,20 +15,20 @@ let
|
|||
# update-script-start: urls
|
||||
urls = {
|
||||
x86_64-linux = {
|
||||
url = "https://download.jetbrains.com/idea/ideaIU-2026.1.3.tar.gz";
|
||||
hash = "sha256-pvBJcW2h0J2eDsFQDGC/AaX/ig/iQZF43R/y/bK3dWM=";
|
||||
url = "https://download.jetbrains.com/idea/ideaIU-2026.1.4.tar.gz";
|
||||
hash = "sha256-MQTYXZUH/4ggZeP465UGQCtKgSkJLSaCZiu26cTwY/w=";
|
||||
};
|
||||
aarch64-linux = {
|
||||
url = "https://download.jetbrains.com/idea/ideaIU-2026.1.3-aarch64.tar.gz";
|
||||
hash = "sha256-dlnnkWCSM8Pmv2fBv8yG9foRdkd8pYFa5hJbDq6EqIs=";
|
||||
url = "https://download.jetbrains.com/idea/ideaIU-2026.1.4-aarch64.tar.gz";
|
||||
hash = "sha256-MDZFuLrUxcCIc0Zhi4QhgKPeU7Pgs9oJ/FxQH1n3gBM=";
|
||||
};
|
||||
x86_64-darwin = {
|
||||
url = "https://download.jetbrains.com/idea/ideaIU-2026.1.3.dmg";
|
||||
hash = "sha256-Sv6A37Y5yIkaE+qnFEGDBq/q9fSSSZPjJC59NB2Fsns=";
|
||||
url = "https://download.jetbrains.com/idea/ideaIU-2026.1.4.dmg";
|
||||
hash = "sha256-8K+LiewiINP4S9eqV0kGWtfy2Ff/zvBwX89iX7mYZ78=";
|
||||
};
|
||||
aarch64-darwin = {
|
||||
url = "https://download.jetbrains.com/idea/ideaIU-2026.1.3-aarch64.dmg";
|
||||
hash = "sha256-LRyg2DLmTgChdFKR8NMGGjWDZTAWnjQpoTp3NIBvYrI=";
|
||||
url = "https://download.jetbrains.com/idea/ideaIU-2026.1.4-aarch64.dmg";
|
||||
hash = "sha256-XIBK/+Lxaz9dX+Lxl7HXsl+Z3Z7GBzSuDxNssb/4A2s=";
|
||||
};
|
||||
};
|
||||
# update-script-end: urls
|
||||
|
|
@ -43,8 +43,8 @@ mkJetBrainsProduct {
|
|||
productShort = "IDEA";
|
||||
|
||||
# update-script-start: version
|
||||
version = "2026.1.3";
|
||||
buildNumber = "261.25134.95";
|
||||
version = "2026.1.4";
|
||||
buildNumber = "261.26222.65";
|
||||
# update-script-end: version
|
||||
|
||||
src = fetchurl (urls.${system} or (throw "Unsupported system: ${system}"));
|
||||
|
|
|
|||
|
|
@ -12,20 +12,20 @@ let
|
|||
# update-script-start: urls
|
||||
urls = {
|
||||
x86_64-linux = {
|
||||
url = "https://download.jetbrains.com/webide/PhpStorm-2026.1.3.tar.gz";
|
||||
hash = "sha256-hXb2KcCaNKIJOGbN0ZUDxMKuX++dO1FRoxvC580VIHQ=";
|
||||
url = "https://download.jetbrains.com/webide/PhpStorm-2026.1.4.tar.gz";
|
||||
hash = "sha256-SF25D7dDn7b6AzcXEDLKwhpjTnCqYz1fEmvND5dl8Is=";
|
||||
};
|
||||
aarch64-linux = {
|
||||
url = "https://download.jetbrains.com/webide/PhpStorm-2026.1.3-aarch64.tar.gz";
|
||||
hash = "sha256-+As41qcyCvAICIttMEi30b8mBTZoWKK4rjxjkVx4TXs=";
|
||||
url = "https://download.jetbrains.com/webide/PhpStorm-2026.1.4-aarch64.tar.gz";
|
||||
hash = "sha256-T9q3/nxv/AA6y7CHWtOhUibR7bnKN8OZmfN3NWYTsIQ=";
|
||||
};
|
||||
x86_64-darwin = {
|
||||
url = "https://download.jetbrains.com/webide/PhpStorm-2026.1.3.dmg";
|
||||
hash = "sha256-Q9m/XIgDg4F4yH0P35IaInk/se5CXqewvp248VqA4uc=";
|
||||
url = "https://download.jetbrains.com/webide/PhpStorm-2026.1.4.dmg";
|
||||
hash = "sha256-W7EwYu7S3hs1564tXq8H1Uok/Gwx/8QJO4brUGOfFY4=";
|
||||
};
|
||||
aarch64-darwin = {
|
||||
url = "https://download.jetbrains.com/webide/PhpStorm-2026.1.3-aarch64.dmg";
|
||||
hash = "sha256-Yo50EhVQDg7c/C3JZ9utZxpsOY0DuZfgYzYtBN9Nmwk=";
|
||||
url = "https://download.jetbrains.com/webide/PhpStorm-2026.1.4-aarch64.dmg";
|
||||
hash = "sha256-XGcfEWHHeLugvkT/WlQDsVRN33F46b1PCNhINQitqSY=";
|
||||
};
|
||||
};
|
||||
# update-script-end: urls
|
||||
|
|
@ -39,8 +39,8 @@ mkJetBrainsProduct {
|
|||
product = "PhpStorm";
|
||||
|
||||
# update-script-start: version
|
||||
version = "2026.1.3";
|
||||
buildNumber = "261.25134.104";
|
||||
version = "2026.1.4";
|
||||
buildNumber = "261.26222.71";
|
||||
# update-script-end: version
|
||||
|
||||
src = fetchurl (urls.${system} or (throw "Unsupported system: ${system}"));
|
||||
|
|
|
|||
|
|
@ -13,20 +13,20 @@ let
|
|||
# update-script-start: urls
|
||||
urls = {
|
||||
x86_64-linux = {
|
||||
url = "https://download.jetbrains.com/python/pycharm-2026.1.2.tar.gz";
|
||||
hash = "sha256-kcd1vhb7CFn5sY69RW2I4THK3zN7DOn52O0YeIZWGWY=";
|
||||
url = "https://download.jetbrains.com/python/pycharm-2026.1.4.tar.gz";
|
||||
hash = "sha256-RIufgZhg/n+D1uEdcDyYRjTDfh8Jicyz4h0B1kTbVXs=";
|
||||
};
|
||||
aarch64-linux = {
|
||||
url = "https://download.jetbrains.com/python/pycharm-2026.1.2-aarch64.tar.gz";
|
||||
hash = "sha256-5rTyUmevreBL5nZPa7FuodFhWcrjSQ+7T1jMFo7P/uM=";
|
||||
url = "https://download.jetbrains.com/python/pycharm-2026.1.4-aarch64.tar.gz";
|
||||
hash = "sha256-71FbYpN0seJ5k/yZA7aoXgU4W/N1BhjtKl7W7Hic9UE=";
|
||||
};
|
||||
x86_64-darwin = {
|
||||
url = "https://download.jetbrains.com/python/pycharm-2026.1.2.dmg";
|
||||
hash = "sha256-Fej8KylKSFKVxCMrBAcUIDwb0v5B5r1RysMAvcBVgh8=";
|
||||
url = "https://download.jetbrains.com/python/pycharm-2026.1.4.dmg";
|
||||
hash = "sha256-Q5hTcYoNUzmAxwcsXJNS4medQjFKWc/Sgkybt4PQPfg=";
|
||||
};
|
||||
aarch64-darwin = {
|
||||
url = "https://download.jetbrains.com/python/pycharm-2026.1.2-aarch64.dmg";
|
||||
hash = "sha256-oau/wa9spYnn7XE07NGsINyqof3Mu9t9WQLuPAQ4TDc=";
|
||||
url = "https://download.jetbrains.com/python/pycharm-2026.1.4-aarch64.dmg";
|
||||
hash = "sha256-qxSgp8r4S0KXjCCTIoAiEZFCn3uBE/0pWLLA6td0Fq0=";
|
||||
};
|
||||
};
|
||||
# update-script-end: urls
|
||||
|
|
@ -40,8 +40,8 @@ in
|
|||
product = "PyCharm";
|
||||
|
||||
# update-script-start: version
|
||||
version = "2026.1.2";
|
||||
buildNumber = "261.24374.152";
|
||||
version = "2026.1.4";
|
||||
buildNumber = "261.26222.68";
|
||||
# update-script-end: version
|
||||
|
||||
src = fetchurl (urls.${system} or (throw "Unsupported system: ${system}"));
|
||||
|
|
|
|||
|
|
@ -24,20 +24,20 @@ let
|
|||
# update-script-start: urls
|
||||
urls = {
|
||||
x86_64-linux = {
|
||||
url = "https://download.jetbrains.com/rider/JetBrains.Rider-2026.1.2.tar.gz";
|
||||
hash = "sha256-OmysaGXGMxxAAa2qrHvX8yXIwJLU7tKG8/EBGhr55EA=";
|
||||
url = "https://download.jetbrains.com/rider/JetBrains.Rider-2026.1.4.tar.gz";
|
||||
hash = "sha256-K+X2M4idv+oDqC/dkbzMTX3W3zx0b0e8ZTsxkP7rAfI=";
|
||||
};
|
||||
aarch64-linux = {
|
||||
url = "https://download.jetbrains.com/rider/JetBrains.Rider-2026.1.2-aarch64.tar.gz";
|
||||
hash = "sha256-xcwd4OgobMXFQ2W+SN6O5I3mud4kedVQ/0rZBWbXIGY=";
|
||||
url = "https://download.jetbrains.com/rider/JetBrains.Rider-2026.1.4-aarch64.tar.gz";
|
||||
hash = "sha256-GXmyBrqxUpwK4djjwllvK+pnfktDrDHpLJKoe4D2xFo=";
|
||||
};
|
||||
x86_64-darwin = {
|
||||
url = "https://download.jetbrains.com/rider/JetBrains.Rider-2026.1.2.dmg";
|
||||
hash = "sha256-uoOP+EYB11M99MlAFF7efZSKmCk0fwjCImFiasUQPUw=";
|
||||
url = "https://download.jetbrains.com/rider/JetBrains.Rider-2026.1.4.dmg";
|
||||
hash = "sha256-GfQ5WpKunJ+JhE1VcArm3UxZ5udCbfnS1Kw3D4gZorA=";
|
||||
};
|
||||
aarch64-darwin = {
|
||||
url = "https://download.jetbrains.com/rider/JetBrains.Rider-2026.1.2-aarch64.dmg";
|
||||
hash = "sha256-Mo6gxWatX6wlL3s8Li19F58cnKZtOtFUfNyGPrC6CtA=";
|
||||
url = "https://download.jetbrains.com/rider/JetBrains.Rider-2026.1.4-aarch64.dmg";
|
||||
hash = "sha256-cfwT22BN1jzKZzrZHMQqYFJPGuRwta/sqoOJOp+PfBE=";
|
||||
};
|
||||
};
|
||||
# update-script-end: urls
|
||||
|
|
@ -51,8 +51,8 @@ in
|
|||
product = "Rider";
|
||||
|
||||
# update-script-start: version
|
||||
version = "2026.1.2";
|
||||
buildNumber = "261.24374.190";
|
||||
version = "2026.1.4";
|
||||
buildNumber = "261.26222.60";
|
||||
# update-script-end: version
|
||||
|
||||
src = fetchurl (urls.${system} or (throw "Unsupported system: ${system}"));
|
||||
|
|
|
|||
|
|
@ -12,20 +12,20 @@ let
|
|||
# update-script-start: urls
|
||||
urls = {
|
||||
x86_64-linux = {
|
||||
url = "https://download.jetbrains.com/ruby/RubyMine-2026.1.3.tar.gz";
|
||||
hash = "sha256-0KF/IEVRT8kgHpULEmqMy9gOf06IIDA4vEV3RujjQoE=";
|
||||
url = "https://download.jetbrains.com/ruby/RubyMine-2026.1.4.tar.gz";
|
||||
hash = "sha256-0EhtU4XKWI9i7ij+m5uvxHSYnbQaYJy8Sa6S1OW4CFU=";
|
||||
};
|
||||
aarch64-linux = {
|
||||
url = "https://download.jetbrains.com/ruby/RubyMine-2026.1.3-aarch64.tar.gz";
|
||||
hash = "sha256-kiuRp9JhdS0aUFPX1brI1T9ik/iWhglIckHvv4bdPWk=";
|
||||
url = "https://download.jetbrains.com/ruby/RubyMine-2026.1.4-aarch64.tar.gz";
|
||||
hash = "sha256-oSu19pkGVWt31vWBdAffSZsu4QzsUznVbUSwDy98nug=";
|
||||
};
|
||||
x86_64-darwin = {
|
||||
url = "https://download.jetbrains.com/ruby/RubyMine-2026.1.3.dmg";
|
||||
hash = "sha256-UjpwMCXhI+bMOvyyEbRBoNW3GGCDpi7aF6hUxffW/h0=";
|
||||
url = "https://download.jetbrains.com/ruby/RubyMine-2026.1.4.dmg";
|
||||
hash = "sha256-BLo2weIJK8gQAcMtAiETM7FMdhw9aoFIGh5Yqjv3k7s=";
|
||||
};
|
||||
aarch64-darwin = {
|
||||
url = "https://download.jetbrains.com/ruby/RubyMine-2026.1.3-aarch64.dmg";
|
||||
hash = "sha256-lqa3L+rBiEH/hPmFcevWBumvvyBBzoUR3ttvA8s0uT0=";
|
||||
url = "https://download.jetbrains.com/ruby/RubyMine-2026.1.4-aarch64.dmg";
|
||||
hash = "sha256-4wEnwcPRtwp0wxePUMiLow6sMxirwndRMdmJL8LBh9k=";
|
||||
};
|
||||
};
|
||||
# update-script-end: urls
|
||||
|
|
@ -39,8 +39,8 @@ mkJetBrainsProduct {
|
|||
product = "RubyMine";
|
||||
|
||||
# update-script-start: version
|
||||
version = "2026.1.3";
|
||||
buildNumber = "261.25134.97";
|
||||
version = "2026.1.4";
|
||||
buildNumber = "261.26222.67";
|
||||
# update-script-end: version
|
||||
|
||||
src = fetchurl (urls.${system} or (throw "Unsupported system: ${system}"));
|
||||
|
|
|
|||
|
|
@ -18,20 +18,20 @@ let
|
|||
# update-script-start: urls
|
||||
urls = {
|
||||
x86_64-linux = {
|
||||
url = "https://download.jetbrains.com/rustrover/RustRover-2026.1.3.tar.gz";
|
||||
hash = "sha256-0+v05zxvFqXV13c8oV9dTTwtO+shgywD75cwUiZAab0=";
|
||||
url = "https://download.jetbrains.com/rustrover/RustRover-2026.1.4.tar.gz";
|
||||
hash = "sha256-8x/AP6uKSVJavwjA9tYT1IM1xVspOZZzwmcwpGloIcw=";
|
||||
};
|
||||
aarch64-linux = {
|
||||
url = "https://download.jetbrains.com/rustrover/RustRover-2026.1.3-aarch64.tar.gz";
|
||||
hash = "sha256-SZ4OkWgAGeSafFo1ml5dv5tN5su+HgzbEhQ5GzPqGdo=";
|
||||
url = "https://download.jetbrains.com/rustrover/RustRover-2026.1.4-aarch64.tar.gz";
|
||||
hash = "sha256-KpF3jCnLKCEeEXkBdB8ZsPPqP9FOVRTwRV/FQLKyh1Q=";
|
||||
};
|
||||
x86_64-darwin = {
|
||||
url = "https://download.jetbrains.com/rustrover/RustRover-2026.1.3.dmg";
|
||||
hash = "sha256-JA++mbKvRTvjHEblbgmjBzbWbxcV7ss3+W9M6i6ePu0=";
|
||||
url = "https://download.jetbrains.com/rustrover/RustRover-2026.1.4.dmg";
|
||||
hash = "sha256-2BwgAD0xF9IxRJh+gW4vLzBW13rFQSzQPbEwdmQGvLU=";
|
||||
};
|
||||
aarch64-darwin = {
|
||||
url = "https://download.jetbrains.com/rustrover/RustRover-2026.1.3-aarch64.dmg";
|
||||
hash = "sha256-ndipMTztrYeUdo4MfOHjJHk3liHutWmMj+J6G8xjtWA=";
|
||||
url = "https://download.jetbrains.com/rustrover/RustRover-2026.1.4-aarch64.dmg";
|
||||
hash = "sha256-Hly4NBv9mg/RMmxCM6m9w5eS/CQ7ycxp7V2VQZwyGQE=";
|
||||
};
|
||||
};
|
||||
# update-script-end: urls
|
||||
|
|
@ -45,8 +45,8 @@ in
|
|||
product = "RustRover";
|
||||
|
||||
# update-script-start: version
|
||||
version = "2026.1.3";
|
||||
buildNumber = "261.25134.134";
|
||||
version = "2026.1.4";
|
||||
buildNumber = "261.26222.73";
|
||||
# update-script-end: version
|
||||
|
||||
src = fetchurl (urls.${system} or (throw "Unsupported system: ${system}"));
|
||||
|
|
|
|||
|
|
@ -3,10 +3,8 @@
|
|||
buildPackages,
|
||||
callPackage,
|
||||
stdenv,
|
||||
nim1,
|
||||
nim2,
|
||||
nim,
|
||||
nim_builder,
|
||||
defaultNimVersion ? 2,
|
||||
nimOverrides,
|
||||
buildNimPackage,
|
||||
}:
|
||||
|
|
@ -17,6 +15,7 @@ let
|
|||
enableParallelBuilding = true;
|
||||
__structuredAttrs = true;
|
||||
doCheck = true;
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
export NIX_NIM_BUILD_INPUTS=''${pkgsHostTarget[@]} $NIX_NIM_BUILD_INPUTS
|
||||
|
|
@ -38,7 +37,7 @@ let
|
|||
nim_builder --phase:install
|
||||
runHook postInstall
|
||||
'';
|
||||
meta = { inherit (nim2.meta) maintainers platforms; };
|
||||
meta = { inherit (nim.meta) maintainers platforms; };
|
||||
};
|
||||
|
||||
fodFromLockEntry =
|
||||
|
|
@ -108,30 +107,34 @@ let
|
|||
|
||||
finalOverride =
|
||||
{
|
||||
depsBuildBuild ? [ ],
|
||||
nativeBuildInputs ? [ ],
|
||||
nimFlags ? [ ],
|
||||
requiredNimVersion ? defaultNimVersion,
|
||||
passthru ? { },
|
||||
nativeBuildInputs ? [ ],
|
||||
depsBuildBuild ? [ ],
|
||||
...
|
||||
}:
|
||||
}@args:
|
||||
(
|
||||
if requiredNimVersion == 1 then
|
||||
{
|
||||
depsBuildBuild = [ nim_builder ] ++ depsBuildBuild;
|
||||
nativeBuildInputs = [ nim1 ] ++ nativeBuildInputs;
|
||||
}
|
||||
else if requiredNimVersion == 2 then
|
||||
{
|
||||
depsBuildBuild = [ nim_builder ] ++ depsBuildBuild;
|
||||
nativeBuildInputs = [ nim2 ] ++ nativeBuildInputs;
|
||||
}
|
||||
#TODO: Remove at 26.11
|
||||
if args ? requiredNimVersion then
|
||||
if args.requiredNimVersion == 2 then
|
||||
lib.warn ''
|
||||
`requiredNimVersion' is deprecated and will be removed in nixpkgs 26.11.
|
||||
Please update your package to remove this.
|
||||
''
|
||||
else
|
||||
throw ''
|
||||
`requiredNimVersion' ${toString args.requiredNimVersion} is not supported.
|
||||
Ensure your package supports nim 2, and remove `requiredNimVersion'.
|
||||
''
|
||||
else
|
||||
throw "requiredNimVersion ${toString requiredNimVersion} is not valid"
|
||||
{ }
|
||||
)
|
||||
// {
|
||||
nativeBuildInputs = [ nim ] ++ nativeBuildInputs;
|
||||
depsBuildBuild = [ nim_builder ] ++ depsBuildBuild;
|
||||
nimFlags = lockFileNimFlags ++ nimFlags;
|
||||
passthru = passthru // {
|
||||
|
||||
# allow overriding the result of buildNimPackageArgs before this composition is applied
|
||||
# this allows overriding the lockFile for packages built using buildNimPackage
|
||||
# this is adapted from mkDerivationExtensible in stdenv.mkDerivation
|
||||
|
|
|
|||
|
|
@ -799,7 +799,7 @@ rec {
|
|||
## `pkgs.writers.writeNim` usage example
|
||||
|
||||
```nix
|
||||
writeNim "hello-nim" { nim = pkgs.nim2; } ''
|
||||
writeNim "hello-nim" { nim = pkgs.nim; } ''
|
||||
echo "hello nim"
|
||||
'';
|
||||
```
|
||||
|
|
@ -809,7 +809,7 @@ rec {
|
|||
name:
|
||||
{
|
||||
makeWrapperArgs ? [ ],
|
||||
nim ? pkgs.nim2,
|
||||
nim ? pkgs.nim,
|
||||
nimCompileOptions ? { },
|
||||
strip ? true,
|
||||
}:
|
||||
|
|
|
|||
|
|
@ -7,13 +7,13 @@
|
|||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "algia";
|
||||
version = "0.0.125";
|
||||
version = "0.0.130";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mattn";
|
||||
repo = "algia";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-MPCCu34bJoj0QctG4Xe6B1BIUyLaTQ7N8IG15jMZCTE=";
|
||||
hash = "sha256-QuusIoZfNhETaVJJ8sUy3Zo3VnRUp7cfudDP562ZNLU=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-mim8EImPFHF2vf1vCi9jgECbVAOB32oXxsPMgUwYDBA=";
|
||||
|
|
|
|||
107
pkgs/by-name/ar/arrow-adbc/package.nix
Normal file
107
pkgs/by-name/ar/arrow-adbc/package.nix
Normal file
|
|
@ -0,0 +1,107 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
buildGoModule,
|
||||
|
||||
# nativeBuildInputs
|
||||
cmake,
|
||||
pkg-config,
|
||||
|
||||
# buildInputs
|
||||
nanoarrow,
|
||||
fmt,
|
||||
gtest,
|
||||
libpq,
|
||||
sqlite,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "arrow-adbc";
|
||||
version = "23";
|
||||
__structuredAttrs = true;
|
||||
strictDeps = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "apache";
|
||||
repo = "arrow-adbc";
|
||||
tag = "apache-arrow-adbc-${finalAttrs.version}";
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-33JUx4ZI+BHIZMvlCO43mjU34zShJZGQpAkqRrvgl2w=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-uGxCTllRNtXkrl31d88TOK36X09ylo++gtorx0uFR8A=";
|
||||
|
||||
# We are building the C project
|
||||
preConfigure = ''
|
||||
cd c/
|
||||
'';
|
||||
# Upstream's build invoces a custom `go build` command to build one of the
|
||||
# targets. We use buildGoModule's engineering to supply it the offline
|
||||
# `goModules` path and other GO[A-Z] environment variables. Ideally, there
|
||||
# should be setup hooks for the mechanisms of buildGoModule, that would make
|
||||
# it easier.
|
||||
modRoot = "../../go/adbc";
|
||||
inherit (finalAttrs.finalPackage.passthru.bigquery-go-package) goModules;
|
||||
preBuild =
|
||||
(lib.pipe finalAttrs.finalPackage.passthru.bigquery-go-package.configurePhase [
|
||||
# Make that this configure phase doesn't run our configure hooks.
|
||||
(lib.replaceString "runHook preConfigure" "")
|
||||
(lib.replaceString "runHook postConfigure" "")
|
||||
])
|
||||
# Return to original meson build directory.
|
||||
+ ''
|
||||
cd ../../c/build
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
# NOTE that the meson build system has a bug that it puts a few shared
|
||||
# objects in $out and not in $out/lib.
|
||||
cmake
|
||||
pkg-config
|
||||
finalAttrs.finalPackage.passthru.bigquery-go-package.passthru.go
|
||||
];
|
||||
|
||||
cmakeFlags = map (driver: lib.cmakeBool "ADBC_DRIVER_${driver}" true) [
|
||||
"BIGQUERY"
|
||||
"FLIGHTSQL"
|
||||
"MANAGER"
|
||||
"POSTGRESQL"
|
||||
"SNOWFLAKE"
|
||||
"SQLITE"
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
fmt
|
||||
gtest
|
||||
libpq
|
||||
nanoarrow
|
||||
sqlite
|
||||
];
|
||||
|
||||
passthru = {
|
||||
bigquery-go-package = buildGoModule (finalGoAttrs: {
|
||||
inherit (finalAttrs)
|
||||
pname
|
||||
version
|
||||
src
|
||||
vendorHash
|
||||
;
|
||||
sourceRoot = "${finalAttrs.src.name}/go/adbc";
|
||||
# This derivation is not really evaluated anyway, but it is used to
|
||||
# update the vendorHash... TODO: Check that nix-update is capable of
|
||||
# updating vendorHash automatically.
|
||||
dontBuild = true;
|
||||
dontInstall = true;
|
||||
});
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Database connectivity API standard and libraries for Apache Arrow";
|
||||
homepage = "https://arrow.apache.org/adbc/";
|
||||
changelog = "https://github.com/apache/arrow-adbc/blob/${finalAttrs.src.rev}/CHANGELOG.md";
|
||||
license = lib.licenses.afl20;
|
||||
maintainers = with lib.maintainers; [ doronbehar ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
})
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "bazaar";
|
||||
version = "0.8.3";
|
||||
version = "0.9.0";
|
||||
|
||||
__structuredAttrs = true;
|
||||
strictDeps = true;
|
||||
|
|
@ -50,7 +50,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
owner = "bazaar-org";
|
||||
repo = "bazaar";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-s0l548kuVD+eNAxA3BnbpuMHD1alq0/xGBIkXb7WpC0=";
|
||||
hash = "sha256-6MDrMXwtNcNJtnoRwfIKVulHu4FtVb4hhCtqIxmlz4A=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
|||
|
|
@ -9,16 +9,16 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
__structuredAttrs = true;
|
||||
|
||||
pname = "cargo-feature-combinations";
|
||||
version = "0.0.54";
|
||||
version = "0.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "romnn";
|
||||
repo = "cargo-feature-combinations";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-SgVwgG7lNFrDMH1t9yvYTTm7pQth2hcEAjwMuRkC5Kg=";
|
||||
hash = "sha256-5QQrWdq1jTGUCnzZkzJ2WzJRpxhRtaZMLpgCIktaiPc=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-S0I2itkyAhZwk+S/k/Sr3bpENpIQNHSaJwVpA8rvQ+E=";
|
||||
cargoHash = "sha256-PMZGYxdB9cbWLVtvfRtWsRqVwJWayPbrdhpKvxmq3dM=";
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
|
|
|
|||
|
|
@ -26,13 +26,13 @@
|
|||
}:
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "codex";
|
||||
version = "0.142.3";
|
||||
version = "0.142.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "openai";
|
||||
repo = "codex";
|
||||
tag = "rust-v${finalAttrs.version}";
|
||||
hash = "sha256-dxkyaWpgzqpAVFojDYQ6JpMPNBIX+d7xjIyLic4Cs8A=";
|
||||
hash = "sha256-Ua1UVArTvjHcg3bPK1FYyShYiIUH3AOxtoUTvA4UZwU=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/codex-rs";
|
||||
|
|
|
|||
|
|
@ -8,13 +8,13 @@
|
|||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "emcee";
|
||||
version = "0.7.0";
|
||||
version = "0.8.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mattt";
|
||||
repo = "emcee";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-czOUhaPBxzuqZ72Y3TuzZ8r0Ab3OqGbDPZipkcak3Cw=";
|
||||
hash = "sha256-S3hSexTjedfmjLuFHXtyiDiKM4NaLeUIJCEl2PKAOCw=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-e8LPcKue7rhAh03uCRG0VTcwwyj3kDOBoeo3t7Hwvi0=";
|
||||
|
|
|
|||
|
|
@ -7,11 +7,11 @@
|
|||
}:
|
||||
|
||||
let
|
||||
version = "3.5.31";
|
||||
etcdSrcHash = "sha256-X3b1TBimNYo03fW0c5NeiD4uALMqtOQbJwPot11FCk8=";
|
||||
etcdServerVendorHash = "sha256-1/XJGpyYuTsb+1hReksX5VyD+6xbKaiLA8520cDKc/4=";
|
||||
etcdUtlVendorHash = "sha256-dUXAoIcOSlEbiSmy1M+oPaHt089gOttQwrB9ZhYc7v0=";
|
||||
etcdCtlVendorHash = "sha256-l1j00Mzv1z021rfBbFZrIce2pifQyRkST0bkZhVoST0=";
|
||||
version = "3.5.32";
|
||||
etcdSrcHash = "sha256-pqCMgY5veIF5kQDjqTg9B7aSL+V6bdMZpc464wjTLMo=";
|
||||
etcdServerVendorHash = "sha256-FDzAF2J9wbRmQETvrdJK3gL4cfAhiiihb5EOrimE11M=";
|
||||
etcdUtlVendorHash = "sha256-0xfq7f7Xr3SWxiU8C1bWQPxdFvEaoIrlK+gX3hkd4ho=";
|
||||
etcdCtlVendorHash = "sha256-59e/TORi/XX+GXRjMO/45SMumYgrFbOHEXqV7sM72H8=";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "etcd-io";
|
||||
|
|
|
|||
|
|
@ -6,15 +6,15 @@
|
|||
}:
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "firezone-gateway";
|
||||
version = "1.4.18";
|
||||
version = "1.5.2";
|
||||
src = fetchFromGitHub {
|
||||
owner = "firezone";
|
||||
repo = "firezone";
|
||||
tag = "gateway-${finalAttrs.version}";
|
||||
hash = "sha256-vxOFca6yO9AvgIJwizhaNlOjOvV00+ckQfXIJ17ASq4=";
|
||||
hash = "sha256-bfLPOhxv0xfnU3Q1zZWbhqvNe9Hav2RgF/ESMk81F4I=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-8YftVt72JpmxWB/WvOPpduE0/QgYvQhSuFRmsFth2iU=";
|
||||
cargoHash = "sha256-oOJ/UkamQrlWjAz2A4oObdBssHH9iJWN2BHFgMPOxck=";
|
||||
sourceRoot = "${finalAttrs.src.name}/rust";
|
||||
buildAndTestSubdir = "gateway";
|
||||
env.RUSTFLAGS = "--cfg system_certs";
|
||||
|
|
|
|||
|
|
@ -7,13 +7,13 @@
|
|||
stdenv.mkDerivation (finalAttrs: {
|
||||
preferLocalBuild = true;
|
||||
pname = "freescout";
|
||||
version = "1.8.226";
|
||||
version = "1.8.229";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "freescout-help-desk";
|
||||
repo = "freescout";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-9fojG6S6yb2+W94cHrLuYIRjRL8JWspsj4bNE4QKSuk=";
|
||||
hash = "sha256-oA/GWEhdqmXt7v6iRKqud75uUBj1a6nKN7EjaYF0USk=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
|
|
|||
|
|
@ -9,13 +9,13 @@
|
|||
|
||||
stdenv.mkDerivation {
|
||||
pname = "fzf-zsh-plugin";
|
||||
version = "1.0.0-unstable-2026-06-21";
|
||||
version = "1.0.0-unstable-2026-06-30";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "unixorn";
|
||||
repo = "fzf-zsh-plugin";
|
||||
rev = "70e2ac8a12c137c1b097a6ecfdc0236e5ef51d1b";
|
||||
hash = "sha256-qwqezNXBRFKTWyMp+9Ss2hEAU9Bznc/DK0XNGZOfVOE=";
|
||||
rev = "6f953534d4c69a7340d27b7dcf14f406a22bed61";
|
||||
hash = "sha256-RQrxCU7f3LSepUYm0+2ljvJfzVh8yp4NMJHxssA60Vk=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
|
|
|||
|
|
@ -38,7 +38,9 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
# Bumps the gupnp_igd_dep version requested to 1.6
|
||||
# https://gitlab.freedesktop.org/libnice/libnice/-/merge_requests/255
|
||||
./gupnp-igd-bump.patch
|
||||
|
||||
]
|
||||
# TODO: investigate what's wrong
|
||||
++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
|
||||
(fetchpatch {
|
||||
name = "freebsd.patch";
|
||||
url = "https://gitlab.freedesktop.org/libnice/libnice/-/commit/479f0813a571ff035bf00de679db452a0441125b.patch";
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
buildNpmPackage (finalAttrs: {
|
||||
pname = "matterjs-server";
|
||||
version = "1.1.2";
|
||||
version = "1.1.7";
|
||||
__structuredAttrs = true;
|
||||
strictDeps = true;
|
||||
|
||||
|
|
@ -20,10 +20,10 @@ buildNpmPackage (finalAttrs: {
|
|||
owner = "matter-js";
|
||||
repo = "matterjs-server";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-+ICWKZAcKwfd72eWUwmM7XmCwC4F6P+o1JsHNK2+ROE=";
|
||||
hash = "sha256-8b4bLDVHTFcOHj3h/VuIxwdHJBleibZe9gUQvUD+aPA=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-L1G8/Y23deIjA4azMFLn+ZS95sKoRPSR1O7R8kZF5MU=";
|
||||
npmDepsHash = "sha256-wkxYJtHwwpP87PDuE2HWA/2GDEUWfcSN2sEvjWz27a8=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeBinaryWrapper
|
||||
|
|
|
|||
|
|
@ -7,13 +7,13 @@
|
|||
|
||||
buildNpmPackage (finalAttrs: {
|
||||
pname = "mcp-server-filesystem";
|
||||
version = "2026.1.26";
|
||||
version = "2026.7.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "modelcontextprotocol";
|
||||
repo = "servers";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-uULXUEHFZpYm/fmF6PkOFCxS+B+0q3dMveLG+3JHrhk=";
|
||||
hash = "sha256-rBdJoTC1wOEMbAAeSccFqaHL7lacf2SFfxZ/pp2Lx90=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
@ -22,7 +22,7 @@ buildNpmPackage (finalAttrs: {
|
|||
|
||||
dontNpmPrune = true;
|
||||
npmWorkspace = "src/filesystem";
|
||||
npmDepsHash = "sha256-jmz4JdpeHH07vJQFntBwrENbJaIcOuZMb7+qf497VOE=";
|
||||
npmDepsHash = "sha256-KhlTXcS+VDSPGnEus9fA0xhIxfTGwX1Cr5hbxFvdc2k=";
|
||||
|
||||
# TODO: revisit this when https://github.com/NixOS/nixpkgs/pull/333759 has landed
|
||||
postInstall = ''
|
||||
|
|
|
|||
|
|
@ -7,13 +7,13 @@
|
|||
|
||||
buildNpmPackage (finalAttrs: {
|
||||
pname = "mcp-server-memory";
|
||||
version = "2026.1.26";
|
||||
version = "2026.7.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "modelcontextprotocol";
|
||||
repo = "servers";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-uULXUEHFZpYm/fmF6PkOFCxS+B+0q3dMveLG+3JHrhk=";
|
||||
hash = "sha256-rBdJoTC1wOEMbAAeSccFqaHL7lacf2SFfxZ/pp2Lx90=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
@ -22,7 +22,7 @@ buildNpmPackage (finalAttrs: {
|
|||
|
||||
dontNpmPrune = true;
|
||||
npmWorkspace = "src/memory";
|
||||
npmDepsHash = "sha256-jmz4JdpeHH07vJQFntBwrENbJaIcOuZMb7+qf497VOE=";
|
||||
npmDepsHash = "sha256-KhlTXcS+VDSPGnEus9fA0xhIxfTGwX1Cr5hbxFvdc2k=";
|
||||
|
||||
# TODO: revisit this when https://github.com/NixOS/nixpkgs/pull/333759 has landed
|
||||
postInstall = ''
|
||||
|
|
|
|||
|
|
@ -7,13 +7,13 @@
|
|||
|
||||
buildNpmPackage (finalAttrs: {
|
||||
pname = "mcp-server-sequential-thinking";
|
||||
version = "2026.1.26";
|
||||
version = "2026.7.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "modelcontextprotocol";
|
||||
repo = "servers";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-uULXUEHFZpYm/fmF6PkOFCxS+B+0q3dMveLG+3JHrhk=";
|
||||
hash = "sha256-rBdJoTC1wOEMbAAeSccFqaHL7lacf2SFfxZ/pp2Lx90=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
@ -22,7 +22,7 @@ buildNpmPackage (finalAttrs: {
|
|||
|
||||
dontNpmPrune = true;
|
||||
npmWorkspace = "src/sequentialthinking";
|
||||
npmDepsHash = "sha256-jmz4JdpeHH07vJQFntBwrENbJaIcOuZMb7+qf497VOE=";
|
||||
npmDepsHash = "sha256-KhlTXcS+VDSPGnEus9fA0xhIxfTGwX1Cr5hbxFvdc2k=";
|
||||
|
||||
# TODO: revisit this when https://github.com/NixOS/nixpkgs/pull/333759 has landed
|
||||
postInstall = ''
|
||||
|
|
|
|||
|
|
@ -9,8 +9,6 @@ buildNimPackage (finalAttrs: {
|
|||
pname = "mosdepth";
|
||||
version = "0.3.13";
|
||||
|
||||
requiredNimVersion = 1;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "brentp";
|
||||
repo = "mosdepth";
|
||||
|
|
|
|||
89
pkgs/by-name/na/nanoarrow/package.nix
Normal file
89
pkgs/by-name/na/nanoarrow/package.nix
Normal file
|
|
@ -0,0 +1,89 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchzip,
|
||||
|
||||
# nativeBuildInputs
|
||||
meson,
|
||||
ninja,
|
||||
pkg-config,
|
||||
|
||||
# buildInputs
|
||||
arrow-cpp,
|
||||
gbenchmark,
|
||||
gtest,
|
||||
nlohmann_json,
|
||||
zlib,
|
||||
zstd,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "nanoarrow";
|
||||
version = "0.8.0";
|
||||
__structuredAttrs = true;
|
||||
strictDeps = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "apache";
|
||||
repo = "arrow-nanoarrow";
|
||||
tag = "apache-arrow-nanoarrow-${finalAttrs.version}";
|
||||
hash = "sha256-1iLbT1eeyZaoB75uYTgg4qns+C7b4DErqMwJ9nQPRls=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
arrow-cpp
|
||||
gbenchmark
|
||||
gtest
|
||||
nlohmann_json
|
||||
zlib
|
||||
zstd
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
# Pre-populate the meson subproject with the flatcc source so meson doesn't try to download it.
|
||||
# The wrap's patch_directory overlay (meson.build) must also be applied.
|
||||
postPatch = ''
|
||||
cp -r --no-preserve=mode ${finalAttrs.finalPackage.passthru.flatcc-src} ${finalAttrs.finalPackage.passthru.flatcc-src-dest}
|
||||
cp subprojects/packagefiles/flatcc/meson.build ${finalAttrs.finalPackage.passthru.flatcc-src-dest}/
|
||||
'';
|
||||
mesonFlags = [
|
||||
# Needed only on Darwin, because otherwise a metal-cpp dependency is
|
||||
# required. It doesn't hurt to enable it for all platforms, so it'd be
|
||||
# easier to spot if the option will disappear in the future for instance..
|
||||
(lib.mesonOption "metal" "disabled")
|
||||
];
|
||||
|
||||
passthru = {
|
||||
# Nanoarrow requires a specific post-0.6.1 flatcc commit that adds `_with_size` API variants not
|
||||
# present in the upstream 0.6.1 release.
|
||||
flatcc-src = fetchFromGitHub {
|
||||
owner = "dvidelabs";
|
||||
repo = "flatcc";
|
||||
rev = "fd3c4ae5cd39f0651eda6a3a1a374278070135d6";
|
||||
hash = "sha256-8MqazKuwfFWVJ/yjT5fNrRzexFQ2ky4YTcZqOYjk9Qc=";
|
||||
};
|
||||
flatcc-src-dest = "subprojects/flatcc-${finalAttrs.finalPackage.passthru.flatcc-src.rev}";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"dev"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Helpers for Arrow C Data & Arrow C Stream interfaces";
|
||||
homepage = "https://github.com/apache/arrow-nanoarrow";
|
||||
changelog = "https://github.com/apache/arrow-nanoarrow/blob/${finalAttrs.src.rev}/CHANGELOG.md";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ doronbehar ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
})
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
diff --git a/config/nim.cfg b/config/nim.cfg
|
||||
index 3b964d124..850ed0ed9 100644
|
||||
--- a/config/nim.cfg
|
||||
+++ b/config/nim.cfg
|
||||
@@ -8,26 +8,12 @@
|
||||
# Environment variables can be accessed like so:
|
||||
# gcc.path %= "$CC_PATH"
|
||||
|
||||
-cc = gcc
|
||||
-
|
||||
# additional options always passed to the compiler:
|
||||
--parallel_build: "0" # 0 to auto-detect number of processors
|
||||
|
||||
hint[LineTooLong]=off
|
||||
#hint[XDeclaredButNotUsed]=off
|
||||
|
||||
-# Examples of how to setup a cross-compiler:
|
||||
-
|
||||
-# Cross-compiling for Raspberry Pi.
|
||||
-# (This compiler is available in gcc-arm-linux-gnueabihf package on Ubuntu)
|
||||
-arm.linux.gcc.exe = "arm-linux-gnueabihf-gcc"
|
||||
-arm.linux.gcc.linkerexe = "arm-linux-gnueabihf-gcc"
|
||||
-
|
||||
-# For OpenWRT, you will also need to adjust PATH to point to your toolchain.
|
||||
-mips.linux.gcc.exe = "mips-openwrt-linux-gcc"
|
||||
-mips.linux.gcc.linkerexe = "mips-openwrt-linux-gcc"
|
||||
-
|
||||
-
|
||||
path="$lib/deprecated/core"
|
||||
path="$lib/deprecated/pure"
|
||||
path="$lib/pure/collections"
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
{
|
||||
nim-unwrapped-1,
|
||||
nim,
|
||||
}:
|
||||
|
||||
nim.passthru.wrapNim {
|
||||
nimUnwrapped = nim-unwrapped-1;
|
||||
patches = [ ./nim.cfg.patch ];
|
||||
}
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
{
|
||||
nim-unwrapped-2_0,
|
||||
nim-2_2,
|
||||
}:
|
||||
|
||||
nim-2_2.passthru.wrapNim {
|
||||
nimUnwrapped = nim-unwrapped-2_0;
|
||||
inherit (nim-2_2) patches;
|
||||
}
|
||||
|
|
@ -1,52 +0,0 @@
|
|||
diff --git a/compiler/modulepaths.nim b/compiler/modulepaths.nim
|
||||
index fa8fab08a..63b0cb44d 100644
|
||||
--- a/compiler/modulepaths.nim
|
||||
+++ b/compiler/modulepaths.nim
|
||||
@@ -73,6 +73,17 @@ proc checkModuleName*(conf: ConfigRef; n: PNode; doLocalError=true): FileIndex =
|
||||
else:
|
||||
result = fileInfoIdx(conf, fullPath)
|
||||
|
||||
+proc rot13(result: var string) =
|
||||
+ # don't mangle .nim
|
||||
+ let finalIdx =
|
||||
+ if result.endsWith(".nim"): result.len - 4
|
||||
+ else: result.len
|
||||
+ for i, c in result[0..<finalIdx]:
|
||||
+ case c
|
||||
+ of 'a'..'m', 'A'..'M': result[i] = char(c.uint8 + 13)
|
||||
+ of 'n'..'z', 'N'..'Z': result[i] = char(c.uint8 - 13)
|
||||
+ else: discard
|
||||
+
|
||||
proc mangleModuleName*(conf: ConfigRef; path: AbsoluteFile): string =
|
||||
## Mangle a relative module path to avoid path and symbol collisions.
|
||||
##
|
||||
@@ -81,9 +92,11 @@ proc mangleModuleName*(conf: ConfigRef; path: AbsoluteFile): string =
|
||||
##
|
||||
## Example:
|
||||
## `foo-#head/../bar` becomes `@foo-@hhead@s..@sbar`
|
||||
- "@m" & relativeTo(path, conf.projectPath).string.multiReplace(
|
||||
+ result = "@m" & relativeTo(path, conf.projectPath).string.multiReplace(
|
||||
{$os.DirSep: "@s", $os.AltSep: "@s", "#": "@h", "@": "@@", ":": "@c"})
|
||||
+ rot13(result)
|
||||
|
||||
proc demangleModuleName*(path: string): string =
|
||||
## Demangle a relative module path.
|
||||
result = path.multiReplace({"@@": "@", "@h": "#", "@s": "/", "@m": "", "@c": ":"})
|
||||
+ rot13(result)
|
||||
diff --git a/compiler/msgs.nim b/compiler/msgs.nim
|
||||
index ae4bcfcb8..1ad7e5c08 100644
|
||||
--- a/compiler/msgs.nim
|
||||
+++ b/compiler/msgs.nim
|
||||
@@ -661,8 +661,10 @@ proc uniqueModuleName*(conf: ConfigRef; fid: FileIndex): string =
|
||||
for i in 0..<trunc:
|
||||
let c = rel[i]
|
||||
case c
|
||||
- of 'a'..'z':
|
||||
- result.add c
|
||||
+ of 'a'..'m':
|
||||
+ result.add char(c.uint8 + 13)
|
||||
+ of 'n'..'z':
|
||||
+ result.add char(c.uint8 - 13)
|
||||
of {os.DirSep, os.AltSep}:
|
||||
result.add 'Z' # because it looks a bit like '/'
|
||||
of '.':
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
nim-unwrapped-2,
|
||||
}:
|
||||
|
||||
nim-unwrapped-2.overrideAttrs (
|
||||
finalAttrs: prevAttrs: {
|
||||
version = "1.6.20";
|
||||
src = fetchurl {
|
||||
url = "https://nim-lang.org/download/nim-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-/+0EdQTR/K9hDw3Xzz4Ce+kaKSsMnFEWFQTC87mE/7k=";
|
||||
};
|
||||
|
||||
patches =
|
||||
builtins.filter (
|
||||
p:
|
||||
builtins.elem (baseNameOf p) [
|
||||
"NIM_CONFIG_DIR.patch"
|
||||
"nixbuild.patch"
|
||||
]
|
||||
) nim-unwrapped-2.patches
|
||||
++ [
|
||||
./extra-mangling.patch
|
||||
# Mangle store paths of modules to prevent runtime dependence.
|
||||
]
|
||||
++ lib.optional (!stdenv.hostPlatform.isWindows) ./toLocation.patch;
|
||||
}
|
||||
)
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
diff --git a/lib/std/private/miscdollars.nim b/lib/std/private/miscdollars.nim
|
||||
index 840fedf54..6c3436308 100644
|
||||
--- a/lib/std/private/miscdollars.nim
|
||||
+++ b/lib/std/private/miscdollars.nim
|
||||
@@ -6,9 +6,8 @@ template toLocation*(result: var string, file: string | cstring, line: int, col:
|
||||
# it can be done in a single place.
|
||||
result.add file
|
||||
if line > 0:
|
||||
- result.add "("
|
||||
+ result.add ":"
|
||||
addInt(result, line)
|
||||
if col > 0:
|
||||
- result.add ", "
|
||||
+ result.add ":"
|
||||
addInt(result, col)
|
||||
- result.add ")"
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
fetchurl,
|
||||
nim-unwrapped-1,
|
||||
nim-unwrapped-2_2,
|
||||
}:
|
||||
|
||||
nim-unwrapped-2_2.overrideAttrs (
|
||||
finalAttrs: previousAttrs: {
|
||||
version = "2.0.16";
|
||||
src = fetchurl {
|
||||
url = "https://nim-lang.org/download/nim-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-sucMbAEbVQcJMJCoiH+iUncyCP0EfuOPhWLiVp5cN4o=";
|
||||
};
|
||||
patches = lib.lists.unique (
|
||||
builtins.filter (
|
||||
p:
|
||||
builtins.elem (baseNameOf p) [
|
||||
"NIM_CONFIG_DIR.patch"
|
||||
"nixbuild.patch"
|
||||
"extra-mangling.patch"
|
||||
"openssl.patch"
|
||||
]
|
||||
) (nim-unwrapped-1.patches ++ nim-unwrapped-2_2.patches)
|
||||
);
|
||||
}
|
||||
)
|
||||
|
|
@ -1,52 +0,0 @@
|
|||
diff --git a/compiler/modulegraphs.nim b/compiler/modulegraphs.nim
|
||||
index 77762d23a..59dd8903a 100644
|
||||
--- a/compiler/modulegraphs.nim
|
||||
+++ b/compiler/modulegraphs.nim
|
||||
@@ -503,7 +503,11 @@ proc uniqueModuleName*(conf: ConfigRef; m: PSym): string =
|
||||
for i in 0..<trunc:
|
||||
let c = rel[i]
|
||||
case c
|
||||
- of 'a'..'z', '0'..'9':
|
||||
+ of 'a'..'m':
|
||||
+ result.add char(c.uint8 + 13)
|
||||
+ of 'n'..'z':
|
||||
+ result.add char(c.uint8 - 13)
|
||||
+ of '0'..'9':
|
||||
result.add c
|
||||
of {os.DirSep, os.AltSep}:
|
||||
result.add 'Z' # because it looks a bit like '/'
|
||||
diff --git a/compiler/modulepaths.nim b/compiler/modulepaths.nim
|
||||
index c9e6060e5..2b349f27c 100644
|
||||
--- a/compiler/modulepaths.nim
|
||||
+++ b/compiler/modulepaths.nim
|
||||
@@ -79,6 +79,17 @@ proc checkModuleName*(conf: ConfigRef; n: PNode; doLocalError=true): FileIndex =
|
||||
else:
|
||||
result = fileInfoIdx(conf, fullPath)
|
||||
|
||||
+proc rot13(result: var string) =
|
||||
+ # don't mangle .nim
|
||||
+ let finalIdx =
|
||||
+ if result.endsWith(".nim"): result.len - 4
|
||||
+ else: result.len
|
||||
+ for i, c in result[0..<finalIdx]:
|
||||
+ case c
|
||||
+ of 'a'..'m', 'A'..'M': result[i] = char(c.uint8 + 13)
|
||||
+ of 'n'..'z', 'N'..'Z': result[i] = char(c.uint8 - 13)
|
||||
+ else: discard
|
||||
+
|
||||
proc mangleModuleName*(conf: ConfigRef; path: AbsoluteFile): string =
|
||||
## Mangle a relative module path to avoid path and symbol collisions.
|
||||
##
|
||||
@@ -87,9 +98,11 @@ proc mangleModuleName*(conf: ConfigRef; path: AbsoluteFile): string =
|
||||
##
|
||||
## Example:
|
||||
## `foo-#head/../bar` becomes `@foo-@hhead@s..@sbar`
|
||||
- "@m" & relativeTo(path, conf.projectPath).string.multiReplace(
|
||||
+ result = "@m" & relativeTo(path, conf.projectPath).string.multiReplace(
|
||||
{$os.DirSep: "@s", $os.AltSep: "@s", "#": "@h", "@": "@@", ":": "@c"})
|
||||
+ rot13(result)
|
||||
|
||||
proc demangleModuleName*(path: string): string =
|
||||
## Demangle a relative module path.
|
||||
result = path.multiReplace({"@@": "@", "@h": "#", "@s": "/", "@m": "", "@c": ":"})
|
||||
+ rot13(result)
|
||||
17
pkgs/by-name/ni/nim-unwrapped/extra-mangling.patch
Normal file
17
pkgs/by-name/ni/nim-unwrapped/extra-mangling.patch
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
diff --git a/compiler/modulegraphs.nim b/compiler/modulegraphs.nim
|
||||
index 55f751cda..b0b3e3f40 100644
|
||||
--- a/compiler/modulegraphs.nim
|
||||
+++ b/compiler/modulegraphs.nim
|
||||
@@ -466,7 +466,11 @@ proc uniqueModuleName*(conf: ConfigRef; m: PSym): string =
|
||||
for i in 0..<trunc:
|
||||
let c = rel[i]
|
||||
case c
|
||||
- of 'a'..'z', '0'..'9':
|
||||
+ of 'a'..'m':
|
||||
+ result.add char(c.uint8 + 13)
|
||||
+ of 'n'..'z':
|
||||
+ result.add char(c.uint8 - 13)
|
||||
+ of '0'..'9':
|
||||
result.add c
|
||||
of {os.DirSep, os.AltSep}:
|
||||
result.add 'Z' # because it looks a bit like '/'
|
||||
|
|
@ -48,21 +48,21 @@ index e659746ee..dfb2d3cf2 100644
|
|||
SSLeay()
|
||||
|
||||
- proc ERR_load_BIO_strings*() {.cdecl, dynlib: DLLUtilName, importc.}
|
||||
+ proc ERR_load_BIO_strings*() {.cdecl, gimportc.}
|
||||
+ proc ERR_load_BIO_strings*() {.cdecl, importc.}
|
||||
else:
|
||||
- proc OPENSSL_init_ssl*(opts: uint64, settings: uint8): cint {.cdecl, dynlib: DLLSSLName, importc, discardable.}
|
||||
+ proc OPENSSL_init_ssl*(opts: uint64, settings: uint8): cint {.cdecl, gimportc, discardable.}
|
||||
+ proc OPENSSL_init_ssl*(opts: uint64, settings: uint8): cint {.cdecl, importc, discardable.}
|
||||
proc SSL_library_init*(): cint {.discardable.} =
|
||||
## Initialize SSL using OPENSSL_init_ssl for OpenSSL >= 1.1.0
|
||||
return OPENSSL_init_ssl(0.uint64, 0.uint8)
|
||||
|
||||
- proc TLS_method*(): PSSL_METHOD {.cdecl, dynlib: DLLSSLName, importc.}
|
||||
+ proc TLS_method*(): PSSL_METHOD {.cdecl, gimportc.}
|
||||
+ proc TLS_method*(): PSSL_METHOD {.cdecl, importc.}
|
||||
proc SSLv23_method*(): PSSL_METHOD =
|
||||
TLS_method()
|
||||
|
||||
- proc OpenSSL_version_num(): culong {.cdecl, dynlib: DLLUtilName, importc.}
|
||||
+ proc OpenSSL_version_num(): culong {.cdecl, gimportc.}
|
||||
+ proc OpenSSL_version_num(): culong {.cdecl, importc.}
|
||||
|
||||
proc getOpenSSLVersion*(): culong =
|
||||
## Return OpenSSL version as unsigned long
|
||||
|
|
@ -71,13 +71,13 @@ index e659746ee..dfb2d3cf2 100644
|
|||
|
||||
when defined(libressl) or defined(openssl10):
|
||||
- proc SSL_state(ssl: SslPtr): cint {.cdecl, dynlib: DLLSSLName, importc.}
|
||||
+ proc SSL_state(ssl: SslPtr): cint {.cdecl, gimportc.}
|
||||
+ proc SSL_state(ssl: SslPtr): cint {.cdecl, importc.}
|
||||
proc SSL_in_init*(ssl: SslPtr): cint {.inline.} =
|
||||
SSL_state(ssl) and SSL_ST_INIT
|
||||
else:
|
||||
- proc SSL_in_init*(ssl: SslPtr): cint {.cdecl, dynlib: DLLSSLName, importc.}
|
||||
- proc SSL_CTX_set_ciphersuites*(ctx: SslCtx, str: cstring): cint {.cdecl, dynlib: DLLSSLName, importc.}
|
||||
+ proc SSL_in_init*(ssl: SslPtr): cint {.cdecl, gimportc.}
|
||||
+ proc SSL_in_init*(ssl: SslPtr): cint {.cdecl, importc.}
|
||||
+ proc SSL_CTX_set_ciphersuites*(ctx: SslCtx, str: cstring): cint {.cdecl, importc.}
|
||||
|
||||
template OpenSSL_add_all_algorithms*() = discard
|
||||
|
|
@ -89,7 +89,7 @@ index e659746ee..dfb2d3cf2 100644
|
|||
+ proc SSLv23_client_method*(): PSSL_METHOD {.cdecl, importc.}
|
||||
+ proc SSLv2_method*(): PSSL_METHOD {.cdecl, importc.}
|
||||
+ proc SSLv3_method*(): PSSL_METHOD {.cdecl, importc.}
|
||||
+ proc CRYPTO_set_mem_functions(a,b,c: pointer){.cdecl, gimportc.}
|
||||
+ proc CRYPTO_set_mem_functions(a,b,c: pointer){.cdecl, importc.}
|
||||
|
||||
else:
|
||||
# Here we're trying to stay compatible between openssl versions. Some
|
||||
|
|
@ -13,12 +13,12 @@
|
|||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "nim-unwrapped";
|
||||
version = "2.2.4";
|
||||
version = "2.2.10";
|
||||
strictDeps = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://nim-lang.org/download/nim-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-+CtBl1D8zlYfP4l6BIaxgBhoRddvtdmfJIzhZhCBicc=";
|
||||
hash = "sha256-eVe37QBCBrzxC8xPO0dEFTh45i8kMVUqmo6dP0Do1dU=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
|
@ -36,7 +36,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
./nixbuild.patch
|
||||
# Load libraries at runtime by absolute path
|
||||
|
||||
./extra-mangling-2.patch
|
||||
./extra-mangling.patch
|
||||
# Mangle store paths of modules to prevent runtime dependence.
|
||||
|
||||
./openssl.patch
|
||||
|
|
@ -49,6 +49,11 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
pname = "nim-bootstrap";
|
||||
inherit (finalAttrs) version src preBuild;
|
||||
enableParallelBuilding = true;
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
./build.sh
|
||||
runHook postBuild
|
||||
'';
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -Dt $out/bin bin/nim
|
||||
|
|
@ -67,9 +72,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
"--cpu:${stdenv.hostPlatform.nim.cpu}"
|
||||
"--os:${stdenv.hostPlatform.nim.os}"
|
||||
"-d:release"
|
||||
"-d:useGnuReadline"
|
||||
]
|
||||
++ lib.optional (stdenv.hostPlatform.isDarwin || stdenv.hostPlatform.isLinux) "-d:nativeStacktrace";
|
||||
];
|
||||
|
||||
preBuild = lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) ''
|
||||
substituteInPlace makefile \
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
makeWrapper,
|
||||
openssl,
|
||||
pcre,
|
||||
nim-unwrapped-2_2 ? buildPackages.nim-unwrapped-2_2,
|
||||
nim-unwrapped ? buildPackages.nim-unwrapped,
|
||||
}:
|
||||
|
||||
let
|
||||
|
|
@ -18,7 +18,7 @@ let
|
|||
targetPlatformConfig = stdenv.targetPlatform.config;
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
name = "${targetPlatformConfig}-nim-wrapper-${nimUnwrapped.version}";
|
||||
pname = "${targetPlatformConfig}-nim-wrapper";
|
||||
inherit (nimUnwrapped) version;
|
||||
preferLocalBuild = true;
|
||||
strictDeps = true;
|
||||
|
|
@ -86,7 +86,7 @@ let
|
|||
runHook postBuild
|
||||
'';
|
||||
|
||||
wrapperArgs = lib.optionals (!(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64)) [
|
||||
wrapperArgs = [
|
||||
"--prefix PATH : ${lib.makeBinPath [ buildPackages.gdb ]}:${placeholder "out"}/bin"
|
||||
# Used by nim-gdb
|
||||
|
||||
|
|
@ -148,6 +148,6 @@ let
|
|||
});
|
||||
in
|
||||
wrapNim {
|
||||
nimUnwrapped = nim-unwrapped-2_2;
|
||||
nimUnwrapped = nim-unwrapped;
|
||||
patches = [ ./nim2.cfg.patch ];
|
||||
}
|
||||
13
pkgs/by-name/ni/nim_lk/nil.patch
Normal file
13
pkgs/by-name/ni/nim_lk/nil.patch
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/src/nim_lk.nim b/src/nim_lk.nim
|
||||
index 09ced9d..45c5ddc 100644
|
||||
--- a/src/nim_lk.nim
|
||||
+++ b/src/nim_lk.nim
|
||||
@@ -573,7 +573,7 @@ proc update(bom: JsonNode; bomRef: string; byName: bool): bool =
|
||||
let comp = bom.getComponent(bomRef, byName)
|
||||
assert not comp.isNil
|
||||
var bomRef = comp{"bom-ref"}.getStr
|
||||
- assert not bomRef.isNil
|
||||
+ assert bomRef != ""
|
||||
var suitableRefFound = false
|
||||
let extRefs = comp{"externalReferences"}
|
||||
for extRef in extRefs.elems:
|
||||
|
|
@ -23,6 +23,10 @@ buildNimSbom (finalAttrs: {
|
|||
buildInputs = [ openssl ];
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
patches = [
|
||||
./nil.patch
|
||||
];
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/nim_lk \
|
||||
--suffix PATH : ${
|
||||
|
|
|
|||
|
|
@ -3,25 +3,17 @@
|
|||
buildNimPackage,
|
||||
fetchFromGitHub,
|
||||
srcOnly,
|
||||
nim-2_0,
|
||||
nim-unwrapped-2_0,
|
||||
nim-unwrapped,
|
||||
}:
|
||||
|
||||
let
|
||||
buildNimPackage' = buildNimPackage.override {
|
||||
# Do not build with Nim-2.2.x.
|
||||
nim2 = nim-2_0;
|
||||
};
|
||||
in
|
||||
buildNimPackage' (finalAttrs: {
|
||||
buildNimPackage (finalAttrs: {
|
||||
pname = "nimlsp";
|
||||
version = "0.4.6";
|
||||
version = "0.4.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PMunch";
|
||||
repo = "nimlsp";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-MCtpCx8jMQp0VXuMowh69d1DQreU5cDftBf0lww7PUM=";
|
||||
hash = "sha256-jUNW+tukZXv41HTWP2F2BdEn7nesFXVg2TffKPWfSss=";
|
||||
};
|
||||
|
||||
lockFile = ./lock.json;
|
||||
|
|
@ -40,7 +32,7 @@ buildNimPackage' (finalAttrs: {
|
|||
|
||||
nimFlags = [
|
||||
"--threads:on"
|
||||
"-d:explicitSourcePath=${srcOnly nim-unwrapped-2_0}"
|
||||
"-d:explicitSourcePath=${srcOnly nim-unwrapped}"
|
||||
"-d:tempDir=/tmp"
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "opencode";
|
||||
version = "1.17.12";
|
||||
version = "1.17.13";
|
||||
|
||||
__structuredAttrs = true;
|
||||
strictDeps = true;
|
||||
|
|
@ -25,7 +25,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
|||
owner = "anomalyco";
|
||||
repo = "opencode";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-eM+K/JrSjM5OtDLvPAXLQQx45K15rCxkac+HA8nq5gw=";
|
||||
hash = "sha256-WE8+O+Od8M71fKoOOhE9CbTsJ0JMAi0ZajmYd//VG2k=";
|
||||
};
|
||||
|
||||
node_modules = stdenvNoCC.mkDerivation {
|
||||
|
|
@ -78,7 +78,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
|||
# NOTE: Required else we get errors that our fixed-output derivation references store paths
|
||||
dontFixup = true;
|
||||
|
||||
outputHash = "sha256-bHEJKhmaqPO4+H3x7lNBxU/9dMd354bJ1hg7wakHXJQ=";
|
||||
outputHash = "sha256-SUNfdHtASPh1mpxKvIKJ2GrDHAxmv7Gu7B7vr3PX5W4=";
|
||||
outputHashAlgo = "sha256";
|
||||
outputHashMode = "recursive";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ buildGoModule (finalAttrs: {
|
|||
maintainers = with lib.maintainers; [
|
||||
nickhu
|
||||
boltzmannrain
|
||||
wamserma
|
||||
];
|
||||
mainProgram = "rmapi";
|
||||
};
|
||||
|
|
|
|||
119
pkgs/by-name/sc/scoutsuite/package.nix
Normal file
119
pkgs/by-name/sc/scoutsuite/package.nix
Normal file
|
|
@ -0,0 +1,119 @@
|
|||
{
|
||||
lib,
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "scoutsuite";
|
||||
version = "5.14.0";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nccgroup";
|
||||
repo = "scoutsuite";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-bSnmb1grm8aoRjvvuc30QKBjcKz8wxnDXMdzFMDkiDE=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"asyncio-throttle"
|
||||
"azure-identity"
|
||||
"azure-mgmt-authorization"
|
||||
"azure-mgmt-compute"
|
||||
"azure-mgmt-keyvault"
|
||||
"azure-mgmt-monitor"
|
||||
"azure-mgmt-network"
|
||||
"azure-mgmt-rdbms"
|
||||
"azure-mgmt-redis"
|
||||
"azure-mgmt-resource"
|
||||
"azure-mgmt-security"
|
||||
"azure-mgmt-sql"
|
||||
"azure-mgmt-storage"
|
||||
"azure-mgmt-web"
|
||||
"coloredlogs"
|
||||
"google-cloud-kms"
|
||||
"google-cloud-monitoring"
|
||||
"httplib2shim"
|
||||
"msgraph-core"
|
||||
"python-dateutil"
|
||||
];
|
||||
|
||||
build-system = with python3Packages; [ setuptools ];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
aliyun-python-sdk-actiontrail
|
||||
aliyun-python-sdk-core
|
||||
aliyun-python-sdk-ecs
|
||||
aliyun-python-sdk-kms
|
||||
aliyun-python-sdk-ocs
|
||||
aliyun-python-sdk-ram
|
||||
aliyun-python-sdk-rds
|
||||
aliyun-python-sdk-sts
|
||||
aliyun-python-sdk-vpc
|
||||
asyncio-throttle
|
||||
azure-identity
|
||||
azure-mgmt-authorization
|
||||
azure-mgmt-compute
|
||||
azure-mgmt-keyvault
|
||||
azure-mgmt-monitor
|
||||
azure-mgmt-network
|
||||
azure-mgmt-rdbms
|
||||
azure-mgmt-redis
|
||||
azure-mgmt-resource
|
||||
azure-mgmt-security
|
||||
azure-mgmt-sql
|
||||
azure-mgmt-storage
|
||||
azure-mgmt-web
|
||||
boto3
|
||||
botocore
|
||||
cherrypy
|
||||
cherrypy-cors
|
||||
coloredlogs
|
||||
google-api-python-client
|
||||
google-cloud-container
|
||||
google-cloud-core
|
||||
google-cloud-iam
|
||||
google-cloud-kms
|
||||
google-cloud-logging
|
||||
google-cloud-monitoring
|
||||
google-cloud-resource-manager
|
||||
google-cloud-storage
|
||||
grpcio
|
||||
httplib2shim
|
||||
kubernetes
|
||||
msgraph-core
|
||||
netaddr
|
||||
oauth2client
|
||||
oci
|
||||
oss2
|
||||
policyuniverse
|
||||
pydo
|
||||
python-dateutil
|
||||
sqlitedict
|
||||
];
|
||||
|
||||
nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "ScoutSuite" ];
|
||||
|
||||
disabledTests = [
|
||||
# AssertionError
|
||||
"test_scout_suite_help"
|
||||
"test_snake_case"
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Multi-Cloud Security Auditing Tool";
|
||||
homepage = "https://github.com/nccgroup/scoutsuite";
|
||||
changelog = "https://github.com/nccgroup/scoutsuite/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.gpl2Only;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
mainProgram = "scout";
|
||||
};
|
||||
})
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
}:
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "seaweedfs";
|
||||
version = "4.36";
|
||||
version = "4.37";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "seaweedfs";
|
||||
|
|
@ -22,7 +22,7 @@ buildGoModule (finalAttrs: {
|
|||
find "$out" -name .git -print0 | xargs -0 rm -rf
|
||||
popd
|
||||
'';
|
||||
hash = "sha256-y42opbGNVMxWU/k0j5g27RWLBF0PLcOPlXU9eVg0jwY=";
|
||||
hash = "sha256-/aX9f78AsdgvsesGv2vTPoWVcqAhehFuL3NkzOyZSXQ=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-peRhKuZ1D+y8Uhw1+P8Ogc1HrOh1/kYVd29lR89+rIo=";
|
||||
|
|
|
|||
|
|
@ -5,16 +5,16 @@
|
|||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
python3.pkgs.buildPythonApplication (finalAttrs: {
|
||||
pname = "sigma-cli";
|
||||
version = "3.0.2";
|
||||
version = "3.0.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SigmaHQ";
|
||||
repo = "sigma-cli";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-46M/WD2BIPMpABai4WZBmxjgI+skwcaRJwPFGXje5y4=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-7zPB2eb+PeJ0xKygf/oRGZfntHiHHkk9L5Pr7oUfvkY=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "click" ];
|
||||
|
|
@ -45,9 +45,9 @@ python3.pkgs.buildPythonApplication rec {
|
|||
meta = {
|
||||
description = "Sigma command line interface";
|
||||
homepage = "https://github.com/SigmaHQ/sigma-cli";
|
||||
changelog = "https://github.com/SigmaHQ/sigma-cli/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/SigmaHQ/sigma-cli/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.lgpl21Plus;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
mainProgram = "sigma";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -14,13 +14,13 @@ let
|
|||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "skills";
|
||||
version = "1.5.13";
|
||||
version = "1.5.14";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vercel-labs";
|
||||
repo = "skills";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-NfjEt37jfA/d0v6gXRjlvsUj0xf8h+NquVUZEKaMFL4=";
|
||||
hash = "sha256-176EeM1VhNSBH1cYUUy3oLST21PbV0v+tCNglfM9+6Y=";
|
||||
};
|
||||
|
||||
pnpmDeps = fetchPnpmDeps {
|
||||
|
|
|
|||
61
pkgs/by-name/sp/spraycharles/drop-teams.patch
Normal file
61
pkgs/by-name/sp/spraycharles/drop-teams.patch
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
diff --git a/spraycharles/lib/analyze.py b/spraycharles/lib/analyze.py
|
||||
index 537f6db..424f87e 100755
|
||||
--- a/spraycharles/lib/analyze.py
|
||||
+++ b/spraycharles/lib/analyze.py
|
||||
@@ -4,7 +4,7 @@ from enum import Enum
|
||||
from rich.table import Table
|
||||
|
||||
from spraycharles.lib.logger import console, logger
|
||||
-from spraycharles.lib.utils import discord, slack, teams, SMBStatus, SprayResult, HookSvc
|
||||
+from spraycharles.lib.utils import discord, slack, SMBStatus, SprayResult, HookSvc
|
||||
|
||||
|
||||
class Analyzer:
|
||||
@@ -210,8 +210,6 @@ class Analyzer:
|
||||
pass
|
||||
case HookSvc.SLACK:
|
||||
slack(self.webhook, self.host)
|
||||
- case HookSvc.TEAMS:
|
||||
- teams(self.webhook, self.host)
|
||||
case HookSvc.DISCORD:
|
||||
discord(self.webhook, self.host)
|
||||
case _:
|
||||
diff --git a/spraycharles/lib/utils/__init__.py b/spraycharles/lib/utils/__init__.py
|
||||
index 59eda99..3615e4c 100644
|
||||
--- a/spraycharles/lib/utils/__init__.py
|
||||
+++ b/spraycharles/lib/utils/__init__.py
|
||||
@@ -1,4 +1,4 @@
|
||||
-from spraycharles.lib.utils.notify import discord, teams, slack, HookSvc
|
||||
+from spraycharles.lib.utils.notify import discord, slack, HookSvc
|
||||
from spraycharles.lib.utils.ntlm_challenger import main as ntlm_challenger
|
||||
from spraycharles.lib.utils.smbstatus import SMBStatus
|
||||
from spraycharles.lib.utils.sprayresult import SprayResult
|
||||
diff --git a/spraycharles/lib/utils/notify.py b/spraycharles/lib/utils/notify.py
|
||||
index f39d10d..f0d62f9 100644
|
||||
--- a/spraycharles/lib/utils/notify.py
|
||||
+++ b/spraycharles/lib/utils/notify.py
|
||||
@@ -1,12 +1,10 @@
|
||||
from enum import Enum
|
||||
-import pymsteams
|
||||
from discord_webhook import DiscordWebhook
|
||||
import requests
|
||||
|
||||
|
||||
class HookSvc(str, Enum):
|
||||
SLACK = "Slack"
|
||||
- TEAMS = "Teams"
|
||||
DISCORD = "Discord"
|
||||
|
||||
|
||||
@@ -18,12 +16,6 @@ def slack(webhook, host):
|
||||
response.raise_for_status() # Raises an error for bad responses
|
||||
|
||||
|
||||
-def teams(webhook, host):
|
||||
- notify = pymsteams.connectorcard(webhook)
|
||||
- notify.text(f"Credentials guessed for host: {host}")
|
||||
- notify.send()
|
||||
-
|
||||
-
|
||||
def discord(webhook, host):
|
||||
notify = DiscordWebhook(
|
||||
|
|
@ -18,13 +18,16 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
|
|||
|
||||
pythonRelaxDeps = true;
|
||||
|
||||
# https://github.com/Tw1sm/spraycharles/pull/34
|
||||
pythonRemoveDeps = [ "pymsteams" ];
|
||||
patches = [ ./drop-teams.patch ];
|
||||
|
||||
build-system = with python3.pkgs; [ poetry-core ];
|
||||
|
||||
dependencies = with python3.pkgs; [
|
||||
discord-webhook
|
||||
impacket
|
||||
numpy
|
||||
pymsteams
|
||||
pyyaml
|
||||
requests
|
||||
requests-ntlm
|
||||
|
|
|
|||
|
|
@ -114,6 +114,7 @@ buildGoModule (finalAttrs: {
|
|||
meta = {
|
||||
homepage = "https://syncthing.net/";
|
||||
description = "Open Source Continuous File Synchronization";
|
||||
donationPage = "https://syncthing.net/donations/";
|
||||
changelog = "https://github.com/syncthing/syncthing/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.mpl20;
|
||||
maintainers = with lib.maintainers; [
|
||||
|
|
|
|||
|
|
@ -13,16 +13,16 @@
|
|||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "tpnote";
|
||||
version = "1.26.1";
|
||||
version = "1.26.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "getreu";
|
||||
repo = "tp-note";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-FZ/7dDg2SjNV1nEA0WFTKF7G8nJeeq3dD3UOD5bSA98=";
|
||||
hash = "sha256-RoFamyNkUkB+94ZcVcyIJ6OvX0T9NAzkYido5sU6IAc=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-hf3H2pgc+ftJItJjMtXCW8qhpp1fugaIcRZIrydEpxo=";
|
||||
cargoHash = "sha256-kJCp285pQCUtHCUEDehNFlz87K72XmYp5z6vJD790sQ=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
|
|
|
|||
|
|
@ -10,20 +10,20 @@
|
|||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "wayscriber";
|
||||
version = "0.9.20";
|
||||
version = "0.9.21";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "devmobasa";
|
||||
repo = "wayscriber";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-nVV/0czewESSbl/OobATBjO+e1iUeJCYSqvEaiNaSfI=";
|
||||
hash = "sha256-g9LFceW05miR6PyHb6p3RvB1mnhAI/V/AeAYtmGplSA=";
|
||||
};
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
pango
|
||||
libxkbcommon
|
||||
];
|
||||
cargoHash = "sha256-ugzxGYaH8olBZ4Pq1+Tlm16AbGt8GFF2/KLB+NdnFUA=";
|
||||
cargoHash = "sha256-QNzUjY3k8OLsOLzMuEKFy1xcAHVsUOQMipL0c3T7tsY=";
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
|
|
|
|||
|
|
@ -10,13 +10,13 @@
|
|||
}:
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "werf";
|
||||
version = "2.72.1";
|
||||
version = "2.73.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "werf";
|
||||
repo = "werf";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-6CspoMRKPf20zQrmgD2RO6xMnTuyvM56AElKvMNNUM0=";
|
||||
hash = "sha256-4YLJv5YDJUaoQlyljK4e8ilhCU67K7jJiDkFm7sYwxo=";
|
||||
};
|
||||
|
||||
proxyVendor = true;
|
||||
|
|
|
|||
|
|
@ -10,15 +10,15 @@
|
|||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "youtrack";
|
||||
version = "2026.1.13757";
|
||||
version = "2026.2.17012";
|
||||
|
||||
src = dockerTools.exportImage {
|
||||
diskSize = 8192;
|
||||
fromImage = dockerTools.pullImage {
|
||||
imageName = "jetbrains/youtrack";
|
||||
arch = "amd64";
|
||||
imageDigest = "sha256:56c4d6b6cb3781e21a369857943a366931b69f22dee76c16b2173de0fd56a0a9";
|
||||
hash = "sha256-vWNe/1PTLX1rNR66iOZizubH2YVda8GTfXrQikWTML0=";
|
||||
imageDigest = "sha256:fa50e2e07435dc91461c00ef05ee064ff76748d4d8feaf8aeaa9f9e4a9bf6606";
|
||||
hash = "sha256-8hoMtFqG5T4gnMDorIe6UXs/d3z7epAS352reipPjWI=";
|
||||
};
|
||||
};
|
||||
unpackPhase = ''
|
||||
|
|
|
|||
|
|
@ -0,0 +1,56 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
adbc-driver-manager,
|
||||
importlib-resources,
|
||||
arrow-adbc,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "adbc-driver-bigquery";
|
||||
version = "1.11.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "adbc_driver_bigquery";
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-N/wqkN/sH3Qbx0db31DHRMItBewTXQhYk0EXkSwGB34=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
adbc-driver-manager
|
||||
importlib-resources
|
||||
];
|
||||
|
||||
# Tests don't work - they require an unknown pytest fixture `bigquery_auth_type`
|
||||
doCheck = false;
|
||||
|
||||
env.ADBC_BIGQUERY_LIBRARY = "libadbc_driver_bigquery${stdenv.hostPlatform.extensions.sharedLibrary}";
|
||||
preBuild = ''
|
||||
cp ${lib.getLib arrow-adbc}/lib/$ADBC_BIGQUERY_LIBRARY .
|
||||
chmod u+w $ADBC_BIGQUERY_LIBRARY
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"adbc_driver_bigquery"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "ADBC driver for working with BigQuery";
|
||||
homepage = "https://pypi.org/project/adbc-driver-bigquery";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ doronbehar ];
|
||||
};
|
||||
})
|
||||
|
|
@ -0,0 +1,56 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
adbc-driver-manager,
|
||||
importlib-resources,
|
||||
arrow-adbc,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "adbc-driver-flightsql";
|
||||
version = "1.11.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "adbc_driver_flightsql";
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-dfcD7vGBLDky5fRkPF4htWkLI99+CeiLcn95UqpVnyo=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
adbc-driver-manager
|
||||
importlib-resources
|
||||
];
|
||||
|
||||
# Tests require several unknown pytest fixtures such as `dremio` & `test_dbapi`
|
||||
doCheck = false;
|
||||
|
||||
env.ADBC_FLIGHTSQL_LIBRARY = "libadbc_driver_flightsql${stdenv.hostPlatform.extensions.sharedLibrary}";
|
||||
preBuild = ''
|
||||
cp ${lib.getLib arrow-adbc}/lib/$ADBC_FLIGHTSQL_LIBRARY .
|
||||
chmod u+w $ADBC_FLIGHTSQL_LIBRARY
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"adbc_driver_flightsql"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "ADBC driver for working with Apache Arrow Flight SQL";
|
||||
homepage = "https://pypi.org/project/adbc-driver-flightsql";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ doronbehar ];
|
||||
};
|
||||
})
|
||||
|
|
@ -0,0 +1,48 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
|
||||
# build-system
|
||||
cython,
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
typing-extensions,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "adbc-driver-manager";
|
||||
version = "1.11.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "adbc_driver_manager";
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-xkqqvrWBAQmrPSlhAI8bAU6fLYez30QWwqCApAI3r1A=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
cython
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
# Tests create a circular dependency on adbc-driver-sqlite
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"adbc_driver_manager"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "A generic entrypoint for ADBC drivers";
|
||||
homepage = "https://pypi.org/project/adbc-driver-manager";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ doronbehar ];
|
||||
};
|
||||
})
|
||||
|
|
@ -0,0 +1,56 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
adbc-driver-manager,
|
||||
importlib-resources,
|
||||
arrow-adbc,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "adbc-driver-postgresql";
|
||||
version = "1.11.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "adbc_driver_postgresql";
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-9WiLhkiseobYuJNAIxuzaGrF31buldHKC4ddrV1StIo=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
adbc-driver-manager
|
||||
importlib-resources
|
||||
];
|
||||
|
||||
# Tests require several unknown pytest fixture `postgres_uri`
|
||||
doCheck = false;
|
||||
|
||||
env.ADBC_POSTGRESQL_LIBRARY = "libadbc_driver_postgresql${stdenv.hostPlatform.extensions.sharedLibrary}";
|
||||
preBuild = ''
|
||||
cp ${lib.getLib arrow-adbc}/lib/$ADBC_POSTGRESQL_LIBRARY .
|
||||
chmod u+w $ADBC_POSTGRESQL_LIBRARY
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"adbc_driver_postgresql"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "libpq-based ADBC driver for working with PostgreSQL";
|
||||
homepage = "https://pypi.org/project/adbc-driver-postgresql";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ doronbehar ];
|
||||
};
|
||||
})
|
||||
|
|
@ -0,0 +1,56 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
adbc-driver-manager,
|
||||
importlib-resources,
|
||||
arrow-adbc,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "adbc-driver-snowflake";
|
||||
version = "1.11.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "adbc_driver_snowflake";
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-f85UrnVAxsY6rWzJ7CeVoFZHzBR8ivQcor1OlUVejq4=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
adbc-driver-manager
|
||||
importlib-resources
|
||||
];
|
||||
|
||||
# Tests don't work - they require an unknown pytest fixture `snowflake`
|
||||
doCheck = false;
|
||||
|
||||
env.ADBC_SNOWFLAKE_LIBRARY = "libadbc_driver_snowflake${stdenv.hostPlatform.extensions.sharedLibrary}";
|
||||
preBuild = ''
|
||||
cp ${lib.getLib arrow-adbc}/lib/$ADBC_SNOWFLAKE_LIBRARY .
|
||||
chmod u+w $ADBC_SNOWFLAKE_LIBRARY
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"adbc_driver_snowflake"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "ADBC driver for working with Snowflake";
|
||||
homepage = "https://pypi.org/project/adbc-driver-snowflake";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ doronbehar ];
|
||||
};
|
||||
})
|
||||
|
|
@ -0,0 +1,63 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
adbc-driver-manager,
|
||||
importlib-resources,
|
||||
arrow-adbc,
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
pandas,
|
||||
pyarrow,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "adbc-driver-sqlite";
|
||||
version = "1.11.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "adbc_driver_sqlite";
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-pMa0liYQ981nzXVMQt104YosEfq+7JSIxVAdc65i3GI=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
adbc-driver-manager
|
||||
importlib-resources
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pandas
|
||||
pyarrow
|
||||
];
|
||||
env.ADBC_SQLITE_LIBRARY = "libadbc_driver_sqlite${stdenv.hostPlatform.extensions.sharedLibrary}";
|
||||
preBuild = ''
|
||||
cp ${lib.getLib arrow-adbc}/lib/$ADBC_SQLITE_LIBRARY .
|
||||
chmod u+w $ADBC_SQLITE_LIBRARY
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"adbc_driver_sqlite"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "ADBC driver for working with SQLite";
|
||||
homepage = "https://pypi.org/project/adbc-driver-sqlite";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ doronbehar ];
|
||||
};
|
||||
})
|
||||
|
|
@ -6,6 +6,7 @@
|
|||
fetchFromGitHub,
|
||||
mashumaro,
|
||||
orjson,
|
||||
pyprojectVersionPatchHook,
|
||||
pytest-aiohttp,
|
||||
pytest-cov-stub,
|
||||
pytest-timeout,
|
||||
|
|
@ -16,23 +17,25 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiohasupervisor";
|
||||
version = "0.4.3";
|
||||
version = "0.5.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "home-assistant-libs";
|
||||
repo = "python-supervisor-client";
|
||||
tag = version;
|
||||
hash = "sha256-h22y62f+pdoHYKqPeKNGFkVS7/IMWbxaAoDLomwAB40=";
|
||||
hash = "sha256-qIj3kiKSo0aUj7b250c39FqxU3jV6uegmBlxR6wOkQ8=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail 'version = "0.0.0"' 'version = "${version}"' \
|
||||
--replace-fail "setuptools>=68.0,<82.1" "setuptools" \
|
||||
--replace-fail ', "wheel>=0.40,<0.47"' ""
|
||||
--replace-fail "setuptools>=68.0,<82.1" "setuptools"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
pyprojectVersionPatchHook
|
||||
];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
|
|
|
|||
|
|
@ -19,14 +19,14 @@
|
|||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "aiohomeconnect";
|
||||
version = "0.36.1";
|
||||
version = "0.38.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MartinHjelmare";
|
||||
repo = "aiohomeconnect";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-dzDNwqAYS1Sqhcd9koNTtSkXZ/t78WC/YIKOaA4uqzI=";
|
||||
hash = "sha256-KJlkJXxbTSA1j/lvCAsIEheF5h2HQpJXVmiM3dyINPw=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "aiolifx-themes";
|
||||
version = "1.0.3";
|
||||
version = "1.0.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.12";
|
||||
|
|
@ -22,7 +22,7 @@ buildPythonPackage (finalAttrs: {
|
|||
owner = "Djelibeybi";
|
||||
repo = "aiolifx-themes";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Y92ze+zrkz+fxQNFFSR5V9sPJMN0/dfIRwT6UhXo0+U=";
|
||||
hash = "sha256-FTQu8dvm3myRsMC2SKlvIk0MkRIuDPVv5Zxnw5IrPv4=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
|
|
|||
|
|
@ -12,14 +12,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiolifx";
|
||||
version = "1.2.1";
|
||||
version = "1.2.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aiolifx";
|
||||
repo = "aiolifx";
|
||||
tag = version;
|
||||
hash = "sha256-9FTsY/VFfzLlDEjF8ueBQxr30YasdQwei1/KfHiXwMo=";
|
||||
hash = "sha256-v2001UY12HTi1pgugfRQSUg1R6uZAfVpwCASZZW9S0o=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "aiopnsense";
|
||||
version = "1.0.8";
|
||||
version = "1.1.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.14";
|
||||
|
|
@ -24,7 +24,7 @@ buildPythonPackage (finalAttrs: {
|
|||
owner = "Snuffy2";
|
||||
repo = "aiopnsense";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-pJVYbf81/vZRi5elhNhiscXrEqDRLiIrik8N9GcR6yQ=";
|
||||
hash = "sha256-Ffp0CTYqqeeB8462luTvpa2dp2QOxztkipretBqaKig=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
|
|
|||
|
|
@ -17,14 +17,14 @@
|
|||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "aioshelly";
|
||||
version = "13.26.1";
|
||||
version = "13.26.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "home-assistant-libs";
|
||||
repo = "aioshelly";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-mOqHHgyx1Eevhr8BHkfFQa7g6x7vt9KJe4E72fr9HPg=";
|
||||
hash = "sha256-LNMFFi3afbDFezr32zr85lNX1TIdo8BF04yDfc2AIA0=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
|
|
|||
|
|
@ -1,37 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
aliyun-python-sdk-core,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aliyun-python-sdk-alimt";
|
||||
version = "3.2.0";
|
||||
pyproject = true;
|
||||
|
||||
# Upstream doesn't tag releases on Github
|
||||
# https://github.com/aliyun/aliyun-openapi-python-sdk/issues/551
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-oz8PNY/j6xE7pY91F8O5ed2j02q8tFl1A/u9Q5fYbuA=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ aliyun-python-sdk-core ];
|
||||
|
||||
# All components are stored in a mono repo
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "aliyunsdkalimt" ];
|
||||
|
||||
meta = {
|
||||
description = "ALIMT module of Aliyun Python SDK";
|
||||
homepage = "https://github.com/aliyun/aliyun-openapi-python-sdk";
|
||||
changelog = "https://github.com/aliyun/aliyun-openapi-python-sdk/blob/master/aliyun-python-sdk-sts/ChangeLog.txt";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ erictapen ];
|
||||
};
|
||||
}
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
aliyun-python-sdk-core,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aliyun-python-sdk-cdn";
|
||||
version = "3.8.8";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-LMCNvjV85TvdSM0OXean4dPzAiV8apVdRLTvUISOKec=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ aliyun-python-sdk-core ];
|
||||
|
||||
# All components are stored in a mono repo
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "aliyunsdkcdn" ];
|
||||
|
||||
meta = {
|
||||
description = "CDN module of Aliyun Python SDK";
|
||||
homepage = "https://github.com/aliyun/aliyun-openapi-python-sdk";
|
||||
changelog = "https://github.com/aliyun/aliyun-openapi-python-sdk/blob/master/aliyun-python-sdk-cdn/ChangeLog.txt";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
aliyun-python-sdk-core,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aliyun-python-sdk-config";
|
||||
version = "2.2.14";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-drmk41/k/JJ6Zs6MrnMQa7xwpkO7MZEaSeyfm2QimKo=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ aliyun-python-sdk-core ];
|
||||
|
||||
# All components are stored in a mono repo
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "aliyunsdkconfig" ];
|
||||
|
||||
meta = {
|
||||
description = "Configuration module of Aliyun Python SDK";
|
||||
homepage = "https://github.com/aliyun/aliyun-openapi-python-sdk";
|
||||
changelog = "https://github.com/aliyun/aliyun-openapi-python-sdk/blob/master/aliyun-python-sdk-config/ChangeLog.txt";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
|
@ -7,13 +7,13 @@
|
|||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "aliyun-python-sdk-core";
|
||||
version = "2.16.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-ZRyq1ZfrOdT61s+FEz3/6Sg31TvfYtudjzfatlCLuPk=";
|
||||
};
|
||||
|
||||
|
|
@ -38,4 +38,4 @@ buildPythonPackage rec {
|
|||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
aliyun-python-sdk-core,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aliyun-python-sdk-dbfs";
|
||||
version = "2.0.7";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-Kj6DfnXZq5ilE+vnZrAoZEhPDoNrMIs5p2OcBc24qXM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ aliyun-python-sdk-core ];
|
||||
|
||||
# All components are stored in a mono repo
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "aliyunsdkdbfs" ];
|
||||
|
||||
meta = {
|
||||
description = "DBFS module of Aliyun Python SDK";
|
||||
homepage = "https://github.com/aliyun/aliyun-openapi-python-sdk";
|
||||
changelog = "https://github.com/aliyun/aliyun-openapi-python-sdk/blob/master/aliyun-python-sdk-dbfs/ChangeLog.txt";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
aliyun-python-sdk-core,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aliyun-python-sdk-iot";
|
||||
version = "8.59.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-v0jTMKtYrbEBVjHQokpWSlcJBALZFsuoYHq8wCP8w1E=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ aliyun-python-sdk-core ];
|
||||
|
||||
# All components are stored in a mono repo
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "aliyunsdkiot" ];
|
||||
|
||||
meta = {
|
||||
description = "IoT module of Aliyun Python SDK";
|
||||
homepage = "https://github.com/aliyun/aliyun-openapi-python-sdk";
|
||||
changelog = "https://github.com/aliyun/aliyun-openapi-python-sdk/blob/master/aliyun-python-sdk-iot/ChangeLog.txt";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
aliyun-python-sdk-core,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aliyun-python-sdk-kms";
|
||||
version = "2.16.5";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-8yiooZ2D7LuWX/zg7B6ZMHVSFtEEY4zZXs02J1O4E7M=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ aliyun-python-sdk-core ];
|
||||
|
||||
# All components are stored in a mono repo
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "aliyunsdkkms" ];
|
||||
|
||||
meta = {
|
||||
description = "KMS module of Aliyun Python SDK";
|
||||
homepage = "https://github.com/aliyun/aliyun-openapi-python-sdk";
|
||||
changelog = "https://github.com/aliyun/aliyun-openapi-python-sdk/blob/master/aliyun-python-sdk-kms/ChangeLog.txt";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
aliyun-python-sdk-core,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aliyun-python-sdk-sts";
|
||||
version = "3.1.3";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-Iv7bi60T+WbnEaH0Zi7te52zNEG8BapLD5GKoB4JuWc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ aliyun-python-sdk-core ];
|
||||
|
||||
# All components are stored in a mono repo
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "aliyunsdksts" ];
|
||||
|
||||
meta = {
|
||||
description = "STS module of Aliyun Python SDK";
|
||||
homepage = "https://github.com/aliyun/aliyun-openapi-python-sdk";
|
||||
changelog = "https://github.com/aliyun/aliyun-openapi-python-sdk/blob/master/aliyun-python-sdk-sts/ChangeLog.txt";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
1047
pkgs/development/python-modules/aliyun-python-sdk/default.nix
Normal file
1047
pkgs/development/python-modules/aliyun-python-sdk/default.nix
Normal file
File diff suppressed because it is too large
Load diff
290
pkgs/development/python-modules/aliyun-python-sdk/update.sh
Executable file
290
pkgs/development/python-modules/aliyun-python-sdk/update.sh
Executable file
|
|
@ -0,0 +1,290 @@
|
|||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p curl jq nixfmt-tree nix-update xmlstarlet
|
||||
|
||||
set -eu -o pipefail
|
||||
|
||||
nix-update python3Packages.aliyun-python-sdk-core --commit --build
|
||||
|
||||
source_file=pkgs/development/python-modules/aliyun-python-sdk/default.nix
|
||||
|
||||
packages=(
|
||||
aliyun-python-sdk-actiontrail
|
||||
aliyun-python-sdk-adb
|
||||
aliyun-python-sdk-adcp
|
||||
aliyun-python-sdk-address-purification
|
||||
aliyun-python-sdk-aicontent
|
||||
aliyun-python-sdk-aigen
|
||||
aliyun-python-sdk-aimath
|
||||
aliyun-python-sdk-aimiaobi
|
||||
aliyun-python-sdk-aipodcast
|
||||
aliyun-python-sdk-airec
|
||||
aliyun-python-sdk-airticketopen
|
||||
aliyun-python-sdk-alb
|
||||
aliyun-python-sdk-alidns
|
||||
aliyun-python-sdk-alikafka
|
||||
aliyun-python-sdk-alimt
|
||||
aliyun-python-sdk-alinlp
|
||||
aliyun-python-sdk-amqp-open
|
||||
aliyun-python-sdk-antiddos-public
|
||||
aliyun-python-sdk-anytrans
|
||||
aliyun-python-sdk-apds
|
||||
aliyun-python-sdk-appstream-center
|
||||
aliyun-python-sdk-aps
|
||||
aliyun-python-sdk-arms
|
||||
aliyun-python-sdk-avatar
|
||||
aliyun-python-sdk-bailianchatbot
|
||||
aliyun-python-sdk-beian
|
||||
aliyun-python-sdk-bpstudio
|
||||
aliyun-python-sdk-brain-industrial
|
||||
aliyun-python-sdk-brinekingdom
|
||||
aliyun-python-sdk-bssopenapi
|
||||
aliyun-python-sdk-btripopen
|
||||
aliyun-python-sdk-buss
|
||||
aliyun-python-sdk-cams
|
||||
aliyun-python-sdk-captcha
|
||||
# aliyun-python-sdk-cas, not maintained anymore
|
||||
aliyun-python-sdk-cassandra
|
||||
aliyun-python-sdk-cbn
|
||||
aliyun-python-sdk-cc5g
|
||||
aliyun-python-sdk-ccc
|
||||
aliyun-python-sdk-cciotgw
|
||||
aliyun-python-sdk-cdn
|
||||
aliyun-python-sdk-cdrs
|
||||
aliyun-python-sdk-ciomarketpop
|
||||
aliyun-python-sdk-clickhouse
|
||||
aliyun-python-sdk-cloudapi
|
||||
aliyun-python-sdk-cloudauth
|
||||
aliyun-python-sdk-cloudauth-console
|
||||
aliyun-python-sdk-cloudesl
|
||||
aliyun-python-sdk-cloudphone
|
||||
aliyun-python-sdk-cloud-siem
|
||||
aliyun-python-sdk-cms
|
||||
aliyun-python-sdk-codeup
|
||||
aliyun-python-sdk-companyreg
|
||||
aliyun-python-sdk-computenest
|
||||
aliyun-python-sdk-computenestsupplier
|
||||
aliyun-python-sdk-config
|
||||
aliyun-python-sdk-csas
|
||||
aliyun-python-sdk-das
|
||||
aliyun-python-sdk-dashdeviceconsole
|
||||
aliyun-python-sdk-dataphin-public
|
||||
aliyun-python-sdk-dataworks-public
|
||||
aliyun-python-sdk-dbfs
|
||||
aliyun-python-sdk-dbs
|
||||
aliyun-python-sdk-dcdn
|
||||
aliyun-python-sdk-ddosbgp
|
||||
aliyun-python-sdk-ddoscoo
|
||||
aliyun-python-sdk-ddosdiversion
|
||||
aliyun-python-sdk-dds
|
||||
aliyun-python-sdk-devops-rdc
|
||||
aliyun-python-sdk-dfs
|
||||
aliyun-python-sdk-dg
|
||||
aliyun-python-sdk-dms
|
||||
aliyun-python-sdk-dms-dg
|
||||
aliyun-python-sdk-dms-enterprise
|
||||
aliyun-python-sdk-documentautoml
|
||||
aliyun-python-sdk-domain
|
||||
aliyun-python-sdk-drds
|
||||
aliyun-python-sdk-dt-oc-info
|
||||
aliyun-python-sdk-dts
|
||||
aliyun-python-sdk-dybaseapi
|
||||
aliyun-python-sdk-dyplsapi
|
||||
aliyun-python-sdk-dypnsapi
|
||||
aliyun-python-sdk-dypnsapi-intl
|
||||
aliyun-python-sdk-dysmsapi
|
||||
aliyun-python-sdk-dytnsapi
|
||||
aliyun-python-sdk-dyvmsapi
|
||||
aliyun-python-sdk-eais
|
||||
aliyun-python-sdk-eas
|
||||
aliyun-python-sdk-ebs
|
||||
aliyun-python-sdk-ecd
|
||||
aliyun-python-sdk-eci
|
||||
aliyun-python-sdk-ecs
|
||||
aliyun-python-sdk-ecs-workbench
|
||||
aliyun-python-sdk-edas
|
||||
aliyun-python-sdk-eds-user
|
||||
aliyun-python-sdk-eduinterpreting
|
||||
aliyun-python-sdk-eflo
|
||||
aliyun-python-sdk-eflo-controller
|
||||
aliyun-python-sdk-ehpc
|
||||
aliyun-python-sdk-ehpcinstant
|
||||
aliyun-python-sdk-eiam
|
||||
aliyun-python-sdk-eipanycast
|
||||
aliyun-python-sdk-elasticsearch
|
||||
aliyun-python-sdk-emas-appmonitor
|
||||
aliyun-python-sdk-emr
|
||||
aliyun-python-sdk-emrstudio
|
||||
aliyun-python-sdk-ens
|
||||
aliyun-python-sdk-esa
|
||||
aliyun-python-sdk-ess
|
||||
aliyun-python-sdk-es-serverless
|
||||
aliyun-python-sdk-et-industry-openapi
|
||||
aliyun-python-sdk-eventbridge
|
||||
aliyun-python-sdk-facebody
|
||||
aliyun-python-sdk-fnf
|
||||
aliyun-python-sdk-foas
|
||||
aliyun-python-sdk-ft
|
||||
aliyun-python-sdk-ga
|
||||
aliyun-python-sdk-gdb
|
||||
aliyun-python-sdk-geoip
|
||||
aliyun-python-sdk-governance
|
||||
aliyun-python-sdk-gpdb
|
||||
aliyun-python-sdk-grace
|
||||
aliyun-python-sdk-green
|
||||
aliyun-python-sdk-gwlb
|
||||
aliyun-python-sdk-hbase
|
||||
aliyun-python-sdk-hbr
|
||||
aliyun-python-sdk-hcs-mgw
|
||||
aliyun-python-sdk-hitsdb
|
||||
aliyun-python-sdk-ice
|
||||
aliyun-python-sdk-idaas-doraemon
|
||||
aliyun-python-sdk-imageaudit
|
||||
aliyun-python-sdk-imageenhan
|
||||
aliyun-python-sdk-imageprocess
|
||||
aliyun-python-sdk-imagerecog
|
||||
aliyun-python-sdk-imageseg
|
||||
aliyun-python-sdk-imarketing
|
||||
aliyun-python-sdk-imgsearch
|
||||
aliyun-python-sdk-imm
|
||||
aliyun-python-sdk-intlmarket
|
||||
aliyun-python-sdk-iot
|
||||
aliyun-python-sdk-iotcc
|
||||
aliyun-python-sdk-iqs
|
||||
aliyun-python-sdk-itag
|
||||
aliyun-python-sdk-ivision
|
||||
aliyun-python-sdk-kms
|
||||
aliyun-python-sdk-lingmou
|
||||
aliyun-python-sdk-linkvisual
|
||||
aliyun-python-sdk-linkwan
|
||||
aliyun-python-sdk-live
|
||||
aliyun-python-sdk-ltl
|
||||
aliyun-python-sdk-lto
|
||||
aliyun-python-sdk-market
|
||||
aliyun-python-sdk-marketplaceintl
|
||||
aliyun-python-sdk-maxcompute
|
||||
aliyun-python-sdk-mns-open
|
||||
aliyun-python-sdk-moguan-sdk
|
||||
aliyun-python-sdk-msccommonquery
|
||||
aliyun-python-sdk-mse
|
||||
aliyun-python-sdk-mseap
|
||||
aliyun-python-sdk-mts
|
||||
aliyun-python-sdk-nas
|
||||
aliyun-python-sdk-nis
|
||||
aliyun-python-sdk-nlb
|
||||
aliyun-python-sdk-nlp-automl
|
||||
aliyun-python-sdk-objectdet
|
||||
aliyun-python-sdk-oceanbasepro
|
||||
aliyun-python-sdk-ocr
|
||||
aliyun-python-sdk-oms
|
||||
aliyun-python-sdk-ons
|
||||
aliyun-python-sdk-onsmqtt
|
||||
aliyun-python-sdk-oos
|
||||
aliyun-python-sdk-openanalytics-open
|
||||
aliyun-python-sdk-openitag
|
||||
aliyun-python-sdk-opensearch
|
||||
aliyun-python-sdk-osssddp
|
||||
aliyun-python-sdk-outboundbot
|
||||
aliyun-python-sdk-pai-dsw
|
||||
aliyun-python-sdk-paielasticdatasetaccelerator
|
||||
aliyun-python-sdk-paifeaturestore
|
||||
aliyun-python-sdk-pairecservice
|
||||
aliyun-python-sdk-polardb
|
||||
aliyun-python-sdk-polardbx
|
||||
aliyun-python-sdk-privatelink
|
||||
aliyun-python-sdk-push
|
||||
aliyun-python-sdk-pvtz
|
||||
aliyun-python-sdk-qianzhou
|
||||
aliyun-python-sdk-qualitycheck
|
||||
aliyun-python-sdk-quickbi-public
|
||||
aliyun-python-sdk-quotas
|
||||
aliyun-python-sdk-ram
|
||||
aliyun-python-sdk-rds
|
||||
aliyun-python-sdk-rds-data
|
||||
aliyun-python-sdk-reid-cloud
|
||||
aliyun-python-sdk-resourcecenter
|
||||
aliyun-python-sdk-resourcemanager
|
||||
aliyun-python-sdk-resourcesharing
|
||||
aliyun-python-sdk-retailcloud
|
||||
aliyun-python-sdk-r-kvstore
|
||||
aliyun-python-sdk-ros
|
||||
aliyun-python-sdk-rsimganalys
|
||||
aliyun-python-sdk-rtc
|
||||
aliyun-python-sdk-sae
|
||||
aliyun-python-sdk-safconsole
|
||||
aliyun-python-sdk-sas
|
||||
aliyun-python-sdk-sasti
|
||||
aliyun-python-sdk-scdn
|
||||
aliyun-python-sdk-schedulerx2
|
||||
aliyun-python-sdk-schedulerx3
|
||||
aliyun-python-sdk-scsp
|
||||
aliyun-python-sdk-sddp
|
||||
aliyun-python-sdk-selectdb
|
||||
aliyun-python-sdk-sgw
|
||||
aliyun-python-sdk-slb
|
||||
aliyun-python-sdk-sls
|
||||
aliyun-python-sdk-smartag
|
||||
aliyun-python-sdk-smartsales
|
||||
aliyun-python-sdk-smc
|
||||
aliyun-python-sdk-snsuapi
|
||||
aliyun-python-sdk-sophonsoar
|
||||
aliyun-python-sdk-sts
|
||||
aliyun-python-sdk-swas-open
|
||||
aliyun-python-sdk-tag
|
||||
aliyun-python-sdk-threedvision
|
||||
aliyun-python-sdk-tingwu
|
||||
aliyun-python-sdk-unimkt
|
||||
aliyun-python-sdk-ververica
|
||||
aliyun-python-sdk-viapi
|
||||
aliyun-python-sdk-viapi-oxs-cross
|
||||
aliyun-python-sdk-viapi-regen
|
||||
aliyun-python-sdk-videoenhan
|
||||
aliyun-python-sdk-videorecog
|
||||
aliyun-python-sdk-videoseg
|
||||
aliyun-python-sdk-vod
|
||||
aliyun-python-sdk-voicenavigator
|
||||
aliyun-python-sdk-vpc
|
||||
aliyun-python-sdk-vpcpeer
|
||||
aliyun-python-sdk-vs
|
||||
aliyun-python-sdk-waf-openapi
|
||||
aliyun-python-sdk-websitebuild
|
||||
aliyun-python-sdk-wfts
|
||||
aliyun-python-sdk-workbench-ide
|
||||
aliyun-python-sdk-workorder
|
||||
aliyun-python-sdk-wss
|
||||
aliyun-python-sdk-xtrace
|
||||
)
|
||||
|
||||
for package in "${packages[@]}"; do
|
||||
package_short_name="${package#aliyun-python-sdk-}"
|
||||
old_version=$(awk -v pkg="\"$package_short_name\"" -F'"' '$0 ~ pkg {printf $4}' ${source_file})
|
||||
version=$(curl -s https://pypi.org/pypi/${package}/json | jq -r '.info.version')
|
||||
|
||||
echo "Updating ${package} from ${old_version} to ${version}"
|
||||
|
||||
if [ "${version}" != "${old_version}" ]; then
|
||||
url=$(curl -s "https://pypi.org/pypi/${package}/${version}/json" | jq -r '.urls[] | select(.packagetype == "sdist") | .url' | head -1)
|
||||
if [ -z "$url" ]; then
|
||||
url=$(curl -s "https://pypi.org/pypi/${package}/${version}/json" | jq -r '.urls[0].url')
|
||||
fi
|
||||
hash=$(nix-prefetch-url --type sha256 $url)
|
||||
sri_hash="$(nix --extra-experimental-features nix-command hash to-sri --type sha256 $hash)"
|
||||
|
||||
awk -i inplace -v pkg="\"$package_short_name\"" -v new_version="$version" -v new_sha256="$sri_hash" '
|
||||
# Match the line containing the package name
|
||||
$0 ~ pkg && $0 ~ /buildAliyunSdkPackage/ {
|
||||
# Update the version
|
||||
sub(/"[^"]+"/, "\"" new_version "\"", $3);
|
||||
print;
|
||||
# Update the next line with the new sha256
|
||||
getline;
|
||||
sub(/"[^"]+"/, "\"" new_sha256 "\"");
|
||||
}
|
||||
{ print }
|
||||
' ${source_file}
|
||||
|
||||
treefmt ${source_file}
|
||||
|
||||
git commit ${source_file} -m "python3Packages.${package}: ${old_version} -> ${version}"
|
||||
fi
|
||||
|
||||
done
|
||||
|
|
@ -1,39 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
async-timeout,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "asmog";
|
||||
version = "0.0.6";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-k8dC3g2oY/b4w4m7Y/HUy/6/3Tm1kntx9tjoyXqDaJE=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
async-timeout
|
||||
];
|
||||
|
||||
# Project doesn't ship the tests
|
||||
# https://github.com/kstaniek/python-ampio-smog-api/issues/2
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "asmog" ];
|
||||
|
||||
meta = {
|
||||
description = "Python module for Ampio Smog Sensors";
|
||||
homepage = "https://github.com/kstaniek/python-ampio-smog-api";
|
||||
license = with lib.licenses; [ asl20 ];
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
})
|
||||
|
|
@ -6,6 +6,7 @@
|
|||
fetchPypi,
|
||||
fido2,
|
||||
gssapi,
|
||||
ifaddr,
|
||||
libnacl,
|
||||
libsodium,
|
||||
nettle,
|
||||
|
|
@ -20,12 +21,12 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "asyncssh";
|
||||
version = "2.22.0";
|
||||
version = "2.24.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-w85ysBvk+XtA5ihE3ThCJ+X/WkAaN5MAfEL4alyOtTc=";
|
||||
hash = "sha256-QGTFkOWc4ujYKi9m018xINdlgotN9ePb+we0qMJGhsk=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
|
@ -41,6 +42,7 @@ buildPythonPackage rec {
|
|||
optional-dependencies = {
|
||||
bcrypt = [ bcrypt ];
|
||||
fido2 = [ fido2 ];
|
||||
ifaddr = [ ifaddr ];
|
||||
gssapi = [ gssapi ];
|
||||
libnacl = [ libnacl ];
|
||||
pkcs11 = [ python-pkcs11 ];
|
||||
|
|
@ -78,8 +80,8 @@ buildPythonPackage rec {
|
|||
"test_connect_timeout_exceeded"
|
||||
# Fails in the sandbox
|
||||
"test_forward_remote"
|
||||
# (2.21.0) SFTP copy ends up with an empty file
|
||||
"test_copy_max_requests"
|
||||
# Seems weirdly filesystem specific
|
||||
"test_put_name_too_long"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "asyncssh" ];
|
||||
|
|
|
|||
|
|
@ -1,41 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
async-timeout,
|
||||
pysnmp,
|
||||
poetry-core,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "atenpdu";
|
||||
version = "0.7.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-+UQVCizqpyVe7nuQUYwSBOtiTwW+0LVH1HaaucnIg9k=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [
|
||||
async-timeout
|
||||
pysnmp
|
||||
];
|
||||
|
||||
# Module has no test
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "atenpdu" ];
|
||||
|
||||
meta = {
|
||||
description = "Python interface to control ATEN PE PDUs";
|
||||
homepage = "https://github.com/mtdcr/pductl";
|
||||
changelog = "https://github.com/mtdcr/pductl/releases/tag/${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
mainProgram = "pductl";
|
||||
broken = lib.versionAtLeast pysnmp.version "7";
|
||||
};
|
||||
}
|
||||
|
|
@ -1,49 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
bluepy,
|
||||
buildPythonPackage,
|
||||
csrmesh,
|
||||
fetchPypi,
|
||||
pycryptodome,
|
||||
requests,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "avion";
|
||||
version = "0.10";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-v/0NwFmxDZ9kEOx5qs5L9sKzOg/kto79syctg0Ah+30=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# https://github.com/mjg59/python-avion/pull/16
|
||||
substituteInPlace setup.py \
|
||||
--replace "bluepy>==1.1.4" "bluepy>=1.1.4"
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
bluepy
|
||||
csrmesh
|
||||
pycryptodome
|
||||
requests
|
||||
];
|
||||
|
||||
# Module has no test
|
||||
doCheck = false;
|
||||
|
||||
# bluepy/uuids.json is not found
|
||||
# pythonImportsCheck = [ "avion" ];
|
||||
|
||||
meta = {
|
||||
description = "Python API for controlling Avi-on Bluetooth dimmers";
|
||||
homepage = "https://github.com/mjg59/python-avion";
|
||||
license = with lib.licenses; [ gpl3Plus ];
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
})
|
||||
|
|
@ -1,40 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
btlewrap,
|
||||
bluepy,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "beewi-smartclim";
|
||||
version = "0.0.10";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alemuro";
|
||||
repo = "beewi_smartclim";
|
||||
tag = version;
|
||||
hash = "sha256-xdr545Q4DFhup2BCMZZ1WYWgt97qT6oipIHWcsp90+A=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
btlewrap
|
||||
bluepy
|
||||
];
|
||||
|
||||
# No tests available
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "beewi_smartclim" ];
|
||||
|
||||
meta = {
|
||||
description = "Library to read data from BeeWi SmartClim sensor using Bluetooth LE";
|
||||
homepage = "https://github.com/alemuro/beewi_smartclim";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.jamiemagee ];
|
||||
};
|
||||
}
|
||||
|
|
@ -21,14 +21,14 @@
|
|||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "bluetooth-adapters";
|
||||
version = "2.3.0";
|
||||
version = "2.4.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Bluetooth-Devices";
|
||||
repo = "bluetooth-adapters";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-r/qDwlIVa7VBkhepmuFqwtlJ7WYUTiYRKikhURTgLH8=";
|
||||
hash = "sha256-d1vHb1WvsumlvilwuV6yfTwMXViLqeosSSM3LijIGYY=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
|
|
|
|||
|
|
@ -15,14 +15,14 @@
|
|||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "dbus-fast";
|
||||
version = "5.0.17";
|
||||
version = "5.0.22";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Bluetooth-Devices";
|
||||
repo = "dbus-fast";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-wZ4ufGua56weOuaOkyjBIzDex/gjmLeAczYzeLQRFwo=";
|
||||
hash = "sha256-tYgsaXOo1zYjWebcWZyGIIbYHCJApwhRnuYcHOP+ZUs=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
|
|
|||
|
|
@ -1,38 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
buildPythonPackage,
|
||||
docopt,
|
||||
fetchPypi,
|
||||
pyyaml,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "eliqonline";
|
||||
version = "1.2.2";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "hOUN4cA4pKVioIrfJM02GOnZdDRc7xbNtvHfoD3//bM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
docopt
|
||||
pyyaml
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "eliqonline" ];
|
||||
|
||||
meta = {
|
||||
description = "Python client to the Eliq Online API";
|
||||
mainProgram = "eliqonline";
|
||||
homepage = "https://github.com/molobrakos/eliqonline";
|
||||
license = lib.licenses.lgpl3Only;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
|
@ -8,14 +8,14 @@
|
|||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "fido2";
|
||||
version = "2.1.1";
|
||||
version = "2.2.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-8TefhFhwzH/GTH8HMjw85B6MlsNwVOeeCs1WMLP+xaw=";
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-hXh0KKlMP46vcvD/MK+6mDtVmhsbeVyTMYyBtK1AYsQ=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
|
@ -28,7 +28,10 @@ buildPythonPackage rec {
|
|||
pcsc = [ pyscard ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
]
|
||||
++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies;
|
||||
|
||||
pytestFlags = [
|
||||
"-v"
|
||||
|
|
@ -40,8 +43,8 @@ buildPythonPackage rec {
|
|||
meta = {
|
||||
description = "Provides library functionality for FIDO 2.0, including communication with a device over USB";
|
||||
homepage = "https://github.com/Yubico/python-fido2";
|
||||
changelog = "https://github.com/Yubico/python-fido2/releases/tag/${version}";
|
||||
changelog = "https://github.com/Yubico/python-fido2/releases/tag/${finalAttrs.version}";
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = with lib.maintainers; [ prusnak ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -16,14 +16,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "forecast-solar";
|
||||
version = "5.0.0";
|
||||
version = "5.0.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "home-assistant-libs";
|
||||
repo = "forecast_solar";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-gFa1jq4Dq6fWqL/3eY+OGcJU+T+R6TZs8CX1ynnW+pU=";
|
||||
hash = "sha256-fvmi5kwVAScVlGpxutjH8nl0lJx/VnQEVoj9a1UY7r4=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
|
|
|||
|
|
@ -1,34 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
requests,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gitterpy";
|
||||
version = "0.1.7";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-nmZ6sVjrHRLfvXMr/fYiN+a4Wly87YKwAR+heP/sNkE=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ requests ];
|
||||
|
||||
# Package has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "gitterpy" ];
|
||||
|
||||
meta = {
|
||||
description = "Python interface for the Gitter API";
|
||||
homepage = "https://github.com/MichaelYusko/GitterPy";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.jamiemagee ];
|
||||
};
|
||||
}
|
||||
|
|
@ -1,40 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
requests,
|
||||
xmltodict,
|
||||
urllib3,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "greenwavereality";
|
||||
version = "0.5.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-bNTO9qHoOe3A7TYiUwLBVq4eWyGoIfCoguizM1hKk/Y=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
requests
|
||||
xmltodict
|
||||
urllib3
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "greenwavereality" ];
|
||||
|
||||
meta = {
|
||||
description = "Control of Greenwave Reality Lights";
|
||||
homepage = "https://github.com/dfiel/greenwavereality";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.jamiemagee ];
|
||||
};
|
||||
}
|
||||
|
|
@ -20,14 +20,14 @@
|
|||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "habluetooth";
|
||||
version = "6.8.1";
|
||||
version = "6.26.5";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Bluetooth-Devices";
|
||||
repo = "habluetooth";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-a6qYBCN4nlJ0KRqGSbE6D5YySrvhi2kqAArMKa5A6sM=";
|
||||
hash = "sha256-IM3M4fWTdD4wT3UsNiLZq7QX3p9pf+lR3x84vuOICMM=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
let
|
||||
pname = "hassil";
|
||||
version = "3.7.0";
|
||||
version = "3.8.0";
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
inherit pname version;
|
||||
|
|
@ -26,7 +26,7 @@ buildPythonPackage rec {
|
|||
owner = "home-assistant";
|
||||
repo = "hassil";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-C3nx8w0y4RsHq9txwdSfgS9BMcY4TyZiBOq4QIq5w+0=";
|
||||
hash = "sha256-b+ykT6P9yG8jZZN92K76uBaKTJpV6lkcqP3AAYbj3dU=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
|
|
|||
|
|
@ -10,14 +10,14 @@
|
|||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "hole";
|
||||
version = "0.9.1";
|
||||
version = "0.9.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "home-assistant-ecosystem";
|
||||
repo = "python-hole";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-rIKb6GeULi2ooNtWD2a23JQxO9HkXiUYy0AroYeVeKU=";
|
||||
hash = "sha256-j9fwetfxc0HG+Ly+MpRYL3jDHAwtt+Ls3tUcizHuUrg=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
|
|
|||
49
pkgs/development/python-modules/httplib2shim/default.nix
Normal file
49
pkgs/development/python-modules/httplib2shim/default.nix
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
certifi,
|
||||
fetchFromGitHub,
|
||||
httplib2,
|
||||
nix-update-script,
|
||||
setuptools,
|
||||
six,
|
||||
urllib3,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "httplib2shim";
|
||||
version = "0.0.2";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "GoogleCloudPlatform";
|
||||
repo = "httplib2shim";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-1dBrO8vkqJKsz+ADZNRtjUr+eVRGdt4iN1GFrse1sFc=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
certifi
|
||||
httplib2
|
||||
six
|
||||
urllib3
|
||||
];
|
||||
|
||||
# Tests require a network access
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "httplib2shim" ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Urllib3 sanity for httplib2 users";
|
||||
homepage = "https://github.com/GoogleCloudPlatform/httplib2shim";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
})
|
||||
|
|
@ -8,14 +8,14 @@
|
|||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "infrared-protocols";
|
||||
version = "5.8.1";
|
||||
version = "6.3.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "home-assistant-libs";
|
||||
repo = "infrared-protocols";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-CSVnH+U/dqp5vjA4eWEJEFT0LZgaAG3OC1rcgyKIcJE=";
|
||||
hash = "sha256-6kyb0a0cCwVSS4evDGg0Z7wLGhDUHnLeXUJ9PW+fhHk=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue