commit
7afa51c2bd
@ -0,0 +1,20 @@ |
||||
name: Basic evaluation checks |
||||
|
||||
on: |
||||
pull_request: |
||||
branches: |
||||
- master |
||||
- release-** |
||||
push: |
||||
branches: |
||||
- master |
||||
- release-** |
||||
jobs: |
||||
tests: |
||||
runs-on: ubuntu-latest |
||||
# we don't limit this action to only NixOS repo since the checks are cheap and useful developer feedback |
||||
steps: |
||||
- uses: actions/checkout@v2 |
||||
- uses: cachix/install-nix-action@v13 |
||||
# explicit list of supportedSystems is needed until aarch64-darwin becomes part of the trunk jobset |
||||
- run: nix-build pkgs/top-level/release.nix -A tarball.nixpkgs-basic-release-checks --arg supportedSystems '[ "aarch64-darwin" "aarch64-linux" "x86_64-linux" "x86_64-darwin" ]' |
@ -0,0 +1,265 @@ |
||||
{ config, lib, pkgs, utils, ... }: |
||||
with lib; |
||||
let |
||||
cfg = config.services.unifi-video; |
||||
mainClass = "com.ubnt.airvision.Main"; |
||||
cmd = '' |
||||
${pkgs.jsvc}/bin/jsvc \ |
||||
-cwd ${stateDir} \ |
||||
-debug \ |
||||
-verbose:class \ |
||||
-nodetach \ |
||||
-user unifi-video \ |
||||
-home ${cfg.jrePackage}/lib/openjdk \ |
||||
-cp ${pkgs.commonsDaemon}/share/java/commons-daemon-1.2.4.jar:${stateDir}/lib/airvision.jar \ |
||||
-pidfile ${cfg.pidFile} \ |
||||
-procname unifi-video \ |
||||
-Djava.security.egd=file:/dev/./urandom \ |
||||
-Xmx${cfg.maximumJavaHeapSize}M \ |
||||
-Xss512K \ |
||||
-XX:+UseG1GC \ |
||||
-XX:+UseStringDeduplication \ |
||||
-XX:MaxMetaspaceSize=768M \ |
||||
-Djava.library.path=${stateDir}/lib \ |
||||
-Djava.awt.headless=true \ |
||||
-Djavax.net.ssl.trustStore=${stateDir}/etc/ufv-truststore \ |
||||
-Dfile.encoding=UTF-8 \ |
||||
-Dav.tempdir=/var/cache/unifi-video |
||||
''; |
||||
|
||||
mongoConf = pkgs.writeTextFile { |
||||
name = "mongo.conf"; |
||||
executable = false; |
||||
text = '' |
||||
# for documentation of all options, see http://docs.mongodb.org/manual/reference/configuration-options/ |
||||
|
||||
storage: |
||||
dbPath: ${cfg.dataDir}/db |
||||
journal: |
||||
enabled: true |
||||
syncPeriodSecs: 60 |
||||
|
||||
systemLog: |
||||
destination: file |
||||
logAppend: true |
||||
path: ${stateDir}/logs/mongod.log |
||||
|
||||
net: |
||||
port: 7441 |
||||
bindIp: 127.0.0.1 |
||||
http: |
||||
enabled: false |
||||
|
||||
operationProfiling: |
||||
slowOpThresholdMs: 500 |
||||
mode: off |
||||
''; |
||||
}; |
||||
|
||||
|
||||
mongoWtConf = pkgs.writeTextFile { |
||||
name = "mongowt.conf"; |
||||
executable = false; |
||||
text = '' |
||||
# for documentation of all options, see: |
||||
# http://docs.mongodb.org/manual/reference/configuration-options/ |
||||
|
||||
storage: |
||||
dbPath: ${cfg.dataDir}/db-wt |
||||
journal: |
||||
enabled: true |
||||
wiredTiger: |
||||
engineConfig: |
||||
cacheSizeGB: 1 |
||||
|
||||
systemLog: |
||||
destination: file |
||||
logAppend: true |
||||
path: logs/mongod.log |
||||
|
||||
net: |
||||
port: 7441 |
||||
bindIp: 127.0.0.1 |
||||
|
||||
operationProfiling: |
||||
slowOpThresholdMs: 500 |
||||
mode: off |
||||
''; |
||||
}; |
||||
|
||||
stateDir = "/var/lib/unifi-video"; |
||||
|
||||
in |
||||
{ |
||||
|
||||
options.services.unifi-video = { |
||||
enable = mkOption { |
||||
type = types.bool; |
||||
default = false; |
||||
description = '' |
||||
Whether or not to enable the unifi-video service. |
||||
''; |
||||
}; |
||||
|
||||
jrePackage = mkOption { |
||||
type = types.package; |
||||
default = pkgs.jre8; |
||||
defaultText = "pkgs.jre8"; |
||||
description = '' |
||||
The JRE package to use. Check the release notes to ensure it is supported. |
||||
''; |
||||
}; |
||||
|
||||
unifiVideoPackage = mkOption { |
||||
type = types.package; |
||||
default = pkgs.unifi-video; |
||||
defaultText = "pkgs.unifi-video"; |
||||
description = '' |
||||
The unifi-video package to use. |
||||
''; |
||||
}; |
||||
|
||||
mongodbPackage = mkOption { |
||||
type = types.package; |
||||
default = pkgs.mongodb-4_0; |
||||
defaultText = "pkgs.mongodb"; |
||||
description = '' |
||||
The mongodb package to use. |
||||
''; |
||||
}; |
||||
|
||||
logDir = mkOption { |
||||
type = types.str; |
||||
default = "${stateDir}/logs"; |
||||
description = '' |
||||
Where to store the logs. |
||||
''; |
||||
}; |
||||
|
||||
dataDir = mkOption { |
||||
type = types.str; |
||||
default = "${stateDir}/data"; |
||||
description = '' |
||||
Where to store the database and other data. |
||||
''; |
||||
}; |
||||
|
||||
openPorts = mkOption { |
||||
type = types.bool; |
||||
default = true; |
||||
description = '' |
||||
Whether or not to open the required ports on the firewall. |
||||
''; |
||||
}; |
||||
|
||||
maximumJavaHeapSize = mkOption { |
||||
type = types.nullOr types.int; |
||||
default = 1024; |
||||
example = 4096; |
||||
description = '' |
||||
Set the maximimum heap size for the JVM in MB. |
||||
''; |
||||
}; |
||||
|
||||
pidFile = mkOption { |
||||
type = types.path; |
||||
default = "${cfg.dataDir}/unifi-video.pid"; |
||||
description = "Location of unifi-video pid file."; |
||||
}; |
||||
|
||||
}; |
||||
|
||||
config = mkIf cfg.enable { |
||||
users = { |
||||
users.unifi-video = { |
||||
description = "UniFi Video controller daemon user"; |
||||
home = stateDir; |
||||
group = "unifi-video"; |
||||
isSystemUser = true; |
||||
}; |
||||
groups.unifi-video = {}; |
||||
}; |
||||
|
||||
networking.firewall = mkIf cfg.openPorts { |
||||
# https://help.ui.com/hc/en-us/articles/217875218-UniFi-Video-Ports-Used |
||||
allowedTCPPorts = [ |
||||
7080 # HTTP portal |
||||
7443 # HTTPS portal |
||||
7445 # Video over HTTP (mobile app) |
||||
7446 # Video over HTTPS (mobile app) |
||||
7447 # RTSP via the controller |
||||
7442 # Camera management from cameras to NVR over WAN |
||||
]; |
||||
allowedUDPPorts = [ |
||||
6666 # Inbound camera streams sent over WAN |
||||
]; |
||||
}; |
||||
|
||||
systemd.tmpfiles.rules = [ |
||||
"d '${stateDir}' 0700 unifi-video unifi-video - -" |
||||
"d '/var/cache/unifi-video' 0700 unifi-video unifi-video - -" |
||||
|
||||
"d '${stateDir}/logs' 0700 unifi-video unifi-video - -" |
||||
"C '${stateDir}/etc' 0700 unifi-video unifi-video - ${pkgs.unifi-video}/lib/unifi-video/etc" |
||||
"C '${stateDir}/webapps' 0700 unifi-video unifi-video - ${pkgs.unifi-video}/lib/unifi-video/webapps" |
||||
"C '${stateDir}/email' 0700 unifi-video unifi-video - ${pkgs.unifi-video}/lib/unifi-video/email" |
||||
"C '${stateDir}/fw' 0700 unifi-video unifi-video - ${pkgs.unifi-video}/lib/unifi-video/fw" |
||||
"C '${stateDir}/lib' 0700 unifi-video unifi-video - ${pkgs.unifi-video}/lib/unifi-video/lib" |
||||
|
||||
"d '${stateDir}/data' 0700 unifi-video unifi-video - -" |
||||
"d '${stateDir}/data/db' 0700 unifi-video unifi-video - -" |
||||
"C '${stateDir}/data/system.properties' 0700 unifi-video unifi-video - ${pkgs.unifi-video}/lib/unifi-video/etc/system.properties" |
||||
|
||||
"d '${stateDir}/bin' 0700 unifi-video unifi-video - -" |
||||
"f '${stateDir}/bin/evostreamms' 0700 unifi-video unifi-video - ${pkgs.unifi-video}/lib/unifi-video/bin/evostreamms" |
||||
"f '${stateDir}/bin/libavcodec.so.54' 0700 unifi-video unifi-video - ${pkgs.unifi-video}/lib/unifi-video/bin/libavcodec.so.54" |
||||
"f '${stateDir}/bin/libavformat.so.54' 0700 unifi-video unifi-video - ${pkgs.unifi-video}/lib/unifi-video/bin/libavformat.so.54" |
||||
"f '${stateDir}/bin/libavutil.so.52' 0700 unifi-video unifi-video - ${pkgs.unifi-video}/lib/unifi-video/bin/libavutil.so.52" |
||||
"f '${stateDir}/bin/ubnt.avtool' 0700 unifi-video unifi-video - ${pkgs.unifi-video}/lib/unifi-video/bin/ubnt.avtool" |
||||
"f '${stateDir}/bin/ubnt.updater' 0700 unifi-video unifi-video - ${pkgs.unifi-video}/lib/unifi-video/bin/ubnt.updater" |
||||
"C '${stateDir}/bin/mongo' 0700 unifi-video unifi-video - ${cfg.mongodbPackage}/bin/mongo" |
||||
"C '${stateDir}/bin/mongod' 0700 unifi-video unifi-video - ${cfg.mongodbPackage}/bin/mongod" |
||||
"C '${stateDir}/bin/mongoperf' 0700 unifi-video unifi-video - ${cfg.mongodbPackage}/bin/mongoperf" |
||||
"C '${stateDir}/bin/mongos' 0700 unifi-video unifi-video - ${cfg.mongodbPackage}/bin/mongos" |
||||
|
||||
"d '${stateDir}/conf' 0700 unifi-video unifi-video - -" |
||||
"C '${stateDir}/conf/evostream' 0700 unifi-video unifi-video - ${pkgs.unifi-video}/lib/unifi-video/conf/evostream" |
||||
"Z '${stateDir}/conf/evostream' 0700 unifi-video unifi-video - -" |
||||
"L+ '${stateDir}/conf/mongodv3.0+.conf' 0700 unifi-video unifi-video - ${mongoConf}" |
||||
"L+ '${stateDir}/conf/mongodv3.6+.conf' 0700 unifi-video unifi-video - ${mongoConf}" |
||||
"L+ '${stateDir}/conf/mongod-wt.conf' 0700 unifi-video unifi-video - ${mongoWtConf}" |
||||
"L+ '${stateDir}/conf/catalina.policy' 0700 unifi-video unifi-video - ${pkgs.unifi-video}/lib/unifi-video/conf/catalina.policy" |
||||
"L+ '${stateDir}/conf/catalina.properties' 0700 unifi-video unifi-video - ${pkgs.unifi-video}/lib/unifi-video/conf/catalina.properties" |
||||
"L+ '${stateDir}/conf/context.xml' 0700 unifi-video unifi-video - ${pkgs.unifi-video}/lib/unifi-video/conf/context.xml" |
||||
"L+ '${stateDir}/conf/logging.properties' 0700 unifi-video unifi-video - ${pkgs.unifi-video}/lib/unifi-video/conf/logging.properties" |
||||
"L+ '${stateDir}/conf/server.xml' 0700 unifi-video unifi-video - ${pkgs.unifi-video}/lib/unifi-video/conf/server.xml" |
||||
"L+ '${stateDir}/conf/tomcat-users.xml' 0700 unifi-video unifi-video - ${pkgs.unifi-video}/lib/unifi-video/conf/tomcat-users.xml" |
||||
"L+ '${stateDir}/conf/web.xml' 0700 unifi-video unifi-video - ${pkgs.unifi-video}/lib/unifi-video/conf/web.xml" |
||||
|
||||
]; |
||||
|
||||
systemd.services.unifi-video = { |
||||
description = "UniFi Video NVR daemon"; |
||||
wantedBy = [ "multi-user.target" ]; |
||||
after = [ "network.target" ] ; |
||||
unitConfig.RequiresMountsFor = stateDir; |
||||
# Make sure package upgrades trigger a service restart |
||||
restartTriggers = [ cfg.unifiVideoPackage cfg.mongodbPackage ]; |
||||
path = with pkgs; [ gawk coreutils busybox which jre8 lsb-release libcap util-linux ]; |
||||
serviceConfig = { |
||||
Type = "simple"; |
||||
ExecStart = "${(removeSuffix "\n" cmd)} ${mainClass} start"; |
||||
ExecStop = "${(removeSuffix "\n" cmd)} stop ${mainClass} stop"; |
||||
Restart = "on-failure"; |
||||
UMask = "0077"; |
||||
User = "unifi-video"; |
||||
WorkingDirectory = "${stateDir}"; |
||||
}; |
||||
}; |
||||
|
||||
}; |
||||
|
||||
meta = { |
||||
maintainers = with lib.maintainers; [ rsynnest ]; |
||||
}; |
||||
} |
@ -0,0 +1,46 @@ |
||||
{ lib, buildGoModule, fetchFromSourcehut, scdoc, installShellFiles }: |
||||
|
||||
buildGoModule rec { |
||||
pname = "gmnitohtml"; |
||||
version = "0.1.1"; |
||||
|
||||
src = fetchFromSourcehut { |
||||
owner = "~adnano"; |
||||
repo = pname; |
||||
rev = version; |
||||
hash = "sha256-XcHJbqmfSkW6lt2xRlrf9AJfwLOZqdgsL1v0aK2bQwo="; |
||||
}; |
||||
vendorSha256 = "sha256-Cx8x8AISRVTA4Ufd73vOVky97LX23NkizHDingr/zVk="; |
||||
|
||||
ldflags = [ "-s" "-w" ]; |
||||
|
||||
# Build and install the man pages |
||||
nativeBuildInputs = [ scdoc installShellFiles ]; |
||||
|
||||
postBuild = '' |
||||
make gmnitohtml.1 |
||||
''; |
||||
|
||||
postInstall = '' |
||||
installManPage gmnitohtml.1 |
||||
''; |
||||
|
||||
doInstallCheck = true; |
||||
installCheckPhase = '' |
||||
runHook preInstallCheck |
||||
$out/bin/gmnitohtml --help |
||||
runHook postInstallCheck |
||||
''; |
||||
|
||||
meta = with lib; { |
||||
homepage = "https://git.sr.ht/~adnano/gmnitohtml"; |
||||
changelog = "https://git.sr.ht/~adnano/gmnitohtml/log"; |
||||
description = "Gemini text to HTML converter"; |
||||
longDescription = '' |
||||
he gmnitohtml utility reads Gemini text from the standard input and writes |
||||
HTML to the standard output. |
||||
''; |
||||
license = licenses.mit; |
||||
maintainers = with maintainers; [ jk sikmir ]; |
||||
}; |
||||
} |
@ -1,25 +1,22 @@ |
||||
diff --git a/docshell/base/nsAboutRedirector.cpp b/docshell/base/nsAboutRedirector.cpp
|
||||
index 10ac77b..0125d9b 100644
|
||||
--- a/docshell/base/nsAboutRedirector.cpp
|
||||
+++ b/docshell/base/nsAboutRedirector.cpp
|
||||
@@ -63,8 +63,6 @@ static const RedirEntry kRedirMap[] = {
|
||||
@@ -66,8 +66,6 @@ static const RedirEntry kRedirMap[] = {
|
||||
{"about", "chrome://global/content/aboutAbout.html", 0},
|
||||
{"addons", "chrome://mozapps/content/extensions/extensions.xhtml",
|
||||
{"addons", "chrome://mozapps/content/extensions/aboutaddons.html",
|
||||
nsIAboutModule::ALLOW_SCRIPT},
|
||||
- {"buildconfig", "chrome://global/content/buildconfig.html",
|
||||
- nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT},
|
||||
{"checkerboard", "chrome://global/content/aboutCheckerboard.html",
|
||||
nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
|
||||
nsIAboutModule::ALLOW_SCRIPT},
|
||||
diff --git a/toolkit/content/jar.mn b/toolkit/content/jar.mn
|
||||
index c83b3e2..d543140 100644
|
||||
--- a/toolkit/content/jar.mn
|
||||
+++ b/toolkit/content/jar.mn
|
||||
@@ -40,7 +40,6 @@ toolkit.jar:
|
||||
@@ -39,8 +39,6 @@ toolkit.jar:
|
||||
content/global/plugins.html
|
||||
content/global/plugins.css
|
||||
content/global/plugins.js
|
||||
content/global/browser-child.js
|
||||
-* content/global/buildconfig.html
|
||||
content/global/buildconfig.css
|
||||
- content/global/buildconfig.css
|
||||
content/global/contentAreaUtils.js
|
||||
content/global/datepicker.xhtml
|
||||
#ifndef MOZ_FENNEC
|
@ -0,0 +1,129 @@ |
||||
{ stdenv |
||||
, lib |
||||
, fetchzip |
||||
, autoPatchelfHook |
||||
, wrapGAppsHook |
||||
, gnome2 |
||||
, nss |
||||
, xdg-utils |
||||
, xorg |
||||
, alsa-lib |
||||
, atk |
||||
, cairo |
||||
, cups |
||||
, curl |
||||
, dbus |
||||
, expat |
||||
, fontconfig |
||||
, freetype |
||||
, gdk-pixbuf |
||||
, glib |
||||
, gtk3 |
||||
, libX11 |
||||
, libxcb |
||||
, libXScrnSaver |
||||
, libXcomposite |
||||
, libXcursor |
||||
, libXdamage |
||||
, libXext |
||||
, libXfixes |
||||
, libXi |
||||
, libXrandr |
||||
, libXrender |
||||
, libXtst |
||||
, libdrm |
||||
, libnotify |
||||
, libopus |
||||
, libpulseaudio |
||||
, libuuid |
||||
, libxshmfence |
||||
, mesa |
||||
, nspr |
||||
, pango |
||||
, systemd |
||||
, at-spi2-atk |
||||
, at-spi2-core |
||||
}: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "icecat-bin"; |
||||
version = "60.7.0"; |
||||
|
||||
src = fetchzip { |
||||
url = "https://mirror.tochlab.net/pub/gnu/gnuzilla/${version}/icecat-${version}.en-US.gnulinux-x86_64.tar.bz2"; |
||||
sha256 = "sha256-bEapbQIcZXQ0Tip/X1Q0guowpr3wNDYsFbHGmTbc5mE="; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ |
||||
autoPatchelfHook |
||||
wrapGAppsHook |
||||
]; |
||||
|
||||
buildInputs = [ |
||||
nss |
||||
xdg-utils |
||||
xorg.libxkbfile |
||||
alsa-lib |
||||
at-spi2-atk |
||||
at-spi2-core |
||||
atk |
||||
cairo |
||||
cups |
||||
curl |
||||
dbus |
||||
expat |
||||
fontconfig.lib |
||||
freetype |
||||
gdk-pixbuf |
||||
glib |
||||
gnome2.GConf |
||||
gnome2.gtk |
||||
gtk3 |
||||
libX11 |
||||
libXScrnSaver |
||||
libXcomposite |
||||
libXcursor |
||||
libXdamage |
||||
libXext |
||||
libXfixes |
||||
libXi |
||||
libXrandr |
||||
libXrender |
||||
libXtst |
||||
libdrm |
||||
libnotify |
||||
libopus |
||||
libuuid |
||||
libxcb |
||||
libxshmfence |
||||
mesa |
||||
nspr |
||||
nss |
||||
pango |
||||
xorg.libXt |
||||
stdenv.cc.cc.lib |
||||
]; |
||||
|
||||
unpackPhase = '' |
||||
mkdir -p $TMP/ $out/{opt,bin} |
||||
cp $src/* $TMP/ -r |
||||
''; |
||||
|
||||
installPhase = '' |
||||
cp -r $TMP/* $out/opt/ |
||||
ln -sf $out/opt/icecat-bin $out/bin/icecat |
||||
''; |
||||
|
||||
runtimeDependencies = [ |
||||
libpulseaudio.out |
||||
(lib.getLib systemd) |
||||
]; |
||||
|
||||
meta = with lib; { |
||||
description = "Binary build of the GNU version of the Mozilla Firefox browser"; |
||||
homepage = "https://www.gnu.org/software/gnuzilla/"; |
||||
license = licenses.gpl3Plus; |
||||
maintainers = with maintainers; [ dan4ik605743 ]; |
||||
platforms = platforms.linux; |
||||
}; |
||||
} |
@ -0,0 +1,135 @@ |
||||
{ stdenv |
||||
, lib |
||||
, fetchurl |
||||
, autoPatchelfHook |
||||
, wrapGAppsHook |
||||
, flac |
||||
, gnome2 |
||||
, harfbuzzFull |
||||
, nss |
||||
, snappy |
||||
, xdg-utils |
||||
, xorg |
||||
, alsa-lib |
||||
, atk |
||||
, cairo |
||||
, cups |
||||
, curl |
||||
, dbus |
||||
, expat |
||||
, fontconfig |
||||
, freetype |
||||
, gdk-pixbuf |
||||
, glib |
||||
, gtk3 |
||||
, libX11 |
||||
, libxcb |
||||
, libXScrnSaver |
||||
, libXcomposite |
||||
, libXcursor |
||||
, libXdamage |
||||
, libXext |
||||
, libXfixes |
||||
, libXi |
||||
, libXrandr |
||||
, libXrender |
||||
, libXtst |
||||
, libdrm |
||||
, libnotify |
||||
, libopus |
||||
, libpulseaudio |
||||
, libuuid |
||||
, libxshmfence |
||||
, mesa |
||||
, nspr |
||||
, pango |
||||
, systemd |
||||
, at-spi2-atk |
||||
, at-spi2-core |
||||
}: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "yandex-browser"; |
||||
version = "21.5.3.753-1"; |
||||
|
||||
src = fetchurl { |
||||
url = "http://repo.yandex.ru/yandex-browser/deb/pool/main/y/${pname}-beta/${pname}-beta_${version}_amd64.deb"; |
||||
sha256 = "sha256-sI2p/fCaruUJ3qPMyy+12Bh5I1SH8m7sYX5yDex2rwg="; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ |
||||
autoPatchelfHook |
||||
wrapGAppsHook |
||||
]; |
||||
|
||||
buildInputs = [ |
||||
flac |
||||
harfbuzzFull |
||||
nss |
||||
snappy |
||||
xdg-utils |
||||
xorg.libxkbfile |
||||
alsa-lib |
||||
at-spi2-atk |
||||
at-spi2-core |
||||
atk |
||||
cairo |
||||
cups |
||||
curl |
||||
dbus |
||||
expat |
||||
fontconfig.lib |
||||
freetype |
||||
gdk-pixbuf |
||||
glib |
||||
gnome2.GConf |
||||
gtk3 |
||||
libX11 |
||||
libXScrnSaver |
||||
libXcomposite |
||||
libXcursor |
||||
libXdamage |
||||
libXext |
||||
libXfixes |
||||
libXi |
||||
libXrandr |
||||
libXrender |
||||
libXtst |
||||
libdrm |
||||
libnotify |
||||
libopus |
||||
libuuid |
||||
libxcb |
||||
libxshmfence |
||||
mesa |
||||
nspr |
||||
nss |
||||
pango |
||||
stdenv.cc.cc.lib |
||||
]; |
||||
|
||||
unpackPhase = '' |
||||
mkdir -p $TMP/ya $out/bin |
||||
cp $src $TMP/ya.deb |
||||
ar vx ya.deb |
||||
tar --no-overwrite-dir -xvf data.tar.xz -C $TMP/ya/ |
||||
''; |
||||
|
||||
installPhase = '' |
||||
cp -R $TMP/ya/opt $out/ |
||||
ln -sf $out/opt/yandex/browser-beta/yandex_browser $out/bin/yandex-browser |
||||
''; |
||||
|
||||
runtimeDependencies = [ |
||||
libpulseaudio.out |
||||
(lib.getLib systemd) |
||||
]; |
||||
|
||||
meta = with lib; { |
||||
description = "Yandex Web Browser"; |
||||
homepage = "https://browser.yandex.ru/"; |
||||
license = licenses.unfree; |
||||
maintainers = with maintainers; [ dan4ik605743 ]; |
||||
platforms = [ "x86_64-linux" ]; |
||||
}; |
||||
} |
@ -0,0 +1,25 @@ |
||||
{ lib |
||||
, buildGoModule |
||||
, fetchFromGitHub |
||||
}: |
||||
|
||||
buildGoModule rec { |
||||
pname = "k0sctl"; |
||||
version = "0.9.0"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "k0sproject"; |
||||
repo = pname; |
||||
rev = "v${version}"; |
||||
sha256 = "sha256-aW7x2XfeFU0z3lwPTsDHudHjdwTtfASgrbKGddVb6Rs="; |
||||
}; |
||||
|
||||
vendorSha256 = "sha256-bsXXWyeZXZLV6igEvyvPpS92FruGiLDx/5CCTKPe0EU="; |
||||
|
||||
meta = with lib; { |
||||
description = "A bootstrapping and management tool for k0s clusters."; |
||||
homepage = "https://k0sproject.io/"; |
||||
license = licenses.asl20; |
||||
maintainers = with maintainers; [ nickcao ]; |
||||
}; |
||||
} |
@ -0,0 +1,32 @@ |
||||
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }: |
||||
|
||||
buildGoModule rec { |
||||
pname = "kfctl"; |
||||
version = "1.2.0"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "kubeflow"; |
||||
repo = pname; |
||||
rev = "v${version}"; |
||||
sha256 = "sha256-FY7o4QULobLY1djfcc2l6awE/v2stN7cc2lffMkjoPc="; |
||||
}; |
||||
|
||||
vendorSha256 = "sha256-+6sxXp0LKegZjEFv1CIQ6xYh+hXLn+o9LggRYamCzpI="; |
||||
|
||||
subPackages = [ "cmd/kfctl" ]; |
||||
|
||||
nativeBuildInputs = [ installShellFiles ]; |
||||
|
||||
postInstall = '' |
||||
installShellCompletion --cmd eksctl \ |
||||
--bash <($out/bin/kfctl completion bash) \ |
||||
--zsh <($out/bin/kfctl completion zsh) |
||||
''; |
||||
|
||||
meta = with lib; { |
||||
description = "A CLI for deploying and managing Kubeflow"; |
||||
homepage = "https://github.com/kubeflow/kfctl"; |
||||
license = licenses.asl20; |
||||
maintainers = with maintainers; [ mvnetbiz ]; |
||||
}; |
||||
} |
@ -0,0 +1,43 @@ |
||||
{ lib, fetchFromGitHub, buildGoModule }: |
||||
|
||||
buildGoModule rec { |
||||
pname = "temporal"; |
||||
version = "1.10.5"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "temporalio"; |
||||
repo = "temporal"; |
||||
rev = "v${version}"; |
||||
sha256 = "sha256-+rU/Tn3k/VmAgZl169tVZsRf5SL4bI9r3p1svVfKN2E="; |
||||
}; |
||||
|
||||
vendorSha256 = "sha256-jbQPhGfZPPxjYTSJ9wMLzQIOhAwxJZypRzqwL421RfM="; |
||||
|
||||
# Errors: |
||||
# > === RUN TestNamespaceHandlerGlobalNamespaceDisabledSuite |
||||
# gocql: unable to dial control conn 127.0.0.1:9042: dial tcp 127.0.0.1:9042: connect: connection refused |
||||
doCheck = false; |
||||
|
||||
installPhase = '' |
||||
runHook preInstall |
||||
mkdir -p $out/bin |
||||
install -Dm755 "$GOPATH/bin/cli" -T $out/bin/tctl |
||||
install -Dm755 "$GOPATH/bin/cassandra" -T $out/bin/temporal-cassandra |
||||
install -Dm755 "$GOPATH/bin/server" -T $out/bin/temporal-server |
||||
install -Dm755 "$GOPATH/bin/sql" -T $out/bin/temporal-sql |
||||
runHook postInstall |
||||
''; |
||||
|
||||
doInstallCheck = true; |
||||
installCheckPhase = '' |
||||
$out/bin/tctl --version | grep ${version} > /dev/null |
||||
''; |
||||
|
||||
meta = with lib; { |
||||
description = "A microservice orchestration platform which enables developers to build scalable applications without sacrificing productivity or reliability"; |
||||
downloadPage = "https://github.com/temporalio/temporal"; |
||||
homepage = "https://temporal.io"; |
||||
license = licenses.mit; |
||||
maintainers = with maintainers; [ superherointj ]; |
||||
}; |
||||
} |
@ -0,0 +1,55 @@ |
||||
{ stdenv |
||||
, lib |
||||
, fetchurl |
||||
, curl |
||||
, zulip |
||||
, p7zip |
||||
, glibc |
||||
, ncurses |
||||
, openssl |
||||
}: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "vk-cli"; |
||||
version = "0.7.6"; |
||||
|
||||
src = fetchurl { |
||||
url = "https://github.com/vk-cli/vk/releases/download/${version}/vk-${version}-64-bin.7z"; |
||||
sha256 = "sha256-Y40oLjddunrd7ZF1JbCcgjSCn8jFTubq69jhAVxInXw="; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ |
||||
p7zip |
||||
]; |
||||
|
||||
buildInputs = [ |
||||
curl |
||||
ncurses |
||||
openssl |
||||
]; |
||||
|
||||
unpackPhase = '' |
||||
mkdir -p $TMP/ |
||||
7z x $src -o$TMP/ |
||||
''; |
||||
|
||||
installPhase = '' |
||||
mkdir -p $out/bin/ |
||||
mv $TMP/vk-${version}-64-bin vk-cli |
||||
install -D vk-cli --target-directory=$out/bin/ |
||||
''; |
||||
|
||||
postFixup = '' |
||||
patchelf $out/bin/vk-cli \ |
||||
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ |
||||
--set-rpath "${lib.makeLibraryPath [ curl zulip glibc ]}" |
||||
''; |
||||
|
||||
meta = with lib; { |
||||
description = "A console (ncurses) client for vk.com written in D"; |
||||
homepage = "https://github.com/vk-cli/vk"; |
||||
license = licenses.asl20; |
||||
maintainers = with maintainers; [ dan4ik605743 ]; |
||||
platforms = [ "x86_64-linux" ]; |
||||
}; |
||||
} |
@ -0,0 +1,40 @@ |
||||
{ stdenv |
||||
, lib |
||||
, fetchFromGitLab |
||||
, makeWrapper |
||||
, networkmanager |
||||
, rofi-unwrapped |
||||
}: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "rofi-vpn"; |
||||
version = "0.2.0"; |
||||
|
||||
src = fetchFromGitLab { |
||||
owner = "DamienCassou"; |
||||
repo = pname; |
||||
rev = "v${version}"; |
||||
sha256 = "04jcfb2jy8yyrk4mg68krwh3zb5qcyj1aq1bwk96fhybrq9k2hhp"; |
||||
}; |
||||
|
||||
installPhase = '' |
||||
runHook preInstall |
||||
|
||||
install -D --target-directory=$out/bin/ ./rofi-vpn |
||||
|
||||
wrapProgram $out/bin/rofi-vpn \ |
||||
--prefix PATH ":" ${lib.makeBinPath [ rofi-unwrapped networkmanager ]} |
||||
|
||||
runHook postInstall |
||||
''; |
||||
|
||||
nativeBuildInputs = [ makeWrapper ]; |
||||
|
||||
meta = with lib; { |
||||
description = "Rofi-based interface to enable VPN connections with NetworkManager"; |
||||
homepage = "https://gitlab.com/DamienCassou/rofi-vpn"; |
||||
license = licenses.gpl3Plus; |
||||
maintainers = with maintainers; [ DamienCassou ]; |
||||
platforms = platforms.linux; |
||||
}; |
||||
} |
@ -1,13 +1,13 @@ |
||||
{ |
||||
"version": "14.0.2", |
||||
"repo_hash": "1wnlkbjy7hm5lq6qc12dncmz321nhcnm8wvaz0ni1v5xpp3hv286", |
||||
"version": "14.0.5", |
||||
"repo_hash": "1rykrgzapqa3j2yqpd99fpyyrdp25h2xnx21gnjnkn58qljs4cgs", |
||||
"owner": "gitlab-org", |
||||
"repo": "gitlab", |
||||
"rev": "v14.0.2-ee", |
||||
"rev": "v14.0.5-ee", |
||||
"passthru": { |
||||
"GITALY_SERVER_VERSION": "14.0.2", |
||||
"GITALY_SERVER_VERSION": "14.0.5", |
||||
"GITLAB_PAGES_VERSION": "1.40.0", |
||||
"GITLAB_SHELL_VERSION": "13.19.0", |
||||
"GITLAB_WORKHORSE_VERSION": "14.0.2" |
||||
"GITLAB_WORKHORSE_VERSION": "14.0.5" |
||||
} |
||||
} |
||||
|
@ -0,0 +1,38 @@ |
||||
{ stdenv |
||||
, fetchFromGitHub |
||||
, lib |
||||
, gtk-engine-murrine |
||||
}: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "layan-gtk-theme"; |
||||
version = "2021-06-30"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "vinceliuice"; |
||||
repo = pname; |
||||
rev = version; |
||||
sha256 = "sha256-FI8+AJlcPHGOzxN6HUKLtPGLe8JTfTQ9Az9NsvVUK7g="; |
||||
}; |
||||
|
||||
propagatedUserEnvPkgs = [ gtk-engine-murrine ]; |
||||
|
||||
postPatch = '' |
||||
patchShebangs install.sh |
||||
''; |
||||
|
||||
installPhase = '' |
||||
runHook preInstall |
||||
mkdir -p $out/share/themes |
||||
unset name && ./install.sh -d $out/share/themes |
||||
runHook postInstall |
||||
''; |
||||
|
||||
meta = with lib; { |
||||
description = "A flat Material Design theme for GTK 3, GTK 2 and Gnome-Shell."; |
||||
homepage = "https://github.com/vinceliuice/Layan-gtk-theme"; |
||||
license = licenses.gpl3Only; |
||||
platforms = platforms.linux; |
||||
maintainers = [ maintainers.vanilla ]; |
||||
}; |
||||
} |
@ -1,36 +0,0 @@ |
||||
{ lib, stdenv, fetchFromGitHub, gnome }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "gnome-shell-extension-appindicator"; |
||||
version = "37"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "Ubuntu"; |
||||
repo = "gnome-shell-extension-appindicator"; |
||||
rev = "v${version}"; |
||||
sha256 = "1yss91n94laakzhym409iyjs5gwhln2pkq0zrdrsxc3z70zlslxl"; |
||||
}; |
||||
|
||||
# This package has a Makefile, but it's used for building a zip for |
||||
# publication to extensions.gnome.org. Disable the build phase so |
||||
# installing doesn't build an unnecessary release. |
||||
dontBuild = true; |
||||
|
||||
uuid = "appindicatorsupport@rgcjonas.gmail.com"; |
||||
installPhase = '' |
||||
runHook preInstall |
||||
mkdir -p $out/share/gnome-shell/extensions/${uuid} |
||||
cp *.js $out/share/gnome-shell/extensions/${uuid} |
||||
cp -r interfaces-xml $out/share/gnome-shell/extensions/${uuid} |
||||
cp metadata.json $out/share/gnome-shell/extensions/${uuid} |
||||
runHook postInstall |
||||
''; |
||||
|
||||
meta = with lib; { |
||||
description = "AppIndicator/KStatusNotifierItem support for GNOME Shell"; |
||||
license = licenses.gpl2Plus; |
||||
maintainers = with maintainers; [ jonafato ]; |
||||
platforms = gnome.gnome-shell.meta.platforms; |
||||
homepage = "https://github.com/Ubuntu/gnome-shell-extension-appindicator"; |
||||
}; |
||||
} |
@ -1,32 +0,0 @@ |
||||
{ lib, stdenv, fetchFromGitHub, gettext, glib }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "gnome-shell-extension-clipboard-indicator"; |
||||
version = "38"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "Tudmotu"; |
||||
repo = "gnome-shell-extension-clipboard-indicator"; |
||||
rev = "v${version}"; |
||||
sha256 = "FNrh3b6la2BuWCsriYP5gG0/KNbkFPuq/YTXTj0aJAI="; |
||||
}; |
||||
|
||||
uuid = "clipboard-indicator@tudmotu.com"; |
||||
|
||||
nativeBuildInputs = [ |
||||
gettext |
||||
glib |
||||
]; |
||||
|
||||
makeFlags = [ |
||||
"INSTALLPATH=${placeholder "out"}/share/gnome-shell/extensions/${uuid}/" |
||||
]; |
||||
|
||||
meta = with lib; { |
||||
description = "Adds a clipboard indicator to the top panel and saves clipboard history"; |
||||
license = licenses.mit; |
||||
maintainers = with maintainers; [ jonafato ]; |
||||
platforms = platforms.linux; |
||||
homepage = "https://github.com/Tudmotu/gnome-shell-extension-clipboard-indicator"; |
||||
}; |
||||
} |
@ -1,31 +0,0 @@ |
||||
{ lib, stdenv, fetchFromGitHub }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "gnome-shell-extension-disable-unredirect"; |
||||
version = "unstable-2021-04-13"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "kazysmaster"; |
||||
repo = "gnome-shell-extension-disable-unredirect"; |
||||
rev = "2a4c0e6a7a7a5f1aad9907ee2cf43d0725e10c19"; |
||||
sha256 = "06hbyy20xz0bvzg0vs5w4092nyfpg372c86cdm1akcjm72m5sim9"; |
||||
}; |
||||
|
||||
uuid = "unredirect@vaina.lt"; |
||||
|
||||
installPhase = '' |
||||
runHook preInstall |
||||
|
||||
mkdir -p $out/share/gnome-shell/extensions |
||||
cp -R ${uuid} $out/share/gnome-shell/extensions/${uuid} |
||||
|
||||
runHook postInstall |
||||
''; |
||||
|
||||
meta = with lib; { |
||||
description = "Disables unredirect fullscreen windows in gnome-shell to avoid tearing"; |
||||
license = licenses.gpl3Only; |
||||
homepage = "https://github.com/kazysmaster/gnome-shell-extension-disable-unredirect"; |
||||
maintainers = with maintainers; [ eduardosm ]; |
||||
}; |
||||
} |
@ -1,29 +0,0 @@ |
||||
{ lib, stdenv, fetchgit, gettext, gnome }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "gnome-shell-extension-draw-on-your-screen"; |
||||
version = "10"; |
||||
|
||||
src = fetchgit { |
||||
url = "https://framagit.org/abakkk/DrawOnYourScreen/"; |
||||
rev = "v${version}"; |
||||
sha256 = "07adzg3mf6k0pmd9lc358w0w3l4pr3p6374day1qhmci2p4zxq6p"; |
||||
}; |
||||
|
||||
uuid = "drawOnYourScreen@abakkk.framagit.org"; |
||||
|
||||
installPhase = '' |
||||
runHook preInstall |
||||
mkdir -p $out/share/gnome-shell/extensions/${uuid} |
||||
cp -r . $out/share/gnome-shell/extensions/${uuid} |
||||
runHook postInstall |
||||
''; |
||||
|
||||
meta = with lib; { |
||||
description = "A drawing extension for GNOME Shell"; |
||||
license = licenses.gpl2Plus; |
||||
maintainers = with maintainers; [ ericdallo ahuzik ]; |
||||
platforms = gnome.gnome-shell.meta.platforms; |
||||
homepage = "https://framagit.org/abakkk/DrawOnYourScreen"; |
||||
}; |
||||
} |
@ -1,38 +0,0 @@ |
||||
{ lib, stdenv, fetchFromGitHub, gnome, glib }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "gnome-shell-extension-dynamic-panel-transparency"; |
||||
version = "unstable-2021-03-04"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "ewlsh"; |
||||
repo = "dynamic-panel-transparency"; |
||||
rev = "f9e720e98e40c7a2d87928d09a7313c9ef2e832c"; |
||||
sha256 = "0njykxjiwlcmk0q8bsgqaznsryaw43fspfs6rzsjjz5p0xaq04nw"; |
||||
}; |
||||
|
||||
uuid = "dynamic-panel-transparency@rockon999.github.io"; |
||||
|
||||
nativeBuildInputs = [ glib ]; |
||||
|
||||
buildPhase = '' |
||||
runHook preBuild |
||||
glib-compile-schemas --strict --targetdir=${uuid}/schemas/ ${uuid}/schemas |
||||
runHook postBuild |
||||
''; |
||||
|
||||
installPhase = '' |
||||
runHook preInstall |
||||
mkdir -p $out/share/gnome-shell/extensions/${uuid} |
||||
cp -r ${uuid} $out/share/gnome-shell/extensions |
||||
runHook postInstall |
||||
''; |
||||
|
||||
meta = with lib; { |
||||
description = "This extension fades your top panel to nothingness when there are no maximized windows present"; |
||||
license = licenses.gpl3Only; |
||||
maintainers = with maintainers; [ rhoriguchi ]; |
||||
homepage = "https://github.com/ewlsh/dynamic-panel-transparency"; |
||||
broken = versionOlder gnome.gnome-shell.version "3.36"; |
||||
}; |
||||
} |
@ -1,32 +0,0 @@ |
||||
{ stdenv, lib, fetchFromGitHub }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "gnome-shell-extension-gtile"; |
||||
version = "44"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "gTile"; |
||||
repo = "gTile"; |
||||
rev = "V${version}"; |
||||
sha256 = "0i00psc1ky70zljd14jzr627y7nd8xwnwrh4xpajl1f6djabh12s"; |
||||
}; |
||||
|
||||
uuid = "gTile@vibou"; |
||||
|
||||
installPhase = '' |
||||
runHook preInstall |
||||
|
||||
mkdir -p $out/share/gnome-shell/extensions/${uuid} |
||||
cp -r * $out/share/gnome-shell/extensions/${uuid} |
||||
|
||||
runHook postInstall |
||||
''; |
||||
|
||||
meta = with lib; { |
||||
description = "A window tiling extension for Gnome. This is the new official home of the vibou.gTile extension."; |
||||
license = licenses.gpl2Plus; |
||||
maintainers = with maintainers; [ mdsp ]; |
||||
platforms = platforms.linux; |
||||
homepage = "https://github.com/gTile/gTile"; |
||||
}; |
||||
} |
@ -1,33 +0,0 @@ |
||||
{ lib |
||||
, stdenv |
||||
, fetchFromGitHub |
||||
}: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "gnome-shell-extension-hot-edge"; |
||||
version = "jdoda"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "jdoda"; |
||||
repo = "hotedge"; |
||||
rev = "bb7f651becea5287241caf7cda246a68ab07dac8"; |
||||
sha256 = "oeTs0kRan6b5relxzhK1IKbV0Yv2d5YdvvUPJ3fM9ik="; |
||||
}; |
||||
|
||||
dontBuild = true; |
||||
|
||||
uuid = "hotedge@jonathan.jdoda.ca"; |
||||
|
||||
installPhase = '' |
||||
runHook preInstall |
||||
install -Dt $out/share/gnome-shell/extensions/${uuid} extension.js metadata.json stylesheet.css |
||||
runHook postInstall |
||||
''; |
||||
|
||||
meta = with lib; { |
||||
description = "Replace the top-left hot corner with a bottom hot edge"; |
||||
license = licenses.gpl2Plus; |
||||
maintainers = with maintainers; [ jtojnar ]; |
||||
homepage = "https://github.com/jdoda/hotedge"; |
||||
}; |
||||
} |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue