Merge master into staging-next
This commit is contained in:
commit
ac92955702
@ -26,7 +26,7 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = {
|
config = mkIf cfg.enable {
|
||||||
services.dbus.packages = [ pkgs.globalprotect-openconnect ];
|
services.dbus.packages = [ pkgs.globalprotect-openconnect ];
|
||||||
|
|
||||||
systemd.services.gpservice = {
|
systemd.services.gpservice = {
|
||||||
|
@ -77,6 +77,16 @@ in {
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
periodicArchiveProcessingUrl = mkOption {
|
||||||
|
type = types.str;
|
||||||
|
default = "${user}.${fqdn}";
|
||||||
|
example = "matomo.yourdomain.org";
|
||||||
|
description = ''
|
||||||
|
URL of the host, without https prefix. By default, this is ${user}.${fqdn}, but you may want to change it if you
|
||||||
|
run Matomo on a different URL than matomo.yourdomain.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
nginx = mkOption {
|
nginx = mkOption {
|
||||||
type = types.nullOr (types.submodule (
|
type = types.nullOr (types.submodule (
|
||||||
recursiveUpdate
|
recursiveUpdate
|
||||||
@ -190,7 +200,7 @@ in {
|
|||||||
UMask = "0007";
|
UMask = "0007";
|
||||||
CPUSchedulingPolicy = "idle";
|
CPUSchedulingPolicy = "idle";
|
||||||
IOSchedulingClass = "idle";
|
IOSchedulingClass = "idle";
|
||||||
ExecStart = "${cfg.package}/bin/matomo-console core:archive --url=https://${user}.${fqdn}";
|
ExecStart = "${cfg.package}/bin/matomo-console core:archive --url=https://${cfg.periodicArchiveProcessingUrl}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -58,7 +58,19 @@ in {
|
|||||||
|
|
||||||
Run <literal>VBoxManage modifyvm --help</literal> to see more options.
|
Run <literal>VBoxManage modifyvm --help</literal> to see more options.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
exportParams = mkOption {
|
||||||
|
type = with types; listOf (oneOf [ str int bool (listOf str) ]);
|
||||||
|
example = [
|
||||||
|
"--vsys" "0" "--vendor" "ACME Inc."
|
||||||
|
];
|
||||||
|
default = [];
|
||||||
|
description = ''
|
||||||
|
Parameters passed to the Virtualbox export command.
|
||||||
|
|
||||||
|
Run <literal>VBoxManage export --help</literal> to see more options.
|
||||||
|
'';
|
||||||
|
};
|
||||||
extraDisk = mkOption {
|
extraDisk = mkOption {
|
||||||
description = ''
|
description = ''
|
||||||
Optional extra disk/hdd configuration.
|
Optional extra disk/hdd configuration.
|
||||||
@ -158,7 +170,7 @@ in {
|
|||||||
echo "exporting VirtualBox VM..."
|
echo "exporting VirtualBox VM..."
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
fn="$out/${cfg.vmFileName}"
|
fn="$out/${cfg.vmFileName}"
|
||||||
VBoxManage export "$vmName" --output "$fn" --options manifest
|
VBoxManage export "$vmName" --output "$fn" --options manifest ${escapeShellArgs cfg.exportParams}
|
||||||
|
|
||||||
rm -v $diskImage
|
rm -v $diskImage
|
||||||
|
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromBitbucket
|
, fetchFromBitbucket
|
||||||
, fetchpatch
|
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
, pkg-config
|
, pkg-config
|
||||||
@ -20,23 +19,15 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "wio";
|
pname = "wio";
|
||||||
version = "0.0.0+unstable=2021-06-01";
|
version = "0.0.0+unstable=2021-06-27";
|
||||||
|
|
||||||
src = fetchFromBitbucket {
|
src = fetchFromBitbucket {
|
||||||
owner = "anderson_torres";
|
owner = "anderson_torres";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "ad57eb45ba0459cd0b16ba486cb6e01626079c29";
|
rev = "e0b258777995055d69e61a0246a6a64985743f42";
|
||||||
sha256 = "sha256-mCggAscQ+Ej3SNwhA6QxecV1nH6Rw8RDf8yAsbadqjE=";
|
sha256 = "sha256-8H9fOnZsNjjq9XvOv68F4RRglGNluxs5/jp/h4ROLiI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Fix the build with wlroots 0.14:
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://git.sr.ht/~primeos/wio/commit/9d5093c019f6966b8ee0dba1da3361a761d04bcc.patch";
|
|
||||||
sha256 = "08hfmcs1fbz8pdxwcaidrhvydf19482i6wics75a41ilrdh0dpi1";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
|
@ -1,45 +1,33 @@
|
|||||||
{ lib, stdenv, buildPythonPackage, fetchFromGitHub, isPy27
|
{ lib, stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder
|
||||||
, pandas, shapely, fiona, descartes, pyproj
|
, pandas, shapely, fiona, pyproj
|
||||||
, pytestCheckHook, Rtree, fetchpatch }:
|
, pytestCheckHook, Rtree }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "geopandas";
|
pname = "geopandas";
|
||||||
version = "0.8.1";
|
version = "0.9.0";
|
||||||
disabled = isPy27;
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "geopandas";
|
owner = "geopandas";
|
||||||
repo = "geopandas";
|
repo = "geopandas";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0618p0s0biisxk2s0h43hkc3bs1nwjk84rxbfyd6brfvs9yx4vq7";
|
sha256 = "sha256-58X562OkRzZ4UTNMTwXW4U5czoa5tbSMBCcE90DqbaE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Fix for test test_numerical_operations: https://github.com/geopandas/geopandas/issues/1541
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/geopandas/geopandas/pull/1544/commits/6ce868a33a2f483b071089d51e178030fa4414d0.patch";
|
|
||||||
sha256 = "1sjgxrqgbhz5krx51hrv230ywszcdl6z8q3bj6830kfad8n8b5dq";
|
|
||||||
})
|
|
||||||
# Fix GeoJSON for Fiona>=1.8.16 (Sep. 7, 2020).
|
|
||||||
# https://github.com/geopandas/geopandas/issues/1606
|
|
||||||
# Will be included in next upstream release after 0.8.1
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/geopandas/geopandas/commit/72427d3d8c128039bfce1d54a76c0b652887b276.patch";
|
|
||||||
sha256 = "1726mrpddgmba0ngff73a5bsb6ywpsg63a2pdd2grp9339bgvi4a";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
pandas
|
pandas
|
||||||
shapely
|
shapely
|
||||||
fiona
|
fiona
|
||||||
descartes
|
|
||||||
pyproj
|
pyproj
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = !stdenv.isDarwin;
|
doCheck = !stdenv.isDarwin;
|
||||||
checkInputs = [ pytestCheckHook Rtree ];
|
checkInputs = [ pytestCheckHook Rtree ];
|
||||||
disabledTests = [ "web" ];
|
disabledTests = [
|
||||||
|
# requires network access
|
||||||
|
"test_read_file_remote_geojson_url"
|
||||||
|
"test_read_file_remote_zipfile_url"
|
||||||
|
];
|
||||||
pytestFlagsArray = [ "geopandas" ];
|
pytestFlagsArray = [ "geopandas" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
30
pkgs/development/python-modules/lmnotify/default.nix
Normal file
30
pkgs/development/python-modules/lmnotify/default.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, oauthlib
|
||||||
|
, requests
|
||||||
|
, requests_oauthlib
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "lmnotify";
|
||||||
|
version = "0.0.4";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1l0h4yab7ix8psf65iygc1wy5xwq3v2rwwjixvd8rwk46d2477dx";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ oauthlib requests requests_oauthlib ];
|
||||||
|
|
||||||
|
doCheck = false; # no tests exist
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "lmnotify" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "lmnotify is a package for sending notifications to LaMetric Time.";
|
||||||
|
homepage = "https://github.com/keans/lmnotify";
|
||||||
|
maintainers = with maintainers; [ rhoriguchi ];
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
{ config, lib, buildEnv, callPackage, vscode-utils, nodePackages, jdk, llvmPackages_8, nixpkgs-fmt, jq, shellcheck }:
|
{ config, lib, buildEnv, callPackage, vscode-utils, asciidoctor, nodePackages, jdk, llvmPackages_8, nixpkgs-fmt, jq, shellcheck }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (vscode-utils) buildVscodeMarketplaceExtension;
|
inherit (vscode-utils) buildVscodeMarketplaceExtension;
|
||||||
@ -109,6 +109,28 @@ let
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
asciidoctor.asciidoctor-vscode = buildVscodeMarketplaceExtension {
|
||||||
|
mktplcRef = {
|
||||||
|
name = "asciidoctor-vscode";
|
||||||
|
publisher = "asciidoctor";
|
||||||
|
version = "2.8.9";
|
||||||
|
sha256 = "1xkxx5i3nhd0dzqhhdmx0li5jifsgfhv0p5h7xwsscz3gzgsdcyb";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace dist/src/text-parser.js \
|
||||||
|
--replace "get('asciidoctor_command', 'asciidoctor')" \
|
||||||
|
"get('asciidoctor_command', '${asciidoctor}/bin/asciidoctor')"
|
||||||
|
substituteInPlace dist/src/commands/exportAsPDF.js \
|
||||||
|
--replace "get('asciidoctorpdf_command', 'asciidoctor-pdf')" \
|
||||||
|
"get('asciidoctorpdf_command', '${asciidoctor}/bin/asciidoctor-pdf')"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
ms-python.vscode-pylance = buildVscodeMarketplaceExtension {
|
ms-python.vscode-pylance = buildVscodeMarketplaceExtension {
|
||||||
mktplcRef = {
|
mktplcRef = {
|
||||||
name = "vscode-pylance";
|
name = "vscode-pylance";
|
||||||
|
@ -436,7 +436,7 @@
|
|||||||
"kulersky" = ps: with ps; [ pykulersky ];
|
"kulersky" = ps: with ps; [ pykulersky ];
|
||||||
"kwb" = ps: with ps; [ ]; # missing inputs: pykwb
|
"kwb" = ps: with ps; [ ]; # missing inputs: pykwb
|
||||||
"lacrosse" = ps: with ps; [ pylacrosse ];
|
"lacrosse" = ps: with ps; [ pylacrosse ];
|
||||||
"lametric" = ps: with ps; [ ]; # missing inputs: lmnotify
|
"lametric" = ps: with ps; [ lmnotify ];
|
||||||
"lannouncer" = ps: with ps; [ ];
|
"lannouncer" = ps: with ps; [ ];
|
||||||
"lastfm" = ps: with ps; [ pylast ];
|
"lastfm" = ps: with ps; [ pylast ];
|
||||||
"launch_library" = ps: with ps; [ ]; # missing inputs: pylaunches
|
"launch_library" = ps: with ps; [ ]; # missing inputs: pylaunches
|
||||||
|
@ -1,31 +1,51 @@
|
|||||||
{ lib, pkg-config, buildGoPackage, fetchFromGitHub
|
{ lib
|
||||||
, makeWrapper, coreutils, gnupg, gnutar, squashfsTools, debootstrap
|
, pkg-config
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
, makeWrapper
|
||||||
|
, coreutils
|
||||||
|
, gnupg
|
||||||
|
, gnutar
|
||||||
|
, squashfsTools
|
||||||
|
, debootstrap
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let binPath = lib.makeBinPath [
|
let
|
||||||
coreutils gnupg gnutar squashfsTools debootstrap
|
bins = [
|
||||||
];
|
coreutils
|
||||||
|
gnupg
|
||||||
|
gnutar
|
||||||
|
squashfsTools
|
||||||
|
debootstrap
|
||||||
|
];
|
||||||
in
|
in
|
||||||
buildGoPackage rec {
|
buildGoModule rec {
|
||||||
pname = "distrobuilder";
|
pname = "distrobuilder";
|
||||||
version = "2019_10_07";
|
version = "1.2";
|
||||||
rev = "d686c88c21838f5505c3ec14711b2413604d7f5c";
|
|
||||||
|
|
||||||
goPackagePath = "github.com/lxc/distrobuilder";
|
vendorSha256 = "sha256-G5FUO6Ul4dA4MZZI9Ho1kE9ptX31tAWak9rWAoD/iuU=";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
inherit rev;
|
|
||||||
owner = "lxc";
|
owner = "lxc";
|
||||||
repo = "distrobuilder";
|
repo = "distrobuilder";
|
||||||
sha256 = "0k59czgasy4d58bkrin6hvgmh7y3nf177lwd0y4g47af27bgnyc4";
|
rev = "distrobuilder-${version}";
|
||||||
|
sha256 = "CE3Tq0oWpVZnSfBBY3/2E2GdZLFsO0NzkPABT8lu+TY=";
|
||||||
|
fetchSubmodules = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
goDeps = ./deps.nix;
|
buildInputs = bins;
|
||||||
|
|
||||||
|
# tests require a local keyserver (mkg20001/nixpkgs branch distrobuilder-with-tests) but gpg is currently broken in tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
makeWrapper
|
||||||
|
] ++ bins;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/distrobuilder --prefix PATH ":" ${binPath}
|
wrapProgram $out/bin/distrobuilder --prefix PATH ":" ${lib.makeBinPath bins}
|
||||||
'';
|
'';
|
||||||
nativeBuildInputs = [ pkg-config makeWrapper ];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "System container image builder for LXC and LXD";
|
description = "System container image builder for LXC and LXD";
|
||||||
@ -35,4 +55,3 @@ buildGoPackage rec {
|
|||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4171,6 +4171,8 @@ in {
|
|||||||
|
|
||||||
lml = callPackage ../development/python-modules/lml { };
|
lml = callPackage ../development/python-modules/lml { };
|
||||||
|
|
||||||
|
lmnotify = callPackage ../development/python-modules/lmnotify { };
|
||||||
|
|
||||||
lmtpd = callPackage ../development/python-modules/lmtpd { };
|
lmtpd = callPackage ../development/python-modules/lmtpd { };
|
||||||
|
|
||||||
localimport = callPackage ../development/python-modules/localimport { };
|
localimport = callPackage ../development/python-modules/localimport { };
|
||||||
|
Loading…
Reference in New Issue
Block a user