Merge master into staging-next
This commit is contained in:
commit
35713de428
119 changed files with 2268 additions and 1906 deletions
|
@ -451,6 +451,7 @@ with lib.maintainers; {
|
|||
# Verify additions to this team with at least one already existing member of the team.
|
||||
members = [
|
||||
das_j
|
||||
conni2461
|
||||
];
|
||||
scope = "Group registration for packages maintained by Helsinki Systems";
|
||||
shortName = "Helsinki Systems employees";
|
||||
|
|
|
@ -217,6 +217,8 @@ The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been m
|
|||
|
||||
- `services.neo4j.allowUpgrade` was removed and no longer has any effect. Neo4j 5 supports automatic rolling upgrades.
|
||||
|
||||
- `unifiLTS`, `unifi5` and `unifi6` have been removed, as they require MongoDB versions which are end-of-life. All these versions can be upgraded to `unifi7` directly.
|
||||
|
||||
- `nitter` requires a `guest_accounts.jsonl` to be provided as a path or loaded into the default location at `/var/lib/nitter/guest_accounts.jsonl`. See [Guest Account Branch Deployment](https://github.com/zedeus/nitter/wiki/Guest-Account-Branch-Deployment) for details.
|
||||
|
||||
- `boot.supportedFilesystems` and `boot.initrd.supportedFilesystems` are now attribute sets instead of lists. Assignment from lists as done previously is still supported, but checking whether a filesystem is enabled must now by done using `supportedFilesystems.fs or false` instead of using `lib.elem "fs" supportedFilesystems` as was done previously.
|
||||
|
|
|
@ -338,7 +338,7 @@ in {
|
|||
after = [ "network.target" ];
|
||||
|
||||
serviceConfig = {
|
||||
ExecStart = "${cfg.package}/bin/redis-server /var/lib/${redisName name}/redis.conf ${escapeShellArgs conf.extraParams}";
|
||||
ExecStart = "${cfg.package}/bin/${cfg.package.serverBin or "redis-server"} /var/lib/${redisName name}/redis.conf ${escapeShellArgs conf.extraParams}";
|
||||
ExecStartPre = "+"+pkgs.writeShellScript "${redisName name}-prep-conf" (let
|
||||
redisConfVar = "/var/lib/${redisName name}/redis.conf";
|
||||
redisConfRun = "/run/${redisName name}/nixos.conf";
|
||||
|
@ -391,7 +391,8 @@ in {
|
|||
RestrictAddressFamilies = [ "AF_INET" "AF_INET6" "AF_UNIX" ];
|
||||
RestrictNamespaces = true;
|
||||
LockPersonality = true;
|
||||
MemoryDenyWriteExecute = true;
|
||||
# we need to disable MemoryDenyWriteExecute for keydb
|
||||
MemoryDenyWriteExecute = cfg.package.pname != "keydb";
|
||||
RestrictRealtime = true;
|
||||
RestrictSUIDSGID = true;
|
||||
PrivateMounts = true;
|
||||
|
|
|
@ -1,44 +1,87 @@
|
|||
import ./make-test-python.nix ({ pkgs, lib, ... }:
|
||||
{
|
||||
name = "redis";
|
||||
meta.maintainers = with lib.maintainers; [ flokli ];
|
||||
system ? builtins.currentSystem,
|
||||
config ? { },
|
||||
pkgs ? import ../../.. { inherit system config; },
|
||||
|
||||
nodes = {
|
||||
machine =
|
||||
{ pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
services.redis.servers."".enable = true;
|
||||
services.redis.servers."test".enable = true;
|
||||
|
||||
users.users = lib.listToAttrs (map (suffix: lib.nameValuePair "member${suffix}" {
|
||||
createHome = false;
|
||||
description = "A member of the redis${suffix} group";
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "redis${suffix}" ];
|
||||
}) ["" "-test"]);
|
||||
};
|
||||
lib ? pkgs.lib,
|
||||
}:
|
||||
let
|
||||
makeTest = import ./make-test-python.nix;
|
||||
mkTestName =
|
||||
pkg: "${pkg.pname}_${builtins.replaceStrings [ "." ] [ "" ] (lib.versions.majorMinor pkg.version)}";
|
||||
redisPackages = {
|
||||
inherit (pkgs) redis keydb;
|
||||
};
|
||||
makeRedisTest =
|
||||
{
|
||||
package,
|
||||
name ? mkTestName package,
|
||||
}:
|
||||
makeTest {
|
||||
inherit name;
|
||||
meta.maintainers = [
|
||||
lib.maintainers.flokli
|
||||
lib.teams.helsinki-systems.members
|
||||
];
|
||||
|
||||
testScript = { nodes, ... }: let
|
||||
inherit (nodes.machine.config.services) redis;
|
||||
in ''
|
||||
start_all()
|
||||
machine.wait_for_unit("redis")
|
||||
machine.wait_for_unit("redis-test")
|
||||
nodes = {
|
||||
machine =
|
||||
{ lib, ... }:
|
||||
|
||||
# The unnamed Redis server still opens a port for backward-compatibility
|
||||
machine.wait_for_open_port(6379)
|
||||
{
|
||||
services = {
|
||||
redis = {
|
||||
inherit package;
|
||||
servers."".enable = true;
|
||||
servers."test".enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
machine.wait_for_file("${redis.servers."".unixSocket}")
|
||||
machine.wait_for_file("${redis.servers."test".unixSocket}")
|
||||
users.users = lib.listToAttrs (
|
||||
map
|
||||
(
|
||||
suffix:
|
||||
lib.nameValuePair "member${suffix}" {
|
||||
createHome = false;
|
||||
description = "A member of the redis${suffix} group";
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "redis${suffix}" ];
|
||||
}
|
||||
)
|
||||
[
|
||||
""
|
||||
"-test"
|
||||
]
|
||||
);
|
||||
};
|
||||
};
|
||||
|
||||
# The unix socket is accessible to the redis group
|
||||
machine.succeed('su member -c "redis-cli ping | grep PONG"')
|
||||
machine.succeed('su member-test -c "redis-cli ping | grep PONG"')
|
||||
testScript =
|
||||
{ nodes, ... }:
|
||||
let
|
||||
inherit (nodes.machine.services) redis;
|
||||
in
|
||||
''
|
||||
start_all()
|
||||
machine.wait_for_unit("redis")
|
||||
machine.wait_for_unit("redis-test")
|
||||
|
||||
machine.succeed("redis-cli ping | grep PONG")
|
||||
machine.succeed("redis-cli -s ${redis.servers."".unixSocket} ping | grep PONG")
|
||||
machine.succeed("redis-cli -s ${redis.servers."test".unixSocket} ping | grep PONG")
|
||||
'';
|
||||
})
|
||||
# The unnamed Redis server still opens a port for backward-compatibility
|
||||
machine.wait_for_open_port(6379)
|
||||
|
||||
machine.wait_for_file("${redis.servers."".unixSocket}")
|
||||
machine.wait_for_file("${redis.servers."test".unixSocket}")
|
||||
|
||||
# The unix socket is accessible to the redis group
|
||||
machine.succeed('su member -c "${pkgs.redis}/bin/redis-cli ping | grep PONG"')
|
||||
machine.succeed('su member-test -c "${pkgs.redis}/bin/redis-cli ping | grep PONG"')
|
||||
|
||||
machine.succeed("${pkgs.redis}/bin/redis-cli ping | grep PONG")
|
||||
machine.succeed("${pkgs.redis}/bin/redis-cli -s ${redis.servers."".unixSocket} ping | grep PONG")
|
||||
machine.succeed("${pkgs.redis}/bin/redis-cli -s ${
|
||||
redis.servers."test".unixSocket
|
||||
} ping | grep PONG")
|
||||
'';
|
||||
};
|
||||
in
|
||||
lib.mapAttrs (_: package: makeRedisTest { inherit package; }) redisPackages
|
||||
|
|
|
@ -31,8 +31,6 @@ let
|
|||
'';
|
||||
};
|
||||
in with pkgs; {
|
||||
unifiLTS = makeAppTest unifiLTS;
|
||||
unifi5 = makeAppTest unifi5;
|
||||
unifi6 = makeAppTest unifi6;
|
||||
unifi7 = makeAppTest unifi7;
|
||||
unifi8 = makeAppTest unifi8;
|
||||
}
|
||||
|
|
|
@ -27,11 +27,11 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cardinal";
|
||||
version = "23.10";
|
||||
version = "24.04";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/DISTRHO/Cardinal/releases/download/${version}/cardinal+deps-${version}.tar.xz";
|
||||
hash = "sha256-6Wt2sC7vdrz2Fkl08bNLfnGu+pAV7b5lZUmsx1wtJRE=";
|
||||
hash = "sha256-vowDdHAXVZ+HSMoQsvJdzghsJzH+OrSpx6MxPRAgtJA=";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
|
|
|
@ -6,19 +6,19 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "optimism";
|
||||
version = "1.7.2";
|
||||
version = "1.7.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ethereum-optimism";
|
||||
repo = "optimism";
|
||||
rev = "op-node/v${version}";
|
||||
hash = "sha256-p3dbyszUeknAXrI1WqN9WS6AkEYQdVfMP90Kk/L41vM=";
|
||||
hash = "sha256-KKCVjGBQeO5K6wq3GV3f7qaGY1uXNPI27w4DEC31pzU=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
subPackages = [ "op-node/cmd" "op-proposer/cmd" "op-batcher/cmd" ];
|
||||
|
||||
vendorHash = "sha256-24zj480UU9SYqr2mV6rCJ46gwLgzilLuhqrkNKHVR28=";
|
||||
vendorHash = "sha256-pQhNXOYohBoV5QsBnNpNjFg+Vvk5jK1zvSKkolp4yiQ=";
|
||||
|
||||
buildInputs = [
|
||||
libpcap
|
||||
|
|
|
@ -21,11 +21,21 @@
|
|||
, gzip
|
||||
, fontconfig
|
||||
, freetype
|
||||
, libbsd
|
||||
, libpulseaudio
|
||||
, libGL
|
||||
, libdrm
|
||||
, libpng
|
||||
, libuuid
|
||||
, libX11
|
||||
, libxcb
|
||||
, libxkbcommon
|
||||
, xcbutilwm
|
||||
, xcbutilrenderutil
|
||||
, xcbutilkeysyms
|
||||
, xcbutilimage
|
||||
, xcbutilcursor
|
||||
, libxkbfile
|
||||
, libXcomposite
|
||||
, libXcursor
|
||||
, libXdamage
|
||||
|
@ -51,6 +61,7 @@
|
|||
, which
|
||||
, runCommand
|
||||
, xkeyboard_config
|
||||
, xorg
|
||||
, zlib
|
||||
, makeDesktopItem
|
||||
, tiling_wm # if we are using a tiling wm, need to set _JAVA_AWT_WM_NONREPARENTING in wrapper
|
||||
|
@ -136,15 +147,27 @@ let
|
|||
alsa-lib
|
||||
dbus
|
||||
expat
|
||||
libbsd
|
||||
libpulseaudio
|
||||
libuuid
|
||||
libX11
|
||||
libxcb
|
||||
libxkbcommon
|
||||
xcbutilwm
|
||||
xcbutilrenderutil
|
||||
xcbutilkeysyms
|
||||
xcbutilimage
|
||||
xcbutilcursor
|
||||
xorg.libICE
|
||||
xorg.libSM
|
||||
libxkbfile
|
||||
libXcomposite
|
||||
libXcursor
|
||||
libXdamage
|
||||
libXfixes
|
||||
libGL
|
||||
libdrm
|
||||
libpng
|
||||
nspr
|
||||
nss_latest
|
||||
systemd
|
||||
|
|
|
@ -4099,6 +4099,27 @@ let
|
|||
|
||||
sumneko.lua = callPackage ./sumneko.lua { };
|
||||
|
||||
supermaven.supermaven = buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
hash = "sha256-O3AN8fy28ZSun+k6MJnJdFcmwDDE21ib+I9HtDE0JwU=";
|
||||
name = "supermaven";
|
||||
publisher = "supermaven";
|
||||
version = "0.1.42";
|
||||
};
|
||||
meta = {
|
||||
changelog = "https://marketplace.visualstudio.com/items/supermaven.supermaven/changelog";
|
||||
description = "A Visual Studio Code extension for code completion suggestions";
|
||||
downloadPage = "https://marketplace.visualstudio.com/items?itemName=supermaven.supermaven";
|
||||
homepage = "https://supermaven.com/";
|
||||
license = lib.licenses.unfree;
|
||||
longDescription = ''
|
||||
Supermaven uses a 300,000 token context window to provide you the best code completion suggestions and the lowest latency.
|
||||
With our extension you will get the fastest and best completions of any tool on the market.
|
||||
'';
|
||||
maintainers = [ lib.maintainers.msanft ];
|
||||
};
|
||||
};
|
||||
|
||||
svelte.svelte-vscode = buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
name = "svelte-vscode";
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
, fluidsynth
|
||||
, freetype
|
||||
, glib
|
||||
, libicns
|
||||
, libpcap
|
||||
, libpng
|
||||
, libslirp
|
||||
|
@ -18,6 +19,7 @@
|
|||
, makeWrapper
|
||||
, ncurses
|
||||
, pkg-config
|
||||
, python3
|
||||
, SDL2
|
||||
, SDL2_net
|
||||
, testers
|
||||
|
@ -36,12 +38,29 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
hash = "sha256-EcAp7KyqXdBACEbPgkM1INoKeGVo7hMDUx97y2RcX+k=";
|
||||
};
|
||||
|
||||
# sips is unavailable in sandbox, replacing with imagemagick breaks build due to wrong Foundation propagation(?) so don't generate resolution variants
|
||||
# iconutil is unavailable, replace with png2icns from libicns
|
||||
# Patch bad hardcoded compiler
|
||||
# Don't mess with codesign, doesn't seem to work?
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile.am \
|
||||
--replace-fail 'sips' '## sips' \
|
||||
--replace-fail 'iconutil -c icns -o contrib/macos/dosbox.icns src/dosbox.iconset' 'png2icns contrib/macos/dosbox.icns contrib/macos/dosbox-x.png' \
|
||||
--replace-fail 'g++' "$CXX" \
|
||||
--replace-fail 'codesign' '## codesign'
|
||||
'' + lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
patchShebangs appbundledeps.py
|
||||
'';
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
makeWrapper
|
||||
pkg-config
|
||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
libicns
|
||||
python3
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
@ -75,9 +94,22 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
hardeningDisable = [ "format" ]; # https://github.com/joncampbell123/dosbox-x/issues/4436
|
||||
|
||||
# Build optional App Bundle target, which needs at least one arch-suffixed binary
|
||||
postBuild = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
cp src/dosbox-x src/dosbox-x-$(uname -m)
|
||||
make dosbox-x.app
|
||||
'';
|
||||
|
||||
postInstall = lib.optionalString stdenv.hostPlatform.isLinux ''
|
||||
wrapProgram $out/bin/dosbox-x \
|
||||
--prefix PATH : ${lib.makeBinPath [ yad ]}
|
||||
''
|
||||
# Install App Bundle, wrap regular binary into bundle's binary to get the icon working
|
||||
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
mkdir $out/Applications
|
||||
mv dosbox-x.app $out/Applications/
|
||||
mv $out/bin/dosbox-x $out/Applications/dosbox-x.app/Contents/MacOS/dosbox-x
|
||||
makeWrapper $out/Applications/dosbox-x.app/Contents/MacOS/dosbox-x $out/bin/dosbox-x
|
||||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
|
|
|
@ -3,20 +3,20 @@
|
|||
}:
|
||||
let
|
||||
pname = "josm";
|
||||
version = "19017";
|
||||
version = "19039";
|
||||
srcs = {
|
||||
jar = fetchurl {
|
||||
url = "https://josm.openstreetmap.de/download/josm-snapshot-${version}.jar";
|
||||
hash = "sha256-+PSsvauVe+e+qB7sz9AFmC/dZhWHFHe0zWYPEhgvRIQ=";
|
||||
hash = "sha256-iH6g18lJrvfAvtkAaVPSK7vhgdU6oI7X10GkFcwpsBs=";
|
||||
};
|
||||
macosx = fetchurl {
|
||||
url = "https://josm.openstreetmap.de/download/macosx/josm-macos-${version}-java17.zip";
|
||||
hash = "sha256-QYvAC+W7gHC5unwfcbQ0sz5U1VkMwIIUkDWQK9vDe2A=";
|
||||
url = "https://josm.openstreetmap.de/download/macosx/josm-macos-${version}-java21.zip";
|
||||
hash = "sha256-yA+Qf76MbouiLdH9o1Ri8ptbG70YZoI13pBA9Ki61/0=";
|
||||
};
|
||||
pkg = fetchsvn {
|
||||
url = "https://josm.openstreetmap.de/svn/trunk/native/linux/tested";
|
||||
rev = version;
|
||||
sha256 = "sha256-Pb4EAyvERz6kP3EmkgmUy/58KQHhBJmZJvpAj72GCIk=";
|
||||
sha256 = "sha256-L7P6FtqKLB4e+ezPzXePM33qj5esNoRlTFXi0/GhdsA=";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ let
|
|||
vivaldiName = if isSnapshot then "vivaldi-snapshot" else "vivaldi";
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "vivaldi";
|
||||
version = "6.6.3271.55";
|
||||
version = "6.6.3271.57";
|
||||
|
||||
suffix = {
|
||||
aarch64-linux = "arm64";
|
||||
|
@ -34,8 +34,8 @@ in stdenv.mkDerivation rec {
|
|||
src = fetchurl {
|
||||
url = "https://downloads.vivaldi.com/${branch}/vivaldi-${branch}_${version}-1_${suffix}.deb";
|
||||
hash = {
|
||||
aarch64-linux = "sha256-IqCmDqcZDLT1abx67gAsGHR8DVVIAGZ/sifZi8bxUNc=";
|
||||
x86_64-linux = "sha256-n0CHm1Dtd2QhGNhI/9WzQ6CeCyMAHkBpOMC2w3ylk2g=";
|
||||
aarch64-linux = "sha256-v/UG4eL/66i/0sSqN8JmJJIEjHzJjTTDZLRzLMJpJMA=";
|
||||
x86_64-linux = "sha256-uVrEVf9mePqalU2OJRMj0Zy9d7jDXwsdMwEQhn9uUh8=";
|
||||
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
||||
};
|
||||
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "kubeseal";
|
||||
version = "0.26.0";
|
||||
version = "0.26.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bitnami-labs";
|
||||
repo = "sealed-secrets";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-rOaczDGjocGpYEPJpMiveWE7sHU9L0Csx2nX0Z3IrBs=";
|
||||
sha256 = "sha256-96yaWHRfEHjXYZ9Hsh9bXk5O5viSOYhmwJ18JCbtv2U=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-UicMiSSSQzquNAHFpnWKbybimz3jjbBgWykhyRSU7ZI=";
|
||||
vendorHash = "sha256-91GKy7tNKSOiJmpArgp56RXegYP7sdGpaRAxS9xwTXA=";
|
||||
|
||||
subPackages = [ "cmd/kubeseal" ];
|
||||
|
||||
|
|
|
@ -167,9 +167,9 @@ rec {
|
|||
mkTerraform = attrs: pluggable (generic attrs);
|
||||
|
||||
terraform_1 = mkTerraform {
|
||||
version = "1.7.5";
|
||||
hash = "sha256-k/ugXlHK7lEKfOpSBXQNUdcq26rVVdjo53U+7ChJLIc=";
|
||||
vendorHash = "sha256-5sCf65gFpI3y+qwDYvD08OZHNsDMg2IuDL65NMsLQ4Y=";
|
||||
version = "1.8.0";
|
||||
hash = "sha256-An/ElR1tXQSb9x26R5o9gcb4XKTeVxlv+72Whcrdeoc=";
|
||||
vendorHash = "sha256-xpgGceAA+kvwUp4T0m9rnbPoZ3uJHU2KIRsrcGr8dRo=";
|
||||
patches = [ ./provider-path-0_15.patch ];
|
||||
passthru = {
|
||||
inherit plugins;
|
||||
|
|
|
@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
|
|||
--replace '/opt/Morgen' $out/bin
|
||||
|
||||
makeWrapper ${electron}/bin/electron $out/bin/morgen \
|
||||
--add-flags $out/opt/Morgen/resources/app.asar
|
||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations,WebRTCPipeWireCapturer}} $out/opt/Morgen/resources/app.asar"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
|
|
@ -14,19 +14,21 @@
|
|||
, botan2
|
||||
, pkg-config
|
||||
, nixosTests
|
||||
, installShellFiles
|
||||
, xvfb-run
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "qownnotes";
|
||||
appname = "QOwnNotes";
|
||||
version = "24.4.0";
|
||||
version = "24.4.1";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit pname version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/pbek/QOwnNotes/releases/download/v${version}/qownnotes-${version}.tar.xz";
|
||||
hash = "sha256-SxoZD5DYuPAJZwBiw38jZYI+e9FExj+TiUlczvbXkWA=";
|
||||
hash = "sha256-E4tLlzjIOElsZr2jcbsnge5jJqKQ0kWf86tFonZ1+Zs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -34,6 +36,8 @@ stdenv.mkDerivation {
|
|||
qttools
|
||||
wrapQtAppsHook
|
||||
pkg-config
|
||||
installShellFiles
|
||||
xvfb-run
|
||||
] ++ lib.optionals stdenv.isDarwin [ makeWrapper ];
|
||||
|
||||
buildInputs = [
|
||||
|
@ -49,9 +53,16 @@ stdenv.mkDerivation {
|
|||
"USE_SYSTEM_BOTAN=1"
|
||||
];
|
||||
|
||||
postInstall =
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd ${appname} \
|
||||
--bash <(xvfb-run $out/bin/${appname} --completion bash --allow-multiple-instances) \
|
||||
--fish <(xvfb-run $out/bin/${appname} --completion fish --allow-multiple-instances)
|
||||
installShellCompletion --cmd ${pname} \
|
||||
--bash <(xvfb-run $out/bin/${appname} --completion bash --allow-multiple-instances) \
|
||||
--fish <(xvfb-run $out/bin/${appname} --completion fish --allow-multiple-instances)
|
||||
''
|
||||
# Create a lowercase symlink for Linux
|
||||
lib.optionalString stdenv.isLinux ''
|
||||
+ lib.optionalString stdenv.isLinux ''
|
||||
ln -s $out/bin/${appname} $out/bin/${pname}
|
||||
''
|
||||
# Wrap application for macOS as lowercase binary
|
||||
|
|
|
@ -12,13 +12,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "treesheets";
|
||||
version = "unstable-2024-03-30";
|
||||
version = "unstable-2024-04-11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aardappel";
|
||||
repo = "treesheets";
|
||||
rev = "f5b13ed93eacdd62851081d0730ec5f8b306c1e6";
|
||||
sha256 = "CoIvJzfVmblMPH0J45ykpRF7CDLj/Dx+8MpkjiQkMkM=";
|
||||
rev = "5e9e95a34221d4bda584d2130586177e29ee8fe7";
|
||||
sha256 = "X0aB0rJZd9G8S+QWviSAdB/YQMT4lVV3yiELzZs+P3g=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -8,13 +8,13 @@
|
|||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "cloudlog";
|
||||
version = "2.6.7";
|
||||
version = "2.6.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "magicbug";
|
||||
repo = "Cloudlog";
|
||||
rev = version;
|
||||
hash = "sha256-blWMfe/eqeccGE5dWVJWV7L1akWnhO3t5n8HbjlJIcA=";
|
||||
hash = "sha256-8D8owjONUMpRpFqKvmxKERCprvHQ1DCavNfqW9VTKAE=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "minimap2";
|
||||
version = "2.27";
|
||||
version = "2.28";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = pname;
|
||||
owner = "lh3";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-F6IJrYD2dk+5bKKVIahLiNnD/Hd/CjNQQd9zz0Gkans=";
|
||||
sha256 = "sha256-cBl2BKgPCP/xHZW6fTH51cY9/lV/1HVLsN7a1R1Blv4=";
|
||||
};
|
||||
|
||||
buildInputs = [ zlib ];
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
}:
|
||||
|
||||
let
|
||||
version = "1.17.0";
|
||||
version = "1.17.1";
|
||||
|
||||
# build stimuli file for PGO build and the script to generate it
|
||||
# independently of the foot's build, so we can cache the result
|
||||
|
@ -99,7 +99,7 @@ stdenv.mkDerivation {
|
|||
owner = "dnkl";
|
||||
repo = "foot";
|
||||
rev = version;
|
||||
hash = "sha256-H4a9WQox7vD5HsY9PP0nrNDZtyaRFpsphsv8/qstNH8=";
|
||||
hash = "sha256-B6RhzsOPwczPLJRx3gBFZZvklwx9IwqplRG2vsAPIlg=";
|
||||
};
|
||||
|
||||
separateDebugInfo = true;
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "commitizen";
|
||||
version = "3.21.3";
|
||||
version = "3.22.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = python3.pythonOlder "3.8";
|
||||
|
@ -20,7 +20,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||
owner = "commitizen-tools";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-4Wz7PRAdsBZ0nX0hxu1XB5Uc13oP1wl86j5V0iHPBoA=";
|
||||
hash = "sha256-wDxhhPYElNPimVa+wX6AnTZrZOhWjuMzNJ6urn0wruk=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
|
|
|
@ -5,18 +5,18 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "flowblade";
|
||||
version = "2.12.0.2";
|
||||
version = "2.14.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jliljebl";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-SZ/J03PYeAbqQlNQXdqLSduo/5VjQ7VH4eErJqO3Ua0=";
|
||||
sha256 = "sha256-kyW/vYKGy/tgHmev8LgJbGugfKkzKFwLZStQQfWYPuQ=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
ffmpeg frei0r sox gtk3 ladspaPlugins
|
||||
(python3.withPackages (ps: with ps; [ mlt pygobject3 dbus-python numpy pillow ]))
|
||||
(python3.withPackages (ps: with ps; [ mlt pygobject3 dbus-python numpy pillow libusb1 ]))
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ gobject-introspection makeWrapper wrapGAppsHook ];
|
||||
|
|
|
@ -49,13 +49,13 @@ let
|
|||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "hyprland" + lib.optionalString debug "-debug";
|
||||
version = "0.37.1";
|
||||
version = "0.38.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hyprwm";
|
||||
repo = finalAttrs.pname;
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-W+34KhCnqscRXN/IkvuJMiVx0Fa64RcYn8H4sZjzceI=";
|
||||
hash = "sha256-6y422rx8ScSkjR1dNYGYUxBmFewRYlCz9XZZ+XrVZng=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -73,7 +73,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
--replace "@HASH@" '${finalAttrs.src.rev}' \
|
||||
--replace "@BRANCH@" "" \
|
||||
--replace "@MESSAGE@" "" \
|
||||
--replace "@DATE@" "2024-03-16" \
|
||||
--replace "@DATE@" "2024-04-06" \
|
||||
--replace "@TAG@" "" \
|
||||
--replace "@DIRTY@" ""
|
||||
'';
|
||||
|
|
|
@ -24,13 +24,13 @@ let
|
|||
hy3 = { fetchFromGitHub, cmake, hyprland }:
|
||||
mkHyprlandPlugin hyprland {
|
||||
pluginName = "hy3";
|
||||
version = "0.36.0-unstable-2024-03-06";
|
||||
version = "0.38.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "outfoxxed";
|
||||
repo = "hy3";
|
||||
rev = "a392bfd13caf865ccf6b9df6917b67cc3a054b82";
|
||||
hash = "sha256-QuapQR9DJI9+vt7xqULYIXx2QCCX1I/YB50c+7ReexU=";
|
||||
rev = "hl0.38.0";
|
||||
hash = "sha256-ZVwX5yM97R6MLk64dQG5KqYOR4L4HxEEV+xzQi+NGrk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
|
|
@ -1,33 +1,37 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
python3,
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "audiness";
|
||||
version = "0.3.1";
|
||||
version = "0.3.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "audiusGmbH";
|
||||
repo = "audiness";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-r+xWwXRKuTp5ifUUlF1K6BIVWh67hNLMBKBB7wnLLAM=";
|
||||
hash = "sha256-vc2k3oEMTgzm/C6z6BieRrT3cSP0IkY+D3RXkNGaZTE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
poetry-core
|
||||
];
|
||||
pythonRelaxDeps = [ "validators" ];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
pytenable
|
||||
typer
|
||||
validators
|
||||
] ++ typer.optional-dependencies.all;
|
||||
build-system = with python3.pkgs; [ poetry-core ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"audiness"
|
||||
];
|
||||
nativeBuildInputs = with python3.pkgs; [ pythonRelaxDepsHook ];
|
||||
|
||||
dependencies =
|
||||
with python3.pkgs;
|
||||
[
|
||||
pytenable
|
||||
typer
|
||||
validators
|
||||
]
|
||||
++ typer.optional-dependencies.all;
|
||||
|
||||
pythonImportsCheck = [ "audiness" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "CLI tool to interact with Nessus";
|
||||
|
|
|
@ -1,49 +1,41 @@
|
|||
{ lib
|
||||
, mkDerivationWith
|
||||
{ stdenv
|
||||
, lib
|
||||
, python3Packages
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, wrapQtAppsHook
|
||||
, ffmpeg
|
||||
, qtbase
|
||||
, libsForQt5
|
||||
, testers
|
||||
, corrscope
|
||||
}:
|
||||
|
||||
mkDerivationWith python3Packages.buildPythonApplication rec {
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "corrscope";
|
||||
version = "0.8.1";
|
||||
format = "pyproject";
|
||||
version = "0.9.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "corrscope";
|
||||
repo = "corrscope";
|
||||
rev = version;
|
||||
hash = "sha256-pS7upOYZAjgR3lWxny8TNZEj3Rrbg+L90ANZWFO9UPQ=";
|
||||
hash = "sha256-kOPhVm4epIhBSsgQVKNCoQ7DZcMG/b3sapxwwKo/V+U=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/corrscope/corrscope/pull/446
|
||||
(fetchpatch {
|
||||
name = "remove-setuptools-dependency.patch";
|
||||
url = "https://github.com/corrscope/corrscope/commit/70b123173a7a012d9f29d6d3a8960b85caf6cc79.patch";
|
||||
hash = "sha256-YCtb7v8cGP0pdceAKeoempnRzw+LRKQqDb3AfN0z/9s=";
|
||||
})
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [ "attrs" "ruamel.yaml" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
nativeBuildInputs = (with libsForQt5; [
|
||||
wrapQtAppsHook
|
||||
] ++ (with python3Packages; [
|
||||
]) ++ (with python3Packages; [
|
||||
poetry-core
|
||||
pythonRelaxDepsHook
|
||||
]);
|
||||
|
||||
buildInputs = [
|
||||
ffmpeg
|
||||
] ++ (with libsForQt5; [
|
||||
qtbase
|
||||
];
|
||||
] ++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
qtwayland
|
||||
]);
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
appdirs
|
|
@ -8,16 +8,16 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "crossplane-cli";
|
||||
version = "1.15.1";
|
||||
version = "1.15.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "crossplane";
|
||||
repo = "crossplane";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-MuPJjVM8Nxm9PLTE3+7KGwmvXJTLfNj5RCh+/kHR0GM=";
|
||||
hash = "sha256-jNaWedK9h4pP+0u1UDHoZ/7l6kVXA2g9Vs0036itk9Q=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-+e3NuSCvUgZANDB9LsvlQn3h9+L1NeQeURKDZd21reo=";
|
||||
vendorHash = "sha256-vYbTkdX3L/AZN9vWUw8NzkPk16BwUzP8zJb22fnsoRo=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
|
|
|
@ -1,8 +1,22 @@
|
|||
diff --git a/scriptbin/dyalogscript b/scriptbin/dyalogscript
|
||||
index c99912738ec2..adeda1fe964e 100755
|
||||
--- a/scriptbin/dyalogscript
|
||||
+++ b/scriptbin/dyalogscript
|
||||
@@ -5,1 +5,1 @@
|
||||
-INSTALLDIR="/opt/mdyalog/18.2/64/unicode"
|
||||
@@ -2,7 +2,7 @@
|
||||
#set -x
|
||||
## DO NOT CHANGE THIS FILE
|
||||
|
||||
-INSTALLDIR="/opt/mdyalog/19.0/64/unicode"
|
||||
+INSTALLDIR="@installdir@"
|
||||
@@ -40,1 +40,1 @@
|
||||
EXE="dyalog"
|
||||
|
||||
ARGS=""
|
||||
@@ -46,7 +46,7 @@ fi
|
||||
# OPTS="$OPTS RIDE_INIT=$RIDE_INIT"
|
||||
#fi
|
||||
|
||||
-: ${SCRIPTDIR:=$INSTALLDIR}
|
||||
+SCRIPTDIR="@scriptdir@"
|
||||
export LD_LIBRARY_PATH=${SCRIPTDIR}:${LD_LIBRARY_PATH}
|
||||
|
||||
eval "${SCRIPTDIR}/${EXE}" APLKEYS=\"$INSTALLDIR/aplkeys\" APLTRANS=\"$INSTALLDIR/apltrans\" ${APLT} ${APLK} $OPTS -script \"$SCRIPT\" "$ARGS"
|
||||
|
|
|
@ -1,31 +0,0 @@
|
|||
diff --git a/mapl b/mapl
|
||||
index c9d3727..de24c77 100755
|
||||
--- a/mapl
|
||||
+++ b/mapl
|
||||
@@ -20,26 +20,8 @@ SHORTVERSION=182U64
|
||||
LONGVERSION="18.2 64-bit Unicode"
|
||||
REL="`echo "${LONGVERSION}" | sed 's/ .*$//'`"
|
||||
|
||||
-# Find the Dyalog installation directory
|
||||
-if [ "$(uname)" = Linux ]; then
|
||||
- # this script location, canonical.
|
||||
- THIS="$(readlink -f $0)"
|
||||
-else
|
||||
- # this script location.
|
||||
- THIS="$0"
|
||||
-fi
|
||||
-export DYALOG=$(cd $(dirname $THIS) && pwd)
|
||||
-
|
||||
export APL_LANGUAGE_BAR_FILE=${DYALOG}/languagebar.json
|
||||
|
||||
-if [ "$(uname)" = Linux ]; then
|
||||
- if [ "x" = "x${LD_LIBRARY_PATH}" ]; then
|
||||
- export LD_LIBRARY_PATH="${DYALOG}"
|
||||
- else
|
||||
- export LD_LIBRARY_PATH="${DYALOG}:${LD_LIBRARY_PATH}"
|
||||
- fi
|
||||
-fi
|
||||
-
|
||||
# Setup the configuration directory
|
||||
MYCONFIGDIR=${HOME}/.dyalog
|
||||
if [ ! -d "${MYCONFIGDIR}" ] ; then
|
|
@ -1,6 +1,5 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchurl
|
||||
|
||||
, config
|
||||
|
@ -9,28 +8,19 @@
|
|||
, autoPatchelfHook
|
||||
, dpkg
|
||||
, makeWrapper
|
||||
|
||||
, copyDesktopItems
|
||||
, makeDesktopItem
|
||||
|
||||
, glib
|
||||
, ncurses5
|
||||
|
||||
, dotnet-sdk_6
|
||||
, dotnet-sdk_8
|
||||
, dotnetSupport ? false
|
||||
|
||||
, alsa-lib
|
||||
, gtk2
|
||||
, libXdamage
|
||||
, libXtst
|
||||
, libXScrnSaver
|
||||
, gtk3
|
||||
, libdrm
|
||||
, libGL
|
||||
, mesa
|
||||
, nss
|
||||
, htmlRendererSupport ? false
|
||||
|
||||
, R
|
||||
, rPackages
|
||||
, rSupport ? false
|
||||
|
||||
, unixODBC
|
||||
, sqaplSupport ? false
|
||||
|
||||
|
@ -42,37 +32,7 @@
|
|||
let
|
||||
dyalogHome = "$out/lib/dyalog";
|
||||
|
||||
rscproxy = rPackages.buildRPackage {
|
||||
name = "rscproxy";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Dyalog";
|
||||
repo = "rscproxy";
|
||||
rev = "31de3323fb8596ff5ecbf4bacd030e542cfd8133";
|
||||
hash = "sha256-SVoBoAWUmQ+jWaTG7hdmyRq6By4RnmmgWZXoua19/Kg=";
|
||||
};
|
||||
};
|
||||
|
||||
makeWrapperArgs = [
|
||||
"--set DYALOG ${dyalogHome}"
|
||||
# also needs to be set when the `-script` flag is used
|
||||
"--add-flags DYALOG=${dyalogHome}"
|
||||
# needed for default user commands to work
|
||||
"--add-flags SESSION_FILE=${dyalogHome}/default.dse"
|
||||
]
|
||||
++ lib.optionals dotnetSupport [
|
||||
# needs to be set to run .NET Bridge
|
||||
"--set DOTNET_ROOT ${dotnet-sdk_6}"
|
||||
# .NET Bridge files are runtime dependencies, but cannot be patchelf'd
|
||||
"--prefix LD_LIBRARY_PATH : ${dyalogHome}"
|
||||
]
|
||||
++ lib.optionals rSupport [
|
||||
# RConnect resolves R from PATH
|
||||
"--prefix PATH : ${R}/bin"
|
||||
# RConnect uses `ldd` to find `libR.so`
|
||||
"--prefix LD_LIBRARY_PATH : ${R}/lib/R/lib"
|
||||
# RConnect uses `rscproxy` to communicate with R
|
||||
"--prefix R_LIBS_SITE : ${rscproxy}/library"
|
||||
];
|
||||
makeWrapperArgs = lib.optional dotnetSupport "--set DOTNET_ROOT ${dotnet-sdk_8}";
|
||||
|
||||
licenseUrl = "https://www.dyalog.com/uploads/documents/Developer_Software_Licence.pdf";
|
||||
|
||||
|
@ -91,14 +51,14 @@ let
|
|||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "dyalog";
|
||||
version = "18.2.45405";
|
||||
version = "19.0.48958";
|
||||
shortVersion = lib.versions.majorMinor finalAttrs.version;
|
||||
|
||||
src =
|
||||
assert !acceptLicense -> throw licenseDisclaimer;
|
||||
fetchurl {
|
||||
url = "https://download.dyalog.com/download.php?file=${finalAttrs.shortVersion}/linux_64_${finalAttrs.version}_unicode.x86_64.deb";
|
||||
sha256 = "sha256-pA/WGTA6YvwG4MgqbiPBLKSKPtLGQM7BzK6Bmyz5pmM=";
|
||||
hash = "sha256-+L9XI7Knt91sG/0E3GFSeqjD9Zs+1n72MDfvsXnr77M=";
|
||||
};
|
||||
|
||||
outputs = [ "out" ] ++ lib.optional enableDocs "doc";
|
||||
|
@ -107,64 +67,54 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
sourceRoot=$sourceRoot/opt/mdyalog/${finalAttrs.shortVersion}/64/unicode
|
||||
'';
|
||||
|
||||
patches = [ ./dyalogscript.patch ./mapl.patch ];
|
||||
|
||||
postPatch = lib.optionalString dotnetSupport ''
|
||||
# Patch to use .NET 6.0 instead of .NET Core 3.1 (can be removed when Dyalog 19.0 releases)
|
||||
substituteInPlace Dyalog.Net.Bridge.*.json --replace "3.1" "6.0"
|
||||
'';
|
||||
patches = [ ./dyalogscript.patch ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
copyDesktopItems
|
||||
dpkg
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glib # Used by Conga and .NET Bridge
|
||||
ncurses5 # Used by the dyalog binary
|
||||
stdenv.cc.cc.lib # Used by Conga and .NET Bridge
|
||||
ncurses5 # Used by the dyalog binary to correctly display in the terminal
|
||||
]
|
||||
++ lib.optionals htmlRendererSupport [
|
||||
alsa-lib
|
||||
gtk2
|
||||
libXdamage
|
||||
libXtst
|
||||
libXScrnSaver
|
||||
gtk3
|
||||
libdrm
|
||||
libGL
|
||||
mesa
|
||||
nss
|
||||
]
|
||||
++ lib.optionals sqaplSupport [
|
||||
unixODBC
|
||||
];
|
||||
++ lib.optional sqaplSupport unixODBC;
|
||||
|
||||
# See which files are not really important: `https://github.com/Dyalog/DyalogDocker/blob/master/rmfiles.sh`
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p ${dyalogHome}
|
||||
cp -r aplfmt aplkeys apltrans fonts Library PublicCACerts SALT StartupSession ${dyalogHome}
|
||||
cp aplkeys.sh default.dse dyalog dyalog.rt dyalog.dcfg.template dyalog.ver.dcfg.template languagebar.json mapl startup.dyalog ${dyalogHome}
|
||||
cp -r aplfmt aplkeys apltrans Experimental fonts Library PublicCACerts SALT StartupSession ${dyalogHome}
|
||||
cp aplkeys.sh default.dse dyalog dyalogc dyalog.rt dyalog.dcfg.template dyalog.ver.dcfg.template languagebar.json mapl StartupSession.aplf ${dyalogHome}
|
||||
|
||||
mkdir ${dyalogHome}/lib
|
||||
cp lib/{conga34_64.so,dyalog64.so,libconga34ssl64.so} ${dyalogHome}/lib
|
||||
cp lib/{conga35_64.so,dyalog64.so,libconga35ssl64.so} ${dyalogHome}/lib
|
||||
|
||||
# Only keep the most useful workspaces
|
||||
mkdir ${dyalogHome}/ws
|
||||
cp ws/{conga,dfns,isolate,loaddata,salt,sharpplot,util}.dws ${dyalogHome}/ws
|
||||
''
|
||||
+ lib.optionalString dotnetSupport ''
|
||||
cp libnethost.so Dyalog.Net.Bridge.* ${dyalogHome}
|
||||
cp libnethost.so Dyalog.Net.Bridge.* Lokad.ILPack.dll ${dyalogHome}
|
||||
''
|
||||
+ lib.optionalString htmlRendererSupport ''
|
||||
cp -r locales swiftshader ${dyalogHome}
|
||||
cp libcef.so libEGL.so libGLESv2.so chrome-sandbox natives_blob.bin snapshot_blob.bin icudtl.dat v8_context_snapshot.bin *.pak ${dyalogHome}
|
||||
cp -r locales ${dyalogHome}
|
||||
cp libcef.so libEGL.so libGLESv2.so libvk_swiftshader.so libvulkan.so.1 ${dyalogHome}
|
||||
cp chrome-sandbox icudtl.dat snapshot_blob.bin v8_context_snapshot.bin vk_swiftshader_icd.json *.pak ${dyalogHome}
|
||||
cp lib/htmlrenderer.so ${dyalogHome}/lib
|
||||
''
|
||||
+ lib.optionalString rSupport ''
|
||||
cp ws/rconnect.dws ${dyalogHome}/ws
|
||||
''
|
||||
+ lib.optionalString sqaplSupport ''
|
||||
cp lib/cxdya64u64u.so ${dyalogHome}/lib
|
||||
cp lib/cxdya65u64u.so ${dyalogHome}/lib
|
||||
cp ws/sqapl.dws ${dyalogHome}/ws
|
||||
cp odbc.ini.sample sqapl.err sqapl.ini ${dyalogHome}
|
||||
''
|
||||
|
@ -177,10 +127,12 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
ln -s $doc/share/doc/dyalog ${dyalogHome}/help
|
||||
''
|
||||
+ ''
|
||||
install -Dm644 dyalog.svg $out/share/icons/hicolor/scalable/apps/dyalog.svg
|
||||
install -Dm644 dyalog.svg -t $out/share/icons/hicolor/scalable/apps
|
||||
install -Dm644 dyalog.desktop -t $out/share/applications
|
||||
|
||||
makeWrapper ${dyalogHome}/dyalog $out/bin/dyalog ${lib.concatStringsSep " " makeWrapperArgs}
|
||||
makeWrapper ${dyalogHome}/mapl $out/bin/mapl ${lib.concatStringsSep " " makeWrapperArgs}
|
||||
for exec in "dyalog" "mapl"; do
|
||||
makeWrapper ${dyalogHome}/$exec $out/bin/$exec ${toString makeWrapperArgs}
|
||||
done
|
||||
|
||||
install -Dm755 scriptbin/dyalogscript $out/bin/dyalogscript
|
||||
substituteInPlace $out/bin/dyalogscript \
|
||||
|
@ -190,24 +142,14 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
runHook postInstall
|
||||
'';
|
||||
|
||||
preFixup = lib.optionalString htmlRendererSupport ''
|
||||
# `libudev.so` is a runtime dependency of CEF
|
||||
patchelf ${dyalogHome}/libcef.so --add-needed libudev.so
|
||||
# Register some undeclared runtime dependencies to be patched in by autoPatchelfHook
|
||||
preFixup = ''
|
||||
patchelf ${dyalogHome}/dyalog --add-needed libncurses.so
|
||||
''
|
||||
+ lib.optionalString htmlRendererSupport ''
|
||||
patchelf ${dyalogHome}/libcef.so --add-needed libudev.so --add-needed libGL.so
|
||||
'';
|
||||
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
name = "dyalog";
|
||||
desktopName = "Dyalog";
|
||||
exec = finalAttrs.meta.mainProgram;
|
||||
comment = finalAttrs.meta.description;
|
||||
icon = "dyalog";
|
||||
categories = [ "Development" ];
|
||||
genericName = "APL interpreter";
|
||||
terminal = true;
|
||||
})
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://dyalog.com/dyalog/dyalog-versions/${lib.replaceStrings [ "." ] [ "" ] finalAttrs.shortVersion}.htm";
|
||||
description = "The Dyalog APL interpreter";
|
||||
|
|
|
@ -7,19 +7,25 @@
|
|||
, hyprlang
|
||||
, librsvg
|
||||
, libzip
|
||||
, tomlplusplus
|
||||
, nix-update-script
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "hyprcursor";
|
||||
version = "0.1.5";
|
||||
version = "0.1.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hyprwm";
|
||||
repo = "hyprcursor";
|
||||
rev = "refs/tags/v${finalAttrs.version}";
|
||||
hash = "sha256-e6+fu30inlTIdflotS6l7qYusslKMNkhZVNLn9ZSogg=";
|
||||
hash = "sha256-T0lV+xA07RzroRLwZsGbF9bWZNHInXS+oB0RJ6YdvWg=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# fix icon directories system search path
|
||||
"${finalAttrs.src}/nix/dirs.patch"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
|
@ -30,6 +36,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
hyprlang
|
||||
librsvg
|
||||
libzip
|
||||
tomlplusplus
|
||||
];
|
||||
|
||||
outputs = [
|
||||
|
|
|
@ -23,14 +23,14 @@
|
|||
}:
|
||||
|
||||
let
|
||||
version = "1.32.2";
|
||||
patterns_version = "1.32.2";
|
||||
version = "1.33.2";
|
||||
patterns_version = "1.33.2";
|
||||
|
||||
patterns_src = fetchFromGitHub {
|
||||
owner = "WerWolv";
|
||||
repo = "ImHex-Patterns";
|
||||
rev = "ImHex-v${patterns_version}";
|
||||
hash = "sha256-K+LiQvykCrOwhEVy37lh7VSf5YJyBQtLz8AGFsuRznQ=";
|
||||
hash = "sha256-5a6aFT8R8vMzPS+Y+fcDV5+olhioEpLjdMqa7qOyGsw=";
|
||||
};
|
||||
|
||||
in
|
||||
|
@ -43,19 +43,9 @@ stdenv.mkDerivation rec {
|
|||
owner = "WerWolv";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-MYOZHQMYbbP01z0FyoCgTzwY1/71eUCmJYYfYvN9+so=";
|
||||
hash = "sha256-8Ehpk0TjE4itQ7D9Nx74plYwABVufuYmxfxyuSqak1c=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Backport fixes (and fix to fix) for default plugin not being loaded.
|
||||
(fetchpatch {
|
||||
url = "https://github.com/WerWolv/PatternLanguage/compare/ImHex-v1.32.2..1adcdd358d3772681242267ddd3459c9d0913796.patch";
|
||||
stripLen = 1;
|
||||
extraPrefix = "lib/external/pattern_language/";
|
||||
hash = "sha256-aGvt7vQ6PtFE3sw4rAXUP7Pq8cL29LEKyC0rJKkxOZI=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake llvm python3 perl pkg-config rsync ];
|
||||
|
||||
buildInputs = [
|
||||
|
|
48
pkgs/by-name/in/insync-nautilus/package.nix
Normal file
48
pkgs/by-name/in/insync-nautilus/package.nix
Normal file
|
@ -0,0 +1,48 @@
|
|||
{ stdenv,
|
||||
fetchurl,
|
||||
lib,
|
||||
dpkg,
|
||||
gnome,
|
||||
insync
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "insync-nautilus";
|
||||
version = lib.getVersion insync;
|
||||
pyproject = true;
|
||||
|
||||
# Download latest from: https://www.insynchq.com/downloads/linux#nautilus
|
||||
|
||||
src = fetchurl {
|
||||
urls = [
|
||||
"https://cdn.insynchq.com/builds/linux/insync-nautilus_${finalAttrs.version}_all.deb"
|
||||
"https://web.archive.org/web/20240409080611/https://cdn.insynchq.com/builds/linux/insync-nautilus_${finalAttrs.version}_all.deb"
|
||||
];
|
||||
hash = "sha256-aB1/ZzcQH3T1lviMZO8jXbtdbe4TW20f0TAcv4HDOGI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
dpkg
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gnome.nautilus-python
|
||||
insync
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out
|
||||
cp -R usr/share $out/
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
platforms = [ "x86_64-linux" ];
|
||||
sourceProvenance = with lib.sourceTypes; [ fromSource ];
|
||||
license = licenses.unfree;
|
||||
maintainers = with maintainers; [ hellwolf ];
|
||||
homepage = "https://www.insynchq.com";
|
||||
description = "This package contains the Python extension and icons for integrating Insync with Nautilus";
|
||||
};
|
||||
})
|
|
@ -6,7 +6,6 @@
|
|||
, autoPatchelfHook
|
||||
, dpkg
|
||||
, nss
|
||||
, cacert
|
||||
, alsa-lib
|
||||
, libvorbis
|
||||
, libdrm
|
||||
|
@ -22,36 +21,24 @@ let
|
|||
# Find a binary from https://www.insynchq.com/downloads/linux#ubuntu.
|
||||
version = "3.8.7.50516";
|
||||
ubuntu-dist = "mantic_amd64";
|
||||
meta = with lib; {
|
||||
platforms = ["x86_64-linux"];
|
||||
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||
license = licenses.unfree;
|
||||
maintainers = with maintainers; [ hellwolf ];
|
||||
homepage = "https://www.insynchq.com";
|
||||
description = "Google Drive sync and backup with multiple account support";
|
||||
longDescription = ''
|
||||
Insync is a commercial application that syncs your Drive files to your
|
||||
computer. It has more advanced features than Google's official client
|
||||
such as multiple account support, Google Doc conversion, symlink support,
|
||||
and built in sharing.
|
||||
|
||||
There is a 15-day free trial, and it is a paid application after that.
|
||||
|
||||
Known bug(s):
|
||||
|
||||
1) Currently the system try icon does not render correctly.
|
||||
'';
|
||||
mainProgram = "insync";
|
||||
};
|
||||
|
||||
insyncDeb = (fetchurl {
|
||||
urls = [
|
||||
"https://cdn.insynchq.com/builds/linux/insync_${version}-${ubuntu-dist}.deb"
|
||||
"https://web.archive.org/web/20240409080945/https://cdn.insynchq.com/builds/linux/insync_${version}-${ubuntu-dist}.deb"
|
||||
];
|
||||
hash = "sha256-U7BcgghbdR7r9WiZpEOka+BzXwnxrzL6p4imGESuB/k=";
|
||||
});
|
||||
insyncEmblemIconsDeb = (fetchurl {
|
||||
urls = [
|
||||
"https://cdn.insynchq.com/builds/linux/insync-emblem-icons_${version}_all.deb"
|
||||
"https://web.archive.org/web/20240409081214/https://cdn.insynchq.com/builds/linux/insync-emblem-icons_${version}_all.deb"
|
||||
];
|
||||
hash = "sha256-uALaIxETEEkjDTx331uIsb4VswWk2K0dGuDMYH8v5U8=";
|
||||
});
|
||||
insync-pkg = stdenvNoCC.mkDerivation {
|
||||
name = "${pname}-pkg-${version}";
|
||||
inherit version meta;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://cdn.insynchq.com/builds/linux/insync_${version}-${ubuntu-dist}.deb";
|
||||
sha256 = "sha256-U7BcgghbdR7r9WiZpEOka+BzXwnxrzL6p4imGESuB/k=";
|
||||
};
|
||||
srcs = [ insyncDeb insyncEmblemIconsDeb ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
dpkg
|
||||
|
@ -71,7 +58,8 @@ let
|
|||
];
|
||||
|
||||
unpackPhase = ''
|
||||
dpkg-deb --fsys-tarfile $src | tar -x --no-same-permissions --no-same-owner
|
||||
dpkg-deb --fsys-tarfile ${insyncDeb} | tar -x --no-same-permissions --no-same-owner
|
||||
dpkg-deb --fsys-tarfile ${insyncEmblemIconsDeb} | tar -x --no-same-permissions --no-same-owner
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
|
@ -88,8 +76,7 @@ let
|
|||
};
|
||||
|
||||
in buildFHSEnv {
|
||||
name = pname;
|
||||
inherit meta;
|
||||
inherit pname version;
|
||||
|
||||
targetPkgs = pkgs: with pkgs; [
|
||||
libudev0-shim
|
||||
|
@ -97,7 +84,7 @@ in buildFHSEnv {
|
|||
];
|
||||
|
||||
extraInstallCommands = ''
|
||||
cp -rsHf "${insync-pkg}"/share $out
|
||||
cp -rsHf "${insync-pkg}"/share $out/
|
||||
'';
|
||||
|
||||
runScript = writeShellScript "insync-wrapper.sh" ''
|
||||
|
@ -119,4 +106,26 @@ in buildFHSEnv {
|
|||
unshareCgroup = false;
|
||||
|
||||
dieWithParent = true;
|
||||
|
||||
meta = with lib; {
|
||||
platforms = [ "x86_64-linux" ];
|
||||
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||
license = licenses.unfree;
|
||||
maintainers = with maintainers; [ hellwolf ];
|
||||
homepage = "https://www.insynchq.com";
|
||||
description = "Google Drive sync and backup with multiple account support";
|
||||
longDescription = ''
|
||||
Insync is a commercial application that syncs your Drive files to your
|
||||
computer. It has more advanced features than Google's official client
|
||||
such as multiple account support, Google Doc conversion, symlink support,
|
||||
and built in sharing.
|
||||
|
||||
There is a 15-day free trial, and it is a paid application after that.
|
||||
|
||||
Known bug(s):
|
||||
|
||||
1) Currently the system try icon does not render correctly.
|
||||
'';
|
||||
mainProgram = "insync";
|
||||
};
|
||||
}
|
||||
|
|
106
pkgs/by-name/ke/keydb/package.nix
Normal file
106
pkgs/by-name/ke/keydb/package.nix
Normal file
|
@ -0,0 +1,106 @@
|
|||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
libuuid,
|
||||
curl,
|
||||
pkg-config,
|
||||
withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd,
|
||||
systemd,
|
||||
tlsSupport ? !stdenv.hostPlatform.isStatic,
|
||||
openssl,
|
||||
jemalloc,
|
||||
which,
|
||||
tcl,
|
||||
tcltls,
|
||||
ps,
|
||||
getconf,
|
||||
nixosTests,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "keydb";
|
||||
version = "6.3.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "snapchat";
|
||||
repo = "keydb";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-j6qgK6P3Fv+b6k9jwKQ5zW7XLkKbXXcmHKBCQYvwEIU=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace deps/lua/src/Makefile \
|
||||
--replace-fail "ar rcu" "${stdenv.cc.targetPrefix}ar rcu"
|
||||
substituteInPlace src/Makefile \
|
||||
--replace-fail "as --64 -g" "${stdenv.cc.targetPrefix}as --64 -g"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
jemalloc
|
||||
curl
|
||||
libuuid
|
||||
] ++ lib.optionals tlsSupport [ openssl ] ++ lib.optionals withSystemd [ systemd ];
|
||||
|
||||
makeFlags =
|
||||
[
|
||||
"PREFIX=${placeholder "out"}"
|
||||
"AR=${stdenv.cc.targetPrefix}ar"
|
||||
"RANLIB=${stdenv.cc.targetPrefix}ranlib"
|
||||
"USEASM=${if stdenv.isx86_64 then "true" else "false"}"
|
||||
]
|
||||
++ lib.optionals (!tlsSupport) [ "BUILD_TLS=no" ]
|
||||
++ lib.optionals withSystemd [ "USE_SYSTEMD=yes" ]
|
||||
++ lib.optionals (!stdenv.isx86_64) [ "MALLOC=libc" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
hardeningEnable = lib.optionals (!stdenv.isDarwin) [ "pie" ];
|
||||
|
||||
# darwin currently lacks a pure `pgrep` which is extensively used here
|
||||
doCheck = !stdenv.isDarwin;
|
||||
nativeCheckInputs = [
|
||||
which
|
||||
tcl
|
||||
ps
|
||||
] ++ lib.optionals stdenv.hostPlatform.isStatic [ getconf ] ++ lib.optionals tlsSupport [ tcltls ];
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
# disable test "Connect multiple replicas at the same time": even
|
||||
# upstream find this test too timing-sensitive
|
||||
substituteInPlace tests/integration/replication.tcl \
|
||||
--replace-fail 'foreach mdl {no yes}' 'foreach mdl {}'
|
||||
|
||||
substituteInPlace tests/support/server.tcl \
|
||||
--replace-fail 'exec /usr/bin/env' 'exec env'
|
||||
|
||||
sed -i '/^proc wait_load_handlers_disconnected/{n ; s/wait_for_condition 50 100/wait_for_condition 50 500/; }' \
|
||||
tests/support/util.tcl
|
||||
|
||||
patchShebangs ./utils/gen-test-certs.sh
|
||||
${if tlsSupport then "./utils/gen-test-certs.sh" else ""}
|
||||
|
||||
./runtest \
|
||||
--no-latency \
|
||||
--timeout 2000 \
|
||||
--clients $NIX_BUILD_CORES \
|
||||
--tags -leaks ${if tlsSupport then "--tls" else ""}
|
||||
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
passthru.tests.redis = nixosTests.redis;
|
||||
passthru.serverBin = "keydb-server";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://keydb.dev";
|
||||
description = "A Multithreaded Fork of Redis";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.all;
|
||||
changelog = "https://github.com/Snapchat/KeyDB/raw/v${version}/00-RELEASENOTES";
|
||||
maintainers = teams.helsinki-systems.members;
|
||||
mainProgram = "keydb-cli";
|
||||
};
|
||||
}
|
|
@ -8,13 +8,13 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "kokkos";
|
||||
version = "4.2.01";
|
||||
version = "4.3.00";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kokkos";
|
||||
repo = "kokkos";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-d8GB7+hHqpD5KPeYmiXmT5+6W64j3bbTs2hoFYJnfa8=";
|
||||
hash = "sha256-0MMztgw+okZM/xr2vQucwkkT04iueQSlSQJ6MN/756I=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
}:
|
||||
|
||||
let
|
||||
version = "7.3.0";
|
||||
version = "7.3.1";
|
||||
in
|
||||
# The output of the derivation is a tool to create bootable images using Limine
|
||||
# as bootloader for various platforms and corresponding binary and helper files.
|
||||
|
@ -24,7 +24,7 @@ stdenv.mkDerivation {
|
|||
# Packaging that in Nix is very cumbersome.
|
||||
src = fetchurl {
|
||||
url = "https://github.com/limine-bootloader/limine/releases/download/v${version}/limine-${version}.tar.gz";
|
||||
sha256 = "sha256-iPi6u3iZOJfVRERrJVgH6q16aANnSGgBL5AtNuANrao=";
|
||||
sha256 = "sha256-xlOBBb281W9QT5Fv2Hgw/eyh7K3oyaNY1yU6WktbFro=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{ config
|
||||
, callPackages
|
||||
, stdenv
|
||||
, lib
|
||||
, addDriverRunpath
|
||||
|
@ -14,8 +15,6 @@
|
|||
, pkg-config
|
||||
, buildGoModule
|
||||
, makeWrapper
|
||||
, runCommand
|
||||
, testers
|
||||
|
||||
# apply feature parameter names according to
|
||||
# https://github.com/NixOS/rfcs/pull/169
|
||||
|
@ -27,9 +26,6 @@
|
|||
, enable_f16c ? true
|
||||
, enable_fma ? true
|
||||
|
||||
, with_tinydream ? false
|
||||
, ncnn
|
||||
|
||||
, with_openblas ? false
|
||||
, openblas
|
||||
|
||||
|
@ -41,24 +37,19 @@
|
|||
, ocl-icd
|
||||
, opencl-headers
|
||||
|
||||
, with_stablediffusion ? false
|
||||
, with_tinydream ? false # do not compile with cublas
|
||||
, ncnn
|
||||
|
||||
, with_stablediffusion ? true
|
||||
, opencv
|
||||
|
||||
, with_tts ? false
|
||||
, with_tts ? true
|
||||
, onnxruntime
|
||||
, sonic
|
||||
, spdlog
|
||||
, fmt
|
||||
, espeak-ng
|
||||
, piper-tts
|
||||
|
||||
# tests
|
||||
, fetchzip
|
||||
, fetchurl
|
||||
, writeText
|
||||
, symlinkJoin
|
||||
, linkFarmFromDrvs
|
||||
, jq
|
||||
}:
|
||||
let
|
||||
BUILD_TYPE =
|
||||
|
@ -68,21 +59,7 @@ let
|
|||
else if with_clblas then "clblas"
|
||||
else "";
|
||||
|
||||
inherit (cudaPackages) libcublas cuda_nvcc cuda_cccl cuda_cudart;
|
||||
|
||||
typedBuiltInputs =
|
||||
lib.optionals with_cublas
|
||||
[
|
||||
cuda_nvcc # should be part of nativeBuildInputs
|
||||
cuda_cudart
|
||||
cuda_cccl
|
||||
(lib.getDev libcublas)
|
||||
(lib.getLib libcublas)
|
||||
]
|
||||
++ lib.optionals with_clblas
|
||||
[ clblast ocl-icd opencl-headers ]
|
||||
++ lib.optionals with_openblas
|
||||
[ openblas.dev ];
|
||||
inherit (cudaPackages) libcublas cuda_nvcc cuda_cccl cuda_cudart cudatoolkit;
|
||||
|
||||
go-llama-ggml = effectiveStdenv.mkDerivation {
|
||||
name = "go-llama-ggml";
|
||||
|
@ -97,9 +74,18 @@ let
|
|||
"libbinding.a"
|
||||
"BUILD_TYPE=${BUILD_TYPE}"
|
||||
];
|
||||
buildInputs = typedBuiltInputs;
|
||||
|
||||
buildInputs = [ ]
|
||||
++ lib.optionals with_clblas [ clblast ocl-icd opencl-headers ]
|
||||
++ lib.optionals with_openblas [ openblas.dev ];
|
||||
|
||||
nativeBuildInputs = [ cmake ]
|
||||
# backward compatiblity with nixos-23.11
|
||||
# use cuda_nvcc after release of nixos-24.05
|
||||
++ lib.optionals with_cublas [ cudatoolkit ];
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
tar cf - --exclude=build --exclude=CMakeFiles --exclude="*.o" . \
|
||||
|
@ -112,8 +98,8 @@ let
|
|||
src = fetchFromGitHub {
|
||||
owner = "ggerganov";
|
||||
repo = "llama.cpp";
|
||||
rev = "b06c16ef9f81d84da520232c125d4d8a1d273736";
|
||||
hash = "sha256-t1AIx/Ir5RhasjblH4BSpGOXVvO84SJPSqa7rXWj6b4=";
|
||||
rev = "1b67731e184e27a465b8c5476061294a4af668ea";
|
||||
hash = "sha256-0WWbsklpW6HhFRkvWpYh8Lhi8VIansS/zmyIKNQRkIs=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
postPatch = prev.postPatch + ''
|
||||
|
@ -266,13 +252,20 @@ let
|
|||
src = fetchFromGitHub {
|
||||
owner = "ggerganov";
|
||||
repo = "whisper.cpp";
|
||||
rev = "1558ec5a16cb2b2a0bf54815df1d41f83dc3815b";
|
||||
hash = "sha256-UAqWU3kvkHM+fV+T6gFVsAKuOG6N4FoFgTKGUptwjmE=";
|
||||
rev = "8f253ef3af1c62c04316ba4afa7145fc4d701a8c";
|
||||
hash = "sha256-yHHjhpQIn99A/hqFwAb7TfTf4Q9KnKat93zyXS70bT8=";
|
||||
};
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = typedBuiltInputs;
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ]
|
||||
++ lib.optionals with_cublas [ cuda_nvcc ];
|
||||
|
||||
buildInputs = [ ]
|
||||
++ lib.optionals with_cublas [ cuda_cccl cuda_cudart libcublas ]
|
||||
++ lib.optionals with_clblas [ clblast ocl-icd opencl-headers ]
|
||||
++ lib.optionals with_openblas [ openblas.dev ];
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "WHISPER_CUBLAS" with_cublas)
|
||||
(lib.cmakeBool "WHISPER_CUDA" with_cublas)
|
||||
(lib.cmakeBool "WHISPER_CLBLAST" with_clblas)
|
||||
(lib.cmakeBool "WHISPER_OPENBLAS" with_openblas)
|
||||
(lib.cmakeBool "WHISPER_NO_AVX" (!enable_avx))
|
||||
|
@ -342,19 +335,19 @@ let
|
|||
];
|
||||
});
|
||||
|
||||
go-tiny-dream = stdenv.mkDerivation {
|
||||
go-tiny-dream = effectiveStdenv.mkDerivation {
|
||||
name = "go-tiny-dream";
|
||||
src = fetchFromGitHub {
|
||||
owner = "M0Rf30";
|
||||
repo = "go-tiny-dream";
|
||||
rev = "772a9c0d9aaf768290e63cca3c904fe69faf677a";
|
||||
hash = "sha256-r+wzFIjaI6cxAm/eXN3q8LRZZz+lE5EA4lCTk5+ZnIY=";
|
||||
rev = "22a12a4bc0ac5455856f28f3b771331a551a4293";
|
||||
hash = "sha256-DAVHD6E0OKHf4C2ldoI0Mm7813DIrmWFONUhSCQPCfc=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
postUnpack = ''
|
||||
rm -rf source/ncnn
|
||||
mkdir -p source/ncnn/build
|
||||
cp -r --no-preserve=mode ${go-tiny-dream-ncnn} source/ncnn/build/install
|
||||
mkdir -p source/ncnn/build/src
|
||||
cp -r --no-preserve=mode ${go-tiny-dream-ncnn}/lib/. ${go-tiny-dream-ncnn}/include/. source/ncnn/build/src
|
||||
'';
|
||||
buildFlags = [ "libtinydream.a" ];
|
||||
installPhase = ''
|
||||
|
@ -378,18 +371,18 @@ let
|
|||
stdenv;
|
||||
|
||||
pname = "local-ai";
|
||||
version = "2.11.0";
|
||||
version = "2.12.3";
|
||||
src = fetchFromGitHub {
|
||||
owner = "go-skynet";
|
||||
repo = "LocalAI";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Sqo4NOggUNb1ZemT9TRknBmz8dThe/X43R+4JFfQJ4M=";
|
||||
hash = "sha256-/Q0t5OozpgqmjUOYHvVAj1k7VnIixfOS8gNAguuu6p0=";
|
||||
};
|
||||
|
||||
self = buildGoModule.override { stdenv = effectiveStdenv; } {
|
||||
inherit pname version src;
|
||||
|
||||
vendorHash = "sha256-3bOr8DnAjTzOpVDB5wmlPxECNteWw3tI0yc1f2Wt4y0=";
|
||||
vendorHash = "sha256-8Hu1y/PK21twnB7D22ltslFFzRrsB8d1R2hkgIFB/XY=";
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = lib.optionalString with_stablediffusion " -isystem ${opencv}/include/opencv4";
|
||||
|
||||
|
@ -415,11 +408,15 @@ let
|
|||
''
|
||||
;
|
||||
|
||||
buildInputs = typedBuiltInputs
|
||||
++ lib.optional with_stablediffusion go-stable-diffusion.buildInputs
|
||||
++ lib.optional with_tts go-piper.buildInputs;
|
||||
buildInputs = [ ]
|
||||
++ lib.optionals with_cublas [ libcublas ]
|
||||
++ lib.optionals with_clblas [ clblast ocl-icd opencl-headers ]
|
||||
++ lib.optionals with_openblas [ openblas.dev ]
|
||||
++ lib.optionals with_stablediffusion go-stable-diffusion.buildInputs
|
||||
++ lib.optionals with_tts go-piper.buildInputs;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
nativeBuildInputs = [ makeWrapper ]
|
||||
++ lib.optionals with_cublas [ cuda_nvcc ];
|
||||
|
||||
enableParallelBuilding = false;
|
||||
|
||||
|
@ -500,84 +497,7 @@ let
|
|||
with_tinydream with_clblas;
|
||||
};
|
||||
|
||||
passthru.tests = {
|
||||
version = testers.testVersion {
|
||||
package = self;
|
||||
version = "v" + version;
|
||||
};
|
||||
health =
|
||||
let
|
||||
port = "8080";
|
||||
in
|
||||
testers.runNixOSTest {
|
||||
name = pname + "-health";
|
||||
nodes.machine = {
|
||||
systemd.services.local-ai = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig.ExecStart = "${self}/bin/local-ai --debug --localai-config-dir . --address :${port}";
|
||||
};
|
||||
};
|
||||
testScript = ''
|
||||
machine.wait_for_open_port(${port})
|
||||
machine.succeed("curl -f http://localhost:${port}/readyz")
|
||||
'';
|
||||
};
|
||||
}
|
||||
// lib.optionalAttrs with_tts {
|
||||
# https://localai.io/features/text-to-audio/#piper
|
||||
tts =
|
||||
let
|
||||
port = "8080";
|
||||
voice-en-us = fetchzip {
|
||||
url = "https://github.com/rhasspy/piper/releases/download/v0.0.2/voice-en-us-danny-low.tar.gz";
|
||||
hash = "sha256-5wf+6H5HeQY0qgdqnAG1vSqtjIFM9lXH53OgouuPm0M=";
|
||||
stripRoot = false;
|
||||
};
|
||||
ggml-tiny-en = fetchurl {
|
||||
url = "https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-tiny.en-q5_1.bin";
|
||||
hash = "sha256-x3xXZvHO8JtrfUfyG1Rsvd1BV4hrO11tT3CekeZsfCs=";
|
||||
};
|
||||
whisper-en = {
|
||||
name = "whisper-en";
|
||||
backend = "whisper";
|
||||
parameters.model = ggml-tiny-en.name;
|
||||
};
|
||||
models = symlinkJoin {
|
||||
name = "models";
|
||||
paths = [
|
||||
voice-en-us
|
||||
(linkFarmFromDrvs "whisper-en" [
|
||||
(writeText "whisper-en.yaml" (builtins.toJSON whisper-en))
|
||||
ggml-tiny-en
|
||||
])
|
||||
];
|
||||
};
|
||||
in
|
||||
testers.runNixOSTest {
|
||||
name = pname + "-tts";
|
||||
nodes.machine = {
|
||||
systemd.services.local-ai = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig.ExecStart = "${self}/bin/local-ai --debug --models-path ${models} --localai-config-dir . --address :${port}";
|
||||
};
|
||||
};
|
||||
testScript =
|
||||
let
|
||||
request = {
|
||||
model = "en-us-danny-low.onnx";
|
||||
backend = "piper";
|
||||
input = "Hello, how are you?";
|
||||
};
|
||||
in
|
||||
''
|
||||
machine.wait_for_open_port(${port})
|
||||
machine.succeed("curl -f http://localhost:${port}/readyz")
|
||||
machine.succeed("curl -f http://localhost:${port}/tts --json @${writeText "request.json" (builtins.toJSON request)} --output out.wav")
|
||||
machine.succeed("curl -f http://localhost:${port}/v1/audio/transcriptions --header 'Content-Type: multipart/form-data' --form file=@out.wav --form model=${whisper-en.name} --output transcription.json")
|
||||
machine.succeed("${jq}/bin/jq --exit-status 'debug | .segments | first.text == \"${request.input}\"' transcription.json")
|
||||
'';
|
||||
};
|
||||
};
|
||||
passthru.tests = callPackages ./tests.nix { inherit self; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "OpenAI alternative to run local LLMs, image and audio generation";
|
||||
|
|
160
pkgs/by-name/lo/local-ai/tests.nix
Normal file
160
pkgs/by-name/lo/local-ai/tests.nix
Normal file
|
@ -0,0 +1,160 @@
|
|||
{ self
|
||||
, lib
|
||||
, testers
|
||||
, fetchzip
|
||||
, fetchurl
|
||||
, writers
|
||||
, symlinkJoin
|
||||
, linkFarmFromDrvs
|
||||
, jq
|
||||
}:
|
||||
{
|
||||
version = testers.testVersion {
|
||||
package = self;
|
||||
version = "v" + self.version;
|
||||
};
|
||||
|
||||
health =
|
||||
let
|
||||
port = "8080";
|
||||
in
|
||||
testers.runNixOSTest {
|
||||
name = self.name + "-health";
|
||||
nodes.machine = {
|
||||
systemd.services.local-ai = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig.ExecStart = "${self}/bin/local-ai --debug --localai-config-dir . --address :${port}";
|
||||
};
|
||||
};
|
||||
testScript = ''
|
||||
machine.wait_for_open_port(${port})
|
||||
machine.succeed("curl -f http://localhost:${port}/readyz")
|
||||
'';
|
||||
};
|
||||
|
||||
# https://localai.io/docs/getting-started/manual/
|
||||
llama =
|
||||
let
|
||||
port = "8080";
|
||||
gguf = fetchurl {
|
||||
url = "https://huggingface.co/TheBloke/Luna-AI-Llama2-Uncensored-GGUF/resolve/main/luna-ai-llama2-uncensored.Q4_K_M.gguf";
|
||||
sha256 = "6a9dc401c84f0d48996eaa405174999c3a33bf12c2bfd8ea4a1e98f376de1f15";
|
||||
};
|
||||
models = linkFarmFromDrvs "models" [
|
||||
gguf
|
||||
];
|
||||
in
|
||||
testers.runNixOSTest {
|
||||
name = self.name + "-llama";
|
||||
nodes.machine =
|
||||
let
|
||||
cores = 4;
|
||||
in
|
||||
{
|
||||
virtualisation = {
|
||||
inherit cores;
|
||||
memorySize = 8192;
|
||||
};
|
||||
systemd.services.local-ai = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig.ExecStart = "${self}/bin/local-ai --debug --threads ${toString cores} --models-path ${models} --localai-config-dir . --address :${port}";
|
||||
};
|
||||
};
|
||||
testScript =
|
||||
let
|
||||
# https://localai.io/features/text-generation/#chat-completions
|
||||
request-chat-completions = {
|
||||
model = gguf.name;
|
||||
messages = [{ role = "user"; content = "Say this is a test!"; }];
|
||||
temperature = 0.7;
|
||||
};
|
||||
# https://localai.io/features/text-generation/#edit-completions
|
||||
request-edit-completions = {
|
||||
model = gguf.name;
|
||||
instruction = "rephrase";
|
||||
input = "Black cat jumped out of the window";
|
||||
temperature = 0.7;
|
||||
};
|
||||
# https://localai.io/features/text-generation/#completions
|
||||
request-completions = {
|
||||
model = gguf.name;
|
||||
prompt = "A long time ago in a galaxy far, far away";
|
||||
temperature = 0.7;
|
||||
};
|
||||
in
|
||||
''
|
||||
machine.wait_for_open_port(${port})
|
||||
machine.succeed("curl -f http://localhost:${port}/readyz")
|
||||
machine.succeed("curl -f http://localhost:${port}/v1/models --output models.json")
|
||||
machine.succeed("${jq}/bin/jq --exit-status 'debug | .data[].id == \"${gguf.name}\"' models.json")
|
||||
machine.succeed("curl -f http://localhost:${port}/v1/chat/completions --json @${writers.writeJSON "request-chat-completions.json" request-chat-completions} --output chat-completions.json")
|
||||
machine.succeed("${jq}/bin/jq --exit-status 'debug | .object == \"chat.completion\"' chat-completions.json")
|
||||
machine.succeed("curl -f http://localhost:${port}/v1/edits --json @${writers.writeJSON "request-edit-completions.json" request-edit-completions} --output edit-completions.json")
|
||||
machine.succeed("${jq}/bin/jq --exit-status 'debug | .object == \"edit\"' edit-completions.json")
|
||||
machine.succeed("curl -f http://localhost:${port}/v1/completions --json @${writers.writeJSON "request-completions.json" request-completions} --output completions.json")
|
||||
machine.succeed("${jq}/bin/jq --exit-status 'debug | .object ==\"text_completion\"' completions.json")
|
||||
'';
|
||||
};
|
||||
|
||||
} // lib.optionalAttrs self.features.with_tts {
|
||||
# https://localai.io/features/text-to-audio/#piper
|
||||
tts =
|
||||
let
|
||||
port = "8080";
|
||||
voice-en-us = fetchzip {
|
||||
url = "https://github.com/rhasspy/piper/releases/download/v0.0.2/voice-en-us-danny-low.tar.gz";
|
||||
hash = "sha256-5wf+6H5HeQY0qgdqnAG1vSqtjIFM9lXH53OgouuPm0M=";
|
||||
stripRoot = false;
|
||||
};
|
||||
ggml-tiny-en = fetchurl {
|
||||
url = "https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-tiny.en-q5_1.bin";
|
||||
hash = "sha256-x3xXZvHO8JtrfUfyG1Rsvd1BV4hrO11tT3CekeZsfCs=";
|
||||
};
|
||||
whisper-en = {
|
||||
name = "whisper-en";
|
||||
backend = "whisper";
|
||||
parameters.model = ggml-tiny-en.name;
|
||||
};
|
||||
models = symlinkJoin {
|
||||
name = "models";
|
||||
paths = [
|
||||
voice-en-us
|
||||
(linkFarmFromDrvs "whisper-en" [
|
||||
(writers.writeYAML "whisper-en.yaml" whisper-en)
|
||||
ggml-tiny-en
|
||||
])
|
||||
];
|
||||
};
|
||||
in
|
||||
testers.runNixOSTest {
|
||||
name = self.name + "-tts";
|
||||
nodes.machine =
|
||||
let
|
||||
cores = 2;
|
||||
in
|
||||
{
|
||||
virtualisation = {
|
||||
inherit cores;
|
||||
};
|
||||
systemd.services.local-ai = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig.ExecStart = "${self}/bin/local-ai --debug --threads ${toString cores} --models-path ${models} --localai-config-dir . --address :${port}";
|
||||
};
|
||||
};
|
||||
testScript =
|
||||
let
|
||||
request = {
|
||||
model = "en-us-danny-low.onnx";
|
||||
backend = "piper";
|
||||
input = "Hello, how are you?";
|
||||
};
|
||||
in
|
||||
''
|
||||
machine.wait_for_open_port(${port})
|
||||
machine.succeed("curl -f http://localhost:${port}/readyz")
|
||||
machine.succeed("curl -f http://localhost:${port}/tts --json @${writers.writeJSON "request.json" request} --output out.wav")
|
||||
machine.succeed("curl -f http://localhost:${port}/v1/audio/transcriptions --header 'Content-Type: multipart/form-data' --form file=@out.wav --form model=${whisper-en.name} --output transcription.json")
|
||||
machine.succeed("${jq}/bin/jq --exit-status 'debug | .segments | first.text == \"${request.input}\"' transcription.json")
|
||||
'';
|
||||
};
|
||||
}
|
|
@ -9,14 +9,14 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "loksh";
|
||||
version = "7.4";
|
||||
version = "7.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dimkr";
|
||||
repo = "loksh";
|
||||
rev = finalAttrs.version;
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-gQK9gq6MsKVyOikOW0sW/SbIM1K/3I8pn58P/SqzKys=";
|
||||
hash = "sha256-4cBO1FXUnN/swwEeM2lq5RJJGmLKInMLZkz942EKy6k=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "doc" "man" ];
|
||||
|
|
60
pkgs/by-name/ni/nix-inspect/package.nix
Normal file
60
pkgs/by-name/ni/nix-inspect/package.nix
Normal file
|
@ -0,0 +1,60 @@
|
|||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
boost,
|
||||
nlohmann_json,
|
||||
nixVersions,
|
||||
pkg-config,
|
||||
meson,
|
||||
ninja,
|
||||
stdenv,
|
||||
}: let
|
||||
src = fetchFromGitHub {
|
||||
owner = "bluskript";
|
||||
repo = "nix-inspect";
|
||||
rev = "3d0fea2bb246130825548fce331093ee9cc9c20b";
|
||||
hash = "sha256-JichXRSfTLfy+7fhbTvA89rQLkqsY2eHgEAeAHWbA9s=";
|
||||
};
|
||||
|
||||
workerPackage = stdenv.mkDerivation {
|
||||
inherit src;
|
||||
|
||||
pname = "nix-inspect-worker";
|
||||
version = "0.1.0";
|
||||
sourceRoot = "source/worker";
|
||||
|
||||
nativeBuildInputs = [meson ninja pkg-config];
|
||||
|
||||
buildInputs = [
|
||||
boost
|
||||
nlohmann_json
|
||||
nixVersions.nix_2_19.dev
|
||||
];
|
||||
|
||||
mesonBuildType = "release";
|
||||
};
|
||||
in
|
||||
rustPlatform.buildRustPackage {
|
||||
inherit src;
|
||||
pname = "nix-inspect";
|
||||
version = "0.1.0";
|
||||
|
||||
cargoHash = "sha256-FdpHdw7bg/nEG4GjYhrdIDB4MJ4n5LoWnW4mTG2Lh5I=";
|
||||
|
||||
buildInputs = [workerPackage];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/workers.rs \
|
||||
--replace-fail 'env!("WORKER_BINARY_PATH")' '"${workerPackage}/bin/nix-inspect"'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Rust package for inspecting Nix expressions";
|
||||
homepage = "https://github.com/bluskript/nix-inspect";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [blusk];
|
||||
platforms = platforms.unix;
|
||||
mainProgram = "nix-inspect";
|
||||
};
|
||||
}
|
|
@ -1,24 +1,25 @@
|
|||
{ lib
|
||||
, stdenvNoCC
|
||||
, fetchFromGitHub
|
||||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "nuclei-templates";
|
||||
version = "9.8.0";
|
||||
version = "9.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "projectdiscovery";
|
||||
repo = "nuclei-templates";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-1aLy8wNWMFouZRjhCSiwSq1uo20C9wN7LPxyBqK6K0k=";
|
||||
hash = "sha256-g1MwzJK9a8bpbbP9EoUi0UBR54nfnyg3RDi9qwIKlH0=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/nuclei-templates
|
||||
cp -R cloud code config dns file headless helpers http javascript network ssl \
|
||||
cp -R cloud code dast dns file headless helpers http javascript network profiles ssl \
|
||||
$out/share/nuclei-templates/
|
||||
|
||||
runHook postInstall
|
||||
|
|
|
@ -5,16 +5,16 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "obs-cmd";
|
||||
version = "0.17.5";
|
||||
version = "0.17.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "grigio";
|
||||
repo = "obs-cmd";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-AphpIehFHZwcZ7vO5FV6PBZSO3y6oLhH/kQhJjr34VY=";
|
||||
hash = "sha256-bZ3N0wCTXyCv6iBQDlieMDFa80yNu1XrI4W5EaN5y/I=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-s/nWJ/8JnZwmROFSd2y6btopk2Cxp0zkMdy7mxVxr6k=";
|
||||
cargoHash = "sha256-gIJOkWlBD1rv6bKf++v/pyI8/awdnZBo/U/5PFnEcvg=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Minimal CLI to control OBS Studio via obs-websocket";
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "ocis-bin";
|
||||
version = "5.0.0";
|
||||
version = "5.0.1";
|
||||
system =
|
||||
if stdenv.isLinux && stdenv.isx86_64 then
|
||||
"linux-amd64"
|
||||
|
@ -21,9 +21,9 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
hash =
|
||||
if stdenv.isLinux && stdenv.isAarch64 then
|
||||
"sha256-xRgDNwmRovXbyGQ5sTUw5srsXMBDYyBFMpB9MoXoo+w="
|
||||
"sha256-8AEXuwTodhqF0LF1duYItntgp9mxoIdHChbtAnnnaQg="
|
||||
else if stdenv.isLinux && stdenv.isx86_64 then
|
||||
"sha256-0lgDIHldW67OwinfYPATXkWUZVnR3PoXC4XLM1KkKmY="
|
||||
"sha256-Fz0ee0Lu0CL3xJbsp1CCl0rsN/p48BdOj8oVOf0QSh4="
|
||||
else
|
||||
builtins.throw "Unsupported platform, please contact Nixpkgs maintainers for ocis package";
|
||||
};
|
||||
|
@ -42,7 +42,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
homepage = "https://owncloud.dev/ocis/";
|
||||
changelog = "https://github.com/owncloud/ocis/releases/tag/v${version}";
|
||||
# oCIS is licensed under non-free EULA which can be found here :
|
||||
# https://github.com/owncloud/ocis/releases/download/v5.0.0/End-User-License-Agreement-for-ownCloud-Infinite-Scale.pdf
|
||||
# https://github.com/owncloud/ocis/releases/download/v5.0.1/End-User-License-Agreement-for-ownCloud-Infinite-Scale.pdf
|
||||
license = licenses.unfree;
|
||||
maintainers = with maintainers; [
|
||||
ramblurr
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
{ lib
|
||||
, awscli
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
{
|
||||
lib,
|
||||
awscli,
|
||||
fetchFromGitHub,
|
||||
python3,
|
||||
}:
|
||||
|
||||
|
||||
let
|
||||
python = python3.override {
|
||||
packageOverrides = self: super: {
|
||||
sqlalchemy = super.sqlalchemy_1_4;
|
||||
};
|
||||
packageOverrides = self: super: { sqlalchemy = super.sqlalchemy_1_4; };
|
||||
};
|
||||
in python.pkgs.buildPythonApplication rec {
|
||||
in
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
pname = "pacu";
|
||||
version = "1.5.2";
|
||||
pyproject = true;
|
||||
|
@ -27,34 +26,34 @@ in python.pkgs.buildPythonApplication rec {
|
|||
"dsnap"
|
||||
"sqlalchemy-utils"
|
||||
"sqlalchemy"
|
||||
"pycognito"
|
||||
"urllib3"
|
||||
];
|
||||
|
||||
nativeBuildInputs = with python.pkgs; [
|
||||
poetry-core
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
build-system = with python.pkgs; [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
awscli
|
||||
] ++ (with python.pkgs; [
|
||||
awscli
|
||||
boto3
|
||||
botocore
|
||||
chalice
|
||||
dsnap
|
||||
jq
|
||||
policyuniverse
|
||||
pycognito
|
||||
pyyaml
|
||||
qrcode
|
||||
requests
|
||||
sqlalchemy
|
||||
sqlalchemy-utils
|
||||
toml
|
||||
typing-extensions
|
||||
urllib3
|
||||
]);
|
||||
nativeBuildInputs = with python.pkgs; [ pythonRelaxDepsHook ];
|
||||
|
||||
dependencies =
|
||||
[ awscli ]
|
||||
++ (with python.pkgs; [
|
||||
awscli
|
||||
boto3
|
||||
botocore
|
||||
chalice
|
||||
dsnap
|
||||
jq
|
||||
policyuniverse
|
||||
pycognito
|
||||
pyyaml
|
||||
qrcode
|
||||
requests
|
||||
sqlalchemy
|
||||
sqlalchemy-utils
|
||||
toml
|
||||
typing-extensions
|
||||
urllib3
|
||||
]);
|
||||
|
||||
nativeCheckInputs = with python.pkgs; [
|
||||
moto
|
||||
|
@ -65,13 +64,12 @@ in python.pkgs.buildPythonApplication rec {
|
|||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pacu"
|
||||
];
|
||||
pythonImportsCheck = [ "pacu" ];
|
||||
|
||||
disabledTests = [
|
||||
# sqlalchemy.exc.ArgumentError: Textual SQL expression
|
||||
#"test_migrations"
|
||||
# sAttributeError: module 'moto' has no attribute 'mock_s3'
|
||||
"test_update"
|
||||
"test_update_second_time"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
}:
|
||||
buildGoModule rec {
|
||||
pname = "sesh";
|
||||
version = "1.0.1";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "joshmedeski";
|
||||
repo = "sesh";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-eFqqiGIbS9HW7czAtSIPmvbynvg2gsu4luKsL25vxn4=";
|
||||
hash = "sha256-4p3Pqts6GSyUGX9hCQS/vTZiHbi5UQkrzzIA1Fheamc=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-zt1/gE4bVj+3yr9n0kT2FMYMEmiooy3k1lQ77rN6sTk=";
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromSourcehut
|
||||
, makeWrapper
|
||||
, scdoc
|
||||
, installShellFiles
|
||||
, snippetexpanderd
|
||||
, snippetexpanderx
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
|
@ -11,24 +13,27 @@ buildGoModule rec {
|
|||
|
||||
pname = "snippetexpander";
|
||||
|
||||
vendorHash = "sha256-wSAho59yxcXTu1zQ5x783HT4gtfSM4GdsOEeC1wfHhE=";
|
||||
vendorHash = "sha256-W9NkENdZRzqSAONI9QS2EI5aERK+AaPqwYwITKLwXQE=";
|
||||
|
||||
proxyVendor = true;
|
||||
|
||||
modRoot = "cmd/snippetexpander";
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
scdoc
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
snippetexpanderd
|
||||
snippetexpanderx
|
||||
];
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X 'main.version=${src.rev}'"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
|
@ -36,12 +41,18 @@ buildGoModule rec {
|
|||
installManPage snippetexpander.1
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
postFixup = ''
|
||||
# Ensure snippetexpanderd and snippetexpanderx are available to start/stop.
|
||||
wrapProgram $out/bin/snippetexpander \
|
||||
--prefix PATH : ${lib.makeBinPath [ snippetexpanderd snippetexpanderx ]}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Your little expandable text snippet helper CLI";
|
||||
homepage = "https://snippetexpander.org";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ ianmjones ];
|
||||
platforms = platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ ianmjones ];
|
||||
platforms = lib.platforms.linux;
|
||||
mainProgram = "snippetexpander";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,44 +2,49 @@
|
|||
, stdenv
|
||||
, buildGoModule
|
||||
, fetchFromSourcehut
|
||||
, pkg-config
|
||||
, makeWrapper
|
||||
, scdoc
|
||||
, installShellFiles
|
||||
, xorg
|
||||
, gtk3
|
||||
, xclip
|
||||
, wl-clipboard
|
||||
, xdotool
|
||||
, wtype
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "snippetexpanderd";
|
||||
version = "1.0.1";
|
||||
version = "1.0.2";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~ianmjones";
|
||||
repo = "snippetexpander";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-y3TJ+L3kXYfZFzAD1vmhvP6Yarctu5LHq/74005h8sI=";
|
||||
hash = "sha256-iEoBri+NuFfLkARUBA+D/Fe9xk6PPV62N/YRqPv9C/A=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-QX8HI8I1ZJI6HJ1sl86OiJ4nxwFAjHH8h1zB9ASJaQs=";
|
||||
vendorHash = "sha256-W9NkENdZRzqSAONI9QS2EI5aERK+AaPqwYwITKLwXQE=";
|
||||
|
||||
proxyVendor = true;
|
||||
|
||||
modRoot = "cmd/snippetexpanderd";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
makeWrapper
|
||||
scdoc
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
xorg.libX11
|
||||
gtk3
|
||||
xclip
|
||||
wl-clipboard
|
||||
xdotool
|
||||
wtype
|
||||
];
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X 'main.version=${src.rev}'"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
|
@ -48,16 +53,17 @@ buildGoModule rec {
|
|||
'';
|
||||
|
||||
postFixup = ''
|
||||
# Ensure xclip/wcopy and xdotool/wtype are available for copy and paste duties.
|
||||
wrapProgram $out/bin/snippetexpanderd \
|
||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ xorg.libX11 ]}
|
||||
--prefix PATH : ${lib.makeBinPath [ xclip wl-clipboard xdotool wtype ]}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Your little expandable text snippet helper daemon";
|
||||
homepage = "https://snippetexpander.org";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ ianmjones ];
|
||||
platforms = platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ ianmjones ];
|
||||
platforms = lib.platforms.linux;
|
||||
mainProgram = "snippetexpanderd";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromSourcehut
|
||||
, makeWrapper
|
||||
, wrapGAppsHook
|
||||
, wails
|
||||
, scdoc
|
||||
, installShellFiles
|
||||
|
@ -10,6 +10,7 @@
|
|||
, webkitgtk
|
||||
, gsettings-desktop-schemas
|
||||
, snippetexpanderd
|
||||
, snippetexpanderx
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
|
@ -17,30 +18,31 @@ buildGoModule rec {
|
|||
|
||||
pname = "snippetexpandergui";
|
||||
|
||||
vendorHash = "sha256-iZfZdT8KlfZMVLQcYmo6EooIdsSGrpO/ojwT9Ft1GQI=";
|
||||
vendorHash = "sha256-W9NkENdZRzqSAONI9QS2EI5aERK+AaPqwYwITKLwXQE=";
|
||||
|
||||
proxyVendor = true;
|
||||
|
||||
modRoot = "cmd/snippetexpandergui";
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
wails
|
||||
scdoc
|
||||
installShellFiles
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
xorg.libX11
|
||||
gtk3
|
||||
webkitgtk
|
||||
gsettings-desktop-schemas
|
||||
snippetexpanderd
|
||||
snippetexpanderx
|
||||
];
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X 'main.version=${src.rev}'"
|
||||
];
|
||||
|
||||
tags = [
|
||||
|
@ -54,17 +56,19 @@ buildGoModule rec {
|
|||
installManPage snippetexpandergui.1
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/snippetexpandergui \
|
||||
--prefix XDG_DATA_DIRS : ${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(
|
||||
# Ensure snippetexpanderd and snippetexpanderx are available to start/stop.
|
||||
--prefix PATH : ${lib.makeBinPath [ snippetexpanderd snippetexpanderx ]}
|
||||
)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Your little expandable text snippet helper GUI";
|
||||
homepage = "https://snippetexpander.org";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ ianmjones ];
|
||||
platforms = platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ ianmjones ];
|
||||
platforms = lib.platforms.linux;
|
||||
mainProgram = "snippetexpandergui";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -42,6 +42,8 @@ stdenv.mkDerivation rec {
|
|||
snippetexpanderd
|
||||
];
|
||||
|
||||
makeFlags = [ "VERSION=${src.rev}" ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/bin
|
||||
|
@ -53,12 +55,12 @@ stdenv.mkDerivation rec {
|
|||
# There are no tests.
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Your little expandable text snippet helper auto expander daemon";
|
||||
homepage = "https://snippetexpander.org";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ ianmjones ];
|
||||
platforms = platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ ianmjones ];
|
||||
platforms = lib.platforms.linux;
|
||||
mainProgram = "snippetexpanderx";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, pkg-config, qemu, syslinux, util-linux }:
|
||||
|
||||
let
|
||||
version = "0.8.0";
|
||||
version = "0.8.1";
|
||||
# list of all theoretically available targets
|
||||
targets = [
|
||||
"genode"
|
||||
|
@ -21,7 +21,7 @@ in stdenv.mkDerivation {
|
|||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/Solo5/solo5/releases/download/v${version}/solo5-v${version}.tar.gz";
|
||||
sha256 = "sha256-t80VOZ8Tr1Dq+mJfRPVLGqYprCaqegcQtDqdoHaSXW0=";
|
||||
sha256 = "sha256-J1xcL/AdcLQ7Ph3TFwEaS9l4cWjDQsTaXTdBDcT7p6E=";
|
||||
};
|
||||
|
||||
hardeningEnable = [ "pie" ];
|
||||
|
@ -63,13 +63,13 @@ in stdenv.mkDerivation {
|
|||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Sandboxed execution environment";
|
||||
homepage = "https://github.com/solo5/solo5";
|
||||
license = licenses.isc;
|
||||
maintainers = [ maintainers.ehmry ];
|
||||
license = lib.licenses.isc;
|
||||
maintainers = with lib.maintainers; [ ehmry ];
|
||||
platforms = builtins.map ({arch, os}: "${arch}-${os}")
|
||||
(cartesianProductOfSets {
|
||||
(lib.cartesianProductOfSets {
|
||||
arch = [ "aarch64" "x86_64" ];
|
||||
os = [ "freebsd" "genode" "linux" "openbsd" ];
|
||||
});
|
|
@ -12,16 +12,16 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "stackit-cli";
|
||||
version = "0.1.0";
|
||||
version = "0.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stackitcloud";
|
||||
repo = "stackit-cli";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-EozgdlxCfWciFg7XPDbn2vztwoAKnuQBwyg/ufGRZQ0=";
|
||||
hash = "sha256-eAJe/AlYxp0v2LifXdlSxeZL+qwKf2wj+tnNJ2Y8LcQ=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-6WbY8t7Qjxq8oBF+r2rZVgAa6ZNzjHs7Nh16zJQBRdg=";
|
||||
vendorHash = "sha256-gir3RtIdQ/xDVL050kH8OxFuHoBOD2weeyRjguhubV0=";
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
|
|
|
@ -4,16 +4,16 @@
|
|||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "tenki";
|
||||
version = "1.5.0";
|
||||
version = "1.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ckaznable";
|
||||
repo = "tenki";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-X/GnOgxwBhkrdhUmEhyxdgk5ElayMOAmtDxR2cqRJc8=";
|
||||
hash = "sha256-l2MDO0LIL+uSPiXA3+WVpan43lWJbaY9XSdQbwacRqQ=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-rmMUVZwNouUvFFPgZfbR4sgtig5zx1WC3bxnfPPT3yQ=";
|
||||
cargoHash = "sha256-8tabXFijgq+E6YVY1J2nAhDHFahWx7QC8S401KNy2Jc=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "tty-clock with weather effect";
|
||||
|
|
|
@ -8,13 +8,13 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "workout-tracker";
|
||||
version = "0.11.2";
|
||||
version = "0.12.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jovandeginste";
|
||||
repo = "workout-tracker";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-u2ezn+5PsA4z1w4OQuvfG0QeBzUGzx/11wtmoGVa3WY=";
|
||||
hash = "sha256-INEo8jRJP0Jdsl28pLyrJEWAFwq5HpiOJIpwxOJ1vhU=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
let
|
||||
themeName = "Dracula";
|
||||
version = "unstable-2024-03-31";
|
||||
version = "unstable-2024-04-08";
|
||||
in
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "dracula-theme";
|
||||
|
@ -11,8 +11,8 @@ stdenvNoCC.mkDerivation {
|
|||
src = fetchFromGitHub {
|
||||
owner = "dracula";
|
||||
repo = "gtk";
|
||||
rev = "c21f12be904fe55336397fc80feb1a8c8216dca2";
|
||||
hash = "sha256-UbipHarnLkCDpUhQOP/uJlXSJ5zHptpNpLPgYwDz+1A=";
|
||||
rev = "18350cafd8e9c775737f97fb5acf0890e29bc47a";
|
||||
hash = "sha256-uhcRV7E7GDjWjetUHcz/E/g36m/yYTg3c9WJo6gYTJA=";
|
||||
};
|
||||
|
||||
propagatedUserEnvPkgs = [
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ lib, buildPecl, fetchFromGitHub }:
|
||||
|
||||
let
|
||||
version = "1.0.1";
|
||||
version = "1.0.2";
|
||||
in buildPecl rec {
|
||||
inherit version;
|
||||
pname = "opentelemetry";
|
||||
|
@ -10,7 +10,7 @@ in buildPecl rec {
|
|||
owner = "open-telemetry";
|
||||
repo = "opentelemetry-php-instrumentation";
|
||||
rev = version;
|
||||
hash = "sha256-VHUzRhTtHygHoW+poItaphV+mxe4rmmSfGgesUgPz8Q=";
|
||||
hash = "sha256-w6Gkjh9+I6KlQyztv4o1XZ6nJ+Yn4wXXN6nma8/dLTU=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/ext";
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioopenexchangerates";
|
||||
version = "0.4.9";
|
||||
version = "0.4.10";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
|||
owner = "MartinHjelmare";
|
||||
repo = "aioopenexchangerates";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-goOzp5nPkQCtGV7U71ek1LQ93Ko5BdEvawYb/feGRQQ=";
|
||||
hash = "sha256-keZebaqIs+xaGy5O1551w05fV301XHzJpPDwvY4Tjnk=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
|
|
@ -1,21 +1,22 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, aioresponses
|
||||
, buildPythonPackage
|
||||
, ciso8601
|
||||
, click
|
||||
, fetchFromGitHub
|
||||
, mashumaro
|
||||
, poetry-core
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, yarl
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
aioresponses,
|
||||
buildPythonPackage,
|
||||
ciso8601,
|
||||
click,
|
||||
fetchFromGitHub,
|
||||
mashumaro,
|
||||
poetry-core,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
yarl,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiortm";
|
||||
version = "0.8.10";
|
||||
version = "0.8.11";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
@ -24,19 +25,17 @@ buildPythonPackage rec {
|
|||
owner = "MartinHjelmare";
|
||||
repo = "aiortm";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-WkVuuvWWdj2McdXl+XwYukUcloehelFIi6QL5LSkfLk=";
|
||||
hash = "sha256-VvpdeupBW8wZyNnAx9cvp0Li5z3D/AnqipTEGTsd2IE=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-warn " --cov=aiortm --cov-report=term-missing:skip-covered" ""
|
||||
--replace-fail " --cov=aiortm --cov-report=term-missing:skip-covered" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
aiohttp
|
||||
ciso8601
|
||||
click
|
||||
|
@ -50,16 +49,14 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiortm"
|
||||
];
|
||||
pythonImportsCheck = [ "aiortm" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for the Remember the Milk API";
|
||||
mainProgram = "aiortm";
|
||||
homepage = "https://github.com/MartinHjelmare/aiortm";
|
||||
changelog = "https://github.com/MartinHjelmare/aiortm/blob/v${version}/CHANGELOG.md";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "aiortm";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,25 +1,28 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, dateparser
|
||||
, defusedxml
|
||||
, fetchFromGitHub
|
||||
, importlib-metadata
|
||||
, numpy
|
||||
, pytestCheckHook
|
||||
, python-dateutil
|
||||
, pythonOlder
|
||||
, pytz
|
||||
, remotezip
|
||||
, requests
|
||||
, requests-mock
|
||||
, shapely
|
||||
, tenacity
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
dateparser,
|
||||
defusedxml,
|
||||
fetchFromGitHub,
|
||||
importlib-metadata,
|
||||
numpy,
|
||||
pytestCheckHook,
|
||||
python-dateutil,
|
||||
pythonOlder,
|
||||
pythonRelaxDepsHook,
|
||||
pytz,
|
||||
remotezip,
|
||||
requests-mock,
|
||||
requests,
|
||||
setuptools-scm,
|
||||
shapely,
|
||||
tenacity,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "asf-search";
|
||||
version = "7.0.8";
|
||||
format = "setuptools";
|
||||
version = "7.0.9";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
|
@ -27,10 +30,16 @@ buildPythonPackage rec {
|
|||
owner = "asfadmin";
|
||||
repo = "Discovery-asf_search";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-wmTt6JFuigpFo/0s9DmKfAZT0dPPyoNeVRlh8vz/jkY=";
|
||||
hash = "sha256-CD9Up4h23dplTt51zif+4ZdW0qczRUz2hCOwUOOlS24=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pythonRelaxDeps = [ "tenacity" ];
|
||||
|
||||
build-system = [ setuptools-scm ];
|
||||
|
||||
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
||||
|
||||
dependencies = [
|
||||
dateparser
|
||||
importlib-metadata
|
||||
numpy
|
||||
|
@ -48,14 +57,12 @@ buildPythonPackage rec {
|
|||
tenacity
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"asf_search"
|
||||
];
|
||||
pythonImportsCheck = [ "asf_search" ];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/asfadmin/Discovery-asf_search/blob/${src.rev}/CHANGELOG.md";
|
||||
description = "Python wrapper for the ASF SearchAPI";
|
||||
homepage = "https://github.com/asfadmin/Discovery-asf_search";
|
||||
changelog = "https://github.com/asfadmin/Discovery-asf_search/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ bzizou ];
|
||||
};
|
||||
|
|
|
@ -10,21 +10,21 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-eventgrid";
|
||||
version = "4.18.0";
|
||||
version = "4.19.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-OQ6Aet78NorIz1TlPdv5pW5ImDINLwH+ZQCk52Y+tJM=";
|
||||
hash = "sha256-a9fVQBbMo6Zwdp6WTYKiQBlqJcQRs+nxqKqBVcPbBew=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
azure-common
|
||||
azure-core
|
||||
isodate
|
||||
|
|
|
@ -365,14 +365,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "boto3-stubs";
|
||||
version = "1.34.81";
|
||||
version = "1.34.83";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-ajcieN11ogwfWJgk4CcshHmuVay6KbRWMfG1h9pkoiM=";
|
||||
hash = "sha256-ZY+uu/4yLBbK/YSAAyoZ19ZyPRUjR5Z4le1mRoytF4o=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
48
pkgs/development/python-modules/bring-api/default.nix
Normal file
48
pkgs/development/python-modules/bring-api/default.nix
Normal file
|
@ -0,0 +1,48 @@
|
|||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
aioresponses,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
python-dotenv,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bring-api";
|
||||
version = "0.7.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "miaucl";
|
||||
repo = "bring-api";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-fhZMn0v908VzV+JLuS8tM+BPKJBoj77vEh1pINL4Cco=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ aiohttp ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
aioresponses
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
python-dotenv
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "bring_api" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module to access the Bring! shopping lists API";
|
||||
homepage = "https://github.com/miaucl/bring-api";
|
||||
changelog = "https://github.com/miaucl/bring-api/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -1,34 +1,38 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, cwl-upgrader
|
||||
, cwlformat
|
||||
, fetchFromGitHub
|
||||
, packaging
|
||||
, pytest-mock
|
||||
, pytest-xdist
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, rdflib
|
||||
, requests
|
||||
, ruamel-yaml
|
||||
, schema-salad
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
cwl-upgrader,
|
||||
cwlformat,
|
||||
fetchFromGitHub,
|
||||
packaging,
|
||||
pytest-mock,
|
||||
pytest-xdist,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
rdflib,
|
||||
requests,
|
||||
ruamel-yaml,
|
||||
schema-salad,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cwl-utils";
|
||||
version = "0.32";
|
||||
format = "setuptools";
|
||||
version = "0.33";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "common-workflow-language";
|
||||
repo = pname;
|
||||
repo = "cwl-utils";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-CM2UlJ86FcjsOm0msBNpY2li8bhm5T/aMD1q292HpLM=";
|
||||
hash = "sha256-+GvG5Uu2nQWYCcuAkBkegsmMCWhf269jH6Zcex99I4M=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
cwl-upgrader
|
||||
packaging
|
||||
rdflib
|
||||
|
@ -44,9 +48,7 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"cwl_utils"
|
||||
];
|
||||
pythonImportsCheck = [ "cwl_utils" ];
|
||||
|
||||
disabledTests = [
|
||||
# Don't run tests which require Node.js
|
||||
|
|
|
@ -1,17 +1,18 @@
|
|||
{ lib
|
||||
, aws-sam-cli
|
||||
, boto3
|
||||
, buildPythonPackage
|
||||
, cfn-lint
|
||||
, fetchFromGitHub
|
||||
, mock
|
||||
, moto
|
||||
, mypy-boto3-ebs
|
||||
, poetry-core
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, typer
|
||||
, urllib3
|
||||
{
|
||||
lib,
|
||||
aws-sam-cli,
|
||||
boto3,
|
||||
buildPythonPackage,
|
||||
cfn-lint,
|
||||
fetchFromGitHub,
|
||||
mock,
|
||||
moto,
|
||||
mypy-boto3-ebs,
|
||||
poetry-core,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
typer,
|
||||
urllib3,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -31,22 +32,18 @@ buildPythonPackage rec {
|
|||
postPatch = ''
|
||||
# Is no direct dependency
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'urllib3 = "^1.26.4"' 'urllib3 = "*"'
|
||||
--replace-fail 'urllib3 = "^1.26.4"' 'urllib3 = "*"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
boto3
|
||||
urllib3
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
cli = [
|
||||
typer
|
||||
];
|
||||
cli = [ typer ];
|
||||
scannerd = [
|
||||
aws-sam-cli
|
||||
cfn-lint
|
||||
|
@ -60,17 +57,18 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
|
||||
|
||||
pythonImportsCheck = [
|
||||
"dsnap"
|
||||
];
|
||||
# https://github.com/RhinoSecurityLabs/dsnap/issues/26
|
||||
# ImportError: cannot import name 'mock_iam' from 'moto'
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "dsnap" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Utility for downloading and mounting EBS snapshots using the EBS Direct API's";
|
||||
mainProgram = "dsnap";
|
||||
homepage = "https://github.com/RhinoSecurityLabs/dsnap";
|
||||
changelog = "https://github.com/RhinoSecurityLabs/dsnap/releases/tag/v${version}";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "dsnap";
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,34 +1,35 @@
|
|||
{ lib
|
||||
, backports-zoneinfo
|
||||
, buildPythonPackage
|
||||
, cached-property
|
||||
, defusedxml
|
||||
, dnspython
|
||||
, fetchFromGitHub
|
||||
, flake8
|
||||
, isodate
|
||||
, lxml
|
||||
, oauthlib
|
||||
, psutil
|
||||
, pygments
|
||||
, python-dateutil
|
||||
, pythonOlder
|
||||
, pytz
|
||||
, pyyaml
|
||||
, requests
|
||||
, requests-ntlm
|
||||
, requests-gssapi
|
||||
, requests-oauthlib
|
||||
, requests-kerberos
|
||||
, requests-mock
|
||||
, setuptools
|
||||
, tzdata
|
||||
, tzlocal
|
||||
{
|
||||
lib,
|
||||
backports-zoneinfo,
|
||||
buildPythonPackage,
|
||||
cached-property,
|
||||
defusedxml,
|
||||
dnspython,
|
||||
fetchFromGitHub,
|
||||
flake8,
|
||||
isodate,
|
||||
lxml,
|
||||
oauthlib,
|
||||
psutil,
|
||||
pygments,
|
||||
python-dateutil,
|
||||
pythonOlder,
|
||||
pytz,
|
||||
pyyaml,
|
||||
requests,
|
||||
requests-ntlm,
|
||||
requests-gssapi,
|
||||
requests-oauthlib,
|
||||
requests-kerberos,
|
||||
requests-mock,
|
||||
setuptools,
|
||||
tzdata,
|
||||
tzlocal,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "exchangelib";
|
||||
version = "5.2.0";
|
||||
version = "5.2.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
@ -37,12 +38,10 @@ buildPythonPackage rec {
|
|||
owner = "ecederstrand";
|
||||
repo = "exchangelib";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-q45aYVyp75PUiqYSMSvSFMy3vaclv93QVkjKWVrxWc4=";
|
||||
hash = "sha256-4XcJNbnBCaSrGwfgDAlo4wCOjlwq2rLjSxRXniuzdzk=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
cached-property
|
||||
|
@ -58,18 +57,14 @@ buildPythonPackage rec {
|
|||
requests-kerberos
|
||||
tzdata
|
||||
tzlocal
|
||||
] ++ lib.optionals (pythonOlder "3.9") [
|
||||
backports-zoneinfo
|
||||
];
|
||||
] ++ lib.optionals (pythonOlder "3.9") [ backports-zoneinfo ];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
complete = [
|
||||
requests-gssapi
|
||||
# requests-negotiate-sspi
|
||||
];
|
||||
kerberos = [
|
||||
requests-gssapi
|
||||
];
|
||||
kerberos = [ requests-gssapi ];
|
||||
# sspi = [
|
||||
# requests-negotiate-sspi
|
||||
# ];
|
||||
|
@ -84,9 +79,7 @@ buildPythonPackage rec {
|
|||
requests-mock
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"exchangelib"
|
||||
];
|
||||
pythonImportsCheck = [ "exchangelib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Client for Microsoft Exchange Web Services (EWS)";
|
||||
|
|
|
@ -1,15 +1,17 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, flask
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
flask,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flask-paginate";
|
||||
version = "2024.3.28";
|
||||
format = "setuptools";
|
||||
version = "2024.4.12";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
|
@ -17,24 +19,18 @@ buildPythonPackage rec {
|
|||
owner = "lixxu";
|
||||
repo = "flask-paginate";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-HqjgmqRH83N+CbTnkkEJnuo+c+n5wLwdsPXyY2i5XRg=";
|
||||
hash = "sha256-YaAgl+iuoXB0eWVzhmNq2UTOpM/tHfDISIb9CyaXiuA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
flask
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
dependencies = [ flask ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"flask_paginate"
|
||||
];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"tests/tests.py"
|
||||
];
|
||||
pythonImportsCheck = [ "flask_paginate" ];
|
||||
|
||||
pytestFlagsArray = [ "tests/tests.py" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pagination support for Flask";
|
||||
|
|
|
@ -1,35 +1,37 @@
|
|||
{ fetchPypi
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, setuptools
|
||||
, numpy
|
||||
, wheel
|
||||
,
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
numpy,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gekko";
|
||||
version = "1.1.0";
|
||||
version = "1.1.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-dImIf5zR6SCztgrFbaRrz4nLl1ZzJIyPLDNGIVLoOdg=";
|
||||
hash = "sha256-xc6NfPCvkEYjUG82QmFqDuu02QNwKfoS6DDpkdaMWJ8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ numpy ];
|
||||
|
||||
# Module has no tests
|
||||
doCHeck = false;
|
||||
|
||||
pythonImportsCheck = [ "gekko" ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module for machine learning and optimization";
|
||||
homepage = "https://github.com/BYU-PRISM/GEKKO";
|
||||
description = "A Python package for machine learning and optimization";
|
||||
changelog = "https://github.com/BYU-PRISM/GEKKO/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ayes-web ];
|
||||
};
|
||||
|
|
|
@ -13,37 +13,35 @@
|
|||
, voluptuous
|
||||
, websocket-client
|
||||
, xmltodict
|
||||
, wheel
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hahomematic";
|
||||
version = "2024.3.1";
|
||||
version = "2024.4.6";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
disabled = pythonOlder "3.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "danielperna84";
|
||||
repo = "hahomematic";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-/ulqUyplNu8YTHJKcfNPYzyzPvGkLFtoJDu5SqvfQrs=";
|
||||
hash = "sha256-w+sSaadbbfc1cNCTx5YYIm8eAKRQxyqZZKK2QPFZv7Y=";
|
||||
};
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "setuptools~=69.1.0" "setuptools" \
|
||||
--replace-fail "wheel~=0.42.0" "wheel"
|
||||
--replace-fail "setuptools~=69.2.0" "setuptools" \
|
||||
--replace-fail "wheel~=0.43.0" "wheel"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
aiohttp
|
||||
orjson
|
||||
python-slugify
|
||||
|
@ -64,8 +62,8 @@ buildPythonPackage rec {
|
|||
meta = with lib; {
|
||||
description = "Python module to interact with HomeMatic devices";
|
||||
homepage = "https://github.com/danielperna84/hahomematic";
|
||||
changelog = "https://github.com/danielperna84/hahomematic/releases/tag/${version}";
|
||||
license = with licenses; [ mit ];
|
||||
changelog = "https://github.com/danielperna84/hahomematic/blob/${src.rev}/changelog.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda fab ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,45 +0,0 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "homeassistant-bring-api";
|
||||
version = "0.5.6";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "miaucl";
|
||||
repo = "homeassistant-bring-api";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-vfc4xKLeGF2FuBFwqU99qbkUDBK5Uz66S4F2ODRDPa8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"homeassistant_bring_api"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module to access the Bring! shopping lists API with Home Assistant";
|
||||
homepage = "https://github.com/miaucl/homeassistant-bring-api";
|
||||
changelog = "https://github.com/miaucl/homeassistant-bring-api/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -1,62 +1,59 @@
|
|||
{ lib
|
||||
, backports-datetime-fromisoformat
|
||||
, buildPythonPackage
|
||||
, charset-normalizer
|
||||
, dateparser
|
||||
, faust-cchardet
|
||||
, fetchPypi
|
||||
, lxml
|
||||
, pytestCheckHook
|
||||
, python-dateutil
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, urllib3
|
||||
{
|
||||
lib,
|
||||
backports-datetime-fromisoformat,
|
||||
buildPythonPackage,
|
||||
charset-normalizer,
|
||||
dateparser,
|
||||
faust-cchardet,
|
||||
fetchPypi,
|
||||
lxml,
|
||||
pytestCheckHook,
|
||||
python-dateutil,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
urllib3,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "htmldate";
|
||||
version = "1.8.0";
|
||||
version = "1.8.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-+Ux9AX9Coc9CLlp8XvEMrLridohjFPJ6mGRkYn8wuxU=";
|
||||
hash = "sha256-yvFobPdcYd0fBh7eXXpG51mxXV+Zh82OE8jEI3URJj0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
charset-normalizer
|
||||
dateparser
|
||||
lxml
|
||||
python-dateutil
|
||||
urllib3
|
||||
] ++ lib.optionals (pythonOlder "3.7") [
|
||||
backports-datetime-fromisoformat
|
||||
];
|
||||
] ++ lib.optionals (pythonOlder "3.7") [ backports-datetime-fromisoformat ];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
speed = [
|
||||
faust-cchardet
|
||||
urllib3
|
||||
] ++ lib.optionals (pythonOlder "3.11") [
|
||||
backports-datetime-fromisoformat
|
||||
] ++ urllib3.optional-dependencies.brotli;
|
||||
all = [
|
||||
faust-cchardet
|
||||
urllib3
|
||||
] ++ lib.optionals (pythonOlder "3.11") [
|
||||
backports-datetime-fromisoformat
|
||||
] ++ urllib3.optional-dependencies.brotli;
|
||||
speed =
|
||||
[
|
||||
faust-cchardet
|
||||
urllib3
|
||||
]
|
||||
++ lib.optionals (pythonOlder "3.11") [ backports-datetime-fromisoformat ]
|
||||
++ urllib3.optional-dependencies.brotli;
|
||||
all =
|
||||
[
|
||||
faust-cchardet
|
||||
urllib3
|
||||
]
|
||||
++ lib.optionals (pythonOlder "3.11") [ backports-datetime-fromisoformat ]
|
||||
++ urllib3.optional-dependencies.brotli;
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
# disable tests that require an internet connection
|
||||
disabledTests = [
|
||||
|
@ -65,15 +62,13 @@ buildPythonPackage rec {
|
|||
"test_download"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"htmldate"
|
||||
];
|
||||
pythonImportsCheck = [ "htmldate" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module for the extraction of original and updated publication dates from URLs and web pages";
|
||||
homepage = "https://htmldate.readthedocs.io";
|
||||
changelog = "https://github.com/adbar/htmldate/blob/v${version}/CHANGELOG.md";
|
||||
license = licenses.gpl3Plus;
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ jokatzke ];
|
||||
mainProgram = "htmldate";
|
||||
};
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "jenkins-job-builder";
|
||||
version = "6.1.0";
|
||||
version = "6.2.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-9IXhzdXVEk0M2O01eHysiDziZWmEy6Ehb7nHC6OHCwc=";
|
||||
hash = "sha256-kV2g1qbS5L7bEqfPijj60eK+pbTc8SAs/tctpNv0PFs=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
|
|
@ -1,29 +1,30 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, jinja2
|
||||
, lxml
|
||||
, mock
|
||||
, ncclient
|
||||
, netaddr
|
||||
, nose2
|
||||
, ntc-templates
|
||||
, paramiko
|
||||
, pyparsing
|
||||
, pyserial
|
||||
, pythonOlder
|
||||
, pyyaml
|
||||
, scp
|
||||
, setuptools
|
||||
, pytestCheckHook
|
||||
, six
|
||||
, transitions
|
||||
, yamlordereddictloader
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
jinja2,
|
||||
lxml,
|
||||
mock,
|
||||
ncclient,
|
||||
netaddr,
|
||||
nose2,
|
||||
ntc-templates,
|
||||
paramiko,
|
||||
pyparsing,
|
||||
pyserial,
|
||||
pythonOlder,
|
||||
pyyaml,
|
||||
scp,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
six,
|
||||
transitions,
|
||||
yamlordereddictloader,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "junos-eznc";
|
||||
version = "2.7.0";
|
||||
version = "2.7.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
@ -32,14 +33,12 @@ buildPythonPackage rec {
|
|||
owner = "Juniper";
|
||||
repo = "py-junos-eznc";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-06OV6UrF2i4SxL5dCvVxsEX2e8ef8UBFx/oMbvCZDaM=";
|
||||
hash = "sha256-aoi+in5A8qSdQNY3V4S4wBBfPchR1an7G6GQHDhgxpQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
jinja2
|
||||
lxml
|
||||
ncclient
|
||||
|
@ -61,9 +60,7 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"tests/unit"
|
||||
];
|
||||
pytestFlagsArray = [ "tests/unit" ];
|
||||
|
||||
disabledTests = [
|
||||
# jnpr.junos.exception.FactLoopError: A loop was detected while gathering the...
|
||||
|
@ -76,9 +73,7 @@ buildPythonPackage rec {
|
|||
"test_domain_fact_from_config"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"jnpr.junos"
|
||||
];
|
||||
pythonImportsCheck = [ "jnpr.junos" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Junos 'EZ' automation for non-programmers";
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "langchain-core";
|
||||
version = "0.1.41";
|
||||
version = "0.1.42";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
@ -25,7 +25,7 @@ buildPythonPackage rec {
|
|||
src = fetchPypi {
|
||||
pname = "langchain_core";
|
||||
inherit version;
|
||||
hash = "sha256-QAIwSIOyUa+Mt4HwHFn1au7li+Qsll273soKO/uPlq8=";
|
||||
hash = "sha256-QHUb9g6l2OKy7+ZSkNtDRxfuODSHDAAuQOKBHwnYFOY=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "langchain";
|
||||
version = "0.1.15";
|
||||
version = "0.1.16";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
@ -60,7 +60,7 @@ buildPythonPackage rec {
|
|||
owner = "langchain-ai";
|
||||
repo = "langchain";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-SjuIt3pyFOqBlWObs/sHeWvwKs1wkZsowKd74HXLiAo=";
|
||||
hash = "sha256-Xv8juma/1qGC2Rb659dJBvRzRh5W+zU+O8W6peElFGc=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/libs/langchain";
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "litellm";
|
||||
version = "1.34.29";
|
||||
version = "1.35.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
@ -42,7 +42,7 @@ buildPythonPackage rec {
|
|||
owner = "BerriAI";
|
||||
repo = "litellm";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-pY9O+zQZulI53DHbSpkjfNp09JMA4gUt6MjTg0x1ScE=";
|
||||
hash = "sha256-bFAoaKH1y+Q5JE7OEY8w5hX3+6LAgswaCx1bKYmLZX0=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
|
|
@ -111,7 +111,7 @@ rec {
|
|||
|
||||
mypy-boto3-backupstorage = buildMypyBoto3Package "backupstorage" "1.34.0" "sha256-Y8kjZ+ov8OsiJ8Sm1LlvP8YbgVc+AkLkbZIhOh4y7ZY=";
|
||||
|
||||
mypy-boto3-batch = buildMypyBoto3Package "batch" "1.34.72" "sha256-ha5OZVVcO/+slxQOPIrd+D1Ehaw6YpGqCWofSgFj5JI=";
|
||||
mypy-boto3-batch = buildMypyBoto3Package "batch" "1.34.83" "sha256-mJ6t+8ov7x8tfJNavY6qZpHxwenVGhTXy6NRlD7muPc=";
|
||||
|
||||
mypy-boto3-billingconductor = buildMypyBoto3Package "billingconductor" "1.34.1" "sha256-uXxQkoe2u3idcYta9YFbjxoK8HsvUiRQSyYrYhVi1kU=";
|
||||
|
||||
|
@ -143,7 +143,7 @@ rec {
|
|||
|
||||
mypy-boto3-cloudformation = buildMypyBoto3Package "cloudformation" "1.34.77" "sha256-mQAUGCaB+d8iV/GFBWEmwNswvxJg9s09Rs7bPPRn8K0=";
|
||||
|
||||
mypy-boto3-cloudfront = buildMypyBoto3Package "cloudfront" "1.34.0" "sha256-3n/WEiQdcE253J+CFsskoYlNMXASdzkhPTWneSHDKoM=";
|
||||
mypy-boto3-cloudfront = buildMypyBoto3Package "cloudfront" "1.34.83" "sha256-glPRMg4IS/5Mz6ckyQWgZuu9G3IlPsfA97fx41YpSw0=";
|
||||
|
||||
mypy-boto3-cloudhsm = buildMypyBoto3Package "cloudhsm" "1.34.0" "sha256-Sd/YlKNm/1VRoJ+e+3YlOf4jKoewYVGM4FNYlST+9AY=";
|
||||
|
||||
|
@ -157,11 +157,11 @@ rec {
|
|||
|
||||
mypy-boto3-cloudtrail-data = buildMypyBoto3Package "cloudtrail-data" "1.34.0" "sha256-ACiJrI+VTHr06i8PKgDY/K8houFUZQNS1lluouadCTQ=";
|
||||
|
||||
mypy-boto3-cloudwatch = buildMypyBoto3Package "cloudwatch" "1.34.75" "sha256-Q0Qz809o6FcN5OVotLLF3fgebt+2mbFnhfBCKTZO0aU=";
|
||||
mypy-boto3-cloudwatch = buildMypyBoto3Package "cloudwatch" "1.34.83" "sha256-dm4WbFtGPZiFpZKdwWu1kuD6fXvq9WmqT1AdhahIvBM=";
|
||||
|
||||
mypy-boto3-codeartifact = buildMypyBoto3Package "codeartifact" "1.34.68" "sha256-Ey0cmx0OxN1/VXIyvn0EOBP9qYIuc/XyFVZniHLaNEY=";
|
||||
|
||||
mypy-boto3-codebuild = buildMypyBoto3Package "codebuild" "1.34.81" "sha256-vpRS/1dBgUo34GX/6t2TiNsiNIudktpMKueTqZqNJhA=";
|
||||
mypy-boto3-codebuild = buildMypyBoto3Package "codebuild" "1.34.83" "sha256-nf1rO/BmEFenb/Z/bWKHRDpZVG3WZb9OPIsxcKOdATo=";
|
||||
|
||||
mypy-boto3-codecatalyst = buildMypyBoto3Package "codecatalyst" "1.34.73" "sha256-jQ/DIoWXQWo1oVWi4Gn88cxr78QCs45EVtgfc6fZkFk=";
|
||||
|
||||
|
@ -335,7 +335,7 @@ rec {
|
|||
|
||||
mypy-boto3-honeycode = buildMypyBoto3Package "honeycode" "1.34.0" "sha256-HNp/STFuMLoO4qyL0iaYeiPpnMV3uzNBNFUDgzrHt9s=";
|
||||
|
||||
mypy-boto3-iam = buildMypyBoto3Package "iam" "1.34.8" "sha256-b69oz4ABgpJGh7ZxGz+a+o2UCtmT8lmjuR5V6CiS1kE=";
|
||||
mypy-boto3-iam = buildMypyBoto3Package "iam" "1.34.83" "sha256-cmExVhZ1fr91Cd8OmwkdWULkcOtRxLI8ZioGhzqajso=";
|
||||
|
||||
mypy-boto3-identitystore = buildMypyBoto3Package "identitystore" "1.34.0" "sha256-OdJsMjraTe4qhpblBOuwr++4QfiMXtaaMHDAEOTBII4=";
|
||||
|
||||
|
@ -469,7 +469,7 @@ rec {
|
|||
|
||||
mypy-boto3-mediaconvert = buildMypyBoto3Package "mediaconvert" "1.34.81" "sha256-MGULtrMziQpOXF4eNZabcu83rR13AHBMZrN5RgkqATk=";
|
||||
|
||||
mypy-boto3-medialive = buildMypyBoto3Package "medialive" "1.34.77" "sha256-2SRqRzh96HS6KKN0Xpbf8xq2XedS1etMm316rnIpu9k=";
|
||||
mypy-boto3-medialive = buildMypyBoto3Package "medialive" "1.34.83" "sha256-VFyz2fNgx2fFFsU3843vwpZBQxGrVzNbyZWF1kv6KaY=";
|
||||
|
||||
mypy-boto3-mediapackage = buildMypyBoto3Package "mediapackage" "1.34.0" "sha256-4DJ2zVk0satmVn+TZdDExx/+ClJpc1bdmbvl72Joe5U=";
|
||||
|
||||
|
@ -521,7 +521,7 @@ rec {
|
|||
|
||||
mypy-boto3-oam = buildMypyBoto3Package "oam" "1.34.73" "sha256-MAnS/E6BKcaubeOdblitGzS7y7YUZr35M4679iJL6lE=";
|
||||
|
||||
mypy-boto3-omics = buildMypyBoto3Package "omics" "1.34.7" "sha256-Mtb11Oe2j28u+MFaycvMMNiqi7ZdVDcKQV/X/7npze4=";
|
||||
mypy-boto3-omics = buildMypyBoto3Package "omics" "1.34.83" "sha256-66IykobW8D/oemTVIGf0xw7H+mb4yNzXMQHv/dnzqGg=";
|
||||
|
||||
mypy-boto3-opensearch = buildMypyBoto3Package "opensearch" "1.34.43" "sha256-EOl56YqzuIUWlSewnVCtEdzt3Ei5yueP4emtTQq3QrA=";
|
||||
|
||||
|
@ -561,7 +561,7 @@ rec {
|
|||
|
||||
mypy-boto3-pinpoint-sms-voice-v2 = buildMypyBoto3Package "pinpoint-sms-voice-v2" "1.34.0" "sha256-Ci/nnvgq6YbVPHLZVmLDHjF8GHpViVP7mfUJREFKndg=";
|
||||
|
||||
mypy-boto3-pipes = buildMypyBoto3Package "pipes" "1.34.0" "sha256-c/N5SaT4BS0Ldv/P6yi43gB4LzDeqB9y1Xx1UAHf6dU=";
|
||||
mypy-boto3-pipes = buildMypyBoto3Package "pipes" "1.34.83" "sha256-Z//eO1IEEolh+5loNBmS5R5W5sdyGt/0T88kI726PKA=";
|
||||
|
||||
mypy-boto3-polly = buildMypyBoto3Package "polly" "1.34.43" "sha256-rx5sW32N6H47fpy5yGvwlKKVKS/uIKOtLfsjoGoNPJg=";
|
||||
|
||||
|
@ -581,7 +581,7 @@ rec {
|
|||
|
||||
mypy-boto3-rbin = buildMypyBoto3Package "rbin" "1.34.0" "sha256-Y+a/p3r5IgWk4oH6MOeq0e7rMiNvLCqoz1ZE+xXNtOw=";
|
||||
|
||||
mypy-boto3-rds = buildMypyBoto3Package "rds" "1.34.81" "sha256-hpbczX8dM2lSVU0k4tNYIwYh/nlnM2FiBqE8ccg5Xf4=";
|
||||
mypy-boto3-rds = buildMypyBoto3Package "rds" "1.34.83" "sha256-/H99xDRpX9egs39pRaYkvJ3GM6syh+famJmTTRsCgYs=";
|
||||
|
||||
mypy-boto3-rds-data = buildMypyBoto3Package "rds-data" "1.34.6" "sha256-d+WXt3cSUe5ZxynSjPSJxXgv6evP/rhZrX1ua9rtSx8=";
|
||||
|
||||
|
@ -621,7 +621,7 @@ rec {
|
|||
|
||||
mypy-boto3-s3 = buildMypyBoto3Package "s3" "1.34.65" "sha256-L830Es4pJLLws021mr8GqcC75M0zYfFPDSweIRwPfd0=";
|
||||
|
||||
mypy-boto3-s3control = buildMypyBoto3Package "s3control" "1.34.18" "sha256-53s5ii1gFX9toigiazEtS5Jogg3VFFr+1/uiLzoU7Uo=";
|
||||
mypy-boto3-s3control = buildMypyBoto3Package "s3control" "1.34.83" "sha256-A0P6rAebwt9IUKTderlE8tWQJexUjthpO6KClrDbNyc=";
|
||||
|
||||
mypy-boto3-s3outposts = buildMypyBoto3Package "s3outposts" "1.34.0" "sha256-xLuGP9Fe0S7zRimt1AKd9KOrytmNd/GTRg5OVi5Xpos=";
|
||||
|
||||
|
|
|
@ -11,14 +11,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "publicsuffixlist";
|
||||
version = "0.10.0.20240403";
|
||||
version = "0.10.0.20240411";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-DQgjgr35l5I33BWLaOQTUnQpFhBMXUB0Jx4jQXbeBZU=";
|
||||
hash = "sha256-x6GOS3sqH+1ijCgovoj6ckW3aidVeXtHsGEnH/mLrHo=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
|
|
@ -1,26 +1,30 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pyserial
|
||||
, pythonOlder
|
||||
, pyusb
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pyserial,
|
||||
pythonOlder,
|
||||
pyusb,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyftdi";
|
||||
version = "0.55.0";
|
||||
format = "setuptools";
|
||||
version = "0.55.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "eblot";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-EEMHY5EKftci72huF5UmJyh2wJAc8uNh/QhGSSAVXIU=";
|
||||
repo = "pyftdi";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-InJJnbAPYlV071EkEWECJC79HLZ6SWo2VP7PqMgOGow=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
pyserial
|
||||
pyusb
|
||||
];
|
||||
|
@ -28,9 +32,7 @@ buildPythonPackage rec {
|
|||
# Tests require access to the serial port
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pyftdi"
|
||||
];
|
||||
pythonImportsCheck = [ "pyftdi" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "User-space driver for modern FTDI devices";
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "pylitterbot";
|
||||
version = "2023.4.9";
|
||||
version = "2023.4.11";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
|||
owner = "natekspencer";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-QsxzwmAdhx0diPJ/bT+DgJSs70YQ77M76rq2opMq/Ew=";
|
||||
hash = "sha256-OTyQgcGGNktCgYJN33SZn7La7ec+gwR/yVDuH7kcEh4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-roborock";
|
||||
version = "1.0.0";
|
||||
version = "2.0.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
@ -29,12 +29,12 @@ buildPythonPackage rec {
|
|||
owner = "humbertogontijo";
|
||||
repo = "python-roborock";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-izstUq7ICFNJ9v8+uB7JeMuzmOazP22As5VKDinXemU=";
|
||||
hash = "sha256-vtT6hsyiP1FxWo5PezcjJACknCT9JEhqSQ6C4FpU+Jg=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "poetry-core==1.8.0" "poetry-core"
|
||||
--replace-fail "poetry-core==1.8.0" "poetry-core"
|
||||
'';
|
||||
|
||||
pythonRelaxDeps = [ "pycryptodome" ];
|
||||
|
|
|
@ -97,6 +97,6 @@ buildPythonPackage rec {
|
|||
description = "A small, flexible, scriptable tiling window manager written in Python";
|
||||
mainProgram = "qtile";
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ kamilchm arjan-s ];
|
||||
maintainers = with maintainers; [ arjan-s ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,36 +1,36 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, mock
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools-scm
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
mock,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools-scm,
|
||||
typing-extensions,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sievelib";
|
||||
version = "1.3.0";
|
||||
format = "setuptools";
|
||||
version = "1.4.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-MxPX8fP4Mkq2qOISnknXbuCN8NQ+L1UOaBuPEuP0TNE=";
|
||||
hash = "sha256-eM8es/WZENFBASjOk1KVbbwkmzxTr7NirOiSLt7F3N8=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools-scm
|
||||
];
|
||||
build-system = [ setuptools-scm ];
|
||||
|
||||
dependencies = [ typing-extensions ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"sievelib"
|
||||
];
|
||||
pythonImportsCheck = [ "sievelib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Client-side Sieve and Managesieve library";
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, poetry-core
|
||||
, pythonOlder
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
poetry-core,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "std-uritemplate";
|
||||
version = "0.0.55";
|
||||
version = "0.0.56";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
@ -15,19 +16,15 @@ buildPythonPackage rec {
|
|||
src = fetchPypi {
|
||||
pname = "std_uritemplate";
|
||||
inherit version;
|
||||
hash = "sha256-kHP1anfkTQWD+2ZFw35KZAo08iolXQDjeTzT8w2limg=";
|
||||
hash = "sha256-85dldY+2WB+Hn6fBBHoKJ7fIe7fDyddYxAjDD83lHGc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
# Module doesn't have unittest, only functional tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"stduritemplate"
|
||||
];
|
||||
pythonImportsCheck = [ "stduritemplate" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Std-uritemplate implementation for Python";
|
||||
|
|
|
@ -4,7 +4,7 @@ with python3.pkgs;
|
|||
|
||||
buildPythonApplication rec {
|
||||
pname = "check-jsonschema";
|
||||
version = "0.28.1";
|
||||
version = "0.28.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
@ -13,7 +13,7 @@ buildPythonApplication rec {
|
|||
owner = "python-jsonschema";
|
||||
repo = "check-jsonschema";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-JUb6jrbO1dylqOiDUDgYpMsXtMw7vErw6NJNyvfJIoM=";
|
||||
hash = "sha256-QHcpcpICYqQUUCkLAV4BpDYn7Te/TGbXFPgr8Emp0ew=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
|
@ -25,11 +25,11 @@ in
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "liquibase";
|
||||
version = "4.26.0";
|
||||
version = "4.27.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/liquibase/liquibase/releases/download/v${version}/${pname}-${version}.tar.gz";
|
||||
hash = "sha256-RoULX9IcVI+WklPLvJfcbIRhmKgiVYHjr1NGrIqn2/I=";
|
||||
hash = "sha256-UNieH8ECSb8ZjxqP8tgf0LaObKCAXbKKlNOGSXhNgvA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
|
|
@ -6,13 +6,13 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "melange";
|
||||
version = "0.6.9";
|
||||
version = "0.6.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "chainguard-dev";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-txyfoGl0MPMHQFOhdCQPVSLveYBVFIiDxJct1W6xYKM=";
|
||||
hash = "sha256-/P85vrcKWZHXNUIlzLpc9v0I5KEL7HUyr1SM2207l7o=";
|
||||
# populate values that require us to use git. By doing this in postFetch we
|
||||
# can delete .git afterwards and maintain better reproducibility of the src.
|
||||
leaveDotGit = true;
|
||||
|
@ -25,7 +25,7 @@ buildGoModule rec {
|
|||
'';
|
||||
};
|
||||
|
||||
vendorHash = "sha256-uMdphe78cEwypVZOyIvFgUJQuVQ3scd6SQc8y5Sqjdo=";
|
||||
vendorHash = "sha256-R1Fo4N5q00ePkddOJKauC6iDPGMYk15FIKEXqWy6ifQ=";
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "blackfire";
|
||||
version = "2.26.1";
|
||||
version = "2.26.3";
|
||||
|
||||
src = passthru.sources.${stdenv.hostPlatform.system} or (throw "Unsupported platform for blackfire: ${stdenv.hostPlatform.system}");
|
||||
|
||||
|
@ -57,23 +57,23 @@ stdenv.mkDerivation rec {
|
|||
sources = {
|
||||
"x86_64-linux" = fetchurl {
|
||||
url = "https://packages.blackfire.io/debian/pool/any/main/b/blackfire/blackfire_${version}_amd64.deb";
|
||||
sha256 = "Ujl9Uicz3erD6+eerlyk7JU07X9gkqVTAgEZipwWPLQ=";
|
||||
sha256 = "/U45R5eBRl+uPu7nVj4GYrJERaYEPQtBezTKXn/Np5g=";
|
||||
};
|
||||
"i686-linux" = fetchurl {
|
||||
url = "https://packages.blackfire.io/debian/pool/any/main/b/blackfire/blackfire_${version}_i386.deb";
|
||||
sha256 = "aVXxPvS8ZbMYFVg5IlUwNCJTh3mPpG/r71mHvKw/tuQ=";
|
||||
sha256 = "J77nEV6BWgu0SOexsTUN03k2ZKnPSUCFgd8+zHN55E0=";
|
||||
};
|
||||
"aarch64-linux" = fetchurl {
|
||||
url = "https://packages.blackfire.io/debian/pool/any/main/b/blackfire/blackfire_${version}_arm64.deb";
|
||||
sha256 = "I82I9+0IFPLkyfQJM1q/yYtX1QQhxPK0ZMm2tJaeDA8=";
|
||||
sha256 = "Wt5TOKKjGDp8ZUFC9Ml9EeafIVcM3eubbjiRE7A8uns=";
|
||||
};
|
||||
"aarch64-darwin" = fetchurl {
|
||||
url = "https://packages.blackfire.io/blackfire/${version}/blackfire-darwin_arm64.pkg.tar.gz";
|
||||
sha256 = "yT3zZqtP7mInyjnfaalONvMNGywGylXsmReE3kzgKVg=";
|
||||
sha256 = "7Hlw0WvIEBLl7Ft9o7jhbB8Fyi0abymUonMhZAcU0rk=";
|
||||
};
|
||||
"x86_64-darwin" = fetchurl {
|
||||
url = "https://packages.blackfire.io/blackfire/${version}/blackfire-darwin_amd64.pkg.tar.gz";
|
||||
sha256 = "TlOa7/W1ChHV4Wwu6jEp9Jxl+PA/l48Te1H+u9sfiWc=";
|
||||
sha256 = "Y/2QXiyYnT+uqy8rWGd9BesXft1hjMPlcMpkYw4qO+k=";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -10,14 +10,14 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "pest-ide-tools";
|
||||
version = "0.3.6";
|
||||
cargoSha256 = "sha256-uFcEE5Hlb0fhOH0birqeH+hOuAyZVjQOYFhoMdR8czM=";
|
||||
version = "0.3.9";
|
||||
cargoSha256 = "sha256-kFLVzsk2ML78zWoLVX/tPz+rwBPziXmfGAcVSA7GiTA=";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pest-parser";
|
||||
repo = "pest-ide-tools";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-SymtMdj7QVOEiSeTjmVidejFeGK8swnM6nfT7u18URs=";
|
||||
sha256 = "sha256-6051J3DQjI+Wp3iLn65GRmMnwOjGEtcWyXEKsT9k9fE=";
|
||||
};
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
cargo,
|
||||
rustc,
|
||||
# provided as callPackage input to enable easier overrides through overlays
|
||||
cargoHash ? "sha256-Mo94kfA4w280YdazhuVaS/vw7B0y9W/LYaHLLnV/3IE=",
|
||||
cargoHash ? "sha256-fY0mQiYS/CMThOVsWp8NgxpWfUph2dZ7hj7W5JUJ2J4=",
|
||||
}:
|
||||
mkKdeDerivation rec {
|
||||
pname = "akonadi-search";
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
cargo,
|
||||
rustc,
|
||||
# provided as callPackage input to enable easier overrides through overlays
|
||||
cargoHash ? "sha256-9l28C8rcUAro/o9SY3rA6xRsman3SrfFLjhPJhiiWfc=",
|
||||
cargoHash ? "sha256-QJZJqdixPThgiKnruKetmzhbvtY/MsGy4v+OdQiEFR8=",
|
||||
qcoro,
|
||||
}:
|
||||
mkKdeDerivation rec {
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
discount,
|
||||
alpaka,
|
||||
# provided as callPackage input to enable easier overrides through overlays
|
||||
cargoHash ? "sha256-MMCDfCtGDJ+yrfdpZEMxlSh7yWU6de/Pggw7Op7VxQI=",
|
||||
cargoHash ? "sha256-Yt1Gxw9Q1Q108YRJoUIpeNZlGjZ7yabLW3bRO4+x6Vo=",
|
||||
}:
|
||||
mkKdeDerivation rec {
|
||||
pname = "kdepim-addons";
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
|||
description = "BIRD Internet Routing Daemon";
|
||||
homepage = "http://bird.network.cz";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ globin ];
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Do not edit!
|
||||
|
||||
{
|
||||
version = "2024.4.1";
|
||||
version = "2024.4.2";
|
||||
components = {
|
||||
"3_day_blinds" = ps: with ps; [
|
||||
];
|
||||
|
@ -570,7 +570,8 @@
|
|||
"brel_home" = ps: with ps; [
|
||||
];
|
||||
"bring" = ps: with ps; [
|
||||
]; # missing inputs: bring-api
|
||||
bring-api
|
||||
];
|
||||
"broadlink" = ps: with ps; [
|
||||
broadlink
|
||||
];
|
||||
|
@ -6004,6 +6005,7 @@
|
|||
"bond"
|
||||
"bosch_shc"
|
||||
"braviatv"
|
||||
"bring"
|
||||
"broadlink"
|
||||
"brother"
|
||||
"brottsplatskartan"
|
||||
|
|
|
@ -7,13 +7,13 @@
|
|||
buildHomeAssistantComponent rec {
|
||||
owner = "danielperna84";
|
||||
domain = "homematicip_local";
|
||||
version = "1.58.0";
|
||||
version = "1.59.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "danielperna84";
|
||||
repo = "custom_homematic";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-ianM29eF2MN2THS3CTg4tBkd+8pV/m1fg8VvMDhhadg=";
|
||||
hash = "sha256-fVOx/ONE+XXluXrImZWoD630EK/FOLb/Ft/L7t2Ua8o=";
|
||||
};
|
||||
|
||||
dependencies = [
|
||||
|
|
|
@ -39,6 +39,15 @@ let
|
|||
};
|
||||
});
|
||||
|
||||
aioautomower = super.aioautomower.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "2024.3.4";
|
||||
src = fetchFromGitHub {
|
||||
inherit (oldAttrs.src) owner repo;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-dk8HfIiQOKq7Ky+vYa3wKmTS78gTw6J0yyQT2Folpp0=";
|
||||
};
|
||||
});
|
||||
|
||||
aioelectricitymaps = super.aioelectricitymaps.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.4.0";
|
||||
src = fetchFromGitHub {
|
||||
|
@ -222,6 +231,15 @@ let
|
|||
};
|
||||
});
|
||||
|
||||
jaraco-functools = super.jaraco-functools.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "3.9.0";
|
||||
src = fetchPypi {
|
||||
pname = "jaraco.functools";
|
||||
inherit version;
|
||||
hash = "sha256-ixN7D+rMF/70us7gTAEcnobyNBCZyHCh0S0743sypjg=";
|
||||
};
|
||||
});
|
||||
|
||||
lmcloud = super.lmcloud.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.4.35";
|
||||
src = fetchFromGitHub {
|
||||
|
@ -508,7 +526,7 @@ let
|
|||
extraBuildInputs = extraPackages python.pkgs;
|
||||
|
||||
# Don't forget to run parse-requirements.py after updating
|
||||
hassVersion = "2024.4.1";
|
||||
hassVersion = "2024.4.2";
|
||||
|
||||
in python.pkgs.buildPythonApplication rec {
|
||||
pname = "homeassistant";
|
||||
|
@ -526,13 +544,13 @@ in python.pkgs.buildPythonApplication rec {
|
|||
owner = "home-assistant";
|
||||
repo = "core";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-fVuScSfXFQJjHLBD7w1KsswZ4yebOzPTvXffeMlWrmo=";
|
||||
hash = "sha256-V6qvpPrhfSLINH99hYkAjvG8pfIN8AXGO3HuwiKgMPo=";
|
||||
};
|
||||
|
||||
# Secondary source is pypi sdist for translations
|
||||
sdist = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-nMzB0qQrYRxJA1p4L4OZW25WRQBQ2hq/yZs5f3AcdAU=";
|
||||
hash = "sha256-ZtTlLRDSXKUz+ZA+UctFL+d3wdKrcPdeROIUhS35qWU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python.pkgs; [
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "homeassistant-stubs";
|
||||
version = "2024.4.1";
|
||||
version = "2024.4.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = python.version != home-assistant.python.version;
|
||||
|
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
|||
owner = "KapJI";
|
||||
repo = "homeassistant-stubs";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-aEQgHs7ldYvTbR+OypQg9tLYyxLIPYWYEUnw+X027x8=";
|
||||
hash = "sha256-qt7NBbjjeiNcHOM6wKI7Y3+L579xBQJD48hU89BB+ss=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -9,13 +9,13 @@
|
|||
|
||||
buildDotnetModule rec {
|
||||
pname = "jackett";
|
||||
version = "0.21.2134";
|
||||
version = "0.21.2342";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha512-kaqHa7uvlD0twqU6/ZEp1u2OZh4v4gPi2n4lh2SXewEDHo2ffX8K91UYzphKu0aQAfIq0abDu8TlSR8JwE89lQ==";
|
||||
hash = "sha512-F1fmDe3ucnjlluyhoUhqrzO15FCvLkYJOAErgUsuIJd9Lw5v5cSANLa9ebuVzSTRscEAVwt7fRRXiJaWJInI/Q==";
|
||||
};
|
||||
|
||||
projectFile = "src/Jackett.Server/Jackett.Server.csproj";
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
{ lib, fetchFromGitHub, buildGoModule }:
|
||||
buildGoModule rec {
|
||||
pname = "vmagent";
|
||||
version = "1.99.0";
|
||||
version = "1.100.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "VictoriaMetrics";
|
||||
repo = "VictoriaMetrics";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-IHUmxdCOzvA2JL06k/ei6/OTVWHTL1TiKKYZB1hgqyA=";
|
||||
sha256 = "sha256-jrKTic80y8r/1wOR8Prqe9PG57yo8qQIGsobu0I4kTY=";
|
||||
};
|
||||
|
||||
ldflags = [ "-s" "-w" "-X github.com/VictoriaMetrics/VictoriaMetrics/lib/buildinfo.Version=${version}" ];
|
||||
|
|
|
@ -6,16 +6,16 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "nats-server";
|
||||
version = "2.10.12";
|
||||
version = "2.10.14";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nats-io";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-T0rwSa1xTPUZHkFDu9hnD2Kk1ME/vMUa4iK+Zbic6PM=";
|
||||
hash = "sha256-+DdhdW8CCMprjR2XcOntkTDh5CHtEFHYFz7Htdptw3s=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-pSjtUSbJPclsd30KLhLOkN4u6pSn307s3RohroxmExc=";
|
||||
vendorHash = "sha256-4kBXVsKf1jD3zvaAy6Rb7zmIK1WPbi31GRvRghdEC/s=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue