Merge remote-tracking branch 'origin/master' into haskell-updates
This commit is contained in:
commit
a3cba7f35e
@ -1538,6 +1538,13 @@
|
||||
configuration.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
A new module was added for the Envoy reverse proxy, providing
|
||||
the options <literal>services.envoy.enable</literal> and
|
||||
<literal>services.envoy.settings</literal>.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
The option <literal>services.duplicati.dataDir</literal> has
|
||||
|
@ -547,6 +547,8 @@ In addition to numerous new and upgraded packages, this release has the followin
|
||||
|
||||
- The `services.stubby` module was converted to a [settings-style](https://github.com/NixOS/rfcs/blob/master/rfcs/0042-config-option.md) configuration.
|
||||
|
||||
- A new module was added for the Envoy reverse proxy, providing the options `services.envoy.enable` and `services.envoy.settings`.
|
||||
|
||||
- The option `services.duplicati.dataDir` has been added to allow changing the location of duplicati's files.
|
||||
|
||||
- The options `boot.extraModprobeConfig` and `boot.blacklistedKernelModules` now also take effect in the initrd by copying the file `/etc/modprobe.d/nixos.conf` into the initrd.
|
||||
|
@ -753,6 +753,7 @@
|
||||
./services/networking/ncdns.nix
|
||||
./services/networking/nomad.nix
|
||||
./services/networking/ejabberd.nix
|
||||
./services/networking/envoy.nix
|
||||
./services/networking/epmd.nix
|
||||
./services/networking/ergo.nix
|
||||
./services/networking/ergochat.nix
|
||||
|
84
nixos/modules/services/networking/envoy.nix
Normal file
84
nixos/modules/services/networking/envoy.nix
Normal file
@ -0,0 +1,84 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.services.envoy;
|
||||
format = pkgs.formats.json { };
|
||||
conf = format.generate "envoy.json" cfg.settings;
|
||||
validateConfig = file:
|
||||
pkgs.runCommand "validate-envoy-conf" { } ''
|
||||
${pkgs.envoy}/bin/envoy --log-level error --mode validate -c "${file}"
|
||||
cp "${file}" "$out"
|
||||
'';
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
options.services.envoy = {
|
||||
enable = mkEnableOption "Envoy reverse proxy";
|
||||
|
||||
settings = mkOption {
|
||||
type = format.type;
|
||||
default = { };
|
||||
example = literalExpression ''
|
||||
{
|
||||
admin = {
|
||||
access_log_path = "/dev/null";
|
||||
address = {
|
||||
socket_address = {
|
||||
protocol = "TCP";
|
||||
address = "127.0.0.1";
|
||||
port_value = 9901;
|
||||
};
|
||||
};
|
||||
};
|
||||
static_resources = {
|
||||
listeners = [];
|
||||
clusters = [];
|
||||
};
|
||||
}
|
||||
'';
|
||||
description = ''
|
||||
Specify the configuration for Envoy in Nix.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = [ pkgs.envoy ];
|
||||
systemd.services.envoy = {
|
||||
description = "Envoy reverse proxy";
|
||||
after = [ "network-online.target" ];
|
||||
requires = [ "network-online.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.envoy}/bin/envoy -c ${validateConfig conf}";
|
||||
DynamicUser = true;
|
||||
Restart = "no";
|
||||
CacheDirectory = "envoy";
|
||||
LogsDirectory = "envoy";
|
||||
AmbientCapabilities = "CAP_NET_BIND_SERVICE";
|
||||
CapabilityBoundingSet = "CAP_NET_BIND_SERVICE";
|
||||
RestrictAddressFamilies = "AF_UNIX AF_INET AF_INET6 AF_NETLINK AF_XDP";
|
||||
SystemCallArchitectures = "native";
|
||||
LockPersonality = true;
|
||||
RestrictNamespaces = true;
|
||||
RestrictRealtime = true;
|
||||
PrivateUsers = false; # breaks CAP_NET_BIND_SERVICE
|
||||
PrivateDevices = true;
|
||||
ProtectClock = true;
|
||||
ProtectControlGroups = true;
|
||||
ProtectHome = true;
|
||||
ProtectKernelLogs = true;
|
||||
ProtectKernelModules = true;
|
||||
ProtectKernelTunables = true;
|
||||
ProtectProc = "ptraceable";
|
||||
ProtectHostname = true;
|
||||
ProtectSystem = "strict";
|
||||
UMask = "0066";
|
||||
SystemCallFilter = "~@clock @module @mount @reboot @swap @obsolete @cpu-emulation";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
@ -642,41 +642,14 @@ in
|
||||
};
|
||||
|
||||
scriptArgs = "%i";
|
||||
path = [ pkgs.gawk cfgZfs.package ];
|
||||
path = [ cfgZfs.package ];
|
||||
|
||||
# ZFS has no way of enumerating just devices in a pool in a way
|
||||
# that 'zpool online -e' supports. Thus, we've implemented a
|
||||
# bit of a strange approach of highlighting just devices.
|
||||
# See: https://github.com/openzfs/zfs/issues/12505
|
||||
script = let
|
||||
# This UUID has been chosen at random and is to provide a
|
||||
# collision-proof, predictable token to search for
|
||||
magicIdentifier = "NIXOS-ZFS-ZPOOL-DEVICE-IDENTIFIER-37108bec-aff6-4b58-9e5e-53c7c9766f05";
|
||||
zpoolScripts = pkgs.writeShellScriptBin "device-highlighter" ''
|
||||
echo "${magicIdentifier}"
|
||||
'';
|
||||
in ''
|
||||
script = ''
|
||||
pool=$1
|
||||
|
||||
echo "Expanding all devices for $pool."
|
||||
|
||||
# Put our device-highlighter script it to the PATH
|
||||
export ZPOOL_SCRIPTS_PATH=${zpoolScripts}/bin
|
||||
|
||||
# Enable running our precisely specified zpool script as root
|
||||
export ZPOOL_SCRIPTS_AS_ROOT=1
|
||||
|
||||
devices() (
|
||||
zpool status -c device-highlighter "$pool" \
|
||||
| awk '($2 == "ONLINE" && $6 == "${magicIdentifier}") { print $1; }'
|
||||
)
|
||||
|
||||
for device in $(devices); do
|
||||
echo "Attempting to expand $device of $pool..."
|
||||
if ! zpool online -e "$pool" "$device"; then
|
||||
echo "Failed to expand '$device' of '$pool'."
|
||||
fi
|
||||
done
|
||||
${pkgs.zpool-auto-expand-partitions}/bin/zpool_part_disks --automatically-grow "$pool"
|
||||
'';
|
||||
};
|
||||
|
||||
@ -701,8 +674,6 @@ in
|
||||
RemainAfterExit = true;
|
||||
};
|
||||
|
||||
path = [ pkgs.gawk cfgZfs.package ];
|
||||
|
||||
script = ''
|
||||
for pool in ${poolListProvider}; do
|
||||
systemctl start --no-block "zpool-expand@$pool"
|
||||
|
@ -142,6 +142,7 @@ in
|
||||
engelsystem = handleTest ./engelsystem.nix {};
|
||||
enlightenment = handleTest ./enlightenment.nix {};
|
||||
env = handleTest ./env.nix {};
|
||||
envoy = handleTest ./envoy.nix {};
|
||||
ergo = handleTest ./ergo.nix {};
|
||||
ergochat = handleTest ./ergochat.nix {};
|
||||
etc = pkgs.callPackage ../modules/system/etc/test.nix { inherit evalMinimalConfig; };
|
||||
|
33
nixos/tests/envoy.nix
Normal file
33
nixos/tests/envoy.nix
Normal file
@ -0,0 +1,33 @@
|
||||
import ./make-test-python.nix ({ pkgs, lib, ...} : {
|
||||
name = "envoy";
|
||||
meta = with pkgs.lib.maintainers; {
|
||||
maintainers = [ cameronnemo ];
|
||||
};
|
||||
|
||||
nodes.machine = { pkgs, ... }: {
|
||||
services.envoy.enable = true;
|
||||
services.envoy.settings = {
|
||||
admin = {
|
||||
access_log_path = "/dev/null";
|
||||
address = {
|
||||
socket_address = {
|
||||
protocol = "TCP";
|
||||
address = "127.0.0.1";
|
||||
port_value = 9901;
|
||||
};
|
||||
};
|
||||
};
|
||||
static_resources = {
|
||||
listeners = [];
|
||||
clusters = [];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
machine.start()
|
||||
machine.wait_for_unit("envoy.service")
|
||||
machine.wait_for_open_port(9901)
|
||||
machine.wait_until_succeeds("curl -fsS localhost:9901/ready")
|
||||
'';
|
||||
})
|
@ -143,7 +143,7 @@ let
|
||||
# post url.
|
||||
keycloak.succeed(
|
||||
"curl -sSf -c cookie '${frontendUrl}/realms/${realm.realm}/protocol/openid-connect/auth?client_id=${client.name}&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=openid+email&response_type=code&response_mode=query&nonce=qw4o89g3qqm' >login_form",
|
||||
"tidy -q -m login_form || true",
|
||||
"tidy -asxml -q -m login_form || true",
|
||||
"xml sel -T -t -m \"_:html/_:body/_:div/_:div/_:div/_:div/_:div/_:div/_:form[@id='kc-form-login']\" -v @action login_form >form_post_url",
|
||||
)
|
||||
|
||||
@ -151,7 +151,7 @@ let
|
||||
# the HTML, then extract the authorization code.
|
||||
keycloak.succeed(
|
||||
"curl -sSf -L -b cookie -d 'username=${user.username}' -d 'password=${password}' -d 'credentialId=' \"$(<form_post_url)\" >auth_code_html",
|
||||
"tidy -q -m auth_code_html || true",
|
||||
"tidy -asxml -q -m auth_code_html || true",
|
||||
"xml sel -T -t -m \"_:html/_:body/_:div/_:div/_:div/_:div/_:div/_:input[@id='code']\" -v @value auth_code_html >auth_code",
|
||||
)
|
||||
|
||||
|
@ -127,4 +127,54 @@ in {
|
||||
};
|
||||
|
||||
installer = (import ./installer.nix { }).zfsroot;
|
||||
|
||||
expand-partitions = makeTest {
|
||||
name = "multi-disk-zfs";
|
||||
nodes = {
|
||||
machine = { pkgs, ... }: {
|
||||
environment.systemPackages = [ pkgs.parted ];
|
||||
boot.supportedFilesystems = [ "zfs" ];
|
||||
networking.hostId = "00000000";
|
||||
|
||||
virtualisation = {
|
||||
emptyDiskImages = [ 20480 20480 20480 20480 20480 20480 ];
|
||||
};
|
||||
|
||||
specialisation.resize.configuration = {
|
||||
services.zfs.expandOnBoot = [ "tank" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
testScript = { nodes, ... }:
|
||||
''
|
||||
start_all()
|
||||
machine.wait_for_unit("default.target")
|
||||
print(machine.succeed('mount'))
|
||||
|
||||
print(machine.succeed('parted --script /dev/vdb -- mklabel gpt'))
|
||||
print(machine.succeed('parted --script /dev/vdb -- mkpart primary 1M 70M'))
|
||||
|
||||
print(machine.succeed('parted --script /dev/vdc -- mklabel gpt'))
|
||||
print(machine.succeed('parted --script /dev/vdc -- mkpart primary 1M 70M'))
|
||||
|
||||
print(machine.succeed('zpool create tank mirror /dev/vdb1 /dev/vdc1 mirror /dev/vdd /dev/vde mirror /dev/vdf /dev/vdg'))
|
||||
print(machine.succeed('zpool list -v'))
|
||||
print(machine.succeed('mount'))
|
||||
start_size = int(machine.succeed('df -k --output=size /tank | tail -n1').strip())
|
||||
|
||||
print(machine.succeed("/run/current-system/specialisation/resize/bin/switch-to-configuration test >&2"))
|
||||
machine.wait_for_unit("zpool-expand-pools.service")
|
||||
machine.wait_for_unit("zpool-expand@tank.service")
|
||||
|
||||
print(machine.succeed('zpool list -v'))
|
||||
new_size = int(machine.succeed('df -k --output=size /tank | tail -n1').strip())
|
||||
|
||||
if (new_size - start_size) > 20000000:
|
||||
print("Disk grew appropriately.")
|
||||
else:
|
||||
print(f"Disk went from {start_size} to {new_size}, which doesn't seem right.")
|
||||
exit(1)
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
@ -6,11 +6,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bitwig-studio";
|
||||
version = "4.2.1";
|
||||
version = "4.2.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://downloads.bitwig.com/stable/${version}/${pname}-${version}.deb";
|
||||
sha256 = "sha256-kkpb8tLuj4QO+TBW2yNDugS4c6dCQ9Lddv6Z8NS0uio=";
|
||||
sha256 = "sha256-cpEV0EWW9vd2ZE+RaqN9fhyy7axgPlx4PmlOeX3TSfY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ dpkg makeWrapper wrapGAppsHook ];
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dragonfly-reverb";
|
||||
version = "3.2.5";
|
||||
version = "3.2.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "michaelwillis";
|
||||
repo = "dragonfly-reverb";
|
||||
rev = version;
|
||||
sha256 = "14kia9wjs0nqfx4psnr3vf4x6hihkf80gb0mjzmdnnnk4cnrdydm";
|
||||
sha256 = "sha256-hTapy/wXt1rRZVdkx2RDW8LS/DcY30p+WaAWgemGqVo=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
@ -38,13 +38,13 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cudatext";
|
||||
version = "1.159.2";
|
||||
version = "1.160.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Alexey-T";
|
||||
repo = "CudaText";
|
||||
rev = version;
|
||||
sha256 = "sha256-dSZd+Dsln7xUfN/cqTZSdnpnINHsDCBrbNGcDLwqzzU=";
|
||||
sha256 = "sha256-42V6RFa+mAXyaUuKeDQa9Voi1MjnzcVl+cOA65VabxM=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -16,8 +16,8 @@
|
||||
},
|
||||
"ATSynEdit": {
|
||||
"owner": "Alexey-T",
|
||||
"rev": "2022.03.23",
|
||||
"sha256": "sha256-D/pQ4TSWUaL97Nau3bGi7rc8MxnvuoDcD7HDNEDwmsk="
|
||||
"rev": "2022.04.06",
|
||||
"sha256": "sha256-EnPOAl1qsdcYzmUgT5rSYqY/xOLSfDcMNCXIG8LC4H0="
|
||||
},
|
||||
"ATSynEdit_Cmp": {
|
||||
"owner": "Alexey-T",
|
||||
|
@ -0,0 +1,23 @@
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "control-lock";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/emacsmirror/emacswiki.org/blob/185fdc34fb1e02b43759ad933d3ee5646b0e78f8/control-lock.el";
|
||||
sha256 = "1b5xcgq2r565pr1c14dwrmn1fl05p56infapa5pqvajv2kpfla7h";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
install -d $out/share/emacs/site-lisp
|
||||
install $src $out/share/emacs/site-lisp/control-lock.el
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Like caps-lock, but for your control key. Give your pinky a rest!";
|
||||
homepage = "https://www.emacswiki.org/emacs/control-lock.el";
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
@ -190,6 +190,8 @@
|
||||
|
||||
perl-completion = callPackage ./perl-completion { };
|
||||
|
||||
control-lock = callPackage ./control-lock { };
|
||||
|
||||
plz = callPackage ./plz { };
|
||||
|
||||
pod-mode = callPackage ./pod-mode { };
|
||||
|
77
pkgs/applications/misc/bikeshed/default.nix
Normal file
77
pkgs/applications/misc/bikeshed/default.nix
Normal file
@ -0,0 +1,77 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, fetchPypi
|
||||
# build inputs
|
||||
, aiofiles
|
||||
, aiohttp
|
||||
, attrs
|
||||
, certifi
|
||||
, cssselect
|
||||
, html5lib
|
||||
, isodate
|
||||
, json-home-client
|
||||
, lxml
|
||||
, pillow
|
||||
, pygments
|
||||
, requests
|
||||
, result
|
||||
, setuptools
|
||||
, tenacity
|
||||
, widlparser
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "bikeshed";
|
||||
version = "3.4.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-vJW4yNbKCZraJ5vx8FheNsBl+zObGoLFgAVqoU0p9QQ=";
|
||||
};
|
||||
|
||||
# Relax requirements from "==" to ">="
|
||||
# https://github.com/tabatkins/bikeshed/issues/2178
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "==" ">="
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiofiles
|
||||
aiohttp
|
||||
attrs
|
||||
certifi
|
||||
cssselect
|
||||
html5lib
|
||||
isodate
|
||||
json-home-client
|
||||
lxml
|
||||
pillow
|
||||
pygments
|
||||
requests
|
||||
result
|
||||
setuptools
|
||||
tenacity
|
||||
widlparser
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
$out/bin/bikeshed test
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "bikeshed" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Preprocessor for anyone writing specifications that converts source files into actual specs";
|
||||
longDescription = ''
|
||||
Bikeshed is a pre-processor for spec documents, turning a source document
|
||||
(containing only the actual spec content, plus several shorthands for linking
|
||||
to terms and other things) into a final spec document, with appropriate boilerplate,
|
||||
bibliography, indexes, etc all filled in. It's used on specs for CSS
|
||||
and many other W3C working groups, WHATWG, the C++ standards committee, and elsewhere!
|
||||
'';
|
||||
homepage = "https://tabatkins.github.io/bikeshed/";
|
||||
license = licenses.cc0;
|
||||
maintainers = [ maintainers.kvark ];
|
||||
};
|
||||
}
|
@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "gsctl";
|
||||
version = "1.1.4";
|
||||
version = "1.1.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "giantswarm";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-uCNWgaLZMm1vPxFduj8mpjKYuYlp1ChF6bK+bmAWy50=";
|
||||
sha256 = "sha256-P1hJoZ1YSZTCo5ha/Um/nYVVhbYC3dcrQGJYTSnqNu4=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-lZgHrQYqoyoM1Iv6vCqTMcv62zSKyxaAsq56kUXHrIA=";
|
||||
vendorSha256 = "sha256-NeRABlKUpD2ZHRid/vu34Dh9uHZ+7IXWFPX8jkexUog=";
|
||||
|
||||
ldflags =
|
||||
[ "-s" "-w" "-X github.com/giantswarm/gsctl/buildinfo.Version=${version}" ];
|
||||
|
@ -10,11 +10,11 @@ with lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "zathura";
|
||||
version = "0.4.8";
|
||||
version = "0.4.9";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pwmt.org/projects/${pname}/download/${pname}-${version}.tar.xz";
|
||||
sha256 = "1nr0ym1mi2afk4ycdf1ppmkcv7i7hyzwn4p3r4m0j2qm3nvaiami";
|
||||
sha256 = "0msy7s57mlx0wya99qpia4fpcy40pbj253kmx2y97nb0sqnc8c7w";
|
||||
};
|
||||
|
||||
outputs = [ "bin" "man" "dev" "out" ];
|
||||
|
@ -45,9 +45,9 @@
|
||||
}
|
||||
},
|
||||
"ungoogled-chromium": {
|
||||
"version": "100.0.4896.60",
|
||||
"sha256": "1p7zggnhsz9gj3zil0nyas4ym5bd94vs0z6mdg7r1l0s0vrsaphf",
|
||||
"sha256bin64": "07wavs9r6ilwx5rzyqvydcjskg6sml5b8m6mw7qzykvhs8bnvfh5",
|
||||
"version": "100.0.4896.75",
|
||||
"sha256": "1h60l1g340gvm4lz2lps6dqpvahpzn24hz47y2qvc6mavx9d6ki4",
|
||||
"sha256bin64": "0nrrkgwcnqg4l8x1nk1rdxnv9xa0c24ync1yls7s9rc34wkk8sc5",
|
||||
"deps": {
|
||||
"gn": {
|
||||
"version": "2022-01-21",
|
||||
@ -56,8 +56,8 @@
|
||||
"sha256": "1dzdvcn2r5c9giknvasf3y5y4901kav7igivjvrpww66ywsj8fzr"
|
||||
},
|
||||
"ungoogled-patches": {
|
||||
"rev": "100.0.4896.60-1",
|
||||
"sha256": "02q7ghxynkgkbilcb8bx8q26s80fvd4hbc58zq74pnzpmn7qi342"
|
||||
"rev": "100.0.4896.75-1",
|
||||
"sha256": "0s31dclgk3x9302wr5yij77361bqam2sfki39p651gwysfizb73n"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -19,13 +19,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lagrange";
|
||||
version = "1.12.0";
|
||||
version = "1.12.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "skyjake";
|
||||
repo = "lagrange";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-1eWd4En14p8E04kLWbsbJSEdjManQ87N/P3klFbUQx4=";
|
||||
sha256 = "sha256-CpvoovTn++RTQjyeOlHTG+cjn32F+9qP32+YHpoLB8M=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
@ -37,7 +37,7 @@ buildGoModule rec {
|
||||
description = "Istio configuration command line utility for service operators to debug and diagnose their Istio mesh";
|
||||
homepage = "https://istio.io/latest/docs/reference/commands/istioctl";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ veehaitch ];
|
||||
maintainers = with maintainers; [ superherointj bryanasdev000 veehaitch ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -1,11 +1,11 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
# SHA of ${version} for the tool's help output. Unfortunately this is needed in build flags.
|
||||
let rev = "1005bee8fff1b8daa30ddbcca717d03384630a71";
|
||||
let rev = "51c79060fc1433233eb43842de564f0f2e47be86";
|
||||
in
|
||||
buildGoModule rec {
|
||||
pname = "sonobuoy";
|
||||
version = "0.56.3"; # Do not forget to update `rev` above
|
||||
version = "0.56.4"; # Do not forget to update `rev` above
|
||||
|
||||
ldflags =
|
||||
let t = "github.com/vmware-tanzu/sonobuoy";
|
||||
@ -20,10 +20,10 @@ buildGoModule rec {
|
||||
owner = "vmware-tanzu";
|
||||
repo = "sonobuoy";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-7yN3/bGjcntzMQRbB//fmqvD7me/xKLytfF+mQ1fcfc=";
|
||||
sha256 = "sha256-6kHqfWDrZL3J5SrZ3JK50Z2Sw8mwM0zrfaKWo22g27A=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-qKXm39CwrTcXENIMh2BBS3MUlhJvmTTA3UzZNpF0PCc=";
|
||||
vendorSha256 = "sha256-8n4a1PLUYDU46lVegQoOCmmRSR1XfnjgEGZ+R5f36Ic=";
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
|
@ -66,6 +66,7 @@ let
|
||||
timstott
|
||||
zimbatm
|
||||
zowoq
|
||||
techknowlogick
|
||||
];
|
||||
};
|
||||
} // attrs');
|
||||
@ -191,9 +192,9 @@ rec {
|
||||
};
|
||||
|
||||
terraform_1 = mkTerraform {
|
||||
version = "1.1.7";
|
||||
sha256 = "sha256-E8qY17MSdA7fQW4wGSDiPzbndBP5SZwelAJAWzka/io=";
|
||||
vendorSha256 = "sha256-lyy/hcr00ix6qZoxzSfCbXvDC8dRB2ZjrONywpqbVZ8=";
|
||||
version = "1.1.8";
|
||||
sha256 = "sha256-U3RuLnDQD1EbPZG/wPuVMbSKmR3EqspkoK0Ky8aZb7k=";
|
||||
vendorSha256 = "sha256-Jy9o0O80OjagrHG25CSPblI49zKx0N8pwvEotk9qm3s=";
|
||||
patches = [ ./provider-path-0_15.patch ];
|
||||
passthru = { inherit plugins; };
|
||||
};
|
||||
|
@ -7,7 +7,7 @@ let
|
||||
|
||||
# Please keep the version x.y.0.z and do not update to x.y.76.z because the
|
||||
# source of the latter disappears much faster.
|
||||
version = "8.81.0.268";
|
||||
version = "8.82.0.403";
|
||||
|
||||
rpath = lib.makeLibraryPath [
|
||||
alsa-lib
|
||||
@ -68,7 +68,7 @@ let
|
||||
"https://mirror.cs.uchicago.edu/skype/pool/main/s/skypeforlinux/skypeforlinux_${version}_amd64.deb"
|
||||
"https://web.archive.org/web/https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_${version}_amd64.deb"
|
||||
];
|
||||
sha256 = "sha256-MqXLK+AdYkQVTeTjul9Dru78597FuThRUVq7/y9FYUU=";
|
||||
sha256 = "sha256-45aHb6BI0kUnJOlRsglyGdZ6+8sLmHZK3FN8nYpuHXM=";
|
||||
}
|
||||
else
|
||||
throw "Skype for linux is not supported on ${stdenv.hostPlatform.system}";
|
||||
|
@ -44,14 +44,14 @@ let
|
||||
|
||||
pname = "slack";
|
||||
|
||||
x86_64-darwin-version = "4.23.0";
|
||||
x86_64-darwin-sha256 = "0l4zfyys0yf95dn0sldyjkhzp7bpn84z9q9li1lvv5jj55f0g9jd";
|
||||
x86_64-darwin-version = "4.25.0";
|
||||
x86_64-darwin-sha256 = "1ffg003ic0jhkis9ai2873axwzqj9yvjab8212zwhvr3a23zzr5c";
|
||||
|
||||
x86_64-linux-version = "4.23.0";
|
||||
x86_64-linux-sha256 = "1wsrxacnj9f3cb6as7ncbdvi02jqcbyc7ijsavps5bls9phkp0is";
|
||||
x86_64-linux-version = "4.25.0";
|
||||
x86_64-linux-sha256 = "0b22hnf9bzdzffnxrsjqcimqhz5imshvp9gw9baz12d45jh610g8";
|
||||
|
||||
aarch64-darwin-version = "4.23.0";
|
||||
aarch64-darwin-sha256 = "053psiqysyi7l8pviq0vwvk2azlxcpdrwfa0b99f1h6lbfcf48f3";
|
||||
aarch64-darwin-version = "4.25.0";
|
||||
aarch64-darwin-sha256 = "0s4c66bzi42y2r1c94r4ds5fyzzgvzkvrria0z45ysa47lnldp0f";
|
||||
|
||||
version = {
|
||||
x86_64-darwin = x86_64-darwin-version;
|
||||
|
288
pkgs/applications/networking/n8n/node-packages.nix
generated
288
pkgs/applications/networking/n8n/node-packages.nix
generated
@ -445,13 +445,13 @@ let
|
||||
sha512 = "zm6xBQpFDIDM6o9r6HSgDeIcLy82TKWctCXEPbJJcXb5AKmi5BNNdLXneixK4lplX3PqIVcwLBCGE/kAGnlD4A==";
|
||||
};
|
||||
};
|
||||
"@types/lodash-4.14.180" = {
|
||||
"@types/lodash-4.14.181" = {
|
||||
name = "_at_types_slash_lodash";
|
||||
packageName = "@types/lodash";
|
||||
version = "4.14.180";
|
||||
version = "4.14.181";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.180.tgz";
|
||||
sha512 = "XOKXa1KIxtNXgASAnwj7cnttJxS4fksBRywK/9LzRV5YxrF80BXZIGeQSuoESQ/VkUj30Ae0+YcuHc15wJCB2g==";
|
||||
url = "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.181.tgz";
|
||||
sha512 = "n3tyKthHJbkiWhDZs3DkhkCzt2MexYHXlX0td5iMplyfwketaOeKboEVBqzceH7juqvEg3q5oUoBFxSLu7zFag==";
|
||||
};
|
||||
};
|
||||
"@types/lossless-json-1.0.1" = {
|
||||
@ -661,13 +661,13 @@ let
|
||||
sha1 = "6a3e6bf0a63900ba15652808cb15c6813d1a5f25";
|
||||
};
|
||||
};
|
||||
"adler-32-1.3.0" = {
|
||||
"adler-32-1.3.1" = {
|
||||
name = "adler-32";
|
||||
packageName = "adler-32";
|
||||
version = "1.3.0";
|
||||
version = "1.3.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/adler-32/-/adler-32-1.3.0.tgz";
|
||||
sha512 = "f5nltvjl+PRUh6YNfUstRaXwJxtfnKEWhAWWlmKvh+Y3J2+98a0KKVYDEhz6NdKGqswLhjNGznxfSsZGOvOd9g==";
|
||||
url = "https://registry.npmjs.org/adler-32/-/adler-32-1.3.1.tgz";
|
||||
sha512 = "ynZ4w/nUUv5rrsR8UUGoe1VC9hZj6V5hU9Qw1HlMDJGEJw5S7TfTErWTjMys6M7vr0YWcPqs3qAr4ss0nDfP+A==";
|
||||
};
|
||||
};
|
||||
"agent-base-6.0.2" = {
|
||||
@ -958,22 +958,22 @@ let
|
||||
sha512 = "h7diyELoq692AA4oqO50ULoYKIomUdzuQ+NW+eFPwIX0xzVbXEu9cIcgzZ3TYNVbpkGtcNKh51aRfAQNef7HVA==";
|
||||
};
|
||||
};
|
||||
"avsc-5.7.3" = {
|
||||
"avsc-5.7.4" = {
|
||||
name = "avsc";
|
||||
packageName = "avsc";
|
||||
version = "5.7.3";
|
||||
version = "5.7.4";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/avsc/-/avsc-5.7.3.tgz";
|
||||
sha512 = "uUbetCWczQHbsKyX1C99XpQHBM8SWfovvaZhPIj23/1uV7SQf0WeRZbiLpw0JZm+LHTChfNgrLfDJOVoU2kU+A==";
|
||||
url = "https://registry.npmjs.org/avsc/-/avsc-5.7.4.tgz";
|
||||
sha512 = "z4oo33lmnvvNRqfUe3YjDGGpqu/L2+wXBIhMtwq6oqZ+exOUAkQYM6zd2VWKF7AIlajOF8ZZuPFfryTG9iLC/w==";
|
||||
};
|
||||
};
|
||||
"aws-sdk-2.1101.0" = {
|
||||
"aws-sdk-2.1106.0" = {
|
||||
name = "aws-sdk";
|
||||
packageName = "aws-sdk";
|
||||
version = "2.1101.0";
|
||||
version = "2.1106.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1101.0.tgz";
|
||||
sha512 = "7lyVb7GXGl8yyu954Qxf6vU6MrcgFlmKyTLBVXJyo3Phn1OB+qOExA55WtSC6gQiQ7e5TeWOn1RUHLg30ywTBA==";
|
||||
url = "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1106.0.tgz";
|
||||
sha512 = "3dr0TTR2LI70ST8fa4IgXHpWdH4yv7FLnt9YEndwFQ8ar2EMCMpMU67wwCGBA72GUi0aOg4+lsLjGmCvIq3jug==";
|
||||
};
|
||||
};
|
||||
"aws-sign2-0.7.0" = {
|
||||
@ -1174,6 +1174,15 @@ let
|
||||
sha512 = "SAAwOxgoCKMGs9uUAUFHygfLAyaniaoun6I8mFY9pRAJL9+Kec34aU+oIjDhTycub1jozEfEwx1W1IuOYxVSFw==";
|
||||
};
|
||||
};
|
||||
"body-parser-1.20.0" = {
|
||||
name = "body-parser";
|
||||
packageName = "body-parser";
|
||||
version = "1.20.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/body-parser/-/body-parser-1.20.0.tgz";
|
||||
sha512 = "DfJ+q6EPcGKZD1QWUjSpqp+Q7bDQTsQIF4zfUAtZ6qk+H/3/QRhg9CEp39ss+/T2vw0+HaidC0ecJj/DRLIaKg==";
|
||||
};
|
||||
};
|
||||
"body-parser-xml-2.0.3" = {
|
||||
name = "body-parser-xml";
|
||||
packageName = "body-parser-xml";
|
||||
@ -1435,13 +1444,13 @@ let
|
||||
sha512 = "hjx1XE1M/D5pAtMgvWwE21QClmAEeGHOIDfycgmndisdNgI6PE1cGRQkMGBcsbUbmEQyWu5PJLUcAOjtQS8DWw==";
|
||||
};
|
||||
};
|
||||
"cheerio-select-1.5.0" = {
|
||||
"cheerio-select-1.6.0" = {
|
||||
name = "cheerio-select";
|
||||
packageName = "cheerio-select";
|
||||
version = "1.5.0";
|
||||
version = "1.6.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/cheerio-select/-/cheerio-select-1.5.0.tgz";
|
||||
sha512 = "qocaHPv5ypefh6YNxvnbABM07KMxExbtbfuJoIie3iZXX1ERwYmJcIiRrr9H05ucQP1k28dav8rpdDgjQd8drg==";
|
||||
url = "https://registry.npmjs.org/cheerio-select/-/cheerio-select-1.6.0.tgz";
|
||||
sha512 = "eq0GdBvxVFbqWgmCm7M3XGs1I8oLy/nExUnh6oLqmBditPO9AqQJrkslDpMun/hZ0yyTs8L0m85OHp4ho6Qm9g==";
|
||||
};
|
||||
};
|
||||
"chokidar-3.5.2" = {
|
||||
@ -1894,22 +1903,22 @@ let
|
||||
sha512 = "uTqEnCvWRk042asU6JtapDTcJeeailFy4ydOQS28bj1hcLnYRiqi8SsD2jS412AY1I/4qdOwWZun774iqywf9w==";
|
||||
};
|
||||
};
|
||||
"css-select-4.2.1" = {
|
||||
"css-select-4.3.0" = {
|
||||
name = "css-select";
|
||||
packageName = "css-select";
|
||||
version = "4.2.1";
|
||||
version = "4.3.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/css-select/-/css-select-4.2.1.tgz";
|
||||
sha512 = "/aUslKhzkTNCQUB2qTX84lVmfia9NyjP3WpDGtj/WxhwBzWBYUV3DgUpurHTme8UTPcPlAD1DJ+b0nN/t50zDQ==";
|
||||
url = "https://registry.npmjs.org/css-select/-/css-select-4.3.0.tgz";
|
||||
sha512 = "wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ==";
|
||||
};
|
||||
};
|
||||
"css-what-5.1.0" = {
|
||||
"css-what-6.1.0" = {
|
||||
name = "css-what";
|
||||
packageName = "css-what";
|
||||
version = "5.1.0";
|
||||
version = "6.1.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/css-what/-/css-what-5.1.0.tgz";
|
||||
sha512 = "arSMRWIIFY0hV8pIxZMEfmMI47Wj3R/aWpZDDxWYCPEiOMv6tfOrnpDtgxBYPEQD4V0Y/958+1TdC3iWTFcUPw==";
|
||||
url = "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz";
|
||||
sha512 = "HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==";
|
||||
};
|
||||
};
|
||||
"cssfilter-0.0.10" = {
|
||||
@ -2074,6 +2083,15 @@ let
|
||||
sha1 = "978857442c44749e4206613e37946205826abd80";
|
||||
};
|
||||
};
|
||||
"destroy-1.2.0" = {
|
||||
name = "destroy";
|
||||
packageName = "destroy";
|
||||
version = "1.2.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz";
|
||||
sha512 = "2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==";
|
||||
};
|
||||
};
|
||||
"detect-libc-1.0.3" = {
|
||||
name = "detect-libc";
|
||||
packageName = "detect-libc";
|
||||
@ -2299,13 +2317,13 @@ let
|
||||
sha512 = "2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==";
|
||||
};
|
||||
};
|
||||
"es-abstract-1.19.1" = {
|
||||
"es-abstract-1.19.2" = {
|
||||
name = "es-abstract";
|
||||
packageName = "es-abstract";
|
||||
version = "1.19.1";
|
||||
version = "1.19.2";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.1.tgz";
|
||||
sha512 = "2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==";
|
||||
url = "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.2.tgz";
|
||||
sha512 = "gfSBJoZdlL2xRiOCy0g8gLMryhoe1TlimjzU99L/31Z8QEGIhVQI+EWwt5lT+AuU9SnorVupXFqqOGqGfsyO6w==";
|
||||
};
|
||||
};
|
||||
"es-to-primitive-1.2.1" = {
|
||||
@ -3064,6 +3082,15 @@ let
|
||||
sha512 = "Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==";
|
||||
};
|
||||
};
|
||||
"http-errors-2.0.0" = {
|
||||
name = "http-errors";
|
||||
packageName = "http-errors";
|
||||
version = "2.0.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz";
|
||||
sha512 = "FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==";
|
||||
};
|
||||
};
|
||||
"http-proxy-agent-4.0.1" = {
|
||||
name = "http-proxy-agent";
|
||||
packageName = "http-proxy-agent";
|
||||
@ -3442,13 +3469,13 @@ let
|
||||
sha512 = "41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==";
|
||||
};
|
||||
};
|
||||
"is-number-object-1.0.6" = {
|
||||
"is-number-object-1.0.7" = {
|
||||
name = "is-number-object";
|
||||
packageName = "is-number-object";
|
||||
version = "1.0.6";
|
||||
version = "1.0.7";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.6.tgz";
|
||||
sha512 = "bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==";
|
||||
url = "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz";
|
||||
sha512 = "k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==";
|
||||
};
|
||||
};
|
||||
"is-promise-1.0.1" = {
|
||||
@ -3496,13 +3523,13 @@ let
|
||||
sha512 = "XVm7LOeLpTW4jV19QSH38vkswxoLud8sQ57YwJVTPWdiaI9I8keEhGFpBlslyVsgdQy4Opg8QOLb8YRgsyZiQg==";
|
||||
};
|
||||
};
|
||||
"is-shared-array-buffer-1.0.1" = {
|
||||
"is-shared-array-buffer-1.0.2" = {
|
||||
name = "is-shared-array-buffer";
|
||||
packageName = "is-shared-array-buffer";
|
||||
version = "1.0.1";
|
||||
version = "1.0.2";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz";
|
||||
sha512 = "IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA==";
|
||||
url = "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz";
|
||||
sha512 = "sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==";
|
||||
};
|
||||
};
|
||||
"is-stream-2.0.1" = {
|
||||
@ -4504,13 +4531,13 @@ let
|
||||
sha512 = "z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==";
|
||||
};
|
||||
};
|
||||
"n8n-core-0.111.0" = {
|
||||
"n8n-core-0.112.0" = {
|
||||
name = "n8n-core";
|
||||
packageName = "n8n-core";
|
||||
version = "0.111.0";
|
||||
version = "0.112.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/n8n-core/-/n8n-core-0.111.0.tgz";
|
||||
sha512 = "fZLLJ60yIuuX+geKGQrO6jk+kxn1UaCJMoWEi2FVE+InTmi+/r51Bv6LGoapoW0Oz+Em+CDq0wE7Yzg3xNx7fw==";
|
||||
url = "https://registry.npmjs.org/n8n-core/-/n8n-core-0.112.0.tgz";
|
||||
sha512 = "1b/J9XWBrjqMCcDAM1vZlsEpeBXI7gZ9Jpxgpgu4eHh3l/BJfyeqq5KXgULfyDtolDn/bil0s7qXA2njmZLerw==";
|
||||
};
|
||||
};
|
||||
"n8n-design-system-0.16.0" = {
|
||||
@ -4522,31 +4549,31 @@ let
|
||||
sha512 = "X7Qa+DoXRyJL4gqh7x59udnPIBYAUgDvhchL33dpI/Rgq9gaFajT9eAuOFQnXKMUaL0FZ5hu3rRGcAmwwEA/bA==";
|
||||
};
|
||||
};
|
||||
"n8n-editor-ui-0.137.0" = {
|
||||
"n8n-editor-ui-0.138.0" = {
|
||||
name = "n8n-editor-ui";
|
||||
packageName = "n8n-editor-ui";
|
||||
version = "0.137.0";
|
||||
version = "0.138.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/n8n-editor-ui/-/n8n-editor-ui-0.137.0.tgz";
|
||||
sha512 = "/wYAIh/3RtVaFxY+vtVEACfo6xsVOi3cEPWd+GSFCK/AMxXs517CNGbwNz54geqaGNUH+rhhUz87C0pG+TgiUg==";
|
||||
url = "https://registry.npmjs.org/n8n-editor-ui/-/n8n-editor-ui-0.138.0.tgz";
|
||||
sha512 = "1/mUJYSWG4vmUfMlT65lvtQzfDBMCHxhdIU3TUG2umvdIEsSHJM1gZwAPfoJZppoZ6DX/ApuxXY/67OXfgatQw==";
|
||||
};
|
||||
};
|
||||
"n8n-nodes-base-0.168.0" = {
|
||||
"n8n-nodes-base-0.169.0" = {
|
||||
name = "n8n-nodes-base";
|
||||
packageName = "n8n-nodes-base";
|
||||
version = "0.168.0";
|
||||
version = "0.169.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/n8n-nodes-base/-/n8n-nodes-base-0.168.0.tgz";
|
||||
sha512 = "TyIL5Gwn+qvfi+1nNkQTPfrJYMqjx2P2OCiDWAMfzahauJyJpfJMYpIEKF3UxoKXCfWpBYPmHVoov6GadEOR1w==";
|
||||
url = "https://registry.npmjs.org/n8n-nodes-base/-/n8n-nodes-base-0.169.0.tgz";
|
||||
sha512 = "O8vwS7ROybSRLqXwG58xdLNrbA8hAvX4jSodXsztpGChbDWcrYJUXBewN9+Lfh1UAegz12G1devygc1W92qveQ==";
|
||||
};
|
||||
};
|
||||
"n8n-workflow-0.93.0" = {
|
||||
"n8n-workflow-0.94.0" = {
|
||||
name = "n8n-workflow";
|
||||
packageName = "n8n-workflow";
|
||||
version = "0.93.0";
|
||||
version = "0.94.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/n8n-workflow/-/n8n-workflow-0.93.0.tgz";
|
||||
sha512 = "IqZrnTKdIZD7aeL9/FiwoI7w1WBgeBmqZVXRF+OGtIHooK/lDkHpy17hoXXqAyeATiVf2licgl8F/zMvSsnuJA==";
|
||||
url = "https://registry.npmjs.org/n8n-workflow/-/n8n-workflow-0.94.0.tgz";
|
||||
sha512 = "cVs5XPlbNDcCrGU5IoYzjO7IOsYNsNtEt5vVxkL9q5EgEmHhPYakValJN4GyLQ7Otdpsf47lJg/0EG3TvOssGQ==";
|
||||
};
|
||||
};
|
||||
"named-placeholders-1.1.2" = {
|
||||
@ -4567,13 +4594,13 @@ let
|
||||
sha512 = "wynEP02LmIbLpcYw8uBKpcfF6dmg2vcpKqxeH5UcoKEYdExslsdUA4ugFauuaeYdTB76ez6gJW8XAZ6CgkXYxA==";
|
||||
};
|
||||
};
|
||||
"nanoid-3.3.1" = {
|
||||
"nanoid-3.3.2" = {
|
||||
name = "nanoid";
|
||||
packageName = "nanoid";
|
||||
version = "3.3.1";
|
||||
version = "3.3.2";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/nanoid/-/nanoid-3.3.1.tgz";
|
||||
sha512 = "n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw==";
|
||||
url = "https://registry.npmjs.org/nanoid/-/nanoid-3.3.2.tgz";
|
||||
sha512 = "CuHBogktKwpm5g2sRgv83jEy2ijFzBwMoYA60orPDR7ynsLijJDqgsi4RDGj3OJpy3Ieb+LYwiRmIOGyytgITA==";
|
||||
};
|
||||
};
|
||||
"native-duplexpair-1.0.0" = {
|
||||
@ -4864,6 +4891,15 @@ let
|
||||
sha1 = "20f1336481b083cd75337992a16971aa2d906947";
|
||||
};
|
||||
};
|
||||
"on-finished-2.4.1" = {
|
||||
name = "on-finished";
|
||||
packageName = "on-finished";
|
||||
version = "2.4.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz";
|
||||
sha512 = "oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==";
|
||||
};
|
||||
};
|
||||
"on-headers-1.0.2" = {
|
||||
name = "on-headers";
|
||||
packageName = "on-headers";
|
||||
@ -5431,15 +5467,6 @@ let
|
||||
sha512 = "zA2SmoLaxZyArQTOPj5LXecR+RagfPSU5Kw1qP+jkWeNlrq+eJZyY2oS68SU1Z/7/myXM4lo9716laOFAVStCQ==";
|
||||
};
|
||||
};
|
||||
"printj-1.2.3" = {
|
||||
name = "printj";
|
||||
packageName = "printj";
|
||||
version = "1.2.3";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/printj/-/printj-1.2.3.tgz";
|
||||
sha512 = "sanczS6xOJOg7IKDvi4sGOUOe7c1tsEzjwlLFH/zgwx/uyImVM9/rgBkc8AfiQa/Vg54nRd8mkm9yI7WV/O+WA==";
|
||||
};
|
||||
};
|
||||
"printj-1.3.1" = {
|
||||
name = "printj";
|
||||
packageName = "printj";
|
||||
@ -5737,6 +5764,15 @@ let
|
||||
sha512 = "UlTNLIcu0uzb4D2f4WltY6cVjLi+/jEN4lgEUj3E04tpMDpUlkBo/eSn6zou9hum2VMNpCCUone0O0WeJim07g==";
|
||||
};
|
||||
};
|
||||
"raw-body-2.5.1" = {
|
||||
name = "raw-body";
|
||||
packageName = "raw-body";
|
||||
version = "2.5.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz";
|
||||
sha512 = "qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==";
|
||||
};
|
||||
};
|
||||
"rc-1.2.8" = {
|
||||
name = "rc";
|
||||
packageName = "rc";
|
||||
@ -6286,13 +6322,13 @@ let
|
||||
sha512 = "wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==";
|
||||
};
|
||||
};
|
||||
"simple-git-2.48.0" = {
|
||||
"simple-git-3.5.0" = {
|
||||
name = "simple-git";
|
||||
packageName = "simple-git";
|
||||
version = "2.48.0";
|
||||
version = "3.5.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/simple-git/-/simple-git-2.48.0.tgz";
|
||||
sha512 = "z4qtrRuaAFJS4PUd0g+xy7aN4y+RvEt/QTJpR184lhJguBA1S/LsVlvE/CM95RsYMOFJG3NGGDjqFCzKU19S/A==";
|
||||
url = "https://registry.npmjs.org/simple-git/-/simple-git-3.5.0.tgz";
|
||||
sha512 = "fZsaq5nzdxQRhMNs6ESGLpMUHoL5GRP+boWPhq9pMYMKwOGZV2jHOxi8AbFFA2Y/6u4kR99HoULizSbpzaODkA==";
|
||||
};
|
||||
};
|
||||
"simple-lru-cache-0.0.2" = {
|
||||
@ -6430,13 +6466,13 @@ let
|
||||
sha512 = "+idbmIXoYET47hH+d7dfm2epdOMUDjqcB4648sTZ+t2JwoyBFL/insLfB/racrDmsKB3diwsDA696pZMieAC5g==";
|
||||
};
|
||||
};
|
||||
"ssh2-1.8.0" = {
|
||||
"ssh2-1.9.0" = {
|
||||
name = "ssh2";
|
||||
packageName = "ssh2";
|
||||
version = "1.8.0";
|
||||
version = "1.9.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/ssh2/-/ssh2-1.8.0.tgz";
|
||||
sha512 = "NVIRkIwJvWl+mcRozp+EBzHMVCcbDKBea64ToPdZEk43yAVGwmfqYZRPFRnnvGjsKC34wYCmiupTcKgCVNVNNg==";
|
||||
url = "https://registry.npmjs.org/ssh2/-/ssh2-1.9.0.tgz";
|
||||
sha512 = "rhhIZT0eMPvCBSOG8CpqZZ7gre2vgXaIqmb3Jb83t88rjsxIsFzDanqBJM9Ns8BmP1835A5IbQ199io4EUZwOA==";
|
||||
};
|
||||
};
|
||||
"ssh2-sftp-client-7.2.3" = {
|
||||
@ -6484,6 +6520,15 @@ let
|
||||
sha1 = "161c7dac177659fd9811f43771fa99381478628c";
|
||||
};
|
||||
};
|
||||
"statuses-2.0.1" = {
|
||||
name = "statuses";
|
||||
packageName = "statuses";
|
||||
version = "2.0.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz";
|
||||
sha512 = "RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==";
|
||||
};
|
||||
};
|
||||
"stealthy-require-1.1.1" = {
|
||||
name = "stealthy-require";
|
||||
packageName = "stealthy-require";
|
||||
@ -7258,13 +7303,13 @@ let
|
||||
sha512 = "KEW0gkeNOLJjtXN4jqJhTazez5jtrwimHkE5Few/VxblH4F9EcvJiEsahrV5kg5uKd5U8du4ORKS6QjGE0piYA==";
|
||||
};
|
||||
};
|
||||
"vue-i18n-8.27.0" = {
|
||||
"vue-i18n-8.27.1" = {
|
||||
name = "vue-i18n";
|
||||
packageName = "vue-i18n";
|
||||
version = "8.27.0";
|
||||
version = "8.27.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/vue-i18n/-/vue-i18n-8.27.0.tgz";
|
||||
sha512 = "SX35iJHL5PJ4Gfh0Mo/q0shyHiI2V6Zkh51c+k8E9O1RKv5BQyYrCxRzpvPrsIOJEnLaeiovet3dsUB0e/kDzw==";
|
||||
url = "https://registry.npmjs.org/vue-i18n/-/vue-i18n-8.27.1.tgz";
|
||||
sha512 = "lWrGm4F25qReJ7XxSnFVb2h3PfW54ldnM4C+YLBGGJ75+Myt/kj4hHSTKqsyDLamvNYpvINMicSOdW+7yuqgIQ==";
|
||||
};
|
||||
};
|
||||
"vue2-boring-avatars-0.3.4" = {
|
||||
@ -7579,10 +7624,10 @@ in
|
||||
n8n = nodeEnv.buildNodePackage {
|
||||
name = "n8n";
|
||||
packageName = "n8n";
|
||||
version = "0.170.0";
|
||||
version = "0.171.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/n8n/-/n8n-0.170.0.tgz";
|
||||
sha512 = "aY4A9+P7K6iinxFyDZl9Jdin283csAbiMStjfxLX5IfO75/aNbjXhSmpjclV9PCUuuTonvoMiVMTvpbCaeImqg==";
|
||||
url = "https://registry.npmjs.org/n8n/-/n8n-0.171.0.tgz";
|
||||
sha512 = "GenMxluqj0PfttyWndoMUsmyJ8r5pilWoY7xT+TVjCl5znhtIUT+3GTeDZ8K3vYqJILHXVxspyF5yLz2Ytnjow==";
|
||||
};
|
||||
dependencies = [
|
||||
(sources."@azure/abort-controller-1.0.5" // {
|
||||
@ -7691,7 +7736,7 @@ in
|
||||
sources."@types/ftp-0.3.33"
|
||||
sources."@types/json-diff-0.5.2"
|
||||
sources."@types/jsonwebtoken-8.5.8"
|
||||
sources."@types/lodash-4.14.180"
|
||||
sources."@types/lodash-4.14.181"
|
||||
sources."@types/lossless-json-1.0.1"
|
||||
sources."@types/mime-1.3.2"
|
||||
sources."@types/node-17.0.23"
|
||||
@ -7762,8 +7807,8 @@ in
|
||||
sources."semver-6.3.0"
|
||||
];
|
||||
})
|
||||
sources."avsc-5.7.3"
|
||||
(sources."aws-sdk-2.1101.0" // {
|
||||
sources."avsc-5.7.4"
|
||||
(sources."aws-sdk-2.1106.0" // {
|
||||
dependencies = [
|
||||
sources."buffer-4.9.2"
|
||||
sources."events-1.1.1"
|
||||
@ -7817,7 +7862,7 @@ in
|
||||
})
|
||||
sources."bluebird-3.7.2"
|
||||
sources."bn.js-4.12.0"
|
||||
(sources."body-parser-1.19.2" // {
|
||||
(sources."body-parser-1.20.0" // {
|
||||
dependencies = [
|
||||
sources."debug-2.6.9"
|
||||
sources."ms-2.0.0"
|
||||
@ -7853,11 +7898,7 @@ in
|
||||
sources."caseless-0.12.0"
|
||||
(sources."cfb-1.2.1" // {
|
||||
dependencies = [
|
||||
(sources."adler-32-1.3.0" // {
|
||||
dependencies = [
|
||||
sources."printj-1.2.3"
|
||||
];
|
||||
})
|
||||
sources."adler-32-1.3.1"
|
||||
sources."printj-1.3.1"
|
||||
];
|
||||
})
|
||||
@ -7870,7 +7911,7 @@ in
|
||||
sources."chardet-0.7.0"
|
||||
sources."charenc-0.0.2"
|
||||
sources."cheerio-1.0.0-rc.6"
|
||||
sources."cheerio-select-1.5.0"
|
||||
sources."cheerio-select-1.6.0"
|
||||
sources."chokidar-3.5.2"
|
||||
sources."chownr-1.1.4"
|
||||
sources."clamp-1.0.1"
|
||||
@ -7956,8 +7997,8 @@ in
|
||||
sources."crypt-0.0.2"
|
||||
sources."crypto-js-4.1.1"
|
||||
sources."csrf-3.1.0"
|
||||
sources."css-select-4.2.1"
|
||||
sources."css-what-5.1.0"
|
||||
sources."css-select-4.3.0"
|
||||
sources."css-what-6.1.0"
|
||||
sources."cssfilter-0.0.10"
|
||||
sources."dashdash-1.14.1"
|
||||
sources."date-utils-1.2.21"
|
||||
@ -7969,8 +8010,8 @@ in
|
||||
sources."delayed-stream-1.0.0"
|
||||
sources."delegates-1.0.0"
|
||||
sources."denque-1.5.1"
|
||||
sources."depd-1.1.2"
|
||||
sources."destroy-1.0.4"
|
||||
sources."depd-2.0.0"
|
||||
sources."destroy-1.2.0"
|
||||
sources."detect-libc-1.0.3"
|
||||
sources."diagnostics-1.1.1"
|
||||
sources."difflib-0.2.4"
|
||||
@ -8006,7 +8047,7 @@ in
|
||||
sources."entities-2.2.0"
|
||||
sources."env-variable-0.0.6"
|
||||
sources."err-code-2.0.3"
|
||||
sources."es-abstract-1.19.1"
|
||||
sources."es-abstract-1.19.2"
|
||||
sources."es-to-primitive-1.2.1"
|
||||
sources."es5-ext-0.8.2"
|
||||
sources."escalade-3.1.1"
|
||||
@ -8022,9 +8063,16 @@ in
|
||||
sources."expand-tilde-2.0.2"
|
||||
(sources."express-4.17.3" // {
|
||||
dependencies = [
|
||||
sources."body-parser-1.19.2"
|
||||
sources."cookie-0.4.2"
|
||||
sources."debug-2.6.9"
|
||||
sources."depd-1.1.2"
|
||||
sources."http-errors-1.8.1"
|
||||
sources."ms-2.0.0"
|
||||
sources."on-finished-2.3.0"
|
||||
sources."qs-6.9.7"
|
||||
sources."raw-body-2.4.3"
|
||||
sources."statuses-1.5.0"
|
||||
];
|
||||
})
|
||||
sources."extend-3.0.2"
|
||||
@ -8048,6 +8096,8 @@ in
|
||||
dependencies = [
|
||||
sources."debug-2.6.9"
|
||||
sources."ms-2.0.0"
|
||||
sources."on-finished-2.3.0"
|
||||
sources."statuses-1.5.0"
|
||||
];
|
||||
})
|
||||
sources."flatted-3.2.5"
|
||||
@ -8126,7 +8176,7 @@ in
|
||||
sources."homedir-polyfill-1.0.3"
|
||||
sources."html-to-text-8.0.0"
|
||||
sources."htmlparser2-6.1.0"
|
||||
sources."http-errors-1.8.1"
|
||||
sources."http-errors-2.0.0"
|
||||
sources."http-proxy-agent-4.0.1"
|
||||
sources."http-signature-1.2.0"
|
||||
sources."https-proxy-agent-5.0.0"
|
||||
@ -8162,13 +8212,13 @@ in
|
||||
sources."is-negated-glob-1.0.0"
|
||||
sources."is-negative-zero-2.0.2"
|
||||
sources."is-number-7.0.0"
|
||||
sources."is-number-object-1.0.6"
|
||||
sources."is-number-object-1.0.7"
|
||||
sources."is-promise-1.0.1"
|
||||
sources."is-property-1.0.2"
|
||||
sources."is-regex-1.1.4"
|
||||
sources."is-relative-1.0.0"
|
||||
sources."is-retry-allowed-2.2.0"
|
||||
sources."is-shared-array-buffer-1.0.1"
|
||||
sources."is-shared-array-buffer-1.0.2"
|
||||
sources."is-stream-2.0.1"
|
||||
sources."is-string-1.0.7"
|
||||
sources."is-symbol-1.0.4"
|
||||
@ -8327,19 +8377,15 @@ in
|
||||
];
|
||||
})
|
||||
sources."mz-2.7.0"
|
||||
(sources."n8n-core-0.111.0" // {
|
||||
dependencies = [
|
||||
sources."qs-6.10.3"
|
||||
];
|
||||
})
|
||||
sources."n8n-core-0.112.0"
|
||||
sources."n8n-design-system-0.16.0"
|
||||
sources."n8n-editor-ui-0.137.0"
|
||||
(sources."n8n-nodes-base-0.168.0" // {
|
||||
sources."n8n-editor-ui-0.138.0"
|
||||
(sources."n8n-nodes-base-0.169.0" // {
|
||||
dependencies = [
|
||||
sources."iconv-lite-0.6.3"
|
||||
];
|
||||
})
|
||||
sources."n8n-workflow-0.93.0"
|
||||
sources."n8n-workflow-0.94.0"
|
||||
(sources."named-placeholders-1.1.2" // {
|
||||
dependencies = [
|
||||
sources."lru-cache-4.1.5"
|
||||
@ -8347,7 +8393,7 @@ in
|
||||
];
|
||||
})
|
||||
sources."nanoclone-0.2.1"
|
||||
sources."nanoid-3.3.1"
|
||||
sources."nanoid-3.3.2"
|
||||
sources."native-duplexpair-1.0.0"
|
||||
(sources."nearley-2.20.1" // {
|
||||
dependencies = [
|
||||
@ -8402,7 +8448,7 @@ in
|
||||
sources."async-1.5.2"
|
||||
];
|
||||
})
|
||||
sources."on-finished-2.3.0"
|
||||
sources."on-finished-2.4.1"
|
||||
sources."on-headers-1.0.2"
|
||||
sources."once-1.4.0"
|
||||
sources."one-time-1.0.0"
|
||||
@ -8520,7 +8566,7 @@ in
|
||||
})
|
||||
sources."punycode-2.1.1"
|
||||
sources."python-struct-1.1.3"
|
||||
sources."qs-6.9.7"
|
||||
sources."qs-6.10.3"
|
||||
sources."querystring-0.2.0"
|
||||
sources."querystringify-2.2.0"
|
||||
sources."queue-microtask-1.2.3"
|
||||
@ -8530,7 +8576,7 @@ in
|
||||
sources."random-bytes-1.0.0"
|
||||
sources."randombytes-2.1.0"
|
||||
sources."range-parser-1.2.1"
|
||||
sources."raw-body-2.4.3"
|
||||
sources."raw-body-2.5.1"
|
||||
sources."rc-1.2.8"
|
||||
sources."readable-stream-1.1.14"
|
||||
sources."readable-web-to-node-stream-2.0.0"
|
||||
@ -8593,7 +8639,12 @@ in
|
||||
sources."ms-2.0.0"
|
||||
];
|
||||
})
|
||||
sources."depd-1.1.2"
|
||||
sources."destroy-1.0.4"
|
||||
sources."http-errors-1.8.1"
|
||||
sources."ms-2.1.3"
|
||||
sources."on-finished-2.3.0"
|
||||
sources."statuses-1.5.0"
|
||||
];
|
||||
})
|
||||
(sources."sentence-case-3.0.4" // {
|
||||
@ -8612,7 +8663,7 @@ in
|
||||
sources."shell-escape-0.2.0"
|
||||
sources."side-channel-1.0.4"
|
||||
sources."signal-exit-3.0.7"
|
||||
sources."simple-git-2.48.0"
|
||||
sources."simple-git-3.5.0"
|
||||
sources."simple-lru-cache-0.0.2"
|
||||
sources."simple-swizzle-0.2.2"
|
||||
sources."slash-3.0.0"
|
||||
@ -8643,12 +8694,12 @@ in
|
||||
sources."sqlstring-2.3.3"
|
||||
sources."sse-channel-3.1.1"
|
||||
sources."ssf-0.11.2"
|
||||
sources."ssh2-1.8.0"
|
||||
sources."ssh2-1.9.0"
|
||||
sources."ssh2-sftp-client-7.2.3"
|
||||
sources."sshpk-1.17.0"
|
||||
sources."stack-trace-0.0.10"
|
||||
sources."standard-as-callback-2.1.0"
|
||||
sources."statuses-1.5.0"
|
||||
sources."statuses-2.0.1"
|
||||
sources."stealthy-require-1.1.1"
|
||||
sources."stream-shift-1.0.1"
|
||||
sources."string-similarity-4.0.4"
|
||||
@ -8672,7 +8723,6 @@ in
|
||||
dependencies = [
|
||||
sources."@types/node-12.20.47"
|
||||
sources."bl-3.0.1"
|
||||
sources."depd-2.0.0"
|
||||
sources."iconv-lite-0.5.2"
|
||||
sources."readable-stream-3.6.0"
|
||||
sources."string_decoder-1.3.0"
|
||||
@ -8773,7 +8823,7 @@ in
|
||||
sources."vue-2.6.14"
|
||||
sources."vue-color-2.8.1"
|
||||
sources."vue-fragment-1.5.2"
|
||||
sources."vue-i18n-8.27.0"
|
||||
sources."vue-i18n-8.27.1"
|
||||
sources."vue2-boring-avatars-0.3.4"
|
||||
sources."webidl-conversions-3.0.1"
|
||||
sources."whatwg-url-5.0.0"
|
||||
|
@ -8,14 +8,14 @@
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "vnote";
|
||||
version = "3.12.888";
|
||||
version = "3.13.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vnotex";
|
||||
repo = pname;
|
||||
fetchSubmodules = true;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-l9oFixyEM0aAfvrC5rrQMzv7n8rUHECRzhuIQJ/szjc=";
|
||||
sha256 = "sha256-osJvoi7oyZupJ/bnqpm0TdZ5cMYEeOw9DHOIAzONKLg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -138,6 +138,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
homepage = "http://caffe.berkeleyvision.org/";
|
||||
maintainers = with maintainers; [ ];
|
||||
broken = pythonSupport && (python.isPy310);
|
||||
license = licenses.bsd2;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
|
@ -2,6 +2,7 @@
|
||||
, opencv3, gtest, blas, gomp, llvmPackages, perl
|
||||
, cudaSupport ? config.cudaSupport or false, cudatoolkit, nvidia_x11
|
||||
, cudnnSupport ? cudaSupport, cudnn
|
||||
, cudaCapabilities ? [ "3.7" "5.0" "6.0" "7.0" "7.5" "8.0" "8.6" ]
|
||||
}:
|
||||
|
||||
assert cudnnSupport -> cudaSupport;
|
||||
@ -44,6 +45,7 @@ stdenv.mkDerivation rec {
|
||||
"-DUSE_OLDCMAKECUDA=ON" # see https://github.com/apache/incubator-mxnet/issues/10743
|
||||
"-DCUDA_ARCH_NAME=All"
|
||||
"-DCUDA_HOST_COMPILER=${cudatoolkit.cc}/bin/cc"
|
||||
"-DMXNET_CUDA_ARCH=${lib.concatStringsSep ";" cudaCapabilities}"
|
||||
] else [ "-DUSE_CUDA=OFF" ])
|
||||
++ lib.optional (!cudnnSupport) "-DUSE_CUDNN=OFF";
|
||||
|
||||
@ -60,6 +62,12 @@ stdenv.mkDerivation rec {
|
||||
rm "$out"/lib/*.a
|
||||
'';
|
||||
|
||||
# used to mark cudaSupport in python310Packages.mxnet as broken;
|
||||
# other attributes exposed for consistency
|
||||
passthru = {
|
||||
inherit cudaSupport cudnnSupport cudatoolkit cudnn;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler";
|
||||
homepage = "https://mxnet.incubator.apache.org/";
|
||||
|
@ -151,6 +151,7 @@ writeTextFile rec {
|
||||
|
||||
# needed for cython
|
||||
export CC='${stdenv.cc}/bin/${stdenv.cc.targetPrefix}cc'
|
||||
export CXX='${stdenv.cc}/bin/${stdenv.cc.targetPrefix}c++'
|
||||
# cython needs to find these libraries, otherwise will fail with `ld: cannot find -lflint` or similar
|
||||
export LDFLAGS='${
|
||||
lib.concatStringsSep " " (map (pkg: "-L${pkg}/lib") [
|
||||
@ -178,6 +179,7 @@ writeTextFile rec {
|
||||
mpfr.dev
|
||||
])
|
||||
}'
|
||||
export CXXFLAGS=$CFLAGS
|
||||
|
||||
export SAGE_LIB='${sagelib}/${python3.sitePackages}'
|
||||
|
||||
|
@ -121,10 +121,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# https://trac.sagemath.org/ticket/33170
|
||||
(fetchSageDiff {
|
||||
base = "9.5.rc1";
|
||||
name = "ipython-8-update.patch";
|
||||
rev = "a90a314616d86d6be9c0d5233f0d36c4bfe06231";
|
||||
sha256 = "sha256-pXdtokTo84xNCnV+HyAKEzG562z8FjzJ7hczOja0dRw=";
|
||||
base = "9.6.beta5";
|
||||
name = "ipython-8.1-update.patch";
|
||||
rev = "4d2b53f1541375861310af3a7f7109c1c2ed475d";
|
||||
sha256 = "sha256-ELda/VBzsQH7NdFas69fQ35QPUoJCeLx/gxT1j7qGR8=";
|
||||
})
|
||||
|
||||
# https://trac.sagemath.org/ticket/32968
|
||||
@ -156,6 +156,22 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# adapted from https://trac.sagemath.org/ticket/23712#comment:22
|
||||
./patches/tachyon-renamed-focallength.patch
|
||||
|
||||
# https://trac.sagemath.org/ticket/33336
|
||||
(fetchSageDiff {
|
||||
base = "9.6.beta2";
|
||||
name = "scipy-1.8-update.patch";
|
||||
rev = "9c8235e44ffb509efa8a3ca6cdb55154e2b5066d";
|
||||
sha256 = "sha256-bfc4ljNOxVnhlmxIuNbjbKl4vJXYq2tlF3Z8bbC8PWw=";
|
||||
})
|
||||
|
||||
# https://trac.sagemath.org/ticket/33495
|
||||
(fetchSageDiff {
|
||||
base = "9.6.beta5";
|
||||
name = "networkx-2.7-update.patch";
|
||||
rev = "8452003846a7303100847d8d0ed642fc642c11d6";
|
||||
sha256 = "sha256-A/XMouPlc2sjFp30L+56fBGJXydS2EtzfPOV98FCDqI=";
|
||||
})
|
||||
];
|
||||
|
||||
patches = nixPatches ++ bugfixPatches ++ packageUpgradePatches;
|
||||
|
@ -181,11 +181,16 @@ buildPythonPackage rec {
|
||||
# some files, like Pipfile, pyproject.toml, requirements.txt and setup.cfg
|
||||
# are generated by the bootstrap script using m4. these can fetch data from
|
||||
# build/pkgs, either directly or via sage-get-system-packages.
|
||||
sed -i 's/==2.1.0rc1/>=2.1.1/' ../gmpy2/install-requires.txt
|
||||
sed -i 's/, <3.4//' ../rpy2/install-requires.txt
|
||||
sed -i 's/, <4.3//' ../sphinx/install-requires.txt
|
||||
sed -i '/sage_conf/d' src/setup.cfg.m4
|
||||
sed -i '/sage_conf/d' src/requirements.txt.m4
|
||||
|
||||
# version lower bounds are useful, but upper bounds are a hassle because
|
||||
# Sage tests already catch any relevant API breakage.
|
||||
# according to the discussion at https://trac.sagemath.org/ticket/33520,
|
||||
# upper bounds will be less noisy starting from Sage 9.6.
|
||||
sed -i 's/==2.1.0rc1/>=2.1.1/' ../gmpy2/install-requires.txt
|
||||
sed -i 's/, <[^, ]*//' ../*/install-requires.txt
|
||||
|
||||
for infile in src/*.m4; do
|
||||
if [ -f "$infile" ]; then
|
||||
outfile="src/$(basename $infile .m4)"
|
||||
|
@ -11,13 +11,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "wxmaxima";
|
||||
version = "21.11.0";
|
||||
version = "22.03.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "wxMaxima-developers";
|
||||
repo = "wxmaxima";
|
||||
rev = "Version-${version}";
|
||||
sha256 = "sha256-LwuqldMGsmFR8xrNg5vsrogmdi5ysqEQGWITM460IZk=";
|
||||
sha256 = "sha256-ynLx1HPfDjLbyFziWFbjpCeUBaA3hAFRFm5/1GeFKRE=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "docker-buildx";
|
||||
version = "0.8.1";
|
||||
version = "0.8.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "docker";
|
||||
repo = "buildx";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-NJNFjzbiBcmXcBF1k0qybv5LnkaQ+1ehSfF18CC85JY=";
|
||||
sha256 = "sha256-AGRdmYKd76k5tmBTTqsSHj3yOU8QSd11G5ito0O/dWY=";
|
||||
};
|
||||
|
||||
vendorSha256 = null;
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "docker-compose";
|
||||
version = "2.4.0";
|
||||
version = "2.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "docker";
|
||||
repo = "compose";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-dHq1t1ebPSAS5H14Kd03xCiHV9UhAH0dIxikQK0rHQk=";
|
||||
sha256 = "sha256-6yc+7Fc22b8xN8thRrxxpjdEz19aBYCWxgkh/nra784=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-N+paN3zEXzzUFb2JPVIDZYZ0h0iu7naiw4pSVnGsuKQ=";
|
||||
|
@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
mesonFlags = [ "-Dman-pages=enabled" "-Dlogind=${if systemdSupport then "enabled" else "disabled"}" ];
|
||||
|
||||
postPatch = "substituteInPlace main.c --replace '%lu' '%zu'";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Idle management daemon for Wayland";
|
||||
longDescription = ''
|
||||
|
@ -28,14 +28,15 @@ copyDesktopItems() {
|
||||
return
|
||||
fi
|
||||
|
||||
applications="${!outputBin}/share/applications"
|
||||
for desktopItem in $desktopItems; do
|
||||
if [[ -f "$desktopItem" ]]; then
|
||||
echo "Copying '$desktopItem' into '$out/share/applications'"
|
||||
install -D -m 444 -t "$out"/share/applications "$desktopItem"
|
||||
echo "Copying '$desktopItem' into '${applications}'"
|
||||
install -D -m 444 -t "${applications}" "$desktopItem"
|
||||
else
|
||||
for f in "$desktopItem"/share/applications/*.desktop; do
|
||||
echo "Copying '$f' into '$out/share/applications'"
|
||||
install -D -m 444 -t "$out"/share/applications "$f"
|
||||
echo "Copying '$f' into '${applications}'"
|
||||
install -D -m 444 -t "${applications}" "$f"
|
||||
done
|
||||
fi
|
||||
done
|
||||
|
@ -5,6 +5,7 @@
|
||||
, python3
|
||||
, pkg-config
|
||||
, gtk3
|
||||
, gtk-mac-integration
|
||||
, glib
|
||||
, adwaita-icon-theme
|
||||
, libpeas
|
||||
@ -24,11 +25,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gedit";
|
||||
version = "41.0";
|
||||
version = "42.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gedit/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "epsYsViAjRiSmJFl83BsTxooKXkHmrdFinnTwkrU3rU=";
|
||||
sha256 = "qHmR9Clh609qvNuqu3hHYMI66u765jY9PiGmHpxFhDc=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@ -59,6 +60,8 @@ stdenv.mkDerivation rec {
|
||||
gtksourceview4
|
||||
libpeas
|
||||
libsoup
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
gtk-mac-integration
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
@ -23,11 +23,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sushi";
|
||||
version = "41.1";
|
||||
version = "41.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/sushi/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "JifbYWLnV3hZDAfhZbLzbqJNEjGlE7FkAj/G3fx1xKM=";
|
||||
sha256 = "tZ+0LJllxzYfdilt0qNARatlUGXqQUPeWsiyygyq6l4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -18,13 +18,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "switchboard-plug-about";
|
||||
version = "6.0.1";
|
||||
version = "6.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elementary";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0c075ac7iqz4hqbp2ph0cwyhiq0jn6c1g1jjfhygjbssv3vvd268";
|
||||
sha256 = "sha256-/8K3xSbzlagOT0zHdXNwEERJP88C+H2I6qJHXwdlTS4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -18,13 +18,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "switchboard-plug-onlineaccounts";
|
||||
version = "6.3.0";
|
||||
version = "6.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elementary";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-aRh2zbKqcGOH4Qw5gdJw07hod8a/QGWUcJo/2R9erQs=";
|
||||
sha256 = "sha256-Fppl/IvdlW8lZ6YKEHaHNticv3FFFKEKTPPVnz4u9b4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -16,13 +16,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "switchboard-plug-sound";
|
||||
version = "2.3.0";
|
||||
version = "2.3.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elementary";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-yHuboDpIcioZPNgpmnrM6J2eUCJpoNDdvgu27YuN65I=";
|
||||
sha256 = "sha256-hyBmo9P68XSXRUuLw+baEAetba2QdqOwUti64geH6xc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -90,5 +90,5 @@ rec {
|
||||
# latest cudnn, nccl, cutensor, etc! It sometimes happens that CUDA versions
|
||||
# are released prior to compatibility with the rest of the ecosystem. And
|
||||
# don't forget to request a review from @NixOS/cuda-maintainers!
|
||||
cudatoolkit_11 = cudatoolkit_11_5;
|
||||
cudatoolkit_11 = cudatoolkit_11_5; # update me to 11_6 when cudnn>=8.3.3
|
||||
}
|
||||
|
@ -80,11 +80,23 @@ let
|
||||
# We need attoparsec < 0.14 to build elm for now
|
||||
attoparsec = self.attoparsec_0_13_2_5;
|
||||
|
||||
# aeson 2.0.3.0 does not build with attoparsec_0_13_2_5
|
||||
aeson = self.aeson_1_5_6_0;
|
||||
|
||||
# Needed for elm-format
|
||||
indents = self.callPackage ./packages/indents.nix {};
|
||||
bimap = self.callPackage ./packages/bimap.nix {};
|
||||
avh4-lib = doJailbreak (self.callPackage ./packages/avh4-lib.nix {});
|
||||
elm-format-lib = doJailbreak (self.callPackage ./packages/elm-format-lib.nix {});
|
||||
# We need tasty-hspec < 1.1.7 and hspec-golden < 0.2 to build elm-format-lib
|
||||
tasty-hspec = self.tasty-hspec_1_1_6;
|
||||
hspec-golden = self.hspec-golden_0_1_0_3;
|
||||
|
||||
# We need hspec hspec_core, hspec_discover < 2.8 for tasty-hspec == 1.1.6
|
||||
hspec = self.hspec_2_7_10;
|
||||
hspec-core = self.hspec-core_2_7_10;
|
||||
hspec-discover = self.hspec-discover_2_7_10;
|
||||
|
||||
elm-format-test-lib = self.callPackage ./packages/elm-format-test-lib.nix {};
|
||||
elm-format-markdown = self.callPackage ./packages/elm-format-markdown.nix {};
|
||||
};
|
||||
|
@ -1,276 +0,0 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchgit
|
||||
, tzdata
|
||||
, iana-etc
|
||||
, runCommand
|
||||
, perl
|
||||
, which
|
||||
, pkg-config
|
||||
, patch
|
||||
, procps
|
||||
, pcre
|
||||
, cacert
|
||||
, Security
|
||||
, Foundation
|
||||
, mailcap
|
||||
, runtimeShell
|
||||
, buildPackages
|
||||
, pkgsBuildTarget
|
||||
, callPackage
|
||||
}:
|
||||
|
||||
let
|
||||
go_bootstrap = buildPackages.callPackage ./bootstrap.nix { };
|
||||
|
||||
goBootstrap = runCommand "go-bootstrap" { } ''
|
||||
mkdir $out
|
||||
cp -rf ${go_bootstrap}/* $out/
|
||||
chmod -R u+w $out
|
||||
find $out -name "*.c" -delete
|
||||
cp -rf $out/bin/* $out/share/go/bin/
|
||||
'';
|
||||
|
||||
goarch = platform: {
|
||||
"i686" = "386";
|
||||
"x86_64" = "amd64";
|
||||
"aarch64" = "arm64";
|
||||
"arm" = "arm";
|
||||
"armv5tel" = "arm";
|
||||
"armv6l" = "arm";
|
||||
"armv7l" = "arm";
|
||||
"powerpc64le" = "ppc64le";
|
||||
}.${platform.parsed.cpu.name} or (throw "Unsupported system");
|
||||
|
||||
# We need a target compiler which is still runnable at build time,
|
||||
# to handle the cross-building case where build != host == target
|
||||
targetCC = pkgsBuildTarget.targetPackages.stdenv.cc;
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "go2-unstable";
|
||||
version = "2021-04-13";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://go.googlesource.com/go";
|
||||
rev = "9cd52cf2a93a958e8e001aea36886e7846c91f2f";
|
||||
sha256 = "sha256:0hybm93y4i4j7bs86y7h73nc1wqnspkq75if7n1032zf9bs8sm96";
|
||||
};
|
||||
|
||||
# perl is used for testing go vet
|
||||
nativeBuildInputs = [ perl which pkg-config patch procps ];
|
||||
buildInputs = [ cacert pcre ]
|
||||
++ lib.optionals stdenv.isLinux [ stdenv.cc.libc.out ]
|
||||
++ lib.optionals (stdenv.hostPlatform.libc == "glibc") [ stdenv.cc.libc.static ];
|
||||
|
||||
depsTargetTargetPropagated = lib.optionals stdenv.isDarwin [ Security Foundation ];
|
||||
|
||||
hardeningDisable = [ "all" ];
|
||||
|
||||
prePatch = ''
|
||||
echo '${version}' > VERSION
|
||||
patchShebangs ./ # replace /bin/bash
|
||||
|
||||
# This source produces shell script at run time,
|
||||
# and thus it is not corrected by patchShebangs.
|
||||
substituteInPlace misc/cgo/testcarchive/carchive_test.go \
|
||||
--replace '#!/usr/bin/env bash' '#!${runtimeShell}'
|
||||
|
||||
# Patch the mimetype database location which is missing on NixOS.
|
||||
# but also allow static binaries built with NixOS to run outside nix
|
||||
sed -i 's,\"/etc/mime.types,"${mailcap}/etc/mime.types\"\,\n\t&,' src/mime/type_unix.go
|
||||
|
||||
# Disabling the 'os/http/net' tests (they want files not available in
|
||||
# chroot builds)
|
||||
rm src/net/{listen,parse}_test.go
|
||||
rm src/syscall/exec_linux_test.go
|
||||
|
||||
# !!! substituteInPlace does not seems to be effective.
|
||||
# The os test wants to read files in an existing path. Just don't let it be /usr/bin.
|
||||
sed -i 's,/usr/bin,'"`pwd`", src/os/os_test.go
|
||||
sed -i 's,/bin/pwd,'"`type -P pwd`", src/os/os_test.go
|
||||
# Fails on aarch64
|
||||
sed -i '/TestFallocate/aif true \{ return\; \}' src/cmd/link/internal/ld/fallocate_test.go
|
||||
# Skip this test since ssl patches mess it up.
|
||||
sed -i '/TestLoadSystemCertsLoadColonSeparatedDirs/aif true \{ return\; \}' src/crypto/x509/root_unix_test.go
|
||||
# Disable another PIE test which breaks.
|
||||
sed -i '/TestTrivialPIE/aif true \{ return\; \}' misc/cgo/testshared/shared_test.go
|
||||
# Disable the BuildModePie test
|
||||
sed -i '/TestBuildmodePIE/aif true \{ return\; \}' src/cmd/go/go_test.go
|
||||
# Disable the unix socket test
|
||||
sed -i '/TestShutdownUnix/aif true \{ return\; \}' src/net/net_test.go
|
||||
# Disable the hostname test
|
||||
sed -i '/TestHostname/aif true \{ return\; \}' src/os/os_test.go
|
||||
# ParseInLocation fails the test
|
||||
sed -i '/TestParseInSydney/aif true \{ return\; \}' src/time/format_test.go
|
||||
# Remove the api check as it never worked
|
||||
sed -i '/src\/cmd\/api\/run.go/ireturn nil' src/cmd/dist/test.go
|
||||
# Remove the coverage test as we have removed this utility
|
||||
sed -i '/TestCoverageWithCgo/aif true \{ return\; \}' src/cmd/go/go_test.go
|
||||
# Remove the timezone naming test
|
||||
sed -i '/TestLoadFixed/aif true \{ return\; \}' src/time/time_test.go
|
||||
# Remove disable setgid test
|
||||
sed -i '/TestRespectSetgidDir/aif true \{ return\; \}' src/cmd/go/internal/work/build_test.go
|
||||
# Remove cert tests that conflict with NixOS's cert resolution
|
||||
sed -i '/TestEnvVars/aif true \{ return\; \}' src/crypto/x509/root_unix_test.go
|
||||
# TestWritevError hangs sometimes
|
||||
sed -i '/TestWritevError/aif true \{ return\; \}' src/net/writev_test.go
|
||||
# TestVariousDeadlines fails sometimes
|
||||
sed -i '/TestVariousDeadlines/aif true \{ return\; \}' src/net/timeout_test.go
|
||||
|
||||
sed -i 's,/etc/protocols,${iana-etc}/etc/protocols,' src/net/lookup_unix.go
|
||||
sed -i 's,/etc/services,${iana-etc}/etc/services,' src/net/port_unix.go
|
||||
|
||||
# Disable cgo lookup tests not works, they depend on resolver
|
||||
rm src/net/cgo_unix_test.go
|
||||
|
||||
'' + lib.optionalString stdenv.isLinux ''
|
||||
# prepend the nix path to the zoneinfo files but also leave the original value for static binaries
|
||||
# that run outside a nix server
|
||||
sed -i 's,\"/usr/share/zoneinfo/,"${tzdata}/share/zoneinfo/\"\,\n\t&,' src/time/zoneinfo_unix.go
|
||||
|
||||
'' + lib.optionalString stdenv.isAarch32 ''
|
||||
echo '#!${runtimeShell}' > misc/cgo/testplugin/test.bash
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace src/race.bash --replace \
|
||||
"sysctl machdep.cpu.extfeatures | grep -qv EM64T" true
|
||||
sed -i 's,strings.Contains(.*sysctl.*,true {,' src/cmd/dist/util.go
|
||||
sed -i 's,"/etc","'"$TMPDIR"'",' src/os/os_test.go
|
||||
sed -i 's,/_go_os_test,'"$TMPDIR"'/_go_os_test,' src/os/path_test.go
|
||||
|
||||
sed -i '/TestChdirAndGetwd/aif true \{ return\; \}' src/os/os_test.go
|
||||
sed -i '/TestCredentialNoSetGroups/aif true \{ return\; \}' src/os/exec/exec_posix_test.go
|
||||
sed -i '/TestRead0/aif true \{ return\; \}' src/os/os_test.go
|
||||
sed -i '/TestSystemRoots/aif true \{ return\; \}' src/crypto/x509/root_darwin_test.go
|
||||
|
||||
sed -i '/TestGoInstallRebuildsStalePackagesInOtherGOPATH/aif true \{ return\; \}' src/cmd/go/go_test.go
|
||||
sed -i '/TestBuildDashIInstallsDependencies/aif true \{ return\; \}' src/cmd/go/go_test.go
|
||||
|
||||
sed -i '/TestDisasmExtld/aif true \{ return\; \}' src/cmd/objdump/objdump_test.go
|
||||
|
||||
sed -i 's/unrecognized/unknown/' src/cmd/link/internal/ld/lib.go
|
||||
|
||||
# TestCurrent fails because Current is not implemented on Darwin
|
||||
sed -i 's/TestCurrent/testCurrent/g' src/os/user/user_test.go
|
||||
sed -i 's/TestLookup/testLookup/g' src/os/user/user_test.go
|
||||
|
||||
touch $TMPDIR/group $TMPDIR/hosts $TMPDIR/passwd
|
||||
'';
|
||||
|
||||
patches = [
|
||||
./remove-tools-1.11.patch
|
||||
./ssl-cert-file-2-dev.patch
|
||||
./remove-test-pie-1.15.patch
|
||||
./creds-test.patch
|
||||
./go-1.9-skip-flaky-19608.patch
|
||||
./go-1.9-skip-flaky-20072.patch
|
||||
./skip-external-network-tests-1.16.patch
|
||||
./skip-nohup-tests.patch
|
||||
./skip-cgo-tests-1.15.patch
|
||||
] ++ [
|
||||
# breaks under load: https://github.com/golang/go/issues/25628
|
||||
(if stdenv.isAarch32
|
||||
then ./skip-test-extra-files-on-aarch32-1.14.patch
|
||||
else ./skip-test-extra-files-on-386-1.14.patch)
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
find . -name '*.orig' -exec rm {} ';'
|
||||
'';
|
||||
|
||||
GOOS = stdenv.targetPlatform.parsed.kernel.name;
|
||||
GOARCH = goarch stdenv.targetPlatform;
|
||||
# GOHOSTOS/GOHOSTARCH must match the building system, not the host system.
|
||||
# Go will nevertheless build a for host system that we will copy over in
|
||||
# the install phase.
|
||||
GOHOSTOS = stdenv.buildPlatform.parsed.kernel.name;
|
||||
GOHOSTARCH = goarch stdenv.buildPlatform;
|
||||
|
||||
# {CC,CXX}_FOR_TARGET must be only set for cross compilation case as go expect those
|
||||
# to be different from CC/CXX
|
||||
CC_FOR_TARGET =
|
||||
if (stdenv.buildPlatform != stdenv.targetPlatform) then
|
||||
"${targetCC}/bin/${targetCC.targetPrefix}cc"
|
||||
else
|
||||
null;
|
||||
CXX_FOR_TARGET =
|
||||
if (stdenv.buildPlatform != stdenv.targetPlatform) then
|
||||
"${targetCC}/bin/${targetCC.targetPrefix}c++"
|
||||
else
|
||||
null;
|
||||
|
||||
GOARM = toString (lib.intersectLists [ (stdenv.hostPlatform.parsed.cpu.version or "") ] [ "5" "6" "7" ]);
|
||||
GO386 = "softfloat"; # from Arch: don't assume sse2 on i686
|
||||
CGO_ENABLED = 1;
|
||||
# Hopefully avoids test timeouts on Hydra
|
||||
GO_TEST_TIMEOUT_SCALE = 3;
|
||||
|
||||
# Indicate that we are running on build infrastructure
|
||||
# Some tests assume things like home directories and users exists
|
||||
GO_BUILDER_NAME = "nix";
|
||||
|
||||
GOROOT_BOOTSTRAP = "${goBootstrap}/share/go";
|
||||
|
||||
postConfigure = ''
|
||||
export GOCACHE=$TMPDIR/go-cache
|
||||
# this is compiled into the binary
|
||||
export GOROOT_FINAL=$out/share/go
|
||||
|
||||
export PATH=$(pwd)/bin:$PATH
|
||||
|
||||
${lib.optionalString (stdenv.buildPlatform != stdenv.targetPlatform) ''
|
||||
# Independent from host/target, CC should produce code for the building system.
|
||||
# We only set it when cross-compiling.
|
||||
export CC=${buildPackages.stdenv.cc}/bin/cc
|
||||
''}
|
||||
ulimit -a
|
||||
'';
|
||||
|
||||
postBuild = ''
|
||||
(cd src && ./make.bash)
|
||||
'';
|
||||
|
||||
doCheck = stdenv.hostPlatform == stdenv.targetPlatform && !stdenv.isDarwin;
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
(cd src && HOME=$TMPDIR GOCACHE=$TMPDIR/go-cache ./run.bash --no-rebuild)
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
preInstall = ''
|
||||
rm -r pkg/obj
|
||||
# Contains the wrong perl shebang when cross compiling,
|
||||
# since it is not used for anything we can deleted as well.
|
||||
rm src/regexp/syntax/make_perl_groups.pl
|
||||
'' + (if (stdenv.buildPlatform != stdenv.hostPlatform) then ''
|
||||
mv bin/*_*/* bin
|
||||
rmdir bin/*_*
|
||||
${lib.optionalString (!(GOHOSTARCH == GOARCH && GOOS == GOHOSTOS)) ''
|
||||
rm -rf pkg/${GOHOSTOS}_${GOHOSTARCH} pkg/tool/${GOHOSTOS}_${GOHOSTARCH}
|
||||
''}
|
||||
'' else if (stdenv.hostPlatform != stdenv.targetPlatform) then ''
|
||||
rm -rf bin/*_*
|
||||
${lib.optionalString (!(GOHOSTARCH == GOARCH && GOOS == GOHOSTOS)) ''
|
||||
rm -rf pkg/${GOOS}_${GOARCH} pkg/tool/${GOOS}_${GOARCH}
|
||||
''}
|
||||
'' else "");
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $GOROOT_FINAL
|
||||
cp -a bin pkg src lib misc api doc $GOROOT_FINAL
|
||||
ln -s $GOROOT_FINAL/bin $out/bin
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
disallowedReferences = [ goBootstrap ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://go.dev/";
|
||||
description = "The Go Programming language";
|
||||
license = licenses.bsd3;
|
||||
maintainers = teams.golang.members ++ [ maintainers._3noch ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
}
|
@ -1,54 +0,0 @@
|
||||
diff --git a/src/crypto/x509/root_darwin.go b/src/crypto/x509/root_darwin.go
|
||||
index 05593bb105..a6a11eeec1 100644
|
||||
--- a/src/crypto/x509/root_darwin.go
|
||||
+++ b/src/crypto/x509/root_darwin.go
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
"bytes"
|
||||
macOS "crypto/x509/internal/macos"
|
||||
"fmt"
|
||||
+ "io/ioutil"
|
||||
"os"
|
||||
"strings"
|
||||
)
|
||||
@@ -22,6 +23,14 @@ func (c *Certificate) systemVerify(opts *VerifyOptions) (chains [][]*Certificate
|
||||
}
|
||||
|
||||
func loadSystemRoots() (*CertPool, error) {
|
||||
+ if file := os.Getenv("NIX_SSL_CERT_FILE"); file != "" {
|
||||
+ data, err := ioutil.ReadFile(file)
|
||||
+ if err == nil {
|
||||
+ roots := NewCertPool()
|
||||
+ roots.AppendCertsFromPEM(data)
|
||||
+ return roots, nil
|
||||
+ }
|
||||
+ }
|
||||
var trustedRoots []*Certificate
|
||||
untrustedRoots := make(map[string]bool)
|
||||
|
||||
diff --git a/src/crypto/x509/root_unix.go b/src/crypto/x509/root_unix.go
|
||||
index dede825edd..ffb3caf4a4 100644
|
||||
--- a/src/crypto/x509/root_unix.go
|
||||
+++ b/src/crypto/x509/root_unix.go
|
||||
@@ -9,6 +9,7 @@ package x509
|
||||
|
||||
import (
|
||||
"io/fs"
|
||||
+ "io/ioutil"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
@@ -32,6 +33,13 @@ func (c *Certificate) systemVerify(opts *VerifyOptions) (chains [][]*Certificate
|
||||
|
||||
func loadSystemRoots() (*CertPool, error) {
|
||||
roots := NewCertPool()
|
||||
+ if file := os.Getenv("NIX_SSL_CERT_FILE"); file != "" {
|
||||
+ data, err := ioutil.ReadFile(file)
|
||||
+ if err == nil {
|
||||
+ roots.AppendCertsFromPEM(data)
|
||||
+ return roots, nil
|
||||
+ }
|
||||
+ }
|
||||
|
||||
files := certFiles
|
||||
if f := os.Getenv(certFileEnv); f != "" {
|
||||
|
@ -129,6 +129,11 @@ extra-packages:
|
||||
- relude == 0.7.0.0 # 2022-02-25: Needed for ema 0.6
|
||||
- SVGFonts < 1.8 # 2022-03-19: Needed for Chart-diagrams 1.9.3
|
||||
- clay < 0.14 # 2022-03-20: Needed for neuron 1.0.0.0
|
||||
- hspec-golden == 0.1.* # 2022-04-07: Needed for elm-format
|
||||
- tasty-hspec == 1.1.6 # 2022-04-07: Needed for elm-format
|
||||
- hspec < 2.8 # 2022-04-07: Needed for tasty-hspec 1.1.6
|
||||
- hspec-core < 2.8 # 2022-04-07: Needed for tasty-hspec 1.1.6
|
||||
- hspec-discover < 2.8 # 2022-04-07: Needed for tasty-hspec 1.1.6
|
||||
|
||||
package-maintainers:
|
||||
abbradar:
|
||||
|
102
pkgs/development/haskell-modules/hackage-packages.nix
generated
102
pkgs/development/haskell-modules/hackage-packages.nix
generated
@ -143433,6 +143433,22 @@ self: {
|
||||
broken = true;
|
||||
}) {};
|
||||
|
||||
"hspec_2_7_10" = callPackage
|
||||
({ mkDerivation, base, hspec-core, hspec-discover
|
||||
, hspec-expectations, QuickCheck
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "hspec";
|
||||
version = "2.7.10";
|
||||
sha256 = "0z0lwrmrqkglr78n6k2c36n4h68142bh785ys0x4jaibjshvs6rw";
|
||||
libraryHaskellDepends = [
|
||||
base hspec-core hspec-discover hspec-expectations QuickCheck
|
||||
];
|
||||
description = "A Testing Framework for Haskell";
|
||||
license = lib.licenses.mit;
|
||||
hydraPlatforms = lib.platforms.none;
|
||||
}) {};
|
||||
|
||||
"hspec" = callPackage
|
||||
({ mkDerivation, base, hspec-core, hspec-discover
|
||||
, hspec-expectations, QuickCheck
|
||||
@ -143519,6 +143535,34 @@ self: {
|
||||
license = lib.licenses.mit;
|
||||
}) {};
|
||||
|
||||
"hspec-core_2_7_10" = callPackage
|
||||
({ mkDerivation, ansi-terminal, array, base, call-stack, clock
|
||||
, deepseq, directory, filepath, hspec-expectations, hspec-meta
|
||||
, HUnit, process, QuickCheck, quickcheck-io, random, setenv
|
||||
, silently, stm, temporary, tf-random, transformers
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "hspec-core";
|
||||
version = "2.7.10";
|
||||
sha256 = "12k9yp5gznrda449ir60d5wv3xl7nnyffkb5mhfc0svw9f8lxlv1";
|
||||
libraryHaskellDepends = [
|
||||
ansi-terminal array base call-stack clock deepseq directory
|
||||
filepath hspec-expectations HUnit QuickCheck quickcheck-io random
|
||||
setenv stm tf-random transformers
|
||||
];
|
||||
testHaskellDepends = [
|
||||
ansi-terminal array base call-stack clock deepseq directory
|
||||
filepath hspec-expectations hspec-meta HUnit process QuickCheck
|
||||
quickcheck-io random setenv silently stm temporary tf-random
|
||||
transformers
|
||||
];
|
||||
testToolDepends = [ hspec-meta ];
|
||||
testTarget = "--test-option=--skip --test-option='Test.Hspec.Core.Runner.hspecResult runs specs in parallel'";
|
||||
description = "A Testing Framework for Haskell";
|
||||
license = lib.licenses.mit;
|
||||
hydraPlatforms = lib.platforms.none;
|
||||
}) {};
|
||||
|
||||
"hspec-core" = callPackage
|
||||
({ mkDerivation, ansi-terminal, array, base, base-orphans
|
||||
, call-stack, clock, deepseq, directory, filepath
|
||||
@ -143594,6 +143638,27 @@ self: {
|
||||
license = lib.licenses.bsd3;
|
||||
}) {};
|
||||
|
||||
"hspec-discover_2_7_10" = callPackage
|
||||
({ mkDerivation, base, directory, filepath, hspec-meta, QuickCheck
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "hspec-discover";
|
||||
version = "2.7.10";
|
||||
sha256 = "13yzvd3b679skvs1insk4s0wc4zvmz6hs38kc8q0j6vzqq06smqa";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
libraryHaskellDepends = [ base directory filepath ];
|
||||
executableHaskellDepends = [ base directory filepath ];
|
||||
testHaskellDepends = [
|
||||
base directory filepath hspec-meta QuickCheck
|
||||
];
|
||||
testToolDepends = [ hspec-meta ];
|
||||
description = "Automatically discover and run Hspec tests";
|
||||
license = lib.licenses.mit;
|
||||
hydraPlatforms = lib.platforms.none;
|
||||
maintainers = with lib.maintainers; [ maralorn ];
|
||||
}) {};
|
||||
|
||||
"hspec-discover" = callPackage
|
||||
({ mkDerivation, base, directory, filepath, hspec-meta, mockery
|
||||
, QuickCheck
|
||||
@ -143757,6 +143822,24 @@ self: {
|
||||
broken = true;
|
||||
}) {};
|
||||
|
||||
"hspec-golden_0_1_0_3" = callPackage
|
||||
({ mkDerivation, base, directory, hspec, hspec-core
|
||||
, optparse-applicative, silently
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "hspec-golden";
|
||||
version = "0.1.0.3";
|
||||
sha256 = "1d5ab34n0f1wk1q86qlb7x2b49abzzh08jh7j52nbrvnxld2j64l";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
libraryHaskellDepends = [ base directory hspec-core ];
|
||||
executableHaskellDepends = [ base directory optparse-applicative ];
|
||||
testHaskellDepends = [ base directory hspec hspec-core silently ];
|
||||
description = "Golden tests for hspec";
|
||||
license = lib.licenses.mit;
|
||||
hydraPlatforms = lib.platforms.none;
|
||||
}) {};
|
||||
|
||||
"hspec-golden" = callPackage
|
||||
({ mkDerivation, base, directory, filepath, hspec, hspec-core
|
||||
, optparse-applicative, silently
|
||||
@ -267167,6 +267250,25 @@ self: {
|
||||
license = lib.licenses.mit;
|
||||
}) {};
|
||||
|
||||
"tasty-hspec_1_1_6" = callPackage
|
||||
({ mkDerivation, base, hspec, hspec-core, QuickCheck, tasty
|
||||
, tasty-quickcheck, tasty-smallcheck
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "tasty-hspec";
|
||||
version = "1.1.6";
|
||||
sha256 = "02s82ijs2ringqxsqbm7m3vcy5brmwxa617azxv0v2phi3rdkjvl";
|
||||
revision = "1";
|
||||
editedCabalFile = "0za15rg0szacxq9yfxxjzddr77ai7ng5827a20pj9dr5anjlnajj";
|
||||
libraryHaskellDepends = [
|
||||
base hspec hspec-core QuickCheck tasty tasty-quickcheck
|
||||
tasty-smallcheck
|
||||
];
|
||||
description = "Hspec support for the Tasty test framework";
|
||||
license = lib.licenses.bsd3;
|
||||
hydraPlatforms = lib.platforms.none;
|
||||
}) {};
|
||||
|
||||
"tasty-hspec" = callPackage
|
||||
({ mkDerivation, base, hspec, hspec-core, QuickCheck, tasty
|
||||
, tasty-quickcheck, tasty-smallcheck
|
||||
|
@ -22,13 +22,13 @@ let
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "amdvlk";
|
||||
version = "2022.Q1.3";
|
||||
version = "2022.Q2.1";
|
||||
|
||||
src = fetchRepoProject {
|
||||
name = "${pname}-src";
|
||||
manifest = "https://github.com/GPUOpen-Drivers/AMDVLK.git";
|
||||
rev = "refs/tags/v-${version}";
|
||||
sha256 = "UBvHWgC/s00XPn87DAmQ65NszFMoZSXwbrVG064HFng=";
|
||||
sha256 = "MJTpPzmIcTf4/RNte1oDYmn6/wLUJrHM2igrGgXIVqI=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
@ -30,8 +30,9 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCIVETWEB_ENABLE_CXX=ON"
|
||||
"-DBUILD_SHARED_LIBS=ON"
|
||||
"-DCIVETWEB_ENABLE_CXX=ON"
|
||||
"-DCIVETWEB_ENABLE_IPV6=ON"
|
||||
|
||||
# The civetweb unit tests rely on downloading their fork of libcheck.
|
||||
"-DCIVETWEB_BUILD_TESTING=OFF"
|
||||
|
@ -42,6 +42,8 @@ stdenv.mkDerivation rec {
|
||||
"--with-blas=${openblas}"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -111,7 +111,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
LDFLAGS = lib.optionalString stdenv.hostPlatform.isRiscV "-latomic";
|
||||
|
||||
doCheck = true;
|
||||
doCheck = !stdenv.hostPlatform.isi686;
|
||||
|
||||
# The test driver runs a test `LibraryCLinkageTest` which without
|
||||
# LD_LIBRARY_PATH setting errors with:
|
||||
|
@ -1,6 +1,10 @@
|
||||
{ config, lib, stdenv, fetchFromGitHub, cmake, pkg-config, xorg, libGLU
|
||||
, libGL, glew, ocl-icd, python3
|
||||
, cudaSupport ? config.cudaSupport or false, cudatoolkit
|
||||
# For visibility mostly. The whole approach to cuda architectures and capabilities
|
||||
# will be reworked soon.
|
||||
, cudaArch ? "compute_37"
|
||||
, openclSupport ? !cudaSupport
|
||||
, darwin
|
||||
}:
|
||||
|
||||
@ -24,7 +28,7 @@ stdenv.mkDerivation rec {
|
||||
glew xorg.libX11 xorg.libXrandr xorg.libXxf86vm xorg.libXcursor
|
||||
xorg.libXinerama xorg.libXi
|
||||
]
|
||||
++ lib.optional (!stdenv.isDarwin) ocl-icd
|
||||
++ lib.optional (openclSupport && !stdenv.isDarwin) ocl-icd
|
||||
++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [OpenCL Cocoa CoreVideo IOKit AppKit AGL ])
|
||||
++ lib.optional cudaSupport cudatoolkit;
|
||||
|
||||
@ -37,8 +41,10 @@ stdenv.mkDerivation rec {
|
||||
"-DGLEW_INCLUDE_DIR=${glew.dev}/include"
|
||||
"-DGLEW_LIBRARY=${glew.dev}/lib"
|
||||
] ++ lib.optionals cudaSupport [
|
||||
"-DOSD_CUDA_NVCC_FLAGS=--gpu-architecture=compute_30"
|
||||
"-DOSD_CUDA_NVCC_FLAGS=--gpu-architecture=${cudaArch}"
|
||||
"-DCUDA_HOST_COMPILER=${cudatoolkit.cc}/bin/cc"
|
||||
] ++ lib.optionals (!openclSupport) [
|
||||
"-DNO_OPENCL=1"
|
||||
];
|
||||
|
||||
postInstall = "rm $out/lib/*.a";
|
||||
@ -46,6 +52,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "An Open-Source subdivision surface library";
|
||||
homepage = "http://graphics.pixar.com/opensubdiv";
|
||||
broken = openclSupport && cudaSupport;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = [ lib.maintainers.eelco ];
|
||||
license = lib.licenses.asl20;
|
||||
|
@ -18,11 +18,11 @@ assert petsc-withp4est -> p4est.mpiSupport;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "petsc";
|
||||
version = "3.16.5";
|
||||
version = "3.17.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-${version}.tar.gz";
|
||||
sha256 = "sha256-fehXDuuUBidS2CqDII/Cuvx3s/UVAjpMFNj/lEDmbKw=";
|
||||
sha256 = "sha256-ltWspoThzhQliRpiDSeHc8JWEcsUQWWpOxdTEjjqr4o=";
|
||||
};
|
||||
|
||||
mpiSupport = !withp4est || p4est.mpiSupport;
|
||||
|
@ -4,7 +4,7 @@
|
||||
, curl
|
||||
}:
|
||||
let
|
||||
version = "2020.3.12";
|
||||
version = "2020.3.13";
|
||||
shortVersion = builtins.substring 0 6 version;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/flightgear/release-${shortVersion}/${pname}-${version}.tar.bz2";
|
||||
sha256 = "sha256-W7KZzFU5qZE6tOv9YSzH3yoNi8YET2yzmThMcl23140=";
|
||||
sha256 = "sha256-3AmQb9qLGBD+LLIrX1Fx0gi6kBxbnTkLrW0fP9ZsUeg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
@ -1,35 +1,27 @@
|
||||
{ lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, result }:
|
||||
|
||||
let
|
||||
pname = "cmdliner";
|
||||
in
|
||||
|
||||
assert lib.versionAtLeast ocaml.version "4.01.0";
|
||||
|
||||
let param =
|
||||
if lib.versionAtLeast ocaml.version "4.03" then {
|
||||
version = "1.0.4";
|
||||
sha256 = "1h04q0zkasd0mw64ggh4y58lgzkhg6yhzy60lab8k8zq9ba96ajw";
|
||||
} else {
|
||||
version = "1.0.2";
|
||||
sha256 = "18jqphjiifljlh9jg8zpl6310p3iwyaqphdkmf89acyaix0s4kj1";
|
||||
}
|
||||
; in
|
||||
assert (lib.versionAtLeast ocaml.version "4.03");
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ocaml${ocaml.version}-${pname}-${version}";
|
||||
inherit (param) version;
|
||||
pname = "cmdliner";
|
||||
version = "1.0.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://erratique.ch/software/${pname}/releases/${pname}-${version}.tbz";
|
||||
inherit (param) sha256;
|
||||
sha256 = "1h04q0zkasd0mw64ggh4y58lgzkhg6yhzy60lab8k8zq9ba96ajw";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ ocaml ocamlbuild findlib topkg ];
|
||||
buildInputs = [ topkg ];
|
||||
propagatedBuildInputs = [ result ];
|
||||
nativeBuildInputs = [ ocaml ];
|
||||
|
||||
inherit (topkg) buildPhase installPhase;
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
installTargets = "install install-doc";
|
||||
installFlags = [
|
||||
"LIBDIR=$(out)/lib/ocaml/${ocaml.version}/site-lib/${pname}"
|
||||
"DOCDIR=$(out)/share/doc/${pname}"
|
||||
];
|
||||
postInstall = ''
|
||||
mv $out/lib/ocaml/${ocaml.version}/site-lib/${pname}/{opam,${pname}.opam}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://erratique.ch/software/cmdliner";
|
||||
|
@ -91,6 +91,8 @@ buildPythonPackage rec {
|
||||
# aarch64-only (?) failure, unknown reason so far
|
||||
# https://github.com/adobe-type-tools/afdko/issues/1425
|
||||
"test_spec"
|
||||
] ++ lib.optionals (stdenv.hostPlatform.isi686) [
|
||||
"test_type1mm_inputs"
|
||||
];
|
||||
|
||||
passthru.tests = {
|
||||
|
@ -13,14 +13,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioswitcher";
|
||||
version = "2.0.8";
|
||||
version = "2.0.9";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "TomerFi";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-4+XGSaHZNYjId0bTOwCkYpb1K/pM8WtN5/NI+GVaI7M=";
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "sha256-vsMQG664ySMQfdl4tGJKMY0MZXVl39QaFxu7kMtZWCM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -10,14 +10,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "amberelectric";
|
||||
version = "1.0.3";
|
||||
version = "1.0.4";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1hsbk2v7j1nsa083j28jb7b3rv76flan0g9wav97qccp1gjds5b0";
|
||||
sha256 = "sha256-5SWJnTxRm6mzP0RxrgA+jnV+Gp23WjqQA57wbT2V9Dk=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "async-upnp-client";
|
||||
version = "0.23.5";
|
||||
version = "0.27.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
owner = "StevenLooman";
|
||||
repo = "async_upnp_client";
|
||||
rev = version;
|
||||
sha256 = "sha256-fMlP8LX+OFiw6o1rpz8J0sEsACk5x9dQko1oGEaZFuc=";
|
||||
sha256 = "sha256-QElc4J2BxOFI+L9D/SVMiYeRVOmwrNTW65LgdBG0TbU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -1,33 +1,141 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy27
|
||||
, numpy
|
||||
, ffmpeg
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
|
||||
# build
|
||||
, cython
|
||||
, pkg-config
|
||||
|
||||
# runtime
|
||||
, ffmpeg
|
||||
|
||||
# tests
|
||||
, numpy
|
||||
, pillow
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "av";
|
||||
version = "8.1.0";
|
||||
disabled = isPy27; # setup.py no longer compatible
|
||||
version = "9.1.1";
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0402169bc27e38e0f44e0e0e1854cf488337e86206b6d25d6dae2bfd7a1a0230";
|
||||
src = fetchFromGitHub {
|
||||
owner = "mikeboers";
|
||||
repo = "PyAV";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-/6C5GE9zANPy0xaptu/+pIupOLDra/R7TJ41YLGszUs=";
|
||||
};
|
||||
|
||||
checkInputs = [ numpy ];
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
pkg-config
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ ffmpeg ];
|
||||
buildInputs = [
|
||||
ffmpeg
|
||||
];
|
||||
|
||||
# Tests require downloading files from internet
|
||||
doCheck = false;
|
||||
preCheck = ''
|
||||
# ensure we import the built version
|
||||
rm -r av
|
||||
'';
|
||||
|
||||
meta = {
|
||||
checkInputs = [
|
||||
numpy
|
||||
pillow
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
# Tests that want to download FATE data
|
||||
# https://github.com/PyAV-Org/PyAV/issues/955
|
||||
"--deselect=tests/test_audiofifo.py::TestAudioFifo::test_data"
|
||||
"--deselect=tests/test_codec_context.py::TestCodecContext::test_codec_tag"
|
||||
"--deselect=tests/test_codec_context.py::TestCodecContext::test_parse"
|
||||
"--deselect=tests/test_codec_context.py::TestEncoding::test_encoding_aac"
|
||||
"--deselect=tests/test_codec_context.py::TestEncoding::test_encoding_dnxhd"
|
||||
"--deselect=tests/test_codec_context.py::TestEncoding::test_encoding_dvvideo"
|
||||
"--deselect=tests/test_codec_context.py::TestEncoding::test_encoding_h264"
|
||||
"--deselect=tests/test_codec_context.py::TestEncoding::test_encoding_mjpeg"
|
||||
"--deselect=tests/test_codec_context.py::TestEncoding::test_encoding_mp2"
|
||||
"--deselect=tests/test_codec_context.py::TestEncoding::test_encoding_mpeg1video"
|
||||
"--deselect=tests/test_codec_context.py::TestEncoding::test_encoding_mpeg4"
|
||||
"--deselect=tests/test_codec_context.py::TestEncoding::test_encoding_pcm_s24le"
|
||||
"--deselect=tests/test_codec_context.py::TestEncoding::test_encoding_png"
|
||||
"--deselect=tests/test_codec_context.py::TestEncoding::test_encoding_tiff"
|
||||
"--deselect=tests/test_codec_context.py::TestEncoding::test_encoding_xvid"
|
||||
"--deselect=tests/test_decode.py::TestDecode::test_decode_audio_sample_count"
|
||||
"--deselect=tests/test_decode.py::TestDecode::test_decoded_motion_vectors"
|
||||
"--deselect=tests/test_decode.py::TestDecode::test_decoded_motion_vectors_no_flag"
|
||||
"--deselect=tests/test_decode.py::TestDecode::test_decoded_time_base"
|
||||
"--deselect=tests/test_decode.py::TestDecode::test_decoded_video_frame_count"
|
||||
"--deselect=tests/test_encode.py::TestBasicAudioEncoding::test_transcode"
|
||||
"--deselect=tests/test_file_probing.py::TestAudioProbe::test_container_probing"
|
||||
"--deselect=tests/test_file_probing.py::TestAudioProbe::test_stream_probing"
|
||||
"--deselect=tests/test_file_probing.py::TestDataProbe::test_container_probing"
|
||||
"--deselect=tests/test_file_probing.py::TestDataProbe::test_stream_probing"
|
||||
"--deselect=tests/test_file_probing.py::TestSubtitleProbe::test_container_probing"
|
||||
"--deselect=tests/test_file_probing.py::TestSubtitleProbe::test_stream_probing"
|
||||
"--deselect=tests/test_file_probing.py::TestVideoProbe::test_container_probing"
|
||||
"--deselect=tests/test_file_probing.py::TestVideoProbe::test_stream_probing"
|
||||
"--deselect=tests/test_python_io.py::TestPythonIO::test_reading_from_buffer"
|
||||
"--deselect=tests/test_python_io.py::TestPythonIO::test_reading_from_buffer_no_see"
|
||||
"--deselect=tests/test_python_io.py::TestPythonIO::test_reading_from_file"
|
||||
"--deselect=tests/test_python_io.py::TestPythonIO::test_reading_from_pipe_readonly"
|
||||
"--deselect=tests/test_python_io.py::TestPythonIO::test_reading_from_write_readonl"
|
||||
"--deselect=tests/test_seek.py::TestSeek::test_decode_half"
|
||||
"--deselect=tests/test_seek.py::TestSeek::test_seek_end"
|
||||
"--deselect=tests/test_seek.py::TestSeek::test_seek_float"
|
||||
"--deselect=tests/test_seek.py::TestSeek::test_seek_int64"
|
||||
"--deselect=tests/test_seek.py::TestSeek::test_seek_middle"
|
||||
"--deselect=tests/test_seek.py::TestSeek::test_seek_start"
|
||||
"--deselect=tests/test_seek.py::TestSeek::test_stream_seek"
|
||||
"--deselect=tests/test_streams.py::TestStreams::test_selection"
|
||||
"--deselect=tests/test_streams.py::TestStreams::test_stream_tuples"
|
||||
"--deselect=tests/test_subtitles.py::TestSubtitle::test_movtext"
|
||||
"--deselect=tests/test_subtitles.py::TestSubtitle::test_vobsub"
|
||||
"--deselect=tests/test_videoframe.py::TestVideoFrameImage::test_roundtrip"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# urlopen fails during DNS resolution
|
||||
"tests/test_doctests.py"
|
||||
"tests/test_timeout.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"av"
|
||||
"av.audio"
|
||||
"av.buffer"
|
||||
"av.bytesource"
|
||||
"av.codec"
|
||||
"av.container"
|
||||
"av._core"
|
||||
"av.datasets"
|
||||
"av.descriptor"
|
||||
"av.dictionary"
|
||||
"av.enum"
|
||||
"av.error"
|
||||
"av.filter"
|
||||
"av.format"
|
||||
"av.frame"
|
||||
"av.logging"
|
||||
"av.option"
|
||||
"av.packet"
|
||||
"av.plane"
|
||||
"av.stream"
|
||||
"av.subtitles"
|
||||
"av.utils"
|
||||
"av.video"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pythonic bindings for FFmpeg/Libav";
|
||||
homepage = "https://github.com/mikeboers/PyAV/";
|
||||
license = lib.licenses.bsd2;
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
@ -5,16 +5,20 @@
|
||||
, azure-common
|
||||
, azure-core
|
||||
, msrestazure
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-eventgrid";
|
||||
version = "4.7.1";
|
||||
version = "4.8.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "b96afc0317c764c2c428512485305ec5748698081cb6bc70dcaa903b0ac04754";
|
||||
hash = "sha256-8jEtTQTUJLSa2iuA/Sgirgcm8kbwWOT11O1n46CLouw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -26,7 +30,10 @@ buildPythonPackage rec {
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "azure.eventgrid" ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"azure.eventgrid"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A fully-managed intelligent event routing service that allows for uniform event consumption using a publish-subscribe model";
|
||||
|
@ -3,18 +3,20 @@
|
||||
, fetchPypi
|
||||
, azure-mgmt-common
|
||||
, azure-mgmt-core
|
||||
, isPy3k
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "19.1.0";
|
||||
version = "20.0.0";
|
||||
pname = "azure-mgmt-storage";
|
||||
disabled = !isPy3k;
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "sha256-Seoi8A4JZaNVCvNKQcGh06SBaQ9lAMeOhUCIAvVtdBY=";
|
||||
hash = "sha256-buR2tWIv9vWVTt7m6w2N1CezIXAihVrfHshjPKBM3uI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -22,9 +24,13 @@ buildPythonPackage rec {
|
||||
azure-mgmt-core
|
||||
];
|
||||
|
||||
pythonNamespaces = [ "azure.mgmt" ];
|
||||
pythonNamespaces = [
|
||||
"azure.mgmt"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "azure.mgmt.storage" ];
|
||||
pythonImportsCheck = [
|
||||
"azure.mgmt.storage"
|
||||
];
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k
|
||||
{ config, lib, buildPythonPackage, fetchFromGitHub, isPy3k
|
||||
, filelock, protobuf, numpy, pytestCheckHook, mock, typing-extensions
|
||||
, cupy, cudaSupport ? false
|
||||
, cupy, cudaSupport ? config.cudaSupport or false
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -39,6 +39,8 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "A flexible framework of neural networks for deep learning";
|
||||
homepage = "https://chainer.org/";
|
||||
# Un-break me when updating chainer next time!
|
||||
broken = cudaSupport && (lib.versionAtLeast cupy.version "8.0.0");
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ hyphon81 ];
|
||||
};
|
||||
|
@ -7,14 +7,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dotmap";
|
||||
version = "1.3.29";
|
||||
version = "1.3.30";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-5mhR+Ey8RrruucUIt5LxBNM6OBUWbLy5jNOWg6tzxRE=";
|
||||
hash = "sha256-WCGnkz8HX7R1Y0F8DpLgt8AxFYtMmmp+VhY0ebZYs2g=";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
|
68
pkgs/development/python-modules/gattlib/default.nix
Normal file
68
pkgs/development/python-modules/gattlib/default.nix
Normal file
@ -0,0 +1,68 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, substituteAll
|
||||
|
||||
# build
|
||||
, pkg-config
|
||||
, glibc
|
||||
, python
|
||||
|
||||
# runtime
|
||||
, bluez
|
||||
, boost
|
||||
, glib
|
||||
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "gattlib";
|
||||
version = "unstable-2021-06-16";
|
||||
in
|
||||
buildPythonPackage {
|
||||
inherit pname version;
|
||||
format = "setuptools";
|
||||
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "oscaracena";
|
||||
repo = "pygattlib";
|
||||
rev = "7bdb229124fe7d9f4a2cc090277b0fdef82e2a56";
|
||||
hash = "sha256-PS5DIH1JuH2HweyebLLM+UNFGY/XsjKIrsD9x7g7yMI=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(substituteAll {
|
||||
src = ./setup.patch;
|
||||
boost_version = let
|
||||
pythonVersion = with lib.versions; "${major python.version}${minor python.version}";
|
||||
in
|
||||
"boost_python${pythonVersion}";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
glibc
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
bluez
|
||||
boost
|
||||
glib
|
||||
];
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"gattlib"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library to use the GATT Protocol for Bluetooth LE devices";
|
||||
homepage = "https://github.com/oscaracena/pygattlib";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
18
pkgs/development/python-modules/gattlib/setup.patch
Normal file
18
pkgs/development/python-modules/gattlib/setup.patch
Normal file
@ -0,0 +1,18 @@
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 0825241..389a59e 100755
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -11,12 +11,7 @@ extension_modules = []
|
||||
|
||||
|
||||
def get_boost_version(out=None):
|
||||
- if out is None:
|
||||
- out = subprocess.check_output(
|
||||
- r"ldconfig -p | grep -E 'libboost_python.*\.so '", shell=True)
|
||||
-
|
||||
- ver = os.path.splitext(out.split()[0][3:])[0].decode()
|
||||
- return ver
|
||||
+ return "@boost_version@"
|
||||
|
||||
def tests():
|
||||
# case: python3-py3x.so
|
@ -10,16 +10,19 @@
|
||||
, mock
|
||||
, proto-plus
|
||||
, pytest-asyncio
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-pubsub";
|
||||
version = "2.11.0";
|
||||
version = "2.12.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-btPJ2X+I0f8C3YDB9bZwPv7HWnqsq9koWsT+CyK1AgM=";
|
||||
hash = "sha256-5RoIpyVm/y2+6pN4mJPWHbVUwxH6yWI/vIuCVNJU2aw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -47,7 +50,9 @@ buildPythonPackage rec {
|
||||
"tests/unit/pubsub_v1"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "google.cloud.pubsub" ];
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.pubsub"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Google Cloud Pub/Sub API client library";
|
||||
|
@ -1,43 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, pkg-config
|
||||
, ffmpeg_4
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ha-av";
|
||||
version = "8.0.4rc1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-txdi2/X6upqrACeHhHpEh4tGqgPpW/dyWda8y++7c3M=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
ffmpeg_4
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"av"
|
||||
"av._core"
|
||||
];
|
||||
|
||||
# tests fail to import av._core
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://pypi.org/project/ha-av/";
|
||||
description = "Pythonic bindings for FFmpeg's libraries";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
@ -18,7 +18,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hangups";
|
||||
version = "0.4.17";
|
||||
version = "0.4.18";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
@ -26,7 +26,7 @@ buildPythonPackage rec {
|
||||
owner = "tdryer";
|
||||
repo = "hangups";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-8kNWcRAip9LkmazDUVeDjGWhy/TWzT01c959LA5hb1Q=";
|
||||
hash = "sha256-vq1OrOUPMQtezBFlisP2f/bvvYprDjhOuwUcT8rmIvw=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -4,6 +4,7 @@
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pythonAtLeast
|
||||
, poetry-core
|
||||
, pytest-aiohttp
|
||||
, pytest-asyncio
|
||||
@ -11,15 +12,15 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hyperion-py";
|
||||
version = "0.7.4";
|
||||
disabled = pythonOlder "3.8";
|
||||
version = "0.7.5";
|
||||
disabled = pythonOlder "3.8" || pythonAtLeast "3.10";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dermotduffy";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "00x12ppmvlxs3qbdxq06wnzakvwm2m39qhmpp27qfpl137b0qqyj";
|
||||
sha256 = "sha256-arcnpCQsRuiWCrAz/t4TCjTe8DRDtRuzYp8k7nnjGDk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
40
pkgs/development/python-modules/json-home-client/default.nix
Normal file
40
pkgs/development/python-modules/json-home-client/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
# build inputs
|
||||
, typing-extensions
|
||||
, uri-template
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "json-home-client";
|
||||
version = "1.1.1";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "plinss";
|
||||
repo = "json_home_client";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-DhnvvY1nMe1sdRE+OgjBt4TsLmiqnD8If4rl700zW9E=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i -e 's/0.0.0/${version}/' setup.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
typing-extensions
|
||||
uri-template
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "json_home_client" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Client class for calling http+json APIs in Python";
|
||||
homepage = "https://github.com/plinss/json_home_client";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.kvark ];
|
||||
};
|
||||
}
|
34
pkgs/development/python-modules/lru-dict/default.nix
Normal file
34
pkgs/development/python-modules/lru-dict/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "lru-dict";
|
||||
version = "1.1.7";
|
||||
in
|
||||
buildPythonPackage {
|
||||
inherit pname version;
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-RbgfZ9dTQdRDOrreeZpH6cQqniKhGFMdy15UmGQDLXw=";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"lru"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fast and memory efficient LRU cache for Python";
|
||||
homepage = "https://github.com/amitdev/lru-dict";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
@ -6,10 +6,11 @@
|
||||
, graphviz
|
||||
, python
|
||||
, isPy3k
|
||||
, isPy310
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
inherit (pkgs.mxnet) pname version src meta;
|
||||
inherit (pkgs.mxnet) pname version src;
|
||||
|
||||
buildInputs = [ pkgs.mxnet ];
|
||||
propagatedBuildInputs = [ requests numpy graphviz ];
|
||||
@ -32,4 +33,7 @@ buildPythonPackage {
|
||||
ln -s ${pkgs.mxnet}/lib/libmxnet.so $out/${python.sitePackages}/mxnet
|
||||
'';
|
||||
|
||||
meta = pkgs.mxnet.meta // {
|
||||
broken = (pkgs.mxnet.broken or false) || (isPy310 && pkgs.mxnet.cudaSupport);
|
||||
};
|
||||
}
|
||||
|
@ -19,14 +19,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "plugwise";
|
||||
version = "0.16.6";
|
||||
version = "0.17.3";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = "python-plugwise";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-hAYbYsLpiiJYdg9Rx5BjqNA9JTtKGu3DE0SpwOxlTWw=";
|
||||
sha256 = "sha256-1wSVmH7woTR2ebHS5FfWHLqwbY04rxtPx/0A/HY+N8s=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pre-commit-hooks";
|
||||
version = "4.1.0";
|
||||
version = "4.2.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
@ -19,8 +19,8 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "pre-commit";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-nxJp7LkCUkJj77RCeWedBusue3x0lZYatSidbueZqfo=";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-jSu4LutEgpeAbCgSHgk6VXQKLZo00T3TrQVZxsNU1co=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -1,32 +1,45 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pkgs
|
||||
, isPy3k
|
||||
, bluez
|
||||
, gattlib
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "unstable-20160819";
|
||||
pname = "pybluez";
|
||||
# requires use2to3, which is no longer supported in setuptools>58
|
||||
disabled = isPy3k;
|
||||
|
||||
propagatedBuildInputs = [ pkgs.bluez ];
|
||||
version = "unstable-2022-01-28";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "karulis";
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "a0b226a61b166e170d48539778525b31e47a4731";
|
||||
sha256 = "104dm5ngfhqisv1aszdlr3szcav2g3bhsgzmg4qfs09b3i5zj047";
|
||||
rev = "5096047f90a1f6a74ceb250aef6243e144170f92";
|
||||
hash = "sha256-GA58DfCFaVzZQA1HYpGQ68bznrt4SX1ojyOVn8hyCGo=";
|
||||
};
|
||||
|
||||
# the tests do not pass
|
||||
buildInputs = [
|
||||
bluez
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
gattlib
|
||||
];
|
||||
|
||||
# there are no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"bluetooth"
|
||||
"bluetooth.ble"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Bluetooth Python extension module";
|
||||
homepage = "https://github.com/pybluez/pybluez";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ leenaars ];
|
||||
broken = stdenv.isDarwin; # requires pyobjc-core, pyobjc-framework-Cocoa
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pycfmodel";
|
||||
version = "0.18.0";
|
||||
version = "0.18.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -17,8 +17,8 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "Skyscanner";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-g249Nq4u4pPQLbW9Kw5vLwVKCaZoots5LD6yk1NPv6s=";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-oP9u62PpnBCDAwE9LJHkm93f9eYyXbHai/gp62bL84M=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -9,14 +9,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pysma";
|
||||
version = "0.6.10";
|
||||
version = "0.6.11";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "990abf6dba3f52b98970fc95aaf484e521faa9ff28c9c19f5a6dca3fddf5840c";
|
||||
sha256 = "sha256-x0sFJAdueSny0XoaOYbYLN8ZRS5B/iEVT62mqd4Voe4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
45
pkgs/development/python-modules/result/default.nix
Normal file
45
pkgs/development/python-modules/result/default.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "result";
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rustedpy";
|
||||
repo = "result";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-bEf3OJg6ksDvzZE7ezA58Q2FObb5V7BG8vkKtX284Jg=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace '"--flake8",' "" \
|
||||
--replace '"--tb=short",' "" \
|
||||
--replace '"--cov=result",' "" \
|
||||
--replace '"--cov=tests",' "" \
|
||||
--replace '"--cov-report=term",' "" \
|
||||
--replace '"--cov-report=xml",' ""
|
||||
'';
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
#TODO: figure out the failure "match o:" Invalid Syntax
|
||||
"tests/test_pattern_matching.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "result" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple Result type for Python 3 inspired by Rust, fully type annotated";
|
||||
homepage = "https://github.com/rustedpy/result";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.kvark ];
|
||||
};
|
||||
}
|
@ -1,6 +1,8 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||
, aiohttp
|
||||
, requests
|
||||
, websocket-client
|
||||
, websockets
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -14,8 +16,10 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
websocket-client
|
||||
aiohttp
|
||||
requests
|
||||
websocket-client
|
||||
websockets
|
||||
];
|
||||
|
||||
# no tests
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "toggl-cli";
|
||||
version = "3";
|
||||
version = "2.4.3";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
@ -28,7 +28,7 @@ buildPythonPackage rec {
|
||||
src = fetchPypi {
|
||||
pname = "togglCli";
|
||||
inherit version;
|
||||
sha256 = "sha256-SkA/u1q//AyYn0v6uAXXsjANhFppxxjKhlhWhsK649w=";
|
||||
sha256 = "sha256-ncMwiMwYivaFu5jrAsm1oCuXP/PZ2ALT+M+CmV6dtFo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -58,8 +58,9 @@ buildPythonPackage rec {
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "notify-py==0.3.1" "notify-py>=0.3.1" \
|
||||
--replace "click==7.1.2" "click>=7.1.2" \
|
||||
--replace "pbr==5.5.1" "pbr>=5.5.1"
|
||||
--replace "click==8.0.3" "click>=8.0.3" \
|
||||
--replace "pbr==5.8.0" "pbr>=5.8.0" \
|
||||
--replace "inquirer==2.9.1" "inquirer>=2.9.1"
|
||||
substituteInPlace pytest.ini \
|
||||
--replace ' --cov toggl -m "not premium"' ""
|
||||
'';
|
||||
|
30
pkgs/development/python-modules/uri-template/default.nix
Normal file
30
pkgs/development/python-modules/uri-template/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, python }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "uri-template";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "plinss";
|
||||
repo = "uri_template";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-IAq6GpEwimq45FU0QugLZLSOhwAmC1KbpZKD0zyxsUs=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i -e 's/0.0.0/${version}/' setup.py
|
||||
'';
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} test.py
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "uri_template" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An implementation of RFC 6570 URI Templates";
|
||||
homepage = "https://github.com/plinss/uri_template/";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.kvark ];
|
||||
};
|
||||
}
|
@ -13,7 +13,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "vehicle";
|
||||
version = "0.3.1";
|
||||
version = "0.4.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
owner = "frenck";
|
||||
repo = "python-vehicle";
|
||||
rev = "v${version}";
|
||||
sha256 = "04xcs5bfjd49j870gyyznc8hkaadsa9gm9pz0w9qvzlphnxvv5h4";
|
||||
sha256 = "sha256-dvSdYrONUEe+bdZ+9nALrOQ6gJwq9e1dLvuq08xP5tQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -1,16 +1,24 @@
|
||||
{ lib, fetchPypi, buildPythonPackage, isPy3k
|
||||
, colorama, configobj, packaging, pyyaml, pykwalify
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, colorama
|
||||
, configobj
|
||||
, fetchPypi
|
||||
, packaging
|
||||
, pykwalify
|
||||
, pythonOlder
|
||||
, pyyaml
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.12.0";
|
||||
pname = "west";
|
||||
version = "0.13.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = !isPy3k;
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d7ce0d719fd218fee5983442fe93a33a21a6be6a736915a7ffbe75369714e9ce";
|
||||
hash = "sha256-jlOmeIM6NfgYykjhgs7KpnAXFMbT/lpbT/bBaJ2CGY4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -24,12 +32,12 @@ buildPythonPackage rec {
|
||||
# pypi package does not include tests (and for good reason):
|
||||
# tests run under 'tox' and have west try to git clone repos (not sandboxable)
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"west"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/zephyrproject-rtos/west";
|
||||
description = "Zephyr RTOS meta tool";
|
||||
longDescription = ''
|
||||
West lets you manage multiple Git repositories under a single directory using a single file,
|
||||
@ -47,6 +55,7 @@ buildPythonPackage rec {
|
||||
For more details, see Multiple Repository Management in the west documentation
|
||||
(https://docs.zephyrproject.org/latest/guides/west/repo-tool.html).
|
||||
'';
|
||||
homepage = "https://github.com/zephyrproject-rtos/west";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ siriobalmelli ];
|
||||
};
|
||||
|
38
pkgs/development/python-modules/widlparser/default.nix
Normal file
38
pkgs/development/python-modules/widlparser/default.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
# build inputs
|
||||
, typing-extensions
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "widlparser";
|
||||
version = "1.0.12";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "plinss";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-T17fDWYd1naza/ao7kXWGcRIl2fzL1/Z9SaJiutZzqk=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i -e 's/0.0.0/${version}/' setup.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "widlparser" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Stand-alone WebIDL Parser in Python";
|
||||
homepage = "https://github.com/plinss/widlparser";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.kvark ];
|
||||
};
|
||||
}
|
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, cryptography
|
||||
, netifaces
|
||||
, voluptuous
|
||||
, pyyaml
|
||||
@ -11,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "xknx";
|
||||
version = "0.19.2";
|
||||
version = "0.20.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -20,13 +21,12 @@ buildPythonPackage rec {
|
||||
owner = "XKNX";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-LJ7MmKCWx+n7caud0pN4+7f9H4XzwuAAn9u86X/FACo=";
|
||||
sha256 = "sha256-7g1uAkBGlNcmfjqGNH2MS+X26Pq1hTKQy9eLJVTqxhA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
voluptuous
|
||||
cryptography
|
||||
netifaces
|
||||
pyyaml
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "yeelight";
|
||||
version = "0.7.9";
|
||||
version = "0.7.10";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
owner = "stavros";
|
||||
repo = "python-yeelight";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-8N+HOhUX3BXecS/kaAfLoge+NYzKLKPyoTthu+useJA=";
|
||||
sha256 = "sha256-vUsL1CvhYRtv75gkmiPe/UkAtBDZPy1iK2BPUupMXz8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -7,14 +7,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "youtube-search-python";
|
||||
version = "1.6.3";
|
||||
version = "1.6.4";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-zAza1XMKLIMZFFS0v/4ATqh6j7aEB2Y+eliE/hNPORw=";
|
||||
hash = "sha256-9ZAZaLkJb2mEg0rstBxOvs9/L4wtbLuCTdFDOuxMqN0=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -4,8 +4,10 @@
|
||||
, substituteAll
|
||||
, argcomplete
|
||||
, pyyaml
|
||||
, toml
|
||||
, xmltodict
|
||||
, jq
|
||||
, setuptools-scm
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
@ -25,14 +27,14 @@ buildPythonPackage rec {
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace test/test.py \
|
||||
--replace "expect_exit_codes={0} if sys.stdin.isatty() else {2}" "expect_exit_codes={0}"
|
||||
'';
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyyaml
|
||||
xmltodict
|
||||
toml
|
||||
argcomplete
|
||||
];
|
||||
|
||||
@ -44,13 +46,8 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "yq" ];
|
||||
|
||||
doInstallCheck = true;
|
||||
installCheckPhase = ''
|
||||
echo '{"hello":{"foo":"bar"}}' | $out/bin/yq -y . | grep 'foo: bar'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Command-line YAML processor - jq wrapper for YAML documents";
|
||||
description = "Command-line YAML/XML/TOML processor - jq wrapper for YAML, XML, TOML documents";
|
||||
homepage = "https://github.com/kislyuk/yq";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ womfoo SuperSandro2000 ];
|
||||
|
@ -9,13 +9,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zha-quirks";
|
||||
version = "0.0.67";
|
||||
version = "0.0.69";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zigpy";
|
||||
repo = "zha-device-handlers";
|
||||
rev = version;
|
||||
sha256 = "sha256-qkXXrwqMEtfafHsXtlyy6HFwuo/8sOZuQ9SvGRJkGtA=";
|
||||
sha256 = "sha256-qPqgla+NFtZ85i+GB0lRRsoNImVghJsJfww7j8yQcFs=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -25,7 +25,6 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyserial
|
||||
pyserial-asyncio
|
||||
zigpy
|
||||
];
|
||||
@ -36,6 +35,12 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"test_incoming_msg"
|
||||
"test_incoming_msg2"
|
||||
"test_deser"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A library which communicates with Texas Instruments CC2531 radios for zigpy";
|
||||
homepage = "https://github.com/zigpy/zigpy-cc";
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zigpy";
|
||||
version = "0.43.0";
|
||||
version = "0.44.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
owner = "zigpy";
|
||||
repo = "zigpy";
|
||||
rev = version;
|
||||
sha256 = "1740cv99ny6xy7wfpz754h4wj2cm874b8vnddvff90ajk07qgdia";
|
||||
sha256 = "sha256-7X3uaxzvVMhSucCGA+rZsgt+fJSNjYQkJLpCGyHOIlc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "actionlint";
|
||||
version = "1.6.10";
|
||||
version = "1.6.11";
|
||||
|
||||
subPackages = [ "cmd/actionlint" ];
|
||||
|
||||
@ -18,10 +18,10 @@ buildGoModule rec {
|
||||
owner = "rhysd";
|
||||
repo = "actionlint";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-RFsNJiCeSAeEWOUnfBpeIZKoS2mlXazYMQd1M6yFLGU=";
|
||||
sha256 = "sha256-BlJxgRDnAlfM/81qAEGEW09luScivYSDf5w2lR8hQUA=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-CxNER8aQftMG14M+x6bPwcXgUZRkUDYZtFg1cPxxg+I=";
|
||||
vendorSha256 = "sha256-nG0u5hZ/YRn+yUoEGTBo6ZdOp0e+sH6Jl9F+QhpfYAU=";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ronn installShellFiles ];
|
||||
|
||||
|
@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-lfj6KyB9QYvUy4Ybo8f30omAg4K/jT5MEERJPm0aJ7U=";
|
||||
};
|
||||
|
||||
makeFlags = [ "FLOW_RELEASE=1" ];
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 bin/flow $out/bin/flow
|
||||
install -Dm644 resources/shell/bash-completion $out/share/bash-completion/completions/flow
|
||||
|
@ -9,13 +9,13 @@ let
|
||||
in
|
||||
buildGoModule rec {
|
||||
pname = "faas-cli";
|
||||
version = "0.14.3";
|
||||
version = "0.14.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "openfaas";
|
||||
repo = "faas-cli";
|
||||
rev = version;
|
||||
sha256 = "sha256-1aflQXfW/y31Dk0OZW77qNQKEwkhi6p8ZBfTUyRDbdo=";
|
||||
sha256 = "sha256-hpQn1lEJP0FmU1jhmXDgV/11RbMdEqblLPIrTQLKLOc=";
|
||||
};
|
||||
|
||||
CGO_ENABLED = 0;
|
||||
@ -35,6 +35,6 @@ buildGoModule rec {
|
||||
homepage = "https://github.com/openfaas/faas-cli";
|
||||
description = "Official CLI for OpenFaaS ";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ welteki ];
|
||||
maintainers = with maintainers; [ welteki techknowlogick ];
|
||||
};
|
||||
}
|
||||
|
@ -2,10 +2,10 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "kotlin-language-server";
|
||||
version = "1.2.0";
|
||||
version = "1.3.0";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/fwcd/kotlin-language-server/releases/download/${version}/server.zip";
|
||||
sha256 = "sha256-GXr+sOGa09qeQrfaJYRPsoHULwfMst8tTr4y2cv752k=";
|
||||
sha256 = "sha256-yyqI+87vtggSeAfb3OEftalknqbTDEQ5gTJwB/EMIlY=";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
@ -1,16 +1,14 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "kustomize";
|
||||
version = "4.5.4";
|
||||
# rev is the commit of the tag, mainly for kustomize version command output
|
||||
rev = "cf3a452ddd6f83945d39d582243b8592ec627ae3";
|
||||
|
||||
ldflags = let t = "sigs.k8s.io/kustomize/api/provenance"; in
|
||||
[
|
||||
"-s"
|
||||
"-X ${t}.version=${version}"
|
||||
"-X ${t}.gitCommit=${rev}"
|
||||
"-X ${t}.gitCommit=${src.rev}"
|
||||
];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
@ -20,13 +18,20 @@ buildGoModule rec {
|
||||
sha256 = "sha256-7Ode+ONgWJRNSbIpvIjhuT+oVvZgJfByFqS/iSUhcXw=";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
|
||||
# avoid finding test and development commands
|
||||
sourceRoot = "source/kustomize";
|
||||
modRoot = "kustomize";
|
||||
|
||||
vendorSha256 = "sha256-beIbeY/+k2NgotGw5zQFkYuqMKlwctoxuToZfiFlCm4=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd kustomize \
|
||||
--bash <($out/bin/kustomize completion bash) \
|
||||
--fish <($out/bin/kustomize completion fish) \
|
||||
--zsh <($out/bin/kustomize completion zsh)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Customization of kubernetes YAML configurations";
|
||||
longDescription = ''
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml-findlib";
|
||||
version = "1.9.1";
|
||||
version = "1.9.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.camlcity.org/download/findlib-${version}.tar.gz";
|
||||
sha256 = "sha256-K0K4vVRIjWTEvzy3BUtLN70wwdwSvUMeoeTXrYqYD+I=";
|
||||
sha256 = "sha256:0hfcwamcvinmww59b5i4yxbf0kxyzkp5qv3d1c7ybn9q52vgq463";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [m4 ocaml];
|
||||
|
@ -6,7 +6,7 @@
|
||||
mkdir -p "$(prefix)$(OCAMLFIND_BIN)"
|
||||
- test $(INSTALL_TOPFIND) -eq 0 || cp topfind "$(prefix)$(OCAML_CORE_STDLIB)"
|
||||
+ test $(INSTALL_TOPFIND) -eq 0 || cp topfind "$(prefix)$(OCAML_SITELIB)"
|
||||
files=`$(SH) $(TOP)/tools/collect_files $(TOP)/Makefile.config findlib.cmi findlib.mli findlib.cma findlib.cmxa findlib$(LIB_SUFFIX) findlib.cmxs topfind.cmi topfind.mli fl_package_base.mli fl_package_base.cmi fl_metascanner.mli fl_metascanner.cmi fl_metatoken.cmi findlib_top.cma findlib_top.cmxa findlib_top$(LIB_SUFFIX) findlib_top.cmxs findlib_dynload.cma findlib_dynload.cmxa findlib_dynload$(LIB_SUFFIX) findlib_dynload.cmxs fl_dynload.mli fl_dynload.cmi META` && \
|
||||
cp $$files "$(prefix)$(OCAML_SITELIB)/$(NAME)"
|
||||
f="ocamlfind$(EXEC_SUFFIX)"; { test -f ocamlfind_opt$(EXEC_SUFFIX) && f="ocamlfind_opt$(EXEC_SUFFIX)"; }; \
|
||||
files=`$(SH) $(TOP)/tools/collect_files $(TOP)/Makefile.config \
|
||||
findlib.cmi findlib.mli findlib.cma findlib.cmxa findlib$(LIB_SUFFIX) findlib.cmxs \
|
||||
findlib_config.cmi findlib_config.ml topfind.cmi topfind.mli \
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user