Merge staging-next into staging
This commit is contained in:
commit
7aced83bf9
@ -10186,6 +10186,16 @@
|
|||||||
github = "ymarkus";
|
github = "ymarkus";
|
||||||
githubId = 62380378;
|
githubId = 62380378;
|
||||||
};
|
};
|
||||||
|
ymatsiuk = {
|
||||||
|
name = "Yurii Matsiuk";
|
||||||
|
email = "ymatsiuk@users.noreply.github.com";
|
||||||
|
github = "ymatsiuk";
|
||||||
|
githubId = 24990891;
|
||||||
|
keys = [{
|
||||||
|
longkeyid = "rsa4096/0x61302290298601AA";
|
||||||
|
fingerprint = "7BB8 84B5 74DA FDB1 E194 ED21 6130 2290 2986 01AA";
|
||||||
|
}];
|
||||||
|
};
|
||||||
ymeister = {
|
ymeister = {
|
||||||
name = "Yuri Meister";
|
name = "Yuri Meister";
|
||||||
email = "47071325+ymeister@users.noreply.github.com";
|
email = "47071325+ymeister@users.noreply.github.com";
|
||||||
|
23
nixos/modules/programs/appgate-sdp.nix
Normal file
23
nixos/modules/programs/appgate-sdp.nix
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
|
with lib;
|
||||||
|
|
||||||
|
{
|
||||||
|
options = {
|
||||||
|
programs.appgate-sdp = {
|
||||||
|
enable = mkEnableOption
|
||||||
|
"AppGate SDP VPN client";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf config.programs.appgate-sdp.enable {
|
||||||
|
boot.kernelModules = [ "tun" ];
|
||||||
|
environment.systemPackages = [ pkgs.appgate-sdp ];
|
||||||
|
services.dbus.packages = [ pkgs.appgate-sdp ];
|
||||||
|
systemd = {
|
||||||
|
packages = [ pkgs.appgate-sdp ];
|
||||||
|
# https://github.com/NixOS/nixpkgs/issues/81138
|
||||||
|
services.appgatedriver.wantedBy = [ "multi-user.target" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
45
pkgs/applications/misc/rootbar/default.nix
Normal file
45
pkgs/applications/misc/rootbar/default.nix
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
{ stdenv
|
||||||
|
, fetchhg
|
||||||
|
, pkg-config
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, gtk3
|
||||||
|
, json_c
|
||||||
|
, libpulseaudio
|
||||||
|
, wayland
|
||||||
|
, wrapGAppsHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "rootbar";
|
||||||
|
version = "unstable-2020-11-13";
|
||||||
|
|
||||||
|
src = fetchhg {
|
||||||
|
url = "https://hg.sr.ht/~scoopta/rootbar";
|
||||||
|
rev = "a018e10cfc5e";
|
||||||
|
sha256 = "sha256-t6oDIYCVaCxaYy4bS1vxESaFDNxsx5JQLQK77eVuafE=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
meson ninja pkg-config wrapGAppsHook
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
gtk3
|
||||||
|
json_c
|
||||||
|
libpulseaudio
|
||||||
|
wayland
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = "https://github.com/alexays/waybar";
|
||||||
|
description = "A bar for Wayland WMs";
|
||||||
|
longDescription = ''
|
||||||
|
Root Bar is a bar for wlroots based wayland compositors such as sway and
|
||||||
|
was designed to address the lack of good bars for wayland.
|
||||||
|
'';
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
maintainers = with maintainers; [ AndersonTorres ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
169
pkgs/applications/networking/appgate-sdp/default.nix
Normal file
169
pkgs/applications/networking/appgate-sdp/default.nix
Normal file
@ -0,0 +1,169 @@
|
|||||||
|
{ alsaLib
|
||||||
|
, at-spi2-atk
|
||||||
|
, at-spi2-core
|
||||||
|
, atk
|
||||||
|
, bash
|
||||||
|
, cairo
|
||||||
|
, coreutils
|
||||||
|
, cups
|
||||||
|
, curl
|
||||||
|
, dbus
|
||||||
|
, dnsmasq
|
||||||
|
, dpkg
|
||||||
|
, e2fsprogs
|
||||||
|
, expat
|
||||||
|
, fetchurl
|
||||||
|
, gdk-pixbuf
|
||||||
|
, glib
|
||||||
|
, gtk3
|
||||||
|
, icu
|
||||||
|
, iproute
|
||||||
|
, krb5
|
||||||
|
, lib
|
||||||
|
, libX11
|
||||||
|
, libXScrnSaver
|
||||||
|
, libXcomposite
|
||||||
|
, libXcursor
|
||||||
|
, libXdamage
|
||||||
|
, libXext
|
||||||
|
, libXfixes
|
||||||
|
, libXi
|
||||||
|
, libXrandr
|
||||||
|
, libXrender
|
||||||
|
, libXtst
|
||||||
|
, libsecret
|
||||||
|
, libuuid
|
||||||
|
, libxcb
|
||||||
|
, lttng-ust
|
||||||
|
, makeWrapper
|
||||||
|
, networkmanager
|
||||||
|
, nspr
|
||||||
|
, nss
|
||||||
|
, openssl
|
||||||
|
, pango
|
||||||
|
, procps
|
||||||
|
, python37
|
||||||
|
, python37Packages
|
||||||
|
, stdenv
|
||||||
|
, systemd
|
||||||
|
, zlib
|
||||||
|
}:
|
||||||
|
with stdenv.lib;
|
||||||
|
let
|
||||||
|
deps = [
|
||||||
|
alsaLib
|
||||||
|
at-spi2-atk
|
||||||
|
at-spi2-core
|
||||||
|
atk
|
||||||
|
cairo
|
||||||
|
cups
|
||||||
|
curl
|
||||||
|
dbus
|
||||||
|
expat
|
||||||
|
gdk-pixbuf
|
||||||
|
glib
|
||||||
|
gtk3
|
||||||
|
icu
|
||||||
|
krb5
|
||||||
|
libX11
|
||||||
|
libXScrnSaver
|
||||||
|
libXcomposite
|
||||||
|
libXcursor
|
||||||
|
libXdamage
|
||||||
|
libXext
|
||||||
|
libXfixes
|
||||||
|
libXi
|
||||||
|
libXrandr
|
||||||
|
libXrender
|
||||||
|
libXtst
|
||||||
|
libsecret
|
||||||
|
libuuid
|
||||||
|
libxcb
|
||||||
|
lttng-ust
|
||||||
|
nspr
|
||||||
|
nss
|
||||||
|
openssl
|
||||||
|
pango
|
||||||
|
stdenv.cc.cc
|
||||||
|
systemd
|
||||||
|
zlib
|
||||||
|
];
|
||||||
|
rpath = stdenv.lib.makeLibraryPath deps ;
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "appgate-sdp";
|
||||||
|
version = "5.1.2";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://bin.appgate-sdp.com/5.1/client/appgate-sdp_${version}_amd64.deb";
|
||||||
|
sha256 = "0v4vfibg1giml3vfz2w7qypqzymvfchi5qm6vfagah2vfbkw7xc2";
|
||||||
|
};
|
||||||
|
|
||||||
|
dontConfigure = true;
|
||||||
|
dontBuild = true;
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
python37
|
||||||
|
python37Packages.dbus-python
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
makeWrapper
|
||||||
|
dpkg
|
||||||
|
];
|
||||||
|
|
||||||
|
unpackPhase = ''
|
||||||
|
dpkg-deb -x $src $out
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
ln -s "$out/opt/appgate/appgate" "$out/bin/appgate"
|
||||||
|
cp -r $out/usr/share $out/share
|
||||||
|
|
||||||
|
for file in $out/opt/appgate/linux/appgate-resolver.pre \
|
||||||
|
$out/opt/appgate/linux/appgate-dumb-resolver.pre \
|
||||||
|
$out/lib/systemd/system/appgatedriver.service \
|
||||||
|
$out/lib/systemd/system/appgate-dumb-resolver.service \
|
||||||
|
$out/lib/systemd/system/appgate-resolver.service
|
||||||
|
do
|
||||||
|
substituteInPlace $file \
|
||||||
|
--replace "/bin/sh" "${bash}/bin/sh" \
|
||||||
|
--replace "/opt/" "$out/opt/" \
|
||||||
|
--replace "/usr/sbin/dnsmasq" "${dnsmasq}/bin/dnsmasq" \
|
||||||
|
--replace "InaccessiblePaths=/mnt /srv /boot /media" "InaccessiblePaths=-/mnt -/srv -/boot -/media" \
|
||||||
|
--replace "cat" "${coreutils}/bin/cat" \
|
||||||
|
--replace "chattr" "${e2fsprogs}/bin/chattr" \
|
||||||
|
--replace "mv" "${coreutils}/bin/mv" \
|
||||||
|
--replace "pkill" "${procps}/bin/pkill"
|
||||||
|
done
|
||||||
|
|
||||||
|
substituteInPlace $out/opt/appgate/linux/nm.py --replace "/usr/sbin/dnsmasq" "${dnsmasq}/bin/dnsmasq"
|
||||||
|
substituteInPlace $out/opt/appgate/linux/set_dns \
|
||||||
|
--replace "service appgate-resolver stop" "${systemd.out}/bin/systemctl stop appgate-resolver" \
|
||||||
|
--replace "/etc/appgate.conf" "$out/etc/appgate.conf"
|
||||||
|
|
||||||
|
'';
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
find $out -type f -name "*.so" -exec patchelf --set-rpath '$ORIGIN:${rpath}' {} \;
|
||||||
|
for binary in $out/opt/appgate/appgate-driver \
|
||||||
|
$out/opt/appgate/appgate \
|
||||||
|
$out/opt/appgate/service/createdump \
|
||||||
|
$out/opt/appgate/service/appgateservice.bin
|
||||||
|
do
|
||||||
|
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" --set-rpath "$ORIGIN:$out/opt/appgate/service/:$out/opt/appgate/:${rpath}" $binary
|
||||||
|
done
|
||||||
|
|
||||||
|
wrapProgram $out/opt/appgate/appgate-driver --prefix PATH : ${stdenv.lib.makeBinPath [ iproute networkmanager dnsmasq ]}
|
||||||
|
wrapProgram $out/opt/appgate/linux/set_dns --set PYTHONPATH $PYTHONPATH
|
||||||
|
'';
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Appgate SDP (Software Defined Perimeter) desktop client";
|
||||||
|
homepage = https://www.appgate.com/support/software-defined-perimeter-support;
|
||||||
|
license = licenses.unfree;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ ymatsiuk ];
|
||||||
|
};
|
||||||
|
}
|
@ -18,9 +18,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"beta": {
|
"beta": {
|
||||||
"version": "88.0.4324.50",
|
"version": "88.0.4324.79",
|
||||||
"sha256": "17v0qp05785xc4whsbw6fmf0x5ccjx2mk6n4qy6z2mx2yjjjfv8q",
|
"sha256": "1xmssngzg370gazvqngw5mzhfq476fan5y3sp4ggs8fx5anh6jlz",
|
||||||
"sha256bin64": "01cphbd56l7g3cdmrvwynkzrpx9h3v7pz6ac76sxlp6irjzhbnva",
|
"sha256bin64": "16m2k4kr92236yvfnl276cy77d5324b7ca3grsw990c0b2kgizq7",
|
||||||
"deps": {
|
"deps": {
|
||||||
"gn": {
|
"gn": {
|
||||||
"version": "2020-11-05",
|
"version": "2020-11-05",
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "qalculate-gtk";
|
pname = "qalculate-gtk";
|
||||||
version = "3.15.0";
|
version = "3.16.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "qalculate";
|
owner = "qalculate";
|
||||||
repo = "qalculate-gtk";
|
repo = "qalculate-gtk";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1w0r9vv1h3zbfdvk8965g5plfkz5clf81riil5b394ms9vsw0bx5";
|
sha256 = "1vqzrh5zxwfvih6c3lak0wkkw6bajl88xzl1zk84gxsk9wdymrk4";
|
||||||
};
|
};
|
||||||
|
|
||||||
hardeningDisable = [ "format" ];
|
hardeningDisable = [ "format" ];
|
||||||
|
@ -4,16 +4,16 @@
|
|||||||
let
|
let
|
||||||
tortoisehgSrc = fetchurl rec {
|
tortoisehgSrc = fetchurl rec {
|
||||||
meta.name = "tortoisehg-${meta.version}";
|
meta.name = "tortoisehg-${meta.version}";
|
||||||
meta.version = "5.2.1";
|
meta.version = "5.6";
|
||||||
url = "https://bitbucket.org/tortoisehg/thg/get/14221e991a5b623e0072d3bd340b759dbe9072ca.tar.gz";
|
url = "https://www.mercurial-scm.org/release/tortoisehg/targz/tortoisehg-${meta.version}.tar.gz";
|
||||||
sha256 = "01rpzf5z99izcdda1ps9bhqvhw6qghagd8c1y7x19rv223zi05dv";
|
sha256 = "031bafj88wggpvw0lgvl0djhlbhs9nls9vzwvni8yn0m0bgzc9gr";
|
||||||
};
|
};
|
||||||
|
|
||||||
tortoiseMercurial = mercurial.overridePythonAttrs (old: rec {
|
tortoiseMercurial = mercurial.overridePythonAttrs (old: rec {
|
||||||
inherit (tortoisehgSrc.meta) version;
|
inherit (tortoisehgSrc.meta) version;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://mercurial-scm.org/release/mercurial-${version}.tar.gz";
|
url = "https://mercurial-scm.org/release/mercurial-${version}.tar.gz";
|
||||||
sha256 = "1pxkd37b0a1mi2zakk1hi122lgz1ffy2fxdnbs8acwlqpw55bc8q";
|
sha256 = "1hk2y30zzdnlv8f71kabvh0xi9c7qhp28ksh20vpd0r712sv79yz";
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -114,6 +114,9 @@ let
|
|||||||
# libuuid, slowing down program startup a lot).
|
# libuuid, slowing down program startup a lot).
|
||||||
./no-ldconfig.patch
|
./no-ldconfig.patch
|
||||||
|
|
||||||
|
# Fix ctypes.util.find_library with gcc10.
|
||||||
|
./find_library-gcc10.patch
|
||||||
|
|
||||||
] ++ optionals stdenv.hostPlatform.isCygwin [
|
] ++ optionals stdenv.hostPlatform.isCygwin [
|
||||||
./2.5.2-ctypes-util-find_library.patch
|
./2.5.2-ctypes-util-find_library.patch
|
||||||
./2.5.2-tkinter-x11.patch
|
./2.5.2-tkinter-x11.patch
|
||||||
|
@ -0,0 +1,79 @@
|
|||||||
|
Backport https://github.com/python/cpython/commit/82df3b3071bb003247c33eac4670775e9883c994
|
||||||
|
and https://github.com/python/cpython/commit/27ac19cca2c639caaf6fedf3632fe6beb265f24f
|
||||||
|
|
||||||
|
Fixes the check phase of python2Packages.cffi.
|
||||||
|
|
||||||
|
--- a/Lib/ctypes/util.py
|
||||||
|
+++ b/Lib/ctypes/util.py
|
||||||
|
@@ -87,6 +87,12 @@ elif os.name == "posix":
|
||||||
|
# Andreas Degert's find functions, using gcc, /sbin/ldconfig, objdump
|
||||||
|
import re, tempfile, errno
|
||||||
|
|
||||||
|
+ def _is_elf(filename):
|
||||||
|
+ "Return True if the given file is an ELF file"
|
||||||
|
+ elf_header = b'\x7fELF'
|
||||||
|
+ with open(filename, 'rb') as thefile:
|
||||||
|
+ return thefile.read(4) == elf_header
|
||||||
|
+
|
||||||
|
def _findLib_gcc(name):
|
||||||
|
# Run GCC's linker with the -t (aka --trace) option and examine the
|
||||||
|
# library name it prints out. The GCC command will fail because we
|
||||||
|
@@ -110,10 +116,17 @@ elif os.name == "posix":
|
||||||
|
# the normal behaviour of GCC if linking fails
|
||||||
|
if e.errno != errno.ENOENT:
|
||||||
|
raise
|
||||||
|
- res = re.search(expr, trace)
|
||||||
|
+ res = re.findall(expr, trace)
|
||||||
|
if not res:
|
||||||
|
return None
|
||||||
|
- return res.group(0)
|
||||||
|
+
|
||||||
|
+ for file in res:
|
||||||
|
+ # Check if the given file is an elf file: gcc can report
|
||||||
|
+ # some files that are linker scripts and not actual
|
||||||
|
+ # shared objects. See bpo-41976 for more details
|
||||||
|
+ if not _is_elf(file):
|
||||||
|
+ continue
|
||||||
|
+ return file
|
||||||
|
|
||||||
|
|
||||||
|
if sys.platform == "sunos5":
|
||||||
|
@@ -237,8 +250,37 @@ elif os.name == "posix":
|
||||||
|
def _findSoname_ldconfig(name):
|
||||||
|
return None
|
||||||
|
|
||||||
|
+ def _findLib_ld(name):
|
||||||
|
+ # See issue #9998 for why this is needed
|
||||||
|
+ expr = r'[^\(\)\s]*lib%s\.[^\(\)\s]*' % re.escape(name)
|
||||||
|
+ cmd = ['ld', '-t']
|
||||||
|
+ libpath = os.environ.get('LD_LIBRARY_PATH')
|
||||||
|
+ if libpath:
|
||||||
|
+ for d in libpath.split(':'):
|
||||||
|
+ cmd.extend(['-L', d])
|
||||||
|
+ cmd.extend(['-o', os.devnull, '-l%s' % name])
|
||||||
|
+ result = None
|
||||||
|
+ try:
|
||||||
|
+ p = subprocess.Popen(cmd, stdout=subprocess.PIPE,
|
||||||
|
+ stderr=subprocess.PIPE,
|
||||||
|
+ universal_newlines=True)
|
||||||
|
+ out, _ = p.communicate()
|
||||||
|
+ res = re.findall(expr, out)
|
||||||
|
+ for file in res:
|
||||||
|
+ # Check if the given file is an elf file: gcc can report
|
||||||
|
+ # some files that are linker scripts and not actual
|
||||||
|
+ # shared objects. See bpo-41976 for more details
|
||||||
|
+ if not _is_elf(file):
|
||||||
|
+ continue
|
||||||
|
+ return file
|
||||||
|
+ except Exception:
|
||||||
|
+ pass # result will be None
|
||||||
|
+ return result
|
||||||
|
+
|
||||||
|
def find_library(name):
|
||||||
|
- return _findSoname_ldconfig(name) or _get_soname(_findLib_gcc(name))
|
||||||
|
+ # See issue #9998
|
||||||
|
+ return _findSoname_ldconfig(name) or \
|
||||||
|
+ _get_soname(_findLib_gcc(name)) or _get_soname(_findLib_ld(name))
|
||||||
|
|
||||||
|
################################################################
|
||||||
|
# test code
|
@ -370,7 +370,7 @@ in with passthru; stdenv.mkDerivation {
|
|||||||
|
|
||||||
# Add CPython specific setup-hook that configures distutils.sysconfig to
|
# Add CPython specific setup-hook that configures distutils.sysconfig to
|
||||||
# always load sysconfigdata from host Python.
|
# always load sysconfigdata from host Python.
|
||||||
postFixup = ''
|
postFixup = stdenv.lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
|
||||||
cat << "EOF" >> "$out/nix-support/setup-hook"
|
cat << "EOF" >> "$out/nix-support/setup-hook"
|
||||||
${sysconfigdataHook}
|
${sysconfigdataHook}
|
||||||
EOF
|
EOF
|
||||||
|
@ -34,7 +34,9 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "00d4sxq63601lzdp2ha1i8fvybh7dzih4531jh8bx07fab3sw65g";
|
sha256 = "00d4sxq63601lzdp2ha1i8fvybh7dzih4531jh8bx07fab3sw65g";
|
||||||
})
|
})
|
||||||
# Disable python tests on Darwin as they use gpg (see configureFlags below)
|
# Disable python tests on Darwin as they use gpg (see configureFlags below)
|
||||||
] ++ lib.optional stdenv.isDarwin ./disable-python-tests.patch;
|
] ++ lib.optional stdenv.isDarwin ./disable-python-tests.patch
|
||||||
|
# Fix _AC_UNDECLARED_WARNING for autoconf≥2.70. See https://lists.gnupg.org/pipermail/gnupg-devel/2020-November/034643.html
|
||||||
|
++ lib.optional stdenv.cc.isClang ./fix-clang-autoconf-undeclared-warning.patch;
|
||||||
|
|
||||||
outputs = [ "out" "dev" "info" ];
|
outputs = [ "out" "dev" "info" ];
|
||||||
outputBin = "dev"; # gpgme-config; not so sure about gpgme-tool
|
outputBin = "dev"; # gpgme-config; not so sure about gpgme-tool
|
||||||
|
@ -0,0 +1,36 @@
|
|||||||
|
diff -Naur gpgme.old/configure.ac gpgme.new/configure.ac
|
||||||
|
--- gpgme.old/configure.ac 2020-11-12 04:19:50.000000000 -0500
|
||||||
|
+++ gpgme.new/configure.ac 2021-01-08 03:04:38.000000000 -0500
|
||||||
|
@@ -166,6 +166,16 @@
|
||||||
|
mym4_minor mym4_micro)
|
||||||
|
AC_SUBST(VERSION_NUMBER)
|
||||||
|
|
||||||
|
+# Try to find a thread-safe version of ttyname().
|
||||||
|
+gnupg_REPLACE_TTYNAME_R
|
||||||
|
+if test "$ac_cv_func_ttyname_r" != yes; then
|
||||||
|
+ AC_MSG_WARN([
|
||||||
|
+***
|
||||||
|
+*** ttyname() is not thread-safe and ttyname_r() does not exist
|
||||||
|
+***])
|
||||||
|
+fi
|
||||||
|
+
|
||||||
|
+
|
||||||
|
# We need to compile and run a program on the build machine. A
|
||||||
|
# comment in libgpg-error says that the AC_PROG_CC_FOR_BUILD macro in
|
||||||
|
# the AC archive is broken for autoconf 2.57. Given that there is no
|
||||||
|
@@ -658,15 +668,6 @@
|
||||||
|
|
||||||
|
AC_FUNC_FSEEKO
|
||||||
|
|
||||||
|
-# Try to find a thread-safe version of ttyname().
|
||||||
|
-gnupg_REPLACE_TTYNAME_R
|
||||||
|
-if test "$ac_cv_func_ttyname_r" != yes; then
|
||||||
|
- AC_MSG_WARN([
|
||||||
|
-***
|
||||||
|
-*** ttyname() is not thread-safe and ttyname_r() does not exist
|
||||||
|
-***])
|
||||||
|
-fi
|
||||||
|
-
|
||||||
|
# Try to find a thread-safe version of getenv().
|
||||||
|
have_thread_safe_getenv=no
|
||||||
|
jm_GLIBC21
|
@ -44,6 +44,8 @@ stdenv.mkDerivation rec {
|
|||||||
nss
|
nss
|
||||||
];
|
];
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = "-Wno-error=array-bounds";
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
"-Dudev_rules_dir=${placeholder "out"}/lib/udev/rules.d"
|
"-Dudev_rules_dir=${placeholder "out"}/lib/udev/rules.d"
|
||||||
];
|
];
|
||||||
|
@ -3,19 +3,20 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libqalculate";
|
pname = "libqalculate";
|
||||||
version = "3.14.0";
|
version = "3.16.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "qalculate";
|
owner = "qalculate";
|
||||||
repo = "libqalculate";
|
repo = "libqalculate";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1j4sr9s7152xmci677pnz64spv8s3ia26fbp5cqx8ydv7swlivh2";
|
sha256 = "0nrf03q3qrsvxf6kjpv69l49yfal79834a3jv75mzi6y674ach9g";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" "doc" ];
|
outputs = [ "out" "dev" "doc" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ intltool pkgconfig autoreconfHook doxygen ];
|
nativeBuildInputs = [ intltool pkgconfig autoreconfHook doxygen ];
|
||||||
buildInputs = [ curl gettext libiconv readline ];
|
buildInputs = [ curl gettext libiconv readline ];
|
||||||
|
configureFlags = ["--with-readline=${readline.dev}"];
|
||||||
propagatedBuildInputs = [ libxml2 mpfr icu ];
|
propagatedBuildInputs = [ libxml2 mpfr icu ];
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
@ -4,6 +4,8 @@ buildDunePackage rec {
|
|||||||
pname = "csexp";
|
pname = "csexp";
|
||||||
version = "1.3.2";
|
version = "1.3.2";
|
||||||
|
|
||||||
|
useDune2 = true;
|
||||||
|
|
||||||
minimumOCamlVersion = "4.02.3";
|
minimumOCamlVersion = "4.02.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, black, isort
|
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, black, isort
|
||||||
, pytestCheckHook, pyyaml, typing-extensions, typing-inspect }:
|
, pytestCheckHook, pyyaml, typing-extensions, typing-inspect, dataclasses }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "libcst";
|
pname = "libcst";
|
||||||
@ -16,7 +16,8 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
propagatedBuildInputs = [ pyyaml typing-inspect ];
|
propagatedBuildInputs = [ pyyaml typing-inspect ]
|
||||||
|
++ lib.optional (pythonOlder "3.7") dataclasses;
|
||||||
|
|
||||||
checkInputs = [ black isort pytestCheckHook ];
|
checkInputs = [ black isort pytestCheckHook ];
|
||||||
|
|
||||||
|
30
pkgs/development/python-modules/pydexcom/default.nix
Normal file
30
pkgs/development/python-modules/pydexcom/default.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, requests
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pydexcom";
|
||||||
|
version = "0.2.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "gagebenne";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "19h7r0qbsqd6k6g4nz6z3k9kdmk0sx5zpsrgxwnhsff5fqi0y2ls";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ requests ];
|
||||||
|
|
||||||
|
# tests are interacting with the Dexcom API
|
||||||
|
doCheck = false;
|
||||||
|
pythonImportsCheck = [ "pydexcom" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python API to interact with Dexcom Share service";
|
||||||
|
homepage = "https://github.com/gagebenne/pydexcom";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -4,13 +4,13 @@ with lib;
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "fcct";
|
pname = "fcct";
|
||||||
version = "0.8.0";
|
version = "0.9.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "coreos";
|
owner = "coreos";
|
||||||
repo = "fcct";
|
repo = "fcct";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0w3vhfjpmpahb08fp6czixhlqhk6izglmwdpj2l19ksz8fc8aq54";
|
sha256 = "0kdsnsp9nzkkfwakcx64md66yz2k7cpw8bkhdv798yirbrqprgp6";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = null;
|
vendorSha256 = null;
|
||||||
|
48
pkgs/development/tools/misc/nimlsp/default.nix
Normal file
48
pkgs/development/tools/misc/nimlsp/default.nix
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, srcOnly, nim }:
|
||||||
|
let
|
||||||
|
astpatternmatching = fetchFromGitHub {
|
||||||
|
owner = "krux02";
|
||||||
|
repo = "ast-pattern-matching";
|
||||||
|
rev = "87f7d163421af5a4f5e5cb6da7b93278e6897e96";
|
||||||
|
sha256 = "19mb5bb6riia8380p5dpc3q0vwgrj958dd6p7vw8vkvwiqrzg6zq";
|
||||||
|
};
|
||||||
|
|
||||||
|
jsonschema = fetchFromGitHub {
|
||||||
|
owner = "PMunch";
|
||||||
|
repo = "jsonschema";
|
||||||
|
rev = "7b41c03e3e1a487d5a8f6b940ca8e764dc2cbabf";
|
||||||
|
sha256 = "1js64jqd854yjladxvnylij4rsz7212k31ks541pqrdzm6hpblbz";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "nimlsp";
|
||||||
|
version = "0.2.6";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "PMunch";
|
||||||
|
repo = "nimlsp";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "13kw3zjh0iqymwqxwhyj8jz6hgswwahf1rjd6iad7c6gcwrrg6yl";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ nim ];
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
export HOME=$TMPDIR
|
||||||
|
nim -d:release -p:${astpatternmatching}/src -p:${jsonschema}/src \
|
||||||
|
c --threads:on -d:nimcore -d:nimsuggest -d:debugCommunication \
|
||||||
|
-d:debugLogging -d:explicitSourcePath=${srcOnly nim.unwrapped} -d:tempDir=/tmp src/nimlsp
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
install -Dt $out/bin src/nimlsp
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Language Server Protocol implementation for Nim";
|
||||||
|
homepage = "https://github.com/PMunch/nimlsp";
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = nim.meta.platforms;
|
||||||
|
maintainers = [ maintainers.marsam ];
|
||||||
|
};
|
||||||
|
}
|
@ -165,7 +165,7 @@
|
|||||||
"device_sun_light_trigger" = ps: with ps; [ aiohttp-cors pillow ];
|
"device_sun_light_trigger" = ps: with ps; [ aiohttp-cors pillow ];
|
||||||
"device_tracker" = ps: with ps; [ ];
|
"device_tracker" = ps: with ps; [ ];
|
||||||
"devolo_home_control" = ps: with ps; [ aiohttp-cors zeroconf ]; # missing inputs: devolo-home-control-api
|
"devolo_home_control" = ps: with ps; [ aiohttp-cors zeroconf ]; # missing inputs: devolo-home-control-api
|
||||||
"dexcom" = ps: with ps; [ ]; # missing inputs: pydexcom
|
"dexcom" = ps: with ps; [ pydexcom ];
|
||||||
"dht" = ps: with ps; [ ]; # missing inputs: Adafruit-DHT
|
"dht" = ps: with ps; [ ]; # missing inputs: Adafruit-DHT
|
||||||
"dialogflow" = ps: with ps; [ aiohttp-cors ];
|
"dialogflow" = ps: with ps; [ aiohttp-cors ];
|
||||||
"digital_ocean" = ps: with ps; [ digital-ocean ];
|
"digital_ocean" = ps: with ps; [ digital-ocean ];
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitLab, writeText }:
|
{ stdenv, fetchFromGitLab, writeText }:
|
||||||
|
|
||||||
let
|
let
|
||||||
localConfig = writeText "config.local.php" ''
|
localConfig = writeText "config.local.php" ''
|
||||||
<?php
|
<?php
|
||||||
@ -9,13 +8,13 @@ let
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "jirafeau";
|
pname = "jirafeau";
|
||||||
version = "4.1.1";
|
version = "4.3.0";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
owner = "mojo42";
|
owner = "mojo42";
|
||||||
repo = "Jirafeau";
|
repo = "Jirafeau";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "09gq5zhynygpqj0skq7ifnn9yjjg7qnc6kjvaas7f53av2707z4c";
|
hash = "sha256-9v6rtxViXsolx5AKSp2HxcFyU1XJWFSiqzTBl+dQBD4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -14,6 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
./overflow_CVE-2012-4409.patch
|
./overflow_CVE-2012-4409.patch
|
||||||
./segv.patch
|
./segv.patch
|
||||||
./sprintf_CVE-2012-4527.patch
|
./sprintf_CVE-2012-4527.patch
|
||||||
|
./malloc_to_stdlib.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ libmcrypt libmhash ];
|
buildInputs = [ libmcrypt libmhash ];
|
||||||
@ -26,7 +27,7 @@ stdenv.mkDerivation rec {
|
|||||||
ever-wider range of algorithms and modes.
|
ever-wider range of algorithms and modes.
|
||||||
'';
|
'';
|
||||||
homepage = "http://mcrypt.sourceforge.net";
|
homepage = "http://mcrypt.sourceforge.net";
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = stdenv.lib.licenses.gpl3Only;
|
||||||
platforms = stdenv.lib.platforms.all;
|
platforms = stdenv.lib.platforms.all;
|
||||||
maintainers = [ stdenv.lib.maintainers.qknight ];
|
maintainers = [ stdenv.lib.maintainers.qknight ];
|
||||||
};
|
};
|
||||||
|
26
pkgs/tools/misc/mcrypt/malloc_to_stdlib.patch
Executable file
26
pkgs/tools/misc/mcrypt/malloc_to_stdlib.patch
Executable file
@ -0,0 +1,26 @@
|
|||||||
|
From e295844e8ef5c13487996ab700e5f12a7fadb1a6 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Nima Vasseghi <nmv@fb.com>
|
||||||
|
Date: Wed, 30 Dec 2020 16:06:46 -0800
|
||||||
|
Subject: [PATCH] malloc.h to stdlib.h in rfc2440.c
|
||||||
|
|
||||||
|
The malloc.h is deprecated and should not be used
|
||||||
|
---
|
||||||
|
src/rfc2440.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/rfc2440.c b/src/rfc2440.c
|
||||||
|
index 5a1f296..4d6a5db 100644
|
||||||
|
--- a/src/rfc2440.c
|
||||||
|
+++ b/src/rfc2440.c
|
||||||
|
@@ -23,7 +23,7 @@
|
||||||
|
#include <zlib.h>
|
||||||
|
#endif
|
||||||
|
#include <stdio.h>
|
||||||
|
-#include <malloc.h>
|
||||||
|
+#include <stdlib.h>
|
||||||
|
|
||||||
|
#include "xmalloc.h"
|
||||||
|
#include "keys.h"
|
||||||
|
--
|
||||||
|
2.13.5
|
||||||
|
|
@ -18,11 +18,11 @@ buildPythonPackage rec {
|
|||||||
# The websites youtube-dl deals with are a very moving target. That means that
|
# The websites youtube-dl deals with are a very moving target. That means that
|
||||||
# downloads break constantly. Because of that, updates should always be backported
|
# downloads break constantly. Because of that, updates should always be backported
|
||||||
# to the latest stable release.
|
# to the latest stable release.
|
||||||
version = "2021.01.03";
|
version = "2021.01.08";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://yt-dl.org/downloads/${version}/${pname}-${version}.tar.gz";
|
url = "https://yt-dl.org/downloads/${version}/${pname}-${version}.tar.gz";
|
||||||
sha256 = "0qqixcr748nfhnihkjzayzdja26kgrsds45q5s8krmfm3b79ipli";
|
sha256 = "1k870v9xc7g16nvixa272sdjnmc7pl49ymmnn6rdz0mcj2548h3k";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles makeWrapper ];
|
nativeBuildInputs = [ installShellFiles makeWrapper ];
|
||||||
|
@ -10128,6 +10128,8 @@ in
|
|||||||
|
|
||||||
nrpl = callPackage ../development/tools/nrpl { };
|
nrpl = callPackage ../development/tools/nrpl { };
|
||||||
|
|
||||||
|
nimlsp = callPackage ../development/tools/misc/nimlsp { };
|
||||||
|
|
||||||
neko = callPackage ../development/compilers/neko { };
|
neko = callPackage ../development/compilers/neko { };
|
||||||
|
|
||||||
nextpnr = callPackage ../development/compilers/nextpnr { };
|
nextpnr = callPackage ../development/compilers/nextpnr { };
|
||||||
@ -20643,6 +20645,8 @@ in
|
|||||||
|
|
||||||
appeditor = callPackage ../applications/misc/appeditor { };
|
appeditor = callPackage ../applications/misc/appeditor { };
|
||||||
|
|
||||||
|
appgate-sdp = callPackage ../applications/networking/appgate-sdp { };
|
||||||
|
|
||||||
apostrophe = callPackage ../applications/editors/apostrophe {
|
apostrophe = callPackage ../applications/editors/apostrophe {
|
||||||
pythonPackages = python3Packages;
|
pythonPackages = python3Packages;
|
||||||
};
|
};
|
||||||
@ -22299,6 +22303,8 @@ in
|
|||||||
|
|
||||||
tiramisu = callPackage ../applications/misc/tiramisu { };
|
tiramisu = callPackage ../applications/misc/tiramisu { };
|
||||||
|
|
||||||
|
rootbar = callPackage ../applications/misc/rootbar {};
|
||||||
|
|
||||||
waybar = callPackage ../applications/misc/waybar {};
|
waybar = callPackage ../applications/misc/waybar {};
|
||||||
|
|
||||||
hikari = callPackage ../applications/window-managers/hikari { };
|
hikari = callPackage ../applications/window-managers/hikari { };
|
||||||
|
@ -5157,6 +5157,8 @@ in {
|
|||||||
|
|
||||||
pydenticon = callPackage ../development/python-modules/pydenticon { };
|
pydenticon = callPackage ../development/python-modules/pydenticon { };
|
||||||
|
|
||||||
|
pydexcom = callPackage ../development/python-modules/pydexcom { };
|
||||||
|
|
||||||
pydicom = callPackage ../development/python-modules/pydicom { };
|
pydicom = callPackage ../development/python-modules/pydicom { };
|
||||||
|
|
||||||
pydispatcher = callPackage ../development/python-modules/pydispatcher { };
|
pydispatcher = callPackage ../development/python-modules/pydispatcher { };
|
||||||
|
Loading…
Reference in New Issue
Block a user