Merge master into haskell-updates

This commit is contained in:
github-actions[bot] 2023-05-22 00:13:12 +00:00 committed by GitHub
commit 4bd794e81f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
269 changed files with 9091 additions and 10021 deletions

2
.gitattributes vendored
View file

@ -1,6 +1,6 @@
**/deps.nix linguist-generated **/deps.nix linguist-generated
**/deps.json linguist-generated **/deps.json linguist-generated
**/deps.toml lingust-generated **/deps.toml linguist-generated
**/node-packages.nix linguist-generated **/node-packages.nix linguist-generated
pkgs/applications/editors/emacs-modes/*-generated.nix linguist-generated pkgs/applications/editors/emacs-modes/*-generated.nix linguist-generated

View file

@ -411,7 +411,7 @@ with import <nixpkgs> {};
version = "0.10.0"; version = "0.10.0";
format = "setuptools"; format = "setuptools";
src = python311.pkgs.fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-CP3V73yWSArRHBLUct4hrNMjWZlvaaUlkpm1QP66RWA="; hash = "sha256-CP3V73yWSArRHBLUct4hrNMjWZlvaaUlkpm1QP66RWA=";
}; };
@ -1229,7 +1229,7 @@ with import <nixpkgs> {};
packageOverrides = self: super: { packageOverrides = self: super: {
pandas = super.pandas.overridePythonAttrs(old: rec { pandas = super.pandas.overridePythonAttrs(old: rec {
version = "0.19.1"; version = "0.19.1";
src = super.fetchPypi { src = fetchPypi {
pname = "pandas"; pname = "pandas";
inherit version; inherit version;
hash = "sha256-JQn+rtpy/OA2deLszSKEuxyttqBzcAil50H+JDHUdCE="; hash = "sha256-JQn+rtpy/OA2deLszSKEuxyttqBzcAil50H+JDHUdCE=";
@ -1286,6 +1286,7 @@ specifying an interpreter version), like this:
```nix ```nix
{ lib { lib
, python3 , python3
, fetchPypi
}: }:
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
@ -1293,7 +1294,7 @@ python3.pkgs.buildPythonApplication rec {
version = "2.7.9"; version = "2.7.9";
format = "setuptools"; format = "setuptools";
src = python3.pkgs.fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-Pe229rT0aHwA98s+nTHQMEFKZPo/yw6sot8MivFDvAw="; hash = "sha256-Pe229rT0aHwA98s+nTHQMEFKZPo/yw6sot8MivFDvAw=";
}; };

View file

@ -4609,6 +4609,12 @@
githubId = 18535642; githubId = 18535642;
name = "Emily"; name = "Emily";
}; };
emilylange = {
email = "nix@emilylange.de";
github = "emilylange";
githubId = 55066419;
name = "Emily Lange";
};
emilytrau = { emilytrau = {
name = "Emily Trau"; name = "Emily Trau";
email = "nix@angus.ws"; email = "nix@angus.ws";
@ -6775,12 +6781,6 @@
githubId = 36667224; githubId = 36667224;
name = "Yingchi Long"; name = "Yingchi Long";
}; };
indeednotjames = {
email = "nix@indeednotjames.com";
github = "IndeedNotJames";
githubId = 55066419;
name = "Emily Lange";
};
indexyz = { indexyz = {
email = "indexyz@pm.me"; email = "indexyz@pm.me";
github = "5aaee9"; github = "5aaee9";
@ -7942,6 +7942,12 @@
githubId = 1792886; githubId = 1792886;
name = "Julien Malka"; name = "Julien Malka";
}; };
juliusrickert = {
email = "nixpkgs@juliusrickert.de";
github = "juliusrickert";
githubId = 5007494;
name = "Julius Rickert";
};
julm = { julm = {
email = "julm+nixpkgs@sourcephile.fr"; email = "julm+nixpkgs@sourcephile.fr";
github = "ju1m"; github = "ju1m";
@ -14824,6 +14830,12 @@
githubId = 2825204; githubId = 2825204;
name = "Steven Pease"; name = "Steven Pease";
}; };
spectre256 = {
name = "Ellis Gibbons";
email = "egibbons256@gmail.com";
github = "spectre256";
githubId = 72505298;
};
spencerjanssen = { spencerjanssen = {
email = "spencerjanssen@gmail.com"; email = "spencerjanssen@gmail.com";
matrix = "@sjanssen:matrix.org"; matrix = "@sjanssen:matrix.org";

View file

@ -343,6 +343,8 @@ In addition to numerous new and upgraded packages, this release has the followin
- The `pict-rs` package was updated from an 0.3 alpha release to 0.3 stable, and related environment variables now require two underscores instead of one. - The `pict-rs` package was updated from an 0.3 alpha release to 0.3 stable, and related environment variables now require two underscores instead of one.
- `espanso` has been updated to major version 2. Therefore, migration steps may need to be performed. See [the official migration instructions](https://espanso.org/docs/migration/overview/) for how to perform these migrations. Further, `espanso-wayland` can now be used for Wayland support.
## Other Notable Changes {#sec-release-23.05-notable-changes} ## Other Notable Changes {#sec-release-23.05-notable-changes}
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. --> <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
@ -563,6 +565,8 @@ In addition to numerous new and upgraded packages, this release has the followin
- `make-disk-image` handles `contents` arguments that are directories better, fixing a bug where it used to put them in a subdirectory of the intended `target`. - `make-disk-image` handles `contents` arguments that are directories better, fixing a bug where it used to put them in a subdirectory of the intended `target`.
- The option `services.jitsi-videobridge.apis` has been renamed to `colibriRestApi` and turned into a boolean. Setting it to `true` will enable the private rest API, useful for monitoring using `services.prometheus.exporters.jitsi.enable`. Learn more about the API: "[The COLIBRI control interface (/colibri/)](https://github.com/jitsi/jitsi-videobridge/blob/v2.3/doc/rest.md)".
## Detailed migration information {#sec-release-23.05-migration} ## Detailed migration information {#sec-release-23.05-migration}
### Pipewire configuration overrides {#sec-release-23.05-migration-pipewire} ### Pipewire configuration overrides {#sec-release-23.05-migration-pipewire}

View file

@ -419,7 +419,7 @@ in
Group = cfg.group; Group = cfg.group;
TimeoutSec = "300"; TimeoutSec = "300";
WorkingDirectory = "${cfg.package}/share/redmine"; WorkingDirectory = "${cfg.package}/share/redmine";
ExecStart="${bundle} exec rails server webrick -e production -p ${toString cfg.port} -P '${cfg.stateDir}/redmine.pid'"; ExecStart="${bundle} exec rails server -u webrick -e production -p ${toString cfg.port} -P '${cfg.stateDir}/redmine.pid'";
}; };
}; };

View file

@ -172,8 +172,8 @@ in
emptyRepo = mkOption { emptyRepo = mkOption {
type = types.bool; type = types.bool;
default = false; default = true;
description = lib.mdDoc "If set to true, the repo won't be initialized with help files"; description = lib.mdDoc "If set to false, the repo will be initialized with help files";
}; };
settings = mkOption { settings = mkOption {
@ -331,7 +331,7 @@ in
preStart = '' preStart = ''
if [[ ! -f "$IPFS_PATH/config" ]]; then if [[ ! -f "$IPFS_PATH/config" ]]; then
ipfs init ${optionalString cfg.emptyRepo "-e"} ipfs init --empty-repo=${lib.boolToString cfg.emptyRepo}
else else
# After an unclean shutdown this file may exist which will cause the config command to attempt to talk to the daemon. This will hang forever if systemd is holding our sockets open. # After an unclean shutdown this file may exist which will cause the config command to attempt to talk to the daemon. This will hang forever if systemd is holding our sockets open.
rm -vf "$IPFS_PATH/api" rm -vf "$IPFS_PATH/api"

View file

@ -43,6 +43,7 @@ let
muc_nickname = xmppConfig.mucNickname; muc_nickname = xmppConfig.mucNickname;
disable_certificate_verification = xmppConfig.disableCertificateVerification; disable_certificate_verification = xmppConfig.disableCertificateVerification;
}); });
apis.rest.enabled = cfg.colibriRestApi;
}; };
}; };
@ -50,6 +51,11 @@ let
jvbConfig = recursiveUpdate defaultJvbConfig cfg.config; jvbConfig = recursiveUpdate defaultJvbConfig cfg.config;
in in
{ {
imports = [
(mkRemovedOptionModule [ "services" "jitsi-videobridge" "apis" ]
"services.jitsi-videobridge.apis was broken and has been migrated into the boolean option services.jitsi-videobridge.colibriRestApi. It is set to false by default, setting it to true will correctly enable the private /colibri rest API."
)
];
options.services.jitsi-videobridge = with types; { options.services.jitsi-videobridge = with types; {
enable = mkEnableOption (lib.mdDoc "Jitsi Videobridge, a WebRTC compatible video router"); enable = mkEnableOption (lib.mdDoc "Jitsi Videobridge, a WebRTC compatible video router");
@ -192,14 +198,13 @@ in
''; '';
}; };
apis = mkOption { colibriRestApi = mkOption {
type = with types; listOf str; type = bool;
description = lib.mdDoc '' description = lib.mdDoc ''
What is passed as --apis= parameter. If this is empty, "none" is passed. Whether to enable the private rest API for the COLIBRI control interface.
Needed for monitoring jitsi. Needed for monitoring jitsi, enabling scraping of the /colibri/stats endpoint.
''; '';
default = []; default = false;
example = literalExpression "[ \"colibri\" \"rest\" ]";
}; };
}; };
@ -233,7 +238,7 @@ in
"export ${toVarName name}=$(cat ${xmppConfig.passwordFile})\n" "export ${toVarName name}=$(cat ${xmppConfig.passwordFile})\n"
) cfg.xmppConfigs)) ) cfg.xmppConfigs))
+ '' + ''
${pkgs.jitsi-videobridge}/bin/jitsi-videobridge --apis=${if (cfg.apis == []) then "none" else concatStringsSep "," cfg.apis} ${pkgs.jitsi-videobridge}/bin/jitsi-videobridge
''; '';
serviceConfig = { serviceConfig = {

View file

@ -123,6 +123,6 @@ in
}) })
[ "consul-template" "vault-agent" ]); [ "consul-template" "vault-agent" ]);
meta.maintainers = with maintainers; [ indeednotjames tcheronneau ]; meta.maintainers = with maintainers; [ emilylange tcheronneau ];
} }

View file

@ -264,6 +264,9 @@ in
description = "EPGStation user"; description = "EPGStation user";
group = config.users.groups.epgstation.name; group = config.users.groups.epgstation.name;
isSystemUser = true; isSystemUser = true;
# NPM insists on creating ~/.npm
home = "/var/cache/epgstation";
}; };
users.groups.epgstation = { }; users.groups.epgstation = { };
@ -318,11 +321,14 @@ in
++ lib.optional config.services.mirakurun.enable "mirakurun.service" ++ lib.optional config.services.mirakurun.enable "mirakurun.service"
++ lib.optional config.services.mysql.enable "mysql.service"; ++ lib.optional config.services.mysql.enable "mysql.service";
environment.NODE_ENV = "production";
serviceConfig = { serviceConfig = {
ExecStart = "${cfg.package}/bin/epgstation start"; ExecStart = "${cfg.package}/bin/epgstation start";
ExecStartPre = "+${preStartScript}"; ExecStartPre = "+${preStartScript}";
User = username; User = username;
Group = groupname; Group = groupname;
CacheDirectory = "epgstation";
StateDirectory = "epgstation"; StateDirectory = "epgstation";
LogsDirectory = "epgstation"; LogsDirectory = "epgstation";
ConfigurationDirectory = "epgstation"; ConfigurationDirectory = "epgstation";

View file

@ -26,7 +26,7 @@ let
supportedDbTypes = [ "mysql" "postgres" "sqlite3" ]; supportedDbTypes = [ "mysql" "postgres" "sqlite3" ];
makeGiteaTest = type: nameValuePair type (makeTest { makeGiteaTest = type: nameValuePair type (makeTest {
name = "${giteaPackage.pname}-${type}"; name = "${giteaPackage.pname}-${type}";
meta.maintainers = with maintainers; [ aanderse indeednotjames kolaente ma27 ]; meta.maintainers = with maintainers; [ aanderse emilylange kolaente ma27 ];
nodes = { nodes = {
server = { config, pkgs, ... }: { server = { config, pkgs, ... }: {

View file

@ -1,17 +1,82 @@
import ./make-test-python.nix ({ pkgs, lib, ... }: { import ./make-test-python.nix ({ pkgs, lib, ... }:
name = "headscale"; let
meta.maintainers = with lib.maintainers; [ misterio77 ]; tls-cert =
pkgs.runCommand "selfSignedCerts" { buildInputs = [ pkgs.openssl ]; } ''
openssl req \
-x509 -newkey rsa:4096 -sha256 -days 365 \
-nodes -out cert.pem -keyout key.pem \
-subj '/CN=headscale' -addext "subjectAltName=DNS:headscale"
nodes.machine = { ... }: { mkdir -p $out
services.headscale.enable = true; cp key.pem cert.pem $out
environment.systemPackages = [ pkgs.headscale ]; '';
}; in {
name = "headscale";
meta.maintainers = with lib.maintainers; [ misterio77 ];
testScript = '' nodes = let
machine.wait_for_unit("headscale") headscalePort = 8080;
machine.wait_for_open_port(8080) stunPort = 3478;
# Test basic functionality peer = {
machine.succeed("headscale namespaces create test") services.tailscale.enable = true;
machine.succeed("headscale preauthkeys -u test create") security.pki.certificateFiles = [ "${tls-cert}/cert.pem" ];
''; };
}) in {
peer1 = peer;
peer2 = peer;
headscale = {
services = {
headscale = {
enable = true;
port = headscalePort;
settings = {
server_url = "https://headscale";
ip_prefixes = [ "100.64.0.0/10" ];
derp.server = {
enabled = true;
region_id = 999;
stun_listen_addr = "0.0.0.0:${toString stunPort}";
};
};
};
nginx = {
enable = true;
virtualHosts.headscale = {
addSSL = true;
sslCertificate = "${tls-cert}/cert.pem";
sslCertificateKey = "${tls-cert}/key.pem";
locations."/" = {
proxyPass = "http://127.0.0.1:${toString headscalePort}";
proxyWebsockets = true;
};
};
};
};
networking.firewall = {
allowedTCPPorts = [ 80 443 ];
allowedUDPPorts = [ stunPort ];
};
environment.systemPackages = [ pkgs.headscale ];
};
};
testScript = ''
start_all()
headscale.wait_for_unit("headscale")
headscale.wait_for_open_port(443)
# Create headscale user and preauth-key
headscale.succeed("headscale users create test")
authkey = headscale.succeed("headscale preauthkeys -u test create --reusable")
# Connect peers
up_cmd = f"tailscale up --login-server 'https://headscale' --auth-key {authkey}"
peer1.execute(up_cmd)
peer2.execute(up_cmd)
# Check that they are reachable from the tailnet
peer1.wait_until_succeeds("tailscale ping peer2")
peer2.wait_until_succeeds("tailscale ping peer1")
'';
})

View file

@ -234,9 +234,7 @@ let
exporterTest = '' exporterTest = ''
wait_for_unit("prometheus-domain-exporter.service") wait_for_unit("prometheus-domain-exporter.service")
wait_for_open_port(9222) wait_for_open_port(9222)
succeed( succeed("curl -sSf 'http://localhost:9222/probe?target=nixos.org'")
"curl -sSf 'http://localhost:9222/probe?target=nixos.org' | grep 'domain_probe_success 0'"
)
''; '';
}; };
@ -328,7 +326,7 @@ let
systemd.services.prometheus-jitsi-exporter.after = [ "jitsi-videobridge2.service" ]; systemd.services.prometheus-jitsi-exporter.after = [ "jitsi-videobridge2.service" ];
services.jitsi-videobridge = { services.jitsi-videobridge = {
enable = true; enable = true;
apis = [ "colibri" "rest" ]; colibriRestApi = true;
}; };
}; };
exporterTest = '' exporterTest = ''
@ -1198,13 +1196,15 @@ let
wait_for_unit("prometheus-statsd-exporter.service") wait_for_unit("prometheus-statsd-exporter.service")
wait_for_open_port(9102) wait_for_open_port(9102)
succeed("curl http://localhost:9102/metrics | grep 'statsd_exporter_build_info{'") succeed("curl http://localhost:9102/metrics | grep 'statsd_exporter_build_info{'")
succeed( wait_until_succeeds(
"echo 'test.udp:1|c' > /dev/udp/localhost/9125", "echo 'test.udp:1|c' > /dev/udp/localhost/9125 && \
"curl http://localhost:9102/metrics | grep 'test_udp 1'", curl http://localhost:9102/metrics | grep 'test_udp 1'",
timeout=10
) )
succeed( wait_until_succeeds(
"echo 'test.tcp:1|c' > /dev/tcp/localhost/9125", "echo 'test.tcp:1|c' > /dev/tcp/localhost/9125 && \
"curl http://localhost:9102/metrics | grep 'test_tcp 1'", curl http://localhost:9102/metrics | grep 'test_tcp 1'",
timeout=10
) )
''; '';
}; };

View file

@ -19,7 +19,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "contrast"; pname = "contrast";
version = "0.0.7"; version = "0.0.8";
src = fetchFromGitLab { src = fetchFromGitLab {
domain = "gitlab.gnome.org"; domain = "gitlab.gnome.org";
@ -27,13 +27,13 @@ stdenv.mkDerivation rec {
owner = "design"; owner = "design";
repo = "contrast"; repo = "contrast";
rev = version; rev = version;
hash = "sha256-waoXv8dzqynkpfEPZSgZnS6fyo9+9+3Q2oy2fMtEsoE="; hash = "sha256-5OFmLsP+Xk3sKJcUG/s8KwedvfS8ri+JoinliyJSmrY=";
}; };
cargoDeps = rustPlatform.fetchCargoTarball { cargoDeps = rustPlatform.fetchCargoTarball {
inherit src; inherit src;
name = "${pname}-${version}"; name = "${pname}-${version}";
hash = "sha256-94QwPSiGjjPuskg5w6QfM5FuChFno7f9dh0Xr2wWKCI="; hash = "sha256-8WukhoKMyApkwqPQ6KeWMsL40sMUcD4I4l7UqXf2Ld0=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -22,14 +22,14 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "deja-dup"; pname = "deja-dup";
version = "44.0"; version = "44.1";
src = fetchFromGitLab { src = fetchFromGitLab {
domain = "gitlab.gnome.org"; domain = "gitlab.gnome.org";
owner = "World"; owner = "World";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-dIH6VPgzJxvXEUtPAYQzpQ8I9R9MwsfeylV25ASfW/k="; sha256 = "sha256-+Z8o45ZJOmYN+G4viGJW+9BPL6gNitfFBu76qx+sOF0=";
}; };
patches = [ patches = [

View file

@ -13,13 +13,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ton"; pname = "ton";
version = "2023.04"; version = "2023.05";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ton-blockchain"; owner = "ton-blockchain";
repo = "ton"; repo = "ton";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-3HQF0wKk0iRV5fKzuCTv7X7MC+snMDrodgqScCZQVY4="; sha256 = "sha256-EuFKoqOzKoaBCiVAsb8K053kAL4bw1WqmmybVJX2Fmo=";
fetchSubmodules = true; fetchSubmodules = true;
}; };

View file

@ -38,13 +38,13 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "cudatext"; pname = "cudatext";
version = "1.194.0"; version = "1.194.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Alexey-T"; owner = "Alexey-T";
repo = "CudaText"; repo = "CudaText";
rev = version; rev = version;
hash = "sha256-+zdboXU4Tg6RLRVwjS2FQGLfYZu/A09eoZUrYX4SK0o="; hash = "sha256-suZROvrbi02jRnueoet2wT2+dxNuWgv8X6tIvlOPHPI=";
}; };
postPatch = '' postPatch = ''

View file

@ -11,13 +11,13 @@
}, },
"ATFlatControls": { "ATFlatControls": {
"owner": "Alexey-T", "owner": "Alexey-T",
"rev": "2023.05.07", "rev": "2023.05.17",
"hash": "sha256-B1+de0ze17GTAFuWxgmk95sdYiUmDGdeNTJmyy74Vmc=" "hash": "sha256-yt5i3txXqHs7MoQepY+tbzv1wxwAegm9C+rWZtxJ4zE="
}, },
"ATSynEdit": { "ATSynEdit": {
"owner": "Alexey-T", "owner": "Alexey-T",
"rev": "2023.05.13", "rev": "2023.05.17",
"hash": "sha256-GP7qzCfL8KNXF/CvoeJshA3YbNE5+wuZ2VYn8hLEPlo=" "hash": "sha256-6hz1oOnappiXktvvEBWXsaI/hnJ9mbnS5hWnyCVN2Ys="
}, },
"ATSynEdit_Cmp": { "ATSynEdit_Cmp": {
"owner": "Alexey-T", "owner": "Alexey-T",
@ -26,8 +26,8 @@
}, },
"EControl": { "EControl": {
"owner": "Alexey-T", "owner": "Alexey-T",
"rev": "2023.04.18", "rev": "2023.05.17",
"hash": "sha256-Eb8ynxZP3OQ7TGFZMbw8r0HXXvaoR6yotwnwK6nwZxg=" "hash": "sha256-tzQEL23k7ZhnOxN9IOD0lG/2FNOdjuS8vP+0f6IU8Ks="
}, },
"ATSynEdit_Ex": { "ATSynEdit_Ex": {
"owner": "Alexey-T", "owner": "Alexey-T",

View file

@ -1,7 +1,6 @@
{ lib { lib
, trivialBuild , trivialBuild
, fetchFromGitHub , fetchFromGitHub
, emacs
, color-theme , color-theme
}: }:
@ -16,23 +15,12 @@ trivialBuild {
hash = "sha256-oxX0lo6sxotEiR3nPrKPE9H01HKB3ohB/p8eEHFTp5k="; hash = "sha256-oxX0lo6sxotEiR3nPrKPE9H01HKB3ohB/p8eEHFTp5k=";
}; };
buildInputs = [ emacs ]; packageRequires = [ color-theme ];
propagatedUserEnvPkgs = [ color-theme ];
buildPhase = ''
runHook preBuild
emacs -L . -L ${color-theme}/share/emacs/site-lisp/elpa/color-theme-* \
--batch -f batch-byte-compile *.el
runHook postBuild
'';
meta = with lib; { meta = with lib; {
homepage = "http://ethanschoonover.com/solarized"; homepage = "http://ethanschoonover.com/solarized";
description = "Precision colors for machines and people; Emacs implementation"; description = "Precision colors for machines and people; Emacs implementation";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ samuelrivas AndersonTorres ]; maintainers = with maintainers; [ samuelrivas AndersonTorres ];
inherit (emacs.meta) platforms;
}; };
} }

View file

@ -2549,6 +2549,18 @@ final: prev:
meta.homepage = "https://github.com/Shougo/denite.nvim/"; meta.homepage = "https://github.com/Shougo/denite.nvim/";
}; };
denops-vim = buildVimPluginFrom2Nix {
pname = "denops.vim";
version = "2023-01-20";
src = fetchFromGitHub {
owner = "vim-denops";
repo = "denops.vim";
rev = "44baa0666e69976dd82311a67a220c7f71273368";
sha256 = "1wdl2sq6vl4lmyqrhnp0mspxbfaza3h8pgkgdhf27jdkavg793ij";
};
meta.homepage = "https://github.com/vim-denops/denops.vim/";
};
deol-nvim = buildVimPluginFrom2Nix { deol-nvim = buildVimPluginFrom2Nix {
pname = "deol.nvim"; pname = "deol.nvim";
version = "2023-05-19"; version = "2023-05-19";

View file

@ -18,6 +18,7 @@
, Cocoa , Cocoa
, code-minimap , code-minimap
, dasht , dasht
, deno
, direnv , direnv
, fish , fish
, fzf , fzf
@ -408,6 +409,13 @@ self: super: {
dependencies = with self; [ nvim-yarp ]; dependencies = with self; [ nvim-yarp ];
}); });
denops-vim = super.denops-vim.overrideAttrs (old: {
postPatch = ''
# Use Nix's Deno instead of an arbitrary install
substituteInPlace ./autoload/denops.vim --replace "call denops#_internal#conf#define('denops#deno', 'deno')" "call denops#_internal#conf#define('denops#deno', '${deno}/bin/deno')"
'';
});
deoplete-fish = super.deoplete-fish.overrideAttrs (old: { deoplete-fish = super.deoplete-fish.overrideAttrs (old: {
dependencies = with self; [ deoplete-nvim vim-fish ]; dependencies = with self; [ deoplete-nvim vim-fish ];
}); });

View file

@ -213,6 +213,7 @@ https://github.com/Raimondi/delimitMate/,,
https://github.com/neoclide/denite-extra/,, https://github.com/neoclide/denite-extra/,,
https://github.com/neoclide/denite-git/,, https://github.com/neoclide/denite-git/,,
https://github.com/Shougo/denite.nvim/,, https://github.com/Shougo/denite.nvim/,,
https://github.com/vim-denops/denops.vim/,HEAD,
https://github.com/Shougo/deol.nvim/,, https://github.com/Shougo/deol.nvim/,,
https://github.com/deoplete-plugins/deoplete-clang/,, https://github.com/deoplete-plugins/deoplete-clang/,,
https://github.com/deoplete-plugins/deoplete-dictionary/,, https://github.com/deoplete-plugins/deoplete-dictionary/,,

View file

@ -309,8 +309,8 @@ let
mktplcRef = { mktplcRef = {
name = "astro-vscode"; name = "astro-vscode";
publisher = "astro-build"; publisher = "astro-build";
version = "0.29.7"; version = "1.0.6";
sha256 = "sha256-hr8opkNnYpnc8ZRd8tkO8GgMN2lK0YwCETDNe4QnUNQ="; sha256 = "sha256-/gpZtOO8MA/MJ1o9eG4qmPqhWRZ5E+elA9Rr/kpOprI=";
}; };
meta = { meta = {
changelog = "https://marketplace.visualstudio.com/items/astro-build.astro-vscode/changelog"; changelog = "https://marketplace.visualstudio.com/items/astro-build.astro-vscode/changelog";
@ -1924,8 +1924,8 @@ let
mktplcRef = { mktplcRef = {
name = "caddyfile-support"; name = "caddyfile-support";
publisher = "matthewpi"; publisher = "matthewpi";
version = "0.2.4"; version = "0.3.0";
sha256 = "sha256-7D7fNlI55MxD6M8ml/dzBAMwCGCEkC+9aKhreZCVMv4="; sha256 = "sha256-1yiOnvC2w33kiPRdQYskee38Cid/GOj9becLadP1fUY=";
}; };
meta = { meta = {
description = "Rich Caddyfile support for Visual Studio Code"; description = "Rich Caddyfile support for Visual Studio Code";
@ -2837,8 +2837,8 @@ let
mktplcRef = { mktplcRef = {
name = "svelte-vscode"; name = "svelte-vscode";
publisher = "svelte"; publisher = "svelte";
version = "107.2.5"; version = "107.4.3";
sha256 = "sha256-IsZFIk+jOIxzACaZagL64I8Cs0NLI0aWwUPy6xwAmlQ="; sha256 = "sha256-z1foIJXVKmJ0G4FfO9xsjiQgmq/ZtoB3b6Ch8Nyj1zY=";
}; };
meta = { meta = {
changelog = "https://github.com/sveltejs/language-tools/releases"; changelog = "https://github.com/sveltejs/language-tools/releases";

View file

@ -1,14 +1,14 @@
{ lib, stdenv, fetchFromGitHub, libjpeg }: { lib, stdenv, fetchFromGitHub, libjpeg }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "1.5.3"; version = "1.5.4";
pname = "jpegoptim"; pname = "jpegoptim";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tjko"; owner = "tjko";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-vNjXY/Qz6IT7rV+as2EBkSWd4O98slcXLNgAO9Dkc9E="; sha256 = "sha256-cfPQTSINEdii/A2czAIxKDUw6RZOH4xZI7HnUmKuR9k=";
}; };
# There are no checks, it seems. # There are no checks, it seems.

View file

@ -22,13 +22,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-extension-manager"; pname = "gnome-extension-manager";
version = "0.4.0"; version = "0.4.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mjakeman"; owner = "mjakeman";
repo = "extension-manager"; repo = "extension-manager";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-M+jMEJXtzUP6dQp9vpyMhh1wuKG9YJ8i0ys92nbmmpw="; sha256 = "sha256-6LZaDNkWI/zaWAy+Rfp3DwYpnprxcbcZA7DOwaiBmt0=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -19,13 +19,13 @@
owner = "abb128"; owner = "abb128";
repo = "april-asr"; repo = "april-asr";
rev = "c2f138c674cad58e2708ecaddc95cc72e7f85549"; rev = "c2f138c674cad58e2708ecaddc95cc72e7f85549";
sha256 = "hZe2iss3BGdzeTM5FCp9wp6LaDOjtGJrZS5vB5F6uLg="; hash = "sha256-hZe2iss3BGdzeTM5FCp9wp6LaDOjtGJrZS5vB5F6uLg=";
}; };
aprilModel = fetchurl { aprilModel = fetchurl {
name = "aprilv0_en-us.april"; name = "april-english-dev-01110_en.april";
url = "https://april.sapples.net/aprilv0_en-us.april"; url = "https://april.sapples.net/april-english-dev-01110_en.april";
sha256 = "9aMPiI55d2mxt94UPAXSySoXAsJjtbcdYv0gKM7eVic="; hash = "sha256-d+uV0PpPdwijfoaMImUwHubELcsl5jymPuo9nLrbwfM=";
}; };
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {

View file

@ -8,16 +8,16 @@
buildGoModule rec { buildGoModule rec {
pname = "nwg-dock"; pname = "nwg-dock";
version = "0.3.3"; version = "0.3.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nwg-piotr"; owner = "nwg-piotr";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-RCVG38Y8VV7qGz/CaOZ4aw4Sg3PQdrB29zZqATjvYDQ="; sha256 = "sha256-4cyhE9CJz/4omvzucLuTR4QLQnd5iVANCG/BI6Sdhq8=";
}; };
vendorSha256 = "sha256-WDygnKdldZda4GadfStHWsDel1KLdzjVjw0RxmnFPRE="; vendorHash = "sha256-WDygnKdldZda4GadfStHWsDel1KLdzjVjw0RxmnFPRE=";
ldflags = [ "-s" "-w" ]; ldflags = [ "-s" "-w" ];

View file

@ -8,13 +8,13 @@ let config-module = "github.com/f1bonacc1/process-compose/src/config";
in in
buildGoModule rec { buildGoModule rec {
pname = "process-compose"; pname = "process-compose";
version = "0.43.1"; version = "0.45.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "F1bonacc1"; owner = "F1bonacc1";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-yNYoVz6vITKkAkqH/0p7D4sifTpjtEZS4syFSwN4v98="; hash = "sha256-VNt+47EN+7EoChJjpg7B5ziu54Xt7egjfOye1IZPEvw=";
# populate values that require us to use git. By doing this in postFetch we # populate values that require us to use git. By doing this in postFetch we
# can delete .git afterwards and maintain better reproducibility of the src. # can delete .git afterwards and maintain better reproducibility of the src.
leaveDotGit = true; leaveDotGit = true;
@ -43,7 +43,7 @@ buildGoModule rec {
installShellFiles installShellFiles
]; ];
vendorHash = "sha256-iiGn0dYHNEp5Bs54X44sHbsG3HD92Xs4oah4iZXqqvQ="; vendorHash = "sha256-9RvVBup07FHCjfV/Q6ryU28inqydL/pMGVUfbo2OG5s=";
doCheck = false; doCheck = false;

View file

@ -6,13 +6,13 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "system76-keyboard-configurator"; pname = "system76-keyboard-configurator";
version = "1.3.1"; version = "1.3.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pop-os"; owner = "pop-os";
repo = "keyboard-configurator"; repo = "keyboard-configurator";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-k9VmEg/HZECUwHaD491ZmfGUxZ14hLOaJD5x3zMK2jI="; sha256 = "sha256-21cn43qyKg8jL6FF8D9H7dgcgSKggqaxb4cJVc0ljl0=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -28,7 +28,7 @@ rustPlatform.buildRustPackage rec {
udev udev
]; ];
cargoHash = "sha256-0SFph9quh4QWR3nU5IJr4FyLGqrYvmHcZHDRli6phsc="; cargoHash = "sha256-9VjrDE/1VAgNrRmSYxCYKPrnilPQF+OXAYpFkF2lpAE=";
meta = with lib; { meta = with lib; {
description = "Keyboard configuration application for System76 keyboards and laptops"; description = "Keyboard configuration application for System76 keyboards and laptops";

View file

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "vhs"; pname = "vhs";
version = "0.4.0"; version = "0.5.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "charmbracelet"; owner = "charmbracelet";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-qtewd4sm3urFwoDkqdUHfr2SvJRR1nVLLE5d28BocYg="; hash = "sha256-d7oHPe1R0KZaVTTxmed27VZ2PphiQfy7CXYhVKHWUhE=";
}; };
vendorHash = "sha256-s1ISU7VEH9o7SBF3Vy+2kVZNxOFUYLmh/le5vU8rOqg="; vendorHash = "sha256-jrXdbxH5hJrd5yyVsTOeIYJciJ6wVTydkD6aSuWYKPQ=";
nativeBuildInputs = [ installShellFiles makeWrapper ]; nativeBuildInputs = [ installShellFiles makeWrapper ];

View file

@ -1,8 +1,8 @@
{ {
"stable": { "stable": {
"version": "113.0.5672.92", "version": "113.0.5672.126",
"sha256": "199vi4ay9yrvi95r0ccfih1i7wnnqfh5vkqbr35mpmr4r19hnlm4", "sha256": "14rdvidabbh0abp932m747iribvpfcha8hhxh9spck9hjkaprvqd",
"sha256bin64": "0xx1c4wy0px2sndllkzbfgmjihfysxcxdpxk0zmy5yranfqbxvdv", "sha256bin64": "1w8b41ij6xl8byh1977skxwwq0nivpfn8wb3gv12xvm7sw24jqka",
"deps": { "deps": {
"gn": { "gn": {
"version": "2023-03-18", "version": "2023-03-18",
@ -19,9 +19,9 @@
} }
}, },
"beta": { "beta": {
"version": "114.0.5735.26", "version": "114.0.5735.35",
"sha256": "0v73vzgyg08683my0bc29nvbqqpq3zx9qdnxvdvp72rmyrbc5aiy", "sha256": "1ik3d886pcpqs7fnqf7ck0y8x8dbi1d4aqm227qwv0jw2p4a0qyb",
"sha256bin64": "0viy4ibzh04vnkv111vcz4y0s7vg3f2470j2s1b4nzwxmqadxi3n", "sha256bin64": "0xx53x6c7r8cji7d2663zn4p4yklzyc124abqlhyr14w8p2lfldq",
"deps": { "deps": {
"gn": { "gn": {
"version": "2023-04-19", "version": "2023-04-19",
@ -32,15 +32,15 @@
} }
}, },
"dev": { "dev": {
"version": "115.0.5762.4", "version": "115.0.5773.4",
"sha256": "0jlqnd4cmbm3c4xz6dcgs7p8clraldl7hncm4wc28yxv5bsxhyqi", "sha256": "18as1yqp7jyv92mn6lq4fl6mzq3w5qx4aqsw5nyixmgys4hfx6a6",
"sha256bin64": "1zcpzji22fpb04bfhqlp0wy3rnjk3ylfh39r1c2zgqks31n6niz6", "sha256bin64": "0d0anrc2bdh9c8rs06jng45xd7sxw0raky3wrngbda2g4aqh817k",
"deps": { "deps": {
"gn": { "gn": {
"version": "2023-05-09", "version": "2023-05-09",
"url": "https://gn.googlesource.com/gn", "url": "https://gn.googlesource.com/gn",
"rev": "ad1e5ce10f06ef9a1a1d91b2e48231d6b3eecbe2", "rev": "26aa46c283e40199b6f847ecca088dcea7099ded",
"sha256": "1m00wqkkvgs52a9bikirnmvsw2d9kfzk59a45mg4n8m4sgpvmxc7" "sha256": "1z5w4fiypv4aq12qlc8in832n7k6wi4k64k4axardrsy24316r9d"
} }
} }
}, },

View file

@ -29,11 +29,11 @@
firefox-beta = buildMozillaMach rec { firefox-beta = buildMozillaMach rec {
pname = "firefox-beta"; pname = "firefox-beta";
version = "113.0b9"; version = "114.0b6";
applicationName = "Mozilla Firefox Beta"; applicationName = "Mozilla Firefox Beta";
src = fetchurl { src = fetchurl {
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz"; url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
sha512 = "de052b3df75a0d0e00ff6548dc5a47ca543855e819187a5d630d7352548ae5082ddc29c68c36f8effc421fae13fdb7e67c9b0fb63470af4e31fc360bc319b7df"; sha512 = "50127c640e0cb617ca031df022a09df8bba7dd44e9b88b034d9c9276d1adcec17a937d80ab3e540433290e8f78982a405b7281724713f43c36e5e266df721854";
}; };
meta = { meta = {
@ -56,12 +56,12 @@
firefox-devedition = buildMozillaMach rec { firefox-devedition = buildMozillaMach rec {
pname = "firefox-devedition"; pname = "firefox-devedition";
version = "113.0b9"; version = "114.0b6";
applicationName = "Mozilla Firefox Developer Edition"; applicationName = "Mozilla Firefox Developer Edition";
branding = "browser/branding/aurora"; branding = "browser/branding/aurora";
src = fetchurl { src = fetchurl {
url = "mirror://mozilla/devedition/releases/${version}/source/firefox-${version}.source.tar.xz"; url = "mirror://mozilla/devedition/releases/${version}/source/firefox-${version}.source.tar.xz";
sha512 = "193b4b96dd3dfe9d95dc11ddc089a433a6fa4aff5d55d8294ff638dccacdd141b0977f9d87b7cb6c4f4f64af22166a517f2e751fee7059cd7e77ddb8ea977466"; sha512 = "cf5a6ab9b950af602c91d2c6ffc9c5efd96d83f580f3de16e03cbcf3ef5fa04e4d86536a82c1e2503ca09ae744991bc360e35a2e1c03c8b8408fa3f4c956823e";
}; };
meta = { meta = {

View file

@ -5,6 +5,7 @@
, copyDesktopItems , copyDesktopItems
, makeWrapper , makeWrapper
, writeText , writeText
, wrapGAppsHook
# Common run-time dependencies # Common run-time dependencies
, zlib , zlib
@ -104,7 +105,7 @@ stdenv.mkDerivation rec {
src = srcs.${stdenv.hostPlatform.system} or (throw "unsupported system: ${stdenv.hostPlatform.system}"); src = srcs.${stdenv.hostPlatform.system} or (throw "unsupported system: ${stdenv.hostPlatform.system}");
nativeBuildInputs = [ copyDesktopItems makeWrapper ]; nativeBuildInputs = [ copyDesktopItems makeWrapper wrapGAppsHook ];
preferLocalBuild = true; preferLocalBuild = true;
allowSubstitutes = false; allowSubstitutes = false;

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "cilium-cli"; pname = "cilium-cli";
version = "0.14.2"; version = "0.14.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cilium"; owner = "cilium";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-DhbXM/ntfywFZWAXxeojBC0wpjk0XLY3NZejE3f3Q10="; sha256 = "sha256-vH+wQ3pPz70jc3QzD/0vbKMqQtYak8UGoQmEgeYbFbk=";
}; };
vendorHash = null; vendorHash = null;

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "civo"; pname = "civo";
version = "1.0.53"; version = "1.0.54";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "civo"; owner = "civo";
repo = "cli"; repo = "cli";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-UE83fnP2cJuRWwyAkZhaF9N64q2Cw4oR/TTnvPbDSxc="; sha256 = "sha256-oMVTHFTLYa984X/QOMYCXHYMqYQmmL4UgjexbbbAmVo=";
}; };
vendorHash = "sha256-c6Bx/+zyhvV9B1nZ7dJdIsNRSoWeHc2eE81V7Mbkwds="; vendorHash = "sha256-c6Bx/+zyhvV9B1nZ7dJdIsNRSoWeHc2eE81V7Mbkwds=";

View file

@ -1,9 +1,9 @@
{ lib, buildGoModule, fetchFromGitHub, fetchzip, installShellFiles, stdenv }: { lib, buildGoModule, fetchFromGitHub, fetchzip, installShellFiles, stdenv }:
let let
version = "2.0.0-rc.2"; version = "2.0.0-rc.3";
sha256 = "0b7ls2amzmfjy6hw6kwcmhjj2wdara4igwk2wby6ah2yj5nipb45"; sha256 = "1ag3w97kzgqkpkw2lipv9x7wccr69zq47giffliya4sayj1y371y";
manifestsSha256 = "1xj0g65czl20j8axi6n07sm9ijzmr7vhczfdpx4xqx6m3bl9vqxs"; manifestsSha256 = "0gg6n5d3a7sypms540k4ycnrbg6nqlwymphszwbcjahdsjcmi40p";
manifests = fetchzip { manifests = fetchzip {
url = url =
@ -23,7 +23,7 @@ in buildGoModule rec {
inherit sha256; inherit sha256;
}; };
vendorSha256 = "sha256-HWKpaMHBX8wvG2aDX/U9lI9KNMcbBNxxG3yigYa+VX8="; vendorSha256 = "sha256-PFutjxDYwe9C52L3MfjFz9CJHbh77ADICaKXlKCuwuo=";
postUnpack = '' postUnpack = ''
cp -r ${manifests} source/cmd/flux/manifests cp -r ${manifests} source/cmd/flux/manifests

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "glooctl"; pname = "glooctl";
version = "1.14.2"; version = "1.14.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "solo-io"; owner = "solo-io";
repo = "gloo"; repo = "gloo";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-g/gn08Mpwocf5SBJu93bMNiAlg9osIWUy0skV3JzmMk="; hash = "sha256-x9vF9JEx1NCc8g7QP1QxnzxTEyLHLoSFX9QUIy7St8o=";
}; };
subPackages = [ "projects/gloo/cli/cmd" ]; subPackages = [ "projects/gloo/cli/cmd" ];

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "kubectl-gadget"; pname = "kubectl-gadget";
version = "0.16.0"; version = "0.16.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "inspektor-gadget"; owner = "inspektor-gadget";
repo = "inspektor-gadget"; repo = "inspektor-gadget";
rev = "v${version}"; rev = "v${version}";
hash = "sha256:0ijqnlh234pqkx6yzz2kxdnj8hnqarp2scq7gfsp8wpq7s42ivg8"; hash = "sha256-+eD+EHTZ0hCw4TzeZodXIsHg8dLUf7BFyw2Y0aEuSlA=";
}; };
vendorHash = "sha256-IbqE0aI7utYuu1XpQijEFVu/IpUDK6CQLu7g8GUR4e8="; vendorHash = "sha256-IbqE0aI7utYuu1XpQijEFVu/IpUDK6CQLu7g8GUR4e8=";

View file

@ -2,7 +2,7 @@
(callPackage ./generic.nix { }) { (callPackage ./generic.nix { }) {
channel = "edge"; channel = "edge";
version = "23.4.3"; version = "23.5.1";
sha256 = "1wyqqb2frxrid7ln0qq8x6y3sg0a6dnq464csryzsh00arycyfph"; sha256 = "0zb0vyvrx5fbr2ixqnm7qk7bivdljakjw25zgq19hv4bv6khilqv";
vendorSha256 = "sha256-5T3YrYr7xeRkAADeE24BPu4PYU4mHFspqAiBpS8n4Y0="; vendorSha256 = "sha256-mcxG60HHgKRWgJLRO7q2O6PL4qxW6CD0qbqJ/fSrIlk=";
} }

View file

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "pluto"; pname = "pluto";
version = "5.16.1"; version = "5.16.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "FairwindsOps"; owner = "FairwindsOps";
repo = "pluto"; repo = "pluto";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-UCq+aMUffvDWmPtSSc/PNbrak1LGWQe8Oe340O5q6LM="; sha256 = "sha256-TlXwjgk+sT5lvswbDKjun0PhkfqDfk1IzGZ9NCMdw9s=";
}; };
vendorHash = "sha256-0VFCZ+U0W21tF35148Valpc7fDXkC9dPpz1O0+4D30U="; vendorHash = "sha256-ahneuZExefFKGYDxa+F8IhKPDjw8+kdZ5Hj+k1BDxcU=";
ldflags = [ ldflags = [
"-w" "-s" "-w" "-s"

View file

@ -5,13 +5,13 @@
buildGoModule rec { buildGoModule rec {
pname = "terragrunt"; pname = "terragrunt";
version = "0.45.11"; version = "0.45.13";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "gruntwork-io"; owner = "gruntwork-io";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-3CmaCNF8HM+vACbvjbFHZAxKnwDu1FKHJZ7YatT4bpc="; hash = "sha256-cdf7Bon7cELXAgxnSUyhmSSNxigqEoMCpiWK08kU89s=";
}; };
vendorHash = "sha256-5Umoqi2D6iUk2Ut7YB/nmkOyA6Rx2qFhy/ZbfqoX5qA="; vendorHash = "sha256-5Umoqi2D6iUk2Ut7YB/nmkOyA6Rx2qFhy/ZbfqoX5qA=";

View file

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "dnscontrol"; pname = "dnscontrol";
version = "4.0.0"; version = "4.0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "StackExchange"; owner = "StackExchange";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-fAfbnz8HK/CzA9VcWyXcTxIll1w70P9wVtG73fqn1Fc="; sha256 = "sha256-1JSFhuH/YdWFckFxaky11R8eXl2xzYe5VCk0XGXwCp8=";
}; };
vendorHash = "sha256-N7KS48Kr9SipliZ9JhMo2u9pRoE8+pxhC8B/YcZlNyg="; vendorHash = "sha256-oO/EMaVkcc054C6VOPjh6r4UhHifq2rQKtrYSg5frFQ=";
subPackages = [ "." ]; subPackages = [ "." ];

View file

@ -26,11 +26,11 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "zeek"; pname = "zeek";
version = "5.2.0"; version = "5.2.2";
src = fetchurl { src = fetchurl {
url = "https://download.zeek.org/zeek-${version}.tar.gz"; url = "https://download.zeek.org/zeek-${version}.tar.gz";
sha256 = "sha256-URBHQA3UU5F3VCyEpegNfpetc9KpmG/81s2FtMxxH78="; sha256 = "sha256-4MJBV8yWpy5LvkyyipOZdDjU6FV7F8INc/zWddRGFcY=";
}; };
strictDeps = true; strictDeps = true;
@ -54,13 +54,14 @@ stdenv.mkDerivation rec {
spicy-parser-generator spicy-parser-generator
curl curl
gperftools gperftools
libkqueue
libmaxminddb libmaxminddb
libpcap libpcap
ncurses ncurses
openssl openssl
swig swig
zlib zlib
] ++ lib.optionals stdenv.isLinux [
libkqueue
] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [
gettext gettext
]; ];
@ -75,13 +76,14 @@ stdenv.mkDerivation rec {
cmakeFlags = [ cmakeFlags = [
"-DBroker_ROOT=${broker}" "-DBroker_ROOT=${broker}"
"-DSPICY_ROOT_DIR=${spicy-parser-generator}" "-DSPICY_ROOT_DIR=${spicy-parser-generator}"
"-DLIBKQUEUE_ROOT_DIR=${libkqueue}"
"-DENABLE_PERFTOOLS=true" "-DENABLE_PERFTOOLS=true"
"-DINSTALL_AUX_TOOLS=true" "-DINSTALL_AUX_TOOLS=true"
"-DZEEK_ETC_INSTALL_DIR=/etc/zeek" "-DZEEK_ETC_INSTALL_DIR=/etc/zeek"
"-DZEEK_LOG_DIR=/var/log/zeek" "-DZEEK_LOG_DIR=/var/log/zeek"
"-DZEEK_STATE_DIR=/var/lib/zeek" "-DZEEK_STATE_DIR=/var/lib/zeek"
"-DZEEK_SPOOL_DIR=/var/spool/zeek" "-DZEEK_SPOOL_DIR=/var/spool/zeek"
] ++ lib.optionals stdenv.isLinux [
"-DLIBKQUEUE_ROOT_DIR=${libkqueue}"
]; ];
postInstall = '' postInstall = ''

View file

@ -39,7 +39,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "armcord"; pname = "armcord";
version = "3.1.7"; version = "3.2.0";
src = src =
let let
@ -48,11 +48,11 @@ stdenv.mkDerivation rec {
{ {
x86_64-linux = fetchurl { x86_64-linux = fetchurl {
url = "${base}/v${version}/ArmCord_${version}_amd64.deb"; url = "${base}/v${version}/ArmCord_${version}_amd64.deb";
sha256 = "sha256-c0ejSivQbxpPUQ6P0YUya3q1EJ1yF4RFGur11BMwz3o="; sha256 = "sha256-7lT69fU7tGujhbDTX0tYpkEquoswMCZOGAUhk2Nr+C0=";
}; };
aarch64-linux = fetchurl { aarch64-linux = fetchurl {
url = "${base}/v${version}/ArmCord_${version}_arm64.deb"; url = "${base}/v${version}/ArmCord_${version}_arm64.deb";
sha256 = "sha256-4yqe4eIO4AxsZNYCn99KTBqjQURB+G+gpT0Q17pcEvU="; sha256 = "sha256-a5qLK8WjrlmKF24U9SiEpY+SNWuHf6gHJBym5IM8HZ4=";
}; };
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");

View file

@ -2,12 +2,12 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "chatterino2"; pname = "chatterino2";
version = "2.4.3"; version = "2.4.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Chatterino"; owner = "Chatterino";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-M8WTgZv3+8SRGNfxCv10GldjgRYBUVo1B3X4s+QAuYs="; sha256 = "sha256-zvwvvwMPWnNT44L7g8fiY0N7H62Ot1lNCFCIkL8SxQw=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ]; nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];

View file

@ -6,7 +6,7 @@
, glib , glib
, gtk3 , gtk3
, lib , lib
, libappindicator , libayatana-appindicator
, libdrm , libdrm
, libgcrypt , libgcrypt
, libkrb5 , libkrb5
@ -22,15 +22,16 @@
}: }:
let let
version = "3.1.1-11223"; version = "3.1.2-12912";
_hash = "80d33f88";
srcs = { srcs = {
x86_64-linux = fetchurl { x86_64-linux = fetchurl {
url = "https://dldir1.qq.com/qqfile/qq/QQNT/2355235c/linuxqq_${version}_amd64.deb"; url = "https://dldir1.qq.com/qqfile/qq/QQNT/${_hash}/linuxqq_${version}_amd64.deb";
sha256 = "sha256-TBgQ7zV+juB3KSgIIXuvxnYmvnnM/1/wU0EkiopIqvY="; hash = "sha256-F+zIHqYWKiCHYNJZ5hRw0rzltizjuqhVxbpzQGagoZ0=";
}; };
aarch64-linux = fetchurl { aarch64-linux = fetchurl {
url = "https://dldir1.qq.com/qqfile/qq/QQNT/2355235c/linuxqq_${version}_arm64.deb"; url = "https://dldir1.qq.com/qqfile/qq/QQNT/${_hash}/linuxqq_${version}_arm64.deb";
sha256 = "sha256-1ba/IA/+X/s7jUtIhh3OsBHU7MPggGrASsBPx8euBBs="; hash = "sha256-5n4T0mlfEh9/84wUYiH437R95Qz6/SKDq/AK6baiW24=";
}; };
}; };
src = srcs.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); src = srcs.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
@ -39,8 +40,6 @@ stdenv.mkDerivation {
pname = "qq"; pname = "qq";
inherit version src; inherit version src;
unpackCmd = "dpkg-deb -x $curSrc source";
nativeBuildInputs = [ nativeBuildInputs = [
autoPatchelfHook autoPatchelfHook
wrapGAppsHook wrapGAppsHook
@ -63,7 +62,6 @@ stdenv.mkDerivation {
]; ];
runtimeDependencies = map lib.getLib [ runtimeDependencies = map lib.getLib [
libappindicator
systemd systemd
]; ];
@ -81,6 +79,10 @@ stdenv.mkDerivation {
# Remove bundled libraries # Remove bundled libraries
rm -r $out/opt/QQ/resources/app/sharp-lib rm -r $out/opt/QQ/resources/app/sharp-lib
# https://github.com/microcai/gentoo-zh/commit/06ad5e702327adfe5604c276635ae8a373f7d29e
ln -s ${libayatana-appindicator}/lib/libayatana-appindicator3.so \
$out/opt/QQ/libappindicator3.so
runHook postInstall runHook postInstall
''; '';

View file

@ -2,7 +2,7 @@
buildGoModule rec { buildGoModule rec {
pname = "kubo"; pname = "kubo";
version = "0.19.2"; # When updating, also check if the repo version changed and adjust repoVersion below version = "0.20.0"; # When updating, also check if the repo version changed and adjust repoVersion below
rev = "v${version}"; rev = "v${version}";
passthru.repoVersion = "13"; # Also update kubo-migrator when changing the repo version passthru.repoVersion = "13"; # Also update kubo-migrator when changing the repo version
@ -10,7 +10,7 @@ buildGoModule rec {
# Kubo makes changes to it's source tarball that don't match the git source. # Kubo makes changes to it's source tarball that don't match the git source.
src = fetchurl { src = fetchurl {
url = "https://github.com/ipfs/kubo/releases/download/${rev}/kubo-source.tar.gz"; url = "https://github.com/ipfs/kubo/releases/download/${rev}/kubo-source.tar.gz";
hash = "sha256-HPhlKAavINaN0SJHWmeJRx43jfeHeYDZb3/dZ55kMLI="; hash = "sha256-3Oj/x3EkceNO8/Ik7+U43wi1aL0lYJi1FA0AjtdJRDI=";
}; };
# tarball contains multiple files/directories # tarball contains multiple files/directories

View file

@ -1,11 +1,36 @@
{ stdenv, lib, fetchurl, dpkg { stdenv
, alsa-lib, atk, cairo, cups, dbus, expat, fontconfig, freetype , lib
, gdk-pixbuf, glib, pango, nspr, nss, gtk3, mesa , fetchurl
, libGL, wayland, xorg, autoPatchelfHook, systemd, libnotify, libappindicator , dpkg
, alsa-lib
, atk
, cairo
, cups
, dbus
, expat
, fontconfig
, freetype
, gdk-pixbuf
, glib
, pango
, nspr
, nss
, gtk3
, mesa
, libGL
, wayland
, xorg
, autoPatchelfHook
, systemd
, libnotify
, libappindicator
, makeWrapper , makeWrapper
, coreutils
, gnugrep
}: }:
let deps = [ let
deps = [
alsa-lib alsa-lib
atk atk
cairo cairo
@ -77,7 +102,9 @@ stdenv.mkDerivation rec {
ln -s $out/share/mullvad/mullvad-{gui,vpn} $out/bin/ ln -s $out/share/mullvad/mullvad-{gui,vpn} $out/bin/
ln -sf $out/share/mullvad/resources/mullvad-problem-report $out/bin/mullvad-problem-report ln -sf $out/share/mullvad/resources/mullvad-problem-report $out/bin/mullvad-problem-report
wrapProgram $out/bin/mullvad-vpn --set MULLVAD_DISABLE_UPDATE_NOTIFICATION 1 wrapProgram $out/bin/mullvad-vpn \
--set MULLVAD_DISABLE_UPDATE_NOTIFICATION 1 \
--prefix PATH : ${lib.makeBinPath [ coreutils gnugrep ]}
wrapProgram $out/bin/mullvad-daemon \ wrapProgram $out/bin/mullvad-daemon \
--set-default MULLVAD_RESOURCE_DIR "$out/share/mullvad/resources" --set-default MULLVAD_RESOURCE_DIR "$out/share/mullvad/resources"

View file

@ -22,6 +22,12 @@ let
patches = [ patches = [
./0001-BUILD-crypto-Migrate-to-OpenSSL-3.0-compatible-API.patch ./0001-BUILD-crypto-Migrate-to-OpenSSL-3.0-compatible-API.patch
# fix crash caused by openssl3 thread unsafe evp implementation
# see https://github.com/mumble-voip/mumble/issues/5361#issuecomment-1173001440
(fetchpatch {
url = "https://github.com/mumble-voip/mumble/commit/f8d47db318f302f5a7d343f15c9936c7030c49c4.patch";
hash = "sha256-xk8vBrPwvQxHCY8I6WQJAyaBGHmlH9NCixweP6FyakU=";
})
./0002-FIX-positional-audio-Force-8-bytes-alignment-for-CCa.patch ./0002-FIX-positional-audio-Force-8-bytes-alignment-for-CCa.patch
]; ];

View file

@ -0,0 +1,12 @@
diff --git a/libretroshare/src/util/rsdir.cc b/libretroshare/src/util/rsdir.cc
index 8556b8198..d63699216 100644
--- a/libretroshare/src/util/rsdir.cc
+++ b/libretroshare/src/util/rsdir.cc
@@ -47,6 +47,7 @@
#include <fstream>
#include <stdexcept>
+#include <filesystem>
#if defined(WIN32) || defined(__CYGWIN__)
#include "util/rsstring.h"

View file

@ -19,6 +19,7 @@ mkDerivation rec {
# The build normally tries to get git sub-modules during build # The build normally tries to get git sub-modules during build
# but we already have them checked out # but we already have them checked out
./no-submodules.patch ./no-submodules.patch
./cpp-filesystem.patch
]; ];
nativeBuildInputs = [ pkg-config qmake cmake ]; nativeBuildInputs = [ pkg-config qmake cmake ];

3532
pkgs/applications/office/espanso/Cargo.lock generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -3,52 +3,106 @@
, rustPlatform , rustPlatform
, pkg-config , pkg-config
, extra-cmake-modules , extra-cmake-modules
, dbus
, libX11 , libX11
, libXi , libXi
, libXtst , libXtst
, libnotify , libnotify
, libxkbcommon
, openssl , openssl
, xclip , xclip
, xdotool , xdotool
, setxkbmap
, wl-clipboard
, wxGTK32
, makeWrapper , makeWrapper
, stdenv , stdenv
, AppKit , AppKit
, Cocoa , Cocoa
, Foundation , Foundation
, IOKit
, Kernel
, AVFoundation
, Carbon
, QTKit
, AVKit
, WebKit
, waylandSupport ? false
, x11Support ? stdenv.isLinux
, testers
, espanso
}: }:
# espanso does not support building with both X11 and Wayland support at the same time
assert stdenv.isLinux -> x11Support != waylandSupport;
assert stdenv.isDarwin -> !x11Support;
assert stdenv.isDarwin -> !waylandSupport;
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "espanso"; pname = "espanso";
version = "0.7.3"; version = "2.1.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "federico-terzi"; owner = "espanso";
repo = pname; repo = "espanso";
rev = "v${version}"; rev = "v${version}";
sha256 = "1q47r43midkq9574gl8gdv3ylvrnbhdc39rrw4y4yk6jbdf5wwkm"; hash = "sha256-5TUo5B1UZZARgTHbK2+520e3mGZkZ5tTez1qvZvMnxs=";
}; };
cargoSha256 = "0ba5skn5s6qh0blf6bvivzvqc2l8v488l9n3x98pmf6nygrikfdb"; cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"yaml-rust-0.4.6" = "sha256-wXFy0/s4y6wB3UO19jsLwBdzMy7CGX4JoUt5V6cU7LU=";
};
};
cargoPatches = lib.optionals stdenv.isDarwin [
./inject-wx-on-darwin.patch
];
nativeBuildInputs = [ nativeBuildInputs = [
extra-cmake-modules extra-cmake-modules
pkg-config pkg-config
makeWrapper makeWrapper
wxGTK32
];
# Ref: https://github.com/espanso/espanso/blob/78df1b704fe2cc5ea26f88fdc443b6ae1df8a989/scripts/build_binary.rs#LL49C3-L62C4
buildNoDefaultFeatures = true;
buildFeatures = [
"modulo"
] ++ lib.optionals waylandSupport[
"wayland"
] ++ lib.optionals stdenv.isLinux [
"vendored-tls"
] ++ lib.optionals stdenv.isDarwin [
"native-tls"
]; ];
buildInputs = [ buildInputs = [
libX11 wxGTK32
libXtst
libXi
libnotify
xclip
openssl
] ++ lib.optionals stdenv.isLinux [ ] ++ lib.optionals stdenv.isLinux [
xdotool openssl
dbus
libnotify
libxkbcommon
] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [
AppKit AppKit
Cocoa Cocoa
Foundation Foundation
IOKit
Kernel
AVFoundation
Carbon
QTKit
AVKit
WebKit
] ++ lib.optionals waylandSupport [
wl-clipboard
] ++ lib.optionals x11Support [
libXi
libXtst
libX11
xclip
xdotool
]; ];
# Some tests require networking # Some tests require networking
@ -56,14 +110,27 @@ rustPlatform.buildRustPackage rec {
postInstall = '' postInstall = ''
wrapProgram $out/bin/espanso \ wrapProgram $out/bin/espanso \
--prefix PATH : ${lib.makeBinPath [ libnotify xclip ]} --prefix PATH : ${lib.makeBinPath (
lib.optionals stdenv.isLinux [
libnotify
setxkbmap
] ++ lib.optionals waylandSupport [
wl-clipboard
] ++ lib.optionals x11Support [
xclip
]
)}
''; '';
passthru.tests.version = testers.testVersion {
package = espanso;
};
meta = with lib; { meta = with lib; {
description = "Cross-platform Text Expander written in Rust"; description = "Cross-platform Text Expander written in Rust";
homepage = "https://espanso.org"; homepage = "https://espanso.org";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
maintainers = with maintainers; [ kimat ]; maintainers = with maintainers; [ kimat thehedgeh0g ];
platforms = platforms.unix; platforms = platforms.unix;
longDescription = '' longDescription = ''

View file

@ -0,0 +1,223 @@
From 6a7400c20831c5ff502c7336d6db2be743f156be Mon Sep 17 00:00:00 2001
From: Nikola Knezevic <nikola.knezevic@imc.com>
Date: Tue, 16 Aug 2022 22:28:46 +0200
Subject: [PATCH] Build using system wx on darwin
---
espanso-modulo/build.rs | 174 ++++------------------------------------
1 file changed, 17 insertions(+), 157 deletions(-)
diff --git a/espanso-modulo/build.rs b/espanso-modulo/build.rs
index b8b889a..5d972ec 100644
--- a/espanso-modulo/build.rs
+++ b/espanso-modulo/build.rs
@@ -156,161 +156,6 @@ fn build_native() {
);
}
-#[cfg(target_os = "macos")]
-fn build_native() {
- use std::process::Command;
-
- let project_dir =
- PathBuf::from(std::env::var("CARGO_MANIFEST_DIR").expect("missing CARGO_MANIFEST_DIR"));
- let wx_archive = project_dir.join("vendor").join(WX_WIDGETS_ARCHIVE_NAME);
- if !wx_archive.is_file() {
- panic!("could not find wxWidgets archive!");
- }
-
- let out_dir = if let Ok(out_path) = std::env::var(WX_WIDGETS_BUILD_OUT_DIR_ENV_NAME) {
- println!(
- "detected wxWidgets build output directory override: {}",
- out_path
- );
- let path = PathBuf::from(out_path);
- std::fs::create_dir_all(&path).expect("unable to create wxWidgets out dir");
- path
- } else {
- PathBuf::from(std::env::var("OUT_DIR").expect("missing OUT_DIR"))
- };
- let out_wx_dir = out_dir.join("wx");
- println!("wxWidgets will be compiled into: {}", out_wx_dir.display());
-
- let target_arch = match std::env::var("CARGO_CFG_TARGET_ARCH")
- .expect("unable to read target arch")
- .as_str()
- {
- "x86_64" => "x86_64",
- "aarch64" => "arm64",
- arch => panic!("unsupported arch {}", arch),
- };
-
- let should_use_ci_m1_workaround =
- std::env::var("CI").unwrap_or_default() == "true" && target_arch == "arm64";
-
- if !out_wx_dir.is_dir() {
- // Extract the wxWidgets archive
- let wx_archive =
- std::fs::File::open(&wx_archive).expect("unable to open wxWidgets source archive");
- let mut archive = zip::ZipArchive::new(wx_archive).expect("unable to read wxWidgets archive");
- archive
- .extract(&out_wx_dir)
- .expect("unable to extract wxWidgets source dir");
-
- // Compile wxWidgets
- let build_dir = out_wx_dir.join("build-cocoa");
- std::fs::create_dir_all(&build_dir).expect("unable to create build-cocoa directory");
-
- let mut handle = if should_use_ci_m1_workaround {
- // Because of a configuration problem on the GitHub CI pipeline,
- // we need to use a series of workarounds to build for M1 machines.
- // See: https://github.com/actions/virtual-environments/issues/3288#issuecomment-830207746
- Command::new(out_wx_dir.join("configure"))
- .current_dir(build_dir.to_string_lossy().to_string())
- .args(&[
- "--disable-shared",
- "--without-libtiff",
- "--without-liblzma",
- "--with-libjpeg=builtin",
- "--with-libpng=builtin",
- "--enable-universal-binary=arm64,x86_64",
- ])
- .spawn()
- .expect("failed to execute configure")
- } else {
- Command::new(out_wx_dir.join("configure"))
- .current_dir(build_dir.to_string_lossy().to_string())
- .args(&[
- "--disable-shared",
- "--without-libtiff",
- "--without-liblzma",
- "--with-libjpeg=builtin",
- "--with-libpng=builtin",
- &format!("--enable-macosx_arch={}", target_arch),
- ])
- .spawn()
- .expect("failed to execute configure")
- };
-
- if !handle
- .wait()
- .expect("unable to wait for configure command")
- .success()
- {
- panic!("configure returned non-zero exit code!");
- }
-
- let mut handle = Command::new("make")
- .current_dir(build_dir.to_string_lossy().to_string())
- .args(&["-j8"])
- .spawn()
- .expect("failed to execute make");
- if !handle
- .wait()
- .expect("unable to wait for make command")
- .success()
- {
- panic!("make returned non-zero exit code!");
- }
- }
-
- // Make sure wxWidgets is compiled
- if !out_wx_dir.join("build-cocoa").is_dir() {
- panic!("wxWidgets is not compiled correctly, missing 'build-cocoa/' directory")
- }
-
- // If using the M1 CI workaround, convert all the universal libraries to arm64 ones
- // This is needed until https://github.com/rust-lang/rust/issues/55235 is fixed
- if should_use_ci_m1_workaround {
- convert_fat_libraries_to_arm(&out_wx_dir.join("build-cocoa").join("lib"));
- convert_fat_libraries_to_arm(&out_wx_dir.join("build-cocoa"));
- }
-
- let config_path = out_wx_dir.join("build-cocoa").join("wx-config");
- let cpp_flags = get_cpp_flags(&config_path);
-
- let mut build = cc::Build::new();
- build
- .cpp(true)
- .file("src/sys/form/form.cpp")
- .file("src/sys/common/common.cpp")
- .file("src/sys/search/search.cpp")
- .file("src/sys/wizard/wizard.cpp")
- .file("src/sys/wizard/wizard_gui.cpp")
- .file("src/sys/welcome/welcome.cpp")
- .file("src/sys/welcome/welcome_gui.cpp")
- .file("src/sys/textview/textview.cpp")
- .file("src/sys/textview/textview_gui.cpp")
- .file("src/sys/troubleshooting/troubleshooting.cpp")
- .file("src/sys/troubleshooting/troubleshooting_gui.cpp")
- .file("src/sys/common/mac.mm");
- build.flag("-std=c++17");
-
- for flag in cpp_flags {
- build.flag(&flag);
- }
-
- build.compile("espansomodulosys");
-
- // Render linker flags
-
- generate_linker_flags(&config_path);
-
- // On (older) OSX we need to link against the clang runtime,
- // which is hidden in some non-default path.
- //
- // More details at https://github.com/alexcrichton/curl-rust/issues/279.
- if let Some(path) = macos_link_search_path() {
- println!("cargo:rustc-link-lib=clang_rt.osx");
- println!("cargo:rustc-link-search={}", path);
- }
-}
-
#[cfg(target_os = "macos")]
fn convert_fat_libraries_to_arm(lib_dir: &Path) {
for entry in
@@ -440,12 +285,17 @@ fn macos_link_search_path() -> Option<String> {
None
}
+#[cfg(not(target_os = "macos"))]
+fn macos_link_search_path() -> Option<String> {
+ return None
+}
+
// TODO: add documentation for linux
// Install wxWidgets:
// sudo apt install libwxgtk3.0-0v5 libwxgtk3.0-dev
//
// cargo run
-#[cfg(target_os = "linux")]
+#[cfg(not(target_os = "windows"))]
fn build_native() {
// Make sure wxWidgets is installed
// Depending on the installation package, the 'wx-config' command might also be available as 'wx-config-gtk3',
@@ -483,7 +333,8 @@ fn build_native() {
.file("src/sys/textview/textview.cpp")
.file("src/sys/textview/textview_gui.cpp")
.file("src/sys/troubleshooting/troubleshooting.cpp")
- .file("src/sys/troubleshooting/troubleshooting_gui.cpp");
+ .file("src/sys/troubleshooting/troubleshooting_gui.cpp")
+ .file("src/sys/common/mac.mm");
build.flag("-std=c++17");
for flag in cpp_flags {
@@ -495,6 +346,15 @@ fn build_native() {
// Render linker flags
generate_linker_flags(&config_path);
+
+ // On (older) OSX we need to link against the clang runtime,
+ // which is hidden in some non-default path.
+ //
+ // More details at https://github.com/alexcrichton/curl-rust/issues/279.
+ if let Some(path) = macos_link_search_path() {
+ println!("cargo:rustc-link-lib=clang_rt.osx");
+ println!("cargo:rustc-link-search={}", path);
+ }
}
fn main() {
--
2.37.1

View file

@ -16,14 +16,14 @@
let let
pname = "qownnotes"; pname = "qownnotes";
appname = "QOwnNotes"; appname = "QOwnNotes";
version = "23.5.0"; version = "23.5.3";
in in
stdenv.mkDerivation { stdenv.mkDerivation {
inherit pname appname version; inherit pname appname version;
src = fetchurl { src = fetchurl {
url = "https://download.tuxfamily.org/${pname}/src/${pname}-${version}.tar.xz"; url = "https://download.tuxfamily.org/${pname}/src/${pname}-${version}.tar.xz";
hash = "sha256-W1bu3isEe1j7XTj+deLNk6Ncssy2UKG+eF36fe1FFWs="; hash = "sha256-keNR+RMFVlHMeyT1Ngtuu2jWMDwFyLbZAVUk7c0Ed38=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -22,6 +22,7 @@
, CoreGraphics , CoreGraphics
, Cocoa , Cocoa
, Foundation , Foundation
, System
, libiconv , libiconv
, UserNotifications , UserNotifications
, nixosTests , nixosTests
@ -81,11 +82,14 @@ rustPlatform.buildRustPackage rec {
CoreGraphics CoreGraphics
Foundation Foundation
libiconv libiconv
System
UserNotifications UserNotifications
]; ];
buildFeatures = [ "distro-defaults" ]; buildFeatures = [ "distro-defaults" ];
env.NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-framework System";
postInstall = '' postInstall = ''
mkdir -p $out/nix-support mkdir -p $out/nix-support
echo "${passthru.terminfo}" >> $out/nix-support/propagated-user-env-packages echo "${passthru.terminfo}" >> $out/nix-support/propagated-user-env-packages

View file

@ -116,7 +116,7 @@ buildGoModule rec {
homepage = "https://forgejo.org"; homepage = "https://forgejo.org";
changelog = "https://codeberg.org/forgejo/forgejo/releases/tag/v${version}"; changelog = "https://codeberg.org/forgejo/forgejo/releases/tag/v${version}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ indeednotjames urandom ]; maintainers = with maintainers; [ emilylange urandom ];
broken = stdenv.isDarwin; broken = stdenv.isDarwin;
mainProgram = "gitea"; mainProgram = "gitea";
}; };

View file

@ -19,7 +19,7 @@ gem 'bootsnap', '~> 1.16.0', require: false
# Pin openssl to match the version bundled with our supported Rubies. # Pin openssl to match the version bundled with our supported Rubies.
# See https://stdgems.org/openssl/#gem-version. # See https://stdgems.org/openssl/#gem-version.
gem 'openssl', '2.2.2' gem 'openssl', '3.0.2'
gem 'ipaddr', '~> 1.2.5' gem 'ipaddr', '~> 1.2.5'
# Responders respond_to and respond_with # Responders respond_to and respond_with

View file

@ -1093,8 +1093,7 @@ GEM
validate_email validate_email
validate_url validate_url
webfinger (>= 1.0.1) webfinger (>= 1.0.1)
openssl (2.2.2) openssl (3.0.2)
ipaddr
openssl-signature_algorithm (1.3.0) openssl-signature_algorithm (1.3.0)
openssl (> 2.0) openssl (> 2.0)
opentracing (0.5.0) opentracing (0.5.0)
@ -1855,7 +1854,7 @@ DEPENDENCIES
omniauth_crowd (~> 2.4.0)! omniauth_crowd (~> 2.4.0)!
omniauth_openid_connect (~> 0.6.1) omniauth_openid_connect (~> 0.6.1)
openid_connect (= 1.3.0) openid_connect (= 1.3.0)
openssl (= 2.2.2) openssl (= 3.0.2)
org-ruby (~> 0.9.12) org-ruby (~> 0.9.12)
pact (~> 1.63) pact (~> 1.63)
parallel (~> 1.19) parallel (~> 1.19)
@ -1967,4 +1966,4 @@ DEPENDENCIES
yajl-ruby (~> 1.4.3) yajl-ruby (~> 1.4.3)
BUNDLED WITH BUNDLED WITH
2.4.12 2.4.13

View file

@ -4218,15 +4218,14 @@ src:
version = "1.3.0"; version = "1.3.0";
}; };
openssl = { openssl = {
dependencies = ["ipaddr"];
groups = ["default"]; groups = ["default"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0xx01in25q31rpxmq2qlimi44zarsp4px7046xnc6in0pa127xsk"; sha256 = "0mcg47zz4w902cq6c8cdj62npawgwq68sfh7n7aqy7vm3pgvls9h";
type = "gem"; type = "gem";
}; };
version = "2.2.2"; version = "3.0.2";
}; };
openssl-signature_algorithm = { openssl-signature_algorithm = {
dependencies = ["openssl"]; dependencies = ["openssl"];

View file

@ -144,6 +144,9 @@ def update_rubyenv():
with open(rubyenv_dir / fn, 'w') as f: with open(rubyenv_dir / fn, 'w') as f:
f.write(repo.get_file(fn, rev)) f.write(repo.get_file(fn, rev))
# patch for openssl 3.x support
subprocess.check_output(['sed', '-i', "s:'openssl', '2.*':'openssl', '3.0.2':g", 'Gemfile'], cwd=rubyenv_dir)
# Fetch vendored dependencies temporarily in order to build the gemset.nix # Fetch vendored dependencies temporarily in order to build the gemset.nix
subprocess.check_output(['mkdir', '-p', 'vendor/gems'], cwd=rubyenv_dir) subprocess.check_output(['mkdir', '-p', 'vendor/gems'], cwd=rubyenv_dir)
subprocess.check_output(['sh', '-c', f'curl -L https://gitlab.com/gitlab-org/gitlab/-/archive/v{version}-ee/gitlab-v{version}-ee.tar.bz2?path=vendor/gems | tar -xj --strip-components=3'], cwd=f'{rubyenv_dir}/vendor/gems') subprocess.check_output(['sh', '-c', f'curl -L https://gitlab.com/gitlab-org/gitlab/-/archive/v{version}-ee/gitlab-v{version}-ee.tar.bz2?path=vendor/gems | tar -xj --strip-components=3'], cwd=f'{rubyenv_dir}/vendor/gems')

View file

@ -1,31 +1,27 @@
source 'https://rubygems.org' source 'https://rubygems.org'
ruby '>= 2.4.0', '< 2.8.0' ruby '>= 2.7.0', '< 3.3.0'
gem 'bundler', '>= 1.12.0'
gem 'rails', '5.2.8.1' gem 'rails', '6.1.7.3'
gem 'sprockets', '~> 3.7.2' if RUBY_VERSION < '2.5' gem 'rouge', '~> 4.1.0'
gem 'globalid', '~> 0.4.2' if Gem.ruby_version < Gem::Version.new('2.6.0')
gem 'rouge', '~> 3.26.0'
gem 'request_store', '~> 1.5.0' gem 'request_store', '~> 1.5.0'
gem "mini_mime", "~> 1.0.1" gem 'mini_mime', '~> 1.1.0'
gem "actionpack-xml_parser" gem "actionpack-xml_parser"
gem 'roadie-rails', (RUBY_VERSION < '2.5' ? '~> 1.3.0' : '~> 2.2.0') gem 'roadie-rails', '~> 3.0.0'
gem 'marcel' gem 'marcel'
gem "mail", "~> 2.7.1" gem 'mail', '~> 2.8.1'
gem 'csv', (RUBY_VERSION < '2.5' ? ['>= 3.1.1', '<= 3.1.5'] : '~> 3.1.1') gem 'nokogiri', '~> 1.14.0'
gem 'nokogiri', (if Gem.ruby_version < Gem::Version.new('2.5.0') gem 'i18n', '~> 1.13.0'
'~> 1.10.10' gem 'rbpdf', '~> 1.21.1'
elsif Gem.ruby_version < Gem::Version.new('2.6.0')
'~> 1.12.5'
else
'~> 1.13.10'
end)
gem 'i18n', '~> 1.8.2'
gem 'rbpdf', '~> 1.21.0'
gem 'addressable' gem 'addressable'
gem 'rubyzip', '~> 2.3.0' gem 'rubyzip', '~> 2.3.0'
gem 'psych', '~> 3.1' if Gem.ruby_version < Gem::Version.new('2.6.0')
# Ruby Standard Gems
gem 'csv', '~> 3.2.6'
gem 'net-imap', '~> 0.3.4'
gem 'net-pop', '~> 0.1.2'
gem 'net-smtp', '~> 0.3.3'
gem 'rexml', require: false if Gem.ruby_version >= Gem::Version.new('3.0')
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :x64_mingw, :mswin] gem 'tzinfo-data', platforms: [:mingw, :x64_mingw, :mswin]
@ -34,54 +30,63 @@ gem 'tzinfo-data', platforms: [:mingw, :x64_mingw, :mswin]
gem 'rotp', '>= 5.0.0' gem 'rotp', '>= 5.0.0'
gem 'rqrcode' gem 'rqrcode'
# HTML pipeline and sanitization
gem "html-pipeline", "~> 2.13.2"
gem "sanitize", "~> 6.0"
# Optional gem for LDAP authentication # Optional gem for LDAP authentication
group :ldap do group :ldap do
gem 'net-ldap', '~> 0.17.0' gem 'net-ldap', '~> 0.17.0'
end end
# Optional gem for OpenID authentication
group :openid do
gem "ruby-openid", "~> 2.9.2", :require => "openid"
gem "rack-openid"
end
# Optional gem for exporting the gantt to a PNG file # Optional gem for exporting the gantt to a PNG file
group :minimagick do group :minimagick do
gem 'mini_magick', '~> 4.11.0' gem 'mini_magick', '~> 4.12.0'
end end
# Optional Markdown support, not for JRuby # Optional Markdown support
group :markdown do group :markdown do
gem 'redcarpet', '~> 3.5.1' gem 'redcarpet', '~> 3.6.0'
end end
# Optional CommonMark support, not for JRuby
group :common_mark do
gem "commonmarker", '~> 0.23.8'
gem 'deckar01-task_list', '2.3.2'
end
# webrick
gem 'webrick'
# Include database gems for the database adapters NixOS supports # Include database gems for the database adapters NixOS supports
require 'erb'
require 'yaml'
gem "mysql2", "~> 0.5.0", :platforms => [:mri, :mingw, :x64_mingw] gem "mysql2", "~> 0.5.0", :platforms => [:mri, :mingw, :x64_mingw]
gem "pg", "~> 1.2.2", :platforms => [:mri, :mingw, :x64_mingw] gem "pg", "~> 1.4.2", :platforms => [:mri, :mingw, :x64_mingw]
group :development do group :development do
gem 'listen', '~> 3.3'
gem "yard" gem "yard"
end end
group :test do group :test do
gem "rails-dom-testing" gem "rails-dom-testing"
gem 'mocha', (Gem.ruby_version < Gem::Version.new('2.7.0') ? ['>= 1.4.0', '< 2.0.0'] : '>= 1.4.0') gem 'mocha', '>= 1.4.0'
gem 'simplecov', '~> 0.18.5', :require => false gem 'simplecov', '~> 0.22.0', :require => false
gem "ffi", platforms: [:mingw, :x64_mingw, :mswin] gem "ffi", platforms: [:mri, :mingw, :x64_mingw, :mswin]
# For running system tests # For running system tests
# TODO: Remove version specification once Capybara supports Puma 6 gem 'puma'
gem 'puma', '< 6.0.0' gem 'capybara', '~> 3.38.0'
gem 'capybara', '~> 3.31.0'
gem "selenium-webdriver", "~> 3.142.7" gem "selenium-webdriver", "~> 3.142.7"
gem 'webdrivers', '~> 4.4', require: false gem 'webdrivers', '4.6.1', require: false
# RuboCop # RuboCop
gem 'rubocop', '~> 1.12.0' gem 'rubocop', '~> 1.51.0', require: false
gem 'rubocop-performance', '~> 1.10.1' gem 'rubocop-performance', '~> 1.17.1', require: false
gem 'rubocop-rails', '~> 2.9.0' gem 'rubocop-rails', '~> 2.19.1', require: false
end end
local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local") local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")
if File.exists?(local_gemfile) if File.exist?(local_gemfile)
eval_gemfile local_gemfile eval_gemfile local_gemfile
end end

View file

@ -1,188 +1,238 @@
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
actioncable (5.2.8.1) actioncable (6.1.7.3)
actionpack (= 5.2.8.1) actionpack (= 6.1.7.3)
activesupport (= 6.1.7.3)
nio4r (~> 2.0) nio4r (~> 2.0)
websocket-driver (>= 0.6.1) websocket-driver (>= 0.6.1)
actionmailer (5.2.8.1) actionmailbox (6.1.7.3)
actionpack (= 5.2.8.1) actionpack (= 6.1.7.3)
actionview (= 5.2.8.1) activejob (= 6.1.7.3)
activejob (= 5.2.8.1) activerecord (= 6.1.7.3)
activestorage (= 6.1.7.3)
activesupport (= 6.1.7.3)
mail (>= 2.7.1)
actionmailer (6.1.7.3)
actionpack (= 6.1.7.3)
actionview (= 6.1.7.3)
activejob (= 6.1.7.3)
activesupport (= 6.1.7.3)
mail (~> 2.5, >= 2.5.4) mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
actionpack (5.2.8.1) actionpack (6.1.7.3)
actionview (= 5.2.8.1) actionview (= 6.1.7.3)
activesupport (= 5.2.8.1) activesupport (= 6.1.7.3)
rack (~> 2.0, >= 2.0.8) rack (~> 2.0, >= 2.0.9)
rack-test (>= 0.6.3) rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2) rails-html-sanitizer (~> 1.0, >= 1.2.0)
actionpack-xml_parser (2.0.1) actionpack-xml_parser (2.0.1)
actionpack (>= 5.0) actionpack (>= 5.0)
railties (>= 5.0) railties (>= 5.0)
actionview (5.2.8.1) actiontext (6.1.7.3)
activesupport (= 5.2.8.1) actionpack (= 6.1.7.3)
activerecord (= 6.1.7.3)
activestorage (= 6.1.7.3)
activesupport (= 6.1.7.3)
nokogiri (>= 1.8.5)
actionview (6.1.7.3)
activesupport (= 6.1.7.3)
builder (~> 3.1) builder (~> 3.1)
erubi (~> 1.4) erubi (~> 1.4)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3) rails-html-sanitizer (~> 1.1, >= 1.2.0)
activejob (5.2.8.1) activejob (6.1.7.3)
activesupport (= 5.2.8.1) activesupport (= 6.1.7.3)
globalid (>= 0.3.6) globalid (>= 0.3.6)
activemodel (5.2.8.1) activemodel (6.1.7.3)
activesupport (= 5.2.8.1) activesupport (= 6.1.7.3)
activerecord (5.2.8.1) activerecord (6.1.7.3)
activemodel (= 5.2.8.1) activemodel (= 6.1.7.3)
activesupport (= 5.2.8.1) activesupport (= 6.1.7.3)
arel (>= 9.0) activestorage (6.1.7.3)
activestorage (5.2.8.1) actionpack (= 6.1.7.3)
actionpack (= 5.2.8.1) activejob (= 6.1.7.3)
activerecord (= 5.2.8.1) activerecord (= 6.1.7.3)
marcel (~> 1.0.0) activesupport (= 6.1.7.3)
activesupport (5.2.8.1) marcel (~> 1.0)
mini_mime (>= 1.1.0)
activesupport (6.1.7.3)
concurrent-ruby (~> 1.0, >= 1.0.2) concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2) i18n (>= 1.6, < 2)
minitest (~> 5.1) minitest (>= 5.1)
tzinfo (~> 1.1) tzinfo (~> 2.0)
addressable (2.8.1) zeitwerk (~> 2.3)
addressable (2.8.4)
public_suffix (>= 2.0.2, < 6.0) public_suffix (>= 2.0.2, < 6.0)
arel (9.0.0)
ast (2.4.2) ast (2.4.2)
builder (3.2.4) builder (3.2.4)
capybara (3.31.0) capybara (3.38.0)
addressable addressable
matrix
mini_mime (>= 0.1.3) mini_mime (>= 0.1.3)
nokogiri (~> 1.8) nokogiri (~> 1.8)
rack (>= 1.6.0) rack (>= 1.6.0)
rack-test (>= 0.6.3) rack-test (>= 0.6.3)
regexp_parser (~> 1.5) regexp_parser (>= 1.5, < 3.0)
xpath (~> 3.2) xpath (~> 3.2)
childprocess (3.0.0) childprocess (3.0.0)
chunky_png (1.4.0) chunky_png (1.4.0)
commonmarker (0.23.9)
concurrent-ruby (1.2.2) concurrent-ruby (1.2.2)
crass (1.0.6) crass (1.0.6)
css_parser (1.14.0) css_parser (1.14.0)
addressable addressable
csv (3.1.9) csv (3.2.6)
date (3.3.3)
deckar01-task_list (2.3.2)
html-pipeline
docile (1.4.0) docile (1.4.0)
erubi (1.12.0) erubi (1.12.0)
ffi (1.15.5)
globalid (1.1.0) globalid (1.1.0)
activesupport (>= 5.0) activesupport (>= 5.0)
html-pipeline (2.13.2)
activesupport (>= 2)
nokogiri (>= 1.4)
htmlentities (4.3.4) htmlentities (4.3.4)
i18n (1.8.11) i18n (1.13.0)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
loofah (2.19.1) json (2.6.3)
listen (3.8.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
loofah (2.21.3)
crass (~> 1.0.2) crass (~> 1.0.2)
nokogiri (>= 1.5.9) nokogiri (>= 1.12.0)
mail (2.7.1) mail (2.8.1)
mini_mime (>= 0.1.1) mini_mime (>= 0.1.1)
net-imap
net-pop
net-smtp
marcel (1.0.2) marcel (1.0.2)
matrix (0.4.2)
method_source (1.0.0) method_source (1.0.0)
mini_magick (4.11.0) mini_magick (4.12.0)
mini_mime (1.0.3) mini_mime (1.1.2)
mini_portile2 (2.8.1) mini_portile2 (2.8.2)
minitest (5.18.0) minitest (5.18.0)
mocha (2.0.2) mocha (2.0.2)
ruby2_keywords (>= 0.0.5) ruby2_keywords (>= 0.0.5)
mysql2 (0.5.5) mysql2 (0.5.5)
net-imap (0.3.4)
date
net-protocol
net-ldap (0.17.1) net-ldap (0.17.1)
nio4r (2.5.8) net-pop (0.1.2)
nokogiri (1.13.10) net-protocol
net-protocol (0.2.1)
timeout
net-smtp (0.3.3)
net-protocol
nio4r (2.5.9)
nokogiri (1.14.4)
mini_portile2 (~> 2.8.0) mini_portile2 (~> 2.8.0)
racc (~> 1.4) racc (~> 1.4)
nokogiri (1.13.10-x86_64-linux) nokogiri (1.14.4-x86_64-linux)
racc (~> 1.4) racc (~> 1.4)
parallel (1.22.1) parallel (1.23.0)
parser (3.2.1.1) parser (3.2.2.1)
ast (~> 2.4.1) ast (~> 2.4.1)
pg (1.2.3) pg (1.4.6)
public_suffix (5.0.1) public_suffix (5.0.1)
puma (5.6.5) puma (6.2.2)
nio4r (~> 2.0) nio4r (~> 2.0)
racc (1.6.2) racc (1.6.2)
rack (2.2.6.4) rack (2.2.7)
rack-openid (1.4.2)
rack (>= 1.1.0)
ruby-openid (>= 2.1.8)
rack-test (2.1.0) rack-test (2.1.0)
rack (>= 1.3) rack (>= 1.3)
rails (5.2.8.1) rails (6.1.7.3)
actioncable (= 5.2.8.1) actioncable (= 6.1.7.3)
actionmailer (= 5.2.8.1) actionmailbox (= 6.1.7.3)
actionpack (= 5.2.8.1) actionmailer (= 6.1.7.3)
actionview (= 5.2.8.1) actionpack (= 6.1.7.3)
activejob (= 5.2.8.1) actiontext (= 6.1.7.3)
activemodel (= 5.2.8.1) actionview (= 6.1.7.3)
activerecord (= 5.2.8.1) activejob (= 6.1.7.3)
activestorage (= 5.2.8.1) activemodel (= 6.1.7.3)
activesupport (= 5.2.8.1) activerecord (= 6.1.7.3)
bundler (>= 1.3.0) activestorage (= 6.1.7.3)
railties (= 5.2.8.1) activesupport (= 6.1.7.3)
bundler (>= 1.15.0)
railties (= 6.1.7.3)
sprockets-rails (>= 2.0.0) sprockets-rails (>= 2.0.0)
rails-dom-testing (2.0.3) rails-dom-testing (2.0.3)
activesupport (>= 4.2.0) activesupport (>= 4.2.0)
nokogiri (>= 1.6) nokogiri (>= 1.6)
rails-html-sanitizer (1.5.0) rails-html-sanitizer (1.5.0)
loofah (~> 2.19, >= 2.19.1) loofah (~> 2.19, >= 2.19.1)
railties (5.2.8.1) railties (6.1.7.3)
actionpack (= 5.2.8.1) actionpack (= 6.1.7.3)
activesupport (= 5.2.8.1) activesupport (= 6.1.7.3)
method_source method_source
rake (>= 0.8.7) rake (>= 12.2)
thor (>= 0.19.0, < 2.0) thor (~> 1.0)
rainbow (3.1.1) rainbow (3.1.1)
rake (13.0.6) rake (13.0.6)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
rbpdf (1.21.1) rbpdf (1.21.1)
htmlentities htmlentities
rbpdf-font (~> 1.19.0) rbpdf-font (~> 1.19.0)
rbpdf-font (1.19.1) rbpdf-font (1.19.1)
redcarpet (3.5.1) redcarpet (3.6.0)
regexp_parser (1.8.2) regexp_parser (2.8.0)
request_store (1.5.1) request_store (1.5.1)
rack (>= 1.4) rack (>= 1.4)
rexml (3.2.5) rexml (3.2.5)
roadie (4.0.0) roadie (5.1.0)
css_parser (~> 1.4) css_parser (~> 1.4)
nokogiri (~> 1.8) nokogiri (~> 1.8)
roadie-rails (2.2.0) roadie-rails (3.0.0)
railties (>= 5.1, < 6.2) railties (>= 5.1, < 7.1)
roadie (>= 3.1, < 5.0) roadie (~> 5.0)
rotp (6.2.2) rotp (6.2.2)
rouge (3.26.1) rouge (4.1.1)
rqrcode (2.1.2) rqrcode (2.2.0)
chunky_png (~> 1.0) chunky_png (~> 1.0)
rqrcode_core (~> 1.0) rqrcode_core (~> 1.0)
rqrcode_core (1.2.0) rqrcode_core (1.2.0)
rubocop (1.12.1) rubocop (1.51.0)
json (~> 2.3)
parallel (~> 1.10) parallel (~> 1.10)
parser (>= 3.0.0.0) parser (>= 3.2.0.0)
rainbow (>= 2.2.2, < 4.0) rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0) regexp_parser (>= 1.8, < 3.0)
rexml rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.2.0, < 2.0) rubocop-ast (>= 1.28.0, < 2.0)
ruby-progressbar (~> 1.7) ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 3.0) unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.28.0) rubocop-ast (1.28.1)
parser (>= 3.2.1.0) parser (>= 3.2.1.0)
rubocop-performance (1.10.2) rubocop-performance (1.17.1)
rubocop (>= 0.90.0, < 2.0) rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0) rubocop-ast (>= 0.4.0)
rubocop-rails (2.9.1) rubocop-rails (2.19.1)
activesupport (>= 4.2.0) activesupport (>= 4.2.0)
rack (>= 1.1) rack (>= 1.1)
rubocop (>= 0.90.0, < 2.0) rubocop (>= 1.33.0, < 2.0)
ruby-openid (2.9.2)
ruby-progressbar (1.13.0) ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5) ruby2_keywords (0.0.5)
rubyzip (2.3.2) rubyzip (2.3.2)
sanitize (6.0.1)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
selenium-webdriver (3.142.7) selenium-webdriver (3.142.7)
childprocess (>= 0.5, < 4.0) childprocess (>= 0.5, < 4.0)
rubyzip (>= 1.2.2) rubyzip (>= 1.2.2)
simplecov (0.18.5) simplecov (0.22.0)
docile (~> 1.1) docile (~> 1.1)
simplecov-html (~> 0.11) simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3) simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
sprockets (4.2.0) sprockets (4.2.0)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
rack (>= 2.2.4, < 4) rack (>= 2.2.4, < 4)
@ -190,23 +240,23 @@ GEM
actionpack (>= 5.2) actionpack (>= 5.2)
activesupport (>= 5.2) activesupport (>= 5.2)
sprockets (>= 3.0.0) sprockets (>= 3.0.0)
thor (1.2.1) thor (1.2.2)
thread_safe (0.3.6) timeout (0.3.2)
tzinfo (1.2.11) tzinfo (2.0.6)
thread_safe (~> 0.1) concurrent-ruby (~> 1.0)
unicode-display_width (2.4.2) unicode-display_width (2.4.2)
webdrivers (4.7.0) webdrivers (4.6.1)
nokogiri (~> 1.6) nokogiri (~> 1.6)
rubyzip (>= 1.3.0) rubyzip (>= 1.3.0)
selenium-webdriver (> 3.141, < 5.0) selenium-webdriver (>= 3.0, < 4.0)
webrick (1.7.0) webrick (1.8.1)
websocket-driver (0.7.5) websocket-driver (0.7.5)
websocket-extensions (>= 0.1.0) websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5) websocket-extensions (0.1.5)
xpath (3.2.0) xpath (3.2.0)
nokogiri (~> 1.8) nokogiri (~> 1.8)
yard (0.9.28) yard (0.9.34)
webrick (~> 1.7.0) zeitwerk (2.6.8)
PLATFORMS PLATFORMS
ruby ruby
@ -214,40 +264,46 @@ PLATFORMS
DEPENDENCIES DEPENDENCIES
actionpack-xml_parser actionpack-xml_parser
addressable addressable
bundler (>= 1.12.0) capybara (~> 3.38.0)
capybara (~> 3.31.0) commonmarker (~> 0.23.8)
csv (~> 3.1.1) csv (~> 3.2.6)
deckar01-task_list (= 2.3.2)
ffi ffi
i18n (~> 1.8.2) html-pipeline (~> 2.13.2)
mail (~> 2.7.1) i18n (~> 1.13.0)
listen (~> 3.3)
mail (~> 2.8.1)
marcel marcel
mini_magick (~> 4.11.0) mini_magick (~> 4.12.0)
mini_mime (~> 1.0.1) mini_mime (~> 1.1.0)
mocha (>= 1.4.0) mocha (>= 1.4.0)
mysql2 (~> 0.5.0) mysql2 (~> 0.5.0)
net-imap (~> 0.3.4)
net-ldap (~> 0.17.0) net-ldap (~> 0.17.0)
nokogiri (~> 1.13.10) net-pop (~> 0.1.2)
pg (~> 1.2.2) net-smtp (~> 0.3.3)
puma (< 6.0.0) nokogiri (~> 1.14.0)
rack-openid pg (~> 1.4.2)
rails (= 5.2.8.1) puma
rails (= 6.1.7.3)
rails-dom-testing rails-dom-testing
rbpdf (~> 1.21.0) rbpdf (~> 1.21.1)
redcarpet (~> 3.5.1) redcarpet (~> 3.6.0)
request_store (~> 1.5.0) request_store (~> 1.5.0)
roadie-rails (~> 2.2.0) roadie-rails (~> 3.0.0)
rotp (>= 5.0.0) rotp (>= 5.0.0)
rouge (~> 3.26.0) rouge (~> 4.1.0)
rqrcode rqrcode
rubocop (~> 1.12.0) rubocop (~> 1.51.0)
rubocop-performance (~> 1.10.1) rubocop-performance (~> 1.17.1)
rubocop-rails (~> 2.9.0) rubocop-rails (~> 2.19.1)
ruby-openid (~> 2.9.2)
rubyzip (~> 2.3.0) rubyzip (~> 2.3.0)
sanitize (~> 6.0)
selenium-webdriver (~> 3.142.7) selenium-webdriver (~> 3.142.7)
simplecov (~> 0.18.5) simplecov (~> 0.22.0)
tzinfo-data tzinfo-data
webdrivers (~> 4.4) webdrivers (= 4.6.1)
webrick
yard yard
RUBY VERSION RUBY VERSION

View file

@ -1,13 +1,13 @@
{ lib, stdenv, fetchurl, bundlerEnv, ruby, makeWrapper, nixosTests }: { lib, stdenv, fetchurl, bundlerEnv, ruby, defaultGemConfig, makeWrapper, nixosTests }:
let let
version = "4.2.10"; version = "5.0.5";
rubyEnv = bundlerEnv { rubyEnv = bundlerEnv {
name = "redmine-env-${version}"; name = "redmine-env-${version}";
inherit ruby; inherit ruby;
gemdir = ./.; gemdir = ./.;
groups = [ "development" "ldap" "markdown" "minimagick" "openid" "test" ]; groups = [ "development" "ldap" "markdown" "common_mark" "minimagick" "test" ];
}; };
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -16,7 +16,7 @@ in
src = fetchurl { src = fetchurl {
url = "https://www.redmine.org/releases/${pname}-${version}.tar.gz"; url = "https://www.redmine.org/releases/${pname}-${version}.tar.gz";
sha256 = "sha256-byY4jCOJKWJVLKSR1e/tq9QtrIiGHdnYC8M0WPZb4ek="; sha256 = "sha256-qJrRxLub8CXmUnx3qxjI+vd0nJSpdcryz9u6AOsSpIE=";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
@ -47,7 +47,7 @@ in
meta = with lib; { meta = with lib; {
homepage = "https://www.redmine.org/"; homepage = "https://www.redmine.org/";
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ aanderse felixsinger ]; maintainers = with maintainers; [ aanderse felixsinger megheaiulian ];
license = licenses.gpl2; license = licenses.gpl2;
}; };
} }

View file

@ -1,25 +1,36 @@
{ {
actioncable = { actioncable = {
dependencies = ["actionpack" "nio4r" "websocket-driver"]; dependencies = ["actionpack" "activesupport" "nio4r" "websocket-driver"];
groups = ["default"]; groups = ["default"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1v5bihkn3cdf7s1cv04wqpk3l5snjgyav0jz9x5vhzzdqyknvndr"; sha256 = "0bndmmby5qxq8rs42fbb2ax3hhbjj2ds8wja08s0iadkbrn7shvf";
type = "gem"; type = "gem";
}; };
version = "5.2.8.1"; version = "6.1.7.3";
};
actionmailbox = {
dependencies = ["actionpack" "activejob" "activerecord" "activestorage" "activesupport" "mail"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0cx00kf0syq5gdhlrmw0q9v92ki55drbsk4gzy86ls2q8xkd792s";
type = "gem";
};
version = "6.1.7.3";
}; };
actionmailer = { actionmailer = {
dependencies = ["actionpack" "actionview" "activejob" "mail" "rails-dom-testing"]; dependencies = ["actionpack" "actionview" "activejob" "activesupport" "mail" "rails-dom-testing"];
groups = ["default"]; groups = ["default"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1x0qjs8v5z5wzk7vlg7pdr71hsm154d8d0gwhya573xpxfjzmjpx"; sha256 = "0vbif021cyndq3v3m61dkmgdbbirqk9zcsszb9nisq24m3gx1aai";
type = "gem"; type = "gem";
}; };
version = "5.2.8.1"; version = "6.1.7.3";
}; };
actionpack = { actionpack = {
dependencies = ["actionview" "activesupport" "rack" "rack-test" "rails-dom-testing" "rails-html-sanitizer"]; dependencies = ["actionview" "activesupport" "rack" "rack-test" "rails-dom-testing" "rails-html-sanitizer"];
@ -27,10 +38,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0mqvz5dsg9zis34y8m4d2ackr3zs7h27mv6zx5yx00a58fifhyv3"; sha256 = "0k6hc7klvn8m88b88vykl83jrpqhn4zz67l2zx9v266xga6fhala";
type = "gem"; type = "gem";
}; };
version = "5.2.8.1"; version = "6.1.7.3";
}; };
actionpack-xml_parser = { actionpack-xml_parser = {
dependencies = ["actionpack" "railties"]; dependencies = ["actionpack" "railties"];
@ -43,16 +54,27 @@
}; };
version = "2.0.1"; version = "2.0.1";
}; };
actiontext = {
dependencies = ["actionpack" "activerecord" "activestorage" "activesupport" "nokogiri"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "16ldxyxlxl9scggpmkww2fxzim7sl2b4js610pvddcsr74z9fjs7";
type = "gem";
};
version = "6.1.7.3";
};
actionview = { actionview = {
dependencies = ["activesupport" "builder" "erubi" "rails-dom-testing" "rails-html-sanitizer"]; dependencies = ["activesupport" "builder" "erubi" "rails-dom-testing" "rails-html-sanitizer"];
groups = ["default"]; groups = ["default"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "06bk0hyv2sq386qc7r96qbhskg91apdj3mrdpzhry6p6nby2afml"; sha256 = "0ck02cfc17s6g05qn0k7khwvvazwbf2rxbjcma8px2nw2j1ngvcn";
type = "gem"; type = "gem";
}; };
version = "5.2.8.1"; version = "6.1.7.3";
}; };
activejob = { activejob = {
dependencies = ["activesupport" "globalid"]; dependencies = ["activesupport" "globalid"];
@ -60,10 +82,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "12y07kvq9y30ycl4i45g9c2c9jv5a9vlxvrjaqfl79iim6gk1klz"; sha256 = "05bkw9qgjgj2nxzjj2fh6jp1fcvgff0aa4r77k0gcfmnzc1g8wdl";
type = "gem"; type = "gem";
}; };
version = "5.2.8.1"; version = "6.1.7.3";
}; };
activemodel = { activemodel = {
dependencies = ["activesupport"]; dependencies = ["activesupport"];
@ -71,43 +93,43 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0vsyxbjpl47grlkzgh2rm0i9yksfwk11lsdi11jmqszc6lkj1b9g"; sha256 = "03hy5bwghdklcxbdylmsq70y0qzslck5slb2zkvp7g6mmvk86kwd";
type = "gem"; type = "gem";
}; };
version = "5.2.8.1"; version = "6.1.7.3";
}; };
activerecord = { activerecord = {
dependencies = ["activemodel" "activesupport" "arel"]; dependencies = ["activemodel" "activesupport"];
groups = ["default"]; groups = ["default"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0jk8qwdvq465nklxr7z0qzpiacxcqd72y6frimlalchhigl8ya0a"; sha256 = "1alshkgbcxp9s4vqb2b0yrrnyg15kxhlp1slsb03a61w7h42pspw";
type = "gem"; type = "gem";
}; };
version = "5.2.8.1"; version = "6.1.7.3";
}; };
activestorage = { activestorage = {
dependencies = ["actionpack" "activerecord" "marcel"]; dependencies = ["actionpack" "activejob" "activerecord" "activesupport" "marcel" "mini_mime"];
groups = ["default"]; groups = ["default"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0qklddvw3v13dh79c7vljad8m25frlhnwcnw9xk510d676j3lr8a"; sha256 = "06w4wlabqqr9bwdig44r5vdwkcbbivwgwn2fl775w7h05vrccgp8";
type = "gem"; type = "gem";
}; };
version = "5.2.8.1"; version = "6.1.7.3";
}; };
activesupport = { activesupport = {
dependencies = ["concurrent-ruby" "i18n" "minitest" "tzinfo"]; dependencies = ["concurrent-ruby" "i18n" "minitest" "tzinfo" "zeitwerk"];
groups = ["default" "test"]; groups = ["common_mark" "default" "test"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0r15sbhl4nrkh2g5ccbhmn3c2ngri71j0yfnarxkq90vdrhqqjgh"; sha256 = "06mihpy83a5xmavvn7l8vbix472dsi0vh30xj6g594k0679m0ir6";
type = "gem"; type = "gem";
}; };
version = "5.2.8.1"; version = "6.1.7.3";
}; };
addressable = { addressable = {
dependencies = ["public_suffix"]; dependencies = ["public_suffix"];
@ -115,20 +137,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1ypdmpdn20hxp5vwxz3zc04r5xcwqc25qszdlg41h8ghdqbllwmw"; sha256 = "15s8van7r2ad3dq6i03l3z4hqnvxcq75a3h72kxvf9an53sqma20";
type = "gem"; type = "gem";
}; };
version = "2.8.1"; version = "2.8.4";
};
arel = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1jk7wlmkr61f6g36w9s2sn46nmdg6wn2jfssrhbhirv5x9n95nk0";
type = "gem";
};
version = "9.0.0";
}; };
ast = { ast = {
groups = ["default" "test"]; groups = ["default" "test"];
@ -151,15 +163,15 @@
version = "3.2.4"; version = "3.2.4";
}; };
capybara = { capybara = {
dependencies = ["addressable" "mini_mime" "nokogiri" "rack" "rack-test" "regexp_parser" "xpath"]; dependencies = ["addressable" "matrix" "mini_mime" "nokogiri" "rack" "rack-test" "regexp_parser" "xpath"];
groups = ["test"]; groups = ["test"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0fhgnw6xgnphaka50b995mcmc2pjifmlr8ypz6dw2a6jkz3qqlcl"; sha256 = "123198zk2ak8mziwa5jc3ckgpmsg08zn064n3aywnqm9s1bwjv3v";
type = "gem"; type = "gem";
}; };
version = "3.31.0"; version = "3.38.0";
}; };
childprocess = { childprocess = {
groups = ["default" "test"]; groups = ["default" "test"];
@ -181,8 +193,18 @@
}; };
version = "1.4.0"; version = "1.4.0";
}; };
commonmarker = {
groups = ["common_mark"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "074162raa8pc92q6833hgqdlfr3z5jgid9avdz5k25cnls2rqwrf";
type = "gem";
};
version = "0.23.9";
};
concurrent-ruby = { concurrent-ruby = {
groups = ["default" "test"]; groups = ["common_mark" "default" "test"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
@ -217,10 +239,31 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "07mgyalwdxaxnff86j5p6n5szmhqz7nrlkb40826mzggrmva8v1m"; sha256 = "0l5f5cq8ki3h4djh7pb8yqdkywqd08vjy3vd64yqh7qd6pdwky6w";
type = "gem"; type = "gem";
}; };
version = "3.1.9"; version = "3.2.6";
};
date = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "03skfikihpx37rc27vr3hwrb057gxnmdzxhmzd4bf4jpkl0r55w1";
type = "gem";
};
version = "3.3.3";
};
deckar01-task_list = {
dependencies = ["html-pipeline"];
groups = ["common_mark"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "01c8vv0xwbhlyhiagj93b1hlm2n0rmj4sw62nbc0jhyj90jhj6as";
type = "gem";
};
version = "2.3.2";
}; };
docile = { docile = {
groups = ["default" "test"]; groups = ["default" "test"];
@ -242,6 +285,26 @@
}; };
version = "1.12.0"; version = "1.12.0";
}; };
ffi = {
groups = ["default" "development" "test"];
platforms = [{
engine = "maglev";
} {
engine = "mingw";
} {
engine = "mingw";
} {
engine = "mswin";
} {
engine = "ruby";
}];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1862ydmclzy1a0cjbvm8dz7847d9rch495ib0zb64y84d3xd4bkg";
type = "gem";
};
version = "1.15.5";
};
globalid = { globalid = {
dependencies = ["activesupport"]; dependencies = ["activesupport"];
groups = ["default"]; groups = ["default"];
@ -253,6 +316,17 @@
}; };
version = "1.1.0"; version = "1.1.0";
}; };
html-pipeline = {
dependencies = ["activesupport" "nokogiri"];
groups = ["common_mark" "default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "00xqmlny1b4ixff8sk0rkl4wcgwqc6v93qv8l3rn8d1dppvq7pm1";
type = "gem";
};
version = "2.13.2";
};
htmlentities = { htmlentities = {
groups = ["default"]; groups = ["default"];
platforms = []; platforms = [];
@ -265,14 +339,35 @@
}; };
i18n = { i18n = {
dependencies = ["concurrent-ruby"]; dependencies = ["concurrent-ruby"];
groups = ["common_mark" "default" "test"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1yk33slipi3i1kydzrrchbi7cgisaxym6pgwlzx7ir8vjk6wl90x";
type = "gem";
};
version = "1.13.0";
};
json = {
groups = ["default" "test"]; groups = ["default" "test"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0vdd1kii40qhbr9n8qx71k2gskq6rkl8ygy8hw5hfj8bb5a364xf"; sha256 = "0nalhin1gda4v8ybk6lq8f407cgfrj6qzn234yra4ipkmlbfmal6";
type = "gem"; type = "gem";
}; };
version = "1.8.11"; version = "2.6.3";
};
listen = {
dependencies = ["rb-fsevent" "rb-inotify"];
groups = ["development"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "13rgkfar8pp31z1aamxf5y7cfq88wv6rxxcwy7cmm177qq508ycn";
type = "gem";
};
version = "3.8.0";
}; };
loofah = { loofah = {
dependencies = ["crass" "nokogiri"]; dependencies = ["crass" "nokogiri"];
@ -280,21 +375,21 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "08qhzck271anrx9y6qa6mh8hwwdzsgwld8q0000rcd7yvvpnjr3c"; sha256 = "1p744kjpb5zk2ihklbykzii77alycjc04vpnm2ch2f3cp65imlj3";
type = "gem"; type = "gem";
}; };
version = "2.19.1"; version = "2.21.3";
}; };
mail = { mail = {
dependencies = ["mini_mime"]; dependencies = ["mini_mime" "net-imap" "net-pop" "net-smtp"];
groups = ["default"]; groups = ["default"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "00wwz6ys0502dpk8xprwcqfwyf3hmnx6lgxaiq6vj43mkx43sapc"; sha256 = "1bf9pysw1jfgynv692hhaycfxa8ckay1gjw5hz3madrbrynryfzc";
type = "gem"; type = "gem";
}; };
version = "2.7.1"; version = "2.8.1";
}; };
marcel = { marcel = {
groups = ["default"]; groups = ["default"];
@ -306,6 +401,16 @@
}; };
version = "1.0.2"; version = "1.0.2";
}; };
matrix = {
groups = ["default" "test"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1h2cgkpzkh3dd0flnnwfq6f3nl2b1zff9lvqz8xs853ssv5kq23i";
type = "gem";
};
version = "0.4.2";
};
method_source = { method_source = {
groups = ["default"]; groups = ["default"];
platforms = []; platforms = [];
@ -321,33 +426,33 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1aj604x11d9pksbljh0l38f70b558rhdgji1s9i763hiagvvx2hs"; sha256 = "0slh78f9z6n0l1i2km7m48yz7l4fjrk88sj1f4mh1wb39sl2yc37";
type = "gem"; type = "gem";
}; };
version = "4.11.0"; version = "4.12.0";
}; };
mini_mime = { mini_mime = {
groups = ["default" "test"]; groups = ["default" "test"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1np6srnyagghhh2w4nyv09sz47v0i6ri3q6blicj94vgxqp12c94"; sha256 = "0lbim375gw2dk6383qirz13hgdmxlan0vc5da2l072j3qw6fqjm5";
type = "gem"; type = "gem";
}; };
version = "1.0.3"; version = "1.1.2";
}; };
mini_portile2 = { mini_portile2 = {
groups = ["default" "test"]; groups = ["common_mark" "default" "test"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1af4yarhbbx62f7qsmgg5fynrik0s36wjy3difkawy536xg343mp"; sha256 = "0z7f38iq37h376n9xbl4gajdrnwzq284c9v1py4imw3gri2d5cj6";
type = "gem"; type = "gem";
}; };
version = "2.8.1"; version = "2.8.2";
}; };
minitest = { minitest = {
groups = ["default" "test"]; groups = ["common_mark" "default" "test"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
@ -385,6 +490,17 @@
}; };
version = "0.5.5"; version = "0.5.5";
}; };
net-imap = {
dependencies = ["date" "net-protocol"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1d996zf3g8xz244791b0qsl9vr7zg4lqnnmf9k2kshr9lki5jam8";
type = "gem";
};
version = "0.3.4";
};
net-ldap = { net-ldap = {
groups = ["ldap"]; groups = ["ldap"];
platforms = []; platforms = [];
@ -395,36 +511,69 @@
}; };
version = "0.17.1"; version = "0.17.1";
}; };
net-pop = {
dependencies = ["net-protocol"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1wyz41jd4zpjn0v1xsf9j778qx1vfrl24yc20cpmph8k42c4x2w4";
type = "gem";
};
version = "0.1.2";
};
net-protocol = {
dependencies = ["timeout"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0dxckrlw4q1lcn3qg4mimmjazmg9bma5gllv72f8js3p36fb3b91";
type = "gem";
};
version = "0.2.1";
};
net-smtp = {
dependencies = ["net-protocol"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1c6md06hm5bf6rv53sk54dl2vg038pg8kglwv3rayx0vk2mdql9x";
type = "gem";
};
version = "0.3.3";
};
nio4r = { nio4r = {
groups = ["default" "test"]; groups = ["default" "test"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0xk64wghkscs6bv2n22853k2nh39d131c6rfpnlw12mbjnnv9v1v"; sha256 = "0w9978zwjf1qhy3amkivab0f9syz6a7k0xgydjidaf7xc831d78f";
type = "gem"; type = "gem";
}; };
version = "2.5.8"; version = "2.5.9";
}; };
nokogiri = { nokogiri = {
dependencies = ["mini_portile2" "racc"]; dependencies = ["mini_portile2" "racc"];
groups = ["default" "test"]; groups = ["common_mark" "default" "test"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0n79k78c5vdcyl0m3y3l5x9kxl6xf5lgriwi2vd665qmdkr01vnk"; sha256 = "03g0hwp3z8m442nq8ag4lrbcgwcc7hhi8d1s0y7ipic0m50szl9b";
type = "gem"; type = "gem";
}; };
version = "1.13.10"; version = "1.14.4";
}; };
parallel = { parallel = {
groups = ["default" "test"]; groups = ["default" "test"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "07vnk6bb54k4yc06xnwck7php50l09vvlw1ga8wdz0pia461zpzb"; sha256 = "0jcc512l38c0c163ni3jgskvq1vc3mr8ly5pvjijzwvfml9lf597";
type = "gem"; type = "gem";
}; };
version = "1.22.1"; version = "1.23.0";
}; };
parser = { parser = {
dependencies = ["ast"]; dependencies = ["ast"];
@ -432,10 +581,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1a2v5f8fw7nxm41xp422p1pbr41hafy62bp95m7vg42cqp5y4grc"; sha256 = "08f89nssj7ws7sjfvc2fcjpfm83sjgmniyh0npnmpqf5sfv44r8x";
type = "gem"; type = "gem";
}; };
version = "3.2.1.1"; version = "3.2.2.1";
}; };
pg = { pg = {
groups = ["default"]; groups = ["default"];
@ -450,10 +599,10 @@
}]; }];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "13mfrysrdrh8cka1d96zm0lnfs59i5x2g6ps49r2kz5p3q81xrzj"; sha256 = "07m6lxljabw9kyww5k5lgsxsznsm1v5l14r1la09gqka9b5kv3yr";
type = "gem"; type = "gem";
}; };
version = "1.2.3"; version = "1.4.6";
}; };
public_suffix = { public_suffix = {
groups = ["default" "test"]; groups = ["default" "test"];
@ -471,13 +620,13 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0qzq0c791kacv68hgk9zqsd1p7zx1y1rr9j10rn9yphibb8jj436"; sha256 = "0yf4jmkyy8das7pj1xzwllfvzkhq2p6p534j61d9h4wz3nfyf0s5";
type = "gem"; type = "gem";
}; };
version = "5.6.5"; version = "6.2.2";
}; };
racc = { racc = {
groups = ["default" "test"]; groups = ["common_mark" "default" "test"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
@ -487,25 +636,14 @@
version = "1.6.2"; version = "1.6.2";
}; };
rack = { rack = {
groups = ["default" "openid" "test"]; groups = ["default" "test"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1qgwkcb8kxns8d5187cxjaxf18b7dmg9gh6cr9c1125m0bj2pnfk"; sha256 = "16w217k9z02c4hqizym8dkj6bqmmzx4qdvqpnskgzf174a5pwdxk";
type = "gem"; type = "gem";
}; };
version = "2.2.6.4"; version = "2.2.7";
};
rack-openid = {
dependencies = ["rack" "ruby-openid"];
groups = ["openid"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0sg85yn981j3a0iri3ch4znzdwscvz29l7vrk3dafqw4fdg31llc";
type = "gem";
};
version = "1.4.2";
}; };
rack-test = { rack-test = {
dependencies = ["rack"]; dependencies = ["rack"];
@ -519,15 +657,15 @@
version = "2.1.0"; version = "2.1.0";
}; };
rails = { rails = {
dependencies = ["actioncable" "actionmailer" "actionpack" "actionview" "activejob" "activemodel" "activerecord" "activestorage" "activesupport" "railties" "sprockets-rails"]; dependencies = ["actioncable" "actionmailbox" "actionmailer" "actionpack" "actiontext" "actionview" "activejob" "activemodel" "activerecord" "activestorage" "activesupport" "railties" "sprockets-rails"];
groups = ["default"]; groups = ["default"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1jy4jfkq0xpqp0d3ii9xhj69kacx8l4q3pincncw2g30bqd7a66g"; sha256 = "07cs7qdkx6vwp66diwdy9g6mx52rsd8rxhbnsqf9bqam58g2aynj";
type = "gem"; type = "gem";
}; };
version = "5.2.8.1"; version = "6.1.7.3";
}; };
rails-dom-testing = { rails-dom-testing = {
dependencies = ["activesupport" "nokogiri"]; dependencies = ["activesupport" "nokogiri"];
@ -557,10 +695,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0w9hm85jgbyar748z9nppsz8mgwywa2v9qqlbkzhpgirxhblifv2"; sha256 = "1d2snjnx1j848axppj2napy3zjgbka3fnw2528rcamhm6dp694nd";
type = "gem"; type = "gem";
}; };
version = "5.2.8.1"; version = "6.1.7.3";
}; };
rainbow = { rainbow = {
groups = ["default" "test"]; groups = ["default" "test"];
@ -582,6 +720,27 @@
}; };
version = "13.0.6"; version = "13.0.6";
}; };
rb-fsevent = {
groups = ["default" "development"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1zmf31rnpm8553lqwibvv3kkx0v7majm1f341xbxc0bk5sbhp423";
type = "gem";
};
version = "0.11.2";
};
rb-inotify = {
dependencies = ["ffi"];
groups = ["default" "development"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1jm76h8f8hji38z3ggf4bzi8vps6p7sagxn3ab57qc0xyga64005";
type = "gem";
};
version = "0.10.1";
};
rbpdf = { rbpdf = {
dependencies = ["htmlentities" "rbpdf-font"]; dependencies = ["htmlentities" "rbpdf-font"];
groups = ["default"]; groups = ["default"];
@ -608,20 +767,20 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0bvk8yyns5s1ls437z719y5sdv9fr8kfs8dmr6g8s761dv5n8zvi"; sha256 = "1sg9sbf9pm91l7lac7fs4silabyn0vflxwaa2x3lrzsm0ff8ilca";
type = "gem"; type = "gem";
}; };
version = "3.5.1"; version = "3.6.0";
}; };
regexp_parser = { regexp_parser = {
groups = ["default" "test"]; groups = ["default" "test"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0x4s82lgf0l71y3xc9gp4qxkrgx1kv8f6avdqd68l46ijbyvicdm"; sha256 = "17xizkw5ryw8hhq64iqxmzdrrdxpc5lhkqc1fgm1aj0zsk1r2950";
type = "gem"; type = "gem";
}; };
version = "1.8.2"; version = "2.8.0";
}; };
request_store = { request_store = {
dependencies = ["rack"]; dependencies = ["rack"];
@ -650,10 +809,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "01kld3drqfiih5x8c13cvr6dpvdl7jml0v9bcw4fsy322lax3kn0"; sha256 = "0728slgr2rxx6v1mrh1416k1waj29szfa1jqpbiw3xrvgfpzvcm7";
type = "gem"; type = "gem";
}; };
version = "4.0.0"; version = "5.1.0";
}; };
roadie-rails = { roadie-rails = {
dependencies = ["railties" "roadie"]; dependencies = ["railties" "roadie"];
@ -661,10 +820,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0jjcqnp37z65dksykzwjiz149kx65nw70lyx8dkw1fm5x7yraqvh"; sha256 = "16j1cjhq8xqr77vyf7m7ip2132619wdnpvlbig4cnn96yyi0cnan";
type = "gem"; type = "gem";
}; };
version = "2.2.0"; version = "3.0.0";
}; };
rotp = { rotp = {
groups = ["default"]; groups = ["default"];
@ -681,10 +840,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "197k0vskf72wxx0gzwld2jzg27bb7982xlvnzy9adlvkzp7nh8vf"; sha256 = "0jzx6ni3bjdajc9y4w6mclq165jwiypbxkav2k0gbag7ip93xk21";
type = "gem"; type = "gem";
}; };
version = "3.26.1"; version = "4.1.1";
}; };
rqrcode = { rqrcode = {
dependencies = ["chunky_png" "rqrcode_core"]; dependencies = ["chunky_png" "rqrcode_core"];
@ -692,10 +851,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0s97q1rqmw7rzsdr500hr4f2k6s24n8qk1klciz5q94zvdrygx3p"; sha256 = "1hggzz8i1l62pkkiybhiqv6ypxw7q844sddrrbbfczjcnj5sivi3";
type = "gem"; type = "gem";
}; };
version = "2.1.2"; version = "2.2.0";
}; };
rqrcode_core = { rqrcode_core = {
groups = ["default"]; groups = ["default"];
@ -708,15 +867,15 @@
version = "1.2.0"; version = "1.2.0";
}; };
rubocop = { rubocop = {
dependencies = ["parallel" "parser" "rainbow" "regexp_parser" "rexml" "rubocop-ast" "ruby-progressbar" "unicode-display_width"]; dependencies = ["json" "parallel" "parser" "rainbow" "regexp_parser" "rexml" "rubocop-ast" "ruby-progressbar" "unicode-display_width"];
groups = ["test"]; groups = ["test"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0hi2c3a6alya9yx07nirnjzlc0mvmidnx67874njp6wf7d5xqqr9"; sha256 = "0013mnzj6ql3v8nif7fm8n2832jnwa46azync6azsg9d4iblrfmy";
type = "gem"; type = "gem";
}; };
version = "1.12.1"; version = "1.51.0";
}; };
rubocop-ast = { rubocop-ast = {
dependencies = ["parser"]; dependencies = ["parser"];
@ -724,10 +883,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0n2gsafg6p7nr1z8i1hkvp2qqkkbg842ba183dnl0h08xd9ms6q5"; sha256 = "0gs8zjigzdqj0kcmmrhvd4zavwr6kz6h9qvrh9m7bhy56f4aqljs";
type = "gem"; type = "gem";
}; };
version = "1.28.0"; version = "1.28.1";
}; };
rubocop-performance = { rubocop-performance = {
dependencies = ["rubocop" "rubocop-ast"]; dependencies = ["rubocop" "rubocop-ast"];
@ -735,10 +894,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "07c3kymvsid9aajwmmwr3n6apxgyjcbzbl2n6r5lpzkyz28jqn15"; sha256 = "1z6i24r0485fxa5n4g3rhp88w589fifszhd1khbzya2iiknkjxkr";
type = "gem"; type = "gem";
}; };
version = "1.10.2"; version = "1.17.1";
}; };
rubocop-rails = { rubocop-rails = {
dependencies = ["activesupport" "rack" "rubocop"]; dependencies = ["activesupport" "rack" "rubocop"];
@ -746,20 +905,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0h656la1g644g54g3gidz45p6v8i1156nw6bi66cfx7078y1339d"; sha256 = "0j6dn8pz70bngx6van8yzsimpdd93gm7c8lr93wz1j4ahm6q4hn9";
type = "gem"; type = "gem";
}; };
version = "2.9.1"; version = "2.19.1";
};
ruby-openid = {
groups = ["openid"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "190p1m0bxd9xkfk1j6cpcv3x5c367g36nsglg4m1fcwqdd13k3kz";
type = "gem";
};
version = "2.9.2";
}; };
ruby-progressbar = { ruby-progressbar = {
groups = ["default" "test"]; groups = ["default" "test"];
@ -791,6 +940,17 @@
}; };
version = "2.3.2"; version = "2.3.2";
}; };
sanitize = {
dependencies = ["crass" "nokogiri"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1ga8yzc9zj45m92ycwnzhzahkwvc3dp3lym5m3f3880hs4jhh7l3";
type = "gem";
};
version = "6.0.1";
};
selenium-webdriver = { selenium-webdriver = {
dependencies = ["childprocess" "rubyzip"]; dependencies = ["childprocess" "rubyzip"];
groups = ["test"]; groups = ["test"];
@ -803,15 +963,15 @@
version = "3.142.7"; version = "3.142.7";
}; };
simplecov = { simplecov = {
dependencies = ["docile" "simplecov-html"]; dependencies = ["docile" "simplecov-html" "simplecov_json_formatter"];
groups = ["test"]; groups = ["test"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0ycx5q699ycbjhp28sjbkrd62vwxlrb7fh4v2m7sjsp2qhi6cf6r"; sha256 = "198kcbrjxhhzca19yrdcd6jjj9sb51aaic3b0sc3pwjghg3j49py";
type = "gem"; type = "gem";
}; };
version = "0.18.5"; version = "0.22.0";
}; };
simplecov-html = { simplecov-html = {
groups = ["default" "test"]; groups = ["default" "test"];
@ -823,6 +983,16 @@
}; };
version = "0.12.3"; version = "0.12.3";
}; };
simplecov_json_formatter = {
groups = ["default" "test"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0a5l0733hj7sk51j81ykfmlk2vd5vaijlq9d5fn165yyx3xii52j";
type = "gem";
};
version = "0.1.4";
};
sprockets = { sprockets = {
dependencies = ["concurrent-ruby" "rack"]; dependencies = ["concurrent-ruby" "rack"];
groups = ["default"]; groups = ["default"];
@ -850,31 +1020,31 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0inl77jh4ia03jw3iqm5ipr76ghal3hyjrd6r8zqsswwvi9j2xdi"; sha256 = "0k7j2wn14h1pl4smibasw0bp66kg626drxb59z7rzflch99cd4rg";
type = "gem"; type = "gem";
}; };
version = "1.2.1"; version = "1.2.2";
}; };
thread_safe = { timeout = {
groups = ["default" "test"]; groups = ["default"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0nmhcgq6cgz44srylra07bmaw99f5271l0dpsvl5f75m44l0gmwy"; sha256 = "1pfddf51n5fnj4f9ggwj3wbf23ynj0nbxlxqpz12y1gvl9g7d6r6";
type = "gem"; type = "gem";
}; };
version = "0.3.6"; version = "0.3.2";
}; };
tzinfo = { tzinfo = {
dependencies = ["thread_safe"]; dependencies = ["concurrent-ruby"];
groups = ["default" "test"]; groups = ["common_mark" "default" "test"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1dk1cfnhgl14l580b650qyp8m5xpqb3zg0wb251h5jkm46hzc0b5"; sha256 = "16w2g84dzaf3z13gxyzlzbf748kylk5bdgg3n1ipvkvvqy685bwd";
type = "gem"; type = "gem";
}; };
version = "1.2.11"; version = "2.0.6";
}; };
unicode-display_width = { unicode-display_width = {
groups = ["default" "test"]; groups = ["default" "test"];
@ -892,20 +1062,20 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "05fdb6z8541p912xanjbl9y15cyj6g44530y0nib6qhv6i90rkzp"; sha256 = "1naymcfmm9pkf0f67xd99d9f6dpv477ggyvc1c04gxifirynfydp";
type = "gem"; type = "gem";
}; };
version = "4.7.0"; version = "4.6.1";
}; };
webrick = { webrick = {
groups = ["default" "development"]; groups = ["default"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1d4cvgmxhfczxiq5fr534lmizkhigd15bsx5719r5ds7k7ivisc7"; sha256 = "13qm7s0gr2pmfcl7dxrmq38asaza4w0i2n9my4yzs499j731wh8r";
type = "gem"; type = "gem";
}; };
version = "1.7.0"; version = "1.8.1";
}; };
websocket-driver = { websocket-driver = {
dependencies = ["websocket-extensions"]; dependencies = ["websocket-extensions"];
@ -940,14 +1110,23 @@
version = "3.2.0"; version = "3.2.0";
}; };
yard = { yard = {
dependencies = ["webrick"];
groups = ["development"]; groups = ["development"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0p1if8g9ww6hlpfkphqv3y1z0rbqnnrvb38c5qhnala0f8qpw6yk"; sha256 = "013yrnwx1zhzhn1fnc19zck22a1qgimsaglp2iwgf5bz9l8h93js";
type = "gem"; type = "gem";
}; };
version = "0.9.28"; version = "0.9.34";
};
zeitwerk = {
groups = ["common_mark" "default" "test"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0ck6bj7wa73dkdh13735jl06k6cfny98glxjkas82aivlmyzqqbk";
type = "gem";
};
version = "2.6.8";
}; };
} }

View file

@ -0,0 +1,25 @@
{ lib, rel, buildKodiBinaryAddon, fetchFromGitHub, pkg-config, glm, libGL }:
buildKodiBinaryAddon rec {
pname = "visualization-fishbmc";
namespace = "visualization.fishbmc";
version = "20.2.0";
src = fetchFromGitHub {
owner = "xbmc";
repo = namespace;
rev = "${version}-${rel}";
hash = "sha256-MgeSIKAy0N2NMGsU/15tKtDb34CROjcMaKjGyySl9Z0=";
};
extraBuildInputs = [ pkg-config libGL ];
propagatedBuildInputs = [ glm ];
meta = with lib; {
homepage = "https://github.com/xbmc/visualization.fishbmc";
description = "FishBMC visualization for kodi";
platforms = platforms.all;
license = licenses.gpl2Only;
maintainers = teams.kodi.members;
};
}

View file

@ -0,0 +1,25 @@
{ lib, rel, buildKodiBinaryAddon, fetchFromGitHub, pkg-config, glm, libGL }:
buildKodiBinaryAddon rec {
pname = "visualization-goom";
namespace = "visualization.goom";
version = "20.1.1";
src = fetchFromGitHub {
owner = "xbmc";
repo = namespace;
rev = "${version}-${rel}";
hash = "sha256-TxXqJQdPT1+3DwAJv0F2Hfksh+ZV4QjfOnp4/k53GpQ=";
};
extraBuildInputs = [ pkg-config libGL ];
propagatedBuildInputs = [ glm ];
meta = with lib; {
homepage = "https://github.com/xbmc/visualization.goom";
description = "Goom visualization for kodi";
platforms = platforms.all;
license = licenses.gpl2Only;
maintainers = teams.kodi.members;
};
}

View file

@ -0,0 +1,25 @@
{ lib, rel, buildKodiBinaryAddon, fetchFromGitHub, pkg-config, glm, libGL }:
buildKodiBinaryAddon rec {
pname = "visualization-matrix";
namespace = "visualization.matrix";
version = "20.2.0";
src = fetchFromGitHub {
owner = "xbmc";
repo = namespace;
rev = "${version}-${rel}";
hash = "sha256-tojzPqt6VMccveqnhkl0yXS+/fLdxotmQO3jdtYlkFk=";
};
extraBuildInputs = [ pkg-config libGL ];
propagatedBuildInputs = [ glm ];
meta = with lib; {
homepage = "https://github.com/xbmc/visualization.matrix";
description = "Matrix visualization for kodi";
platforms = platforms.all;
license = licenses.gpl2Only;
maintainers = teams.kodi.members;
};
}

View file

@ -0,0 +1,25 @@
{ lib, rel, buildKodiBinaryAddon, fetchFromGitHub, pkg-config, glm, libGL }:
buildKodiBinaryAddon rec {
pname = "visualization-pictureit";
namespace = "visualization.pictureit";
version = "20.2.0";
src = fetchFromGitHub {
owner = "xbmc";
repo = namespace;
rev = "${version}-${rel}";
hash = "sha256-mQDPjpsxStU01H2XJKnX183KAHG+O1CH8JOmApMmwMc=";
};
extraBuildInputs = [ pkg-config libGL ];
propagatedBuildInputs = [ glm ];
meta = with lib; {
homepage = "https://github.com/xbmc/visualization.pictureit";
description = "PictureIt visualization for kodi";
platforms = platforms.all;
license = licenses.gpl2Only;
maintainers = teams.kodi.members;
};
}

View file

@ -0,0 +1,25 @@
{ lib, rel, buildKodiBinaryAddon, fetchFromGitHub, pkg-config, glm, libGL, projectm }:
buildKodiBinaryAddon rec {
pname = "visualization-projectm";
namespace = "visualization.projectm";
version = "20.2.0";
src = fetchFromGitHub {
owner = "xbmc";
repo = namespace;
rev = "${version}-${rel}";
hash = "sha256-Kcl1ep+RJlofFmxkrGT3T+XXdwiCofq1hggwU0PAd0E=";
};
extraBuildInputs = [ pkg-config libGL projectm ];
propagatedBuildInputs = [ glm ];
meta = with lib; {
homepage = "https://github.com/xbmc/visualization.projectm";
description = "Projectm visualization for kodi";
platforms = platforms.all;
license = licenses.gpl2Only;
maintainers = teams.kodi.members;
};
}

View file

@ -0,0 +1,25 @@
{ lib, rel, buildKodiBinaryAddon, fetchFromGitHub, pkg-config, glm, libGL, jsoncpp }:
buildKodiBinaryAddon rec {
pname = "visualization-shadertoy";
namespace = "visualization.shadertoy";
version = "20.3.0";
src = fetchFromGitHub {
owner = "xbmc";
repo = namespace;
rev = "${version}-${rel}";
hash = "sha256-PaHbEcB4gCC8gUzc7T49msI8f0xa2iXqSaYW/eqD8yw=";
};
extraBuildInputs = [ pkg-config libGL jsoncpp ];
propagatedBuildInputs = [ glm ];
meta = with lib; {
homepage = "https://github.com/xbmc/visualization.shadertoy";
description = "Shadertoy visualization for kodi";
platforms = platforms.all;
license = licenses.gpl2Only;
maintainers = teams.kodi.members;
};
}

View file

@ -0,0 +1,25 @@
{ lib, rel, buildKodiBinaryAddon, fetchFromGitHub, pkg-config, glm, libGL }:
buildKodiBinaryAddon rec {
pname = "visualization-spectrum";
namespace = "visualization.spectrum";
version = "20.2.0";
src = fetchFromGitHub {
owner = "xbmc";
repo = namespace;
rev = "${version}-${rel}";
hash = "sha256-rl6eydHv0g646H7478UQboVp/OrKExQYJOiaVDeDRhE=";
};
extraBuildInputs = [ pkg-config libGL ];
propagatedBuildInputs = [ glm ];
meta = with lib; {
homepage = "https://github.com/xbmc/visualization.spectrum";
description = "Spectrum visualization for kodi";
platforms = platforms.all;
license = licenses.gpl2Only;
maintainers = teams.kodi.members;
};
}

View file

@ -0,0 +1,25 @@
{ lib, rel, buildKodiBinaryAddon, fetchFromGitHub, pkg-config, glm, libGL }:
buildKodiBinaryAddon rec {
pname = "visualization-starburst";
namespace = "visualization.starburst";
version = "20.2.0";
src = fetchFromGitHub {
owner = "xbmc";
repo = namespace;
rev = "${version}-${rel}";
hash = "sha256-FTGyQqzRywKjywtckkP56Fc8KwF07A8WUAe0LackxSM=";
};
extraBuildInputs = [ pkg-config libGL ];
propagatedBuildInputs = [ glm ];
meta = with lib; {
homepage = "https://github.com/xbmc/visualization.starburst";
description = "Starburst visualization for kodi";
platforms = platforms.all;
license = licenses.gpl2Only;
maintainers = teams.kodi.members;
};
}

View file

@ -1,4 +1,4 @@
{ lib , buildNpmPackage , fetchFromGitHub, nodejs }: { lib, buildNpmPackage, fetchFromGitHub, nodejs, python3 }:
buildNpmPackage rec { buildNpmPackage rec {
pname = "webtorrent-mpv-hook"; pname = "webtorrent-mpv-hook";
@ -21,6 +21,10 @@ buildNpmPackage rec {
npmDepsHash = "sha256-GpNUJ5ZCgMjSYLqsIE/RwkTSFT3uAhxrHPe7XvGDRHE="; npmDepsHash = "sha256-GpNUJ5ZCgMjSYLqsIE/RwkTSFT3uAhxrHPe7XvGDRHE=";
makeCacheWritable = true; makeCacheWritable = true;
nativeBuildInputs = [
python3 # Fixes node-gyp on aarch64-linux
];
postInstall = '' postInstall = ''
mkdir -p $out/share/mpv/scripts/ mkdir -p $out/share/mpv/scripts/
ln -s $out/lib/node_modules/webtorrent-mpv-hook/build/webtorrent.js $out/share/mpv/scripts/ ln -s $out/lib/node_modules/webtorrent-mpv-hook/build/webtorrent.js $out/share/mpv/scripts/

View file

@ -0,0 +1,21 @@
commit 410e98569c87469672086d4144f7ca0f2ee08fb7
Author: Michael Hoang <enzime@users.noreply.github.com>
Date: Sun May 21 00:13:37 2023 +1000
Allow project to be built with just `pip`
---
pyproject.toml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/pyproject.toml b/pyproject.toml
index 10ed786..574e42a 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,3 +1,7 @@
+[build-system]
+requires = ["poetry-core"]
+build-backend = "poetry.core.masonry.api"
+
[tool.poetry]
name = "kitti3"
version = "0.5.1"

View file

@ -0,0 +1,40 @@
{ buildPythonApplication
, fetchFromGitHub
, poetry-core
, i3ipc
, lib
}:
buildPythonApplication rec {
pname = "kitti3";
version = "unstable-2021-09-11";
format = "pyproject";
src = fetchFromGitHub {
owner = "LandingEllipse";
repo = pname;
rev = "f9f94c8b9f8b61a9d085206ada470cfe755a2a92";
hash = "sha256-bcIzbDpIe2GKS9EcVqpjwz0IG2ixNMn06OIQpZ7PeH0=";
};
patches = [
# Fixes `build-system` not being specified in `pyproject.toml`
# https://github.com/LandingEllipse/kitti3/pull/25
./kitti3-fix-build-system.patch
];
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
i3ipc
];
meta = with lib; {
homepage = "https://github.com/LandingEllipse/kitti3";
description = "Kitty drop-down service for sway & i3wm";
license = licenses.bsd3;
maintainers = with maintainers; [ Enzime ];
};
}

View file

@ -315,7 +315,7 @@ clone_user_rev() {
tmpHomePath="$(mktemp -d "${TMPDIR:-/tmp}/nix-prefetch-git-tmp-home-XXXXXXXXXX")" tmpHomePath="$(mktemp -d "${TMPDIR:-/tmp}/nix-prefetch-git-tmp-home-XXXXXXXXXX")"
exit_handlers+=(remove_tmpHomePath) exit_handlers+=(remove_tmpHomePath)
HOME="$tmpHomePath" HOME="$tmpHomePath"
git lfs install clean_git lfs install
fi fi
# Perform the checkout. # Perform the checkout.

View file

@ -6,6 +6,7 @@
name = "npm-config-hook"; name = "npm-config-hook";
substitutions = { substitutions = {
nodeSrc = srcOnly nodejs; nodeSrc = srcOnly nodejs;
nodeGyp = "${buildPackages.nodejs}/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js";
# Specify `diff`, `jq`, and `prefetch-npm-deps` by abspath to ensure that the user's build # Specify `diff`, `jq`, and `prefetch-npm-deps` by abspath to ensure that the user's build
# inputs do not cause us to find the wrong binaries. # inputs do not cause us to find the wrong binaries.

View file

@ -3,10 +3,15 @@
npmConfigHook() { npmConfigHook() {
echo "Executing npmConfigHook" echo "Executing npmConfigHook"
# Use npm patches in the nodejs package
export NIX_NODEJS_BUILDNPMPACKAGE=1
export prefetchNpmDeps="@prefetchNpmDeps@"
echo "Configuring npm" echo "Configuring npm"
export HOME="$TMPDIR" export HOME="$TMPDIR"
export npm_config_nodedir="@nodeSrc@" export npm_config_nodedir="@nodeSrc@"
export npm_config_node_gyp="@nodeGyp@"
if [ -z "${npmDeps-}" ]; then if [ -z "${npmDeps-}" ]; then
echo echo
@ -93,22 +98,7 @@ npmConfigHook() {
patchShebangs node_modules patchShebangs node_modules
local -r lockfileVersion="$(@jq@ .lockfileVersion package-lock.json)" npm rebuild $npmRebuildFlags "${npmRebuildFlagsArray[@]}" $npmFlags "${npmFlagsArray[@]}"
if (( lockfileVersion < 2 )); then
# This is required because npm consults a hidden lockfile in node_modules to figure out
# what to create bin links for. When using an old lockfile offline, this hidden lockfile
# contains insufficent data, making npm silently fail to create links. The hidden lockfile
# is bypassed when any file in node_modules is newer than it. Thus, we create a file when
# using an old lockfile, so bin links work as expected without having to downgrade Node or npm.
touch node_modules/.meow
fi
npm rebuild "${npmRebuildFlags[@]}" "${npmFlags[@]}"
if (( lockfileVersion < 2 )); then
rm node_modules/.meow
fi
patchShebangs node_modules patchShebangs node_modules

View file

@ -20,12 +20,12 @@ let
"comfy-wide-motion-fixed" # Slab | Wide | Monospaced | No | "comfy-wide-motion-fixed" # Slab | Wide | Monospaced | No |
"comfy-wide-motion-duo" # Slab | Wide | Duospaced | Yes | "comfy-wide-motion-duo" # Slab | Wide | Duospaced | Yes |
]; ];
version = "1.2.0"; version = "1.3.0";
src = fetchFromSourcehut { src = fetchFromSourcehut {
owner = "~protesilaos"; owner = "~protesilaos";
repo = "iosevka-comfy"; repo = "iosevka-comfy";
rev = version; rev = version;
sha256 = "sha256-gHDERf3eDsb59wz+kGa2wLY7RDRWs2woi5P2rZDYjL0="; sha256 = "sha256-ajzUbobNf+Je8ls9htOCLPsB0OPSiqZzrc8bO6hQvio=";
}; };
privateBuildPlan = src.outPath + "/private-build-plans.toml"; privateBuildPlan = src.outPath + "/private-build-plans.toml";
makeIosevkaFont = set: makeIosevkaFont = set:
@ -39,11 +39,11 @@ let
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "be5invis"; owner = "be5invis";
repo = "iosevka"; repo = "iosevka";
rev = "d3b461432137b36922e41322c2e45a2401e727a5"; rev = "7ef24b8d87fe50793444f9f84b140767f7e47029";
hash = "sha256-Sm+eG6ovVLmvKvQFEZblQV3jCLQRrc9Gga3pukwteLE="; hash = "sha256-RVBgJVMNyxV1KeNniwySsJUOmLDh6sFZju8szvzKlH4=";
}; };
npmDepsHash = "sha256-pikpi9eyo1a+AFLr7BMl1kegy3PgYFjzmE3QJqPXpNM="; npmDepsHash = "sha256-yogUBf+yfjfK8DE4gGgoGaTaYZagW8R1pCn7y0rEPt4=";
meta = with lib; { meta = with lib; {
inherit (src.meta) homepage; inherit (src.meta) homepage;

View file

@ -55,16 +55,16 @@ assert (extraParameters != null) -> set != null;
buildNpmPackage rec { buildNpmPackage rec {
pname = if set != null then "iosevka-${set}" else "iosevka"; pname = if set != null then "iosevka-${set}" else "iosevka";
version = "22.1.0"; version = "23.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "be5invis"; owner = "be5invis";
repo = "iosevka"; repo = "iosevka";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-aq8IKWGOOYf83ed5Z10/B+42SsI7JY5ED3AwAlk/24k="; hash = "sha256-j7JE9UHG4xho0a4TqG5rpCJkYyVxgoLxBuRtNMGfkrw=";
}; };
npmDepsHash = "sha256-6zt7q5aGb6jaa6YBr4HqawZjf2jqNnR9xQM/abKpT04="; npmDepsHash = "sha256-/zutJ4kwGqBe3snMxyvReJdvlcsm+02ZZyFMdNN6gmc=";
nativeBuildInputs = [ nativeBuildInputs = [
remarshal remarshal

View file

@ -2,18 +2,18 @@
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "source-code-pro"; pname = "source-code-pro";
version = "2.038"; version = "2.042";
src = fetchzip { src = fetchzip {
url = "https://github.com/adobe-fonts/source-code-pro/releases/download/${version}R-ro%2F1.058R-it%2F1.018R-VAR/OTF-source-code-pro-${version}R-ro-1.058R-it.zip"; url = "https://github.com/adobe-fonts/source-code-pro/releases/download/${version}R-u%2F1.062R-i%2F1.026R-vf/OTF-source-code-pro-${version}R-u_1.062R-i.zip";
stripRoot = false; stripRoot = false;
hash = "sha256-ijeTLka131jf6B9xj/eNWK1T5r7r3aBXBgnVyRAxmuY="; hash = "sha256-+BnfmD+AjObSoVxPvFAqbnMD2j5qf2YmbXGQtXoaiy0=";
}; };
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
install -Dm644 *.otf -t $out/share/fonts/opentype install -Dm644 OTF/*.otf -t $out/share/fonts/opentype
runHook postInstall runHook postInstall
''; '';

View file

@ -2,7 +2,7 @@
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "victor-mono"; pname = "victor-mono";
version = "1.5.4"; version = "1.5.5";
# Upstream prefers we download from the website, # Upstream prefers we download from the website,
# but we really insist on a more versioned resource. # but we really insist on a more versioned resource.
@ -14,7 +14,7 @@ stdenvNoCC.mkDerivation rec {
src = fetchzip { src = fetchzip {
url = "https://github.com/rubjo/victor-mono/raw/v${version}/public/VictorMonoAll.zip"; url = "https://github.com/rubjo/victor-mono/raw/v${version}/public/VictorMonoAll.zip";
stripRoot = false; stripRoot = false;
hash = "sha256-E8j1bfYrM8yRtasiwgTvyE4EYx2LyAbmw3MXH1l+owk="; hash = "sha256-l8XeKE9PtluiazZO0PXfkGCcnm5o+VZdL7NZ6w0tp80=";
}; };
installPhase = '' installPhase = ''

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "v2ray-geoip"; pname = "v2ray-geoip";
version = "202305110042"; version = "202305180042";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "v2fly"; owner = "v2fly";
repo = "geoip"; repo = "geoip";
rev = "d3e53c0849b499829dfb97af7e10552257277d2e"; rev = "1addec5dde6df338d37f43ddc7e760b03fd9f6a2";
sha256 = "sha256-jCktxDGMkRiG8tiNx27V9s1LLqaitWDBAB063+eLwmg="; sha256 = "sha256-c1BCbqGMvzqz3NKs1J4qD5vhagz0BEnnBG5BmvEy9W0=";
}; };
installPhase = '' installPhase = ''

View file

@ -0,0 +1,43 @@
{ stdenvNoCC
, lib
, fetchFromGitHub
, variant ? "macchiato"
}:
let
pname = "catppuccin-plymouth";
validVariants = [ "latte" "frappe" "macchiato" "mocha" ];
in
lib.checkListOfEnum "${pname}: color variant" validVariants [ variant ]
stdenvNoCC.mkDerivation rec {
inherit pname;
version = "unstable-2022-12-10";
src = fetchFromGitHub {
owner = "catppuccin";
repo = "plymouth";
rev = "d4105cf336599653783c34c4a2d6ca8c93f9281c";
hash = "sha256-quBSH8hx3gD7y1JNWAKQdTk3CmO4t1kVo4cOGbeWlNE=";
};
sourceRoot = "source/themes/catppuccin-${variant}";
installPhase = ''
runHook preInstall
sed -i 's:\(^ImageDir=\)/usr:\1'"$out"':' catppuccin-${variant}.plymouth
mkdir -p $out/share/plymouth/themes/catppuccin-${variant}
cp * $out/share/plymouth/themes/catppuccin-${variant}
runHook postInstall
'';
meta = with lib; {
description = "Soothing pastel theme for Plymouth";
homepage = "https://github.com/catppuccin/plymouth";
license = licenses.mit;
platforms = platforms.linux;
maintainers = [ maintainers.spectre256 ];
};
}

View file

@ -3,15 +3,15 @@
, fetchFromGitHub , fetchFromGitHub
}: }:
stdenv.mkDerivation { stdenv.mkDerivation (finalAttrs: {
pname = "gnome-shell-extension-paperwm"; pname = "gnome-shell-extension-paperwm";
version = "unstable-2023-04-20"; version = "44.0.0-beta.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "paperwm"; owner = "paperwm";
repo = "PaperWM"; repo = "PaperWM";
rev = "1130b663806d6daba1c8355c4b99c287d237e918"; rev = "v${finalAttrs.version}";
hash = "sha256-JlamW5DznVZ8G0REqXcxEt/IlHa3GMN184WFpeclhd4="; hash = "sha256-YRIaSD22bvzXo/wla178GeXIhvIwW6xLacjAQDC2P40=";
}; };
dontConfigure = true; dontConfigure = true;
@ -19,18 +19,21 @@ stdenv.mkDerivation {
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
mkdir -p "$out/share/gnome-shell/extensions/paperwm@hedning:matrix.org" mkdir -p "$out/share/gnome-shell/extensions/paperwm@hedning:matrix.org"
cp -r . "$out/share/gnome-shell/extensions/paperwm@hedning:matrix.org" cp -r . "$out/share/gnome-shell/extensions/paperwm@hedning:matrix.org"
runHook postInstall runHook postInstall
''; '';
meta = with lib; { meta = {
homepage = "https://github.com/paperwm/PaperWM"; homepage = "https://github.com/paperwm/PaperWM";
description = "Tiled scrollable window management for Gnome Shell"; description = "Tiled scrollable window management for Gnome Shell";
license = licenses.gpl3Plus; changelog = "https://github.com/paperwm/PaperWM/releases/tag/${finalAttrs.src.rev}";
maintainers = with maintainers; [ hedning AndersonTorres ]; license = lib.licenses.gpl3Plus;
platforms = platforms.all; maintainers = with lib.maintainers; [ hedning AndersonTorres ];
platforms = lib.platforms.all;
}; };
passthru.extensionUuid = "paperwm@hedning:matrix.org"; passthru.extensionUuid = "paperwm@hedning:matrix.org";
} })

View file

@ -22,25 +22,30 @@ in
CSC_OPTIONS = lib.concatStringsSep " " cscOptions; CSC_OPTIONS = lib.concatStringsSep " " cscOptions;
buildPhase = ''
runHook preBuild
chicken-install -cached -no-install ${lib.escapeShellArgs chickenInstallFlags}
runHook postBuild
'';
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
export CHICKEN_INSTALL_PREFIX=$out export CHICKEN_INSTALL_PREFIX=$out
export CHICKEN_INSTALL_REPOSITORY=$out/lib/chicken/${toString chicken.binaryVersion} export CHICKEN_INSTALL_REPOSITORY=$out/lib/chicken/${toString chicken.binaryVersion}
chicken-install -cached ${lib.concatStringsSep " " chickenInstallFlags} chicken-install -cached ${lib.escapeShellArgs chickenInstallFlags}
for f in $out/bin/* for f in $out/bin/*
do do
wrapProgram $f \ wrapProgram $f \
--prefix CHICKEN_REPOSITORY_PATH : "$out/lib/chicken/${toString chicken.binaryVersion}" \ --prefix CHICKEN_REPOSITORY_PATH : "$out/lib/chicken/${toString chicken.binaryVersion}:$CHICKEN_REPOSITORY_PATH" \
--suffix CHICKEN_INCLUDE_PATH : "$out/share" \ --prefix CHICKEN_INCLUDE_PATH : "$CHICKEN_INCLUDE_PATH:$out/share" \
--prefix PATH : "$out/bin:${chicken}/bin:$CHICKEN_REPOSITORY_PATH" --prefix PATH : "$out/bin:${chicken}/bin:$CHICKEN_REPOSITORY_PATH"
done done
runHook postInstall runHook postInstall
''; '';
dontBuild = true;
dontConfigure = true; dontConfigure = true;
meta = { meta = {

View file

@ -1,5 +1,6 @@
{ stdenv, pkgs, lib, chickenEggs }: { stdenv, pkgs, lib, chickenEggs }:
let let
inherit (lib) addMetaAttrs;
addToBuildInputs = pkg: old: { addToBuildInputs = pkg: old: {
buildInputs = (old.buildInputs or [ ]) ++ lib.toList pkg; buildInputs = (old.buildInputs or [ ]) ++ lib.toList pkg;
}; };
@ -14,8 +15,8 @@ let
(addPkgConfig old) // (addToBuildInputs pkg old); (addPkgConfig old) // (addToBuildInputs pkg old);
addToPropagatedBuildInputsWithPkgConfig = pkg: old: addToPropagatedBuildInputsWithPkgConfig = pkg: old:
(addPkgConfig old) // (addToPropagatedBuildInputs pkg old); (addPkgConfig old) // (addToPropagatedBuildInputs pkg old);
broken = old: { meta = old.meta // { broken = true; }; }; broken = addMetaAttrs { broken = true; };
brokenOnDarwin = old: { meta = old.meta // { broken = stdenv.isDarwin; }; }; brokenOnDarwin = addMetaAttrs { broken = stdenv.isDarwin; };
in { in {
allegro = addToBuildInputsWithPkgConfig ([ pkgs.allegro5 pkgs.libglvnd ] allegro = addToBuildInputsWithPkgConfig ([ pkgs.allegro5 pkgs.libglvnd ]
++ lib.optionals stdenv.isDarwin [ pkgs.darwin.apple_sdk.frameworks.OpenGL ]); ++ lib.optionals stdenv.isDarwin [ pkgs.darwin.apple_sdk.frameworks.OpenGL ]);
@ -85,8 +86,8 @@ in {
zstd = addToBuildInputs pkgs.zstd; zstd = addToBuildInputs pkgs.zstd;
# platform changes # platform changes
pledge = old: { meta = old.meta // { platforms = lib.platforms.openbsd; }; }; pledge = addMetaAttrs { platforms = lib.platforms.openbsd; };
unveil = old: { meta = old.meta // { platforms = lib.platforms.openbsd; }; }; unveil = addMetaAttrs { platforms = lib.platforms.openbsd; };
# mark broken # mark broken
"ephem-v1.1" = broken; "ephem-v1.1" = broken;

View file

@ -1,10 +1,10 @@
{ pkgs, lib, makeWrapper }: { pkgs
, lib
, makeWrapper
, nodejs ? pkgs.nodejs_18
}:
let let
# To control nodejs version we pass down
nodejs = pkgs.nodejs_18;
fetchElmDeps = pkgs.callPackage ./fetchElmDeps.nix { }; fetchElmDeps = pkgs.callPackage ./fetchElmDeps.nix { };
# Haskell packages that require ghc 8.10 # Haskell packages that require ghc 8.10
@ -115,8 +115,7 @@ let
}; };
nodePkgs = pkgs.callPackage ./packages/node-composition.nix { nodePkgs = pkgs.callPackage ./packages/node-composition.nix {
inherit pkgs; inherit pkgs nodejs;
nodejs = pkgs.nodejs_14;
inherit (pkgs.stdenv.hostPlatform) system; inherit (pkgs.stdenv.hostPlatform) system;
}; };
@ -152,7 +151,8 @@ in lib.makeScope pkgs.newScope (self: with self; {
}; };
}; };
} // (hs810Pkgs self).elmPkgs // (hs92Pkgs self).elmPkgs // (with elmLib; with (hs810Pkgs self).elmPkgs; { } // (hs810Pkgs self).elmPkgs // (hs92Pkgs self).elmPkgs // (with elmLib; with (hs810Pkgs self).elmPkgs; {
elm-verify-examples = patchBinwrap [elmi-to-json] nodePkgs.elm-verify-examples // { elm-verify-examples = let
patched = patchBinwrap [elmi-to-json] nodePkgs.elm-verify-examples // {
meta = with lib; nodePkgs.elm-verify-examples.meta // { meta = with lib; nodePkgs.elm-verify-examples.meta // {
description = "Verify examples in your docs"; description = "Verify examples in your docs";
homepage = "https://github.com/stoeffel/elm-verify-examples"; homepage = "https://github.com/stoeffel/elm-verify-examples";
@ -160,6 +160,14 @@ in lib.makeScope pkgs.newScope (self: with self; {
maintainers = [ maintainers.turbomack ]; maintainers = [ maintainers.turbomack ];
}; };
}; };
in patched.override (old: {
preRebuild = (old.preRebuild or "") + ''
# This should not be needed (thanks to binwrap* being nooped) but for some reason it still needs to be done
# in case of just this package
# TODO: investigate, same as for elm-coverage below
sed 's/\"install\".*/\"install\":\"echo no-op\",/g' --in-place node_modules/elmi-to-json/package.json
'';
});
elm-coverage = let elm-coverage = let
patched = patchNpmElm (patchBinwrap [elmi-to-json] nodePkgs.elm-coverage); patched = patchNpmElm (patchBinwrap [elmi-to-json] nodePkgs.elm-coverage);

View file

@ -10,22 +10,17 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "souffle"; pname = "souffle";
version = "2.3"; version = "2.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "souffle-lang"; owner = "souffle-lang";
repo = "souffle"; repo = "souffle";
rev = version; rev = version;
sha256 = "sha256-wdTBSmyA2I+gaSV577NNKA2oY2fdVTGmvV7h15NY1tU="; sha256 = "sha256-5g2Ikbfm5nQrsgGntZZ/VbjqSDOj0AP/mnH1nW2b4co=";
}; };
patches = [ patches = [
./threads.patch ./threads.patch
(fetchpatch {
name = "missing-override.patch";
url = "https://github.com/souffle-lang/souffle/commit/da2d778f0cca94f206686546fa56b9ffc738ad75.patch";
sha256 = "Oefm3vRRwOyom94oGSOK2w9m23gkbJ++9gcWrdLlkyk=";
})
]; ];
hardeningDisable = lib.optionals stdenv.isDarwin [ "strictoverflow" ]; hardeningDisable = lib.optionals stdenv.isDarwin [ "strictoverflow" ];

View file

@ -2663,4 +2663,12 @@ self: super: {
parsec = lself.parsec_3_1_16_1; parsec = lself.parsec_3_1_16_1;
text = lself.text_2_0_2; text = lself.text_2_0_2;
})); }));
# Merged upstream, but never released. Allows both intel and aarch64 darwin to build.
# https://github.com/vincenthz/hs-gauge/pull/106
gauge = appendPatch (pkgs.fetchpatch {
name = "darwin-aarch64-fix.patch";
url = "https://github.com/vincenthz/hs-gauge/commit/3d7776f41187c70c4f0b4517e6a7dde10dc02309.patch";
hash = "sha256-4osUMo0cvTvyDTXF8lY9tQbFqLywRwsc3RkHIhqSriQ=";
}) super.gauge;
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super

View file

@ -708,6 +708,7 @@ supported-platforms:
linux-mount: [ platforms.linux ] linux-mount: [ platforms.linux ]
linux-namespaces: [ platforms.linux ] linux-namespaces: [ platforms.linux ]
lxc: [ platforms.linux ] lxc: [ platforms.linux ]
memfd: [ platforms.linux ]
midi-alsa: [ platforms.linux ] # alsa-core only supported on linux midi-alsa: [ platforms.linux ] # alsa-core only supported on linux
midisurface: [ platforms.linux ] # alsa-core only supported on linux midisurface: [ platforms.linux ] # alsa-core only supported on linux
OrderedBits: [ platforms.x86 ] # lacks implementations for non-x86: https://github.com/choener/OrderedBits/blob/401cbbe933b1635aa33e8e9b29a4a570b0a8f044/lib/Data/Bits/Ordered.hs#L316 OrderedBits: [ platforms.x86 ] # lacks implementations for non-x86: https://github.com/choener/OrderedBits/blob/401cbbe933b1635aa33e8e9b29a4a570b0a8f044/lib/Data/Bits/Ordered.hs#L316

View file

@ -192841,6 +192841,7 @@ self: {
libraryHaskellDepends = [ base transformers ]; libraryHaskellDepends = [ base transformers ];
description = "Open temporary anonymous Linux file handles"; description = "Open temporary anonymous Linux file handles";
license = lib.licenses.asl20; license = lib.licenses.asl20;
platforms = lib.platforms.linux;
}) {}; }) {};
"meminfo" = callPackage "meminfo" = callPackage

View file

@ -5,13 +5,13 @@
stdenvNoCC.mkDerivation { stdenvNoCC.mkDerivation {
pname = "cbqn-bytecode"; pname = "cbqn-bytecode";
version = "unstable-2023-04-19"; version = "unstable-2023-05-17";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dzaima"; owner = "dzaima";
repo = "cbqnBytecode"; repo = "cbqnBytecode";
rev = "78ed4102f914eb5fa490d76d4dcd4f8be6e53417"; rev = "32db4dfbfc753835bf112f3d8ae2991d8aebbe3d";
hash = "sha256-IOhxcfGmpARiTdFMSpc+Rh8VXtasZdfP6vKJzULNxAg="; hash = "sha256-9uBPrEESn/rB9u0xXwKaQ7ABveQWPc8LRMPlnI/79kg=";
}; };
dontConfigure = true; dontConfigure = true;
@ -20,7 +20,7 @@ stdenvNoCC.mkDerivation {
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
install -D $src/gen/{compiles,explain,formatter,runtime0,runtime1,src} -t $out/dev install -D $src/gen/{compiles,explain,formatter,runtime0,runtime1,runtime1x,src} -t $out/dev
runHook postInstall runHook postInstall
''; '';

View file

@ -6,9 +6,8 @@
, fixDarwinDylibNames , fixDarwinDylibNames
, genBytecode ? false , genBytecode ? false
, bqn-path ? null , bqn-path ? null
, mbqn-source ? null , mbqn-source
, enableReplxx ? false , enableReplxx ? false
, enableSingeli ? stdenv.hostPlatform.avx2Support
, enableLibcbqn ? ((stdenv.hostPlatform.isLinux || stdenv.hostPlatform.isDarwin) && !enableReplxx) , enableLibcbqn ? ((stdenv.hostPlatform.isLinux || stdenv.hostPlatform.isDarwin) && !enableReplxx)
, libffi , libffi
, pkg-config , pkg-config
@ -24,13 +23,13 @@ assert genBytecode -> ((bqn-path != null) && (mbqn-source != null));
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "cbqn" + lib.optionalString (!genBytecode) "-standalone"; pname = "cbqn" + lib.optionalString (!genBytecode) "-standalone";
version = "0.2.0"; version = "0.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dzaima"; owner = "dzaima";
repo = "CBQN"; repo = "CBQN";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-M9GTsm65DySLcMk9QDEhImHnUvWtYGPwiG657wHg3KA="; hash = "sha256-LoxwNxuadbYJgIkr1+bZoErTc9WllN2siAsKnxoom3Y=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -42,6 +41,7 @@ stdenv.mkDerivation rec {
]; ];
dontConfigure = true; dontConfigure = true;
doInstallCheck = true;
postPatch = '' postPatch = ''
sed -i '/SHELL =.*/ d' makefile sed -i '/SHELL =.*/ d' makefile
@ -54,8 +54,11 @@ stdenv.mkDerivation rec {
buildFlags = [ buildFlags = [
# interpreter binary # interpreter binary
(lib.flatten (if enableSingeli then ["o3n-singeli" "f='-mavx2'"] else ["o3"])) "o3"
"notui=1" # display build progress in a plain-text format
"REPLXX=${if enableReplxx then "1" else "0"}" "REPLXX=${if enableReplxx then "1" else "0"}"
] ++ lib.optionals stdenv.hostPlatform.avx2Support [
"has=avx2"
] ++ lib.optionals enableLibcbqn [ ] ++ lib.optionals enableLibcbqn [
# embeddable interpreter as a shared lib # embeddable interpreter as a shared lib
"shared-o3" "shared-o3"
@ -64,6 +67,7 @@ stdenv.mkDerivation rec {
preBuild = '' preBuild = ''
# Purity: avoids git downloading bytecode files # Purity: avoids git downloading bytecode files
mkdir -p build/bytecodeLocal/gen mkdir -p build/bytecodeLocal/gen
cp -r ${singeli-submodule}/dev/* build/singeliLocal/
'' + (if genBytecode then '' '' + (if genBytecode then ''
${bqn-path} ./build/genRuntime ${mbqn-source} build/bytecodeLocal/ ${bqn-path} ./build/genRuntime ${mbqn-source} build/bytecodeLocal/
'' else '' '' else ''
@ -71,10 +75,7 @@ stdenv.mkDerivation rec {
'') '')
+ lib.optionalString enableReplxx '' + lib.optionalString enableReplxx ''
cp -r ${replxx-submodule}/dev/* build/replxxLocal/ cp -r ${replxx-submodule}/dev/* build/replxxLocal/
'' '';
+ lib.optionalString enableSingeli ''
cp -r ${singeli-submodule}/dev/* build/singeliLocal/
'';
outputs = [ outputs = [
"out" "out"
@ -100,6 +101,26 @@ stdenv.mkDerivation rec {
runHook postInstall runHook postInstall
''; '';
installCheckPhase = ''
runHook preInstallCheck
# main test suite from mlochbaum/BQN
$out/bin/BQN ${mbqn-source}/test/this.bqn
# CBQN tests that do not require compiling with test-only flags
$out/bin/BQN test/cmp.bqn
$out/bin/BQN test/equal.bqn
$out/bin/BQN test/copy.bqn
$out/bin/BQN test/bit.bqn
$out/bin/BQN test/hash.bqn
$out/bin/BQN test/squeezeValid.bqn
$out/bin/BQN test/squeezeExact.bqn
$out/bin/BQN test/various.bqn
$out/bin/BQN test/random.bqn
runHook postInstallCheck
'';
meta = with lib; { meta = with lib; {
homepage = "https://github.com/dzaima/CBQN/"; homepage = "https://github.com/dzaima/CBQN/";
description = "BQN implementation in C"; description = "BQN implementation in C";
@ -108,4 +129,3 @@ stdenv.mkDerivation rec {
platforms = platforms.all; platforms = platforms.all;
}; };
} }
# TODO: test suite

View file

@ -5,13 +5,13 @@
stdenvNoCC.mkDerivation { stdenvNoCC.mkDerivation {
pname = "singeli"; pname = "singeli";
version = "unstable-2023-04-12"; version = "unstable-2023-04-27";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mlochbaum"; owner = "mlochbaum";
repo = "Singeli"; repo = "Singeli";
rev = "3327956fedfdc6aef12954bc12120f20de2226d0"; rev = "853ab1a06ae8d8603f228d8e784fa319cc401459";
hash = "sha256-k25hk5zTn0m+2Nh9buTJYhtM98/VRlQ0guoRw9el3VE="; hash = "sha256-X/NnufvakihJAE9H7geuuDS7Tv9l7tgLKdRgXC4ZX4A=";
}; };
dontConfigure = true; dontConfigure = true;

View file

@ -7,13 +7,13 @@
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "bqn"; pname = "bqn";
version = "0.pre+date=2023-05-09"; version = "unstable-2023-05-17";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mlochbaum"; owner = "mlochbaum";
repo = "BQN"; repo = "BQN";
rev = "656b176c5dc783b038b018f0ed17a5414ea62b4d"; rev = "070bd07dc10c291695215265218ec0ff856ce457";
hash = "sha256-6r+N0eCvwvaoB84cw+Vtoqa6MXuI0NXLbOPblemY4M8="; hash = "sha256-GRIIzJwlJ+JTBHXZjoX/9vLFbAC7zyeuqVcrA/Jm/NA=";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];

View file

@ -0,0 +1,53 @@
{ lib
, stdenv
, fetchFromSourcehut
, audit
, pkg-config
, libcap
, gperf
, meson
, ninja
, python3
}:
stdenv.mkDerivation (finalAttrs: {
pname = "basu";
version = "0.2.1";
src = fetchFromSourcehut {
owner = "~emersion";
repo = "basu";
rev = "v${finalAttrs.version}";
hash = "sha256-zIaEIIo8lJeas2gVjMezO2hr8RnMIT7iiCBilZx5lRQ=";
};
outputs = [ "out" "dev" "lib" ];
buildInputs = [
audit
gperf
libcap
];
nativeBuildInputs = [
pkg-config
meson
ninja
python3
];
preConfigure = ''
pushd src/basic
patchShebangs \
generate-cap-list.sh generate-errno-list.sh generate-gperfs.py
popd
'';
meta = {
homepage = "https://sr.ht/~emersion/basu";
description = "The sd-bus library, extracted from systemd";
license = lib.licenses.lgpl21Only;
maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = lib.platforms.linux;
};
})

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "charls"; pname = "charls";
version = "2.4.1"; version = "2.4.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "team-charls"; owner = "team-charls";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-l0qcJeQfRqpwR7vNmYZx00kGlPkK7nEYuslydjxj7ss="; hash = "sha256-c1wrk6JLcAH7TFPwjARlggaKXrAsLWyUQF/3WHlqoqg=";
}; };
postPatch = '' postPatch = ''

Some files were not shown because too many files have changed in this diff Show more