mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
Merge staging-next into staging
This commit is contained in:
commit
b2f58f98dd
@ -309,6 +309,12 @@
|
||||
githubId = 2321000;
|
||||
name = "Ruslan Babayev";
|
||||
};
|
||||
abustany = {
|
||||
email = "adrien@bustany.org";
|
||||
github = "abustany";
|
||||
githubId = 2526296;
|
||||
name = "Adrien Bustany";
|
||||
};
|
||||
acairncross = {
|
||||
email = "acairncross@gmail.com";
|
||||
github = "acairncross";
|
||||
@ -2943,7 +2949,7 @@
|
||||
};
|
||||
citadelcore = {
|
||||
email = "alex@arctarus.co.uk";
|
||||
github = "CitadelCore";
|
||||
github = "VertexA115";
|
||||
githubId = 5567402;
|
||||
name = "Alex Zero";
|
||||
keys = [{
|
||||
@ -4952,6 +4958,12 @@
|
||||
githubId = 2512008;
|
||||
name = "Even Brenden";
|
||||
};
|
||||
evilmav = {
|
||||
email = "elenskiy.ilya@gmail.com";
|
||||
github = "evilmav";
|
||||
githubId = 6803717;
|
||||
name = "Ilya Elenskiy";
|
||||
};
|
||||
evils = {
|
||||
email = "evils.devils@protonmail.com";
|
||||
matrix = "@evils:nixos.dev";
|
||||
@ -5422,7 +5434,7 @@
|
||||
githubId = 7551358;
|
||||
name = "Frede Emil";
|
||||
};
|
||||
Freed-Wu = {
|
||||
Freed-Wu = {
|
||||
email = "wuzhenyu@ustc.edu";
|
||||
github = "Freed-Wu";
|
||||
githubId = 32936898;
|
||||
@ -5531,7 +5543,7 @@
|
||||
};
|
||||
fuzen = {
|
||||
email = "me@fuzen.cafe";
|
||||
github = "Fuzen-py";
|
||||
github = "LovingMelody";
|
||||
githubId = 17859309;
|
||||
name = "Fuzen";
|
||||
};
|
||||
@ -5885,15 +5897,6 @@
|
||||
githubId = 1621335;
|
||||
name = "Andrew Trachenko";
|
||||
};
|
||||
gordias = {
|
||||
name = "Gordias";
|
||||
email = "gordias@disroot.org";
|
||||
github = "gordiasdot";
|
||||
githubId = 94724133;
|
||||
keys = [{
|
||||
fingerprint = "C006 B8A0 0618 F3B6 E0E4 2ECD 5D47 2848 30FA A4FA";
|
||||
}];
|
||||
};
|
||||
gotcha = {
|
||||
email = "gotcha@bubblenet.be";
|
||||
github = "gotcha";
|
||||
@ -6768,7 +6771,7 @@
|
||||
};
|
||||
ilya-kolpakov = {
|
||||
email = "ilya.kolpakov@gmail.com";
|
||||
github = "ilya-kolpakov";
|
||||
github = "1pakch";
|
||||
githubId = 592849;
|
||||
name = "Ilya Kolpakov";
|
||||
};
|
||||
@ -7170,7 +7173,7 @@
|
||||
jayesh-bhoot = {
|
||||
name = "Jayesh Bhoot";
|
||||
email = "jb@jayeshbhoot.com";
|
||||
github = "jayeshbhoot";
|
||||
github = "bhootjb";
|
||||
githubId = 1915507;
|
||||
};
|
||||
jayman2000 = {
|
||||
@ -7655,10 +7658,10 @@
|
||||
name = "Jocelyn Thode";
|
||||
};
|
||||
joedevivo = {
|
||||
github = "joedevivo";
|
||||
githubId = 55951;
|
||||
name = "Joe DeVivo";
|
||||
};
|
||||
github = "joedevivo";
|
||||
githubId = 55951;
|
||||
name = "Joe DeVivo";
|
||||
};
|
||||
joelancaster = {
|
||||
email = "joe.a.lancas@gmail.com";
|
||||
github = "JoeLancaster";
|
||||
@ -7988,7 +7991,7 @@
|
||||
};
|
||||
juaningan = {
|
||||
email = "juaningan@gmail.com";
|
||||
github = "uningan";
|
||||
github = "oneingan";
|
||||
githubId = 810075;
|
||||
name = "Juan Rodal";
|
||||
};
|
||||
@ -8951,7 +8954,7 @@
|
||||
github = "leifhelm";
|
||||
githubId = 31693262;
|
||||
name = "Jakob Leifhelm";
|
||||
keys =[{
|
||||
keys = [{
|
||||
fingerprint = "4A82 F68D AC07 9FFD 8BF0 89C4 6817 AA02 3810 0822";
|
||||
}];
|
||||
};
|
||||
@ -10008,7 +10011,7 @@
|
||||
githubId = 95194;
|
||||
name = "Mauricio Scheffer";
|
||||
};
|
||||
maxbrunet = {
|
||||
maxbrunet = {
|
||||
email = "max@brnt.mx";
|
||||
github = "maxbrunet";
|
||||
githubId = 32458727;
|
||||
@ -10380,7 +10383,7 @@
|
||||
name = "Michael Pacheco";
|
||||
github = "MichaelPachec0";
|
||||
githubId = 48970112;
|
||||
keys = [ {
|
||||
keys = [{
|
||||
fingerprint = "8D12 991F 5558 C501 70B2 779C 7811 46B0 B5F9 5F64";
|
||||
}];
|
||||
};
|
||||
@ -17009,16 +17012,6 @@
|
||||
github = "wdavidw";
|
||||
githubId = 46896;
|
||||
};
|
||||
WeebSorceress = {
|
||||
name = "WeebSorceress";
|
||||
email = "hello@weebsorceress.anonaddy.me";
|
||||
matrix = "@weebsorceress:matrix.org";
|
||||
github = "WeebSorceress";
|
||||
githubId = 106774777;
|
||||
keys = [{
|
||||
fingerprint = "659A 9BC3 F904 EC24 1461 2EFE 7F57 3443 17F0 FA43";
|
||||
}];
|
||||
};
|
||||
wegank = {
|
||||
name = "Weijia Wang";
|
||||
email = "contact@weijia.wang";
|
||||
|
@ -42,7 +42,7 @@ while(my($k, $v) = each %$maintainers_json) {
|
||||
}
|
||||
my $resp_json = from_json($resp->content);
|
||||
my $api_user = %$resp_json{"login"};
|
||||
if ($current_user ne $api_user) {
|
||||
if (lc($current_user) ne lc($api_user)) {
|
||||
print $current_user . " is now known on github as " . $api_user . ". Editing maintainer-list.nix…\n";
|
||||
my $file = path($maintainers_list_nix);
|
||||
my $data = $file->slurp_utf8;
|
||||
|
@ -356,6 +356,8 @@ In addition to numerous new and updated packages, this release has the following
|
||||
|
||||
- Only `k3s` version 1.26 is included. Users of the `k3s_1_24` or `k3s_1_25` packages should upgrade to use the `1.26` version of the package.
|
||||
|
||||
- The `nerdfonts` package has been updated to major version 3, which includes potential [breaking changes](https://github.com/ryanoasis/nerd-fonts/releases/tag/v3.0.0).
|
||||
|
||||
## Other Notable Changes {#sec-release-23.05-notable-changes}
|
||||
|
||||
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
|
||||
|
@ -48,6 +48,11 @@ let
|
||||
''
|
||||
else
|
||||
cfg.staticConfigFile;
|
||||
|
||||
finalStaticConfigFile =
|
||||
if cfg.environmentFiles == []
|
||||
then staticConfigFile
|
||||
else "/run/traefik/config.toml";
|
||||
in {
|
||||
options.services.traefik = {
|
||||
enable = mkEnableOption (lib.mdDoc "Traefik web server");
|
||||
@ -127,6 +132,16 @@ in {
|
||||
type = types.package;
|
||||
description = lib.mdDoc "Traefik package to use.";
|
||||
};
|
||||
|
||||
environmentFiles = mkOption {
|
||||
default = [];
|
||||
type = types.listOf types.path;
|
||||
example = [ "/run/secrets/traefik.env" ];
|
||||
description = lib.mdDoc ''
|
||||
Files to load as environment file. Environment variables from this file
|
||||
will be substituted into the static configuration file using envsubst.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
@ -139,8 +154,13 @@ in {
|
||||
startLimitIntervalSec = 86400;
|
||||
startLimitBurst = 5;
|
||||
serviceConfig = {
|
||||
ExecStart =
|
||||
"${cfg.package}/bin/traefik --configfile=${staticConfigFile}";
|
||||
EnvironmentFile = cfg.environmentFiles;
|
||||
ExecStartPre = lib.optional (cfg.environmentFiles != [])
|
||||
(pkgs.writeShellScript "pre-start" ''
|
||||
umask 077
|
||||
${pkgs.envsubst}/bin/envsubst -i "${staticConfigFile}" > "${finalStaticConfigFile}"
|
||||
'');
|
||||
ExecStart = "${cfg.package}/bin/traefik --configfile=${finalStaticConfigFile}";
|
||||
Type = "simple";
|
||||
User = "traefik";
|
||||
Group = cfg.group;
|
||||
@ -155,6 +175,7 @@ in {
|
||||
ProtectHome = true;
|
||||
ProtectSystem = "full";
|
||||
ReadWriteDirectories = cfg.dataDir;
|
||||
RuntimeDirectory = "traefik";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -52,10 +52,13 @@ import ./make-test-python.nix ({ pkgs, ... }: {
|
||||
sendAnonymousUsage = false;
|
||||
};
|
||||
|
||||
entryPoints.web.address = ":80";
|
||||
entryPoints.web.address = ":\${HTTP_PORT}";
|
||||
|
||||
providers.docker.exposedByDefault = false;
|
||||
};
|
||||
environmentFiles = [(pkgs.writeText "traefik.env" ''
|
||||
HTTP_PORT=80
|
||||
'')];
|
||||
};
|
||||
|
||||
systemd.services.simplehttp = {
|
||||
|
@ -30,7 +30,7 @@ appimageTools.wrapType2 rec {
|
||||
description = "App for Ledger hardware wallets";
|
||||
homepage = "https://www.ledger.com/ledger-live/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ andresilva thedavidmeister nyanloutre RaghavSood th0rgal WeebSorceress ];
|
||||
maintainers = with maintainers; [ andresilva thedavidmeister nyanloutre RaghavSood th0rgal ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ lib, stdenv, fetchurl, makeWrapper, makeDesktopItem, copyDesktopItems, unzip
|
||||
, appimage-run }:
|
||||
, appimage-run, nix-update-script }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ldtk";
|
||||
@ -47,6 +47,8 @@ stdenv.mkDerivation rec {
|
||||
})
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Modern, lightweight and efficient 2D level editor";
|
||||
homepage = "https://ldtk.io/";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, godot-headless, godot-export-templates }:
|
||||
{ lib, stdenv, fetchFromGitHub, godot-headless, godot-export-templates, nix-update-script }:
|
||||
|
||||
let
|
||||
preset =
|
||||
@ -47,6 +47,8 @@ in stdenv.mkDerivation rec {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://orama-interactive.itch.io/pixelorama";
|
||||
description = "A free & open-source 2D sprite editor, made with the Godot Engine!";
|
||||
|
@ -6,6 +6,7 @@
|
||||
, makeWrapper
|
||||
, writeText
|
||||
, wrapGAppsHook
|
||||
, callPackage
|
||||
|
||||
# Common run-time dependencies
|
||||
, zlib
|
||||
@ -79,7 +80,7 @@ let
|
||||
|
||||
version = "12.0.6";
|
||||
|
||||
srcs = {
|
||||
sources = {
|
||||
x86_64-linux = fetchurl {
|
||||
url = "https://cdn.mullvad.net/browser/${version}/mullvad-browser-linux64-${version}_ALL.tar.xz";
|
||||
hash = "sha256-XE6HFU38FhnikxGHRHxIGS3Z3Y2JNWH0yq2NejqbROI=";
|
||||
@ -103,7 +104,7 @@ stdenv.mkDerivation rec {
|
||||
pname = "mullvad-browser";
|
||||
inherit version;
|
||||
|
||||
src = srcs.${stdenv.hostPlatform.system} or (throw "unsupported system: ${stdenv.hostPlatform.system}");
|
||||
src = sources.${stdenv.hostPlatform.system} or (throw "unsupported system: ${stdenv.hostPlatform.system}");
|
||||
|
||||
nativeBuildInputs = [ copyDesktopItems makeWrapper wrapGAppsHook ];
|
||||
|
||||
@ -219,10 +220,19 @@ stdenv.mkDerivation rec {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
inherit sources;
|
||||
updateScript = callPackage ../tor-browser-bundle-bin/update.nix {
|
||||
inherit pname version meta;
|
||||
baseUrl = "https://cdn.mullvad.net/browser/";
|
||||
prefix = "mullvad-browser-";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Privacy-focused browser made in a collaboration between The Tor Project and Mullvad";
|
||||
homepage = "https://mullvad.net/en/browser";
|
||||
platforms = attrNames srcs;
|
||||
platforms = attrNames sources;
|
||||
maintainers = with maintainers; [ felschr ];
|
||||
# MPL2.0+, GPL+, &c. While it's not entirely clear whether
|
||||
# the compound is "libre" in a strict sense (some components place certain
|
||||
|
@ -2,6 +2,7 @@
|
||||
, fetchurl
|
||||
, makeDesktopItem
|
||||
, writeText
|
||||
, callPackage
|
||||
|
||||
# Common run-time dependencies
|
||||
, zlib
|
||||
@ -92,7 +93,7 @@ let
|
||||
|
||||
lang = "ALL";
|
||||
|
||||
srcs = {
|
||||
sources = {
|
||||
x86_64-linux = fetchurl {
|
||||
urls = [
|
||||
"https://dist.torproject.org/torbrowser/${version}/tor-browser-linux64-${version}_${lang}.tar.xz"
|
||||
@ -131,7 +132,7 @@ stdenv.mkDerivation rec {
|
||||
pname = "tor-browser-bundle-bin";
|
||||
inherit version;
|
||||
|
||||
src = srcs.${stdenv.hostPlatform.system} or (throw "unsupported system: ${stdenv.hostPlatform.system}");
|
||||
src = sources.${stdenv.hostPlatform.system} or (throw "unsupported system: ${stdenv.hostPlatform.system}");
|
||||
|
||||
preferLocalBuild = true;
|
||||
allowSubstitutes = false;
|
||||
@ -447,6 +448,13 @@ stdenv.mkDerivation rec {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
inherit sources;
|
||||
updateScript = callPackage ./update.nix {
|
||||
inherit pname version meta;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tor Browser Bundle built by torproject.org";
|
||||
longDescription = ''
|
||||
@ -460,7 +468,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
homepage = "https://www.torproject.org/";
|
||||
changelog = "https://gitweb.torproject.org/builders/tor-browser-build.git/plain/projects/tor-browser/Bundle-Data/Docs/ChangeLog.txt?h=maint-${version}";
|
||||
platforms = attrNames srcs;
|
||||
platforms = attrNames sources;
|
||||
maintainers = with maintainers; [ offline matejc thoughtpolice joachifm hax404 KarlJoad ];
|
||||
mainProgram = "tor-browser";
|
||||
# MPL2.0+, GPL+, &c. While it's not entirely clear whether
|
||||
|
@ -0,0 +1,62 @@
|
||||
{ lib
|
||||
, writeShellScript
|
||||
, coreutils
|
||||
, gnused
|
||||
, gnugrep
|
||||
, curl
|
||||
, gnupg
|
||||
, nix
|
||||
, common-updater-scripts
|
||||
|
||||
# options
|
||||
, pname
|
||||
, version
|
||||
, meta
|
||||
, baseUrl ? "https://dist.torproject.org/torbrowser/"
|
||||
# prefix used to match published archive
|
||||
, prefix ? "tor-browser-"
|
||||
# suffix used to match published archive
|
||||
, suffix ? "_ALL.tar.xz"
|
||||
}:
|
||||
|
||||
writeShellScript "update-${pname}" ''
|
||||
PATH="${lib.makeBinPath [ coreutils curl gnugrep gnused gnupg nix common-updater-scripts ]}"
|
||||
set -euo pipefail
|
||||
|
||||
trap
|
||||
|
||||
url=${baseUrl}
|
||||
version=$(curl -s $url \
|
||||
| sed -rne 's,^.*href="([0-9]+(\.[0-9]+)*)/".*,\1,p' \
|
||||
| sort --version-sort | tail -1)
|
||||
|
||||
if [[ "${version}" = "$version" ]]; then
|
||||
echo "The new version same as the old version."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
HOME=$(mktemp -d)
|
||||
export GNUPGHOME=$(mktemp -d)
|
||||
trap 'rm -rf "$HOME" "$GNUPGHOME"' EXIT
|
||||
|
||||
gpg --auto-key-locate nodefault,wkd --locate-keys torbrowser@torproject.org
|
||||
gpg --output $HOME/tor.keyring --export 0xEF6E286DDA85EA2A4BA7DE684E2C6E8793298290
|
||||
|
||||
curl --silent --show-error --fail -o $HOME/shasums "$url$version/sha256sums-signed-build.txt"
|
||||
curl --silent --show-error --fail -o $HOME/shasums.asc "$url$version/sha256sums-signed-build.txt.asc"
|
||||
gpgv --keyring=$HOME/tor.keyring $HOME/shasums.asc $HOME/shasums
|
||||
|
||||
declare -A platforms=(
|
||||
['x86_64-linux']='linux64'
|
||||
['i686-linux']='linux32'
|
||||
)
|
||||
|
||||
for platform in ${lib.escapeShellArgs meta.platforms}; do
|
||||
arch="''${platforms[$platform]}"
|
||||
sha256=$(cat "$HOME/shasums" | grep "${prefix}""$arch-$version""${suffix}" | cut -d" " -f1)
|
||||
hash=$(nix hash to-sri --type sha256 "$sha256")
|
||||
|
||||
update-source-version "${pname}" "0" "sha256-${lib.fakeSha256}" --source-key="sources.$platform"
|
||||
update-source-version "${pname}" "$version" "$hash" --source-key="sources.$platform"
|
||||
done
|
||||
''
|
42
pkgs/applications/networking/cluster/yor/default.nix
Normal file
42
pkgs/applications/networking/cluster/yor/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ buildGoModule
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "yor";
|
||||
version = "0.1.177";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bridgecrewio";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-tOYRd3LxSlAvXCW89LAm4GWWukDBZhsgYIWYlEVKokE=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-ZeTjGmlu8LndD2DKNncPzlpECdvkOjfwaVvV6S3sL9E=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
# https://github.com/bridgecrewio/yor/blob/main/set-version.sh
|
||||
preBuild = ''
|
||||
cat << EOF > src/common/version.go
|
||||
package common
|
||||
|
||||
const Version = "${version}"
|
||||
EOF
|
||||
'';
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Extensible auto-tagger for your IaC files. The ultimate way to link entities in the cloud back to the codified resource which created it.";
|
||||
homepage = "https://github.com/bridgecrewio/yor";
|
||||
changelog = "https://github.com/bridgecrewio/yor/releases/tag/${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.ivankovnatsky ];
|
||||
};
|
||||
}
|
@ -2,10 +2,10 @@
|
||||
|
||||
let
|
||||
pname = "raven-reader";
|
||||
version = "1.0.78";
|
||||
version = "1.0.80";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/hello-efficiency-inc/raven-reader/releases/download/v${version}/Raven-Reader-${version}.AppImage";
|
||||
sha256 = "sha256-H9V2zTD80fBuIuNZnGDR21IYAAl/b6iYrde5rfsMECQ=";
|
||||
sha256 = "sha256-RkpUWM1hAH73ePpQPj2C3SOukLpcPXbaXmb1VbcHaSU=";
|
||||
};
|
||||
appimageContents = appimageTools.extractType2 { inherit pname version src; };
|
||||
|
||||
|
@ -38,6 +38,6 @@ stdenv.mkDerivation rec {
|
||||
description = "popcorn anime-downloader + trackma wrapper";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ WeebSorceress ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
@ -49,6 +49,6 @@ python3.pkgs.buildPythonApplication rec {
|
||||
description = "A simple but powerful anime downloader and streamer";
|
||||
license = licenses.unlicense;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ WeebSorceress ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
{ lib, stdenv, fetchurl, coreutils, openjdk17, makeWrapper, autoPatchelfHook
|
||||
, zlib, libzen, libmediainfo, curlWithGnuTls, libmms, glib
|
||||
, genericUpdater, writeShellScript
|
||||
}:
|
||||
|
||||
let
|
||||
@ -43,6 +44,13 @@ in stdenv.mkDerivation rec {
|
||||
ln -s $out/opt/filebot.sh $out/bin/filebot
|
||||
'';
|
||||
|
||||
passthru.updateScript = genericUpdater {
|
||||
versionLister = writeShellScript "filebot-versionLister" ''
|
||||
curl -s https://www.filebot.net \
|
||||
| sed -rne 's,^.*FileBot_([0-9]*\.[0-9]+\.[0-9]+)-portable.tar.xz.*,\1,p'
|
||||
'';
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "The ultimate TV and Movie Renamer";
|
||||
longDescription = ''
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
name = "mpv-thumbfast";
|
||||
version = "unstable-2023-05-12";
|
||||
version = "unstable-2023-06-04";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "po5";
|
||||
repo = "thumbfast";
|
||||
rev = "10e9f6133d4ea88e3e5d154969abfaee17173570";
|
||||
hash = "sha256-3fzkAR/itgheXQHTr30XPQR3NpYpIVeZfkcBxEoAnGg=";
|
||||
rev = "6f1d92da25a7b807427f55f085e7ad4d60c4e0d7";
|
||||
hash = "sha256-7CCxMPmZZRDIcWn+YbV4xzZFL80qZS5UFA25E+Y2P2Q=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@ -32,7 +32,7 @@ stdenvNoCC.mkDerivation {
|
||||
meta = {
|
||||
description = "High-performance on-the-fly thumbnailer for mpv";
|
||||
homepage = "https://github.com/po5/thumbfast";
|
||||
license = lib.licenses.unfree; # no explicit licensing information available at this time
|
||||
license = lib.licenses.mpl20;
|
||||
maintainers = with lib.maintainers; [ apfelkuchen6 ];
|
||||
};
|
||||
}
|
||||
|
@ -18,15 +18,15 @@
|
||||
, obs-vkcapture32
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "obs-vkcapture";
|
||||
version = "1.3.2";
|
||||
version = "1.3.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nowrep";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-UQQ8oBEnOxmSN4ZyW4LdPZYvd5eB9EmdR0UvE1wgMZw=";
|
||||
repo = finalAttrs.pname;
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-pvJzzDbsmsu46C8Jki+eMfCZLejkgvqns2hVNDtpSk0=";
|
||||
};
|
||||
|
||||
cmakeFlags = lib.optionals stdenv.isi686 [
|
||||
@ -60,8 +60,9 @@ stdenv.mkDerivation rec {
|
||||
meta = with lib; {
|
||||
description = "OBS Linux Vulkan/OpenGL game capture";
|
||||
homepage = "https://github.com/nowrep/obs-vkcapture";
|
||||
changelog = "https://github.com/nowrep/obs-vkcapture/releases/tag/v${finalAttrs.version}";
|
||||
maintainers = with maintainers; [ atila pedrohlc ];
|
||||
license = licenses.gpl2Only;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
@ -14,4 +14,9 @@ mkDerivation {
|
||||
pname = "kwayland-integration";
|
||||
nativeBuildInputs = [ extra-cmake-modules wayland-scanner ];
|
||||
buildInputs = [ kguiaddons kidletime kwindowsystem kwayland qtbase wayland-protocols wayland ];
|
||||
|
||||
meta = {
|
||||
description = "Integration plugins for various KDE frameworks for the Wayland windowing system";
|
||||
homepage = "https://invent.kde.org/plasma/kwayland-integration";
|
||||
};
|
||||
}
|
||||
|
@ -33,4 +33,9 @@ mkDerivation {
|
||||
kactivities
|
||||
plasma-workspace
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Components necessary to integrate browsers into the Plasma Desktop";
|
||||
homepage = "https://community.kde.org/Plasma/Browser_Integration";
|
||||
};
|
||||
}
|
||||
|
@ -33,4 +33,9 @@ mkDerivation {
|
||||
wayland-protocols
|
||||
plasma-wayland-protocols
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "A set of plugins responsible for better integration of Qt applications when running on a KDE Plasma workspace";
|
||||
homepage = "https://invent.kde.org/plasma/plasma-integration";
|
||||
};
|
||||
}
|
||||
|
@ -1,36 +1,36 @@
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
version = "28";
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "pforth";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "philburk";
|
||||
repo = "pforth";
|
||||
rev = "9190005e32c6151b76ac707b30eeb4d5d9dd1d36";
|
||||
sha256 = "0k3pmcgybsnwrxy75piyb2420r8d4ij190606js32j99062glr3x";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-vEjFeHSJl+yAtatYJEnu+r9hmOr/kZOgIbSUXR/c8WU=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "gnumake-4.3-fix.patch";
|
||||
url = "https://github.com/philburk/pforth/commit/457cb99f57292bc855e53abcdcb7b12d6681e847.patch";
|
||||
sha256 = "0x1bwx3pqb09ddjhmdli47lnk1ys4ny42819g17kfn8nkjs5hbx7";
|
||||
})
|
||||
];
|
||||
dontConfigure = true;
|
||||
|
||||
makeFlags = [ "SRCDIR=." ];
|
||||
makefile = "build/unix/Makefile";
|
||||
preBuild = ''
|
||||
cd platforms/unix
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 pforth_standalone $out/bin/pforth
|
||||
'';
|
||||
|
||||
|
||||
meta = {
|
||||
description = "Portable ANSI style Forth written in ANSI C";
|
||||
homepage = "http://www.softsynth.com/pforth/";
|
||||
license = lib.licenses.publicDomain;
|
||||
description = "Portable Portable ANS-like Forth written in ANSI 'C'";
|
||||
changelog = "https://github.com/philburk/pforth/blob/v${finalAttrs.version}/RELEASES.md";
|
||||
license = lib.licenses.bsd0;
|
||||
maintainers = with lib.maintainers; [ AndersonTorres yrashk ];
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ yrashk ];
|
||||
};
|
||||
}
|
||||
})
|
||||
# TODO: option for install the non-standalone executable
|
||||
|
@ -68,6 +68,9 @@ stdenv.mkDerivation rec {
|
||||
protobuf
|
||||
];
|
||||
|
||||
# https://hydra.nixos.org/build/222679737/nixlog/3/tail
|
||||
NIX_CFLAGS_COMPILE = if stdenv.isAarch64 then "-Wno-error=maybe-uninitialized" else null;
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
preInstallCheck =
|
||||
@ -128,6 +131,7 @@ stdenv.mkDerivation rec {
|
||||
license = with licenses; [ asl20 ];
|
||||
homepage = "https://github.com/googleapis/google-cloud-cpp";
|
||||
description = "C++ Idiomatic Clients for Google Cloud Platform services";
|
||||
platforms = [ "x86_64-linux" "aarch64-linux" ];
|
||||
maintainers = with maintainers; [ cpcloud ];
|
||||
};
|
||||
}
|
||||
|
@ -16,13 +16,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "openimageio";
|
||||
version = "2.4.11.1";
|
||||
version = "2.4.12.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "OpenImageIO";
|
||||
repo = "oiio";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Q8Gb/zscZre7fJPyLlZn04Xp3VFFbr6Z007mDPzownc=";
|
||||
hash = "sha256-0Jilfe4jNNnpsbodJBFIyxjWqOA99MwmzAriwJgvqVs=";
|
||||
};
|
||||
|
||||
outputs = [ "bin" "out" "dev" "doc" ];
|
||||
|
37
pkgs/development/libraries/tbox/default.nix
Normal file
37
pkgs/development/libraries/tbox/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tbox";
|
||||
version = "1.7.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tboox";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-6SqMvwxKSiJO7Z33xx7cJoECu5AJ1gWF8ZsiERWx8DU=";
|
||||
};
|
||||
|
||||
configureFlags = [
|
||||
"--hash=y"
|
||||
"--charset=y"
|
||||
"--float=y"
|
||||
"--demo=n"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/lib/pkgconfig
|
||||
substituteAll ${./libtbox.pc.in} $out/lib/pkgconfig/libtbox.pc
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A glib-like multi-platform c library";
|
||||
homepage = "https://docs.tboox.org";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ rewine ];
|
||||
};
|
||||
}
|
||||
|
10
pkgs/development/libraries/tbox/libtbox.pc.in
Normal file
10
pkgs/development/libraries/tbox/libtbox.pc.in
Normal file
@ -0,0 +1,10 @@
|
||||
prefix=@out@
|
||||
exec_prefix=${prefix}
|
||||
libdir=@out@/lib
|
||||
includedir=@out@/include
|
||||
|
||||
Name: tbox
|
||||
Description: A glib-like multi-platform c library
|
||||
Version: @version@
|
||||
Libs: -L${libdir} -ltbox
|
||||
Cflags: -I${includedir}
|
30
pkgs/development/libraries/xmake-core-sv/default.nix
Normal file
30
pkgs/development/libraries/xmake-core-sv/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xmake-core-sv";
|
||||
version = "1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "xmake-io";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-icvGQi6FNSZXNGs2oLiUKu6rrVsWcXh1r91kycGjnwY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Public domain cross-platform semantic versioning in c99";
|
||||
homepage = "https://github.com/xmake-io/xmake-core-sv";
|
||||
license = licenses.unlicense;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ rewine ];
|
||||
};
|
||||
}
|
||||
|
@ -20,7 +20,7 @@
|
||||
, runDemo ? false
|
||||
, binlore
|
||||
, sqlite
|
||||
, util-linux
|
||||
, unixtools
|
||||
, gawk
|
||||
, rlwrap
|
||||
, gnutar
|
||||
@ -29,7 +29,7 @@
|
||||
|
||||
let
|
||||
default_packages = [ bash file findutils gettext ];
|
||||
parsed_packages = [ coreutils sqlite util-linux gnused gawk findutils rlwrap gnutar bc ];
|
||||
parsed_packages = [ coreutils sqlite unixtools.script gnused gawk findutils rlwrap gnutar bc ];
|
||||
in
|
||||
rec {
|
||||
module1 = resholve.mkDerivation {
|
||||
|
@ -0,0 +1,23 @@
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 52dc7a8..407c056 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -2,4 +2,4 @@
|
||||
# Copyright 2012 Google Inc. wrightt@google.com
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
-SUBDIRS = src include examples
|
||||
+SUBDIRS = src include
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index ac2a278..a4104b7 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -82,7 +82,7 @@ fi
|
||||
|
||||
AC_CHECK_FUNCS([memmove memset regcomp select socket strcasecmp strncasecmp strchr strdup strndup strrchr strstr strtol strcasestr getline])
|
||||
|
||||
-AC_CONFIG_FILES([Makefile src/Makefile include/Makefile examples/Makefile])
|
||||
+AC_CONFIG_FILES([Makefile src/Makefile include/Makefile])
|
||||
|
||||
CFLAGS="${CFLAGS} -Wall -Werror"
|
||||
|
57
pkgs/development/mobile/ios-webkit-debug-proxy/default.nix
Normal file
57
pkgs/development/mobile/ios-webkit-debug-proxy/default.nix
Normal file
@ -0,0 +1,57 @@
|
||||
{ stdenv
|
||||
, autoconf
|
||||
, automake
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, lib
|
||||
, libimobiledevice
|
||||
, libusb1
|
||||
, libplist
|
||||
, libtool
|
||||
, openssl
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ios-webkit-debug-proxy";
|
||||
version = "1.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-cZ/p/aWET/BXKDrD+qgR+rfTISd+4jPNQFuV8klSLUo=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# OpenSSL 3.0 compatibility
|
||||
(fetchpatch {
|
||||
url = "https://github.com/google/ios-webkit-debug-proxy/commit/5ba30a2a67f39d25025cadf37c0eafb2e2d2d0a8.patch";
|
||||
sha256 = "sha256-2b9BjG9wkqO+ZfoBYYJvD2Db5Kr0F/MxKMTRsI0ea3s=";
|
||||
})
|
||||
# Examples compilation breaks with --disable-static, see https://github.com/google/ios-webkit-debug-proxy/issues/399
|
||||
./0001-Don-t-compile-examples.patch
|
||||
];
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ autoconf automake libtool pkg-config ];
|
||||
buildInputs = [ libimobiledevice libusb1 libplist openssl ];
|
||||
|
||||
preConfigure = ''
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
'';
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A DevTools proxy (Chrome Remote Debugging Protocol) for iOS devices (Safari Remote Web Inspector).";
|
||||
longDescription = ''
|
||||
The ios_webkit_debug_proxy (aka iwdp) proxies requests from usbmuxd
|
||||
daemon over a websocket connection, allowing developers to send commands
|
||||
to MobileSafari and UIWebViews on real and simulated iOS devices.
|
||||
'';
|
||||
homepage = "https://github.com/google/ios-webkit-debug-proxy";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.abustany ];
|
||||
};
|
||||
}
|
47
pkgs/development/python-modules/broadbean/default.nix
Normal file
47
pkgs/development/python-modules/broadbean/default.nix
Normal file
@ -0,0 +1,47 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, versioningit
|
||||
, numpy
|
||||
, matplotlib
|
||||
, schema
|
||||
, hypothesis
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "broadbean";
|
||||
version = "0.11.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-e+LAcmWxT+SkaWtToPgg+x3QRu5fCSm+w4dLCcyZrw8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools versioningit ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
matplotlib
|
||||
schema
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
hypothesis
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "broadbean" ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://qcodes.github.io/broadbean";
|
||||
description = "A library for making pulses that can be leveraged with QCoDeS";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ evilmav ];
|
||||
};
|
||||
}
|
@ -23,6 +23,6 @@ buildPythonPackage rec {
|
||||
description = "A Python module to bypass Cloudflare's anti-bot page";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ WeebSorceress ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
@ -27,14 +27,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-auth";
|
||||
version = "2.18.1";
|
||||
version = "2.19.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-16MkkCfn9GT7v9fugxmgitCdLupRV4V1xL02D/oEnMs=";
|
||||
hash = "sha256-qc+oiz4WGWhF5ko2WOuVOZISnROsczewZMZUb3fBcYM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
46
pkgs/development/python-modules/oca-port/default.nix
Normal file
46
pkgs/development/python-modules/oca-port/default.nix
Normal file
@ -0,0 +1,46 @@
|
||||
{ buildPythonPackage
|
||||
, click
|
||||
, fetchPypi
|
||||
, gitpython
|
||||
, lib
|
||||
, nix-update-script
|
||||
, requests
|
||||
, setuptools-scm
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "oca-port";
|
||||
version = "0.13";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "oca_port";
|
||||
hash = "sha256-9ihqjnGdBPasiRD2pZeaiibwzFQKI9t+s/zMzvyLLHQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
gitpython
|
||||
requests
|
||||
];
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
pythonImportsCheck = [ "oca_port" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool helping to port an addon or missing commits of an addon from one branch to another";
|
||||
homepage = "https://github.com/OCA/oca-port";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ yajo ];
|
||||
};
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, azure-core
|
||||
, azure-identity
|
||||
, opencensus
|
||||
, psutil
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "opencensus-ext-azure";
|
||||
version = "1.1.9";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-UHYIt36djqq2/9X/EbfOuH9U5KapQMS4FDMbTRsDQVE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
azure-core
|
||||
azure-identity
|
||||
opencensus
|
||||
psutil
|
||||
requests
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "opencensus.ext.azure" ];
|
||||
|
||||
doCheck = false; # tests are not included in the PyPi tarball
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/census-instrumentation/opencensus-python/tree/master/contrib/opencensus-ext-azure";
|
||||
description = "OpenCensus Azure Monitor Exporter";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ billhuang evilmav ];
|
||||
};
|
||||
}
|
@ -0,0 +1,58 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, deprecated
|
||||
, hatchling
|
||||
, importlib-metadata
|
||||
, opentelemetry-test-utils
|
||||
, setuptools
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
let
|
||||
self = buildPythonPackage {
|
||||
pname = "opentelemetry-api";
|
||||
version = "1.18.0";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-telemetry";
|
||||
repo = "opentelemetry-python";
|
||||
rev = "refs/tags/v${self.version}";
|
||||
hash = "sha256-h6XDzM29wYiC51S7OpBXvWFCfZ7DmIyGMG2pFjJV7pI=";
|
||||
sparseCheckout = [ "/${self.pname}" ];
|
||||
} + "/${self.pname}";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
deprecated
|
||||
importlib-metadata
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
opentelemetry-test-utils
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "opentelemetry" ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
# Enable tests via passthru to avoid cyclic dependency with opentelemetry-test-utils.
|
||||
passthru.tests.${self.pname} = self.overridePythonAttrs { doCheck = true; };
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://opentelemetry.io";
|
||||
description = "OpenTelemetry Python API";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.deshaw.members;
|
||||
};
|
||||
};
|
||||
in self
|
@ -0,0 +1,49 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, hatchling
|
||||
, opentelemetry-proto
|
||||
, opentelemetry-sdk
|
||||
, opentelemetry-test-utils
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "opentelemetry-exporter-otlp-proto-common";
|
||||
version = "1.18.0";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-telemetry";
|
||||
repo = "opentelemetry-python";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-HNlkbDyYnr0/lDeY1xt0pRxqk+977ljgPdfJzAxL3AQ=";
|
||||
sparseCheckout = [ "/exporter/${pname}" ];
|
||||
} + "/exporter/${pname}";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
opentelemetry-sdk
|
||||
opentelemetry-proto
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
opentelemetry-test-utils
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "opentelemetry.exporter.otlp.proto.common" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/exporter/opentelemetry-exporter-otlp-proto-common";
|
||||
description = "OpenTelemetry Protobuf encoding";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.deshaw.members;
|
||||
};
|
||||
}
|
@ -0,0 +1,58 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, backoff
|
||||
, googleapis-common-protos
|
||||
, grpcio
|
||||
, hatchling
|
||||
, opentelemetry-test-utils
|
||||
, opentelemetry-exporter-otlp-proto-common
|
||||
, pytest-grpc
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "opentelemetry-exporter-otlp-proto-grpc";
|
||||
version = "1.18.0";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-telemetry";
|
||||
repo = "opentelemetry-python";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-feAmPL/G3ABIY5tBODlMJIBzxqg6Bl7imJB2EYtEp2o=";
|
||||
sparseCheckout = [ "/exporter/${pname}" ];
|
||||
} + "/exporter/${pname}";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
backoff
|
||||
googleapis-common-protos
|
||||
grpcio
|
||||
opentelemetry-exporter-otlp-proto-common
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
opentelemetry-test-utils
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
"tests/performance/benchmarks/"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "opentelemetry.exporter.otlp.proto.grpc" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/exporter/opentelemetry-exporter-otlp-proto-grpc";
|
||||
description = "OpenTelemetry Collector Protobuf over gRPC Exporter";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.deshaw.members;
|
||||
};
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, backoff
|
||||
, googleapis-common-protos
|
||||
, hatchling
|
||||
, opentelemetry-exporter-otlp-proto-common
|
||||
, opentelemetry-test-utils
|
||||
, requests
|
||||
, responses
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "opentelemetry-exporter-otlp-proto-http";
|
||||
version = "1.18.0";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-telemetry";
|
||||
repo = "opentelemetry-python";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-r4jvIhRM9E4CuZyS/XvvYO+F9cPxip8ab57CUfip47Q=";
|
||||
sparseCheckout = [ "/exporter/${pname}" ];
|
||||
} + "/exporter/${pname}";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
backoff
|
||||
googleapis-common-protos
|
||||
opentelemetry-exporter-otlp-proto-common
|
||||
requests
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
opentelemetry-test-utils
|
||||
pytestCheckHook
|
||||
responses
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "opentelemetry.exporter.otlp.proto.http" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/exporter/opentelemetry-exporter-otlp-proto-http";
|
||||
description = "OpenTelemetry Collector Protobuf over HTTP Exporter";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.deshaw.members;
|
||||
};
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, backoff
|
||||
, hatchling
|
||||
, opentelemetry-exporter-otlp-proto-grpc
|
||||
, opentelemetry-exporter-otlp-proto-http
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "opentelemetry-exporter-otlp";
|
||||
version = "1.18.0";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-telemetry";
|
||||
repo = "opentelemetry-python";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-ph9ahT6M8UBvuUJjk6nug68Ou/D7XuuXkfnKHEdD8x8=";
|
||||
sparseCheckout = [ "/exporter/${pname}" ];
|
||||
} + "/exporter/${pname}";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
opentelemetry-exporter-otlp-proto-grpc
|
||||
opentelemetry-exporter-otlp-proto-http
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "opentelemetry.exporter.otlp" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/exporter/opentelemetry-exporter-otlp";
|
||||
description = "OpenTelemetry Collector Exporters";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.deshaw.members;
|
||||
};
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, hatchling
|
||||
, opentelemetry-api
|
||||
, opentelemetry-sdk
|
||||
, opentelemetry-test-utils
|
||||
, prometheus-client
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "opentelemetry-exporter-prometheus";
|
||||
version = "1.18.0";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-telemetry";
|
||||
repo = "opentelemetry-python";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-vWVLUt3Ett04kqUyoTOBNvRj51/M35X83saBBxeOTZI=";
|
||||
sparseCheckout = [ "/exporter/${pname}" ];
|
||||
} + "/exporter/${pname}";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
opentelemetry-api
|
||||
opentelemetry-sdk
|
||||
prometheus-client
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
opentelemetry-test-utils
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "opentelemetry.exporter.prometheus" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/exporter/opentelemetry-exporter-prometheus";
|
||||
description = "Prometheus Metric Exporter for OpenTelemetry";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.deshaw.members;
|
||||
};
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, asgiref
|
||||
, hatchling
|
||||
, opentelemetry-api
|
||||
, opentelemetry-instrumentation
|
||||
, opentelemetry-semantic-conventions
|
||||
, opentelemetry-test-utils
|
||||
, opentelemetry-util-http
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "opentelemetry-instrumentation-asgi";
|
||||
version = "0.39b0";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-telemetry";
|
||||
repo = "opentelemetry-python-contrib";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-BfNrbOQwyApdcKOVGF0LqzWOxzLkHZYiYdYVVPkGmdQ=";
|
||||
sparseCheckout = [ "/instrumentation/${pname}" ];
|
||||
} + "/instrumentation/${pname}";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
asgiref
|
||||
opentelemetry-instrumentation
|
||||
opentelemetry-api
|
||||
opentelemetry-semantic-conventions
|
||||
opentelemetry-util-http
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
opentelemetry-test-utils
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "opentelemetry.instrumentation.asgi" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/opentelemetry-instrumentation-asgi";
|
||||
description = "ASGI instrumentation for OpenTelemetry";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.deshaw.members;
|
||||
};
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, django
|
||||
, hatchling
|
||||
, opentelemetry-api
|
||||
, opentelemetry-instrumentation
|
||||
, opentelemetry-instrumentation-asgi
|
||||
, opentelemetry-instrumentation-wsgi
|
||||
, opentelemetry-semantic-conventions
|
||||
, opentelemetry-test-utils
|
||||
, opentelemetry-util-http
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "opentelemetry-instrumentation-django";
|
||||
version = "0.39b0";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-telemetry";
|
||||
repo = "opentelemetry-python-contrib";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-5tyLFQTYuJBFAFZirqsaHXCw72Q3TigDctZZFi/2zdI=";
|
||||
sparseCheckout = [ "/instrumentation/${pname}" ];
|
||||
} + "/instrumentation/${pname}";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
django
|
||||
opentelemetry-api
|
||||
opentelemetry-instrumentation
|
||||
opentelemetry-instrumentation-asgi
|
||||
opentelemetry-instrumentation-wsgi
|
||||
opentelemetry-semantic-conventions
|
||||
opentelemetry-util-http
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
opentelemetry-test-utils
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "opentelemetry.instrumentation.django" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/opentelemetry-instrumentation-django";
|
||||
description = "OpenTelemetry Instrumentation for Django";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.deshaw.members;
|
||||
};
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, hatchling
|
||||
, opentelemetry-api
|
||||
, opentelemetry-instrumentation
|
||||
, opentelemetry-semantic-conventions
|
||||
, opentelemetry-test-utils
|
||||
, opentelemetry-util-http
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "opentelemetry-instrumentation-wsgi";
|
||||
version = "0.39b0";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-telemetry";
|
||||
repo = "opentelemetry-python-contrib";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-DBZGXY8Y208YC/guk0qUB04UA/JFAtiv3kjsikskTRs=";
|
||||
sparseCheckout = [ "/instrumentation/${pname}" ];
|
||||
} + "/instrumentation/${pname}";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
opentelemetry-instrumentation
|
||||
opentelemetry-api
|
||||
opentelemetry-semantic-conventions
|
||||
opentelemetry-util-http
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
opentelemetry-test-utils
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "opentelemetry.instrumentation.wsgi" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/opentelemetry-instrumentation-wsgi";
|
||||
description = "WSGI Middleware for OpenTelemetry";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.deshaw.members;
|
||||
};
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, hatchling
|
||||
, opentelemetry-api
|
||||
, opentelemetry-sdk
|
||||
, opentelemetry-test-utils
|
||||
, setuptools
|
||||
, wrapt
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "opentelemetry-instrumentation";
|
||||
version = "0.39b0";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-telemetry";
|
||||
repo = "opentelemetry-python-contrib";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-+zk76A640nyd1L0I55JrMMs7EnQ+SPQdYGAFIyQFc6E=";
|
||||
sparseCheckout = [ "/${pname}" ];
|
||||
} + "/${pname}";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
opentelemetry-api
|
||||
opentelemetry-sdk
|
||||
setuptools
|
||||
wrapt
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
opentelemetry-test-utils
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "opentelemetry.instrumentation" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/opentelemetry-instrumentation";
|
||||
description = "Instrumentation Tools & Auto Instrumentation for OpenTelemetry Python";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.deshaw.members;
|
||||
};
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, hatchling
|
||||
, protobuf
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "opentelemetry-proto";
|
||||
version = "1.18.0";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-telemetry";
|
||||
repo = "opentelemetry-python";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-6iB+QlBUqRvIJ9p38NYgP4icW2rYs1P3bNCxI95cOvs=";
|
||||
sparseCheckout = [ "/${pname}" ];
|
||||
} + "/${pname}";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
protobuf
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "opentelemetry.proto" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/opentelemetry-proto";
|
||||
description = "OpenTelemetry Python Proto";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.deshaw.members;
|
||||
};
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, flaky
|
||||
, hatchling
|
||||
, opentelemetry-api
|
||||
, opentelemetry-semantic-conventions
|
||||
, opentelemetry-test-utils
|
||||
, setuptools
|
||||
, typing-extensions
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
let
|
||||
self = buildPythonPackage {
|
||||
pname = "opentelemetry-sdk";
|
||||
version = "1.18.0";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-telemetry";
|
||||
repo = "opentelemetry-python";
|
||||
rev = "refs/tags/v${self.version}";
|
||||
hash = "sha256-YMFSmzuvm/VA9Fpe7pbF9mnGQHOQpobWMb1iGRt+d3w=";
|
||||
sparseCheckout = [ "/${self.pname}" ];
|
||||
} + "/${self.pname}";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
opentelemetry-api
|
||||
opentelemetry-semantic-conventions
|
||||
setuptools
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
flaky
|
||||
opentelemetry-test-utils
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
"tests/performance/benchmarks/"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "opentelemetry.sdk" ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
# Enable tests via passthru to avoid cyclic dependency with opentelemetry-test-utils.
|
||||
passthru.tests.${self.pname} = self.overridePythonAttrs { doCheck = true; };
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://opentelemetry.io";
|
||||
description = "OpenTelemetry Python API and SDK";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.deshaw.members;
|
||||
};
|
||||
};
|
||||
in self
|
@ -0,0 +1,40 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, hatchling
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "opentelemetry-semantic-conventions";
|
||||
version = "1.18.0";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-telemetry";
|
||||
repo = "opentelemetry-python";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-82L/tDoWgu0r+Li3CS3hjVR99DQQmA5yt3y85+37imI=";
|
||||
sparseCheckout = [ "/${pname}" ];
|
||||
} + "/${pname}";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "opentelemetry.semconv" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/opentelemetry-semantic-conventions";
|
||||
description = "OpenTelemetry Semantic Conventions";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.deshaw.members;
|
||||
};
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
{ lib
|
||||
, callPackage
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, asgiref
|
||||
, hatchling
|
||||
, opentelemetry-api
|
||||
, opentelemetry-sdk
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "opentelemetry-test-utils";
|
||||
version = "1.18.0";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-telemetry";
|
||||
repo = "opentelemetry-python";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-WRcKTE3eVqOSQUi5gZ3du+RGw8CrMazXHrctdrjgzHo=";
|
||||
sparseCheckout = [ "/tests/${pname}" ];
|
||||
} + "/tests/${pname}";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
asgiref
|
||||
opentelemetry-api
|
||||
opentelemetry-sdk
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "opentelemetry.test" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/tests/opentelemetry-test-utils";
|
||||
description = "Test utilities for OpenTelemetry unit tests";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.deshaw.members;
|
||||
};
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, hatchling
|
||||
, opentelemetry-instrumentation
|
||||
, opentelemetry-sdk
|
||||
, opentelemetry-semantic-conventions
|
||||
, opentelemetry-test-utils
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "opentelemetry-util-http";
|
||||
version = "0.39b0";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-telemetry";
|
||||
repo = "opentelemetry-python-contrib";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-C20/M5wimQec/8tTKx7+jkIYgfgNPtU9lkPKliIM3Uk=";
|
||||
sparseCheckout = [ "/util/${pname}" ];
|
||||
} + "/util/${pname}";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
opentelemetry-instrumentation
|
||||
opentelemetry-sdk
|
||||
opentelemetry-semantic-conventions
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
opentelemetry-test-utils
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "opentelemetry.util.http" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/util/opentelemetry-util-http";
|
||||
description = "Web util for OpenTelemetry";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.deshaw.members;
|
||||
};
|
||||
}
|
@ -15,7 +15,8 @@ let
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
pname = "playwright";
|
||||
version = "1.32.1";
|
||||
# run ./pkgs/development/python-modules/playwright/update.sh to update
|
||||
version = "1.34.0";
|
||||
format = "setuptools";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
@ -23,7 +24,7 @@ buildPythonPackage rec {
|
||||
owner = "microsoft";
|
||||
repo = "playwright-python";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-rguobFaepTOL2duHRdFV5o2JSsBlYiA7rY3/RyHvoMc=";
|
||||
hash = "sha256-GIxMVuSSJsRDsHDOPnJsDsTcghGYtIFpRS5u7HJd+zY=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -1,8 +1,10 @@
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p curl gnused nix-prefetch common-updater-scripts
|
||||
#!nix-shell -i bash -p curl gnused nix-prefetch common-updater-scripts node2nix
|
||||
set -euo pipefail
|
||||
|
||||
root="$(dirname "$(readlink -f "$0")")"
|
||||
driver_file="$root/../../web/playwright/driver.nix"
|
||||
playwright_test="$root/../../web/playwright-test"
|
||||
|
||||
version=$(curl ${GITHUB_TOKEN:+" -u \":$GITHUB_TOKEN\""} -s https://api.github.com/repos/microsoft/playwright-python/releases/latest | jq -r '.tag_name | sub("^v"; "")')
|
||||
|
||||
@ -13,11 +15,11 @@ setup_py_url="https://github.com/microsoft/playwright-python/raw/v${version}/set
|
||||
driver_version=$(curl -Ls "$setup_py_url" | grep '^driver_version =' | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+')
|
||||
|
||||
fetch_driver_arch() {
|
||||
nix-prefetch-url "https://playwright.azureedge.net/builds/driver/playwright-${version}-${1}.zip"
|
||||
nix-prefetch-url "https://playwright.azureedge.net/builds/driver/playwright-${driver_version}-${1}.zip"
|
||||
}
|
||||
|
||||
replace_sha() {
|
||||
sed -i "s|$1 = \".\{44,52\}\"|$1 = \"$2\"|" "$root/default.nix"
|
||||
sed -i "s|$1 = \".\{44,52\}\"|$1 = \"$2\"|" "$driver_file"
|
||||
}
|
||||
|
||||
# Replace SHAs for the driver downloads
|
||||
@ -27,5 +29,7 @@ replace_sha "aarch64-linux" "$(fetch_driver_arch "linux-arm64")"
|
||||
replace_sha "aarch64-darwin" "$(fetch_driver_arch "mac-arm64")"
|
||||
|
||||
# Update the version stamps
|
||||
sed -i "s/driverVersion = \"[^\$]*\"/driverVersion = \"$driver_version\"/" "$root/default.nix"
|
||||
sed -i "s/version =\s*\"[^\$]*\"/version = \"$driver_version\"/" "$driver_file"
|
||||
sed -i "s/\"@playwright\/test\": \"[^\$]*\"/\"@playwright\/test\": \"$driver_version\"/" "$playwright_test/node-packages.json"
|
||||
(cd "$playwright_test"; node2nix -i node-packages.json)
|
||||
update-source-version playwright "$version" --rev="v$version"
|
||||
|
@ -20,6 +20,6 @@ buildPythonPackage rec {
|
||||
description = "A Smart Download Manager for Python";
|
||||
license = licenses.unlicense;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ WeebSorceress ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
32
pkgs/development/python-modules/pytest-grpc/default.nix
Normal file
32
pkgs/development/python-modules/pytest-grpc/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, grpcio
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-grpc";
|
||||
version = "0.8.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-C9JoP/00GZRE1wfAqwGXCyLgr7umyx3bbVeMhev+Cb0=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
grpcio
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "pytest plugin for grpc";
|
||||
homepage = "https://github.com/MobileDynasty/pytest-env";
|
||||
license = licenses.mit;
|
||||
maintainers = teams.deshaw.members;
|
||||
};
|
||||
}
|
49
pkgs/development/python-modules/pyvisa-sim/default.nix
Normal file
49
pkgs/development/python-modules/pyvisa-sim/default.nix
Normal file
@ -0,0 +1,49 @@
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, buildPythonPackage
|
||||
, pyvisa
|
||||
, pyyaml
|
||||
, stringparser
|
||||
, typing-extensions
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyvisa-sim";
|
||||
version = "0.5.1";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "PyVISA-sim";
|
||||
inherit version;
|
||||
sha256 = "sha256-vWxW941/1e58pqL/Rzq+eoZJpwsvLphgIe48SuJtohY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyvisa
|
||||
pyyaml
|
||||
stringparser
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pyvisa_sim" ];
|
||||
|
||||
# should be fixed after 0.5.1, remove at next release
|
||||
disabledTestPaths = [
|
||||
"pyvisa_sim/testsuite/test_all.py"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simulated backend for PyVISA implementing TCPIP, GPIB, RS232, and USB resources";
|
||||
homepage = "https://pyvisa.readthedocs.io/projects/pyvisa-sim/en/latest/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ evilmav ];
|
||||
};
|
||||
}
|
@ -0,0 +1,58 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, buildPythonPackage
|
||||
, setuptools
|
||||
, versioningit
|
||||
, qcodes
|
||||
, packaging
|
||||
, pytestCheckHook
|
||||
, pytest-mock
|
||||
, pyvisa-sim
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "qcodes-contrib-drivers";
|
||||
version = "0.18.0";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "QCoDeS";
|
||||
repo = "Qcodes_contrib_drivers";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-hg3jSiuOkiuOInnUzzlKtBeoP5zkCDBQ3xP6KCwq+lU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools versioningit ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
qcodes
|
||||
packaging
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-mock
|
||||
pyvisa-sim
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "qcodes_contrib_drivers" ];
|
||||
|
||||
# should be fixed starting with 0.19.0, remove at next release
|
||||
disabledTestPaths = [
|
||||
"qcodes_contrib_drivers/tests/test_Keysight_M3201A.py"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
export HOME="$TMPDIR"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "User contributed drivers for QCoDeS";
|
||||
homepage = "https://github.com/QCoDeS/Qcodes_contrib_drivers";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ evilmav ];
|
||||
};
|
||||
}
|
87
pkgs/development/python-modules/qcodes-loop/default.nix
Normal file
87
pkgs/development/python-modules/qcodes-loop/default.nix
Normal file
@ -0,0 +1,87 @@
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, buildPythonPackage
|
||||
, qcodes
|
||||
, h5py
|
||||
, lazy-loader
|
||||
, matplotlib
|
||||
, numpy
|
||||
, pandas
|
||||
, versioningit
|
||||
, xarray
|
||||
, hickle
|
||||
, ipython
|
||||
, slack-sdk
|
||||
, hypothesis
|
||||
, pytest-xdist
|
||||
, pytest-mock
|
||||
, pyqtgraph
|
||||
, pyqt5
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "qcodes-loop";
|
||||
version = "0.1.1";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "qcodes_loop";
|
||||
sha256 = "sha256-pDR0Ws8cYQifftdE9dKcSzMxmouFo4tJmQvNanm6zyM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
versioningit
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
qcodes
|
||||
h5py
|
||||
lazy-loader
|
||||
matplotlib
|
||||
numpy
|
||||
pandas
|
||||
xarray
|
||||
hickle
|
||||
ipython
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
qtplot = [
|
||||
pyqtgraph
|
||||
];
|
||||
slack = [
|
||||
slack-sdk
|
||||
];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
hypothesis
|
||||
pytest-xdist
|
||||
pytest-mock
|
||||
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"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
export HOME="$TMPDIR"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Features previously in QCoDeS";
|
||||
homepage = "https://github.com/QCoDeS/Qcodes_loop";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ evilmav ];
|
||||
};
|
||||
}
|
133
pkgs/development/python-modules/qcodes/default.nix
Normal file
133
pkgs/development/python-modules/qcodes/default.nix
Normal file
@ -0,0 +1,133 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, versioningit
|
||||
|
||||
# mandatory
|
||||
, broadbean
|
||||
, h5netcdf
|
||||
, h5py
|
||||
, importlib-metadata
|
||||
, importlib-resources
|
||||
, ipywidgets
|
||||
, ipykernel
|
||||
, jsonschema
|
||||
, matplotlib
|
||||
, numpy
|
||||
, opencensus
|
||||
, opencensus-ext-azure
|
||||
, packaging
|
||||
, pandas
|
||||
, pyvisa
|
||||
, ruamel-yaml
|
||||
, tabulate
|
||||
, typing-extensions
|
||||
, tqdm
|
||||
, uncertainties
|
||||
, websockets
|
||||
, wrapt
|
||||
, xarray
|
||||
, ipython
|
||||
, pillow
|
||||
, rsa
|
||||
|
||||
# optional
|
||||
, qcodes-loop
|
||||
|
||||
# test
|
||||
, pytestCheckHook
|
||||
, deepdiff
|
||||
, hypothesis
|
||||
, lxml
|
||||
, pytest-asyncio
|
||||
, pytest-mock
|
||||
, pytest-rerunfailures
|
||||
, pytest-xdist
|
||||
, pyvisa-sim
|
||||
, sphinx
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "qcodes";
|
||||
version = "0.38.1";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-whUGkRvYQOdYxWoj7qhv2kiiyTwq3ZLLipI424PBzFg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools versioningit ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
broadbean
|
||||
h5netcdf
|
||||
h5py
|
||||
ipywidgets
|
||||
ipykernel
|
||||
jsonschema
|
||||
matplotlib
|
||||
numpy
|
||||
opencensus
|
||||
opencensus-ext-azure
|
||||
packaging
|
||||
pandas
|
||||
pyvisa
|
||||
ruamel-yaml
|
||||
tabulate
|
||||
typing-extensions
|
||||
tqdm
|
||||
uncertainties
|
||||
websockets
|
||||
wrapt
|
||||
xarray
|
||||
ipython
|
||||
pillow
|
||||
rsa
|
||||
] ++ lib.optionals (pythonOlder "3.10") [
|
||||
importlib-metadata
|
||||
] ++ lib.optionals (pythonOlder "3.9") [
|
||||
importlib-resources
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
loop = [
|
||||
qcodes-loop
|
||||
];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
deepdiff
|
||||
hypothesis
|
||||
lxml
|
||||
pytest-asyncio
|
||||
pytest-mock
|
||||
pytest-rerunfailures
|
||||
pytest-xdist
|
||||
pyvisa-sim
|
||||
sphinx
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# depends on qcodes-loop, causing a cyclic dependency
|
||||
"qcodes/tests/dataset/measurement/test_load_legacy_data.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "qcodes" ];
|
||||
|
||||
postInstall = ''
|
||||
export HOME="$TMPDIR"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://qcodes.github.io/Qcodes/";
|
||||
description = "Python-based data acquisition framework";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ evilmav ];
|
||||
};
|
||||
}
|
@ -40,7 +40,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sentry-sdk";
|
||||
version = "1.24.0";
|
||||
version = "1.25.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -49,7 +49,7 @@ buildPythonPackage rec {
|
||||
owner = "getsentry";
|
||||
repo = "sentry-python";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-gCZvRkR5p94RxCe+STaV5M32xc2G71QkYF1TO2PHNMk=";
|
||||
hash = "sha256-aY6oZf6S6jioeL10euxo1ijvzE7FcHQoWjadE21ILA4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
36
pkgs/development/python-modules/stringparser/default.nix
Normal file
36
pkgs/development/python-modules/stringparser/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, setuptools-scm
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "stringparser";
|
||||
version = "0.6";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hgrecco";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-uyeHuH0UfpZqh7sMRI6+fR/Rr2jSzdR+5O/MtzslO5w=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools setuptools-scm ];
|
||||
|
||||
pythonImportsCheck = [ "stringparser" ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Easy to use pattern matching and information extraction";
|
||||
homepage = "https://github.com/hgrecco/stringparser";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ evilmav ];
|
||||
};
|
||||
}
|
@ -2,13 +2,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "air";
|
||||
version = "1.43.0";
|
||||
version = "1.44.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cosmtrek";
|
||||
repo = "air";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-gFMT/casY2ASbh0UzUjtgVGCiVFcFHBlvWlRptqRw3Y=";
|
||||
hash = "sha256-BLha2PDn7iF0B5OPVkJT6en1Znt/6xiHxuCj14ha9tc=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-n2Ei+jckSYAydAdJnMaPc7FGUcwSbC49hk6nlDyDMPE=";
|
||||
|
46
pkgs/development/tools/build-managers/xmake/default.nix
Normal file
46
pkgs/development/tools/build-managers/xmake/default.nix
Normal file
@ -0,0 +1,46 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, pkg-config
|
||||
, lua
|
||||
, readline
|
||||
, ncurses
|
||||
, lz4
|
||||
, tbox
|
||||
, xmake-core-sv
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xmake";
|
||||
version = "2.7.9";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/xmake-io/xmake/releases/download/v${version}/xmake-v${version}.tar.gz";
|
||||
hash = "sha256-m0LYY0gz9IhbBbiUKd1gBE3KmSMvYJYyC42Ff7M9Ku8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
lua
|
||||
lua.pkgs.cjson
|
||||
readline
|
||||
ncurses
|
||||
lz4
|
||||
tbox
|
||||
xmake-core-sv
|
||||
];
|
||||
|
||||
configureFlags = [ "--external=y" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A cross-platform build utility based on Lua";
|
||||
homepage = "https://xmake.io";
|
||||
license = licenses.asl20;
|
||||
platforms = lua.meta.platforms;
|
||||
maintainers = with maintainers; [ rewine ];
|
||||
};
|
||||
}
|
||||
|
29
pkgs/development/tools/capnproto-rust/default.nix
Normal file
29
pkgs/development/tools/capnproto-rust/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ lib
|
||||
, fetchCrate
|
||||
, rustPlatform
|
||||
, capnproto
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "capnproto-rust";
|
||||
version = "0.17.1";
|
||||
|
||||
src = fetchCrate {
|
||||
crateName = "capnpc";
|
||||
inherit version;
|
||||
sha256 = "sha256-7RfJUYV3X9w0FALP3pbhmeIqrWLqlgr4oNvPnBc+RY8=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-wmoXdukXWagW61jbFBODnIjlBrV6Q+wgvuFG/TqkvVk=";
|
||||
|
||||
nativeCheckInputs = [
|
||||
capnproto
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cap'n Proto codegen plugin for Rust";
|
||||
homepage = "https://github.com/capnproto/capnproto-rust";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mikroskeem ];
|
||||
};
|
||||
}
|
@ -24,7 +24,7 @@ let
|
||||
in
|
||||
rec {
|
||||
|
||||
electron-bin = electron_24-bin;
|
||||
electron-bin = electron_25-bin;
|
||||
|
||||
electron_9-bin = mkElectron "9.4.4" {
|
||||
x86_64-linux = "781d6ca834d415c71078e1c2c198faba926d6fce19e31448bbf4450869135450";
|
||||
@ -151,30 +151,39 @@ rec {
|
||||
headers = "0zvwd3gz5y3yq5jgkswnarv75j05lfaz58w37fidq5aib1hi50hn";
|
||||
};
|
||||
|
||||
electron_22-bin = mkElectron "22.3.8" {
|
||||
armv7l-linux = "6488e32debf6e4a2027897b7748e2fdb6e27d1d05475e7aacd30e798e92af996";
|
||||
aarch64-linux = "ab93be098c74edcc6f66ed461cbe6eb5f8185245edb611252ebb91a07e04ebe4";
|
||||
x86_64-linux = "40a2394417c976dbe055fe96875f482bb73731991f547a977d049dba6a067c0e";
|
||||
x86_64-darwin = "47cf839bbb59fc9d4abfff9bdfe3ec8ada88c0cfafe451227034e20592565344";
|
||||
aarch64-darwin = "6dcc9ae7928f6fa01bc17377bd78ddef4fe5beb9a69ee293a8df60b2cc058a00";
|
||||
headers = "1g4d81iwbkhw3b75q4fh1qajxfwwryqfbiqhviz1yqcw01cbah4f";
|
||||
electron_22-bin = mkElectron "22.3.12" {
|
||||
armv7l-linux = "aee831671cb7f869366ed165900743e6e8a53845e9a059a68ef81bb725c93dca";
|
||||
aarch64-linux = "35d8ba41d2247a26923e93d7b96425b39ac821fd24d31c286718a1e5b64a7156";
|
||||
x86_64-linux = "616bc674bf7cbdd6369888b987514c7a63442755561e1f5e6d85575e881d107e";
|
||||
x86_64-darwin = "e421bc52de410b45b68bae2f13c405ef0ef43f8aa2046419a0f15e38d04f214a";
|
||||
aarch64-darwin = "f2d4b327df42f9801e09260b94adaeed878e02b7e4a9adfd5912b754181ead3c";
|
||||
headers = "1k5a8sg8g5jzv9vih4n81wwlvi14snzxgvrh13w5canihj6hiygi";
|
||||
};
|
||||
|
||||
electron_23-bin = mkElectron "23.3.1" {
|
||||
armv7l-linux = "0a0b4baf598fac6eed150436cccc754277c6c5765dcf06d33bf1457eb570e260";
|
||||
aarch64-linux = "6aae5e986fd578d7ba8a6bf0f4631f314d48bac58f66f493e79f35ab9af911c1";
|
||||
x86_64-linux = "084e16b84df37e31761cbf7f76effdd673d923c17115608b95a7b0cfc84caa46";
|
||||
x86_64-darwin = "811309609df9dcd6e727fac6694b56847a1401d76eee94c26f12343e11a81beb";
|
||||
aarch64-darwin = "2c092341413725c7609f6a891e6552dd094807fbce1a6f272be85723041e3b6f";
|
||||
headers = "0as0wri865kj9m44qka8by8nw3c4g1hgyc8ar5m18r8kr0x28z00";
|
||||
electron_23-bin = mkElectron "23.3.5" {
|
||||
armv7l-linux = "3525ab12e582c36b7e905550a13a4f8c205586eccbd818db7f705ee46be19939";
|
||||
aarch64-linux = "49e9ff90165d12accd34e8fc6808016e20f7588fba2195af39f4467698adbcf0";
|
||||
x86_64-linux = "168c9332448276c7f0338bffd02a90d6bdea90c4789ae655464831f74d3e6e43";
|
||||
x86_64-darwin = "453ddddbe0a935b5349410d783f3dba079b4e913bfbd6b56a9c4927c4c3f1601";
|
||||
aarch64-darwin = "a41bd320d73143f0469e6d250e65f2f629bef2c36f1e6730110b86436842d2d1";
|
||||
headers = "11w1vz5kyklahhn7046bccknym24f076b5p19mxjwmmdbvggmvsq";
|
||||
};
|
||||
|
||||
electron_24-bin = mkElectron "24.2.0" {
|
||||
armv7l-linux = "c611ec6a6620a199a0656656c191384f498cff7e7831c45e449728379de4ba23";
|
||||
aarch64-linux = "e81baa9f45dcf36f10960e823143bd30633ff679b4253a266896028c3b438959";
|
||||
x86_64-linux = "8d7780dd2afcfe5e94a2cf574f4fa10a2a2c691227771fca49051c524ac67513";
|
||||
x86_64-darwin = "23f77fbde72cad8315e7d370d929cdceb5408f5533494241fc5dd503d8ad0cdc";
|
||||
aarch64-darwin = "529d0745e99278c66f631c81edbef22a5ad8871332366002edd371b409850b24";
|
||||
headers = "1ydj6fddrn8h6igzim637di39i4vx7fajc9n98nhlzvpmc43rgbs";
|
||||
electron_24-bin = mkElectron "24.4.1" {
|
||||
armv7l-linux = "4c0d12186e1fe918b0e5a618fc10eabb2b120b432ea5ff45e29c41a163f338f4";
|
||||
aarch64-linux = "e9e9ac6b24e6dd79650be3619a98187fb9d07cc97bb181051912bead7c06cefe";
|
||||
x86_64-linux = "4751d5320e0a2668e5b964dccf433fc7e537a3cb7f215d3042fd7d61d7f1198e";
|
||||
x86_64-darwin = "a8417febf79db15f15edf209a03dcf4240ed0d7b7e731b31224173b685a768c2";
|
||||
aarch64-darwin = "f2efec7bfe62002e1b52b0e14fa7bc5fd586812c0c49fbb0aa99830c20088484";
|
||||
headers = "13zicpwzsnl34nvy0y15ykfabkda4991h6kc933r9n4fz4wk7493";
|
||||
};
|
||||
|
||||
electron_25-bin = mkElectron "25.0.1" {
|
||||
armv7l-linux = "1bfdb7e6d85880dd1695d8fab69558e69728fb4f23756375ba7f7bc4f441516a";
|
||||
aarch64-linux = "0a8b44cc2c280a31f7a7e3c9927e55e4ea8ad3841a8cd4fe70237771e6c71023";
|
||||
x86_64-linux = "c7c85dd575b7d1eccba8d338c91f524663514eb43c2fb936035c219bd84ab885";
|
||||
x86_64-darwin = "f4a51adf95b37bfe39320ab7f8025b148a6b6b7140bd96101788a62b77c13d8c";
|
||||
aarch64-darwin = "6a26d58eb5b37ce9852668e59330ca54bf6226e8bb1172e179bb9ddb592e4b8c";
|
||||
headers = "0par0jw88j5n0jpg0lik6gws7iwqq45jcfs42w7vxz2g2nkpdgxp";
|
||||
};
|
||||
}
|
||||
|
@ -18,6 +18,6 @@ rustPlatform.buildRustPackage rec {
|
||||
homepage = "https://github.com/YodaEmbedding/frece";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ WeebSorceress ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "golangci-lint";
|
||||
version = "1.53.1";
|
||||
version = "1.53.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "golangci";
|
||||
repo = "golangci-lint";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-8cZpWfWkqMqz63dcF11ZKRWEFbk3XUG7a69nASC7dNE=";
|
||||
hash = "sha256-fsK9uHPh3ltZpAlo4kDp9MtGKBYqDMxJSygvaloKbMs=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-DnAW56TSZRywom4riRvylJaN8zk9U0Eq0quh6LRGtL4=";
|
||||
vendorHash = "sha256-gg4E+6u1aukyXWJrRJRmhdeqUN/zw76kznSuE+99CDc=";
|
||||
|
||||
subPackages = [ "cmd/golangci-lint" ];
|
||||
|
||||
|
@ -2,17 +2,17 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "gopls";
|
||||
version = "0.12.0";
|
||||
version = "0.12.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "golang";
|
||||
repo = "tools";
|
||||
rev = "gopls/v${version}";
|
||||
sha256 = "sha256-y9FgB8Qsm5wQ7dtrKrcl/bHTw04eRU1B7a+aZmA+eBE=";
|
||||
sha256 = "sha256-mbJ9CzJxhAxYByfNpNux/zOWBGaiH4fvIRIh+BMprMk=";
|
||||
};
|
||||
|
||||
modRoot = "gopls";
|
||||
vendorSha256 = "sha256-MkldIbp7BpdfyapiJ1E4h3ft6g74zMb72tt4tCJlJz8=";
|
||||
vendorSha256 = "sha256-Wx0tXrw3Y3Of3aZNYiD9EVYKFpqA3kqe5tFqppoe0A0=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
@ -11,16 +11,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "pylyzer";
|
||||
version = "0.0.30";
|
||||
version = "0.0.31";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mtshiba";
|
||||
repo = "pylyzer";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-o90NmUTRdmfjOO0swc4d3SsbywiMeT1zKrkiFO3VeGk=";
|
||||
hash = "sha256-1sUsCZFm61XYFguohLA3NzYa2tX21lc3wYiFkg1y0/o=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-IUNT30hKpBlmXoHiJQihQF4oD7odSJh2NK3d2On1WQA=";
|
||||
cargoHash = "sha256-pQnRFGAeVVGKRBfpbQXCGBHxkXBYei7nOxYKg3hPJ1k=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
git
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "blackfire";
|
||||
version = "2.15.0";
|
||||
version = "2.16.1";
|
||||
|
||||
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 = "eKHP7yOy6hnHi0EomZhsGXWinNy4roQ9qRGn8tah6KI=";
|
||||
sha256 = "G+uiPCt7AJQsxkY2Snc2941nkyo9NY3wv3uNCAFfSmE=";
|
||||
};
|
||||
"i686-linux" = fetchurl {
|
||||
url = "https://packages.blackfire.io/debian/pool/any/main/b/blackfire/blackfire_${version}_i386.deb";
|
||||
sha256 = "sCFVmGz850h9NKoVKUBV+93k913ihpfk+48buzsNOqw=";
|
||||
sha256 = "F2uRmxe8fAPAN/z7T7Kr0h4zcVS4I9mg6nqNXmcwxpE=";
|
||||
};
|
||||
"aarch64-linux" = fetchurl {
|
||||
url = "https://packages.blackfire.io/debian/pool/any/main/b/blackfire/blackfire_${version}_arm64.deb";
|
||||
sha256 = "V6adZVR82Z15fN//wuwHZK6C95hAxXPB9NuA0kx1qPA=";
|
||||
sha256 = "0MJDqRU+2phJ9P/c8GpB+btde0rSkR1gPx8Jbc4gIGo=";
|
||||
};
|
||||
"aarch64-darwin" = fetchurl {
|
||||
url = "https://packages.blackfire.io/blackfire/${version}/blackfire-darwin_arm64.pkg.tar.gz";
|
||||
sha256 = "X0sWPjmVAzJTKHUxVLbhWTdc7ryn2GkNMj9CuRgTb0I=";
|
||||
sha256 = "j6EfHRIN81uyro0QlzAjRSl3BLzObqI1EVuT9WaACu0=";
|
||||
};
|
||||
"x86_64-darwin" = fetchurl {
|
||||
url = "https://packages.blackfire.io/blackfire/${version}/blackfire-darwin_amd64.pkg.tar.gz";
|
||||
sha256 = "FvoslunTPxmc2KqaxNSb0uK9fP4CV5HR39UDoW3zJfw=";
|
||||
sha256 = "n02ABC8HzmQXWpgmXgCNBNFl1xw/kW/ncTNIeoJCUB0=";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -13,47 +13,47 @@
|
||||
let
|
||||
phpMajor = lib.versions.majorMinor php.version;
|
||||
|
||||
version = "1.86.8";
|
||||
version = "1.87.2";
|
||||
|
||||
hashes = {
|
||||
"x86_64-linux" = {
|
||||
system = "amd64";
|
||||
sha256 = {
|
||||
"8.0" = "zoT9f906lvMTyq+w7BAqwA3Wnadk0hEsc9KLYuffE8c=";
|
||||
"8.1" = "KJB3/BlS8FCDg3CEaYf14RJk3xhda1K2XEPVylSRFTQ=";
|
||||
"8.2" = "PrhPtYUkz+Zs4ctIJUsHlUqLHZDfXNMc7s6uA5RJNVI=";
|
||||
"8.0" = "ylzxQlyk6jpyO9Zcqv/uUiRWcMSkPKFBgiCDnyU8lWI=";
|
||||
"8.1" = "FEb0NBJpwoYaNdEHEn4TkSQR7VShGpHptaDIRKwrmkQ=";
|
||||
"8.2" = "itB0Zm1Mog18F8vIHn9AZMYMzafLQR0v5zcOgqy1ouI=";
|
||||
};
|
||||
};
|
||||
"i686-linux" = {
|
||||
system = "i386";
|
||||
sha256 = {
|
||||
"8.0" = "IByOPOvzJZOR9hw6Ngn81XtXBczRPLswDA4Mvh8dQdQ=";
|
||||
"8.1" = "Mob30xhKWaREiqw3cjlrz0jtAc9onERT6NxTz9bUSSY=";
|
||||
"8.2" = "a7paFrgLfMLvcQRcHPi+sJ61XTjphcba+tewrJw0OnE=";
|
||||
"8.0" = "DL5wiaez4tzrn8xY+ptYiCvZ1HWaStT9vGWPd5whTaE=";
|
||||
"8.1" = "0bX2frll0ne6H6o7HNH4TRV2D+NDe11mVvqwhvSDg9E=";
|
||||
"8.2" = "U6zmbEkRr3+9yVwUgQ1+SBNK0zWD92S2KBOHJ1gMmjM=";
|
||||
};
|
||||
};
|
||||
"aarch64-linux" = {
|
||||
system = "arm64";
|
||||
sha256 = {
|
||||
"8.0" = "6ZhFRjjj/y3yyH2PXVnw+Mhkm2trfpysxfXocH5nx48=";
|
||||
"8.1" = "x2TGaehSJmgJJcapr6xBO9Svo1HE66eVRHt/Ab+RSzQ=";
|
||||
"8.2" = "YUs8h/DBwaNvmYA9TS7l0skg+X4yBzcHbPH4QXeSdCI=";
|
||||
"8.0" = "R6zdOw/K+/YPYzSEOEyz83hqiLHCM4EOjz2tLrJOPlE=";
|
||||
"8.1" = "agLQVI3u7ENcWLDRx7YSEBZobRnwEaKAmFpIU5AXhqo=";
|
||||
"8.2" = "Y2bUYaymoZ/Ct5a7K+5U+zNh9ZKUaq0Oal/v04nzuaU=";
|
||||
};
|
||||
};
|
||||
"aarch64-darwin" = {
|
||||
system = "arm64";
|
||||
sha256 = {
|
||||
"8.0" = "HZV7I8HOWvGwV9kMuSBW1/vgs+plxYLvbVs/d8aNNfE=";
|
||||
"8.1" = "PsHDB/P/vbdpqbLl12UqelHfvHHt2WxiWEUCV7s5ZJg=";
|
||||
"8.2" = "pEkFLhjWOLquBcxE06Gv7HUB/lPU8cPajhsFc0kcKlA=";
|
||||
"8.0" = "XcFU1lq694aLIn1HQdDSg2Zx68/fLew3GjkTLsxHYvk=";
|
||||
"8.1" = "ovTtwXPut9jCvxVyd5mQzrfJPCy+rQvUi4c74NrBzY4=";
|
||||
"8.2" = "8hybE62l8vSwbqpcrnj/lI2Wjy8R3wuO04zwofLi9EY=";
|
||||
};
|
||||
};
|
||||
"x86_64-darwin" = {
|
||||
system = "amd64";
|
||||
sha256 = {
|
||||
"8.0" = "VOi901nkVNjHSk02HNk6/z9q3avs+doHWL+Zxxruc6k=";
|
||||
"8.1" = "TVV9Iysueo1M2WaaX6CF52WzMfJJ96gOIxuy1mIA6ao=";
|
||||
"8.2" = "XOcjZes3JNfulJimdCTkipiRzrJ/237SSfqNAelVPNU=";
|
||||
"8.0" = "F4mIvjyf3Zi3icKcPe6KP2gR9jeC7EJskw9TfsTHz6Y=";
|
||||
"8.1" = "WsHH/XJboHeRhxpYY0WtXEJwOsGNFtfexBShC/J7GaQ=";
|
||||
"8.2" = "w3Vu7CTFebn59i1FYVCYHiOadTIPlPCkQ1QHEfvHWig=";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "okteto";
|
||||
version = "2.16.2";
|
||||
version = "2.16.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "okteto";
|
||||
repo = "okteto";
|
||||
rev = version;
|
||||
hash = "sha256-ehalSPD9yEWL9mm5qjUXWlPIbdEO8StLL2mOZPnB5do=";
|
||||
hash = "sha256-SbLOrdsBy4rq2wm4tTIfjF61kcXXQQZdOJEclRdASOc=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-bEAUkTl5O5i2R4oglOWSgWG7OKzOrZo5YDe5TzNlZ3E=";
|
||||
vendorHash = "sha256-aNXKRP7WFzscDPjZmDTbgKItNEQrRpsq+XiOuggx85w=";
|
||||
|
||||
postPatch = ''
|
||||
# Disable some tests that need file system & network access.
|
||||
|
1918
pkgs/development/tools/volta/Cargo.lock
generated
Normal file
1918
pkgs/development/tools/volta/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
55
pkgs/development/tools/volta/default.nix
Normal file
55
pkgs/development/tools/volta/default.nix
Normal file
@ -0,0 +1,55 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
libiconv,
|
||||
stdenv,
|
||||
installShellFiles,
|
||||
darwin,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "volta";
|
||||
version = "1.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "volta-cli";
|
||||
repo = "volta";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-+j3WRpunV+3YfZnyuKA/CsiKr+gOaP2NbmnyoGMN+Mg=";
|
||||
};
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"detect-indent-0.1.0" = "sha256-qtPkPaBiyuT8GhpEFdU7IkAgKnCbTES0FB2CvNKWqic=";
|
||||
"semver-0.9.0" = "sha256-nw1somkZe9Qi36vjfWlTcDqHAIbaJj72KBTfmucVxXs=";
|
||||
"semver-parser-0.10.0" = "sha256-iTGnKSddsriF6JS6lvJNjp9aDzGtfjrHEiCijeie3uE=";
|
||||
};
|
||||
};
|
||||
|
||||
buildInputs = [ installShellFiles ]
|
||||
++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security libiconv ];
|
||||
|
||||
HOME = "$TMPDIR";
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd volta \
|
||||
--bash <($out/bin/volta completions bash) \
|
||||
--fish <($out/bin/volta completions fish) \
|
||||
--zsh <($out/bin/volta completions zsh)
|
||||
'';
|
||||
meta = with lib; {
|
||||
description = "The Hassle-Free JavaScript Tool Manager";
|
||||
longDescription = ''
|
||||
With Volta, you can select a Node engine once and then stop worrying
|
||||
about it. You can switch between projects and stop having to manually
|
||||
switch between Nodes. You can install npm package binaries in your
|
||||
toolchain without having to periodically reinstall them or figure out why
|
||||
they’ve stopped working.
|
||||
'';
|
||||
homepage = "https://volta.sh/";
|
||||
changelog = "https://github.com/volta-cli/volta/blob/main/RELEASES.md";
|
||||
license = with licenses; [ bsd2 ];
|
||||
maintainers = with maintainers; [ fbrs ];
|
||||
};
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
|
||||
{pkgs ? import <nixpkgs> {
|
||||
inherit system;
|
||||
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-14_x"}:
|
||||
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs_14"}:
|
||||
|
||||
let
|
||||
nodeEnv = import ./node-env.nix {
|
||||
|
@ -530,12 +530,15 @@ let
|
||||
then
|
||||
ln -s $out/lib/node_modules/.bin $out/bin
|
||||
|
||||
# Patch the shebang lines of all the executables
|
||||
# Fixup all executables
|
||||
ls $out/bin/* | while read i
|
||||
do
|
||||
file="$(readlink -f "$i")"
|
||||
chmod u+rwx "$file"
|
||||
patchShebangs "$file"
|
||||
if isScript "$file"
|
||||
then
|
||||
sed -i 's/\r$//' "$file" # convert crlf to lf
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
[
|
||||
{"@playwright/test": "1.31.1"}
|
||||
{"@playwright/test": "1.34.3"}
|
||||
]
|
||||
|
@ -4,13 +4,13 @@
|
||||
|
||||
let
|
||||
sources = {
|
||||
"@types/node-18.15.11" = {
|
||||
"@types/node-20.2.5" = {
|
||||
name = "_at_types_slash_node";
|
||||
packageName = "@types/node";
|
||||
version = "18.15.11";
|
||||
version = "20.2.5";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/@types/node/-/node-18.15.11.tgz";
|
||||
sha512 = "E5Kwq2n4SbMzQOn6wnmBjuK9ouqlURrcZDVfbo9ftDDTFt3nk7ZKK4GMOzoYgnpQJKcxwQw+lGaBvvlMo0qN/Q==";
|
||||
url = "https://registry.npmjs.org/@types/node/-/node-20.2.5.tgz";
|
||||
sha512 = "JJulVEQXmiY9Px5axXHeYGLSjhkZEnD+MDPDGbCbIAbMslkKwmygtZFy1X6s/075Yo94sf8GuSlFfPzysQrWZQ==";
|
||||
};
|
||||
};
|
||||
"fsevents-2.3.2" = {
|
||||
@ -22,30 +22,30 @@ let
|
||||
sha512 = "xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==";
|
||||
};
|
||||
};
|
||||
"playwright-core-1.31.1" = {
|
||||
"playwright-core-1.34.3" = {
|
||||
name = "playwright-core";
|
||||
packageName = "playwright-core";
|
||||
version = "1.31.1";
|
||||
version = "1.34.3";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/playwright-core/-/playwright-core-1.31.1.tgz";
|
||||
sha512 = "JTyX4kV3/LXsvpHkLzL2I36aCdml4zeE35x+G5aPc4bkLsiRiQshU5lWeVpHFAuC8xAcbI6FDcw/8z3q2xtJSQ==";
|
||||
url = "https://registry.npmjs.org/playwright-core/-/playwright-core-1.34.3.tgz";
|
||||
sha512 = "2pWd6G7OHKemc5x1r1rp8aQcpvDh7goMBZlJv6Co5vCNLVcQJdhxRL09SGaY6HcyHH9aT4tiynZabMofVasBYw==";
|
||||
};
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
"@playwright/test-1.31.1" = nodeEnv.buildNodePackage {
|
||||
"@playwright/test-1.34.3" = nodeEnv.buildNodePackage {
|
||||
name = "_at_playwright_slash_test";
|
||||
packageName = "@playwright/test";
|
||||
version = "1.31.1";
|
||||
version = "1.34.3";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/@playwright/test/-/test-1.31.1.tgz";
|
||||
sha512 = "IsytVZ+0QLDh1Hj83XatGp/GsI1CDJWbyDaBGbainsh0p2zC7F4toUocqowmjS6sQff2NGT3D9WbDj/3K2CJiA==";
|
||||
url = "https://registry.npmjs.org/@playwright/test/-/test-1.34.3.tgz";
|
||||
sha512 = "zPLef6w9P6T/iT6XDYG3mvGOqOyb6eHaV9XtkunYs0+OzxBtrPAAaHotc0X+PJ00WPPnLfFBTl7mf45Mn8DBmw==";
|
||||
};
|
||||
dependencies = [
|
||||
sources."@types/node-18.15.11"
|
||||
sources."@types/node-20.2.5"
|
||||
sources."fsevents-2.3.2"
|
||||
sources."playwright-core-1.31.1"
|
||||
sources."playwright-core-1.34.3"
|
||||
];
|
||||
buildInputs = globalBuildInputs;
|
||||
meta = {
|
||||
|
@ -29,15 +29,16 @@ let
|
||||
in
|
||||
{
|
||||
pname = "playwright-driver";
|
||||
version = "1.31.1";
|
||||
# run ./pkgs/development/python-modules/playwright/update.sh to update
|
||||
version = "1.34.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://playwright.azureedge.net/builds/driver/${filename}";
|
||||
sha256 = {
|
||||
x86_64-linux = "1wg49kfs8fflmx8g01bkckbjkghhwy7c44akckjf7dp4lbh1z8fd";
|
||||
aarch64-linux = "0f09a0cxqxihy8lmbjzii80jkpf3n5xlvhjpgdkwmrr3wh0nnixj";
|
||||
x86_64-darwin = "1zd0dz8jazymcpa1im5yzxb7rwl6wn4xz19lpz83bnpd1njq01b3";
|
||||
aarch64-darwin = "0hcn80zm9aki8hzsf1cljzcmi4iaw7fascs8ajj0qcwqkkm4jnw0";
|
||||
x86_64-linux = "1xh05v3yqa8gkwayhl4nffgjcnlakpyyi17hwzh0wqzrbwwn0cs8";
|
||||
aarch64-linux = "18jxbmhiqda5pzrv6b3n7xi14xg4zvlh6sn7hc3b3hckl77vl933";
|
||||
x86_64-darwin = "0fy5nxbvp1kxplavj832gxiznjqpvl0ww869hsfj0h1fibhly7cy";
|
||||
aarch64-darwin = "11msl4pnmr8cmlw32xq2qvfz3g3fy0azvq134a47c0fnpj2gd5zl";
|
||||
}.${system} or throwSystem;
|
||||
};
|
||||
|
||||
|
@ -45,6 +45,6 @@ buildGoModule rec {
|
||||
description = "A simple and extensible webmail.";
|
||||
homepage = "https://git.sr.ht/~migadu/alps";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ gordias booklearner madonius hmenke ];
|
||||
maintainers = with maintainers; [ booklearner madonius hmenke ];
|
||||
};
|
||||
}
|
||||
|
@ -12,6 +12,7 @@
|
||||
, python-ldap
|
||||
, withPostgres ? true
|
||||
, psycopg2
|
||||
, nix-update-script
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -47,6 +48,8 @@ buildPythonPackage rec {
|
||||
chmod +x $out/bin/etebase-server
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script {};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/etesync/server";
|
||||
description = "An Etebase (EteSync 2.0) server so you can run your own";
|
||||
|
@ -74,5 +74,6 @@ mkYarnPackage rec {
|
||||
description = "A bridge between Matrix and multiple project management services, such as GitHub, GitLab and JIRA";
|
||||
maintainers = with maintainers; [ chvp ];
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "matrix-hookshot",
|
||||
"version": "4.0.0",
|
||||
"version": "4.1.0",
|
||||
"description": "A bridge between Matrix and multiple project management services, such as GitHub, GitLab and JIRA.",
|
||||
"main": "lib/app.js",
|
||||
"repository": "https://github.com/matrix-org/matrix-hookshot",
|
||||
@ -35,10 +35,10 @@
|
||||
"test:cover": "nyc --reporter=lcov --reporter=text yarn test",
|
||||
"lint": "yarn run lint:js && yarn run lint:rs",
|
||||
"lint:js": "eslint -c .eslintrc.js 'src/**/*.ts' 'tests/**/*.ts' 'web/**/*.ts' 'web/**/*.tsx'",
|
||||
"lint:rs": "cargo fmt --all -- --check",
|
||||
"lint:rs:apply": "cargo fmt --all",
|
||||
"generate-default-config": "ts-node src/Config/Defaults.ts --config > config.sample.yml",
|
||||
"validate-config": "ts-node src/Config/Config.ts"
|
||||
"lint:rs": "cargo fmt --all -- --check && cargo clippy -- -Dwarnings",
|
||||
"lint:rs:apply": "cargo clippy --fix && cargo fmt --all",
|
||||
"generate-default-config": "ts-node src/config/Defaults.ts --config > config.sample.yml",
|
||||
"validate-config": "ts-node src/config/Config.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@alloc/quick-lru": "^5.2.0",
|
||||
@ -46,6 +46,7 @@
|
||||
"@octokit/auth-token": "^2.4.5",
|
||||
"@octokit/rest": "^18.10.0",
|
||||
"@octokit/webhooks": "^9.1.2",
|
||||
"@sentry/node": "^7.52.1",
|
||||
"ajv": "^8.11.0",
|
||||
"axios": "^0.24.0",
|
||||
"cors": "^2.8.5",
|
||||
@ -68,7 +69,7 @@
|
||||
"source-map-support": "^0.5.21",
|
||||
"string-argv": "^0.3.1",
|
||||
"tiny-typed-emitter": "^2.1.0",
|
||||
"vm2": "^3.9.17",
|
||||
"vm2": "^3.9.18",
|
||||
"winston": "^3.3.3",
|
||||
"xml2js": "^0.5.0",
|
||||
"yaml": "^2.2.2"
|
||||
@ -87,15 +88,15 @@
|
||||
"@types/micromatch": "^4.0.1",
|
||||
"@types/mime": "^2.0.3",
|
||||
"@types/mocha": "^9.0.0",
|
||||
"@types/node": "18",
|
||||
"@types/node-emoji": "^1.8.1",
|
||||
"@types/uuid": "^8.3.3",
|
||||
"@types/xml2js": "^0.4.11",
|
||||
"@types/node": "18",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.59.1",
|
||||
"@typescript-eslint/parser": "^5.59.1",
|
||||
"@uiw/react-codemirror": "^4.12.3",
|
||||
"chai": "^4.3.4",
|
||||
"eslint": "^8.3.0",
|
||||
"eslint": "^8.39.0",
|
||||
"eslint-config-preact": "^1.3.0",
|
||||
"eslint-plugin-mocha": "^9.0.0",
|
||||
"mini.css": "^3.0.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"version": "4.0.0",
|
||||
"srcHash": "imZMYp1bgt5N8hPO6S4V133DoPCQoJ5TnMCG905qT1s=",
|
||||
"yarnHash": "0rnb7i6v7pz2wywjrj0nb2c9am94pbxin1jiykj5p6czmzw289kl",
|
||||
"cargoHash": "ldz5b7bC7qWRMVDixA4d5ls5Y1ONvElruRC+/TgQWr8="
|
||||
"version": "4.1.0",
|
||||
"srcHash": "TcLdZ9pSZ5T2sI6q1c+BpIFR647HUrwvamuQZ333NOg=",
|
||||
"yarnHash": "1ydxjmr241kwhsacg4cx05951nijy6ch687xgqw4515islpb89v3",
|
||||
"cargoHash": "s7NOZ2fKp6i2m4HbbcIWZcZgP8n45nGZqWGG9cV+FWw="
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
|
||||
buildGoModule rec {
|
||||
pname = "thanos";
|
||||
version = "0.31.0";
|
||||
@ -10,7 +10,15 @@ buildGoModule rec {
|
||||
sha256 = "sha256-EJZGc4thu0WhVSSRolIRYg39S81Cgm+JHwpW5eE7mDc=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-bNQwDttJ7YuQFrpp0alqe37/lue0CX5gB2UDRWWtTXQ=";
|
||||
patches = [
|
||||
# https://github.com/thanos-io/thanos/pull/6126
|
||||
(fetchpatch {
|
||||
url = "https://github.com/thanos-io/thanos/commit/a4c218bd690259fc0c78fe67e0739bd33d38541e.patch";
|
||||
hash = "sha256-Hxc1s5IXAyw01/o4JvOXuyYuOFy0+cBUv3OkRv4DCXs=";
|
||||
})
|
||||
];
|
||||
|
||||
vendorHash = "sha256-8+MUMux6v/O2syVyTx758yUBfJkertzibz6yFB05nWk=";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
@ -3,13 +3,14 @@
|
||||
, fetchFromGitHub
|
||||
, buildNpmPackage
|
||||
}:
|
||||
|
||||
let
|
||||
version = "0.3.6";
|
||||
version = "0.4.5";
|
||||
src = fetchFromGitHub {
|
||||
owner = "zinclabs";
|
||||
repo = "zinc";
|
||||
repo = "zincsearch";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-7pPVX/jdHN7EMss6/uRZqJO+zDfDLZv/iG5iboB+s64=";
|
||||
hash = "sha256-V4eI7cur+KI+PEcplQJdTBaT0czpN0ENN30W5rrzE+k=";
|
||||
};
|
||||
|
||||
webui = buildNpmPackage {
|
||||
@ -18,9 +19,11 @@ let
|
||||
|
||||
sourceRoot = "source/web";
|
||||
|
||||
npmDepsHash = "sha256-clRijS+hxWc1LwlAKjEEk/6XPBYC6CcLq5g/ry4a04g=";
|
||||
npmDepsHash = "sha256-2AjUaEOn2Tj+X4f42SvNq1kX07WxkB1sl5KtGdCjbdw=";
|
||||
|
||||
CYPRESS_INSTALL_BINARY = 0; # cypress tries to download binaries otherwise
|
||||
env = {
|
||||
CYPRESS_INSTALL_BINARY = 0; # cypress tries to download binaries otherwise
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share
|
||||
@ -28,28 +31,27 @@ let
|
||||
'';
|
||||
};
|
||||
in
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "zinc";
|
||||
pname = "zincsearch";
|
||||
inherit src version;
|
||||
|
||||
preBuild = ''
|
||||
cp -r ${webui}/share/zinc-ui web/dist
|
||||
'';
|
||||
|
||||
vendorHash = "sha256-akjb0cxHbITKS26c+7lVSHWO/KRoQVVKzAOra+tdAD8=";
|
||||
subPackages = [ "cmd/zinc" ];
|
||||
|
||||
CGO_ENABLED = 0;
|
||||
vendorHash = "sha256-TYs1iRUA4WC3iMS508c7jUC3Co86CKYjL5WFlnoyPhg=";
|
||||
subPackages = [ "cmd/zincsearch" ];
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/zinclabs/zinc/pkg/meta.Version=${version}"
|
||||
"-X github.com/zinclabs/zincsearch/pkg/meta.Version=${version}"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A lightweight alternative to elasticsearch that requires minimal resources, written in Go";
|
||||
homepage = "https://github.com/zinclabs/zinc";
|
||||
homepage = "https://zinc.dev";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ dit7ya ];
|
||||
};
|
@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pgbouncer";
|
||||
version = "1.19.0";
|
||||
version = "1.19.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.pgbouncer.org/downloads/files/${version}/${pname}-${version}.tar.gz";
|
||||
sha256 = "sha256-rwsF6X0OH9mtRf4A6m0qk0xjB19n9+LM7yylnj2M5oI=";
|
||||
hash = "sha256-WMPv+btywYEzso4fA0/Vk1bqdigcZeEnQyyhAcIIo5Q=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
@ -16,6 +16,7 @@ stdenv.mkDerivation rec {
|
||||
meta = with lib; {
|
||||
homepage = "https://www.pgbouncer.org/";
|
||||
description = "Lightweight connection pooler for PostgreSQL";
|
||||
changelog = "https://github.com/pgbouncer/pgbouncer/releases/tag/pgbouncer_${replaceStrings ["."] ["_"] version}";
|
||||
license = licenses.isc;
|
||||
maintainers = with maintainers; [ _1000101 ];
|
||||
platforms = platforms.all;
|
||||
|
42
pkgs/servers/web-apps/livebook/default.nix
Normal file
42
pkgs/servers/web-apps/livebook/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ lib, beamPackages, makeWrapper, rebar3, elixir, erlang, fetchFromGitHub }:
|
||||
beamPackages.mixRelease rec {
|
||||
pname = "livebook";
|
||||
version = "0.9.2";
|
||||
|
||||
inherit elixir;
|
||||
|
||||
buildInputs = [ erlang ];
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "livebook-dev";
|
||||
repo = "livebook";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-khC3gtRvywgAY6qHslZgAV3kmziJgKhdCB8CDg/HkIU=";
|
||||
};
|
||||
|
||||
mixFodDeps = beamPackages.fetchMixDeps {
|
||||
pname = "mix-deps-${pname}";
|
||||
inherit src version;
|
||||
sha256 = "rwWGs4fGeuyV6BBFgCyyDwKf/YLgs1wY0xnHYy8iioE=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mix escript.build
|
||||
mkdir -p $out/bin
|
||||
mv ./livebook $out/bin
|
||||
|
||||
wrapProgram $out/bin/livebook \
|
||||
--prefix PATH : ${lib.makeBinPath [ elixir ]} \
|
||||
--set MIX_REBAR3 ${rebar3}/bin/rebar3
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
license = licenses.asl20;
|
||||
homepage = "https://livebook.dev/";
|
||||
description = "Automate code & data workflows with interactive Elixir notebooks";
|
||||
maintainers = with maintainers; [ munksgaard ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -14,7 +14,7 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "pulumi";
|
||||
version = "3.60.1";
|
||||
version = "3.69.0";
|
||||
|
||||
# Used in pulumi-language packages, which inherit this prop
|
||||
sdkVendorHash = "sha256-oXsU4h4CwukJHttYLT7JiW2He8Yq5qAwnxL8+G5FIpc=";
|
||||
@ -23,12 +23,12 @@ buildGoModule rec {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-bSuntT5b8UVrYw4ds4AfZB3Plvav5zGaEQpe34FefXk=";
|
||||
hash = "sha256-tjYACGfUqWFAgOvcdPfGyZNxi0qhV6RaNgUgKivteZU=";
|
||||
# Some tests rely on checkout directory name
|
||||
name = "pulumi";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-QDF2z8AjULQYvlxah/JgmbzoPuKQrgQng/33S+7K1Bw=";
|
||||
vendorHash = "sha256-VVgawsRSjMIYu/+f9MmVQNgL90o8vrj9kzZpKbg8/98=";
|
||||
|
||||
sourceRoot = "${src.name}/pkg";
|
||||
|
||||
|
@ -8,16 +8,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "boxxy";
|
||||
version = "0.7.1";
|
||||
version = "0.7.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "queer";
|
||||
repo = "boxxy";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-cXEoY9+no+WSp/VbbKl6q/mV5+B5d54kuIRfTtQUFc4=";
|
||||
hash = "sha256-hA+xgvixq9h8HdUVM/8WvYhl+aADiqkMLp0JPLD0YUE=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-PiX10Q3tYkVcbj3SX5MkaN1xQ/H7SCNpqTIgG+nJ6uo=";
|
||||
cargoHash = "sha256-LLDlnCO2POMcchXwbUuEYfM8tFlOLGzv6ErgXsobfsU=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
|
@ -7,16 +7,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "codevis";
|
||||
version = "0.8.3";
|
||||
version = "0.8.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sloganking";
|
||||
repo = "codevis";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-J2cF0ELH9E05ZXRIZQU5qhU1taIorORtqIzq61hTHxQ=";
|
||||
hash = "sha256-LZ6NsoyEPUvgcVdbG7U2Vzuz/TLLraScvW97PocUNpU=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-9QRd/UWlaRTtTOjtBa2TzrxCNf/sBbKT3GUnr1Spw+g=";
|
||||
cargoHash = "sha256-sQKZJVnRs4IcBKmmaQDoJYBQtnuZW4aEICr6Xa8Flnk=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
@ -26,11 +26,14 @@ rustPlatform.buildRustPackage rec {
|
||||
oniguruma
|
||||
];
|
||||
|
||||
RUSTONIG_SYSTEM_LIBONIG = true;
|
||||
env = {
|
||||
RUSTONIG_SYSTEM_LIBONIG = true;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tool to take all source code in a folder and render them to one image";
|
||||
homepage = "https://github.com/sloganking/codevis";
|
||||
changelog = "https://github.com/sloganking/codevis/releases/tag/${src.rev}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
};
|
||||
|
@ -8,17 +8,17 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "shopware-cli";
|
||||
version = "0.1.74";
|
||||
version = "0.1.78";
|
||||
src = fetchFromGitHub {
|
||||
repo = "shopware-cli";
|
||||
owner = "FriendsOfShopware";
|
||||
rev = version;
|
||||
hash = "sha256-2gqmHSQ8ODXKZPD8PUEwazitASDJUxhaeY2ETT7W/G0=";
|
||||
hash = "sha256-IJOT4hnh/ufF8x9EXAJ6TaXVD3qoyv+NqDXqH9XB9C4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ installShellFiles makeWrapper ];
|
||||
|
||||
vendorHash = "sha256-AdyT44dh8xNE7CBiInBntz+KnyjrTqDPwnssNNDL/y4=";
|
||||
vendorHash = "sha256-MoqLxEPxApxMyGKGiPfdehdmKacpwL0BqRP7rEC0TdY=";
|
||||
|
||||
postInstall = ''
|
||||
export HOME="$(mktemp -d)"
|
||||
|
@ -76,6 +76,6 @@ python3.pkgs.buildPythonApplication rec {
|
||||
description = "Open multi-site list manager for Unix-like systems (ex-wMAL)";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ WeebSorceress ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
38
pkgs/tools/misc/whatsapp-chat-exporter/default.nix
Normal file
38
pkgs/tools/misc/whatsapp-chat-exporter/default.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ lib
|
||||
, python3Packages
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "whatsapp-chat-exporter";
|
||||
version = "0.9.1";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "KnugiHK";
|
||||
repo = "Whatsapp-Chat-Exporter";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-DvCYMfR9GgdP9rVpcoIR5nG9b4ToOBMG1a9OTvjfIiU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
bleach
|
||||
jinja2
|
||||
pycryptodome
|
||||
javaobj-py3
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/KnugiHK/Whatsapp-Chat-Exporter";
|
||||
description = "WhatsApp database parser";
|
||||
changelog = "https://github.com/KnugiHK/Whatsapp-Chat-Exporter/releases/tag/${version}";
|
||||
longDescription = ''
|
||||
A customizable Android and iPhone WhatsApp database parser that will give
|
||||
you the history of your WhatsApp conversations inHTML and JSON. Android
|
||||
Backup Crypt12, Crypt14 and Crypt15 supported.
|
||||
'';
|
||||
license = licenses.mit;
|
||||
mainProgram = "wtsexporter";
|
||||
maintainers = with maintainers; [ bbenno ];
|
||||
};
|
||||
}
|
@ -1,7 +1,9 @@
|
||||
{ lib, stdenv, fetchurl, pkg-config, perl
|
||||
, openssl, db, cyrus_sasl, zlib
|
||||
, Security
|
||||
, withCyrusSaslXoauth2 ? true, cyrus-sasl-xoauth2, makeWrapper
|
||||
# Disabled by default as XOAUTH2 is an "OBSOLETE" SASL mechanism and this relies
|
||||
# on a package that isn't really maintained anymore:
|
||||
, withCyrusSaslXoauth2 ? false, cyrus-sasl-xoauth2, makeWrapper
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "rshijack";
|
||||
version = "0.4.0";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kpcyrd";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-jpiwbjsYsb5scFbjtv2eTv6oo0HWWTYLpnpTZ8DEqb0=";
|
||||
sha256 = "sha256-ys1uiUQbge/eKAog2f0wL9xM+RxuxNlsc8ZceoDJk9s=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-biHDnLu7OiYpnwtmayk2m6QYvX51YUVJH2FGP4qo14Q=";
|
||||
cargoHash = "sha256-GkoRgl0jzej8HoD2wojLg71NQcGvQZTtdD4zuvsJa4Y=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "TCP connection hijacker";
|
||||
|
@ -8,13 +8,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "hash-slinger";
|
||||
version = "3.2";
|
||||
version = "3.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "letoams";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-PfOEGqPMGLixoqHENZnxOv9nK+dYMqe6P0k+ZiJMik0=";
|
||||
sha256 = "sha256-c6IZHUFuhcccUWZYSOUGFbKpTtwMclIvEvDX8gE5d8o=";
|
||||
};
|
||||
|
||||
pythonPath = with python3.pkgs; [
|
||||
|
@ -2,13 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "mmark";
|
||||
version = "2.2.31";
|
||||
version = "2.2.32";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mmarkdown";
|
||||
repo = "mmark";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-mCnlLsvkkB7ZvBCLYHvYanz9XgWo92v5M/kKulhUKTE=";
|
||||
# The tag has an outdated version number and fails the versio ntest
|
||||
# The pinned revision includes one extra commit that fixes the issue
|
||||
# rev = "v${version}";
|
||||
rev = "158e9cca0280c58e205cb69b02bf33d7d826915e";
|
||||
hash = "sha256-OzmqtmAAsG3ncrTl2o9rhK75i1WIpDnph0YrY38SlU0=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-GjR9cOGLB6URHQi+qcyNbP7rm0+y4wypvgUxgJzIgGQ=";
|
||||
|
@ -1833,6 +1833,7 @@ mapAliases ({
|
||||
zdfmediathk = throw "'zdfmediathk' has been renamed to/replaced by 'mediathekview'"; # Converted to throw 2022-02-22
|
||||
zimreader = throw "zimreader has been removed from nixpkgs as it has been replaced by kiwix-serve and stopped working with modern zimlib versions"; # Added 2021-03-28
|
||||
zimwriterfs = throw "zimwriterfs is now part of zim-tools"; # Added 2022-06-10.
|
||||
zinc = zincsearch; # Added 2023-05-28
|
||||
zq = zed.overrideAttrs (old: { meta = old.meta // { mainProgram = "zq"; }; }); # Added 2023-02-06
|
||||
|
||||
# TODO(ekleog): add ‘wasm’ alias to ‘ocamlPackages.wasm’ after 19.03
|
||||
|
@ -3620,6 +3620,8 @@ with pkgs;
|
||||
|
||||
lesspass-cli = callPackage ../tools/security/lesspass-cli { };
|
||||
|
||||
livebook = callPackage ../servers/web-apps/livebook { };
|
||||
|
||||
lsix = callPackage ../tools/graphics/lsix { };
|
||||
|
||||
mdr = callPackage ../tools/misc/mdr { };
|
||||
@ -3752,6 +3754,8 @@ with pkgs;
|
||||
|
||||
xc = callPackage ../development/tools/xc { };
|
||||
|
||||
ios-webkit-debug-proxy = callPackage ../development/mobile/ios-webkit-debug-proxy { };
|
||||
|
||||
xcodeenv = callPackage ../development/mobile/xcodeenv { };
|
||||
|
||||
gomobile = callPackage ../development/mobile/gomobile { };
|
||||
@ -13713,6 +13717,8 @@ with pkgs;
|
||||
|
||||
whatip = callPackage ../tools/networking/whatip { };
|
||||
|
||||
whatsapp-chat-exporter = callPackage ../tools/misc/whatsapp-chat-exporter { };
|
||||
|
||||
whatweb = callPackage ../tools/security/whatweb { };
|
||||
|
||||
whipper = callPackage ../applications/audio/whipper { };
|
||||
@ -14364,7 +14370,7 @@ with pkgs;
|
||||
|
||||
zip = callPackage ../tools/archivers/zip { };
|
||||
|
||||
zinc = callPackage ../servers/search/zinc { };
|
||||
zincsearch = callPackage ../servers/search/zincsearch { };
|
||||
|
||||
zkfuse = callPackage ../tools/filesystems/zkfuse { };
|
||||
|
||||
@ -16759,6 +16765,8 @@ with pkgs;
|
||||
|
||||
tinyscheme = callPackage ../development/interpreters/tinyscheme { };
|
||||
|
||||
tbox = callPackage ../development/libraries/tbox { };
|
||||
|
||||
inherit (nodePackages) typescript;
|
||||
|
||||
bupc = callPackage ../development/compilers/bupc { };
|
||||
@ -17808,7 +17816,8 @@ with pkgs;
|
||||
electron_21-bin
|
||||
electron_22-bin
|
||||
electron_23-bin
|
||||
electron_24-bin;
|
||||
electron_24-bin
|
||||
electron_25-bin;
|
||||
|
||||
electron = electron-bin;
|
||||
electron_9 = electron_9-bin;
|
||||
@ -17827,6 +17836,7 @@ with pkgs;
|
||||
electron_22 = electron_22-bin;
|
||||
electron_23 = electron_23-bin;
|
||||
electron_24 = electron_24-bin;
|
||||
electron_25 = electron_25-bin;
|
||||
|
||||
autobuild = callPackage ../development/tools/misc/autobuild { };
|
||||
|
||||
@ -19572,6 +19582,8 @@ with pkgs;
|
||||
|
||||
visualvm = callPackage ../development/tools/java/visualvm { };
|
||||
|
||||
volta = callPackage ../development/tools/volta { };
|
||||
|
||||
vultr = callPackage ../development/tools/vultr { };
|
||||
|
||||
vultr-cli = callPackage ../development/tools/vultr-cli { };
|
||||
@ -19592,6 +19604,10 @@ with pkgs;
|
||||
|
||||
webdis = callPackage ../development/tools/database/webdis { };
|
||||
|
||||
xmake = callPackage ../development/tools/build-managers/xmake {
|
||||
lua = lua5_4;
|
||||
};
|
||||
|
||||
xc3sprog = callPackage ../development/embedded/xc3sprog { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
xcb-imdkit = callPackage ../development/libraries/xcb-imdkit { };
|
||||
@ -19945,6 +19961,8 @@ with pkgs;
|
||||
|
||||
capnproto-java = callPackage ../development/tools/capnproto-java { };
|
||||
|
||||
capnproto-rust = callPackage ../development/tools/capnproto-rust { };
|
||||
|
||||
captive-browser = callPackage ../applications/networking/browsers/captive-browser { };
|
||||
|
||||
ndn-cxx = callPackage ../development/libraries/ndn-cxx { };
|
||||
@ -24723,6 +24741,8 @@ with pkgs;
|
||||
|
||||
xgeometry-select = callPackage ../tools/X11/xgeometry-select { };
|
||||
|
||||
xmake-core-sv = callPackage ../development/libraries/xmake-core-sv { };
|
||||
|
||||
xmlada = callPackage ../development/libraries/ada/xmlada { };
|
||||
|
||||
xmlrpc_c = callPackage ../development/libraries/xmlrpc-c { };
|
||||
@ -26404,11 +26424,7 @@ with pkgs;
|
||||
|
||||
tailspin = callPackage ../tools/misc/tailspin { };
|
||||
|
||||
thanos = callPackage ../servers/monitoring/thanos {
|
||||
# Fails to run with go1.20 due to go4.org/unsafe/assume-no-moving-gc not being
|
||||
# update to be compatible with Go 1.20
|
||||
buildGoModule = buildGo119Module;
|
||||
};
|
||||
thanos = callPackage ../servers/monitoring/thanos { };
|
||||
|
||||
trafficserver = callPackage ../servers/http/trafficserver { };
|
||||
|
||||
@ -40604,6 +40620,8 @@ with pkgs;
|
||||
|
||||
werf = callPackage ../applications/networking/cluster/werf { };
|
||||
|
||||
yor = callPackage ../applications/networking/cluster/yor { };
|
||||
|
||||
wifi-password = callPackage ../os-specific/darwin/wifi-password { };
|
||||
|
||||
qubes-core-vchan-xen = callPackage ../applications/qubes/qubes-core-vchan-xen { };
|
||||
|
@ -1493,6 +1493,8 @@ self: super: with self; {
|
||||
|
||||
brian2 = callPackage ../development/python-modules/brian2 { };
|
||||
|
||||
broadbean = callPackage ../development/python-modules/broadbean { };
|
||||
|
||||
broadlink = callPackage ../development/python-modules/broadlink { };
|
||||
|
||||
brother = callPackage ../development/python-modules/brother { };
|
||||
@ -6958,6 +6960,8 @@ self: super: with self; {
|
||||
|
||||
obspy = callPackage ../development/python-modules/obspy { };
|
||||
|
||||
oca-port = callPackage ../development/python-modules/oca-port { };
|
||||
|
||||
oci = callPackage ../development/python-modules/oci { };
|
||||
|
||||
ocifs = callPackage ../development/python-modules/ocifs { };
|
||||
@ -7059,6 +7063,8 @@ self: super: with self; {
|
||||
|
||||
opencensus-context = callPackage ../development/python-modules/opencensus-context { };
|
||||
|
||||
opencensus-ext-azure = callPackage ../development/python-modules/opencensus-ext-azure { };
|
||||
|
||||
opencontainers = callPackage ../development/python-modules/opencontainers { };
|
||||
|
||||
opencv3 = toPythonModule (pkgs.opencv3.override {
|
||||
@ -7108,6 +7114,36 @@ self: super: with self; {
|
||||
|
||||
opentimestamps = callPackage ../development/python-modules/opentimestamps { };
|
||||
|
||||
opentelemetry-api = callPackage ../development/python-modules/opentelemetry-api { };
|
||||
|
||||
opentelemetry-exporter-otlp = callPackage ../development/python-modules/opentelemetry-exporter-otlp { };
|
||||
|
||||
opentelemetry-exporter-otlp-proto-common = callPackage ../development/python-modules/opentelemetry-exporter-otlp-proto-common { };
|
||||
|
||||
opentelemetry-exporter-otlp-proto-grpc = callPackage ../development/python-modules/opentelemetry-exporter-otlp-proto-grpc { };
|
||||
|
||||
opentelemetry-exporter-otlp-proto-http = callPackage ../development/python-modules/opentelemetry-exporter-otlp-proto-http { };
|
||||
|
||||
opentelemetry-exporter-prometheus = callPackage ../development/python-modules/opentelemetry-exporter-prometheus { };
|
||||
|
||||
opentelemetry-instrumentation = callPackage ../development/python-modules/opentelemetry-instrumentation { };
|
||||
|
||||
opentelemetry-instrumentation-asgi = callPackage ../development/python-modules/opentelemetry-instrumentation-asgi { };
|
||||
|
||||
opentelemetry-instrumentation-django = callPackage ../development/python-modules/opentelemetry-instrumentation-django { };
|
||||
|
||||
opentelemetry-instrumentation-wsgi = callPackage ../development/python-modules/opentelemetry-instrumentation-wsgi { };
|
||||
|
||||
opentelemetry-proto = callPackage ../development/python-modules/opentelemetry-proto { };
|
||||
|
||||
opentelemetry-semantic-conventions = callPackage ../development/python-modules/opentelemetry-semantic-conventions { };
|
||||
|
||||
opentelemetry-sdk = callPackage ../development/python-modules/opentelemetry-sdk { };
|
||||
|
||||
opentelemetry-test-utils = callPackage ../development/python-modules/opentelemetry-test-utils { };
|
||||
|
||||
opentelemetry-util-http = callPackage ../development/python-modules/opentelemetry-util-http { };
|
||||
|
||||
openturns = toPythonModule (pkgs.openturns.override {
|
||||
python3Packages = self;
|
||||
enablePython = true;
|
||||
@ -9555,6 +9591,8 @@ self: super: with self; {
|
||||
|
||||
pytest-golden = callPackage ../development/python-modules/pytest-golden { };
|
||||
|
||||
pytest-grpc = callPackage ../development/python-modules/pytest-grpc { };
|
||||
|
||||
pytest-helpers-namespace = callPackage ../development/python-modules/pytest-helpers-namespace { };
|
||||
|
||||
pytest-html = callPackage ../development/python-modules/pytest-html { };
|
||||
@ -10135,6 +10173,8 @@ self: super: with self; {
|
||||
|
||||
pyvisa-py = callPackage ../development/python-modules/pyvisa-py { };
|
||||
|
||||
pyvisa-sim = callPackage ../development/python-modules/pyvisa-sim { };
|
||||
|
||||
pyvista = callPackage ../development/python-modules/pyvista { };
|
||||
|
||||
pyviz-comms = callPackage ../development/python-modules/pyviz-comms { };
|
||||
@ -10227,6 +10267,12 @@ self: super: with self; {
|
||||
|
||||
qcengine = callPackage ../development/python-modules/qcengine { };
|
||||
|
||||
qcodes = callPackage ../development/python-modules/qcodes { };
|
||||
|
||||
qcodes-contrib-drivers = callPackage ../development/python-modules/qcodes-contrib-drivers { };
|
||||
|
||||
qcodes-loop = callPackage ../development/python-modules/qcodes-loop { };
|
||||
|
||||
qcs-api-client = callPackage ../development/python-modules/qcs-api-client { };
|
||||
|
||||
qdarkstyle = callPackage ../development/python-modules/qdarkstyle { };
|
||||
@ -11710,6 +11756,8 @@ self: super: with self; {
|
||||
|
||||
stringly = callPackage ../development/python-modules/stringly { };
|
||||
|
||||
stringparser = callPackage ../development/python-modules/stringparser { };
|
||||
|
||||
stripe = callPackage ../development/python-modules/stripe { };
|
||||
|
||||
striprtf = callPackage ../development/python-modules/striprtf { };
|
||||
|
Loading…
Reference in New Issue
Block a user