Merge staging-next into staging
This commit is contained in:
commit
14ba82064f
|
@ -179,7 +179,7 @@ rec {
|
||||||
they take effect as soon as the oldest release reaches end of life. */
|
they take effect as soon as the oldest release reaches end of life. */
|
||||||
oldestSupportedRelease =
|
oldestSupportedRelease =
|
||||||
# Update on master only. Do not backport.
|
# Update on master only. Do not backport.
|
||||||
2111;
|
2205;
|
||||||
|
|
||||||
/* Whether a feature is supported in all supported releases (at the time of
|
/* Whether a feature is supported in all supported releases (at the time of
|
||||||
release branch-off, if applicable). See `oldestSupportedRelease`. */
|
release branch-off, if applicable). See `oldestSupportedRelease`. */
|
||||||
|
|
|
@ -3742,12 +3742,6 @@
|
||||||
githubId = 2536303;
|
githubId = 2536303;
|
||||||
name = "Enno Lohmeier";
|
name = "Enno Lohmeier";
|
||||||
};
|
};
|
||||||
elseym = {
|
|
||||||
email = "elseym@me.com";
|
|
||||||
github = "elseym";
|
|
||||||
githubId = 907478;
|
|
||||||
name = "Simon Waibl";
|
|
||||||
};
|
|
||||||
elvishjerricco = {
|
elvishjerricco = {
|
||||||
email = "elvishjerricco@gmail.com";
|
email = "elvishjerricco@gmail.com";
|
||||||
github = "ElvishJerricco";
|
github = "ElvishJerricco";
|
||||||
|
|
|
@ -7,6 +7,8 @@ let
|
||||||
opt = options.services.vault;
|
opt = options.services.vault;
|
||||||
|
|
||||||
configFile = pkgs.writeText "vault.hcl" ''
|
configFile = pkgs.writeText "vault.hcl" ''
|
||||||
|
# vault in dev mode will refuse to start if its configuration sets listener
|
||||||
|
${lib.optionalString (!cfg.dev) ''
|
||||||
listener "tcp" {
|
listener "tcp" {
|
||||||
address = "${cfg.address}"
|
address = "${cfg.address}"
|
||||||
${if (cfg.tlsCertFile == null || cfg.tlsKeyFile == null) then ''
|
${if (cfg.tlsCertFile == null || cfg.tlsKeyFile == null) then ''
|
||||||
|
@ -17,6 +19,7 @@ let
|
||||||
''}
|
''}
|
||||||
${cfg.listenerExtraConfig}
|
${cfg.listenerExtraConfig}
|
||||||
}
|
}
|
||||||
|
''}
|
||||||
storage "${cfg.storageBackend}" {
|
storage "${cfg.storageBackend}" {
|
||||||
${optionalString (cfg.storagePath != null) ''path = "${cfg.storagePath}"''}
|
${optionalString (cfg.storagePath != null) ''path = "${cfg.storagePath}"''}
|
||||||
${optionalString (cfg.storageConfig != null) cfg.storageConfig}
|
${optionalString (cfg.storageConfig != null) cfg.storageConfig}
|
||||||
|
@ -30,8 +33,10 @@ let
|
||||||
'';
|
'';
|
||||||
|
|
||||||
allConfigPaths = [configFile] ++ cfg.extraSettingsPaths;
|
allConfigPaths = [configFile] ++ cfg.extraSettingsPaths;
|
||||||
|
configOptions = escapeShellArgs
|
||||||
configOptions = escapeShellArgs (concatMap (p: ["-config" p]) allConfigPaths);
|
(lib.optional cfg.dev "-dev" ++
|
||||||
|
lib.optional (cfg.dev && cfg.devRootTokenID != null) "-dev-root-token-id=${cfg.devRootTokenID}"
|
||||||
|
++ (concatMap (p: ["-config" p]) allConfigPaths));
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
|
@ -47,6 +52,22 @@ in
|
||||||
description = "This option specifies the vault package to use.";
|
description = "This option specifies the vault package to use.";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
dev = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = ''
|
||||||
|
In this mode, Vault runs in-memory and starts unsealed. This option is not meant production but for development and testing i.e. for nixos tests.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
devRootTokenID = mkOption {
|
||||||
|
type = types.str;
|
||||||
|
default = false;
|
||||||
|
description = ''
|
||||||
|
Initial root token. This only applies when <option>services.vault.dev</option> is true
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
address = mkOption {
|
address = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "127.0.0.1:8200";
|
default = "127.0.0.1:8200";
|
||||||
|
@ -186,6 +207,9 @@ in
|
||||||
Group = "vault";
|
Group = "vault";
|
||||||
ExecStart = "${cfg.package}/bin/vault server ${configOptions}";
|
ExecStart = "${cfg.package}/bin/vault server ${configOptions}";
|
||||||
ExecReload = "${pkgs.coreutils}/bin/kill -SIGHUP $MAINPID";
|
ExecReload = "${pkgs.coreutils}/bin/kill -SIGHUP $MAINPID";
|
||||||
|
StateDirectory = "vault";
|
||||||
|
# In `dev` mode vault will put its token here
|
||||||
|
Environment = lib.optional (cfg.dev) "HOME=/var/lib/vault";
|
||||||
PrivateDevices = true;
|
PrivateDevices = true;
|
||||||
PrivateTmp = true;
|
PrivateTmp = true;
|
||||||
ProtectSystem = "full";
|
ProtectSystem = "full";
|
||||||
|
|
|
@ -136,7 +136,7 @@ in
|
||||||
|
|
||||||
${pkgs.sqlite}/bin/sqlite3 ${appDb} "update settings set ${settings}"
|
${pkgs.sqlite}/bin/sqlite3 ${appDb} "update settings set ${settings}"
|
||||||
'' + optionalString (cfg.options.calibreLibrary != null) ''
|
'' + optionalString (cfg.options.calibreLibrary != null) ''
|
||||||
test -f ${cfg.options.calibreLibrary}/metadata.db || { echo "Invalid Calibre library"; exit 1; }
|
test -f "${cfg.options.calibreLibrary}/metadata.db" || { echo "Invalid Calibre library"; exit 1; }
|
||||||
''
|
''
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -590,6 +590,7 @@ in {
|
||||||
uwsgi = handleTest ./uwsgi.nix {};
|
uwsgi = handleTest ./uwsgi.nix {};
|
||||||
v2ray = handleTest ./v2ray.nix {};
|
v2ray = handleTest ./v2ray.nix {};
|
||||||
vault = handleTest ./vault.nix {};
|
vault = handleTest ./vault.nix {};
|
||||||
|
vault-dev = handleTest ./vault-dev.nix {};
|
||||||
vault-postgresql = handleTest ./vault-postgresql.nix {};
|
vault-postgresql = handleTest ./vault-postgresql.nix {};
|
||||||
vaultwarden = handleTest ./vaultwarden.nix {};
|
vaultwarden = handleTest ./vaultwarden.nix {};
|
||||||
vector = handleTest ./vector.nix {};
|
vector = handleTest ./vector.nix {};
|
||||||
|
|
|
@ -1335,7 +1335,7 @@ mapAttrs
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with maintainers; {
|
meta = with maintainers; {
|
||||||
maintainers = [ willibutz elseym ];
|
maintainers = [ willibutz ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
)))
|
)))
|
||||||
|
|
35
nixos/tests/vault-dev.nix
Normal file
35
nixos/tests/vault-dev.nix
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
import ./make-test-python.nix ({ pkgs, ... }:
|
||||||
|
{
|
||||||
|
name = "vault-dev";
|
||||||
|
meta = with pkgs.lib.maintainers; {
|
||||||
|
maintainers = [ lnl7 mic92 ];
|
||||||
|
};
|
||||||
|
nodes.machine = { pkgs, config, ... }: {
|
||||||
|
environment.systemPackages = [ pkgs.vault ];
|
||||||
|
environment.variables.VAULT_ADDR = "http://127.0.0.1:8200";
|
||||||
|
environment.variables.VAULT_TOKEN = "phony-secret";
|
||||||
|
|
||||||
|
services.vault = {
|
||||||
|
enable = true;
|
||||||
|
dev = true;
|
||||||
|
devRootTokenID = config.environment.variables.VAULT_TOKEN;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
testScript = ''
|
||||||
|
import json
|
||||||
|
start_all()
|
||||||
|
machine.wait_for_unit("multi-user.target")
|
||||||
|
machine.wait_for_unit("vault.service")
|
||||||
|
machine.wait_for_open_port(8200)
|
||||||
|
out = machine.succeed("vault status -format=json")
|
||||||
|
print(out)
|
||||||
|
status = json.loads(out)
|
||||||
|
assert status.get("initialized") == True
|
||||||
|
machine.succeed("vault kv put secret/foo bar=baz")
|
||||||
|
out = machine.succeed("vault kv get -format=json secret/foo")
|
||||||
|
print(out)
|
||||||
|
status = json.loads(out)
|
||||||
|
assert status.get("data", {}).get("data", {}).get("bar") == "baz"
|
||||||
|
'';
|
||||||
|
})
|
|
@ -2,6 +2,7 @@
|
||||||
, stdenv
|
, stdenv
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, makeWrapper
|
||||||
, dbus
|
, dbus
|
||||||
, ffmpeg
|
, ffmpeg
|
||||||
, x264
|
, x264
|
||||||
|
@ -11,6 +12,7 @@
|
||||||
, libdrm
|
, libdrm
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, pango
|
, pango
|
||||||
|
, pipewire
|
||||||
, cmake
|
, cmake
|
||||||
, autoconf
|
, autoconf
|
||||||
, libtool
|
, libtool
|
||||||
|
@ -23,13 +25,13 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "weylus";
|
pname = "weylus";
|
||||||
version = "0.11.4";
|
version = "unstable-2022-06-07";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "H-M-H";
|
owner = "H-M-H";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "b169a6be2bf3e8d105273d92f032cca5438de53a";
|
||||||
sha256 = "0gq2czxvahww97j4i3k18np29zl6wx85f8253wn3ibqrpfnklz6l";
|
sha256 = "sha256-J9eVFIfmyBviVuT1MYKb5yoacbPqOAT3A8jahWv5qw8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -62,17 +64,27 @@ rustPlatform.buildRustPackage rec {
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
nodePackages.typescript
|
nodePackages.typescript
|
||||||
|
makeWrapper
|
||||||
] ++ lib.optionals stdenv.isLinux [
|
] ++ lib.optionals stdenv.isLinux [
|
||||||
pkg-config
|
pkg-config
|
||||||
autoconf
|
autoconf
|
||||||
libtool
|
libtool
|
||||||
];
|
];
|
||||||
|
|
||||||
cargoSha256 = "1pigmch0sy9ipsafd83b8q54xwqjxdaif363n1q8n46arq4v81j0";
|
cargoSha256 = "sha256-R46RSRdtfqi1PRQ0MaSIIqtj+Pr3yikm6NeMwwu1CSw=";
|
||||||
|
|
||||||
cargoBuildFlags = [ "--features=ffmpeg-system" ];
|
cargoBuildFlags = [ "--features=ffmpeg-system" ];
|
||||||
cargoTestFlags = [ "--features=ffmpeg-system" ];
|
cargoTestFlags = [ "--features=ffmpeg-system" ];
|
||||||
|
|
||||||
|
postFixup = let
|
||||||
|
GST_PLUGIN_PATH = lib.makeSearchPathOutput "lib" "lib/gstreamer-1.0" [
|
||||||
|
gst_all_1.gst-plugins-base
|
||||||
|
pipewire
|
||||||
|
];
|
||||||
|
in lib.optionalString stdenv.isLinux ''
|
||||||
|
wrapProgram $out/bin/weylus --prefix GST_PLUGIN_PATH : ${GST_PLUGIN_PATH}
|
||||||
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
install -vDm755 weylus.desktop $out/share/applications/weylus.desktop
|
install -vDm755 weylus.desktop $out/share/applications/weylus.desktop
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -1,17 +1,8 @@
|
||||||
{ lib, buildGoModule, kubernetes }:
|
{ lib, kubernetes }:
|
||||||
|
|
||||||
buildGoModule rec {
|
kubernetes.overrideAttrs (_: rec {
|
||||||
pname = "kubectl";
|
pname = "kubectl";
|
||||||
|
|
||||||
inherit (kubernetes)
|
|
||||||
buildPhase
|
|
||||||
doCheck
|
|
||||||
nativeBuildInputs
|
|
||||||
src
|
|
||||||
vendorSha256
|
|
||||||
version
|
|
||||||
;
|
|
||||||
|
|
||||||
outputs = [ "out" "man" "convert" ];
|
outputs = [ "out" "man" "convert" ];
|
||||||
|
|
||||||
WHAT = lib.concatStringsSep " " [
|
WHAT = lib.concatStringsSep " " [
|
||||||
|
@ -38,4 +29,4 @@ buildGoModule rec {
|
||||||
homepage = "https://github.com/kubernetes/kubectl";
|
homepage = "https://github.com/kubernetes/kubectl";
|
||||||
platforms = lib.platforms.unix;
|
platforms = lib.platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
|
@ -1,40 +1,57 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config, ncurses, glib, openssl, perl, libintl, libgcrypt, libotr, git }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, glib
|
||||||
|
, libgcrypt
|
||||||
|
, libintl
|
||||||
|
, libotr
|
||||||
|
, libtool
|
||||||
|
, meson
|
||||||
|
, ncurses
|
||||||
|
, ninja
|
||||||
|
, openssl
|
||||||
|
, perl
|
||||||
|
, pkg-config
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "irssi";
|
pname = "irssi";
|
||||||
version = "1.2.3";
|
version = "1.4.1";
|
||||||
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
"owner" = "irssi";
|
owner = "irssi";
|
||||||
"repo" = "irssi";
|
repo = "irssi";
|
||||||
"rev" = "91dc3e4dfa1a9558c5a7fe0ea982cb9df0e2de65";
|
rev = version;
|
||||||
"sha256" = "efnE4vuDd7TnOBxMPduiV0/nez1jVhTjbJ0vzN4ZMcg=";
|
hash = "sha256-HLcIhAZoJfCHoSNQCpoytBR0zmiZd919FcKWCl35G0A=";
|
||||||
"leaveDotGit" = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config autoconf automake libtool git ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [ ncurses glib openssl perl libintl libgcrypt libotr ];
|
meson
|
||||||
|
ninja
|
||||||
enableParallelBuilding = true;
|
pkg-config
|
||||||
|
|
||||||
preConfigure = ''
|
|
||||||
NOCONFIGURE=1 ./autogen.sh
|
|
||||||
'';
|
|
||||||
|
|
||||||
configureFlags = [
|
|
||||||
"--with-proxy"
|
|
||||||
"--with-bot"
|
|
||||||
"--with-perl=yes"
|
|
||||||
"--with-otr=yes"
|
|
||||||
"--enable-true-color"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
buildInputs = [
|
||||||
|
glib
|
||||||
|
libgcrypt
|
||||||
|
libintl
|
||||||
|
libotr
|
||||||
|
ncurses
|
||||||
|
openssl
|
||||||
|
perl
|
||||||
|
];
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"-Dwith-proxy=yes"
|
||||||
|
"-Dwith-bot=yes"
|
||||||
|
"-Dwith-perl=yes"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Terminal based IRC client";
|
||||||
homepage = "https://irssi.org";
|
homepage = "https://irssi.org";
|
||||||
description = "A terminal based IRC client";
|
license = licenses.gpl2Plus;
|
||||||
platforms = lib.platforms.unix;
|
maintainers = with maintainers; [ fab lovek323 ];
|
||||||
maintainers = with lib.maintainers; [ lovek323 ];
|
platforms = platforms.unix;
|
||||||
license = lib.licenses.gpl2Plus;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "nextcloud-client";
|
pname = "nextcloud-client";
|
||||||
version = "3.5.1";
|
version = "3.5.2";
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ mkDerivation rec {
|
||||||
owner = "nextcloud";
|
owner = "nextcloud";
|
||||||
repo = "desktop";
|
repo = "desktop";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-/Bz3vkV4+ZFlGBNtkLIGsBk51a3wxy32U1KYcA3awcw=";
|
sha256 = "sha256-lNsAdYErd3m1bNhvSDVJ5Rfqt8lutNJ1+2DCmntL6pM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
|
|
@ -4,16 +4,16 @@ let
|
||||||
common = { stname, target, postInstall ? "" }:
|
common = { stname, target, postInstall ? "" }:
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = stname;
|
pname = stname;
|
||||||
version = "1.20.2";
|
version = "1.20.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "syncthing";
|
owner = "syncthing";
|
||||||
repo = "syncthing";
|
repo = "syncthing";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-U9sM7c2jCEVzTLBawRQGXZTS0jYbFH3OVFk7IkWk2bo=";
|
hash = "sha256-8sxCTPFdf5VDysANUYqic6zq5gipTL6wmPXstJc+6bA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-NuiT2GytWaGkgSyl+qoe9DjCCL7wSHc6FU8C6rsy6Vc=";
|
vendorSha256 = "sha256-CJFKY69Iz8GrVpvUdDveMQQFj6RXApfgYjP7B1wfgfo=";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
|
|
@ -8,57 +8,24 @@
|
||||||
, enableSSH ? false
|
, enableSSH ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
python3.pkgs.buildPythonApplication rec {
|
||||||
py = python3.override {
|
|
||||||
packageOverrides = self: super: {
|
|
||||||
|
|
||||||
grandalf = super.grandalf.overridePythonAttrs (oldAttrs: rec {
|
|
||||||
version = "0.6";
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "bdcht";
|
|
||||||
repo = "grandalf";
|
|
||||||
rev = "v${version}";
|
|
||||||
hash = "sha256-T4pVzjz1WbfBA2ybN4IRK73PD/eb83YUW0BZrBESNLg=";
|
|
||||||
};
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace setup.py \
|
|
||||||
--replace "setup_requires=['pytest-runner',]," ""
|
|
||||||
'';
|
|
||||||
});
|
|
||||||
|
|
||||||
scmrepo = super.scmrepo.overridePythonAttrs (oldAttrs: rec {
|
|
||||||
version = "0.0.19";
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "iterative";
|
|
||||||
repo = "scmrepo";
|
|
||||||
rev = "refs/tags/${version}";
|
|
||||||
hash = "sha256-f/KV3NfIumkZcg9r421QhdyPU/274aAU4b78myi+fFY=";
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
};
|
|
||||||
};
|
|
||||||
in
|
|
||||||
with py.pkgs;
|
|
||||||
|
|
||||||
buildPythonApplication rec {
|
|
||||||
pname = "dvc";
|
pname = "dvc";
|
||||||
version = "2.10.2";
|
version = "2.12.0";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "iterative";
|
owner = "iterative";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-boaQSg0jajWQZKB5wvcP2musVR2/pifT4pU64Y5hiQ0=";
|
hash = "sha256-d1Tjqomr8Lcf+X+LZgi0wHlxXBUqHq/nAzDBbrxHAl4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = with py.pkgs; [
|
nativeBuildInputs = with python3.pkgs; [
|
||||||
setuptools-scm
|
setuptools-scm
|
||||||
setuptools-scm-git-archive
|
setuptools-scm-git-archive
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = with py.pkgs; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
aiohttp-retry
|
aiohttp-retry
|
||||||
appdirs
|
appdirs
|
||||||
colorama
|
colorama
|
||||||
|
@ -69,6 +36,7 @@ buildPythonApplication rec {
|
||||||
distro
|
distro
|
||||||
dpath
|
dpath
|
||||||
dvclive
|
dvclive
|
||||||
|
dvc-data
|
||||||
dvc-render
|
dvc-render
|
||||||
flatten-dict
|
flatten-dict
|
||||||
flufl_lock
|
flufl_lock
|
||||||
|
@ -97,13 +65,17 @@ buildPythonApplication rec {
|
||||||
voluptuous
|
voluptuous
|
||||||
zc_lockfile
|
zc_lockfile
|
||||||
] ++ lib.optional enableGoogle [
|
] ++ lib.optional enableGoogle [
|
||||||
|
gcsfs
|
||||||
google-cloud-storage
|
google-cloud-storage
|
||||||
] ++ lib.optional enableAWS [
|
] ++ lib.optional enableAWS [
|
||||||
|
aiobotocore
|
||||||
boto3
|
boto3
|
||||||
|
s3fs
|
||||||
] ++ lib.optional enableAzure [
|
] ++ lib.optional enableAzure [
|
||||||
azure-storage-blob
|
azure-identity
|
||||||
|
knack
|
||||||
] ++ lib.optional enableSSH [
|
] ++ lib.optional enableSSH [
|
||||||
paramiko
|
bcrypt
|
||||||
] ++ lib.optionals (pythonOlder "3.8") [
|
] ++ lib.optionals (pythonOlder "3.8") [
|
||||||
importlib-metadata
|
importlib-metadata
|
||||||
] ++ lib.optionals (pythonOlder "3.9") [
|
] ++ lib.optionals (pythonOlder "3.9") [
|
||||||
|
@ -111,6 +83,11 @@ buildPythonApplication rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
substituteInPlace setup.cfg \
|
||||||
|
--replace "grandalf==0.6" "grandalf" \
|
||||||
|
--replace "scmrepo==0.0.25" "scmrepo" \
|
||||||
|
--replace "dvc-data==0.0.16" "dvc-data" \
|
||||||
|
--replace "dvc-render==0.0.6" "dvc-render"
|
||||||
substituteInPlace dvc/daemon.py \
|
substituteInPlace dvc/daemon.py \
|
||||||
--subst-var-by dvc "$out/bin/dcv"
|
--subst-var-by dvc "$out/bin/dcv"
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -24,6 +24,9 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ autoreconfHook ];
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
buildInputs = lib.optionals (!stdenv.hostPlatform.isMusl) [ glibc glibc.static ];
|
buildInputs = lib.optionals (!stdenv.hostPlatform.isMusl) [ glibc glibc.static ];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
doInstallCheck = true;
|
doInstallCheck = true;
|
||||||
installCheckPhase = ''
|
installCheckPhase = ''
|
||||||
readelf -d $out/bin/catatonit | grep 'There is no dynamic section in this file.'
|
readelf -d $out/bin/catatonit | grep 'There is no dynamic section in this file.'
|
||||||
|
|
|
@ -33,6 +33,9 @@ stdenv.mkDerivation rec {
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
passthru.tests = { inherit (nixosTests) cri-o podman; };
|
passthru.tests = { inherit (nixosTests) cri-o podman; };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -65,6 +65,7 @@ stdenv.mkDerivation rec {
|
||||||
++ lib.optional (lib.elem stdenv.hostPlatform.system criu.meta.platforms) criu;
|
++ lib.optional (lib.elem stdenv.hostPlatform.system criu.meta.platforms) criu;
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
# we need this before autoreconfHook does its thing in order to initialize
|
# we need this before autoreconfHook does its thing in order to initialize
|
||||||
# config.h with the correct values
|
# config.h with the correct values
|
||||||
|
|
|
@ -30,11 +30,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "polari";
|
pname = "polari";
|
||||||
version = "42.0";
|
version = "42.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "WPFbv1tCwLASPv3td1cR07DyRJl1cwlAOMpVZGHgSTw=";
|
sha256 = "r5DPCEjsvkB+sjBkBINpdP048xww1HT0bRspIYqWaz0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
|
|
@ -13,11 +13,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-shell-extensions";
|
pname = "gnome-shell-extensions";
|
||||||
version = "42.2";
|
version = "42.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gnome-shell-extensions/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/gnome-shell-extensions/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "ZXGEQKocLxe7CSIv+AJpn2Qf1RJ5Ih8EyxkZOWjsCzA=";
|
sha256 = "DsK+oy6fKKyAWJH2ExlNSPwMCR8JxIMTBlo4hPcic/w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
|
|
@ -67,13 +67,13 @@ let
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-shell";
|
pname = "gnome-shell";
|
||||||
version = "42.2";
|
version = "42.3.1";
|
||||||
|
|
||||||
outputs = [ "out" "devdoc" ];
|
outputs = [ "out" "devdoc" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gnome-shell/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/gnome-shell/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "Z+sTzRdeIDGoOMzqkukDdK4OnMumFoP7rNZ/9q/dWQ4=";
|
sha256 = "ffqzLfrDzWTUYSkYyph8+zMjjvoJJ5h1PIhF/xaTX30=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
|
|
@ -46,13 +46,13 @@
|
||||||
|
|
||||||
let self = stdenv.mkDerivation rec {
|
let self = stdenv.mkDerivation rec {
|
||||||
pname = "mutter";
|
pname = "mutter";
|
||||||
version = "42.2";
|
version = "42.3";
|
||||||
|
|
||||||
outputs = [ "out" "dev" "man" ];
|
outputs = [ "out" "dev" "man" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/mutter/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/mutter/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "vTDXi+fRcAE6CovMg3zsXubETXcP8AZ03N/CizQms0w=";
|
sha256 = "naOmP5AoK7WUZ+fT39xoTnD6BVNX9qLd7R25jNzOELo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
|
|
@ -8,14 +8,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aiopg";
|
pname = "aiopg";
|
||||||
version = "1.3.3";
|
version = "1.3.4";
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "aio-libs";
|
owner = "aio-libs";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-GHKsI6JATiwUg+YlGhWPBqtYl+GyXWNiDi/hzPDl2hE=";
|
sha256 = "sha256-WzyBgUxqxLvyNNMoRO2FuLxAyNvhBrA7U5eZqHxaL4Q=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -13,6 +13,6 @@ buildPythonPackage rec {
|
||||||
description = "Python wrapper for the portable curve25519-donna implementation";
|
description = "Python wrapper for the portable curve25519-donna implementation";
|
||||||
homepage = "http://code.google.com/p/curve25519-donna/";
|
homepage = "http://code.google.com/p/curve25519-donna/";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ elseym ];
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "0.20.43";
|
version = "0.20.44";
|
||||||
pname = "dulwich";
|
pname = "dulwich";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-/MIWTgE7OQqe46EJ1+97ldjeKDsueJuwfpSqMRXjKeo=";
|
hash = "sha256-EOjXN2PdMMhqmaFa3ov886uP6WUyzfSX6MsdEYMjUrg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
LC_ALL = "en_US.UTF-8";
|
LC_ALL = "en_US.UTF-8";
|
||||||
|
|
63
pkgs/development/python-modules/dvc-data/default.nix
Normal file
63
pkgs/development/python-modules/dvc-data/default.nix
Normal file
|
@ -0,0 +1,63 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, dictdiffer
|
||||||
|
, diskcache
|
||||||
|
, dvc-objects
|
||||||
|
, fetchFromGitHub
|
||||||
|
, funcy
|
||||||
|
, nanotime
|
||||||
|
, pygtrie
|
||||||
|
, pythonOlder
|
||||||
|
, shortuuid
|
||||||
|
, setuptools-scm
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "dvc-data";
|
||||||
|
version = "0.0.18";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "iterative";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-jS+96LjHJyhkCREjMhhlWOlvRBhjiKmfNtEcBVS+YCU=";
|
||||||
|
};
|
||||||
|
|
||||||
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
setuptools-scm
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
dictdiffer
|
||||||
|
diskcache
|
||||||
|
dvc-objects
|
||||||
|
funcy
|
||||||
|
nanotime
|
||||||
|
pygtrie
|
||||||
|
shortuuid
|
||||||
|
];
|
||||||
|
|
||||||
|
# Tests depend on upath which is unmaintained and only available as wheel
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.cfg \
|
||||||
|
--replace "dvc-objects==" "dvc-objects>="
|
||||||
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"dvc_data"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "DVC's data management subsystem";
|
||||||
|
homepage = "https://github.com/iterative/dvc-data";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
62
pkgs/development/python-modules/dvc-objects/default.nix
Normal file
62
pkgs/development/python-modules/dvc-objects/default.nix
Normal file
|
@ -0,0 +1,62 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, flatten-dict
|
||||||
|
, fsspec
|
||||||
|
, funcy
|
||||||
|
, pygtrie
|
||||||
|
, pytest-mock
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, setuptools-scm
|
||||||
|
, shortuuid
|
||||||
|
, tqdm
|
||||||
|
, typing-extensions
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "dvc-objects";
|
||||||
|
version = "0.0.18";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "iterative";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-mkL+E+PQqm+L7ejccJ0FFpXmIsi26KzfBnzlSuaC3ds=";
|
||||||
|
};
|
||||||
|
|
||||||
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
setuptools-scm
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
flatten-dict
|
||||||
|
fsspec
|
||||||
|
funcy
|
||||||
|
pygtrie
|
||||||
|
shortuuid
|
||||||
|
tqdm
|
||||||
|
typing-extensions
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytest-mock
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"dvc_objects"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Library for DVC objects";
|
||||||
|
homepage = "https://github.com/iterative/dvc-objects";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -6,6 +6,7 @@
|
||||||
, pytest-mock
|
, pytest-mock
|
||||||
, pytest-test-utils
|
, pytest-test-utils
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, setuptools-scm
|
||||||
, tabulate
|
, tabulate
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -23,6 +24,12 @@ buildPythonPackage rec {
|
||||||
hash = "sha256-l0efiCLoOVuSYoHWYYyu8FT1yosdFl6BeogzJyNKltw=";
|
hash = "sha256-l0efiCLoOVuSYoHWYYyu8FT1yosdFl6BeogzJyNKltw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
setuptools-scm
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
funcy
|
funcy
|
||||||
tabulate
|
tabulate
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "hahomematic";
|
pname = "hahomematic";
|
||||||
version = "1.9.3";
|
version = "1.9.4";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.9";
|
disabled = pythonOlder "3.9";
|
||||||
|
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||||
owner = "danielperna84";
|
owner = "danielperna84";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
sha256 = "sha256-UiyvhJ+F9kxsL5O0sP70GreFsrjTpz852xUmrnJd+ps=";
|
sha256 = "sha256-swi9m2vM573h+im3p97DT73LtalipoCnGMbcnBFyCfw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "mcstatus";
|
pname = "mcstatus";
|
||||||
version = "9.1.0";
|
version = "9.2.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||||
owner = "py-mine";
|
owner = "py-mine";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-qKQs0uGPMUtueOryVzFk37Th+N9vmApr/IzJ6jZI2Ic=";
|
hash = "sha256-poq/8+gRlKtrYpuLHmkPgS6OTTMTMaQw9rS1V2sfd6w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -20,6 +20,6 @@ buildPythonPackage rec {
|
||||||
description = "A python interface for Nanoleaf Aurora lighting";
|
description = "A python interface for Nanoleaf Aurora lighting";
|
||||||
homepage = "https://github.com/software-2/nanoleaf";
|
homepage = "https://github.com/software-2/nanoleaf";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ elseym ];
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,12 +6,12 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "phonenumbers";
|
pname = "phonenumbers";
|
||||||
version = "8.12.49";
|
version = "8.12.51";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-xpFmFhXr3JC+/0WPj798C/t48hoKpAolbMK6baQeOTs=";
|
hash = "sha256-nUqUYBJ//SiK4HHdH3lC4jKdpbXF1X2Kq+cQNCfKfL8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
|
|
@ -78,6 +78,6 @@ buildPythonPackage rec {
|
||||||
description = "Python client library for the Apple TV";
|
description = "Python client library for the Apple TV";
|
||||||
homepage = "https://github.com/postlund/pyatv";
|
homepage = "https://github.com/postlund/pyatv";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ elseym ];
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,6 +36,6 @@ buildPythonPackage rec {
|
||||||
description = "Python module for interacting with Neato Botvac Connected vacuum robots";
|
description = "Python module for interacting with Neato Botvac Connected vacuum robots";
|
||||||
homepage = "https://github.com/stianaske/pybotvac";
|
homepage = "https://github.com/stianaske/pybotvac";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ elseym ];
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyhumps";
|
pname = "pyhumps";
|
||||||
version = "3.7.1";
|
version = "3.7.2";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||||
owner = "nficano";
|
owner = "nficano";
|
||||||
repo = "humps";
|
repo = "humps";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-MxynGgl0bgRUNPdyGqtEpIo1OFEKsSfXFiG4lAL0aPQ=";
|
hash = "sha256-nxiNYBpbX2GfzYj+DdU89bsyEHDnrKZIAGZY7ut/P6I=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -33,8 +33,8 @@ buildPythonPackage rec {
|
||||||
# Fix naming, https://github.com/nficano/humps/pull/246
|
# Fix naming, https://github.com/nficano/humps/pull/246
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
name = "fix-naming.patch";
|
name = "fix-naming.patch";
|
||||||
url = "https://github.com/nficano/humps/commit/04739529247ec6c6715a0242a209863d8c66a24d.patch";
|
url = "https://github.com/nficano/humps/commit/8c7de2040e3610760c4df604cdbe849a9b7f0074.patch";
|
||||||
sha256 = "sha256-6nCKO8BHSPXuT5pE/T/6Dsb6qKVdtRV22Ijbbgtm6ao=";
|
sha256 = "sha256-dNgPAOxPdCwDteobP4G2/GiVj/Xg+m7u/Or92vo8ilk=";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -1,23 +1,31 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pysmt";
|
pname = "pysmt";
|
||||||
version = "0.9.1.dev132";
|
version = "0.9.5";
|
||||||
format = "wheel"; # dev versions are only distributed as wheels
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchPypi {
|
disabled = pythonOlder "3.7";
|
||||||
pname = "PySMT";
|
|
||||||
inherit format version;
|
src = fetchFromGitHub {
|
||||||
sha256 = "01iqs7yzms3alf1rdv0gnsnmfp7g8plkjcdqbari258zp4llf6x7";
|
owner = "pysmt";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-cE+WmKzggYof/olxQb5M7xPsBONr39KdjOTG4ofYPUM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# No tests present, only GitHub release which is 0.9.0
|
checkInputs = [
|
||||||
doCheck = false;
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "pysmt" ];
|
pythonImportsCheck = [
|
||||||
|
"pysmt"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python library for SMT formulae manipulation and solving";
|
description = "Python library for SMT formulae manipulation and solving";
|
||||||
|
|
|
@ -33,6 +33,6 @@ buildPythonPackage rec {
|
||||||
description = "Python binding for Tado web API";
|
description = "Python binding for Tado web API";
|
||||||
homepage = "https://github.com/wmalgadey/PyTado";
|
homepage = "https://github.com/wmalgadey/PyTado";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
maintainers = with maintainers; [ elseym ];
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,11 +9,11 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-whois";
|
pname = "python-whois";
|
||||||
version = "0.7.3";
|
version = "0.8.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "05jaxbnlw5wck0hl124py364jqrx7a4mmv0hy3d2jzvmp0012sk5";
|
sha256 = "sha256-3TNtNRfqzip2iUBtt7uWraPF50MnQjFRru4+ZCJfYiA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ future ];
|
propagatedBuildInputs = [ future ];
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, kerberos
|
|
||||||
, mock
|
, mock
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, requests
|
, requests
|
||||||
|
@ -27,7 +26,6 @@ buildPythonPackage rec {
|
||||||
requests
|
requests
|
||||||
requests_ntlm
|
requests_ntlm
|
||||||
six
|
six
|
||||||
kerberos
|
|
||||||
xmltodict
|
xmltodict
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,6 @@ buildPythonPackage rec {
|
||||||
description = "Python-Tools to implement Secure Remote Password (SRP) authentication";
|
description = "Python-Tools to implement Secure Remote Password (SRP) authentication";
|
||||||
homepage = "https://github.com/idlesign/srptools";
|
homepage = "https://github.com/idlesign/srptools";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ elseym ];
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,14 +15,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "typer";
|
pname = "typer";
|
||||||
version = "0.4.1";
|
version = "0.4.2";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-Vkau8Nk2ssdhoQOT8DhO5rXH/guz5c1xCxcTTKHZnP8=";
|
sha256 = "sha256-uCYcbAFS3XNHi1upa6Z35daUjHFcMQ98kQefMR9i7AM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, numpy
|
, numpy
|
||||||
|
, packaging
|
||||||
, pandas
|
, pandas
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
@ -30,6 +31,7 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
numpy
|
numpy
|
||||||
|
packaging
|
||||||
pandas
|
pandas
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
buildLinux (args // rec {
|
buildLinux (args // rec {
|
||||||
version = "4.14.285";
|
version = "4.14.286";
|
||||||
|
|
||||||
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||||
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
|
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
|
||||||
|
@ -13,6 +13,6 @@ buildLinux (args // rec {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
||||||
sha256 = "0ynkcq2cm0q2qcmll1jg76msfa2a186xy5rv81ahfvylbjdkijfs";
|
sha256 = "1x26fys9c2zai69wvvwpcxhdbbl02vijn4h7g6k6nq4y36fvkfyx";
|
||||||
};
|
};
|
||||||
} // (args.argsOverride or {}))
|
} // (args.argsOverride or {}))
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
buildLinux (args // rec {
|
buildLinux (args // rec {
|
||||||
version = "4.19.249";
|
version = "4.19.250";
|
||||||
|
|
||||||
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||||
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
|
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
|
||||||
|
@ -13,6 +13,6 @@ buildLinux (args // rec {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
||||||
sha256 = "14aiypira32hsw7wy9bhdw9rvfn705r0sb4415n9pfvi091bsjyf";
|
sha256 = "0p3mnl49708inhnrh461s6cnyn20qsqb9dw541h7crgsyd30mqvf";
|
||||||
};
|
};
|
||||||
} // (args.argsOverride or {}))
|
} // (args.argsOverride or {}))
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{ buildPackages, fetchurl, perl, buildLinux, nixosTests, stdenv, ... } @ args:
|
{ buildPackages, fetchurl, perl, buildLinux, nixosTests, stdenv, ... } @ args:
|
||||||
|
|
||||||
buildLinux (args // rec {
|
buildLinux (args // rec {
|
||||||
version = "4.9.320";
|
version = "4.9.321";
|
||||||
extraMeta.branch = "4.9";
|
extraMeta.branch = "4.9";
|
||||||
extraMeta.broken = stdenv.isAarch64;
|
extraMeta.broken = stdenv.isAarch64;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
||||||
sha256 = "16wq86i8ch488372v94r88xr9anda477d46xq43wkpmbj912gn9h";
|
sha256 = "1kb976lgikv1qa2pd7spdhmf1l97ip5i1k1kw7j6r7y8f7bwnznl";
|
||||||
};
|
};
|
||||||
} // (args.argsOverride or {}))
|
} // (args.argsOverride or {}))
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
buildLinux (args // rec {
|
buildLinux (args // rec {
|
||||||
version = "5.10.127";
|
version = "5.10.128";
|
||||||
|
|
||||||
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||||
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
|
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
|
||||||
|
@ -13,6 +13,6 @@ buildLinux (args // rec {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
|
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
|
||||||
sha256 = "100m4b6w1kbc1lc3gwlmkp8xl42xai0v5wdbx0mxrq8y1gp374j1";
|
sha256 = "0jyk3is94c3xin48saqywfr66iwqvzqq1rs5px4zkpfp139fjngc";
|
||||||
};
|
};
|
||||||
} // (args.argsOverride or {}))
|
} // (args.argsOverride or {}))
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
buildLinux (args // rec {
|
buildLinux (args // rec {
|
||||||
version = "5.15.51";
|
version = "5.15.52";
|
||||||
|
|
||||||
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||||
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
|
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
|
||||||
|
@ -13,6 +13,6 @@ buildLinux (args // rec {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
|
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
|
||||||
sha256 = "1229m4r4n61n5l8anp2pcqdhajkwmavhr1z00n8gvx3yn9w4ifhz";
|
sha256 = "01bdmgbl31nm0wg5mrzn6xgls4h5gig96mjrmn790npjm5fhls7l";
|
||||||
};
|
};
|
||||||
} // (args.argsOverride or { }))
|
} // (args.argsOverride or { }))
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
buildLinux (args // rec {
|
buildLinux (args // rec {
|
||||||
version = "5.18.8";
|
version = "5.18.9";
|
||||||
|
|
||||||
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||||
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
|
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
|
||||||
|
@ -13,6 +13,6 @@ buildLinux (args // rec {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
|
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
|
||||||
sha256 = "0dhaj1zcsr5sfg62byzvvkhm9j419px6v9v04ngcy0d0vc2yn8q8";
|
sha256 = "0g69ylrdb3khjnnz3v4m6xng49fzjlnvxfaqq77krznwrrpy50iq";
|
||||||
};
|
};
|
||||||
} // (args.argsOverride or { }))
|
} // (args.argsOverride or { }))
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
buildLinux (args // rec {
|
buildLinux (args // rec {
|
||||||
version = "5.4.202";
|
version = "5.4.203";
|
||||||
|
|
||||||
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||||
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
|
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
|
||||||
|
@ -13,6 +13,6 @@ buildLinux (args // rec {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
|
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
|
||||||
sha256 = "0gak58h5l2d8rmbmjw48460bgqi73yf1m7swsbbhfsmbkvhvr8aw";
|
sha256 = "12kr55nf6pmb0d52x5r3ilfssyqng9s8cpnbm9aglv062ddkz4zw";
|
||||||
};
|
};
|
||||||
} // (args.argsOverride or {}))
|
} // (args.argsOverride or {}))
|
||||||
|
|
|
@ -33,7 +33,7 @@ buildGoModule rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Open source Confluence alternative for internal & external docs built with Golang + EmberJS";
|
description = "Open source Confluence alternative for internal & external docs built with Golang + EmberJS";
|
||||||
license = licenses.agpl3;
|
license = licenses.agpl3;
|
||||||
maintainers = with maintainers; [ elseym ];
|
maintainers = with maintainers; [ ];
|
||||||
mainProgram = "documize";
|
mainProgram = "documize";
|
||||||
homepage = "https://www.documize.com/";
|
homepage = "https://www.documize.com/";
|
||||||
};
|
};
|
||||||
|
|
|
@ -77,7 +77,7 @@ stdenv.mkDerivation rec {
|
||||||
homepage = "https://freeradius.org/";
|
homepage = "https://freeradius.org/";
|
||||||
description = "A modular, high performance free RADIUS suite";
|
description = "A modular, high performance free RADIUS suite";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = with maintainers; [ sheenobu willibutz fpletz lheckemann elseym ];
|
maintainers = with maintainers; [ sheenobu willibutz fpletz lheckemann ];
|
||||||
platforms = with platforms; linux;
|
platforms = with platforms; linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,6 +25,6 @@ buildGoModule rec {
|
||||||
description = "Collect ALL UniFi Controller, Site, Device & Client Data - Export to InfluxDB or Prometheus";
|
description = "Collect ALL UniFi Controller, Site, Device & Client Data - Export to InfluxDB or Prometheus";
|
||||||
homepage = "https://github.com/unifi-poller/unifi-poller";
|
homepage = "https://github.com/unifi-poller/unifi-poller";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ elseym ];
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,26 +1,59 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
, fetchzip
|
, fetchzip
|
||||||
|
, mkYarnPackage
|
||||||
|
, baseUrl ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
mkYarnPackage rec {
|
||||||
pname = "synapse-admin";
|
pname = "synapse-admin";
|
||||||
version = "0.8.5";
|
version = "0.8.5";
|
||||||
|
src = fetchFromGitHub {
|
||||||
src = fetchzip {
|
owner = "Awesome-Technologies";
|
||||||
url = "https://github.com/Awesome-Technologies/synapse-admin/releases/download/${version}/synapse-admin-${version}.tar.gz";
|
repo = pname;
|
||||||
hash = "sha256-5wMKRaLMVJer6W2q2WuofgzVwr8Myi90DQ8tBVAoUX4=";
|
rev = version;
|
||||||
|
sha256 = "sha256-0miHtEJ5e8MaqGc4ezPvwhGjoCZyOE7md0DUCC/ZOfk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
yarnNix = ./yarn.nix;
|
||||||
cp -r . $out
|
yarnLock = ./yarn.lock;
|
||||||
|
packageJSON = ./package.json;
|
||||||
|
|
||||||
|
NODE_ENV = "production";
|
||||||
|
${if baseUrl != null then "REACT_APP_SERVER" else null} = baseUrl;
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
runHook preBuild
|
||||||
|
|
||||||
|
export HOME=$(mktemp -d)
|
||||||
|
pushd deps/synapse-admin
|
||||||
|
mv node_modules node_modules.bak
|
||||||
|
cp -r $(readlink -f node_modules.bak) node_modules
|
||||||
|
chmod +w node_modules
|
||||||
|
yarn --offline run build
|
||||||
|
popd
|
||||||
|
|
||||||
|
runHook postBuild
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
distPhase = ''
|
||||||
|
runHook preDist
|
||||||
|
|
||||||
|
mkdir -p $out
|
||||||
|
cp -r deps/synapse-admin/build/* $out
|
||||||
|
|
||||||
|
runHook postDist
|
||||||
|
'';
|
||||||
|
|
||||||
|
dontFixup = true;
|
||||||
|
dontInstall = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Admin UI for Synapse Homeservers";
|
description = "Admin UI for Synapse Homeservers";
|
||||||
homepage = "https://github.com/Awesome-Technologies/synapse-admin";
|
homepage = "https://github.com/Awesome-Technologies/synapse-admin";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
maintainers = with maintainers; [ mkg20001 ];
|
maintainers = with maintainers; [ mkg20001 ma27 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
61
pkgs/tools/admin/synapse-admin/package.json
Normal file
61
pkgs/tools/admin/synapse-admin/package.json
Normal file
|
@ -0,0 +1,61 @@
|
||||||
|
{
|
||||||
|
"name": "synapse-admin",
|
||||||
|
"version": "0.8.5",
|
||||||
|
"description": "Admin GUI for the Matrix.org server Synapse",
|
||||||
|
"author": "Awesome Technologies Innovationslabor GmbH",
|
||||||
|
"license": "Apache-2.0",
|
||||||
|
"homepage": ".",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/Awesome-Technologies/synapse-admin"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@testing-library/jest-dom": "^5.1.1",
|
||||||
|
"@testing-library/react": "^11.2.6",
|
||||||
|
"@testing-library/user-event": "^13.1.8",
|
||||||
|
"eslint": "^7.25.0",
|
||||||
|
"eslint-config-prettier": "^8.3.0",
|
||||||
|
"eslint-plugin-prettier": "^3.1.2",
|
||||||
|
"jest-fetch-mock": "^3.0.3",
|
||||||
|
"prettier": "^2.2.0",
|
||||||
|
"ra-test": "^3.15.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"papaparse": "^5.2.0",
|
||||||
|
"prop-types": "^15.7.2",
|
||||||
|
"ra-language-chinese": "^2.0.10",
|
||||||
|
"ra-language-german": "^3.13.4",
|
||||||
|
"react": "^17.0.0",
|
||||||
|
"react-admin": "^3.19.7",
|
||||||
|
"react-dom": "^17.0.2",
|
||||||
|
"react-scripts": "^4.0.0"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"start": "REACT_APP_VERSION=$(git describe --tags) react-scripts start",
|
||||||
|
"build": "REACT_APP_VERSION=$(git describe --tags) react-scripts build",
|
||||||
|
"fix:other": "yarn prettier --write",
|
||||||
|
"fix:code": "yarn test:lint --fix",
|
||||||
|
"fix": "yarn fix:code && yarn fix:other",
|
||||||
|
"prettier": "prettier --ignore-path .gitignore \"**/*.{js,jsx,json,md,scss,yaml,yml}\"",
|
||||||
|
"test:code": "react-scripts test",
|
||||||
|
"test:lint": "eslint --ignore-path .gitignore --ext .js,.jsx .",
|
||||||
|
"test:style": "yarn prettier --list-different",
|
||||||
|
"test": "yarn test:style && yarn test:lint && yarn test:code",
|
||||||
|
"eject": "react-scripts eject"
|
||||||
|
},
|
||||||
|
"eslintConfig": {
|
||||||
|
"extends": "react-app"
|
||||||
|
},
|
||||||
|
"browserslist": {
|
||||||
|
"production": [
|
||||||
|
">0.2%",
|
||||||
|
"not dead",
|
||||||
|
"not op_mini all"
|
||||||
|
],
|
||||||
|
"development": [
|
||||||
|
"last 1 chrome version",
|
||||||
|
"last 1 firefox version",
|
||||||
|
"last 1 safari version"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
12141
pkgs/tools/admin/synapse-admin/yarn.lock
Normal file
12141
pkgs/tools/admin/synapse-admin/yarn.lock
Normal file
File diff suppressed because it is too large
Load diff
12589
pkgs/tools/admin/synapse-admin/yarn.nix
Normal file
12589
pkgs/tools/admin/synapse-admin/yarn.nix
Normal file
File diff suppressed because it is too large
Load diff
|
@ -15,6 +15,9 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [ fuse3 ];
|
buildInputs = [ fuse3 ];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
passthru.tests = { inherit (nixosTests) podman; };
|
passthru.tests = { inherit (nixosTests) podman; };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -100,6 +100,6 @@ with python.pkgs; buildPythonApplication rec {
|
||||||
mit # The C++/runtime codebase of the ESPHome project (file extensions .c, .cpp, .h, .hpp, .tcc, .ino)
|
mit # The C++/runtime codebase of the ESPHome project (file extensions .c, .cpp, .h, .hpp, .tcc, .ino)
|
||||||
gpl3Only # The python codebase and all other parts of this codebase
|
gpl3Only # The python codebase and all other parts of this codebase
|
||||||
];
|
];
|
||||||
maintainers = with maintainers; [ globin elseym hexa ];
|
maintainers = with maintainers; [ globin hexa ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,6 +26,7 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [ glib libcap libseccomp libslirp ];
|
buildInputs = [ glib libcap libseccomp libslirp ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
passthru.tests = { inherit (nixosTests) podman; };
|
passthru.tests = { inherit (nixosTests) podman; };
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,6 @@ buildGoModule rec {
|
||||||
homepage = "https://termshark.io/";
|
homepage = "https://termshark.io/";
|
||||||
description = "A terminal UI for wireshark-cli, inspired by Wireshark";
|
description = "A terminal UI for wireshark-cli, inspired by Wireshark";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ winpat elseym ];
|
maintainers = with maintainers; [ winpat ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,6 +33,6 @@ buildGoModule rec {
|
||||||
description = "Userspace Go implementation of WireGuard";
|
description = "Userspace Go implementation of WireGuard";
|
||||||
homepage = "https://git.zx2c4.com/wireguard-go/about/";
|
homepage = "https://git.zx2c4.com/wireguard-go/about/";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ elseym kirelagin yana zx2c4 ];
|
maintainers = with maintainers; [ kirelagin yana zx2c4 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,7 +58,7 @@ stdenv.mkDerivation rec {
|
||||||
downloadPage = "https://git.zx2c4.com/wireguard-tools/refs/";
|
downloadPage = "https://git.zx2c4.com/wireguard-tools/refs/";
|
||||||
homepage = "https://www.wireguard.com/";
|
homepage = "https://www.wireguard.com/";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = with maintainers; [ elseym ericsagnes zx2c4 globin ma27 d-xo ];
|
maintainers = with maintainers; [ ericsagnes zx2c4 globin ma27 d-xo ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
|
||||||
, buildGoModule
|
, buildGoModule
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
|
@ -7,15 +6,15 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "chain-bench";
|
pname = "chain-bench";
|
||||||
version = "0.0.3";
|
version = "0.1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "aquasecurity";
|
owner = "aquasecurity";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-3cIJQ6MmdcC4u0AT8aBQtt0wko3af5Xm9xGE3k4mCIE=";
|
sha256 = "sha256-8KsEjVZJtQ4oj4UVM2TRzAOPUeUWKVwPM+8zLzsvLq0=";
|
||||||
};
|
};
|
||||||
vendorSha256 = "sha256-FBc1H5L458jPz+G4MlB8gMGkfaR+x1AZ6tmCVr2hMk8=";
|
vendorSha256 = "sha256-UWm6Bg6E6Vo6giztkPqCLaM7BBxJ+qmlXlYat3xlSYM=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
|
@ -54,9 +53,5 @@ buildGoModule rec {
|
||||||
'';
|
'';
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ jk ];
|
maintainers = with maintainers; [ jk ];
|
||||||
# TODO: see if this is an issue
|
|
||||||
# # Need updated macOS SDK
|
|
||||||
# # https://github.com/NixOS/nixpkgs/issues/101229
|
|
||||||
# broken = (stdenv.isDarwin && stdenv.isx86_64);
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,15 +6,15 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "kubescape";
|
pname = "kubescape";
|
||||||
version = "2.0.158";
|
version = "2.0.160";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "armosec";
|
owner = "armosec";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-bbTafsHllJQZ9Qn+qFnlr/AdU7NgB/vAvQGIgt/XDNQ=";
|
hash = "sha256-IQ80AnI+mHdZxqgVuZvDLO6LuhLdgRGu6Hyz1kJ2v38=";
|
||||||
};
|
};
|
||||||
vendorSha256 = "sha256-zj2gDx5333AguLs1Gzu3bYXslDwvPFSbMmOTOFxmq6A=";
|
vendorSha256 = "sha256-x+Sxe4fBhOvE5An0dIqL5q3eEKzNJwugToGZ8NZ5GGA=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
installShellFiles
|
installShellFiles
|
||||||
|
|
|
@ -38,7 +38,8 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Use default Python module
|
# Use default Python module
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace 'uuid = "^1.30"' ""
|
--replace 'uuid = "^1.30"' "" \
|
||||||
|
--replace 'python-whois = "^0.7.3"' 'python-whois = "*"'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
|
|
|
@ -38,7 +38,7 @@ buildGoModule rec {
|
||||||
--prefix PATH ${lib.makeBinPath [ gawk glibc ]}
|
--prefix PATH ${lib.makeBinPath [ gawk glibc ]}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.tests = { inherit (nixosTests) vault vault-postgresql; };
|
passthru.tests = { inherit (nixosTests) vault vault-postgresql vault-dev; };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://www.vaultproject.io/";
|
homepage = "https://www.vaultproject.io/";
|
||||||
|
|
|
@ -15,10 +15,6 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
sha256 = "sha256-nGAG+7FqEktc55i5Q2urKh52vm/i6kX4kvS2AVUAUjA=";
|
sha256 = "sha256-nGAG+7FqEktc55i5Q2urKh52vm/i6kX4kvS2AVUAUjA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = with python3.pkgs; [
|
|
||||||
pytest-runner
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
aiocache
|
aiocache
|
||||||
aiosqlite
|
aiosqlite
|
||||||
|
@ -30,6 +26,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
httpcore
|
httpcore
|
||||||
httpx
|
httpx
|
||||||
humanize
|
humanize
|
||||||
|
importlib-metadata
|
||||||
loguru
|
loguru
|
||||||
Mako
|
Mako
|
||||||
markupsafe
|
markupsafe
|
||||||
|
@ -37,8 +34,6 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
sqlalchemy
|
sqlalchemy
|
||||||
tld
|
tld
|
||||||
yaswfp
|
yaswfp
|
||||||
] ++ lib.optionals (python3.pythonOlder "3.8") [
|
|
||||||
importlib-metadata
|
|
||||||
] ++ httpx.optional-dependencies.brotli
|
] ++ httpx.optional-dependencies.brotli
|
||||||
++ httpx.optional-dependencies.socks;
|
++ httpx.optional-dependencies.socks;
|
||||||
|
|
||||||
|
@ -51,6 +46,8 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Ignore pinned versions
|
# Ignore pinned versions
|
||||||
sed -i -e "s/==[0-9.]*//;s/>=[0-9.]*//" setup.py
|
sed -i -e "s/==[0-9.]*//;s/>=[0-9.]*//" setup.py
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace '"pytest-runner"' ""
|
||||||
substituteInPlace setup.cfg \
|
substituteInPlace setup.cfg \
|
||||||
--replace " --cov --cov-report=xml" ""
|
--replace " --cov --cov-report=xml" ""
|
||||||
'';
|
'';
|
||||||
|
@ -119,8 +116,9 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
# TypeError: Expected bytes or bytes-like object got: <class 'str'>
|
# TypeError: Expected bytes or bytes-like object got: <class 'str'>
|
||||||
"test_persister_upload"
|
"test_persister_upload"
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTestPaths = [
|
disabledTestPaths = [
|
||||||
# requires sslyze
|
# Requires sslyze which is obsolete and was removed
|
||||||
"tests/attack/test_mod_ssl.py"
|
"tests/attack/test_mod_ssl.py"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -16063,7 +16063,9 @@ with pkgs;
|
||||||
|
|
||||||
kubeprompt = callPackage ../development/tools/kubeprompt { };
|
kubeprompt = callPackage ../development/tools/kubeprompt { };
|
||||||
|
|
||||||
kubescape = callPackage ../tools/security/kubescape { };
|
kubescape = callPackage ../tools/security/kubescape {
|
||||||
|
buildGoModule = buildGo118Module;
|
||||||
|
};
|
||||||
|
|
||||||
kubesec = callPackage ../tools/security/kubesec { };
|
kubesec = callPackage ../tools/security/kubesec { };
|
||||||
|
|
||||||
|
|
|
@ -2647,10 +2647,14 @@ in {
|
||||||
|
|
||||||
durus = callPackage ../development/python-modules/durus { };
|
durus = callPackage ../development/python-modules/durus { };
|
||||||
|
|
||||||
dvclive = callPackage ../development/python-modules/dvclive { };
|
dvc-data = callPackage ../development/python-modules/dvc-data { };
|
||||||
|
|
||||||
|
dvc-objects = callPackage ../development/python-modules/dvc-objects { };
|
||||||
|
|
||||||
dvc-render = callPackage ../development/python-modules/dvc-render { };
|
dvc-render = callPackage ../development/python-modules/dvc-render { };
|
||||||
|
|
||||||
|
dvclive = callPackage ../development/python-modules/dvclive { };
|
||||||
|
|
||||||
dwdwfsapi = callPackage ../development/python-modules/dwdwfsapi { };
|
dwdwfsapi = callPackage ../development/python-modules/dwdwfsapi { };
|
||||||
|
|
||||||
dyn = callPackage ../development/python-modules/dyn { };
|
dyn = callPackage ../development/python-modules/dyn { };
|
||||||
|
|
Loading…
Reference in a new issue