mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 09:03:42 +00:00
Merge master into staging-next
This commit is contained in:
commit
7495684853
@ -527,7 +527,6 @@ in {
|
|||||||
|
|
||||||
{
|
{
|
||||||
networkmanager.connectionConfig = {
|
networkmanager.connectionConfig = {
|
||||||
"ipv6.ip6-privacy" = 2;
|
|
||||||
"ethernet.cloned-mac-address" = cfg.ethernet.macAddress;
|
"ethernet.cloned-mac-address" = cfg.ethernet.macAddress;
|
||||||
"wifi.cloned-mac-address" = cfg.wifi.macAddress;
|
"wifi.cloned-mac-address" = cfg.wifi.macAddress;
|
||||||
"wifi.powersave" =
|
"wifi.powersave" =
|
||||||
|
@ -1233,6 +1233,8 @@ in
|
|||||||
"net.ipv4.conf.all.forwarding" = mkDefault (any (i: i.proxyARP) interfaces);
|
"net.ipv4.conf.all.forwarding" = mkDefault (any (i: i.proxyARP) interfaces);
|
||||||
"net.ipv6.conf.all.disable_ipv6" = mkDefault (!cfg.enableIPv6);
|
"net.ipv6.conf.all.disable_ipv6" = mkDefault (!cfg.enableIPv6);
|
||||||
"net.ipv6.conf.default.disable_ipv6" = mkDefault (!cfg.enableIPv6);
|
"net.ipv6.conf.default.disable_ipv6" = mkDefault (!cfg.enableIPv6);
|
||||||
|
# networkmanager falls back to "/proc/sys/net/ipv6/conf/default/use_tempaddr"
|
||||||
|
"net.ipv6.conf.default.use_tempaddr" = tempaddrValues.${cfg.tempAddresses}.sysctl;
|
||||||
} // listToAttrs (flip concatMap (filter (i: i.proxyARP) interfaces)
|
} // listToAttrs (flip concatMap (filter (i: i.proxyARP) interfaces)
|
||||||
(i: [(nameValuePair "net.ipv4.conf.${replaceChars ["."] ["/"] i.name}.proxy_arp" true)]))
|
(i: [(nameValuePair "net.ipv4.conf.${replaceChars ["."] ["/"] i.name}.proxy_arp" true)]))
|
||||||
// listToAttrs (forEach interfaces
|
// listToAttrs (forEach interfaces
|
||||||
|
@ -845,7 +845,7 @@ in
|
|||||||
''-append "$(cat ${config.system.build.toplevel}/kernel-params) init=${config.system.build.toplevel}/init regInfo=${regInfo}/registration ${consoles} $QEMU_KERNEL_PARAMS"''
|
''-append "$(cat ${config.system.build.toplevel}/kernel-params) init=${config.system.build.toplevel}/init regInfo=${regInfo}/registration ${consoles} $QEMU_KERNEL_PARAMS"''
|
||||||
])
|
])
|
||||||
(mkIf cfg.useEFIBoot [
|
(mkIf cfg.useEFIBoot [
|
||||||
"-drive if=pflash,format=raw,unit=0,readonly,file=${efiFirmware}"
|
"-drive if=pflash,format=raw,unit=0,readonly=on,file=${efiFirmware}"
|
||||||
"-drive if=pflash,format=raw,unit=1,file=$NIX_EFI_VARS"
|
"-drive if=pflash,format=raw,unit=1,file=$NIX_EFI_VARS"
|
||||||
])
|
])
|
||||||
(mkIf (cfg.bios != null) [
|
(mkIf (cfg.bios != null) [
|
||||||
|
@ -23,6 +23,8 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ libressl ncurses ];
|
buildInputs = [ libressl ncurses ];
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://git.causal.agency/catgirl/about/";
|
homepage = "https://git.causal.agency/catgirl/about/";
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
|
@ -1,54 +1,82 @@
|
|||||||
{ autoPatchelfHook, bzip2, cairo, coreutils, fetchurl, gdk-pixbuf, pango, gtk2, kcoreaddons, ki18n, kio, kservice, lib, qt4, qtbase, stdenv, runtimeShell }:
|
{ lib, autoPatchelfHook, bzip2, cairo, coreutils, fetchurl, gdk-pixbuf, glibc, pango, gtk2, kcoreaddons, ki18n, kio, kservice
|
||||||
|
, stdenv, runtimeShell, unzip
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
pname = "bcompare";
|
pname = "bcompare";
|
||||||
version = "4.4.0.25886";
|
version = "4.4.0.25886";
|
||||||
|
|
||||||
src = fetchurl {
|
throwSystem = throw "Unsupported system: ${stdenv.hostPlatform.system}";
|
||||||
url = "https://www.scootersoftware.com/${pname}-${version}_amd64.deb";
|
|
||||||
sha256 = "sha256-zQZrCjXzoOZ5o5M4t1n5/HhGoGTcZSj5rlf9Uz9UZko=";
|
srcs = {
|
||||||
|
x86_64-linux = fetchurl {
|
||||||
|
url = "https://www.scootersoftware.com/${pname}-${version}_amd64.deb";
|
||||||
|
sha256 = "sha256-zQZrCjXzoOZ5o5M4t1n5/HhGoGTcZSj5rlf9Uz9UZko=";
|
||||||
|
};
|
||||||
|
|
||||||
|
x86_64-darwin = fetchurl {
|
||||||
|
url = "https://www.scootersoftware.com/BCompareOSX-${version}.zip";
|
||||||
|
sha256 = "sha256-dez30a1sp+4XuBBYhu07Vpn1+AUmX0Ni7aad7hy2ajQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
aarch64-darwin = srcs.x86_64-darwin;
|
||||||
};
|
};
|
||||||
|
|
||||||
unpackPhase = ''
|
src = srcs.${stdenv.hostPlatform.system} or throwSystem;
|
||||||
ar x $src
|
|
||||||
tar xfz data.tar.gz
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
linux = stdenv.mkDerivation {
|
||||||
mkdir -p $out/bin $out/lib $out/share
|
inherit pname version src meta;
|
||||||
cp -R usr/share $out/
|
unpackPhase = ''
|
||||||
cp -R usr/lib $out/
|
ar x $src
|
||||||
cp -R usr/bin $out/
|
tar xfz data.tar.gz
|
||||||
|
'';
|
||||||
|
|
||||||
# Remove library that refuses to be autoPatchelf'ed
|
installPhase = ''
|
||||||
rm $out/lib/beyondcompare/ext/bcompare_ext_kde.amd64.so
|
mkdir -p $out/{bin,lib,share}
|
||||||
|
|
||||||
substituteInPlace $out/bin/bcompare \
|
cp -R usr/{bin,lib,share} $out/
|
||||||
--replace "/usr/lib/beyondcompare" "$out/lib/beyondcompare" \
|
|
||||||
--replace "/bin/bash" "${runtimeShell}"
|
|
||||||
|
|
||||||
# Create symlink bzip2 library
|
# Remove library that refuses to be autoPatchelf'ed
|
||||||
ln -s ${bzip2.out}/lib/libbz2.so.1 $out/lib/beyondcompare/libbz2.so.1.0
|
rm $out/lib/beyondcompare/ext/bcompare_ext_kde.amd64.so
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [ autoPatchelfHook ];
|
substituteInPlace $out/bin/${pname} \
|
||||||
|
--replace "/usr/lib/beyondcompare" "$out/lib/beyondcompare" \
|
||||||
|
--replace "ldd" "${glibc.out}/bin/ldd" \
|
||||||
|
--replace "/bin/bash" "${runtimeShell}"
|
||||||
|
|
||||||
buildInputs = [
|
# Create symlink bzip2 library
|
||||||
stdenv.cc.cc.lib
|
ln -s ${bzip2.out}/lib/libbz2.so.1 $out/lib/beyondcompare/libbz2.so.1.0
|
||||||
gtk2
|
'';
|
||||||
pango
|
|
||||||
cairo
|
|
||||||
kio
|
|
||||||
kservice
|
|
||||||
ki18n
|
|
||||||
kcoreaddons
|
|
||||||
gdk-pixbuf
|
|
||||||
bzip2
|
|
||||||
];
|
|
||||||
|
|
||||||
dontBuild = true;
|
nativeBuildInputs = [ autoPatchelfHook ];
|
||||||
dontConfigure = true;
|
|
||||||
dontWrapQtApps = true;
|
buildInputs = [
|
||||||
|
stdenv.cc.cc.lib
|
||||||
|
gtk2
|
||||||
|
pango
|
||||||
|
cairo
|
||||||
|
kio
|
||||||
|
kservice
|
||||||
|
ki18n
|
||||||
|
kcoreaddons
|
||||||
|
gdk-pixbuf
|
||||||
|
bzip2
|
||||||
|
];
|
||||||
|
|
||||||
|
dontBuild = true;
|
||||||
|
dontConfigure = true;
|
||||||
|
dontWrapQtApps = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
darwin = stdenv.mkDerivation {
|
||||||
|
inherit pname version src meta;
|
||||||
|
nativeBuildInputs = [ unzip ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/Applications/BCompare.app
|
||||||
|
cp -R . $out/Applications/BCompare.app
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "GUI application that allows to quickly and easily compare files and folders";
|
description = "GUI application that allows to quickly and easily compare files and folders";
|
||||||
@ -59,8 +87,10 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
homepage = "https://www.scootersoftware.com";
|
homepage = "https://www.scootersoftware.com";
|
||||||
license = licenses.unfree;
|
license = licenses.unfree;
|
||||||
maintainers = [ maintainers.ktor ];
|
maintainers = with maintainers; [ ktor arkivm ];
|
||||||
platforms = [ "x86_64-linux" ];
|
platforms = builtins.attrNames srcs;
|
||||||
};
|
};
|
||||||
|
in
|
||||||
}
|
if stdenv.isDarwin
|
||||||
|
then darwin
|
||||||
|
else linux
|
||||||
|
@ -3,14 +3,12 @@
|
|||||||
, mesa, automake, autoconf
|
, mesa, automake, autoconf
|
||||||
, gstreamerSupport ? true, gst_all_1 }:
|
, gstreamerSupport ? true, gst_all_1 }:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
pname = "cogl";
|
pname = "cogl";
|
||||||
in stdenv.mkDerivation rec {
|
|
||||||
name = "${pname}-${version}";
|
|
||||||
version = "1.22.8";
|
version = "1.22.8";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/cogl-${version}.tar.xz";
|
||||||
sha256 = "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8";
|
sha256 = "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
59
pkgs/development/python-modules/devolo-plc-api/default.nix
Normal file
59
pkgs/development/python-modules/devolo-plc-api/default.nix
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, httpx
|
||||||
|
, protobuf
|
||||||
|
, pytest-asyncio
|
||||||
|
, pytest-httpx
|
||||||
|
, pytest-mock
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, setuptools-scm
|
||||||
|
, zeroconf
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "devolo-plc-api";
|
||||||
|
version = "0.6.3";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "2Fake";
|
||||||
|
repo = "devolo_plc_api";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "6EIT6ifC4M4qj/2dZYVZ3fb3bPs25R7IEh/MduYTTkU=";
|
||||||
|
};
|
||||||
|
|
||||||
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
setuptools-scm
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
httpx
|
||||||
|
protobuf
|
||||||
|
zeroconf
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytest-asyncio
|
||||||
|
pytest-httpx
|
||||||
|
pytest-mock
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"devolo_plc_api"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python module to interact with Devolo PLC devices";
|
||||||
|
homepage = "https://github.com/2Fake/devolo_plc_api";
|
||||||
|
license = licenses.gpl3Only;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -2,6 +2,8 @@
|
|||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, callPackage
|
, callPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, pythonOlder
|
||||||
|
, argcomplete
|
||||||
, debugpy
|
, debugpy
|
||||||
, ipython
|
, ipython
|
||||||
, jupyter-client
|
, jupyter-client
|
||||||
@ -24,6 +26,8 @@ buildPythonPackage rec {
|
|||||||
jupyter-client
|
jupyter-client
|
||||||
tornado
|
tornado
|
||||||
traitlets
|
traitlets
|
||||||
|
] ++ lib.optionals (pythonOlder "3.8") [
|
||||||
|
argcomplete
|
||||||
];
|
];
|
||||||
|
|
||||||
# check in passthru.tests.pytest to escape infinite recursion with ipyparallel
|
# check in passthru.tests.pytest to escape infinite recursion with ipyparallel
|
||||||
|
@ -1,23 +1,41 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, pkg-config, libversion, pythonOlder }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, libversion
|
||||||
|
, pkg-config
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "libversion";
|
pname = "libversion";
|
||||||
version = "1.2.3";
|
version = "1.2.4";
|
||||||
|
format = "setuptools";
|
||||||
src = fetchPypi {
|
|
||||||
inherit pname version;
|
|
||||||
sha256 = "e6e903cc6307c3eda90401373eb81bfd0dd2dc93772ddab3d23705bed0c6f6e9";
|
|
||||||
};
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
|
||||||
buildInputs = [ libversion ];
|
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "repology";
|
||||||
|
repo = "py-libversion";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-p0wtSB+QXAERf+57MMb8cqWoy1bG3XaCpR9GPwYYvJM=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
libversion
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"libversion"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/repology/py-libversion";
|
|
||||||
description = "Python bindings for libversion, which provides fast, powerful and correct generic version string comparison algorithm";
|
description = "Python bindings for libversion, which provides fast, powerful and correct generic version string comparison algorithm";
|
||||||
|
homepage = "https://github.com/repology/py-libversion";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = [ maintainers.ryantm ];
|
maintainers = with maintainers; [ ryantm ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,24 +1,31 @@
|
|||||||
{ lib, buildPythonPackage, fetchFromGitHub, requests, iso8601, bottle, pytest, pytest-cov }:
|
{ lib, buildPythonPackage, fetchFromGitHub, requests, iso8601, bottle, pytestCheckHook }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "m3u8";
|
pname = "m3u8";
|
||||||
version = "0.6.0";
|
version = "0.9.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "globocom";
|
owner = "globocom";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0cmg993icpsa1b19kljxvjwhs167bsqrs0ad4wnwsi8qq6na5d4p";
|
sha256 = "sha256-EfHhmV2otEgEy2OVohS+DF7dk97GFdWZ4cFCERZBmlA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ bottle pytest pytest-cov ];
|
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
pytest tests/test_{parser,model,variant_m3u8}.py
|
|
||||||
'';
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ requests iso8601 ];
|
propagatedBuildInputs = [ requests iso8601 ];
|
||||||
|
|
||||||
|
checkInputs = [ bottle pytestCheckHook ];
|
||||||
|
|
||||||
|
pytestFlagsArray = [
|
||||||
|
"tests/test_parser.py"
|
||||||
|
"tests/test_model.py"
|
||||||
|
"tests/test_variant_m3u8.py"
|
||||||
|
];
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
# Fix test on Hydra
|
||||||
|
substituteInPlace tests/test_model.py --replace "/tmp/d.m3u8" "$TMPDIR/d.m3u8"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/globocom/m3u8";
|
homepage = "https://github.com/globocom/m3u8";
|
||||||
description = "Python m3u8 parser";
|
description = "Python m3u8 parser";
|
||||||
|
@ -2,35 +2,42 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "crda";
|
pname = "crda";
|
||||||
version = "3.18";
|
version = "4.14";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
sha256 = "1gydiqgb08d9gbx4l6gv98zg3pljc984m50hmn3ysxcbkxkvkz23";
|
url = "https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/crda.git/snapshot/crda-${version}.tar.gz";
|
||||||
url = "http://kernel.org/pub/software/network/crda/crda-${version}.tar.xz";
|
sha256 = "sha256-Wo81u4snR09Gaw511FG6kXQz2KqxiJZ4pk2cTnKouMI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# Switch to Python 3
|
# Fix python 3 build: except ImportError, e: SyntaxError: invalid syntax
|
||||||
# https://lore.kernel.org/linux-wireless/1437542484-23409-1-git-send-email-ahmed.taahir@gmail.com/
|
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
url = "https://lore.kernel.org/linux-wireless/1437542484-23409-2-git-send-email-ahmed.taahir@gmail.com/raw";
|
url = "https://raw.githubusercontent.com/archlinux/svntogit-packages/d234fddf451fab0f4fc412e2769f54e11f10d7d8/trunk/crda-4.14-python-3.patch";
|
||||||
sha256 = "0s2n340cgaasvg1k8g9v8xjrbh4y2mcgrhdmv97ja2fs8xjcjbf1";
|
sha256 = "sha256-KEezEKrfizq9k4ZiE2mf3Nl4JiBayhXeVnFl7wYh28Y=";
|
||||||
})
|
})
|
||||||
|
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
url = "https://lore.kernel.org/linux-wireless/1437542484-23409-3-git-send-email-ahmed.taahir@gmail.com/raw";
|
url = "https://raw.githubusercontent.com/archlinux/svntogit-packages/d48ec843222b0d74c85bce86fa6f087c7dfdf952/trunk/0001-Makefile-Link-libreg.so-against-the-crypto-library.patch";
|
||||||
sha256 = "01dlfw7kqhyx025jxq2l75950b181p9r7i9zkflcwvbzzdmx59md";
|
sha256 = "sha256-j93oydi209f22OF8aXZ/NczuUOnlhkdSeYvy2WRRvm0=";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ libgcrypt libnl ];
|
strictDeps = true;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
python3Packages.pycrypto
|
python3Packages.m2crypto # only used for a build time script
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
libgcrypt
|
||||||
|
libnl
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs utils/
|
patchShebangs utils/
|
||||||
substituteInPlace Makefile \
|
substituteInPlace Makefile \
|
||||||
|
--replace 'gzip' 'gzip -n' \
|
||||||
--replace ldconfig true \
|
--replace ldconfig true \
|
||||||
--replace pkg-config $PKG_CONFIG
|
--replace pkg-config $PKG_CONFIG
|
||||||
sed -i crda.c \
|
sed -i crda.c \
|
||||||
@ -45,19 +52,12 @@ stdenv.mkDerivation rec {
|
|||||||
"REG_BIN=${wireless-regdb}/lib/crda/regulatory.bin"
|
"REG_BIN=${wireless-regdb}/lib/crda/regulatory.bin"
|
||||||
];
|
];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-Wno-error=unused-const-variable";
|
|
||||||
|
|
||||||
buildFlags = [ "all_noverify" ];
|
buildFlags = [ "all_noverify" ];
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
checkTarget = "verify";
|
checkTarget = "verify";
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
# The patch installs build header
|
|
||||||
rm $out/include/reglib/keys-gcrypt.h
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Linux wireless Central Regulatory Domain Agent";
|
description = "Linux wireless Central Regulatory Domain Agent";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ lib, stdenv, fetchurl, gnugrep, findutils }:
|
{ lib, stdenv, fetchurl, gnugrep, findutils }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "22-1.1ubuntu1"; # Zesty
|
version = "28-1ubuntu4"; # impish 2021-06-24
|
||||||
|
|
||||||
in stdenv.mkDerivation {
|
in stdenv.mkDerivation {
|
||||||
pname = "kmod-blacklist";
|
pname = "kmod-blacklist";
|
||||||
@ -9,7 +9,7 @@ in stdenv.mkDerivation {
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://launchpad.net/ubuntu/+archive/primary/+files/kmod_${version}.debian.tar.xz";
|
url = "https://launchpad.net/ubuntu/+archive/primary/+files/kmod_${version}.debian.tar.xz";
|
||||||
sha256 = "1k749g707ccb82l4xmrkp53khl71f57cpj9fzd1qyzrz147fjyhi";
|
sha256 = "sha256-K8tWpaLmCm3Jcxw3OZ+D7Koiug7epooRn1YMfqjGAiw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
@ -31,7 +31,7 @@ in stdenv.mkDerivation {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://packages.ubuntu.com/source/zesty/kmod";
|
homepage = "https://launchpad.net/ubuntu/+source/kmod";
|
||||||
description = "Linux kernel module blacklists from Ubuntu";
|
description = "Linux kernel module blacklists from Ubuntu";
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
license = with licenses; [ gpl2Plus lgpl21Plus ];
|
license = with licenses; [ gpl2Plus lgpl21Plus ];
|
||||||
|
26
pkgs/servers/http/quark/default.nix
Normal file
26
pkgs/servers/http/quark/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ lib, stdenv, fetchgit, patches ? null }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "quark";
|
||||||
|
version = "unstable-2021-02-22";
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = "git://git.suckless.org/quark";
|
||||||
|
rev = "68b4f733b2755762e43df90f73db5a6ec8d14104";
|
||||||
|
sha256 = "sha256-Jtu5zJfHd+6Oq572nVem5msMDCOjdqDNH4SQck8/O5A=";
|
||||||
|
};
|
||||||
|
|
||||||
|
inherit patches;
|
||||||
|
|
||||||
|
makeFlags = [ "CC:=$(CC)" ];
|
||||||
|
|
||||||
|
installFlags = [ "PREFIX=$(out)" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Extremely small and simple HTTP GET/HEAD-only web server for static content";
|
||||||
|
homepage = "http://tools.suckless.org/quark";
|
||||||
|
license = licenses.isc;
|
||||||
|
maintainers = with maintainers; [ sikmir ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -103,6 +103,8 @@ in stdenv.mkDerivation rec {
|
|||||||
mkdir -p $out/share/zsh/site-functions
|
mkdir -p $out/share/zsh/site-functions
|
||||||
mv $out/google-cloud-sdk/completion.zsh.inc $out/share/zsh/site-functions/_gcloud
|
mv $out/google-cloud-sdk/completion.zsh.inc $out/share/zsh/site-functions/_gcloud
|
||||||
ln -s $out/share/zsh/site-functions/_gcloud $out/share/zsh/site-functions/_gsutil
|
ln -s $out/share/zsh/site-functions/_gcloud $out/share/zsh/site-functions/_gsutil
|
||||||
|
# zsh doesn't load completions from $FPATH without #compdef as the first line
|
||||||
|
sed -i '1 i #compdef gcloud' $out/share/zsh/site-functions/_gcloud
|
||||||
|
|
||||||
# This directory contains compiled mac binaries. We used crcmod from
|
# This directory contains compiled mac binaries. We used crcmod from
|
||||||
# nixpkgs instead.
|
# nixpkgs instead.
|
||||||
|
26
pkgs/tools/misc/gotify-desktop/default.nix
Normal file
26
pkgs/tools/misc/gotify-desktop/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ lib, fetchFromGitHub, rustPlatform, openssl, pkg-config}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "gotify-desktop";
|
||||||
|
version = "1.2.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "desbma";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-QQpZeXFv8BqFOQ+7ANWmtsgNlMakAL2ML4rlG2cFZJE=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "sha256-zcSAsI/yGGJer7SPKDKZ6NQ3UgTdBcDighS6VTNITMo=";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
|
buildInputs = [ openssl ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Small Gotify daemon to send messages as desktop notifications";
|
||||||
|
homepage = "https://github.com/desbma/gotify-desktop";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
maintainers = [ maintainers.bryanasdev000 ];
|
||||||
|
};
|
||||||
|
}
|
@ -3076,6 +3076,8 @@ with pkgs;
|
|||||||
|
|
||||||
gotify-cli = callPackage ../tools/misc/gotify-cli { };
|
gotify-cli = callPackage ../tools/misc/gotify-cli { };
|
||||||
|
|
||||||
|
gotify-desktop = callPackage ../tools/misc/gotify-desktop { };
|
||||||
|
|
||||||
gping = callPackage ../tools/networking/gping { };
|
gping = callPackage ../tools/networking/gping { };
|
||||||
|
|
||||||
gpu-burn = callPackage ../applications/misc/gpu-burn { };
|
gpu-burn = callPackage ../applications/misc/gpu-burn { };
|
||||||
@ -21069,6 +21071,8 @@ with pkgs;
|
|||||||
|
|
||||||
pshs = callPackage ../servers/http/pshs { };
|
pshs = callPackage ../servers/http/pshs { };
|
||||||
|
|
||||||
|
quark = callPackage ../servers/http/quark { };
|
||||||
|
|
||||||
sympa = callPackage ../servers/mail/sympa { };
|
sympa = callPackage ../servers/mail/sympa { };
|
||||||
|
|
||||||
system-sendmail = lowPrio (callPackage ../servers/mail/system-sendmail { });
|
system-sendmail = lowPrio (callPackage ../servers/mail/system-sendmail { });
|
||||||
|
@ -2026,6 +2026,8 @@ in {
|
|||||||
|
|
||||||
devolo-home-control-api = callPackage ../development/python-modules/devolo-home-control-api { };
|
devolo-home-control-api = callPackage ../development/python-modules/devolo-home-control-api { };
|
||||||
|
|
||||||
|
devolo-plc-api = callPackage ../development/python-modules/devolo-plc-api { };
|
||||||
|
|
||||||
devpi-common = callPackage ../development/python-modules/devpi-common { };
|
devpi-common = callPackage ../development/python-modules/devpi-common { };
|
||||||
|
|
||||||
devtools = callPackage ../development/python-modules/devtools { };
|
devtools = callPackage ../development/python-modules/devtools { };
|
||||||
|
Loading…
Reference in New Issue
Block a user