Merge master into staging-next
This commit is contained in:
commit
2fd5f8dd7a
@ -72,6 +72,8 @@
|
||||
|
||||
- [LibreNMS](https://www.librenms.org), a auto-discovering PHP/MySQL/SNMP based network monitoring. Available as [services.librenms](#opt-services.librenms.enable).
|
||||
|
||||
- [Livebook](https://livebook.dev/), an interactive notebook with support for Elixir, graphs, machine learning, and more.
|
||||
|
||||
- [sitespeed-io](https://sitespeed.io), a tool that can generate metrics (timings, diagnostics) for websites. Available as [services.sitespeed-io](#opt-services.sitespeed-io.enable).
|
||||
|
||||
- [stalwart-mail](https://stalw.art), an all-in-one email server (SMTP, IMAP, JMAP). Available as [services.stalwart-mail](#opt-services.stalwart-mail.enable).
|
||||
|
@ -90,9 +90,7 @@ in
|
||||
|
||||
package = lib.mkPackageOption pkgs "systemd-repart" {
|
||||
default = "systemd";
|
||||
example = lib.literalExpression ''
|
||||
pkgs.systemdMinimal.override { withCryptsetup = true; }
|
||||
'';
|
||||
example = "pkgs.systemdMinimal.override { withCryptsetup = true; }";
|
||||
};
|
||||
|
||||
partitions = lib.mkOption {
|
||||
|
@ -485,6 +485,7 @@
|
||||
./services/development/hoogle.nix
|
||||
./services/development/jupyter/default.nix
|
||||
./services/development/jupyterhub/default.nix
|
||||
./services/development/livebook.nix
|
||||
./services/development/lorri.nix
|
||||
./services/development/rstudio-server/default.nix
|
||||
./services/development/zammad.nix
|
||||
|
39
nixos/modules/services/development/livebook.md
Normal file
39
nixos/modules/services/development/livebook.md
Normal file
@ -0,0 +1,39 @@
|
||||
# Livebook {#module-services-livebook}
|
||||
|
||||
[Livebook](https://livebook.dev/) is a web application for writing
|
||||
interactive and collaborative code notebooks.
|
||||
|
||||
## Basic Usage {#module-services-livebook-basic-usage}
|
||||
|
||||
Enabling the `livebook` service creates a user
|
||||
[`systemd`](https://www.freedesktop.org/wiki/Software/systemd/) unit
|
||||
which runs the server.
|
||||
|
||||
```
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
services.livebook = {
|
||||
enableUserService = true;
|
||||
port = 20123;
|
||||
# See note below about security
|
||||
environmentFile = pkgs.writeText "livebook.env" ''
|
||||
LIVEBOOK_PASSWORD = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
|
||||
'';
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
::: {.note}
|
||||
|
||||
The Livebook server has the ability to run any command as the user it
|
||||
is running under, so securing access to it with a password is highly
|
||||
recommended.
|
||||
|
||||
Putting the password in the Nix configuration like above is an easy
|
||||
way to get started but it is not recommended in the real world because
|
||||
the `livebook.env` file will be added to the world-readable Nix store.
|
||||
A better approach would be to put the password in some secure
|
||||
user-readable location and set `environmentFile = /home/user/secure/livebook.env`.
|
||||
|
||||
:::
|
90
nixos/modules/services/development/livebook.nix
Normal file
90
nixos/modules/services/development/livebook.nix
Normal file
@ -0,0 +1,90 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.services.livebook;
|
||||
in
|
||||
{
|
||||
options.services.livebook = {
|
||||
# Since livebook doesn't have a granular permission system (a user
|
||||
# either has access to all the data or none at all), the decision
|
||||
# was made to run this as a user service. If that changes in the
|
||||
# future, this can be changed to a system service.
|
||||
enableUserService = mkEnableOption "a user service for Livebook";
|
||||
|
||||
environmentFile = mkOption {
|
||||
type = types.path;
|
||||
description = lib.mdDoc ''
|
||||
Environment file as defined in {manpage}`systemd.exec(5)` passed to the service.
|
||||
|
||||
This must contain at least `LIVEBOOK_PASSWORD` or
|
||||
`LIVEBOOK_TOKEN_ENABLED=false`. See `livebook server --help`
|
||||
for other options.'';
|
||||
};
|
||||
|
||||
erlang_node_short_name = mkOption {
|
||||
type = with types; nullOr str;
|
||||
default = null;
|
||||
example = "livebook";
|
||||
description = "A short name for the distributed node.";
|
||||
};
|
||||
|
||||
erlang_node_name = mkOption {
|
||||
type = with types; nullOr str;
|
||||
default = null;
|
||||
example = "livebook@127.0.0.1";
|
||||
description = "The name for the app distributed node.";
|
||||
};
|
||||
|
||||
port = mkOption {
|
||||
type = types.port;
|
||||
default = 8080;
|
||||
description = "The port to start the web application on.";
|
||||
};
|
||||
|
||||
address = mkOption {
|
||||
type = types.str;
|
||||
default = "127.0.0.1";
|
||||
description = lib.mdDoc ''
|
||||
The address to start the web application on. Must be a valid IPv4 or
|
||||
IPv6 address.
|
||||
'';
|
||||
};
|
||||
|
||||
options = mkOption {
|
||||
type = with types; attrsOf str;
|
||||
default = { };
|
||||
description = lib.mdDoc ''
|
||||
Additional options to pass as command-line arguments to the server.
|
||||
'';
|
||||
example = literalExpression ''
|
||||
{
|
||||
cookie = "a value shared by all nodes in this cluster";
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enableUserService {
|
||||
systemd.user.services.livebook = {
|
||||
serviceConfig = {
|
||||
Restart = "always";
|
||||
EnvironmentFile = cfg.environmentFile;
|
||||
ExecStart =
|
||||
let
|
||||
args = lib.cli.toGNUCommandLineShell { } ({
|
||||
inherit (cfg) port;
|
||||
ip = cfg.address;
|
||||
name = cfg.erlang_node_name;
|
||||
sname = cfg.erlang_node_short_name;
|
||||
} // cfg.options);
|
||||
in
|
||||
"${pkgs.livebook}/bin/livebook server ${args}";
|
||||
};
|
||||
path = [ pkgs.bash ];
|
||||
wantedBy = [ "default.target" ];
|
||||
};
|
||||
};
|
||||
|
||||
meta.doc = ./livebook.md;
|
||||
}
|
@ -306,6 +306,7 @@ in {
|
||||
forgejo = handleTest ./forgejo.nix { };
|
||||
freenet = handleTest ./freenet.nix {};
|
||||
freeswitch = handleTest ./freeswitch.nix {};
|
||||
freetube = discoverTests (import ./freetube.nix);
|
||||
freshrss-sqlite = handleTest ./freshrss-sqlite.nix {};
|
||||
freshrss-pgsql = handleTest ./freshrss-pgsql.nix {};
|
||||
frigate = handleTest ./frigate.nix {};
|
||||
@ -371,6 +372,7 @@ in {
|
||||
honk = runTest ./honk.nix;
|
||||
installed-tests = pkgs.recurseIntoAttrs (handleTest ./installed-tests {});
|
||||
invidious = handleTest ./invidious.nix {};
|
||||
livebook-service = handleTest ./livebook-service.nix {};
|
||||
oci-containers = handleTestOn ["aarch64-linux" "x86_64-linux"] ./oci-containers.nix {};
|
||||
odoo = handleTest ./odoo.nix {};
|
||||
odoo15 = handleTest ./odoo.nix { package = pkgs.odoo15; };
|
||||
|
41
nixos/tests/freetube.nix
Normal file
41
nixos/tests/freetube.nix
Normal file
@ -0,0 +1,41 @@
|
||||
let
|
||||
tests = {
|
||||
wayland = { pkgs, ... }: {
|
||||
imports = [ ./common/wayland-cage.nix ];
|
||||
services.cage.program = "${pkgs.freetube}/bin/freetube";
|
||||
virtualisation.memorySize = 2047;
|
||||
environment.variables.NIXOS_OZONE_WL = "1";
|
||||
environment.variables.DISPLAY = "do not use";
|
||||
};
|
||||
xorg = { pkgs, ... }: {
|
||||
imports = [ ./common/user-account.nix ./common/x11.nix ];
|
||||
virtualisation.memorySize = 2047;
|
||||
services.xserver.enable = true;
|
||||
services.xserver.displayManager.sessionCommands = ''
|
||||
${pkgs.freetube}/bin/freetube
|
||||
'';
|
||||
test-support.displayManager.auto.user = "alice";
|
||||
};
|
||||
};
|
||||
|
||||
mkTest = name: machine:
|
||||
import ./make-test-python.nix ({ pkgs, ... }: {
|
||||
inherit name;
|
||||
nodes = { "${name}" = machine; };
|
||||
meta.maintainers = with pkgs.lib.maintainers; [ kirillrdy ];
|
||||
enableOCR = true;
|
||||
|
||||
testScript = ''
|
||||
start_all()
|
||||
machine.wait_for_unit('graphical.target')
|
||||
machine.wait_for_text('Your Subscription list is currently empty')
|
||||
machine.send_key("ctrl-r")
|
||||
machine.wait_for_text('Your Subscription list is currently empty')
|
||||
machine.screenshot("main.png")
|
||||
machine.send_key("ctrl-comma")
|
||||
machine.wait_for_text('General Settings', timeout=30)
|
||||
machine.screenshot("preferences.png")
|
||||
'';
|
||||
});
|
||||
in
|
||||
builtins.mapAttrs (k: v: mkTest k v { }) tests
|
43
nixos/tests/livebook-service.nix
Normal file
43
nixos/tests/livebook-service.nix
Normal file
@ -0,0 +1,43 @@
|
||||
import ./make-test-python.nix ({ lib, pkgs, ... }: {
|
||||
name = "livebook-service";
|
||||
|
||||
nodes = {
|
||||
machine = { config, pkgs, ... }: {
|
||||
imports = [
|
||||
./common/user-account.nix
|
||||
];
|
||||
|
||||
services.livebook = {
|
||||
enableUserService = true;
|
||||
port = 20123;
|
||||
environmentFile = pkgs.writeText "livebook.env" ''
|
||||
LIVEBOOK_PASSWORD = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
|
||||
'';
|
||||
options = {
|
||||
cookie = "chocolate chip";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
testScript = { nodes, ... }:
|
||||
let
|
||||
user = nodes.machine.config.users.users.alice;
|
||||
sudo = lib.concatStringsSep " " [
|
||||
"XDG_RUNTIME_DIR=/run/user/${toString user.uid}"
|
||||
"sudo"
|
||||
"--preserve-env=XDG_RUNTIME_DIR"
|
||||
"-u"
|
||||
"alice"
|
||||
];
|
||||
in
|
||||
''
|
||||
machine.wait_for_unit("multi-user.target")
|
||||
|
||||
machine.succeed("loginctl enable-linger alice")
|
||||
machine.wait_until_succeeds("${sudo} systemctl --user is-active livebook.service")
|
||||
machine.wait_for_open_port(20123)
|
||||
|
||||
machine.succeed("curl -L localhost:20123 | grep 'Type password'")
|
||||
'';
|
||||
})
|
@ -5,11 +5,11 @@
|
||||
|
||||
let
|
||||
pname = "codux";
|
||||
version = "15.10.0";
|
||||
version = "15.13.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/wixplosives/codux-versions/releases/download/${version}/Codux-${version}.x86_64.AppImage";
|
||||
sha256 = "sha256-lz1dDbYq7aTGQoED07K8I9E0/XsnSlPL81/4W8Vix3E=";
|
||||
sha256 = "sha256-63t3v6abr9cZ0mKSPogevKwcFsvGh2udBPRn4k4XAd4=";
|
||||
};
|
||||
|
||||
appimageContents = appimageTools.extractType2 { inherit pname version src; };
|
||||
|
@ -38,14 +38,14 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mame";
|
||||
version = "0.259";
|
||||
version = "0.260";
|
||||
srcVersion = builtins.replaceStrings [ "." ] [ "" ] version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mamedev";
|
||||
repo = "mame";
|
||||
rev = "mame${srcVersion}";
|
||||
hash = "sha256-F8psPvwuaILXZF7dCStJApVTD9zzzBwjf1CKGelHlqE=";
|
||||
hash = "sha256-spWnaf7xXK2xzgdUagsgN5doVrpJk7EA6fzYd9FlFm0=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "tools" ];
|
||||
|
@ -10,13 +10,13 @@
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "ddcui";
|
||||
version = "0.3.0";
|
||||
version = "0.4.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rockowitz";
|
||||
repo = "ddcui";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-P8dh6k8lht1/JNILzNZEyYD8loNoJjG5869K2Hl11z8=";
|
||||
sha256 = "sha256-T4/c8K1P/o91DWJik/9HtHav948vbVa40qPdy7nKmos=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -46,7 +46,7 @@ let
|
||||
, extraPrefs ? ""
|
||||
, extraPrefsFiles ? []
|
||||
# For more information about policies visit
|
||||
# https://github.com/mozilla/policy-templates#enterprisepoliciesenabled
|
||||
# https://mozilla.github.io/policy-templates/
|
||||
, extraPolicies ? {}
|
||||
, extraPoliciesFiles ? []
|
||||
, libName ? browser.libName or "firefox" # Important for tor package or the like
|
||||
|
@ -1,15 +1,15 @@
|
||||
{
|
||||
"packageVersion": "118.0.1-1",
|
||||
"packageVersion": "119.0-5",
|
||||
"source": {
|
||||
"rev": "118.0.1-1",
|
||||
"sha256": "1wdqiif1la97w9b3xsz20xrcg2d1c0j13pdfcj7z23jz8846iqk4"
|
||||
"rev": "119.0-5",
|
||||
"sha256": "0ql4i6b4fvydiyscj8ki2pnzr67bmb3azpdm6kk5y8yyw2697230"
|
||||
},
|
||||
"settings": {
|
||||
"rev": "9c862f06f970d69e00c1035e0d4774fb44fd84a6",
|
||||
"sha256": "0ay58wrhfn0b56748phpn0ahz11ls9y8d2fd1z4zrj6dv398vlmb"
|
||||
},
|
||||
"firefox": {
|
||||
"version": "118.0.1",
|
||||
"sha512": "b1efa1afea70434dc2a18d335bb8b526883cde200f1503b8c5fd2e7db8285e6a999cfa3aac354ea1c15a91d13a46d68db37023235314240b59eb8f55e01554ad"
|
||||
"version": "119.0",
|
||||
"sha512": "4b555c444add36567fd538752b122f227cf78bb70b72c79e6d8ae8d9c2e61c3cdacfae79c37970753b8b5c7716b28c686071eb7b551773c30a76852f3550676c"
|
||||
}
|
||||
}
|
||||
|
@ -52,13 +52,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "sdrangel";
|
||||
version = "7.16.0";
|
||||
version = "7.17.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "f4exb";
|
||||
repo = "sdrangel";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-k35TZ2H8GX3gSYyb27hTY6gHHnxPkFwp1v4OJXhvV7A=";
|
||||
hash = "sha256-v2ESMFAbsYbZVVIHlGCU01QPDorUZyLiUEhexr6zF5o=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -9,13 +9,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lean4";
|
||||
version = "4.1.0";
|
||||
version = "4.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "leanprover";
|
||||
repo = "lean4";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-6qbCafG0bL5KxQt2gL6hV4PFDsEMM0UXfldeOOqxsaE=";
|
||||
hash = "sha256-56YtHCiNMP5fJoddSokEl0ws06IwetYLer4aLCnujZA=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, lib, fetchurl, appimageTools, makeWrapper, electron_22 }:
|
||||
{ stdenv, lib, fetchurl, appimageTools, makeWrapper, electron, nixosTests }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "freetube";
|
||||
@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "add96ad3509d4d5c6d8658b005dfd046963cd6bb0a4e1f3e88f726a86c05810f";
|
||||
};
|
||||
|
||||
passthru.tests = nixosTests.freetube;
|
||||
|
||||
appimageContents = appimageTools.extractType2 {
|
||||
name = "${pname}-${version}";
|
||||
inherit src;
|
||||
@ -35,9 +37,8 @@ stdenv.mkDerivation rec {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
# Electron version is set to 22 in order to match upstream
|
||||
postFixup = ''
|
||||
makeWrapper ${electron_22}/bin/electron $out/bin/${pname} \
|
||||
makeWrapper ${electron}/bin/electron $out/bin/${pname} \
|
||||
--add-flags $out/share/${pname}/resources/app.asar
|
||||
'';
|
||||
|
||||
@ -46,6 +47,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://freetubeapp.io/";
|
||||
license = licenses.agpl3Only;
|
||||
maintainers = with maintainers; [ ryneeverett alyaeanyx ];
|
||||
inherit (electron_22.meta) platforms;
|
||||
inherit (electron.meta) platforms;
|
||||
};
|
||||
}
|
||||
|
@ -41,6 +41,7 @@
|
||||
);
|
||||
|
||||
binRustcOpts = lib.concatStringsSep " " (
|
||||
[ "-C linker=${stdenv.cc}/bin/${stdenv.cc.targetPrefix}cc" ] ++
|
||||
baseRustcOpts
|
||||
);
|
||||
|
||||
|
71
pkgs/by-name/mo/monophony/package.nix
Normal file
71
pkgs/by-name/mo/monophony/package.nix
Normal file
@ -0,0 +1,71 @@
|
||||
{ lib
|
||||
, fetchFromGitLab
|
||||
, python3Packages
|
||||
, wrapGAppsHook4
|
||||
, gst_all_1
|
||||
, gobject-introspection
|
||||
, yt-dlp
|
||||
, libadwaita
|
||||
, libsoup_3
|
||||
, glib-networking
|
||||
}:
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "monophony";
|
||||
version = "2.3.1";
|
||||
format = "other";
|
||||
|
||||
sourceRoot = "source/source";
|
||||
src = fetchFromGitLab {
|
||||
owner = "zehkira";
|
||||
repo = "monophony";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-dpRTHsujaIwzgr+qY5LC9xtXz40g3akdpEiHuxiilZM=";
|
||||
};
|
||||
|
||||
pythonPath = with python3Packages; [
|
||||
mpris-server
|
||||
pygobject3
|
||||
ytmusicapi
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
python3Packages.nuitka
|
||||
gobject-introspection
|
||||
wrapGAppsHook4
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
[
|
||||
libadwaita
|
||||
# needed for gstreamer https
|
||||
libsoup_3
|
||||
glib-networking
|
||||
]
|
||||
++ (with gst_all_1; [
|
||||
gst-plugins-base
|
||||
gst-plugins-good
|
||||
gstreamer
|
||||
]);
|
||||
|
||||
installFlags = [ "prefix=$(out)" ];
|
||||
|
||||
preFixup = ''
|
||||
buildPythonPath "$pythonPath"
|
||||
gappsWrapperArgs+=(
|
||||
--prefix PYTHONPATH : "$program_PYTHONPATH"
|
||||
--prefix PATH : "${lib.makeBinPath [yt-dlp]}"
|
||||
# needed for gstreamer https
|
||||
--prefix LD_LIBRARY_PATH : "${libsoup_3.out}/lib"
|
||||
)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://gitlab.com/zehkira/monophony";
|
||||
description = "Linux app for streaming music from YouTube";
|
||||
longDescription = "Monophony is a free and open source Linux app for streaming music from YouTube. It has no ads and does not require an account.";
|
||||
license = licenses.agpl3Plus;
|
||||
mainProgram = "monophony";
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ quadradical ];
|
||||
};
|
||||
}
|
@ -2,28 +2,25 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "yggdrasil";
|
||||
version = "0.4.7";
|
||||
version = "0.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "yggdrasil-network";
|
||||
repo = "yggdrasil-go";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-01ciAutRIn4DmqlvDTXhRiuZHTtF8b6js7SUrLOjtAY=";
|
||||
sha256 = "sha256-JeeOT3fb+4+eUyWl7rAXa5+Yf1XCT20xJeCdhBC0oeo=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-hwDi59Yp92eMDqA8OD56nxsKSX2ngxs0lYdmEMLX+Oc=";
|
||||
|
||||
# Change the default location of the management socket on Linux
|
||||
# systems so that the yggdrasil system service unit does not have to
|
||||
# be granted write permission to /run.
|
||||
patches = [ ./change-runtime-dir.patch ];
|
||||
vendorHash = "sha256-yu725RgKDRmpNFNuffBFKZjZOFyzt00kKGuz696JHk0=";
|
||||
|
||||
subPackages = [ "cmd/genkeys" "cmd/yggdrasil" "cmd/yggdrasilctl" ];
|
||||
|
||||
ldflags = [
|
||||
"-X github.com/yggdrasil-network/yggdrasil-go/src/version.buildVersion=${version}"
|
||||
"-X github.com/yggdrasil-network/yggdrasil-go/src/version.buildName=${pname}"
|
||||
"-s" "-w"
|
||||
"-X github.com/yggdrasil-network/yggdrasil-go/src/config.defaultAdminListen=unix:///var/run/yggdrasil/yggdrasil.sock"
|
||||
"-s"
|
||||
"-w"
|
||||
];
|
||||
|
||||
passthru.tests.basic = nixosTests.yggdrasil;
|
@ -4,16 +4,16 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "unifont";
|
||||
version = "15.1.02";
|
||||
version = "15.1.03";
|
||||
|
||||
otf = fetchurl {
|
||||
url = "mirror://gnu/unifont/${pname}-${version}/${pname}-${version}.otf";
|
||||
hash = "sha256-fmhm74zc6wJK2f5XkDq/BRc5Lv+rCvcDRodgHCSiUQA=";
|
||||
hash = "sha256-DGRIxE0HDX/cx7mQMBmGgRrbbj7fzWDAOMlhZM1/EEw=";
|
||||
};
|
||||
|
||||
pcf = fetchurl {
|
||||
url = "mirror://gnu/unifont/${pname}-${version}/${pname}-${version}.pcf.gz";
|
||||
hash = "sha256-cCDXjSbpCe1U+Fx/xH/9NXWg6bkdRBV5AawFR0NyOHM=";
|
||||
hash = "sha256-/fogZ8mkOz/4YFZVxU3tTZfYwZw7zGizoQ3yQkF+aME=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ libfaketime xorg.fonttosfnt xorg.mkfontscale ];
|
||||
|
@ -8,6 +8,7 @@
|
||||
|
||||
inherit version;
|
||||
defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp.version ] [
|
||||
{ cases = [ (range "8.16" "8.18") (isGe "2.0.0") ]; out = "2.0.0"; }
|
||||
{ cases = [ (range "8.15" "8.18") (isGe "1.15.0") ]; out = "1.1.3"; }
|
||||
{ cases = [ (range "8.13" "8.17") (isGe "1.13.0") ]; out = "1.1.1"; }
|
||||
{ cases = [ (range "8.10" "8.15") (isGe "1.12.0") ]; out = "1.1.0"; }
|
||||
@ -16,6 +17,7 @@
|
||||
{ cases = [ (isGe "8.7") "1.10.0" ]; out = "1.0.3"; }
|
||||
] null;
|
||||
|
||||
release."2.0.0".sha256 = "sha256-SG/KVnRJz2P+ZxkWVp1dDOnc/JVgigoexKfRUh1Y0GM";
|
||||
release."1.1.3".sha256 = "sha256-xhqWpg86xbU1GbDtXXInNCTArjjPnWZctWiiasq1ScU=";
|
||||
release."1.1.1".sha256 = "sha256-ExAdC3WuArNxS+Sa1r4x5aT7ylbCvP/BZXfkdQNAvZ8=";
|
||||
release."1.1.0".sha256 = "1vyhfna5frkkq2fl1fkg2mwzpg09k3sbzxxpyp14fjay81xajrxr";
|
||||
|
@ -10,10 +10,12 @@ mkCoqDerivation {
|
||||
release."1.2.4".sha256 = "sha256-iSW2O1kuunvOqTolmGGXmsYTxo2MJYCdW3BnEhp6Ksg=";
|
||||
release."1.2.5".sha256 = "sha256-3qOPNCRjGK2UdHGMSqElpIXhAPVCklpeQgZwf9AFals=";
|
||||
release."1.3.0".sha256 = "sha256-h9pa6vaKT6jCEaIdEdcu0498Ou5kEXtZdb9P7WXK1DQ=";
|
||||
release."1.3.1".sha256 = "sha256-wBizm1hJXPYBu0tHFNScQHd22FebsJYoggT5OlhY/zM=";
|
||||
|
||||
inherit version;
|
||||
defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp.version ] [
|
||||
{ cases = [ (isGe "8.16") (isGe "2.0") ]; out = "1.3.0"; }
|
||||
{ cases = [ (isGe "8.16") (isGe "2.0") ]; out = "1.3.1"; }
|
||||
{ cases = [ (isGe "8.16") "2.0.0" ]; out = "1.3.0"; }
|
||||
{ cases = [ (isGe "8.11") (range "1.12" "1.17") ]; out = "1.2.5"; }
|
||||
{ cases = [ (isGe "8.11") (range "1.11" "1.14") ]; out = "1.2.4"; }
|
||||
{ cases = [ (isLe "8.13") (lib.pred.inter (isGe "1.11.0") (isLt "1.13")) ]; out = "1.2.3"; }
|
||||
|
@ -9,12 +9,14 @@ mkCoqDerivation {
|
||||
|
||||
defaultVersion = with lib.versions;
|
||||
lib.switch [ coq.coq-version mathcomp-algebra.version ] [
|
||||
{ cases = [ (range "8.16" "8.18") (isGe "2.0") ]; out = "1.2.2"; }
|
||||
{ cases = [ (range "8.16" "8.18") (isGe "1.15") ]; out = "1.1.1"; }
|
||||
{ cases = [ (range "8.13" "8.16") (isGe "1.12") ]; out = "1.0.0"; }
|
||||
] null;
|
||||
|
||||
release."1.0.0".sha256 = "sha256-kszARPBizWbxSQ/Iqpf2vLbxYc6AjpUCLnSNlPcNfls=";
|
||||
release."1.1.1".sha256 = "sha256-5wItMeeTRoJlRBH3zBNc2VUZn6pkDde60YAvXTx+J3U=";
|
||||
release."1.2.2".sha256 = "sha256-EU9RJGV3BvnmsX+mGH+6+MDXiGHgDI7aP5sIYiMUXTs=";
|
||||
|
||||
propagatedBuildInputs = [ mathcomp-algebra coq-elpi mathcomp-zify ];
|
||||
|
||||
|
@ -8,6 +8,7 @@ mkCoqDerivation {
|
||||
owner = "math-comp";
|
||||
inherit version;
|
||||
release = {
|
||||
"2.0.0".sha256 = "sha256-sZvfiC5+5Lg4nRhfKKqyFzovCj2foAhqaq/w9F2bdU8=";
|
||||
"1.1.4".sha256 = "sha256-8Hs6XfowbpeRD8RhMRf4ZJe2xf8kE0e8m7bPUzR/IM4=";
|
||||
"1.1.3".sha256 = "1vwmmnzy8i4f203i2s60dn9i0kr27lsmwlqlyyzdpsghvbr8h5b7";
|
||||
"1.1.2".sha256 = "0907x4nf7nnvn764q3x9lx41g74rilvq5cki5ziwgpsdgb98pppn";
|
||||
@ -19,6 +20,7 @@ mkCoqDerivation {
|
||||
};
|
||||
|
||||
defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp.version ] [
|
||||
{ cases = [ (isGe "8.16") (isGe "2.0.0") ]; out = "2.0.0"; }
|
||||
{ cases = [ (isGe "8.13") (isGe "1.13.0") ]; out = "1.1.4"; }
|
||||
{ cases = [ (isGe "8.13") (isGe "1.12.0") ]; out = "1.1.3"; }
|
||||
{ cases = [ (isGe "8.10") (isGe "1.12.0") ]; out = "1.1.2"; }
|
||||
|
@ -8,8 +8,9 @@
|
||||
owner = "math-comp";
|
||||
|
||||
inherit version;
|
||||
defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp.version ] [
|
||||
{ cases = [ (isGe "8.16") (isGe "2.0.0") ]; out = "2.0.0"; }
|
||||
defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp.version ] [
|
||||
{ cases = [ (isGe "8.16") (isGe "2.1.0") ]; out = "2.1.0"; }
|
||||
{ cases = [ (isGe "8.16") "2.0.0" ]; out = "2.0.0"; }
|
||||
{ cases = [ (isGe "8.15") (range "1.15.0" "1.17.0") ]; out = "1.6.0"; }
|
||||
{ cases = [ (isGe "8.10") (range "1.13.0" "1.17.0") ]; out = "1.5.6"; }
|
||||
{ cases = [ (range "8.10" "8.16") (range "1.12.0" "1.15.0") ]; out = "1.5.5"; }
|
||||
@ -20,6 +21,7 @@
|
||||
{ cases = [ "8.6" (range "1.6" "1.7") ]; out = "1.1"; }
|
||||
] null;
|
||||
release = {
|
||||
"2.1.0".sha256 = "sha256-QT91SBJ6DXhyg4j/okTvPP6yj2DnnPbnSlJ/p8pvZbY=";
|
||||
"2.0.0".sha256 = "sha256-2zWHzMBsO2j8EjN7CgCmKQcku9Be8aVlme0LD5p4ab8=";
|
||||
"1.6.0".sha256 = "sha256-lEM+sjqajIOm1c3lspHqcSIARgMR9RHbTQH4veHLJfU=";
|
||||
"1.5.6".sha256 = "sha256-cMixgc34T9Ic6v+tYmL49QUNpZpPV5ofaNuHqblX6oY=";
|
||||
|
@ -1,20 +1,22 @@
|
||||
{ lib, mkCoqDerivation, coq, ssreflect, version ? null }:
|
||||
{ lib, mkCoqDerivation, coq, mathcomp, version ? null }:
|
||||
|
||||
mkCoqDerivation {
|
||||
pname = "reglang";
|
||||
|
||||
releaseRev = v: "v${v}";
|
||||
|
||||
release."1.2.0".sha256 = "sha256-gSqQ7D2HLwM4oYopTWkMFYfYXxsH/7VxI3AyrLwNf3o=";
|
||||
release."1.1.3".sha256 = "sha256-kaselYm8K0JBsTlcI6K24m8qpv8CZ9+VNDJrOtFaExg=";
|
||||
release."1.1.2".sha256 = "sha256-SEnMilLNxh6a3oiDNGLaBr8quQ/nO2T9Fwdf/1il2Yk=";
|
||||
|
||||
inherit version;
|
||||
defaultVersion = with lib.versions; lib.switch coq.coq-version [
|
||||
{ case = range "8.10" "8.18"; out = "1.1.3"; }
|
||||
defaultVersion = with lib.versions; lib.switch [ coq.coq-version mathcomp.version ] [
|
||||
{ cases = [ (range "8.16" "8.18") (isGe "2.0.0") ]; out = "1.2.0"; }
|
||||
{ cases = [ (range "8.10" "8.18") (isLt "2.0.0") ]; out = "1.1.3"; }
|
||||
] null;
|
||||
|
||||
|
||||
propagatedBuildInputs = [ ssreflect ];
|
||||
propagatedBuildInputs = [ mathcomp.ssreflect ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Regular Language Representations in Coq";
|
||||
|
@ -3,20 +3,15 @@
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "libbap";
|
||||
version = "master-2020-11-25";
|
||||
version = "master-2022-07-13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "BinaryAnalysisPlatform";
|
||||
repo = "bap-bindings";
|
||||
rev = "3193cb31e1b1f2455406ea0c819dad9dfa2ba10d";
|
||||
sha256 = "0m4spva3z6fgbwlg4zq53l5p227dic893q2qq65pvzxyf7k7nmil";
|
||||
rev = "4d324dd794f8e022e8eddecbb2ae2e7b28173947";
|
||||
hash = "sha256-la47HR+i99ueDEWR91YIXGdKflpE1E0qmmJjeowmGSI=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile.in \
|
||||
--replace "-linkpkg" "-thread -linkpkg"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook which ocaml findlib ];
|
||||
buildInputs = [ bap ctypes ];
|
||||
|
||||
|
@ -47,7 +47,6 @@ stdenv.mkDerivation rec {
|
||||
badPlatforms = flatten [
|
||||
systems.inspect.platformPatterns.isStatic
|
||||
systems.inspect.patterns.isMusl
|
||||
systems.inspect.patterns.isAarch64
|
||||
];
|
||||
};
|
||||
}
|
||||
|
@ -6,13 +6,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "vapoursynth";
|
||||
version = "64";
|
||||
version = "65";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vapoursynth";
|
||||
repo = "vapoursynth";
|
||||
rev = "R${version}";
|
||||
sha256 = "sha256-EdIe0hWsx0W9+03O0Avk4DV2jKv8s4wGAKk0NxIAuTU=";
|
||||
sha256 = "sha256-HrTXhRoKSFeLXYQM7W2FvYf7yCD1diSZGtPop9urrSk=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -2,28 +2,28 @@
|
||||
, buildDunePackage
|
||||
, fetchurl
|
||||
, xmlm
|
||||
, lwt
|
||||
, eio
|
||||
, logs
|
||||
, fmt
|
||||
, cstruct
|
||||
, cmdliner
|
||||
, alcotest-lwt
|
||||
, alcotest
|
||||
, eio_main
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "wayland";
|
||||
version = "1.1";
|
||||
version = "2.0";
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
duneVersion = "3";
|
||||
minimalOCamlVersion = "5.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/talex5/ocaml-wayland/releases/download/v${version}/wayland-${version}.tbz";
|
||||
sha256 = "0b7czgh08i6xcx3fsz6vd19sfyngwi0i27jdzg8cnjgrgwnagv6d";
|
||||
hash = "sha256-iCG1zk1tA7gdGGt78c3sQi0NN9Fh3HsCP4cy7Y3pg0s=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
lwt
|
||||
eio
|
||||
logs
|
||||
fmt
|
||||
cstruct
|
||||
@ -35,7 +35,8 @@ buildDunePackage rec {
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
alcotest-lwt
|
||||
alcotest
|
||||
eio_main
|
||||
];
|
||||
doCheck = true;
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aemet-opendata";
|
||||
version = "0.4.5";
|
||||
version = "0.4.6";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
owner = "Noltari";
|
||||
repo = "AEMET-OpenData";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-rjHiDn8//zjFR27RTGGWZCxKI6pDXu47DFINV8Tq7ZM=";
|
||||
hash = "sha256-eAHj37d0akxSz4rnf9f0tDknJQe//cMg0Korp1rtxfQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiowithings";
|
||||
version = "1.0.0";
|
||||
version = "1.0.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
owner = "joostlek";
|
||||
repo = "python-withings";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-3necwO/EpjWD1fAItqsZJKgv0CIBklxcM1jNRPxhSVY=";
|
||||
hash = "sha256-6yfhAMQIwhjKXlnN58bL9It8q6CXH9RxKBkB8BfSY1o=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "geniushub-client";
|
||||
version = "0.7.0";
|
||||
version = "0.7.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
owner = "manzanotti";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-amsMZjCsPI8CUfSct4uumn8nVZDESlQFh19LXu3yb7o=";
|
||||
hash = "sha256-Gq2scYos7E8me1a4x7NanHRq2eYWuU2uSUwM+O1TPb8=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -11,16 +11,13 @@
|
||||
, dataclasses-json
|
||||
, jsonpatch
|
||||
, langsmith
|
||||
, numexpr
|
||||
, numpy
|
||||
, openapi-schema-pydantic
|
||||
, pydantic
|
||||
, pyyaml
|
||||
, requests
|
||||
, sqlalchemy
|
||||
, tenacity
|
||||
# optional dependencies
|
||||
, anthropic
|
||||
, atlassian-python-api
|
||||
, azure-core
|
||||
, azure-cosmos
|
||||
@ -56,6 +53,7 @@
|
||||
, pgvector
|
||||
, pinecone-client
|
||||
, psycopg2
|
||||
, pymongo
|
||||
, pyowm
|
||||
, pypdf
|
||||
, pytesseract
|
||||
@ -65,11 +63,10 @@
|
||||
, redis
|
||||
, requests-toolbelt
|
||||
, sentence-transformers
|
||||
, spacy
|
||||
, steamship
|
||||
, tiktoken
|
||||
, torch
|
||||
, transformers
|
||||
, typer
|
||||
, weaviate-client
|
||||
, wikipedia
|
||||
# test dependencies
|
||||
@ -88,8 +85,8 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "langchain";
|
||||
version = "0.0.320";
|
||||
format = "pyproject";
|
||||
version = "0.0.325";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
@ -97,7 +94,7 @@ buildPythonPackage rec {
|
||||
owner = "hwchase17";
|
||||
repo = "langchain";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Yw3gGt/OvrQ4IYauFUt6pBWOecy+PaWiGXoo5dWev5M=";
|
||||
hash = "sha256-/bk4RafDDL4nozyFOiikyU4auBSftej21m5/FnEtDog=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/libs/langchain";
|
||||
@ -117,11 +114,9 @@ buildPythonPackage rec {
|
||||
requests
|
||||
pyyaml
|
||||
numpy
|
||||
openapi-schema-pydantic
|
||||
dataclasses-json
|
||||
tenacity
|
||||
aiohttp
|
||||
numexpr
|
||||
langsmith
|
||||
anyio
|
||||
jsonpatch
|
||||
@ -131,18 +126,15 @@ buildPythonPackage rec {
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
llms = [
|
||||
anthropic
|
||||
clarifai
|
||||
cohere
|
||||
openai
|
||||
# openllm
|
||||
# openlm
|
||||
nlpcloud
|
||||
huggingface-hub
|
||||
manifest-ml
|
||||
torch
|
||||
transformers
|
||||
# xinference
|
||||
];
|
||||
qdrant = [
|
||||
qdrant-client
|
||||
@ -180,13 +172,11 @@ buildPythonPackage rec {
|
||||
# azure-search-documents
|
||||
];
|
||||
all = [
|
||||
anthropic
|
||||
clarifai
|
||||
cohere
|
||||
openai
|
||||
nlpcloud
|
||||
huggingface-hub
|
||||
# jina
|
||||
manifest-ml
|
||||
elasticsearch
|
||||
opensearch-py
|
||||
@ -194,7 +184,6 @@ buildPythonPackage rec {
|
||||
faiss
|
||||
sentence-transformers
|
||||
transformers
|
||||
spacy
|
||||
nltk
|
||||
wikipedia
|
||||
beautifulsoup4
|
||||
@ -203,6 +192,8 @@ buildPythonPackage rec {
|
||||
jinja2
|
||||
pinecone-client
|
||||
# pinecone-text
|
||||
# marqo
|
||||
pymongo
|
||||
weaviate-client
|
||||
redis
|
||||
google-api-python-client
|
||||
@ -236,7 +227,6 @@ buildPythonPackage rec {
|
||||
# O365
|
||||
jq
|
||||
# docarray
|
||||
steamship
|
||||
pdfminer-six
|
||||
lxml
|
||||
requests-toolbelt
|
||||
@ -250,14 +240,15 @@ buildPythonPackage rec {
|
||||
# tigrisdb
|
||||
# nebula3-python
|
||||
# awadb
|
||||
# esprima
|
||||
# octoai-sdk
|
||||
esprima
|
||||
rdflib
|
||||
# amadeus
|
||||
# xinference
|
||||
librosa
|
||||
python-arango
|
||||
];
|
||||
cli = [
|
||||
typer
|
||||
];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "langsmith";
|
||||
version = "0.0.49";
|
||||
version = "0.0.53";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
owner = "langchain-ai";
|
||||
repo = "langsmith-sdk";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-vOa9FNzeJB8QgJ6FW+4vxNfDnBbrKtByIwW3sGP8/ho=";
|
||||
hash = "sha256-5w6bCNYoZAIrFkruw7E3Tw0G0no05x/g2hHESC3T2lw=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/python";
|
||||
@ -44,6 +44,11 @@ buildPythonPackage rec {
|
||||
disabledTests = [
|
||||
# These tests require network access
|
||||
"integration_tests"
|
||||
# due to circular import
|
||||
"test_as_runnable"
|
||||
"test_as_runnable_batch"
|
||||
"test_as_runnable_async"
|
||||
"test_as_runnable_async_batch"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
|
41
pkgs/development/python-modules/mpris-server/default.nix
Normal file
41
pkgs/development/python-modules/mpris-server/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, emoji
|
||||
, pydbus
|
||||
, pygobject3
|
||||
, unidecode
|
||||
, setuptools
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "mpris-server";
|
||||
version = "0.4.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "mpris_server";
|
||||
inherit version;
|
||||
hash = "sha256-p3nM80fOMtRmeKvOXuX40Fu9xH8gPgYyneXbUS678fE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
emoji
|
||||
pydbus
|
||||
pygobject3
|
||||
unidecode
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "mpris_server" ];
|
||||
|
||||
# upstream has no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Publish a MediaPlayer2 MPRIS device to D-Bus";
|
||||
homepage = "https://pypi.org/project/mpris-server/";
|
||||
license = licenses.agpl3Only;
|
||||
maintainers = with maintainers; [ quadradical ];
|
||||
};
|
||||
}
|
15
pkgs/development/python-modules/nuitka/darwin-lto.patch
Normal file
15
pkgs/development/python-modules/nuitka/darwin-lto.patch
Normal file
@ -0,0 +1,15 @@
|
||||
diff --git a/nuitka/build/SconsCompilerSettings.py b/nuitka/build/SconsCompilerSettings.py
|
||||
index 319b72c4e..89d40f2a2 100644
|
||||
--- a/nuitka/build/SconsCompilerSettings.py
|
||||
+++ b/nuitka/build/SconsCompilerSettings.py
|
||||
@@ -173,8 +173,8 @@ def _enableLtoSettings(
|
||||
lto_mode = False
|
||||
reason = "known to be not supported (CondaCC)"
|
||||
elif isMacOS() and env.gcc_mode and env.clang_mode:
|
||||
- lto_mode = True
|
||||
- reason = "known to be supported (macOS clang)"
|
||||
+ lto_mode = False
|
||||
+ reason = "known to not be supported (macOS nix clang)"
|
||||
elif env.mingw_mode and env.clang_mode:
|
||||
lto_mode = False
|
||||
reason = "known to not be supported (new MinGW64 Clang)"
|
@ -1,5 +1,4 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, ccache
|
||||
, fetchFromGitHub
|
||||
@ -22,6 +21,9 @@ buildPythonPackage rec {
|
||||
hash = "sha256-spa3V9KEjqmwnHSuxLLIu9hJk5PrRwNyOw72sfxBVKo=";
|
||||
};
|
||||
|
||||
# default lto off for darwin
|
||||
patches = [ ./darwin-lto.patch ];
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
nativeCheckInputs = [ ccache ];
|
||||
|
||||
@ -44,8 +46,6 @@ buildPythonPackage rec {
|
||||
disabled = isPyPy;
|
||||
|
||||
meta = with lib; {
|
||||
# tests fail with linker errors on darwin
|
||||
broken = stdenv.isDarwin;
|
||||
description = "Python compiler with full language support and CPython compatibility";
|
||||
license = licenses.asl20;
|
||||
homepage = "https://nuitka.net/";
|
||||
|
@ -1,20 +1,43 @@
|
||||
{ lib
|
||||
, python
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, wheel
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "objsize";
|
||||
version = "0.6.1";
|
||||
version = "0.7.0";
|
||||
pyproject= true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "liran-funaro";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-FgRB7EENwNOlC7ynIRxcwucoywNjko494s75kOp5O+w=";
|
||||
repo = "objsize";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-wy4Tj+Q+4zymRdoN8Z7wcazJTb2lQ+XHY1Kta02R3R0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"objsize"
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"test_objsize.py"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Traversal over objects subtree and calculate the total size";
|
||||
homepage = "https://github.com/liran-funaro/objsize";
|
||||
|
@ -31,7 +31,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ocrmypdf";
|
||||
version = "15.2.0";
|
||||
version = "15.3.1";
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
@ -47,7 +47,7 @@ buildPythonPackage rec {
|
||||
postFetch = ''
|
||||
rm "$out/.git_archival.txt"
|
||||
'';
|
||||
hash = "sha256-XeO/obDP2tv/HKZLa0Absv26m+oUIup/IBMFZP8/1VQ=";
|
||||
hash = "sha256-Yngx9hH/4yftClNqM/yyrOCPH0+4Bl9GIEGjawLdy0s=";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
@ -1,44 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, pydantic
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "openapi-schema-pydantic";
|
||||
version = "1.2.4";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-PiLPWLdKafdSzH5fFTf25EFkKC2ycAy7zTu5nd0GUZY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pydantic
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# these tests are broken with `pydantic >= 1.10`
|
||||
# but this library seems to work fine.
|
||||
# e.g. https://github.com/hwchase17/langchain/blob/d86ed15d8884d5a3f120a433b9dda065647e4534/poetry.lock#L6011-L6012
|
||||
"test_pydantic_discriminator_schema_generation"
|
||||
"test_pydantic_discriminator_openapi_generation"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "OpenAPI (v3) specification schema as pydantic class";
|
||||
homepage = "https://github.com/kuimono/openapi-schema-pydantic";
|
||||
changelog = "https://github.com/kuimono/openapi-schema-pydantic/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ natsukium ];
|
||||
};
|
||||
}
|
@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "opower";
|
||||
version = "0.0.37";
|
||||
version = "0.0.38";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
owner = "tronikos";
|
||||
repo = "opower";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-hfHKn3A1Uo0GAHOwzCuOM2FlIyyGBUefQAKX9TJZzHw=";
|
||||
hash = "sha256-NX4w5id/XJfleHJd1fa1XcvekwhtWMaEyhbY253SMOo=";
|
||||
};
|
||||
|
||||
pythonRemoveDeps = [
|
||||
|
@ -2,71 +2,58 @@
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
|
||||
, setuptools
|
||||
|
||||
, cmdstanpy
|
||||
, numpy
|
||||
, matplotlib
|
||||
, pandas
|
||||
, lunarcalendar
|
||||
, convertdate
|
||||
, holidays
|
||||
, python-dateutil
|
||||
, tqdm
|
||||
, importlib-resources
|
||||
|
||||
, dask
|
||||
, distributed
|
||||
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "prophet";
|
||||
version = "1.1.4";
|
||||
format = "pyproject";
|
||||
version = "1.1.5";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "facebook";
|
||||
repo = "prophet";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-pbJ0xL5wDZ+rKgtQQTJPsB1Mu2QXo3S9MMpiYkURsz0=";
|
||||
rev = version;
|
||||
hash = "sha256-liTg5Hm+FPpRQajBnnJKBh3JPGyu0Hflntf0isj1FiQ=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# TODO: remove when bumping version from 1.1.4
|
||||
(fetchpatch {
|
||||
name = "fix-stan-file-temp-dest.patch";
|
||||
url = "https://github.com/facebook/prophet/commit/374676500795aec9d5cbc7fe5f7a96bf00489809.patch";
|
||||
hash = "sha256-sfiQ2V3ZEF0WM9oM1FkL/fhZesQJ1i2EUPYJMdDA2UM=";
|
||||
relative = "python";
|
||||
})
|
||||
];
|
||||
|
||||
sourceRoot = "${src.name}/python";
|
||||
sourceRoot = "source/python";
|
||||
|
||||
env.PROPHET_REPACKAGE_CMDSTAN = "false";
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
# TODO: update when bumping version from 1.1.4
|
||||
propagatedBuildInputs = [
|
||||
cmdstanpy
|
||||
numpy
|
||||
matplotlib
|
||||
pandas
|
||||
lunarcalendar
|
||||
convertdate
|
||||
holidays
|
||||
python-dateutil
|
||||
tqdm
|
||||
importlib-resources
|
||||
];
|
||||
|
||||
passthru.optional-dependencies.parallel = [ dask distributed ] ++ dask.optional-dependencies.dataframe;
|
||||
|
||||
preCheck = ''
|
||||
# the generated stan_model directory only exists in build/lib*
|
||||
cd build/lib*
|
||||
# use the generated files from $out for testing
|
||||
mv prophet/tests .
|
||||
rm -r prophet
|
||||
'';
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
@ -74,11 +61,11 @@ buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "prophet" ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://facebook.github.io/prophet/";
|
||||
changelog = "https://github.com/facebook/prophet/releases/tag/${src.rev}";
|
||||
description = "A tool for producing high quality forecasts for time series data that has multiple seasonality with linear or non-linear growth";
|
||||
changelog = "https://github.com/facebook/prophet/releases/tag/v${version}";
|
||||
homepage = "https://facebook.github.io/prophet/";
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ tomasajt ];
|
||||
platforms = lib.platforms.linux; # cmdstanpy doesn't currently build on darwin
|
||||
};
|
||||
}
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pydata-sphinx-theme";
|
||||
version = "0.14.2";
|
||||
version = "0.14.3";
|
||||
|
||||
format = "wheel";
|
||||
|
||||
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
dist = "py3";
|
||||
python = "py3";
|
||||
pname = "pydata_sphinx_theme";
|
||||
hash = "sha256-CYGEyTLDcQZzfhixUnt0GlPhkyfsBLXLxWQlml6ydlA=";
|
||||
hash = "sha256-t+QM11ogRJrf4tdSW+N5uf6S9tMeUjPkSfo03c1DmNk=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -1,23 +1,28 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, requests
|
||||
, future
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pysignalclirestapi";
|
||||
version = "0.3.18";
|
||||
version = "0.3.21";
|
||||
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bbernhard";
|
||||
repo = "pysignalclirestapi";
|
||||
rev = version;
|
||||
hash = "sha256-BF4BmnQVfrj7f0N+TN/d7GNuDTbDQfwsCkUn2pVmMWo=";
|
||||
hash = "sha256-CAZ6UgGz7ZDXlQlngi+hEhczOphvAT/Yl9vLqnrS1Qc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
future
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-roborock";
|
||||
version = "0.35.0";
|
||||
version = "0.35.3";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
@ -29,7 +29,7 @@ buildPythonPackage rec {
|
||||
owner = "humbertogontijo";
|
||||
repo = "python-roborock";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-tZUsDBEvcLGTw/CqcxVWlrXwxlGsGdDeQzSym9BurxM=";
|
||||
hash = "sha256-3XTVHs+mLePudLnr+bAN4pHvHtUcE0D5Hw+50Vxhlzw=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -9,14 +9,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytrafikverket";
|
||||
version = "0.3.7";
|
||||
version = "0.3.8";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-9s4KbYFhQVf+16GT4hbGkmwxQhtMu60SwrLWHbdJXAY=";
|
||||
hash = "sha256-3p2tKFuzgl+VFRRXV66MRgcL1XS8xxDqMOUZw+Ql/5E=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -1,34 +1,33 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchpatch
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, buildPythonPackage
|
||||
, qcodes
|
||||
, fetchPypi
|
||||
, h5py
|
||||
, hickle
|
||||
, hypothesis
|
||||
, ipython
|
||||
, lazy-loader
|
||||
, matplotlib
|
||||
, numpy
|
||||
, pandas
|
||||
, pyqt5
|
||||
, pyqtgraph
|
||||
, pytest-mock
|
||||
, pytest-xdist
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, qcodes
|
||||
, setuptools
|
||||
, slack-sdk
|
||||
, versioningit
|
||||
, wheel
|
||||
, xarray
|
||||
, hickle
|
||||
, ipython
|
||||
, slack-sdk
|
||||
, hypothesis
|
||||
, pytest-xdist
|
||||
, pytest-mock
|
||||
, pyqtgraph
|
||||
, pyqt5
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "qcodes-loop";
|
||||
version = "0.1.2";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
@ -38,15 +37,6 @@ buildPythonPackage rec {
|
||||
hash = "sha256-TizNSC49n4Xc2BmJNziARlVXYQxp/LtwmKpgqQkQ3a8=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/QCoDeS/Qcodes_loop/pull/39
|
||||
(fetchpatch {
|
||||
name = "relax-versioningit-dependency.patch";
|
||||
url = "https://github.com/QCoDeS/Qcodes_loop/commit/58006d3fb57344ae24dd44bceca98004617b5b57.patch";
|
||||
hash = "sha256-mSlm/Ql8e5xPL73ifxSoVc9+U58AAcAmBkdW5P6zEsg=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
versioningit
|
||||
@ -82,11 +72,8 @@ buildPythonPackage rec {
|
||||
pyqt5
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "qcodes_loop" ];
|
||||
|
||||
disabledTestPaths = [
|
||||
# test broken in 0.1.1, see https://github.com/QCoDeS/Qcodes_loop/pull/25
|
||||
"src/qcodes_loop/tests/test_hdf5formatter.py"
|
||||
pythonImportsCheck = [
|
||||
"qcodes_loop"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
@ -96,6 +83,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Features previously in QCoDeS";
|
||||
homepage = "https://github.com/QCoDeS/Qcodes_loop";
|
||||
changelog = "https://github.com/QCoDeS/Qcodes_loop/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ evilmav ];
|
||||
# Some tests fail on this platform
|
||||
|
@ -18,7 +18,7 @@
|
||||
, pympler
|
||||
, python-dateutil
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, setuptools
|
||||
, requests
|
||||
, rich
|
||||
, tenacity
|
||||
@ -32,21 +32,18 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "streamlit";
|
||||
version = "1.27.2";
|
||||
format = "setuptools";
|
||||
version = "1.28.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version format;
|
||||
hash = "sha256-M/muDeW31ZzX2rqHdUxU7IN6dsJKz8QdH45RSPIJA+4=";
|
||||
inherit pname version;
|
||||
hash = "sha256-vm/SQOKQvip5hXsa14IrU6PJDxXPbOl9iev02ALX7bE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"pillow"
|
||||
"pydeck"
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -15,14 +15,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "unearth";
|
||||
version = "0.11.2";
|
||||
version = "0.12.1";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-DrWogA/aBhDglf73aLSNR8hYybhBenha9kcEbC317Ss=";
|
||||
hash = "sha256-TKrZQbYPUeUP3BCYZiNNQHkQrvd/EjOqG2tdFox0J+4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -58,7 +58,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
preConfigure = lib.optionalString stdenv.isFreeBSD ''
|
||||
substituteInPlace configure --replace '`uname -r`' \
|
||||
${toString stdenv.hostPlatform.parsed.kernel.version}.0
|
||||
${toString stdenv.hostPlatform.parsed.kernel.version}.0-
|
||||
'' + lib.optionalString stdenv.isDarwin (
|
||||
let OSRELEASE = ''
|
||||
$(awk -F '"' '/#define OSRELEASE/{ print $2 }' \
|
||||
|
@ -1,59 +1,87 @@
|
||||
{ stdenv, lib, callPackage, fetchurl }:
|
||||
{ stdenv, lib, fetchurl, testers, infisical, installShellFiles }:
|
||||
|
||||
# this expression is mostly automated, and you are STRONGLY
|
||||
# RECOMMENDED to use to nix-update for updating this expression when new
|
||||
# releases come out, which runs the sibling `update.sh` script.
|
||||
#
|
||||
# from the root of the nixpkgs git repository, run:
|
||||
#
|
||||
# nix-shell maintainers/scripts/update.nix \
|
||||
# --argstr commit true \
|
||||
# --argstr package infisical
|
||||
|
||||
let
|
||||
inherit (stdenv.hostPlatform) system;
|
||||
throwSystem = throw "Unsupported system: ${system}";
|
||||
# build hashes, which correspond to the hashes of the precompiled binaries procured by GitHub Actions.
|
||||
buildHashes = builtins.fromJSON (builtins.readFile ./hashes.json);
|
||||
|
||||
plat = {
|
||||
x86_64-linux = "linux_amd64";
|
||||
x86_64-darwin = "darwin_amd64";
|
||||
aarch64-linux = "linux_arm64";
|
||||
aarch64-darwin = "darwin_arm64";
|
||||
}.${system} or throwSystem;
|
||||
# the version of infisical
|
||||
version = "0.14.3";
|
||||
|
||||
archive_fmt = "tar.gz";
|
||||
# the platform-specific, statically linked binary
|
||||
src =
|
||||
let
|
||||
suffix = {
|
||||
# map the platform name to the golang toolchain suffix
|
||||
# NOTE: must be synchronized with update.sh!
|
||||
x86_64-linux = "linux_amd64";
|
||||
x86_64-darwin = "darwin_amd64";
|
||||
aarch64-linux = "linux_arm64";
|
||||
aarch64-darwin = "darwin_arm64";
|
||||
}."${stdenv.hostPlatform.system}" or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
||||
|
||||
name = "infisical_${version}_${suffix}.tar.gz";
|
||||
hash = buildHashes."${stdenv.hostPlatform.system}";
|
||||
url = "https://github.com/Infisical/infisical/releases/download/infisical-cli%2Fv${version}/${name}";
|
||||
in
|
||||
fetchurl { inherit name url hash; };
|
||||
|
||||
sha256 = {
|
||||
x86_64-linux = "e85c5f2ddca89caa6b44c61554c1dffeacdabc96c25a7e6881dc5722515270d1";
|
||||
x86_64-darwin = "eddbcde10271f791eb1473ba00b85b442aa059cdfee38021b8f8880f33754821";
|
||||
aarch64-linux = "9793a6db476492802ffec7f933d7f8f107a1c89fee09c8eb6bdb975b1fccecea";
|
||||
aarch64-darwin = "46c8a82a71da5731c108d24b4a960a507af66d91bba7b7246dd3a3415afaf7d3";
|
||||
}.${system} or throwSystem;
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "infisical";
|
||||
version = "0.14.2";
|
||||
stdenv.mkDerivation {
|
||||
pname = "infisical";
|
||||
version = version;
|
||||
inherit src;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/Infisical/infisical/releases/download/infisical-cli%2Fv${finalAttrs.version}/infisical_${finalAttrs.version}_${plat}.tar.gz";
|
||||
inherit sha256;
|
||||
};
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
sourceRoot = ".";
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin/ $out/share/completions/ $out/share/man/
|
||||
cp completions/* $out/share/completions/
|
||||
cp manpages/* $out/share/man/
|
||||
cp infisical $out/bin
|
||||
doCheck = true;
|
||||
dontConfigure = true;
|
||||
dontStrip = true;
|
||||
|
||||
sourceRoot = ".";
|
||||
buildPhase = "chmod +x ./infisical";
|
||||
checkPhase = "./infisical --version";
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin/ $out/share/completions/ $out/share/man/
|
||||
cp infisical $out/bin
|
||||
cp completions/* $out/share/completions/
|
||||
cp manpages/* $out/share/man/
|
||||
'';
|
||||
postInstall = ''
|
||||
installManPage share/man/infisical.1.gz
|
||||
installShellCompletion share/completions/infisical.{bash,fish,zsh}
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = ./update.sh;
|
||||
tests.version = testers.testVersion { package = infisical; };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "The official Infisical CLI";
|
||||
longDescription = ''
|
||||
Infisical is the open-source secret management platform:
|
||||
Sync secrets across your team/infrastructure and prevent secret leaks.
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
installManPage share/man/infisical.1.gz
|
||||
installShellCompletion share/completions/infisical.{bash,fish,zsh}
|
||||
chmod +x bin/infisical
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "The official Infisical CLI";
|
||||
longDescription = ''
|
||||
Infisical is an Open Source, End-to-End encrypted platform that lets you
|
||||
securely sync secrets and configs across your team, devices, and infrastructure
|
||||
'';
|
||||
mainProgram = "infisical";
|
||||
homepage = "https://infisical.com/";
|
||||
downloadPage = "https://github.com/Infisical/infisical/releases/";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.ivanmoreau maintainers.jgoux ];
|
||||
platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" "aarch64-linux" ];
|
||||
};
|
||||
})
|
||||
homepage = "https://infisical.com";
|
||||
changelog = "https://github.com/infisical/infisical/releases/tag/infisical-cli%2Fv${version}";
|
||||
license = licenses.mit;
|
||||
mainProgram = "infisical";
|
||||
maintainers = [ maintainers.ivanmoreau maintainers.jgoux ];
|
||||
platforms = [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
"aarch64-darwin"
|
||||
"x86_64-darwin"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
6
pkgs/development/tools/infisical/hashes.json
Normal file
6
pkgs/development/tools/infisical/hashes.json
Normal file
@ -0,0 +1,6 @@
|
||||
{ "_comment": "@generated by pkgs/development/tools/infisical/update.sh"
|
||||
, "x86_64-linux": "sha256-sTfwooMN5ckdaxpd4R3yQvDEYT7muYZTyFEm0exM33M="
|
||||
, "x86_64-darwin": "sha256-B94+mF5Wu0pHKIo8CuHAbrorzIxK2U64Np3JFlTc1kk="
|
||||
, "aarch64-linux": "sha256-eGuKnC6h1YPW0UdY5wcChbiSzATAcSmHZ6mKBI2sR80="
|
||||
, "aarch64-darwin": "sha256-s4s1la165cQ5I296ZCeW3ZIyYapTfRxa20QdZmXvido="
|
||||
}
|
41
pkgs/development/tools/infisical/update.sh
Executable file
41
pkgs/development/tools/infisical/update.sh
Executable file
@ -0,0 +1,41 @@
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -I nixpkgs=./. -i bash -p curl jq nix-prefetch common-updater-scripts nix coreutils
|
||||
# shellcheck shell=bash
|
||||
set -euo pipefail
|
||||
|
||||
RELEASE_NAME=$(curl -s https://api.github.com/repos/infisical/infisical/releases \
|
||||
| jq -r 'sort_by(.created_at) | reverse |
|
||||
(map
|
||||
(select ((.prerelease == false) and (.draft == false))) |
|
||||
first
|
||||
) | .name')
|
||||
VERSION=$(echo "$RELEASE_NAME" | sed -E 's/^infisical-cli\/v//')
|
||||
|
||||
echo "Latest infisical release: $VERSION"
|
||||
|
||||
ARCHS=(
|
||||
"x86_64-linux:linux_amd64"
|
||||
"x86_64-darwin:darwin_amd64"
|
||||
"aarch64-linux:linux_arm64"
|
||||
"aarch64-darwin:darwin_arm64"
|
||||
)
|
||||
|
||||
NFILE=pkgs/development/tools/infisical/default.nix
|
||||
HFILE=pkgs/development/tools/infisical/hashes.json
|
||||
rm -f "$HFILE" && touch "$HFILE"
|
||||
|
||||
printf "{ \"_comment\": \"@generated by pkgs/development/tools/infisical/update.sh\"\n" >> "$HFILE"
|
||||
|
||||
for arch in "${ARCHS[@]}"; do
|
||||
IFS=: read -r arch_name arch_target <<< "$arch"
|
||||
sha256hash="$(nix-prefetch-url --type sha256 "https://github.com/infisical/infisical/releases/download/${RELEASE_NAME}/infisical_${VERSION}_${arch_target}.tar.gz")"
|
||||
srihash="$(nix hash to-sri --type sha256 "$sha256hash")"
|
||||
echo ", \"$arch_name\": \"$srihash\"" >> "$HFILE"
|
||||
done
|
||||
echo "}" >> "$HFILE"
|
||||
|
||||
sed -i \
|
||||
'0,/version\s*=\s*".*";/s//version = "'"$VERSION"'";/' \
|
||||
"$NFILE"
|
||||
|
||||
echo "Done; wrote $HFILE and updated version in $NFILE."
|
@ -13,16 +13,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-dist";
|
||||
version = "0.4.0";
|
||||
version = "0.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "axodotdev";
|
||||
repo = "cargo-dist";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Y4dCkyOAOQRnaHWMuPTpjgIqlnzYw+sQbTyxp1pO7oo=";
|
||||
hash = "sha256-P1wDsCMg0CfGZ9px1SiEDNT9plYlcrl9UrCLJ0pOra0=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-Fuc5lToojwcRbcKrApQ8vxd8ZdjEJTDQULYfzV4K4GA=";
|
||||
cargoHash = "sha256-sIFe5/2/FZA+vTYxo6wZ0w655ZjB8EThsEP7q1PaJjQ=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
@ -33,7 +33,7 @@ rustPlatform.buildRustPackage rec {
|
||||
xz
|
||||
zstd
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
crystal.buildCrystalPackage rec {
|
||||
pname = "lucky-cli";
|
||||
version = "1.0.0";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "luckyframework";
|
||||
repo = "lucky_cli";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Ky4DmClSyAVBAetpZM5tFnQZ74fchCOgcxBftd+gwlE=";
|
||||
hash = "sha256-mDUx9cQoYpU9kSAls36kzNVYZ8a4aqHEMIWfzS41NBk=";
|
||||
};
|
||||
|
||||
# the integration tests will try to clone a remote repos
|
||||
@ -39,6 +39,6 @@ crystal.buildCrystalPackage rec {
|
||||
maintainers = with maintainers; [ peterhoeg ];
|
||||
mainProgram = "lucky";
|
||||
platforms = platforms.unix;
|
||||
broken = lib.versionOlder crystal.version "0.35.1";
|
||||
broken = lib.versionOlder crystal.version "1.6.0";
|
||||
};
|
||||
}
|
||||
|
@ -2,17 +2,17 @@ version: 2.0
|
||||
shards:
|
||||
ameba:
|
||||
git: https://github.com/crystal-ameba/ameba.git
|
||||
version: 1.1.0
|
||||
version: 1.5.0
|
||||
|
||||
lucky_task:
|
||||
git: https://github.com/luckyframework/lucky_task.git
|
||||
version: 0.1.1
|
||||
version: 0.3.0
|
||||
|
||||
lucky_template:
|
||||
git: https://github.com/luckyframework/lucky_template.git
|
||||
version: 0.2.0
|
||||
|
||||
nox:
|
||||
git: https://github.com/matthewmcgarvey/nox.git
|
||||
git: https://github.com/crystal-loot/nox.git
|
||||
version: 0.2.2
|
||||
|
||||
teeplate:
|
||||
git: https://github.com/luckyframework/teeplate.git
|
||||
version: 0.8.5
|
||||
|
||||
|
@ -1,22 +1,22 @@
|
||||
{
|
||||
ameba = {
|
||||
url = "https://github.com/crystal-ameba/ameba.git";
|
||||
rev = "v1.1.0";
|
||||
sha256 = "0famv413myrshgv6y24mr84ny53rcsr777x323jlaf2isnhdd0b8";
|
||||
rev = "v1.5.0";
|
||||
sha256 = "1idivsbpmi40aqvs82fsv37nrgikirprxrj3ls9chsb876fq9p2d";
|
||||
};
|
||||
lucky_task = {
|
||||
url = "https://github.com/luckyframework/lucky_task.git";
|
||||
rev = "v0.1.1";
|
||||
sha256 = "0w0rnf22pvj3lp5z8c4sshzwhqgwpbjpm7nry9mf0iz3fa0v48f7";
|
||||
rev = "v0.3.0";
|
||||
sha256 = "0lp2wv01wdcfr3h43n3dqgaymvypy0i6kbffb4mg4l30lijgpfb6";
|
||||
};
|
||||
lucky_template = {
|
||||
url = "https://github.com/luckyframework/lucky_template.git";
|
||||
rev = "v0.2.0";
|
||||
sha256 = "1xix82d0xanq4xkcv83hm56nj5f2rsbrqhk70j5zr37d3kydfypl";
|
||||
};
|
||||
nox = {
|
||||
url = "https://github.com/matthewmcgarvey/nox.git";
|
||||
url = "https://github.com/crystal-loot/nox.git";
|
||||
rev = "v0.2.2";
|
||||
sha256 = "1dfq0aknrxwp9wc0glri4w5j8pfbc6b1xrsxkahci109p6dhcna5";
|
||||
};
|
||||
teeplate = {
|
||||
url = "https://github.com/luckyframework/teeplate.git";
|
||||
rev = "v0.8.5";
|
||||
sha256 = "1kr05qrp674rph1324wry57gzvgvcvlz0w27brlvdgd3gi4s8sdj";
|
||||
};
|
||||
}
|
||||
|
@ -28,13 +28,13 @@ assert withHyperscan -> stdenv.isx86_64;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rspamd";
|
||||
version = "3.7.2";
|
||||
version = "3.7.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rspamd";
|
||||
repo = "rspamd";
|
||||
rev = version;
|
||||
hash = "sha256-Kr6Y1ePgBeH+WhkfEYqmoBZ9AJ54G+OVgrY73aV0+OU=";
|
||||
hash = "sha256-TqsY0AUDEpFOGIAH6jDdofIJAYQYtj8Uk4djk5hYemo=";
|
||||
};
|
||||
|
||||
hardeningEnable = [ "pie" ];
|
||||
|
@ -1,13 +1,13 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, nixosTests, nix-update-script }:
|
||||
buildGoModule rec {
|
||||
pname = "mimir";
|
||||
version = "2.10.0";
|
||||
version = "2.10.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "${pname}-${version}";
|
||||
owner = "grafana";
|
||||
repo = pname;
|
||||
hash = "sha256-4UBbtJRQ6F3Dm+G4OWZeWtD4MJWtq91yiSZNW7EhEto=";
|
||||
hash = "sha256-tVJcvxKcxhSeYyqBsBeG+OrWoD+hTDAoPuIXB72MMkY=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "telegraf";
|
||||
version = "1.28.2";
|
||||
version = "1.28.3";
|
||||
|
||||
subPackages = [ "cmd/telegraf" ];
|
||||
|
||||
@ -16,10 +16,10 @@ buildGoModule rec {
|
||||
owner = "influxdata";
|
||||
repo = "telegraf";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-gD4xdKjIx0zLKJySx8UdSKvMIZJaIXtubWQX/mLu+TI=";
|
||||
hash = "sha256-9BwAsLk8pz1QharomkuQdsoNVQYzw+fSU3nDkw053JE=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-OzAAchUHNno58Em2oDnMt9P1B03HtQylFBFEkv4bAkU=";
|
||||
vendorHash = "sha256-EJ6NSc7vTnK6brhsBBplyuAjoTDSItswLA/2U1MrmFU=";
|
||||
proxyVendor = true;
|
||||
|
||||
ldflags = [
|
||||
|
@ -11,16 +11,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "sozu";
|
||||
version = "0.15.6";
|
||||
version = "0.15.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sozu-proxy";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-8JvSVqU8JSf7VrHYxKTZWsX59gMW7eRg4WHrvemhUNU=";
|
||||
hash = "sha256-egxeKwIgjpzF19ZunK9o2F/pjHWP8wva4KhGreXvR1w=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-f4tteNovor8/YS71SbpD0GlHXEHfLmZmOLxn8impRj8=";
|
||||
cargoHash = "sha256-q61HLKsF6h9/JPmggXHrCHXiFLYnWHtKayC/O0BAtA8=";
|
||||
|
||||
nativeBuildInputs = [ protobuf ];
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ lib, stdenv, buildGoModule, fetchFromGitHub, makeWrapper, iptables, iproute2, procps, shadow, getent }:
|
||||
|
||||
let
|
||||
version = "1.50.1";
|
||||
version = "1.52.0";
|
||||
in
|
||||
buildGoModule {
|
||||
pname = "tailscale";
|
||||
@ -11,9 +11,9 @@ buildGoModule {
|
||||
owner = "tailscale";
|
||||
repo = "tailscale";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-YosV9zyWbZ18xeiKJ6/4ZzSSfcoACWadZQsqGBD/hZ4=";
|
||||
hash = "sha256-mvsDM1kOLP/1LbTzmojquEF8HGy6Kb2cqJu7EnxEHPU=";
|
||||
};
|
||||
vendorHash = "sha256-aVtlDzC+sbEWlUAzPkAryA/+dqSzoAFc02xikh6yhf8=";
|
||||
vendorHash = "sha256-WGZkpffwe4I8FewdBHXGaLbKQP/kHr7UF2lCXBTcNb4=";
|
||||
|
||||
nativeBuildInputs = lib.optionals stdenv.isLinux [ makeWrapper ];
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, beamPackages, makeWrapper, rebar3, elixir, erlang, fetchFromGitHub }:
|
||||
{ lib, beamPackages, makeWrapper, rebar3, elixir, erlang, fetchFromGitHub, nixosTests }:
|
||||
beamPackages.mixRelease rec {
|
||||
pname = "livebook";
|
||||
version = "0.11.3";
|
||||
@ -32,6 +32,10 @@ beamPackages.mixRelease rec {
|
||||
--set MIX_REBAR3 ${rebar3}/bin/rebar3
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
livebook-service = nixosTests.livebook-service;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
license = licenses.asl20;
|
||||
homepage = "https://livebook.dev/";
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "carapace";
|
||||
version = "0.28.0";
|
||||
version = "0.28.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rsteube";
|
||||
repo = "${pname}-bin";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-0ubZt4KsjsoIcglo/lh9JDAZjuACBNdVLJazH0Csxl0=";
|
||||
hash = "sha256-ojcQ69FxU7luxYzKxnblwQgX0sapFJS8YNalMdTuzCo=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-35Gmye5NPOtUaW8zNkjK0cQ3FRB1fK7UyqT5c17rls4=";
|
||||
vendorHash = "sha256-jbKF68fPwMigKSoSOP6pJMjn+PW2yeI/oZKv2ytoHuY=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
|
@ -16,14 +16,14 @@ let
|
||||
in
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
pname = "tts";
|
||||
version = "0.18.2";
|
||||
version = "0.19.1";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "coqui-ai";
|
||||
repo = "TTS";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-bTShJwzxff+R9GkR72qNzd22zY8LwUUsD8r30kZXAsI=";
|
||||
hash = "sha256-GYVr/Wam1IGCSR2vHMAu5Fg/jRB333L6iNjltnRKh4E=";
|
||||
};
|
||||
|
||||
postPatch = let
|
||||
|
@ -4,9 +4,8 @@
|
||||
, autoreconfHook
|
||||
, pkg-config
|
||||
, glib
|
||||
, i2c-tools
|
||||
, jansson
|
||||
, udev
|
||||
, kmod
|
||||
, libgudev
|
||||
, libusb1
|
||||
, libdrm
|
||||
@ -15,23 +14,23 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ddcutil";
|
||||
version = "1.4.2";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.ddcutil.com/tarballs/ddcutil-${version}.tar.gz";
|
||||
hash = "sha256-wGwTZheRHi5pGf6WB9hGd8m/pLOmnlYYrS5dd+QItAQ=";
|
||||
hash = "sha256-CunFRQHKk3q8CU60TSRnRoCW7+9X1+JpJHm773HhmZs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
i2c-tools
|
||||
kmod
|
||||
jansson
|
||||
libdrm
|
||||
libgudev
|
||||
libusb1
|
||||
udev
|
||||
xorg.libXext
|
||||
xorg.libXrandr
|
||||
];
|
||||
|
||||
|
2
pkgs/tools/networking/findomain/Cargo.lock
generated
2
pkgs/tools/networking/findomain/Cargo.lock
generated
@ -609,7 +609,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "findomain"
|
||||
version = "9.0.1"
|
||||
version = "9.0.3"
|
||||
dependencies = [
|
||||
"addr",
|
||||
"anyhow",
|
||||
|
@ -10,13 +10,13 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "findomain";
|
||||
version = "9.0.2";
|
||||
version = "9.0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "findomain";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-CFnjZHTga70+b7XUdxGC/ycqY2snkLvFKPApTRlN11s=";
|
||||
hash = "sha256-M6i62JI4HjaM0C2rSK8P5O19JeugFP5xIy1E6vE8KP4=";
|
||||
};
|
||||
|
||||
cargoLock = {
|
||||
|
@ -10,6 +10,7 @@
|
||||
, libxslt
|
||||
, curl
|
||||
, libevent
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -23,6 +24,14 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-PAX2MUyBWWU8kGkaeoCJteidgszh7ipwDJbrLXzVsn0=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "update-waf-to-2-0-24.patch";
|
||||
url = "https://github.com/saldl/saldl/commit/360c29d6c8cee5f7e608af42237928be429c3407.patch";
|
||||
hash = "sha256-RBMnsUtd0BaZe/EXypDCK4gpUU0dgucWmOcJRn5/iTA=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
wafHook
|
||||
|
@ -1,12 +0,0 @@
|
||||
diff -ruN a/src/defaults/defaults_linux.go b/src/defaults/defaults_linux.go
|
||||
--- a/src/defaults/defaults_linux.go 2019-06-17 10:23:09.495613784 -0700
|
||||
+++ b/src/defaults/defaults_linux.go 2019-07-01 10:17:11.295669440 -0700
|
||||
@@ -7,7 +7,7 @@
|
||||
func GetDefaults() platformDefaultParameters {
|
||||
return platformDefaultParameters{
|
||||
// Admin
|
||||
- DefaultAdminListen: "unix:///var/run/yggdrasil.sock",
|
||||
+ DefaultAdminListen: "unix:///var/run/yggdrasil/yggdrasil.sock",
|
||||
|
||||
// Configuration (used for yggdrasilctl)
|
||||
DefaultConfigFile: "/etc/yggdrasil.conf",
|
@ -31,13 +31,13 @@ in
|
||||
with python.pkgs;
|
||||
buildPythonApplication rec {
|
||||
pname = "pdm";
|
||||
version = "2.9.3";
|
||||
version = "2.10.0";
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-CxGVtR6WMLWgsGPyffywEgy26ihPGkzZdaOibwhW0lM=";
|
||||
hash = "sha256-ziJJWVr59hsJJqCJljLfSbHHESYegFak+uFLU/k9kZM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -9,14 +9,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "poetry-plugin-up";
|
||||
version = "0.4.0";
|
||||
version = "0.7.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MousaZeidBaker";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-ENw+6DdQkRLnAlIuIEdZzIsFP7ILqA9WatlVZYNJSxw=";
|
||||
hash = "sha256-RjyRnCrHLKBJm8WMzQd0WcfpO8Ve+ydvUTN4EnVunlI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -1,4 +1,4 @@
|
||||
# frozen_string_literal: true
|
||||
source "https://rubygems.org"
|
||||
|
||||
gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/6.3.39"
|
||||
gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/6.3.40"
|
||||
|
@ -1,9 +1,9 @@
|
||||
GIT
|
||||
remote: https://github.com/rapid7/metasploit-framework
|
||||
revision: 77fb7ae14f17fd7f4851bca87e0c28c704797591
|
||||
ref: refs/tags/6.3.39
|
||||
revision: e4a23dc9d09f5b6b1b82768770e8063014a940bb
|
||||
ref: refs/tags/6.3.40
|
||||
specs:
|
||||
metasploit-framework (6.3.39)
|
||||
metasploit-framework (6.3.40)
|
||||
actionpack (~> 7.0.0)
|
||||
activerecord (~> 7.0.0)
|
||||
activesupport (~> 7.0.0)
|
||||
@ -462,4 +462,4 @@ DEPENDENCIES
|
||||
metasploit-framework!
|
||||
|
||||
BUNDLED WITH
|
||||
2.4.19
|
||||
2.4.20
|
||||
|
@ -15,13 +15,13 @@ let
|
||||
};
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "metasploit-framework";
|
||||
version = "6.3.39";
|
||||
version = "6.3.40";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rapid7";
|
||||
repo = "metasploit-framework";
|
||||
rev = version;
|
||||
sha256 = "sha256-EKLzIhrNiTUM3OtezPJL8g70BmR+vEyNcllyme5hH8o=";
|
||||
sha256 = "sha256-vGCAkXLpsUvSXDf1H3pNStEYUZwFBxJnA7kdNJjqYwo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
@ -654,12 +654,12 @@
|
||||
platforms = [];
|
||||
source = {
|
||||
fetchSubmodules = false;
|
||||
rev = "77fb7ae14f17fd7f4851bca87e0c28c704797591";
|
||||
sha256 = "1jhzc7p9jwjrfa6lrg3ych3g83pj9grcqppbvh63b2fd38ig78hh";
|
||||
rev = "e4a23dc9d09f5b6b1b82768770e8063014a940bb";
|
||||
sha256 = "02k3xac387dr0dki41q5ki8iilaa9mx1zx9pbk94pcg9fa8q0q5w";
|
||||
type = "git";
|
||||
url = "https://github.com/rapid7/metasploit-framework";
|
||||
};
|
||||
version = "6.3.39";
|
||||
version = "6.3.40";
|
||||
};
|
||||
metasploit-model = {
|
||||
groups = ["default"];
|
||||
|
@ -5,17 +5,25 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "hayagriva";
|
||||
version = "0.3.2";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
hash = "sha256-4HX0X8HDn0/D9mcruCVKeIs9ryCxYagW5eJ/DSqtprY=";
|
||||
hash = "sha256-d4T+GF0bdMjpjwcN56yYpEw4aZCvJ19P1cbPuVhFR0A=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-JvRWdoZ5/jG09ex7avkE3JUcdMGIsfirSx9PDyAtVfU=";
|
||||
cargoHash = "sha256-mRKvCnW4XVXYzOKQ5rASwiwpLdqpEgGlq8W4gB7hHco=";
|
||||
|
||||
buildFeatures = [ "cli" ];
|
||||
|
||||
checkFlags = [
|
||||
# requires internet access
|
||||
"--skip=try_archive"
|
||||
|
||||
# requires a separate large repository
|
||||
"--skip=csl::tests::test_csl"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Work with references: Literature database management, storage, and citation formatting";
|
||||
homepage = "https://github.com/typst/hayagriva";
|
||||
|
1210
pkgs/tools/typesetting/typst/Cargo.lock
generated
1210
pkgs/tools/typesetting/typst/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -8,13 +8,13 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "typst";
|
||||
version = "0.8.0";
|
||||
version = "0.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "typst";
|
||||
repo = "typst";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-q2b/PoNwpzarJbIPzokYgZRD2/Oe/XB40C4VXdwL/NA=";
|
||||
hash = "sha256-LwRB/AQE8TZZyHEQ7kKB10itzEgYjg4R/k+YFqmutDc=";
|
||||
};
|
||||
|
||||
cargoLock = {
|
||||
|
@ -1,33 +1,43 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, makeWrapper, ffmpeg }:
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, makeWrapper
|
||||
, ffmpeg
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "lux";
|
||||
version = "0.19.0";
|
||||
version = "0.21.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "iawia002";
|
||||
repo = "lux";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-klm1985qBErFfYIWPjr1/n6nYr/jA9dbrDMfw4bf1tM=";
|
||||
hash = "sha256-LCYWfF7O8wByCJNDi2BZsI7EU6wJqhcr/sbNOoQ2Src=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
vendorHash = "sha256-7wgGJYiIsVTRSuSb4a9LgYCkkayGhNMKqcIKoDxMuAM=";
|
||||
vendorHash = "sha256-wW/jrsurmyLcDX+58lp0M+snJ2avEs0HciNZ8BgIqrI=";
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/iawia002/lux/app.version=v${version}"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/lux \
|
||||
--prefix PATH : ${lib.makeBinPath [ ffmpeg ]}
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
doCheck = false; # require network
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fast and simple video download library and CLI tool written in Go";
|
||||
homepage = "https://github.com/iawia002/lux";
|
||||
changelog = "https://github.com/iawia002/lux/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = [];
|
||||
maintainers = with maintainers; [ galaxy ];
|
||||
};
|
||||
}
|
||||
|
@ -8,17 +8,16 @@
|
||||
|
||||
ocamlPackages.buildDunePackage rec {
|
||||
pname = "wayland-proxy-virtwl";
|
||||
version = "unstable-2023-08-13";
|
||||
version = "unstable-2023-10-27";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "talex5";
|
||||
repo = pname;
|
||||
rev = "050c49a377808105b895e81e7e498f35cc151e58";
|
||||
sha256 = "sha256-6YJv3CCED6LUSPFwYQyHUFkkvOWZGPNHVzw60b5F8+c=";
|
||||
rev = "cc9548c4980ff33f86d5645ce337a79bf95d6139";
|
||||
sha256 = "sha256-aAqbPslTu+RLQPKPJQH2iYjcI8/De2WPk5nHULdfocU=";
|
||||
};
|
||||
|
||||
minimalOCamlVersion = "4.12";
|
||||
duneVersion = "3";
|
||||
minimalOCamlVersion = "5.0";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
@ -26,11 +25,11 @@ ocamlPackages.buildDunePackage rec {
|
||||
|
||||
buildInputs = [ libdrm ] ++ (with ocamlPackages; [
|
||||
dune-configurator
|
||||
eio_main
|
||||
ppx_cstruct
|
||||
wayland
|
||||
cmdliner
|
||||
logs
|
||||
cstruct-lwt
|
||||
ppx_cstruct
|
||||
]);
|
||||
|
||||
|
@ -28,13 +28,13 @@ in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "wl-mirror";
|
||||
version = "0.13.2";
|
||||
version = "0.14.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Ferdi265";
|
||||
repo = "wl-mirror";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-dmdRe4GZ1W2gD7ZF1MudBqfZIm9HyBjISa+xB54BLz4=";
|
||||
hash = "sha256-dEkTRpeJhqUGDCqTLVsFoDXgHvfEqMYt/9DEldjqv0Y=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
@ -4800,7 +4800,9 @@ with pkgs;
|
||||
|
||||
wayland-utils = callPackage ../tools/wayland/wayland-utils { };
|
||||
|
||||
wayland-proxy-virtwl = callPackage ../tools/wayland/wayland-proxy-virtwl { };
|
||||
wayland-proxy-virtwl = callPackage ../tools/wayland/wayland-proxy-virtwl {
|
||||
ocamlPackages = ocaml-ng.ocamlPackages_5_0;
|
||||
};
|
||||
|
||||
waylogout = callPackage ../tools/wayland/waylogout { };
|
||||
|
||||
@ -30325,8 +30327,6 @@ with pkgs;
|
||||
|
||||
anilibria-winmaclinux = libsForQt5.callPackage ../applications/video/anilibria-winmaclinux { };
|
||||
|
||||
yggdrasil = callPackage ../tools/networking/yggdrasil { };
|
||||
|
||||
masterpdfeditor = libsForQt5.callPackage ../applications/misc/masterpdfeditor { };
|
||||
|
||||
masterpdfeditor4 = libsForQt5.callPackage ../applications/misc/masterpdfeditor4 { };
|
||||
|
@ -246,6 +246,7 @@ mapAliases ({
|
||||
notifymuch = throw "notifymuch has been promoted to a top-level attribute"; # added 2022-10-02
|
||||
Nuitka = nuitka; # added 2023-02-19
|
||||
ntlm-auth = throw "ntlm-auth has been removed, because it relies on the md4 implementation provided by openssl. Use pyspnego instead.";
|
||||
openapi-schema-pydantic = throw "openapi-schema-pydantic has been removed, since it is no longer maintained"; # added 2023-10-30
|
||||
opsdroid_get_image_size = opsdroid-get-image-size; # added 2023-10-16
|
||||
ordereddict = throw "ordereddict has been removed because it is only useful on unsupported python versions."; # added 2022-05-28
|
||||
pafy = throw "pafy has been removed because it is unmaintained and only a dependency of mps-youtube, itself superseded by yewtube"; # Added 2023-01-19
|
||||
|
@ -7039,6 +7039,8 @@ self: super: with self; {
|
||||
|
||||
mpmath = callPackage ../development/python-modules/mpmath { };
|
||||
|
||||
mpris-server = callPackage ../development/python-modules/mpris-server { };
|
||||
|
||||
mpv = callPackage ../development/python-modules/mpv {
|
||||
inherit (pkgs) mpv;
|
||||
};
|
||||
@ -8423,8 +8425,6 @@ self: super: with self; {
|
||||
|
||||
openant = callPackage ../development/python-modules/openant { };
|
||||
|
||||
openapi-schema-pydantic = callPackage ../development/python-modules/openapi-schema-pydantic { };
|
||||
|
||||
openapi-schema-validator = callPackage ../development/python-modules/openapi-schema-validator { };
|
||||
|
||||
openapi-spec-validator = callPackage ../development/python-modules/openapi-spec-validator { };
|
||||
|
Loading…
Reference in New Issue
Block a user