mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
Merge staging-next into staging
This commit is contained in:
commit
3edaee3ccf
4
.github/workflows/periodic-merge-24h.yml
vendored
4
.github/workflows/periodic-merge-24h.yml
vendored
@ -28,6 +28,10 @@ jobs:
|
||||
pairs:
|
||||
- from: master
|
||||
into: haskell-updates
|
||||
- from: release-21.05
|
||||
into: staging-next-21.05
|
||||
- from: staging-next-21.05
|
||||
into: staging-21.05
|
||||
name: ${{ matrix.pairs.from }} → ${{ matrix.pairs.into }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
4
.github/workflows/periodic-merge-6h.yml
vendored
4
.github/workflows/periodic-merge-6h.yml
vendored
@ -30,10 +30,6 @@ jobs:
|
||||
into: staging-next
|
||||
- from: staging-next
|
||||
into: staging
|
||||
- from: release-21.05
|
||||
into: staging-next-21.05
|
||||
- from: staging-next-21.05
|
||||
into: staging-21.05
|
||||
name: ${{ matrix.pairs.from }} → ${{ matrix.pairs.into }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -16,6 +16,7 @@ rec {
|
||||
];
|
||||
|
||||
tier3 = [
|
||||
"aarch64-darwin"
|
||||
"armv6l-linux"
|
||||
"armv7l-linux"
|
||||
"i686-linux"
|
||||
|
@ -985,6 +985,7 @@
|
||||
./services/web-apps/jirafeau.nix
|
||||
./services/web-apps/jitsi-meet.nix
|
||||
./services/web-apps/keycloak.nix
|
||||
./services/web-apps/lemmy.nix
|
||||
./services/web-apps/limesurvey.nix
|
||||
./services/web-apps/mastodon.nix
|
||||
./services/web-apps/mattermost.nix
|
||||
|
34
nixos/modules/services/web-apps/lemmy.md
Normal file
34
nixos/modules/services/web-apps/lemmy.md
Normal file
@ -0,0 +1,34 @@
|
||||
# Lemmy {#module-services-lemmy}
|
||||
|
||||
Lemmy is a federated alternative to reddit in rust.
|
||||
|
||||
## Quickstart {#module-services-lemmy-quickstart}
|
||||
|
||||
the minimum to start lemmy is
|
||||
|
||||
```nix
|
||||
services.lemmy = {
|
||||
enable = true;
|
||||
settings = {
|
||||
hostname = "lemmy.union.rocks";
|
||||
database.createLocally = true;
|
||||
};
|
||||
jwtSecretPath = "/run/secrets/lemmyJwt";
|
||||
caddy.enable = true;
|
||||
}
|
||||
```
|
||||
|
||||
(note that you can use something like agenix to get your secret jwt to the specified path)
|
||||
|
||||
this will start the backend on port 8536 and the frontend on port 1234.
|
||||
It will expose your instance with a caddy reverse proxy to the hostname you've provided.
|
||||
Postgres will be initialized on that same instance automatically.
|
||||
|
||||
## Usage {#module-services-lemmy-usage}
|
||||
|
||||
On first connection you will be asked to define an admin user.
|
||||
|
||||
## Missing {#module-services-lemmy-missing}
|
||||
|
||||
- Exposing with nginx is not implemented yet.
|
||||
- This has been tested using a local database with a unix socket connection. Using different database settings will likely require modifications
|
238
nixos/modules/services/web-apps/lemmy.nix
Normal file
238
nixos/modules/services/web-apps/lemmy.nix
Normal file
@ -0,0 +1,238 @@
|
||||
{ lib, pkgs, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.services.lemmy;
|
||||
settingsFormat = pkgs.formats.json { };
|
||||
in
|
||||
{
|
||||
meta.maintainers = with maintainers; [ happysalada ];
|
||||
# Don't edit the docbook xml directly, edit the md and generate it:
|
||||
# `pandoc lemmy.md -t docbook --top-level-division=chapter --extract-media=media -f markdown+smart > lemmy.xml`
|
||||
meta.doc = ./lemmy.xml;
|
||||
|
||||
options.services.lemmy = {
|
||||
|
||||
enable = mkEnableOption "lemmy a federated alternative to reddit in rust";
|
||||
|
||||
jwtSecretPath = mkOption {
|
||||
type = types.path;
|
||||
description = "Path to read the jwt secret from.";
|
||||
};
|
||||
|
||||
ui = {
|
||||
port = mkOption {
|
||||
type = types.port;
|
||||
default = 1234;
|
||||
description = "Port where lemmy-ui should listen for incoming requests.";
|
||||
};
|
||||
};
|
||||
|
||||
caddy.enable = mkEnableOption "exposing lemmy with the caddy reverse proxy";
|
||||
|
||||
settings = mkOption {
|
||||
default = { };
|
||||
description = "Lemmy configuration";
|
||||
|
||||
type = types.submodule {
|
||||
freeformType = settingsFormat.type;
|
||||
|
||||
options.hostname = mkOption {
|
||||
type = types.str;
|
||||
default = null;
|
||||
description = "The domain name of your instance (eg 'lemmy.ml').";
|
||||
};
|
||||
|
||||
options.port = mkOption {
|
||||
type = types.port;
|
||||
default = 8536;
|
||||
description = "Port where lemmy should listen for incoming requests.";
|
||||
};
|
||||
|
||||
options.federation = {
|
||||
enabled = mkEnableOption "activitypub federation";
|
||||
};
|
||||
|
||||
options.captcha = {
|
||||
enabled = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
description = "Enable Captcha.";
|
||||
};
|
||||
difficulty = mkOption {
|
||||
type = types.enum [ "easy" "medium" "hard" ];
|
||||
default = "medium";
|
||||
description = "The difficultly of the captcha to solve.";
|
||||
};
|
||||
};
|
||||
|
||||
options.database.createLocally = mkEnableOption "creation of database on the instance";
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
config =
|
||||
let
|
||||
localPostgres = (cfg.settings.database.host == "localhost" || cfg.settings.database.host == "/run/postgresql");
|
||||
in
|
||||
lib.mkIf cfg.enable {
|
||||
services.lemmy.settings = (mapAttrs (name: mkDefault)
|
||||
{
|
||||
bind = "127.0.0.1";
|
||||
tls_enabled = true;
|
||||
pictrs_url = with config.services.pict-rs; "http://${address}:${toString port}";
|
||||
actor_name_max_length = 20;
|
||||
|
||||
rate_limit.message = 180;
|
||||
rate_limit.message_per_second = 60;
|
||||
rate_limit.post = 6;
|
||||
rate_limit.post_per_second = 600;
|
||||
rate_limit.register = 3;
|
||||
rate_limit.register_per_second = 3600;
|
||||
rate_limit.image = 6;
|
||||
rate_limit.image_per_second = 3600;
|
||||
} // {
|
||||
database = mapAttrs (name: mkDefault) {
|
||||
user = "lemmy";
|
||||
host = "/run/postgresql";
|
||||
port = 5432;
|
||||
database = "lemmy";
|
||||
pool_size = 5;
|
||||
};
|
||||
});
|
||||
|
||||
services.postgresql = mkIf localPostgres {
|
||||
enable = mkDefault true;
|
||||
};
|
||||
|
||||
services.pict-rs.enable = true;
|
||||
|
||||
services.caddy = mkIf cfg.caddy.enable {
|
||||
enable = mkDefault true;
|
||||
virtualHosts."${cfg.settings.hostname}" = {
|
||||
extraConfig = ''
|
||||
handle_path /static/* {
|
||||
root * ${pkgs.lemmy-ui}/dist
|
||||
file_server
|
||||
}
|
||||
@for_backend {
|
||||
path /api/* /pictrs/* feeds/* nodeinfo/*
|
||||
}
|
||||
handle @for_backend {
|
||||
reverse_proxy 127.0.0.1:${toString cfg.settings.port}
|
||||
}
|
||||
@post {
|
||||
method POST
|
||||
}
|
||||
handle @post {
|
||||
reverse_proxy 127.0.0.1:${toString cfg.settings.port}
|
||||
}
|
||||
@jsonld {
|
||||
header Accept "application/activity+json"
|
||||
header Accept "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\""
|
||||
}
|
||||
handle @jsonld {
|
||||
reverse_proxy 127.0.0.1:${toString cfg.settings.port}
|
||||
}
|
||||
handle {
|
||||
reverse_proxy 127.0.0.1:${toString cfg.ui.port}
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
assertions = [{
|
||||
assertion = cfg.settings.database.createLocally -> localPostgres;
|
||||
message = "if you want to create the database locally, you need to use a local database";
|
||||
}];
|
||||
|
||||
systemd.services.lemmy = {
|
||||
description = "Lemmy server";
|
||||
|
||||
environment = {
|
||||
LEMMY_CONFIG_LOCATION = "/run/lemmy/config.hjson";
|
||||
|
||||
# Verify how this is used, and don't put the password in the nix store
|
||||
LEMMY_DATABASE_URL = with cfg.settings.database;"postgres:///${database}?host=${host}";
|
||||
};
|
||||
|
||||
documentation = [
|
||||
"https://join-lemmy.org/docs/en/administration/from_scratch.html"
|
||||
"https://join-lemmy.org/docs"
|
||||
];
|
||||
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
after = [ "pict-rs.service " ] ++ lib.optionals cfg.settings.database.createLocally [ "lemmy-postgresql.service" ];
|
||||
|
||||
requires = lib.optionals cfg.settings.database.createLocally [ "lemmy-postgresql.service" ];
|
||||
|
||||
# script is needed here since loadcredential is not accessible on ExecPreStart
|
||||
script = ''
|
||||
${pkgs.coreutils}/bin/install -m 600 ${settingsFormat.generate "config.hjson" cfg.settings} /run/lemmy/config.hjson
|
||||
jwtSecret="$(< $CREDENTIALS_DIRECTORY/jwt_secret )"
|
||||
${pkgs.jq}/bin/jq ".jwt_secret = \"$jwtSecret\"" /run/lemmy/config.hjson | ${pkgs.moreutils}/bin/sponge /run/lemmy/config.hjson
|
||||
${pkgs.lemmy-server}/bin/lemmy_server
|
||||
'';
|
||||
|
||||
serviceConfig = {
|
||||
DynamicUser = true;
|
||||
RuntimeDirectory = "lemmy";
|
||||
LoadCredential = "jwt_secret:${cfg.jwtSecretPath}";
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services.lemmy-ui = {
|
||||
description = "Lemmy ui";
|
||||
|
||||
environment = {
|
||||
LEMMY_UI_HOST = "127.0.0.1:${toString cfg.ui.port}";
|
||||
LEMMY_INTERNAL_HOST = "127.0.0.1:${toString cfg.settings.port}";
|
||||
LEMMY_EXTERNAL_HOST = cfg.settings.hostname;
|
||||
LEMMY_HTTPS = "false";
|
||||
};
|
||||
|
||||
documentation = [
|
||||
"https://join-lemmy.org/docs/en/administration/from_scratch.html"
|
||||
"https://join-lemmy.org/docs"
|
||||
];
|
||||
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
after = [ "lemmy.service" ];
|
||||
|
||||
requires = [ "lemmy.service" ];
|
||||
|
||||
serviceConfig = {
|
||||
DynamicUser = true;
|
||||
WorkingDirectory = "${pkgs.lemmy-ui}";
|
||||
ExecStart = "${pkgs.nodejs}/bin/node ${pkgs.lemmy-ui}/dist/js/server.js";
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services.lemmy-postgresql = mkIf cfg.settings.database.createLocally {
|
||||
description = "Lemmy postgresql db";
|
||||
after = [ "postgresql.service" ];
|
||||
bindsTo = [ "postgresql.service" ];
|
||||
requiredBy = [ "lemmy.service" ];
|
||||
partOf = [ "lemmy.service" ];
|
||||
script = with cfg.settings.database; ''
|
||||
PSQL() {
|
||||
${config.services.postgresql.package}/bin/psql --port=${toString cfg.settings.database.port} "$@"
|
||||
}
|
||||
# check if the database already exists
|
||||
if ! PSQL -lqt | ${pkgs.coreutils}/bin/cut -d \| -f 1 | ${pkgs.gnugrep}/bin/grep -qw ${database} ; then
|
||||
PSQL -tAc "CREATE ROLE ${user} WITH LOGIN;"
|
||||
PSQL -tAc "CREATE DATABASE ${database} WITH OWNER ${user};"
|
||||
fi
|
||||
'';
|
||||
serviceConfig = {
|
||||
User = config.services.postgresql.superUser;
|
||||
Type = "oneshot";
|
||||
RemainAfterExit = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
56
nixos/modules/services/web-apps/lemmy.xml
Normal file
56
nixos/modules/services/web-apps/lemmy.xml
Normal file
@ -0,0 +1,56 @@
|
||||
<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-lemmy">
|
||||
<title>Lemmy</title>
|
||||
<para>
|
||||
Lemmy is a federated alternative to reddit in rust.
|
||||
</para>
|
||||
<section xml:id="module-services-lemmy-quickstart">
|
||||
<title>Quickstart</title>
|
||||
<para>
|
||||
the minimum to start lemmy is
|
||||
</para>
|
||||
<programlisting language="bash">
|
||||
services.lemmy = {
|
||||
enable = true;
|
||||
settings = {
|
||||
hostname = "lemmy.union.rocks";
|
||||
database.createLocally = true;
|
||||
};
|
||||
jwtSecretPath = "/run/secrets/lemmyJwt";
|
||||
caddy.enable = true;
|
||||
}
|
||||
</programlisting>
|
||||
<para>
|
||||
(note that you can use something like agenix to get your secret
|
||||
jwt to the specified path)
|
||||
</para>
|
||||
<para>
|
||||
this will start the backend on port 8536 and the frontend on port
|
||||
1234. It will expose your instance with a caddy reverse proxy to
|
||||
the hostname you’ve provided. Postgres will be initialized on that
|
||||
same instance automatically.
|
||||
</para>
|
||||
</section>
|
||||
<section xml:id="module-services-lemmy-usage">
|
||||
<title>Usage</title>
|
||||
<para>
|
||||
On first connection you will be asked to define an admin user.
|
||||
</para>
|
||||
</section>
|
||||
<section xml:id="module-services-lemmy-missing">
|
||||
<title>Missing</title>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>
|
||||
Exposing with nginx is not implemented yet.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
This has been tested using a local database with a unix socket
|
||||
connection. Using different database settings will likely
|
||||
require modifications
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</section>
|
||||
</chapter>
|
@ -10,11 +10,11 @@ with lib;
|
||||
|
||||
perlPackages.buildPerlPackage rec {
|
||||
pname = "gscan2pdf";
|
||||
version = "2.12.1";
|
||||
version = "2.12.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/gscan2pdf/${version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0x20wpqqw6534rn73660zdfy4c3jpg2n31py566k0x2nd6g0mhg5";
|
||||
sha256 = "tdXTcoI7DnrBsXtXR0r07hz0lDcAjZJad+o4wwxHcOk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ wrapGAppsHook ];
|
||||
@ -111,6 +111,8 @@ perlPackages.buildPerlPackage rec {
|
||||
# # Looks like you failed 1 test of 1.
|
||||
# t/169_import_scan.t ........................... Dubious, test returned 1 (wstat 256, 0x100)
|
||||
rm t/169_import_scan.t
|
||||
# t/1604_import_multipage_DjVu.t ................ Dubious, test returned 255 (wstat 65280, 0xff00)
|
||||
rm t/1604_import_multipage_DjVu.t
|
||||
|
||||
# Disable a test which passes but reports an incorrect status
|
||||
# t/0601_Dialog_Scan.t .......................... All 14 subtests passed
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -156,23 +156,6 @@ buildStdenv.mkDerivation ({
|
||||
sha256 = "0qc62di5823r7ly2lxkclzj9rhg2z7ms81igz44nv0fzv3dszdab";
|
||||
})
|
||||
|
||||
# These fix Firefox on sway and other non-Gnome wayland WMs. They should be
|
||||
# removed whenever the following two patches make it onto a release:
|
||||
# 1. https://hg.mozilla.org/mozilla-central/rev/51c13987d1b8
|
||||
# 2. https://hg.mozilla.org/integration/autoland/rev/3b856ecc00e4
|
||||
# This will probably happen in the next point release, but let's be careful
|
||||
# and double check whether it's working on sway on the next v bump.
|
||||
++ lib.optionals (lib.versionAtLeast version "92") [
|
||||
(fetchpatch {
|
||||
url = "https://hg.mozilla.org/integration/autoland/raw-rev/3b856ecc00e4";
|
||||
sha256 = "sha256-d8IRJD6ELC3ZgEs1ES/gy2kTNu/ivoUkUNGMEUoq8r8=";
|
||||
})
|
||||
(fetchpatch {
|
||||
url = "https://hg.mozilla.org/mozilla-central/raw-rev/51c13987d1b8";
|
||||
sha256 = "sha256-C2jcoWLuxW0Ic+Mbh3UpEzxTKZInljqVdcuA9WjspoA=";
|
||||
})
|
||||
]
|
||||
|
||||
++ patches;
|
||||
|
||||
|
||||
@ -265,6 +248,7 @@ buildStdenv.mkDerivation ({
|
||||
# this will run autoconf213
|
||||
configureScript="$(realpath ./mach) configure"
|
||||
export MOZCONFIG=$(pwd)/mozconfig
|
||||
export MOZBUILD_STATE_PATH=$(pwd)/mozbuild
|
||||
|
||||
# Set C flags for Rust's bindgen program. Unlike ordinary C
|
||||
# compilation, bindgen does not invoke $CC directly. Instead it
|
||||
|
@ -7,10 +7,10 @@ in
|
||||
rec {
|
||||
firefox = common rec {
|
||||
pname = "firefox";
|
||||
version = "92.0.1";
|
||||
version = "93.0";
|
||||
src = fetchurl {
|
||||
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
|
||||
sha512 = "53361c231a4ac93a1808c9ccb29893d85b5e516fe939a770aac7f178abb4f43cbe3571097e5c5bf91b11fd95fc62b61f2aa215a45048357bfc9dad9eabdee9ef";
|
||||
sha512 = "b29890e331819d47201b599b9feaaa7eaa0b02088fcbf980efc4f289d43da4f73970bf35ba2f763a2a892fd5318deb68cb9a66e71e9bc0c603642434c7e32e91";
|
||||
};
|
||||
|
||||
meta = {
|
||||
@ -32,10 +32,10 @@ rec {
|
||||
|
||||
firefox-esr-91 = common rec {
|
||||
pname = "firefox-esr";
|
||||
version = "91.1.0esr";
|
||||
version = "91.2.0esr";
|
||||
src = fetchurl {
|
||||
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
|
||||
sha512 = "dad0249eb2ce66eb90ff5daf0dfb63105a19790dd45661d977f7cc889644e86b33b9b0c472f46d4032ae2e4fe02c2cf69d552156fb0ad4cf77a15b3542556ed3";
|
||||
sha512 = "f4cff7e43ff9927cbab3f02d37d360ee8bb0dbe988e280cb0638ee67bfe3c76e3a0469336de1b212fba66c958d58594b1739aafee1ebb84695d098c1e5c77b9d";
|
||||
};
|
||||
|
||||
meta = {
|
||||
@ -57,10 +57,10 @@ rec {
|
||||
|
||||
firefox-esr-78 = common rec {
|
||||
pname = "firefox-esr";
|
||||
version = "78.14.0esr";
|
||||
version = "78.15.0esr";
|
||||
src = fetchurl {
|
||||
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
|
||||
sha512 = "5d5e4b1197f87b458a8ab14a62701fa0f3071e9facbb4fba71a64ef69abf31edbb4c5efa6c20198de573216543b5289270b5929c6e917f01bb165ce8c139c1ac";
|
||||
sha512 = "ac3de735b246ce4f0e1619cd2664321ffa374240ce6843e785d79a350dc30c967996bbcc5e3b301cb3d822ca981cbea116758fc4122f1738d75ddfd1165b6378";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
@ -1,39 +1,40 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromBitbucket
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, fetchFromGitHub
|
||||
, alacritty
|
||||
, cage
|
||||
, cairo
|
||||
, libxkbcommon
|
||||
, makeWrapper
|
||||
, mesa
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, udev
|
||||
, wayland
|
||||
, wayland-protocols
|
||||
, wlroots
|
||||
, mesa
|
||||
, xwayland
|
||||
, makeWrapper
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "wio";
|
||||
version = "0.pre+unstable=2021-06-27";
|
||||
|
||||
src = fetchFromBitbucket {
|
||||
owner = "anderson_torres";
|
||||
src = fetchFromGitHub {
|
||||
owner = "museoa";
|
||||
repo = pname;
|
||||
rev = "e0b258777995055d69e61a0246a6a64985743f42";
|
||||
sha256 = "sha256-8H9fOnZsNjjq9XvOv68F4RRglGNluxs5/jp/h4ROLiI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
cairo
|
||||
libxkbcommon
|
||||
@ -59,7 +60,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
platforms = with platforms; linux;
|
||||
inherit (wayland.meta) platforms;
|
||||
};
|
||||
|
||||
passthru.providedSessions = [ "wio" ];
|
||||
|
@ -15,6 +15,7 @@
|
||||
, dbus
|
||||
, polkit
|
||||
, switchboard
|
||||
, wingpanel-indicator-power
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -51,6 +52,7 @@ stdenv.mkDerivation rec {
|
||||
libgee
|
||||
polkit
|
||||
switchboard
|
||||
wingpanel-indicator-power # settings schema
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -90,7 +90,7 @@ in buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "theano" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://deeplearning.net/software/theano/";
|
||||
homepage = "https://github.com/Theano/Theano";
|
||||
description = "A Python library for large-scale array computation";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ maintainers.bcdarwin ];
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioesphomeapi";
|
||||
version = "9.1.4";
|
||||
version = "9.1.5";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
owner = "esphome";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-I7SFujEh5s+WgRktmjTrcQlASOjywXvlC1SiltcKRAE=";
|
||||
sha256 = "sha256-PPag65ZMz9KZEe9FmiB42/DgeM0vJw5L0haAG/jBjqg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -41,7 +41,7 @@ buildPythonPackage rec {
|
||||
disabledTests = [ "gridplot_outputs" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://graspy.neurodata.io";
|
||||
homepage = "https://graspologic.readthedocs.io";
|
||||
description = "A package for graph statistical algorithms";
|
||||
license = licenses.asl20; # changing to `licenses.mit` in next release
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
|
@ -7,12 +7,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyenchant";
|
||||
version = "3.2.1";
|
||||
version = "3.2.2";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5e206a1d6596904a922496f6c9f7d0b964b243905f401f5f2f40ea4d1f74e2cf";
|
||||
sha256 = "1cf830c6614362a78aab78d50eaf7c6c93831369c52e1bb64ffae1df0341e637";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ enchant2 ];
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sumneko-lua-language-server";
|
||||
version = "2.3.6";
|
||||
version = "2.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sumneko";
|
||||
repo = "lua-language-server";
|
||||
rev = version;
|
||||
sha256 = "sha256-iwmH4pbeKNkEYsaSd6I7ULSoEMwAtxOanF7vAutuW64=";
|
||||
sha256 = "sha256-RhjH/phRVlNO9nPL+TtcrZYpwqNygpXjI/Pdyrxxv/4=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
@ -17,13 +17,6 @@ stdenv.mkDerivation rec {
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# doesn't work on aarch64, already removed on master:
|
||||
# https://github.com/actboy168/bee.lua/commit/fd5ee552c8cff2c48eff72edc0c8db5b7bf1ee2c
|
||||
rm {3rd/luamake/,}3rd/bee.lua/test/test_platform.lua
|
||||
sed /test_platform/d -i {3rd/luamake/,}3rd/bee.lua/test/test.lua
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
cd 3rd/luamake
|
||||
'';
|
||||
|
@ -1045,6 +1045,18 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
llvm-vs-code-extensions.vscode-clangd = buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
name = "vscode-clangd";
|
||||
publisher = "llvm-vs-code-extensions";
|
||||
version = "0.1.13";
|
||||
sha256 = "/MpwbM+obcD3uqk8hnDrnbEK9Jot4fMe4sNzLt6mVGI=";
|
||||
};
|
||||
meta = {
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
};
|
||||
|
||||
lokalise.i18n-ally = buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
name = "i18n-ally";
|
||||
|
@ -92,7 +92,7 @@ common = rec { # attributes common to both builds
|
||||
# Remove Development components. Need to use libmysqlclient.
|
||||
rm "$out"/lib/mysql/plugin/daemon_example.ini
|
||||
rm "$out"/lib/{libmariadbclient.a,libmysqlclient.a,libmysqlclient_r.a,libmysqlservices.a}
|
||||
rm "$out"/bin/{mariadb_config,mysql_config}
|
||||
rm "$out"/bin/{mariadb-config,mariadb_config,mysql_config}
|
||||
rm -r $out/include
|
||||
rm -r $out/lib/pkgconfig
|
||||
rm -rf "$out"/share/aclocal
|
||||
|
@ -57,7 +57,8 @@ mkYarnPackage {
|
||||
|
||||
preInstall = ''
|
||||
mkdir $out
|
||||
cp -R ./deps/lemmy-ui/dist/assets $out
|
||||
cp -R ./deps/lemmy-ui/dist $out
|
||||
cp -R ./node_modules $out
|
||||
'';
|
||||
|
||||
distPhase = "true";
|
||||
|
@ -1623,6 +1623,8 @@ with pkgs;
|
||||
|
||||
font-config-info = callPackage ../tools/misc/font-config-info { };
|
||||
|
||||
foxdot = with python3Packages; toPythonApplication foxdot;
|
||||
|
||||
fxlinuxprintutil = callPackage ../tools/misc/fxlinuxprintutil { };
|
||||
|
||||
genann = callPackage ../development/libraries/genann { };
|
||||
|
@ -9262,10 +9262,10 @@ let
|
||||
|
||||
GraphicsTIFF = buildPerlPackage {
|
||||
pname = "Graphics-TIFF";
|
||||
version = "9";
|
||||
version = "16";
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/authors/id/R/RA/RATCLIFFE/Graphics-TIFF-9.tar.gz";
|
||||
sha256 = "1n1r9r7f6hp2s6l361pyvb1i1pm9xqy0w9n3z5ygm7j64160kz9a";
|
||||
sha256 = "Kv0JTCBGnvp8+cMmDjzuqd4Qw9r+BjOo0eJC405OOdg=";
|
||||
};
|
||||
buildInputs = [ pkgs.libtiff ExtUtilsDepends ExtUtilsPkgConfig ];
|
||||
propagatedBuildInputs = [ Readonly ];
|
||||
@ -10454,10 +10454,10 @@ let
|
||||
|
||||
ImagePNGLibpng = buildPerlPackage {
|
||||
pname = "Image-PNG-Libpng";
|
||||
version = "0.56";
|
||||
version = "0.57";
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/authors/id/B/BK/BKB/Image-PNG-Libpng-0.56.tar.gz";
|
||||
sha256 = "1nf7qcql7b2w98i859f76q1vb4b2zd0k0ypjbsw7ngs2zzmvzyzs";
|
||||
sha256 = "+vu/6/9CP3u4XvJ6MEH7YpG1AzbHpYIiSlysQzHDx9k=";
|
||||
};
|
||||
buildInputs = [ pkgs.libpng ];
|
||||
meta = {
|
||||
@ -17031,10 +17031,10 @@ let
|
||||
|
||||
PDFAPI2 = buildPerlPackage {
|
||||
pname = "PDF-API2";
|
||||
version = "2.038";
|
||||
version = "2.042";
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/authors/id/S/SS/SSIMMS/PDF-API2-2.038.tar.gz";
|
||||
sha256 = "7447c4749b02a784f525d3c7ece99d34b0a10475db65096f6316748dd2f9bd09";
|
||||
sha256 = "dEfEdJsCp4T1JdPH7OmdNLChBHXbZQlvYxZ0jdL5vQk=";
|
||||
};
|
||||
buildInputs = [ TestException TestMemoryCycle ];
|
||||
propagatedBuildInputs = [ FontTTF ];
|
||||
@ -17046,10 +17046,10 @@ let
|
||||
|
||||
PDFBuilder = buildPerlPackage {
|
||||
pname = "PDF-Builder";
|
||||
version = "3.022";
|
||||
version = "3.023";
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/authors/id/P/PM/PMPERRY/PDF-Builder-3.022.tar.gz";
|
||||
sha256 = "0cfafyci5xar567z82w0vcjrwa6inf1a9ydszgkz51bi1ilj8as8";
|
||||
sha256 = "SCskaQxxhfLn+7r5pIKz0SieJduAC/SPKVn1Epl3yjE=";
|
||||
};
|
||||
checkInputs = [ TestException TestMemoryCycle ];
|
||||
propagatedBuildInputs = [ FontTTF ];
|
||||
|
13
pkgs/top-level/release-r.nix
Normal file
13
pkgs/top-level/release-r.nix
Normal file
@ -0,0 +1,13 @@
|
||||
/*
|
||||
This is the Hydra jobset for the `r-updates` branch in Nixpkgs.
|
||||
The jobset can be tested by:
|
||||
|
||||
$ hydra-eval-jobs -I . pkgs/top-level/release-r.nix
|
||||
*/
|
||||
{ supportedSystems ? [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" ] }:
|
||||
|
||||
with import ./release-lib.nix { inherit supportedSystems; };
|
||||
|
||||
mapTestOn {
|
||||
rPackages = packagePlatforms pkgs.rPackages;
|
||||
}
|
Loading…
Reference in New Issue
Block a user