Merge staging-next into staging
This commit is contained in:
commit
aeba07ddb1
@ -468,7 +468,7 @@ This is for consistency with the convention of software packages placing executa
|
||||
|
||||
The created file is marked as executable.
|
||||
The file's contents will be put into `/nix/store/<store path>/bin/<name>`.
|
||||
The store path will include the the name, and it will be a directory.
|
||||
The store path will include the name, and it will be a directory.
|
||||
|
||||
::: {.example #ex-writeScriptBin}
|
||||
# Usage of `writeScriptBin`
|
||||
|
@ -1115,6 +1115,12 @@
|
||||
github = "AmeerTaweel";
|
||||
githubId = 20538273;
|
||||
};
|
||||
amerino = {
|
||||
name = "Alberto Merino";
|
||||
email = "amerinor01@gmail.com";
|
||||
github = "amerinor01";
|
||||
githubId = 22280447;
|
||||
};
|
||||
amesgen = {
|
||||
email = "amesgen@amesgen.de";
|
||||
github = "amesgen";
|
||||
@ -1196,6 +1202,12 @@
|
||||
githubId = 754494;
|
||||
name = "Anders Asheim Hennum";
|
||||
};
|
||||
andershus = {
|
||||
email = "anders.husebo@eviny.no";
|
||||
github = "andershus";
|
||||
githubId = 93526270;
|
||||
name = "Anders Husebø";
|
||||
};
|
||||
andersk = {
|
||||
email = "andersk@mit.edu";
|
||||
github = "andersk";
|
||||
@ -3751,6 +3763,12 @@
|
||||
githubId = 848609;
|
||||
name = "Michael Bishop";
|
||||
};
|
||||
clevor = {
|
||||
email = "myclevorname@gmail.com";
|
||||
github = "myclevorname";
|
||||
githubId = 140354451;
|
||||
name = "Samuel Connelly";
|
||||
};
|
||||
clkamp = {
|
||||
email = "c@lkamp.de";
|
||||
github = "clkamp";
|
||||
@ -7131,6 +7149,12 @@
|
||||
githubId = 37017396;
|
||||
name = "gbtb";
|
||||
};
|
||||
gcleroux = {
|
||||
email = "guillaume@cleroux.dev";
|
||||
github = "gcleroux";
|
||||
githubId = 73357644;
|
||||
name = "Guillaume Cléroux";
|
||||
};
|
||||
gdamjan = {
|
||||
email = "gdamjan@gmail.com";
|
||||
matrix = "@gdamjan:spodeli.org";
|
||||
@ -12327,12 +12351,6 @@
|
||||
githubId = 33522919;
|
||||
name = "Marshall Arruda";
|
||||
};
|
||||
martfont = {
|
||||
name = "Martino Fontana";
|
||||
email = "tinozzo123@tutanota.com";
|
||||
github = "SuperSamus";
|
||||
githubId = 40663462;
|
||||
};
|
||||
martijnvermaat = {
|
||||
email = "martijn@vermaat.name";
|
||||
github = "martijnvermaat";
|
||||
|
@ -33,6 +33,8 @@
|
||||
|
||||
- `androidenv.androidPkgs_9_0` has been removed, and replaced with `androidenv.androidPkgs` for a more complete Android SDK including support for Android 9 and later.
|
||||
|
||||
- `grafana` has been updated to version 11.1. This version doesn't support setting `http_addr` to a hostname anymore, an IP address is expected.
|
||||
|
||||
- `wstunnel` has had a major version upgrade that entailed rewriting the program in Rust.
|
||||
The module was updated to accommodate for breaking changes.
|
||||
Breaking changes to the module API were minimised as much as possible,
|
||||
|
@ -105,7 +105,7 @@ let
|
||||
};
|
||||
url = mkOption {
|
||||
type = types.str;
|
||||
default = "localhost";
|
||||
default = "";
|
||||
description = "Url of the datasource.";
|
||||
};
|
||||
editable = mkOption {
|
||||
|
@ -5,6 +5,15 @@ let
|
||||
cfg = config.services.freshrss;
|
||||
|
||||
poolName = "freshrss";
|
||||
|
||||
extension-env = pkgs.buildEnv {
|
||||
name = "freshrss-extensions";
|
||||
paths = cfg.extensions;
|
||||
};
|
||||
env-vars = {
|
||||
DATA_PATH = cfg.dataDir;
|
||||
THIRDPARTY_EXTENSIONS_PATH = "${extension-env}/share/freshrss/";
|
||||
};
|
||||
in
|
||||
{
|
||||
meta.maintainers = with maintainers; [ etu stunkymonkey mattchrist ];
|
||||
@ -14,6 +23,31 @@ in
|
||||
|
||||
package = mkPackageOption pkgs "freshrss" { };
|
||||
|
||||
extensions = mkOption {
|
||||
type = types.listOf types.package;
|
||||
default = [ ];
|
||||
defaultText = literalExpression "[]";
|
||||
example = literalExpression ''
|
||||
with freshrss-extensions; [
|
||||
youtube
|
||||
] ++ [
|
||||
(freshrss-extensions.buildFreshRssExtension {
|
||||
FreshRssExtUniqueId = "ReadingTime";
|
||||
pname = "reading-time";
|
||||
version = "1.5";
|
||||
src = pkgs.fetchFromGitLab {
|
||||
domain = "framagit.org";
|
||||
owner = "Lapineige";
|
||||
repo = "FreshRSS_Extension-ReadingTime";
|
||||
rev = "fb6e9e944ef6c5299fa56ffddbe04c41e5a34ebf";
|
||||
hash = "sha256-C5cRfaphx4Qz2xg2z+v5qRji8WVSIpvzMbethTdSqsk=";
|
||||
};
|
||||
})
|
||||
]
|
||||
'';
|
||||
description = "Additional extensions to be used.";
|
||||
};
|
||||
|
||||
defaultUser = mkOption {
|
||||
type = types.str;
|
||||
default = "admin";
|
||||
@ -214,9 +248,7 @@ in
|
||||
"pm.max_spare_servers" = 5;
|
||||
"catch_workers_output" = true;
|
||||
};
|
||||
phpEnv = {
|
||||
DATA_PATH = "${cfg.dataDir}";
|
||||
};
|
||||
phpEnv = env-vars;
|
||||
};
|
||||
};
|
||||
|
||||
@ -259,9 +291,7 @@ in
|
||||
RemainAfterExit = true;
|
||||
};
|
||||
restartIfChanged = true;
|
||||
environment = {
|
||||
DATA_PATH = cfg.dataDir;
|
||||
};
|
||||
environment = env-vars;
|
||||
|
||||
script =
|
||||
let
|
||||
@ -293,9 +323,7 @@ in
|
||||
description = "FreshRSS feed updater";
|
||||
after = [ "freshrss-config.service" ];
|
||||
startAt = "*:0/5";
|
||||
environment = {
|
||||
DATA_PATH = cfg.dataDir;
|
||||
};
|
||||
environment = env-vars;
|
||||
serviceConfig = defaultServiceConfig // {
|
||||
ExecStart = "${cfg.package}/app/actualize_script.php";
|
||||
};
|
||||
|
@ -337,6 +337,7 @@ in {
|
||||
freenet = handleTest ./freenet.nix {};
|
||||
freeswitch = handleTest ./freeswitch.nix {};
|
||||
freetube = discoverTests (import ./freetube.nix);
|
||||
freshrss-extensions = handleTest ./freshrss-extensions.nix {};
|
||||
freshrss-sqlite = handleTest ./freshrss-sqlite.nix {};
|
||||
freshrss-pgsql = handleTest ./freshrss-pgsql.nix {};
|
||||
freshrss-http-auth = handleTest ./freshrss-http-auth.nix {};
|
||||
|
19
nixos/tests/freshrss-extensions.nix
Normal file
19
nixos/tests/freshrss-extensions.nix
Normal file
@ -0,0 +1,19 @@
|
||||
import ./make-test-python.nix ({ lib, pkgs, ... }: {
|
||||
name = "freshrss";
|
||||
|
||||
nodes.machine = { pkgs, ... }: {
|
||||
services.freshrss = {
|
||||
enable = true;
|
||||
baseUrl = "http://localhost";
|
||||
authType = "none";
|
||||
extensions = [ pkgs.freshrss-extensions.youtube ];
|
||||
};
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
machine.wait_for_unit("multi-user.target")
|
||||
machine.wait_for_open_port(80)
|
||||
response = machine.succeed("curl -vvv -s http://127.0.0.1:80/i/?c=extension")
|
||||
assert '<span class="ext_name disabled">YouTube Video Feed</span>' in response, "Extension not present in extensions page."
|
||||
'';
|
||||
})
|
@ -10,7 +10,7 @@ let
|
||||
analytics.reporting_enabled = false;
|
||||
|
||||
server = {
|
||||
http_addr = "localhost";
|
||||
http_addr = "::1";
|
||||
domain = "localhost";
|
||||
};
|
||||
|
||||
@ -47,7 +47,7 @@ let
|
||||
|
||||
postgresql = {
|
||||
services.grafana.settings.database = {
|
||||
host = "127.0.0.1:5432";
|
||||
host = "[::1]:5432";
|
||||
user = "grafana";
|
||||
};
|
||||
services.postgresql = {
|
||||
@ -91,9 +91,9 @@ in {
|
||||
|
||||
with subtest("Declarative plugins installed"):
|
||||
declarativePlugins.wait_for_unit("grafana.service")
|
||||
declarativePlugins.wait_for_open_port(3000)
|
||||
declarativePlugins.wait_for_open_port(3000, addr="::1")
|
||||
declarativePlugins.succeed(
|
||||
"curl -sSfN -u testadmin:snakeoilpwd http://127.0.0.1:3000/api/plugins | grep grafana-clock-panel"
|
||||
"curl -sSfN -u testadmin:snakeoilpwd http://[::1]:3000/api/plugins | grep grafana-clock-panel"
|
||||
)
|
||||
declarativePlugins.shutdown()
|
||||
|
||||
@ -101,10 +101,10 @@ in {
|
||||
sqlite.wait_for_unit("grafana.service")
|
||||
sqlite.wait_for_open_port(3000)
|
||||
print(sqlite.succeed(
|
||||
"curl -sSfN -u testadmin:snakeoilpwd http://127.0.0.1:3000/api/org/users -i"
|
||||
"curl -sSfN -u testadmin:snakeoilpwd http://[::1]:3000/api/org/users -i"
|
||||
))
|
||||
sqlite.succeed(
|
||||
"curl -sSfN -u testadmin:snakeoilpwd http://127.0.0.1:3000/api/org/users | grep admin\@localhost"
|
||||
"curl -sSfN -u testadmin:snakeoilpwd http://[::1]:3000/api/org/users | grep admin\@localhost"
|
||||
)
|
||||
sqlite.shutdown()
|
||||
|
||||
@ -112,10 +112,10 @@ in {
|
||||
socket.wait_for_unit("grafana.service")
|
||||
socket.wait_for_open_port(80)
|
||||
print(socket.succeed(
|
||||
"curl -sSfN -u testadmin:snakeoilpwd http://127.0.0.1/api/org/users -i"
|
||||
"curl -sSfN -u testadmin:snakeoilpwd http://[::1]/api/org/users -i"
|
||||
))
|
||||
socket.succeed(
|
||||
"curl -sSfN -u testadmin:snakeoilpwd http://127.0.0.1/api/org/users | grep admin\@localhost"
|
||||
"curl -sSfN -u testadmin:snakeoilpwd http://[::1]/api/org/users | grep admin\@localhost"
|
||||
)
|
||||
socket.shutdown()
|
||||
|
||||
@ -125,7 +125,7 @@ in {
|
||||
postgresql.wait_for_open_port(3000)
|
||||
postgresql.wait_for_open_port(5432)
|
||||
postgresql.succeed(
|
||||
"curl -sSfN -u testadmin:snakeoilpwd http://127.0.0.1:3000/api/org/users | grep admin\@localhost"
|
||||
"curl -sSfN -u testadmin:snakeoilpwd http://[::1]:3000/api/org/users | grep admin\@localhost"
|
||||
)
|
||||
postgresql.shutdown()
|
||||
|
||||
@ -135,7 +135,7 @@ in {
|
||||
mysql.wait_for_open_port(3000)
|
||||
mysql.wait_for_open_port(3306)
|
||||
mysql.succeed(
|
||||
"curl -sSfN -u testadmin:snakeoilpwd http://127.0.0.1:3000/api/org/users | grep admin\@localhost"
|
||||
"curl -sSfN -u testadmin:snakeoilpwd http://[::1]:3000/api/org/users | grep admin\@localhost"
|
||||
)
|
||||
mysql.shutdown()
|
||||
'';
|
||||
|
@ -11,7 +11,7 @@ let
|
||||
analytics.reporting_enabled = false;
|
||||
|
||||
server = {
|
||||
http_addr = "localhost";
|
||||
http_addr = "::1";
|
||||
domain = "localhost";
|
||||
};
|
||||
|
||||
@ -177,41 +177,41 @@ in {
|
||||
for description, machine in [nodeNix, nodeYaml, nodeYamlDir]:
|
||||
with subtest(f"Should start provision node: {description}"):
|
||||
machine.wait_for_unit("grafana.service")
|
||||
machine.wait_for_open_port(3000)
|
||||
machine.wait_for_open_port(3000, addr="::1")
|
||||
|
||||
with subtest(f"Successful datasource provision with {description}"):
|
||||
machine.succeed(
|
||||
"curl -sSfN -u testadmin:snakeoilpwd http://127.0.0.1:3000/api/datasources/uid/test_datasource | grep Test\ Datasource"
|
||||
"curl -sSfN -u testadmin:snakeoilpwd http://[::1]:3000/api/datasources/uid/test_datasource | grep Test\ Datasource"
|
||||
)
|
||||
|
||||
with subtest(f"Successful dashboard provision with {description}"):
|
||||
machine.succeed(
|
||||
"curl -sSfN -u testadmin:snakeoilpwd http://127.0.0.1:3000/api/dashboards/uid/test_dashboard | grep Test\ Dashboard"
|
||||
"curl -sSfN -u testadmin:snakeoilpwd http://[::1]:3000/api/dashboards/uid/test_dashboard | grep Test\ Dashboard"
|
||||
)
|
||||
|
||||
with subtest(f"Successful rule provision with {description}"):
|
||||
machine.succeed(
|
||||
"curl -sSfN -u testadmin:snakeoilpwd http://127.0.0.1:3000/api/v1/provisioning/alert-rules/test_rule | grep Test\ Rule"
|
||||
"curl -sSfN -u testadmin:snakeoilpwd http://[::1]:3000/api/v1/provisioning/alert-rules/test_rule | grep Test\ Rule"
|
||||
)
|
||||
|
||||
with subtest(f"Successful contact point provision with {description}"):
|
||||
machine.succeed(
|
||||
"curl -sSfN -u testadmin:snakeoilpwd http://127.0.0.1:3000/api/v1/provisioning/contact-points | grep Test\ Contact\ Point"
|
||||
"curl -sSfN -u testadmin:snakeoilpwd http://[::1]:3000/api/v1/provisioning/contact-points | grep Test\ Contact\ Point"
|
||||
)
|
||||
|
||||
with subtest(f"Successful policy provision with {description}"):
|
||||
machine.succeed(
|
||||
"curl -sSfN -u testadmin:snakeoilpwd http://127.0.0.1:3000/api/v1/provisioning/policies | grep Test\ Contact\ Point"
|
||||
"curl -sSfN -u testadmin:snakeoilpwd http://[::1]:3000/api/v1/provisioning/policies | grep Test\ Contact\ Point"
|
||||
)
|
||||
|
||||
with subtest(f"Successful template provision with {description}"):
|
||||
machine.succeed(
|
||||
"curl -sSfN -u testadmin:snakeoilpwd http://127.0.0.1:3000/api/v1/provisioning/templates | grep Test\ Template"
|
||||
"curl -sSfN -u testadmin:snakeoilpwd http://[::1]:3000/api/v1/provisioning/templates | grep Test\ Template"
|
||||
)
|
||||
|
||||
with subtest("Successful mute timings provision with {description}"):
|
||||
machine.succeed(
|
||||
"curl -sSfN -u testadmin:snakeoilpwd http://127.0.0.1:3000/api/v1/provisioning/mute-timings | grep Test\ Mute\ Timing"
|
||||
"curl -sSfN -u testadmin:snakeoilpwd http://[::1]:3000/api/v1/provisioning/mute-timings | grep Test\ Mute\ Timing"
|
||||
)
|
||||
'';
|
||||
})
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, fetchurl, perlPackages, wrapGAppsHook3, fetchpatch,
|
||||
{ lib, fetchurl, perlPackages, wrapGAppsHook3,
|
||||
# libs
|
||||
librsvg, sane-backends, sane-frontends,
|
||||
# runtime dependencies
|
||||
@ -10,20 +10,14 @@ with lib;
|
||||
|
||||
perlPackages.buildPerlPackage rec {
|
||||
pname = "gscan2pdf";
|
||||
version = "2.13.2";
|
||||
version = "2.13.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/gscan2pdf/gscan2pdf-${version}.tar.xz";
|
||||
hash = "sha256-NGz6DUa7TdChpgwmD9pcGdvYr3R+Ft3jPPSJpybCW4Q=";
|
||||
hash = "sha256-QAs6fsQDe9+nKM/OAVZUHB034K72jHsKoA2LY2JQa8Y=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# fixes warnings during tests. See https://sourceforge.net/p/gscan2pdf/bugs/421
|
||||
(fetchpatch {
|
||||
name = "0001-Remove-given-and-when-keywords-and-operator.patch";
|
||||
url = "https://sourceforge.net/p/gscan2pdf/bugs/_discuss/thread/602a7cedfd/1ea4/attachment/0001-Remove-given-and-when-keywords-and-operator.patch";
|
||||
hash = "sha256-JtrHUkfEKnDhWfEVdIdYVlr5b/xChTzsrrPmruLaJ5M=";
|
||||
})
|
||||
# fixes an error with utf8 file names. See https://sourceforge.net/p/gscan2pdf/bugs/400
|
||||
./image-utf8-fix.patch
|
||||
];
|
||||
@ -113,18 +107,6 @@ perlPackages.buildPerlPackage rec {
|
||||
]);
|
||||
|
||||
checkPhase = ''
|
||||
# Temporarily disable a test failing after a patch imagemagick update.
|
||||
# It might only due to the reporting and matching used in the test.
|
||||
# See https://github.com/NixOS/nixpkgs/issues/223446
|
||||
# See https://sourceforge.net/p/gscan2pdf/bugs/417/
|
||||
#
|
||||
# Failed test 'valid TIFF created'
|
||||
# at t/131_save_tiff.t line 44.
|
||||
# 'test.tif TIFF 70x46 70x46+0+0 8-bit sRGB 10024B 0.000u 0:00.000
|
||||
# '
|
||||
# doesn't match '(?^:test.tif TIFF 70x46 70x46\+0\+0 8-bit sRGB [7|9][.\d]+K?B)'
|
||||
rm t/131_save_tiff.t
|
||||
|
||||
# Temporarily disable a dubiously failing test:
|
||||
# t/169_import_scan.t ........................... 1/1
|
||||
# # Failed test 'variable-height scan imported with expected size'
|
||||
@ -135,12 +117,17 @@ perlPackages.buildPerlPackage rec {
|
||||
# t/169_import_scan.t ........................... Dubious, test returned 1 (wstat 256, 0x100)
|
||||
rm t/169_import_scan.t
|
||||
|
||||
# Disable a test which passes but reports an incorrect status
|
||||
# t/0601_Dialog_Scan.t .......................... All 14 subtests passed
|
||||
# t/0601_Dialog_Scan.t (Wstat: 139 Tests: 14 Failed: 0)
|
||||
# Non-zero wait status: 139
|
||||
rm t/0601_Dialog_Scan.t
|
||||
# Disable a test failing because of a warning interfering with the pinned output
|
||||
# t/3722_user_defined.t ......................... 1/2
|
||||
# Failed test 'user_defined caught error injected in queue'
|
||||
# at t/3722_user_defined.t line 41.
|
||||
# got: 'error
|
||||
# WARNING: The convert command is deprecated in IMv7, use "magick" instead of "convert" or "magick convert"'
|
||||
# expected: 'error'
|
||||
# Looks like you failed 1 test of 2.
|
||||
rm t/3722_user_defined.t
|
||||
|
||||
export XDG_CACHE_HOME="$(mktemp -d)"
|
||||
xvfb-run -s '-screen 0 800x600x24' \
|
||||
make test
|
||||
'';
|
||||
|
@ -1,12 +1,12 @@
|
||||
{ lib
|
||||
, appimageTools
|
||||
, fetchurl
|
||||
{
|
||||
lib,
|
||||
appimageTools,
|
||||
fetchurl,
|
||||
makeWrapper,
|
||||
}:
|
||||
|
||||
appimageTools.wrapAppImage rec {
|
||||
let
|
||||
pname = "bazecor";
|
||||
version = "1.3.11";
|
||||
|
||||
src = appimageTools.extract {
|
||||
inherit pname version;
|
||||
src = fetchurl {
|
||||
@ -18,11 +18,14 @@ appimageTools.wrapAppImage rec {
|
||||
postExtract = ''
|
||||
substituteInPlace \
|
||||
$out/usr/lib/bazecor/resources/app/.webpack/main/index.js \
|
||||
--replace \
|
||||
--replace-fail \
|
||||
'checkUdev=()=>{try{if(c.default.existsSync(f))return c.default.readFileSync(f,"utf-8").trim()===l.trim()}catch(e){console.error(e)}return!1}' \
|
||||
'checkUdev=()=>{return 1}'
|
||||
'';
|
||||
};
|
||||
in
|
||||
appimageTools.wrapAppImage {
|
||||
inherit pname version src;
|
||||
|
||||
# also make sure to update the udev rules in ./10-dygma.rules; most recently
|
||||
# taken from
|
||||
@ -35,14 +38,18 @@ appimageTools.wrapAppImage rec {
|
||||
# to allow non-root modifications to the keyboards.
|
||||
|
||||
extraInstallCommands = ''
|
||||
install -m 444 -D ${src}/Bazecor.desktop -t $out/share/applications
|
||||
substituteInPlace $out/share/applications/Bazecor.desktop \
|
||||
--replace 'Exec=Bazecor' 'Exec=bazecor'
|
||||
source "${makeWrapper}/nix-support/setup-hook"
|
||||
wrapProgram $out/bin/bazecor \
|
||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
|
||||
|
||||
install -m 444 -D ${src}/Bazecor.desktop -t $out/share/applications
|
||||
install -m 444 -D ${src}/bazecor.png -t $out/share/pixmaps
|
||||
|
||||
mkdir -p $out/lib/udev/rules.d
|
||||
ln -s --target-directory=$out/lib/udev/rules.d ${./10-dygma.rules}
|
||||
install -m 444 -D ${./10-dygma.rules} $out/lib/udev/rules.d/10-dygma.rules
|
||||
|
||||
substituteInPlace $out/share/applications/Bazecor.desktop \
|
||||
--replace-fail 'Exec=Bazecor' 'Exec=bazecor'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
@ -51,7 +58,10 @@ appimageTools.wrapAppImage rec {
|
||||
changelog = "https://github.com/Dygmalab/Bazecor/releases/tag/v${version}";
|
||||
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ amesgen ];
|
||||
maintainers = with lib.maintainers; [
|
||||
amesgen
|
||||
gcleroux
|
||||
];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
mainProgram = "bazecor";
|
||||
};
|
||||
|
@ -21,12 +21,13 @@
|
||||
, qmake
|
||||
, qtbase
|
||||
, qtwayland
|
||||
, removeReferencesTo
|
||||
, speechd
|
||||
, sqlite
|
||||
, wrapQtAppsHook
|
||||
, xdg-utils
|
||||
, wrapGAppsHook3
|
||||
, popplerSupport ? true
|
||||
, speechSupport ? true
|
||||
, unrarSupport ? false
|
||||
}:
|
||||
|
||||
@ -69,7 +70,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
cmake
|
||||
pkg-config
|
||||
qmake
|
||||
removeReferencesTo
|
||||
wrapGAppsHook3
|
||||
wrapQtAppsHook
|
||||
];
|
||||
@ -91,48 +91,48 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
qtbase
|
||||
qtwayland
|
||||
sqlite
|
||||
(python3Packages.python.withPackages
|
||||
(ps: with ps; [
|
||||
(apsw.overrideAttrs (oldAttrs: {
|
||||
setupPyBuildFlags = [ "--enable=load_extension" ];
|
||||
}))
|
||||
beautifulsoup4
|
||||
css-parser
|
||||
cssselect
|
||||
python-dateutil
|
||||
dnspython
|
||||
faust-cchardet
|
||||
feedparser
|
||||
html2text
|
||||
html5-parser
|
||||
lxml
|
||||
markdown
|
||||
mechanize
|
||||
msgpack
|
||||
netifaces
|
||||
pillow
|
||||
pychm
|
||||
pyqt-builder
|
||||
pyqt6
|
||||
python
|
||||
regex
|
||||
sip
|
||||
setuptools
|
||||
zeroconf
|
||||
jeepney
|
||||
pycryptodome
|
||||
xxhash
|
||||
# the following are distributed with calibre, but we use upstream instead
|
||||
odfpy
|
||||
] ++ lib.optionals (lib.lists.any (p: p == stdenv.hostPlatform.system) pyqt6-webengine.meta.platforms) [
|
||||
# much of calibre's functionality is usable without a web
|
||||
# browser, so we enable building on platforms which qtwebengine
|
||||
# does not support by simply omitting qtwebengine.
|
||||
pyqt6-webengine
|
||||
] ++ lib.optional (unrarSupport) unrardll)
|
||||
)
|
||||
xdg-utils
|
||||
] ++ (
|
||||
with python3Packages; [
|
||||
(apsw.overrideAttrs (oldAttrs: {
|
||||
setupPyBuildFlags = [ "--enable=load_extension" ];
|
||||
}))
|
||||
beautifulsoup4
|
||||
css-parser
|
||||
cssselect
|
||||
python-dateutil
|
||||
dnspython
|
||||
faust-cchardet
|
||||
feedparser
|
||||
html2text
|
||||
html5-parser
|
||||
lxml
|
||||
markdown
|
||||
mechanize
|
||||
msgpack
|
||||
netifaces
|
||||
pillow
|
||||
pychm
|
||||
pyqt-builder
|
||||
pyqt6
|
||||
python
|
||||
regex
|
||||
sip
|
||||
setuptools
|
||||
speechd
|
||||
zeroconf
|
||||
jeepney
|
||||
pycryptodome
|
||||
xxhash
|
||||
# the following are distributed with calibre, but we use upstream instead
|
||||
odfpy
|
||||
] ++ lib.optionals (lib.lists.any (p: p == stdenv.hostPlatform.system) pyqt6-webengine.meta.platforms) [
|
||||
# much of calibre's functionality is usable without a web
|
||||
# browser, so we enable building on platforms which qtwebengine
|
||||
# does not support by simply omitting qtwebengine.
|
||||
pyqt6-webengine
|
||||
] ++ lib.optional (unrarSupport) unrardll
|
||||
);
|
||||
] ++ lib.optional (speechSupport) speechd;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
@ -149,7 +149,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
export XDG_DATA_HOME=$out/share
|
||||
export XDG_UTILS_INSTALL_MODE="user"
|
||||
|
||||
${python3Packages.python.pythonOnBuildForHost.interpreter} setup.py install --root=$out \
|
||||
python setup.py install --root=$out \
|
||||
--prefix=$out \
|
||||
--libdir=$out/lib \
|
||||
--staging-root=$out \
|
||||
@ -173,23 +173,18 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
dontWrapQtApps = true;
|
||||
dontWrapGApps = true;
|
||||
|
||||
# Remove some references to shrink the closure size. This reference (as of
|
||||
# 2018-11-06) was a single string like the following:
|
||||
# /nix/store/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-podofo-0.9.6-dev/include/podofo/base/PdfVariant.h
|
||||
preFixup = ''
|
||||
remove-references-to -t ${podofo.dev} \
|
||||
$out/lib/calibre/calibre/plugins/podofo.so
|
||||
|
||||
for program in $out/bin/*; do
|
||||
wrapProgram $program \
|
||||
''${qtWrapperArgs[@]} \
|
||||
''${gappsWrapperArgs[@]} \
|
||||
--prefix PYTHONPATH : $PYTHONPATH \
|
||||
--prefix PATH : ${poppler_utils.out}/bin
|
||||
done
|
||||
'';
|
||||
|
||||
disallowedReferences = [ podofo.dev ];
|
||||
preFixup =
|
||||
let
|
||||
popplerArgs = "--prefix PATH : ${poppler_utils.out}/bin";
|
||||
in
|
||||
''
|
||||
for program in $out/bin/*; do
|
||||
wrapProgram $program \
|
||||
''${qtWrapperArgs[@]} \
|
||||
''${gappsWrapperArgs[@]} \
|
||||
${if popplerSupport then popplerArgs else ""}
|
||||
done
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://calibre-ebook.com";
|
||||
|
@ -13,9 +13,9 @@ buildGoModule rec {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "remotemobprogramming";
|
||||
repo = pname;
|
||||
repo = "mob";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-1A8xoDiDBW1YieRDTCAiena63j4y7FJf5dMQoNrIAno=";
|
||||
hash = "sha256-+pN+FGZCW5sPWpUNIYTFn26KBpHre+9PPBQwEcBNJWI=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ssocr";
|
||||
version = "2.23.1";
|
||||
version = "2.24.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "auerswal";
|
||||
repo = "ssocr";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-EfZsTrZI6vKM7tB6mKNGEkdfkNFbN5p4TmymOJGZRBk=";
|
||||
sha256 = "sha256-79AnlO5r3IWSsV7zcI8li63bWTa+jw99cdOFFOGFZ2w=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
@ -22,5 +22,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.kroell ];
|
||||
mainProgram = "ssocr";
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -10,9 +10,11 @@
|
||||
, darwin
|
||||
, cmake
|
||||
, ninja
|
||||
, pkg-config
|
||||
, libxcrypt
|
||||
, python3
|
||||
, qt6Packages
|
||||
, woff2
|
||||
, nixosTests
|
||||
, AppKit
|
||||
, Cocoa
|
||||
@ -50,19 +52,15 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "ladybird";
|
||||
version = "0-unstable-2024-06-04";
|
||||
version = "0-unstable-2024-06-08";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "LadybirdWebBrowser";
|
||||
repo = "ladybird";
|
||||
rev = "c6e9f0e7b5b050ddbb5d735ca9c65458add9b4a5";
|
||||
hash = "sha256-+NDrd0kO9bqXFcCEJFmNwNu5jmf+wT+uUVlmbmCYLw4=";
|
||||
rev = "2f68e361370040d8cdc75a8ed8af4239134ae481";
|
||||
hash = "sha256-EQZTsui4lGThSi+8a6KSyL5lJnO0A8fJ8HWY4jgkpUA=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./nixos-font-path.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
sed -i '/iconutil/d' Ladybird/CMakeLists.txt
|
||||
|
||||
@ -112,6 +110,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
nativeBuildInputs = with qt6Packages; [
|
||||
cmake
|
||||
ninja
|
||||
pkg-config
|
||||
python3
|
||||
wrapQtAppsHook
|
||||
];
|
||||
@ -120,6 +119,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
libxcrypt
|
||||
qtbase
|
||||
qtmultimedia
|
||||
woff2
|
||||
] ++ lib.optional stdenv.isLinux [
|
||||
qtwayland
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
AppKit
|
||||
Cocoa
|
||||
@ -163,5 +165,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
maintainers = with maintainers; [ fgaz ];
|
||||
platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
|
||||
mainProgram = "Ladybird";
|
||||
# use of undeclared identifier 'NSBezelStyleAccessoryBarAction'
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
})
|
||||
|
@ -1,12 +0,0 @@
|
||||
diff --git a/Userland/Libraries/LibCore/StandardPaths.cpp b/Userland/Libraries/LibCore/StandardPaths.cpp
|
||||
index 77ddbeb9..76481497 100644
|
||||
--- a/Userland/Libraries/LibCore/StandardPaths.cpp
|
||||
+++ b/Userland/Libraries/LibCore/StandardPaths.cpp
|
||||
@@ -205,6 +205,7 @@ ErrorOr<Vector<String>> StandardPaths::font_directories()
|
||||
"/Library/Fonts"_string,
|
||||
TRY(String::formatted("{}/Library/Fonts"sv, home_directory())),
|
||||
# else
|
||||
+ "/run/current-system/sw/share/X11/fonts"_string,
|
||||
"/usr/share/fonts"_string,
|
||||
"/usr/local/share/fonts"_string,
|
||||
TRY(String::formatted("{}/.local/share/fonts"sv, home_directory())),
|
@ -144,6 +144,14 @@ stdenv.mkDerivation rec {
|
||||
genericName = "Web Browser";
|
||||
comment = meta.description;
|
||||
categories = [ "Network" "WebBrowser" "Security" ];
|
||||
mimeTypes = [
|
||||
"text/html"
|
||||
"text/xml"
|
||||
"application/xhtml+xml"
|
||||
"application/vnd.mozilla.xul+xml"
|
||||
"x-scheme-handler/http"
|
||||
"x-scheme-handler/https"
|
||||
];
|
||||
})];
|
||||
|
||||
buildPhase = ''
|
||||
|
@ -163,6 +163,14 @@ stdenv.mkDerivation rec {
|
||||
genericName = "Web Browser";
|
||||
comment = meta.description;
|
||||
categories = [ "Network" "WebBrowser" "Security" ];
|
||||
mimeTypes = [
|
||||
"text/html"
|
||||
"text/xml"
|
||||
"application/xhtml+xml"
|
||||
"application/vnd.mozilla.xul+xml"
|
||||
"x-scheme-handler/http"
|
||||
"x-scheme-handler/https"
|
||||
];
|
||||
})];
|
||||
|
||||
buildPhase = ''
|
||||
|
@ -1,16 +0,0 @@
|
||||
diff --git a/plugins/gpgme-vala/vapi/gpgme_public.vapi b/plugins/gpgme-vala/vapi/gpgme_public.vapi
|
||||
index bcf12569..b32efd03 100644
|
||||
--- a/plugins/gpgme-vala/vapi/gpgme_public.vapi
|
||||
+++ b/plugins/gpgme-vala/vapi/gpgme_public.vapi
|
||||
@@ -22,9 +22,9 @@ public class Key {
|
||||
public string issuer_name;
|
||||
public string chain_id;
|
||||
public Validity owner_trust;
|
||||
- [CCode(array_null_terminated = true)]
|
||||
+ [CCode(array_length = false, array_null_terminated = true)]
|
||||
public SubKey[] subkeys;
|
||||
- [CCode(array_null_terminated = true)]
|
||||
+ [CCode(array_length = false, array_null_terminated = true)]
|
||||
public UserID[] uids;
|
||||
public KeylistMode keylist_mode;
|
||||
// public string fpr; // requires gpgme >= 1.7.0
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "novnc";
|
||||
version = "1.4.0";
|
||||
version = "1.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "novnc";
|
||||
repo = "noVNC";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-G7Rtv7pQFR9UrzhYXDyBf+FRqtjo5NAXU7m/HeXhI1k=";
|
||||
sha256 = "sha256-3Q87bYsC824/8A85Kxdqlm+InuuR/D/HjVrYTJZfE9Y=";
|
||||
};
|
||||
|
||||
patches = with python3.pkgs; [
|
||||
|
@ -2,7 +2,7 @@
|
||||
, stdenv
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, substituteAll
|
||||
, darwin
|
||||
, just
|
||||
, pkg-config
|
||||
, wrapGAppsHook4
|
||||
@ -20,16 +20,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "celeste";
|
||||
version = "0.8.1";
|
||||
version = "0.8.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hwittenborn";
|
||||
repo = "celeste";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-fJK3UTa5NS+dSsjnqZtRN3HmHQ1bYU2jepkJ5tchYD4=";
|
||||
hash = "sha256-Yj2PvAlAkwLaSE27KnzEmiRAD5K/YVGbF4+N3uhDVT8=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-/0w52bh9CsBoMTJsnWuEAQNgQzf92mbzh53H4iQYswc=";
|
||||
cargoHash = "sha256-nlYkFgm5r6nAbJvtrXW2VxzVYq1GrSs8bzHYWOglL1c=";
|
||||
|
||||
postPatch = ''
|
||||
pushd $cargoDepsCopy/librclone-sys
|
||||
@ -66,8 +66,15 @@ rustPlatform.buildRustPackage rec {
|
||||
libadwaita
|
||||
librclone
|
||||
pango
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Foundation
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.isDarwin [
|
||||
"-Wno-error=incompatible-function-pointer-types"
|
||||
]);
|
||||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(
|
||||
--prefix PATH : "${lib.makeBinPath [ rclone ]}"
|
||||
|
@ -21,14 +21,14 @@
|
||||
let
|
||||
pname = "qownnotes";
|
||||
appname = "QOwnNotes";
|
||||
version = "24.6.3";
|
||||
version = "24.7.0";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit pname version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/pbek/QOwnNotes/releases/download/v${version}/qownnotes-${version}.tar.xz";
|
||||
hash = "sha256-UdWyS5DalnGDoNEOx8d9MglKpJeqOXY1mTgLl3r/9gY=";
|
||||
hash = "sha256-yDWm6d3kZwBEo0i7CSni4EOA4H+lAuYSzmANi/q7HxU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -8,7 +8,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
owner = "qalculate";
|
||||
repo = "qalculate-qt";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-jlzuLLEFi72ElVBJSRikrMMaHIVWKRUAWGyeqzuj7xw=";
|
||||
hash = "sha256-suJUPeWLX+da0lQdvsDgSBRCBYmog+s4+n/w0PnPijs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ qmake intltool pkg-config qttools wrapQtAppsHook ];
|
||||
|
@ -12,13 +12,13 @@
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "git-machete";
|
||||
version = "3.26.0";
|
||||
version = "3.26.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "virtuslab";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-6q0XunfzURfcvce/BLtJhDeI1fPusN+07S1SegLDkwY=";
|
||||
hash = "sha256-QcsBe1v2qiPR7svl5mQ/aro/X2PbpkJHNHnNAnQE9yA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
@ -22,13 +22,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "clapper";
|
||||
version = "0.6.0";
|
||||
version = "0.6.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Rafostar";
|
||||
repo = "clapper";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-5fD1OnVcY3ZC+QfoFqe2jV43/J36r85SpLUYF2ti7dY=";
|
||||
hash = "sha256-IQJTnLB6FzYYPONOqBkvi89iF0U6fx/aWYvNOOJpBvc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "docker-buildx";
|
||||
version = "0.14.1";
|
||||
version = "0.15.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "docker";
|
||||
repo = "buildx";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-IseiGF+tQWv7Z2jlCINuWH2Gzcdow2qazvYVFBGyQPU=";
|
||||
hash = "sha256-JaUCj9HY0MhHLkPTRd72NaGlBdPCPc+y2XjhVQ/3+NA=";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
@ -4,14 +4,14 @@
|
||||
, kdePackages
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "application-title-bar";
|
||||
version = "0.6.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "antroids";
|
||||
repo = "application-title-bar";
|
||||
rev = "v${version}";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-r15wZCioWrTr5mA0WARFd4j8zwWIWU4wEv899RSURa4=";
|
||||
};
|
||||
|
||||
@ -22,15 +22,15 @@ stdenv.mkDerivation rec {
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share/plasma/plasmoids/com.github.antroids.application-title-bar
|
||||
cp -r $src/package/* $out/share/plasma/plasmoids/com.github.antroids.application-title-bar
|
||||
cp -r package/* $out/share/plasma/plasmoids/com.github.antroids.application-title-bar
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "KDE Plasma6 widget with window controls";
|
||||
homepage = "https://github.com/antroids/application-title-bar";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ HeitorAugustoLN ];
|
||||
platforms = platforms.linux;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = with lib.maintainers; [ HeitorAugustoLN ];
|
||||
inherit (kdePackages.kwindowsystem.meta) platforms;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
@ -1,50 +0,0 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, stdenv
|
||||
, Cocoa
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "butler";
|
||||
version = "15.21.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "itchio";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-vciSmXR3wI3KcnC+Uz36AgI/WUfztA05MJv1InuOjJM=";
|
||||
};
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
Cocoa
|
||||
];
|
||||
|
||||
patches = [
|
||||
# update x/sys dependency for darwin build https://github.com/itchio/butler/pull/245
|
||||
(fetchpatch {
|
||||
url = "https://github.com/itchio/butler/pull/245/commits/ef651d373e3061fda9692dd44ae0f7ce215e9655.patch";
|
||||
hash = "sha256-rZZn/OGiv3mRyy89uORyJ99zWN21kZCCQAlFvSKxlPU=";
|
||||
})
|
||||
];
|
||||
|
||||
proxyVendor = true;
|
||||
|
||||
vendorHash = "sha256-GvUUCQ2BPW0HlXZljBWJ2Wyys9OEIM55dEWAa6J19Zg=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
# butler cannot be build with Go >=1.21
|
||||
# See https://github.com/itchio/butler/issues/256
|
||||
# and https://github.com/itchio/dmcunrar-go/issues/1
|
||||
# The dependency causing the issue is marked as 'no maintainence intended'.
|
||||
# Last butler release is from 05/2021.
|
||||
broken = true;
|
||||
description = "Command-line itch.io helper";
|
||||
homepage = "https://github.com/itchio/butler";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ martfont ];
|
||||
};
|
||||
}
|
@ -20,7 +20,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "ccache";
|
||||
version = "4.10";
|
||||
version = "4.10.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ccache";
|
||||
@ -39,7 +39,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
exit 1
|
||||
fi
|
||||
'';
|
||||
hash = "sha256-YHSr2pnk17QEdrIHInXX2eBFN9OGjdleaB41VLaqlnA=";
|
||||
hash = "sha256-CUQ16VthGl2vtixOv8UGI9gCsb6iEVD9XHKAYivWMrw=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
@ -177,11 +177,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
builtins.replaceStrings [ "." ] [ "_" ] finalAttrs.version
|
||||
}";
|
||||
license = licenses.gpl3Plus;
|
||||
mainProgram = "ccache";
|
||||
maintainers = with maintainers; [
|
||||
kira-bruneau
|
||||
r-burns
|
||||
];
|
||||
platforms = platforms.unix;
|
||||
mainProgram = "ccache";
|
||||
};
|
||||
})
|
||||
|
@ -8,6 +8,7 @@
|
||||
, rustPlatform
|
||||
, libxkbcommon
|
||||
, wayland
|
||||
, enableX11 ? true, xorg
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -30,7 +31,12 @@ rustPlatform.buildRustPackage rec {
|
||||
libxkbcommon
|
||||
vulkan-loader
|
||||
wayland
|
||||
];
|
||||
] ++ lib.optionals enableX11 (with xorg; [
|
||||
libX11
|
||||
libXcursor
|
||||
libXi
|
||||
libXrandr
|
||||
]);
|
||||
|
||||
postFixup = lib.optional stdenv.isLinux ''
|
||||
rpath=$(patchelf --print-rpath $out/bin/centerpiece)
|
||||
|
@ -8,7 +8,7 @@
|
||||
buildNpmPackage rec {
|
||||
pname = "clever-tools";
|
||||
|
||||
version = "3.7.0";
|
||||
version = "3.8.0";
|
||||
|
||||
nodejs = nodejs_18;
|
||||
|
||||
@ -16,10 +16,10 @@ buildNpmPackage rec {
|
||||
owner = "CleverCloud";
|
||||
repo = "clever-tools";
|
||||
rev = version;
|
||||
hash = "sha256-Ce7lk+zTbyj3HmtIFui9ZA1FThZEytovrPCrmjMyX38=";
|
||||
hash = "sha256-Y9lcnOaii58KU99VwBbgywNwQQKhlye2SmLhU6n48AM=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-VQXljlIHAE2o10cXQlsyhTvBSp3/ycQOJydQGNMiWuk=";
|
||||
npmDepsHash = "sha256-yzwrsW/X6q9JUXI6Gma7/5nk5Eu6cBOdXcHu49vi6w0=";
|
||||
|
||||
dontNpmBuild = true;
|
||||
|
||||
|
@ -1,12 +1,13 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildDartApplication
|
||||
, buf
|
||||
, protoc-gen-dart
|
||||
, testers
|
||||
, dart-sass
|
||||
, runCommand
|
||||
, writeText
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildDartApplication,
|
||||
buf,
|
||||
protoc-gen-dart,
|
||||
testers,
|
||||
dart-sass,
|
||||
runCommand,
|
||||
writeText,
|
||||
}:
|
||||
|
||||
let
|
||||
@ -21,13 +22,13 @@ let
|
||||
in
|
||||
buildDartApplication rec {
|
||||
pname = "dart-sass";
|
||||
version = "1.77.4";
|
||||
version = "1.77.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sass";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-xHOZDeK6xYnfrb6yih6jzRDZLRvyp0EeKZynEq3A4aI=";
|
||||
hash = "sha256-GiZbx60HtyFTsargh0UVhjzOwlw3VWkhUEaX0s2ehos=";
|
||||
};
|
||||
|
||||
pubspecLock = lib.importJSON ./pubspec.lock.json;
|
||||
@ -45,14 +46,6 @@ buildDartApplication rec {
|
||||
|
||||
dartCompileFlags = [ "--define=version=${version}" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/sass/dart-sass";
|
||||
description = "Reference implementation of Sass, written in Dart";
|
||||
mainProgram = "sass";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ lelgenio ];
|
||||
};
|
||||
|
||||
passthru = {
|
||||
inherit embedded-protocol-version embedded-protocol;
|
||||
updateScript = ./update.sh;
|
||||
@ -67,21 +60,31 @@ buildDartApplication rec {
|
||||
expected = writeText "expected" ''
|
||||
body h1{color:#123}
|
||||
'';
|
||||
actual = runCommand "actual"
|
||||
{
|
||||
nativeBuildInputs = [ dart-sass ];
|
||||
base = writeText "base" ''
|
||||
body {
|
||||
$color: #123;
|
||||
h1 {
|
||||
color: $color;
|
||||
actual =
|
||||
runCommand "actual"
|
||||
{
|
||||
nativeBuildInputs = [ dart-sass ];
|
||||
base = writeText "base" ''
|
||||
body {
|
||||
$color: #123;
|
||||
h1 {
|
||||
color: $color;
|
||||
}
|
||||
}
|
||||
}
|
||||
'';
|
||||
}
|
||||
''
|
||||
dart-sass --style=compressed $base > $out
|
||||
'';
|
||||
} ''
|
||||
dart-sass --style=compressed $base > $out
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/sass/dart-sass";
|
||||
description = "Reference implementation of Sass, written in Dart";
|
||||
mainProgram = "sass";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ lelgenio ];
|
||||
};
|
||||
}
|
@ -674,31 +674,31 @@
|
||||
"dependency": "direct dev",
|
||||
"description": {
|
||||
"name": "test",
|
||||
"sha256": "d11b55850c68c1f6c0cf00eabded4e66c4043feaf6c0d7ce4a36785137df6331",
|
||||
"sha256": "7ee44229615f8f642b68120165ae4c2a75fe77ae2065b1e55ae4711f6cf0899e",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.25.5"
|
||||
"version": "1.25.7"
|
||||
},
|
||||
"test_api": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "test_api",
|
||||
"sha256": "2419f20b0c8677b2d67c8ac4d1ac7372d862dc6c460cdbb052b40155408cd794",
|
||||
"sha256": "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "0.7.1"
|
||||
"version": "0.7.2"
|
||||
},
|
||||
"test_core": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "test_core",
|
||||
"sha256": "4d070a6bc36c1c4e89f20d353bfd71dc30cdf2bd0e14349090af360a029ab292",
|
||||
"sha256": "55ea5a652e38a1dfb32943a7973f3681a60f872f8c3a05a14664ad54ef9c6696",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "0.6.2"
|
||||
"version": "0.6.4"
|
||||
},
|
||||
"test_descriptor": {
|
||||
"dependency": "direct dev",
|
||||
@ -754,11 +754,11 @@
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "vm_service",
|
||||
"sha256": "360c4271613beb44db559547d02f8b0dc044741d0eeb9aa6ccdb47e8ec54c63a",
|
||||
"sha256": "f652077d0bdf60abe4c1f6377448e8655008eef28f128bc023f7b5e8dfeb48fc",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "14.2.3"
|
||||
"version": "14.2.4"
|
||||
},
|
||||
"watcher": {
|
||||
"dependency": "direct main",
|
42
pkgs/by-name/gi/git-fixup/package.nix
Normal file
42
pkgs/by-name/gi/git-fixup/package.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ lib, stdenvNoCC, fetchFromGitHub, makeWrapper, git, coreutils, gnused, gnugrep }:
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "git-fixup";
|
||||
version = "1.6.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "keis";
|
||||
repo = "git-fixup";
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "sha256-Mue2xgYxJSEu0VoDmB7rnoSuzyT038xzETUO1fwptrs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
makeFlags = [
|
||||
"DESTDIR=${placeholder "out"}"
|
||||
"PREFIX="
|
||||
];
|
||||
|
||||
installFlags = [
|
||||
"install"
|
||||
"install-fish"
|
||||
"install-zsh"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/git-fixup \
|
||||
--prefix PATH : "${lib.makeBinPath [ git coreutils gnused gnugrep ]}"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Fighting the copy-paste element of your rebase workflow";
|
||||
homepage = "https://github.com/keis/git-fixup";
|
||||
license = lib.licenses.isc;
|
||||
maintainers = with lib.maintainers; [ michaeladler ];
|
||||
platforms = lib.platforms.all;
|
||||
mainProgram = "git-fixup";
|
||||
};
|
||||
})
|
@ -1,7 +1,7 @@
|
||||
import ./generic.nix {
|
||||
hash = "sha256-+q5qP7w2RdtuwvxPThCryYYEJ7s5WDnWHRvjo4TuajA=";
|
||||
version = "6.0.0";
|
||||
vendorHash = "sha256-wcauzIbBcYpSWttZCVVE9m49AEQGolGYSsv9eEkhb7Y=";
|
||||
hash = "sha256-8GgzMiXn/78HkMuJ49cQA9BEQVAzPbG7jOxTScByR6Q=";
|
||||
version = "6.0.1";
|
||||
vendorHash = "sha256-dFg3LSG/ao73ODWcPDq5s9xUjuHabCMOB2AtngNCrlA=";
|
||||
patches = [ ];
|
||||
lts = true;
|
||||
updateScriptArgs = "--lts=true --regex '6.0.*'";
|
||||
|
@ -1,23 +1,21 @@
|
||||
{ lib
|
||||
, stdenvNoCC
|
||||
, fetchzip
|
||||
, fetchFromGitHub
|
||||
, butler
|
||||
, electron
|
||||
, steam-run
|
||||
, makeWrapper
|
||||
, copyDesktopItems
|
||||
, makeDesktopItem
|
||||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchzip,
|
||||
fetchFromGitHub,
|
||||
electron,
|
||||
steam-run,
|
||||
makeWrapper,
|
||||
copyDesktopItems,
|
||||
makeDesktopItem,
|
||||
}:
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "itch";
|
||||
version = "26.1.3";
|
||||
|
||||
# TODO: Using kitch instead of itch, revert when possible
|
||||
src = fetchzip {
|
||||
url = "https://broth.itch.ovh/kitch/linux-amd64/${version}/archive/default#.zip";
|
||||
let
|
||||
version = "26.1.9";
|
||||
butler = fetchzip {
|
||||
url = "https://broth.itch.zone/butler/linux-amd64/15.21.0/butler.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-FHwbzLPMzIpyg6KyYTq6/rSNRH76dytwb9D5f9vNKkU=";
|
||||
hash = "sha256-jHni/5qf7xST6RRonP2EW8fJ6647jobzrnHe8VMx4IA=";
|
||||
};
|
||||
|
||||
itch-setup = fetchzip {
|
||||
@ -26,16 +24,31 @@ stdenvNoCC.mkDerivation rec {
|
||||
hash = "sha256-5MP6X33Jfu97o5R1n6Og64Bv4ZMxVM0A8lXeQug+bNA=";
|
||||
};
|
||||
|
||||
icons = let sparseCheckout = "/release/images/itch-icons"; in
|
||||
sparseCheckout = "/release/images/itch-icons";
|
||||
icons =
|
||||
fetchFromGitHub {
|
||||
owner = "itchio";
|
||||
repo = "itch";
|
||||
rev = "v${version}-canary";
|
||||
hash = "sha256-0AMyDZ5oI7/pSvudoEqXnMZJtpcKVlUSR6YVm+s4xv0=";
|
||||
sparseCheckout = [ sparseCheckout ];
|
||||
} + sparseCheckout;
|
||||
owner = "itchio";
|
||||
repo = "itch";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-jugg+hdP0y0OkFhdQuEI9neWDuNf2p3+DQuwxe09Zck=";
|
||||
sparseCheckout = [ sparseCheckout ];
|
||||
}
|
||||
+ sparseCheckout;
|
||||
in
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "itch";
|
||||
inherit version;
|
||||
|
||||
nativeBuildInputs = [ copyDesktopItems makeWrapper ];
|
||||
src = fetchzip {
|
||||
url = "https://broth.itch.ovh/itch/linux-amd64/${finalAttrs.version}/archive/default#.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-4k6afBgOKGs7rzXAtIBpmuQeeT/Va8/0bZgNYjuJhgI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
copyDesktopItems
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
@ -44,7 +57,10 @@ stdenvNoCC.mkDerivation rec {
|
||||
tryExec = "itch";
|
||||
icon = "itch";
|
||||
desktopName = "itch";
|
||||
mimeTypes = [ "x-scheme-handler/itchio" "x-scheme-handler/itch" ];
|
||||
mimeTypes = [
|
||||
"x-scheme-handler/itchio"
|
||||
"x-scheme-handler/itch"
|
||||
];
|
||||
comment = "Install and play itch.io games easily";
|
||||
categories = [ "Game" ];
|
||||
})
|
||||
@ -54,19 +70,15 @@ stdenvNoCC.mkDerivation rec {
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
# TODO: Remove when the next stable Itch is stabilized
|
||||
substituteInPlace ./resources/app/package.json \
|
||||
--replace "kitch" "itch"
|
||||
|
||||
mkdir -p $out/bin $out/share/itch/resources/app
|
||||
cp -r resources/app "$out/share/itch/resources/"
|
||||
|
||||
install -Dm644 LICENSE -t "$out/share/licenses/$pkgname/"
|
||||
install -Dm644 LICENSES.chromium.html -t "$out/share/licenses/$pkgname/"
|
||||
|
||||
for icon in $icons/icon*.png
|
||||
for icon in ${icons}/icon*.png
|
||||
do
|
||||
iconsize="''${icon#$icons/icon}"
|
||||
iconsize="''${icon#${icons}/icon}"
|
||||
iconsize="''${iconsize%.png}"
|
||||
icondir="$out/share/icons/hicolor/''${iconsize}x''${iconsize}/apps/"
|
||||
install -Dm644 "$icon" "$icondir/itch.png"
|
||||
@ -80,16 +92,16 @@ stdenvNoCC.mkDerivation rec {
|
||||
--add-flags ${electron}/bin/electron \
|
||||
--add-flags $out/share/itch/resources/app \
|
||||
--set BROTH_USE_LOCAL butler,itch-setup \
|
||||
--prefix PATH : ${butler}/bin/:${itch-setup}
|
||||
--prefix PATH : ${butler}:${itch-setup}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Best way to play itch.io games";
|
||||
homepage = "https://github.com/itchio/itch";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.linux;
|
||||
sourceProvenance = [ lib.sourceTypes.binaryBytecode ];
|
||||
maintainers = with maintainers; [ pasqui23 ];
|
||||
maintainers = with lib.maintainers; [ pasqui23 ];
|
||||
mainProgram = "itch";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
@ -33,7 +33,7 @@ appimageTools.wrapType2 rec {
|
||||
homepage = "https://www.lunarclient.com/";
|
||||
license = with licenses; [ unfree ];
|
||||
mainProgram = "lunar-client";
|
||||
maintainers = with maintainers; [ zyansheep Technical27 surfaceflinger ];
|
||||
maintainers = with maintainers; [ Technical27 surfaceflinger ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
||||
|
@ -1,78 +0,0 @@
|
||||
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
|
||||
index 92d6f01c3d..d2b67d8d6f 100644
|
||||
--- a/.github/workflows/build.yml
|
||||
+++ b/.github/workflows/build.yml
|
||||
@@ -50,6 +50,7 @@ jobs:
|
||||
meson setup build \
|
||||
-Dtests=true \
|
||||
-Dpam-cgroup=true \
|
||||
+ -Dtools-multicall=true \
|
||||
-Dwerror=true \
|
||||
-Db_lto_mode=default
|
||||
ninja -C build
|
||||
diff --git a/src/lxc/cmd/meson.build b/src/lxc/cmd/meson.build
|
||||
index 3ed3670e4b..edfb986622 100644
|
||||
--- a/src/lxc/cmd/meson.build
|
||||
+++ b/src/lxc/cmd/meson.build
|
||||
@@ -46,7 +46,7 @@ cmd_lxc_init_static_sources = files(
|
||||
'../string_utils.c',
|
||||
'../string_utils.h') + include_sources
|
||||
|
||||
-cmd_lxc_monitord_sources = files('lxc_monitord.c') + include_sources + netns_ifaddrs_sources
|
||||
+cmd_lxc_monitord_sources = files('lxc_monitord.c')
|
||||
cmd_lxc_user_nic_sources = files('lxc_user_nic.c') + cmd_common_sources + netns_ifaddrs_sources
|
||||
cmd_lxc_usernsexec_sources = files('lxc_usernsexec.c') + cmd_common_sources + netns_ifaddrs_sources
|
||||
|
||||
@@ -88,8 +88,8 @@ cmd_programs += executable(
|
||||
'lxc-monitord',
|
||||
cmd_lxc_monitord_sources,
|
||||
include_directories: liblxc_includes,
|
||||
- dependencies: liblxc_dep,
|
||||
- link_with: [liblxc_static],
|
||||
+ dependencies: liblxc_dependencies,
|
||||
+ link_whole: [liblxc_static],
|
||||
install: true,
|
||||
install_dir: lxclibexec)
|
||||
|
||||
diff --git a/src/lxc/tools/meson.build b/src/lxc/tools/meson.build
|
||||
index 00a863d936..6d317fc80b 100644
|
||||
--- a/src/lxc/tools/meson.build
|
||||
+++ b/src/lxc/tools/meson.build
|
||||
@@ -1,6 +1,7 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
|
||||
-tools_common_sources = files('arguments.c', 'arguments.h') + include_sources + netns_ifaddrs_sources
|
||||
+tools_common_sources = files('arguments.c', 'arguments.h') + include_sources
|
||||
+tools_common_sources_for_dynamic_link = tools_common_sources + netns_ifaddrs_sources
|
||||
|
||||
tools_commands_dynamic_link = ['attach', 'autostart', 'cgroup', 'checkpoint', 'config',
|
||||
'console', 'copy', 'create', 'destroy', 'device', 'execute', 'freeze',
|
||||
@@ -15,7 +16,7 @@ if want_tools
|
||||
foreach cmd : tools_commands_dynamic_link
|
||||
public_programs += executable(
|
||||
'lxc-' + cmd,
|
||||
- files('lxc_' + cmd + '.c') + tools_common_sources + liblxc_ext_sources,
|
||||
+ files('lxc_' + cmd + '.c') + tools_common_sources_for_dynamic_link + liblxc_ext_sources,
|
||||
dependencies: liblxc_dependencies,
|
||||
include_directories: liblxc_includes,
|
||||
c_args: ['-DNO_LXC_CONF'],
|
||||
@@ -26,16 +27,16 @@ if want_tools
|
||||
foreach cmd : tools_commands_static_link
|
||||
public_programs += executable(
|
||||
'lxc-' + cmd,
|
||||
- files('lxc_' + cmd + '.c') + tools_common_sources,
|
||||
+ files('lxc_' + cmd + '.c') + files('arguments.c', 'arguments.h'),
|
||||
dependencies: liblxc_dependencies,
|
||||
include_directories: liblxc_includes,
|
||||
- link_with: [liblxc_static],
|
||||
+ link_whole: [liblxc_static],
|
||||
install: true)
|
||||
endforeach
|
||||
endif
|
||||
|
||||
if want_tools_multicall
|
||||
- tools_all_sources = files('lxc_multicall.c') + tools_common_sources
|
||||
+ tools_all_sources = files('lxc_multicall.c') + tools_common_sources_for_dynamic_link
|
||||
foreach cmd : tools_commands
|
||||
tools_all_sources += files('lxc_' + cmd + '.c')
|
||||
endforeach
|
@ -19,13 +19,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "lxc";
|
||||
version = "6.0.0";
|
||||
version = "6.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lxc";
|
||||
repo = "lxc";
|
||||
rev = "refs/tags/v${finalAttrs.version}";
|
||||
hash = "sha256-D994gekFgW/1Q4iVFM/3Zi0JXKn9Ghfd3UcjckVfoFY=";
|
||||
hash = "sha256-fJMNdMXlV1z9q1pMDh046tNmLDuK6zh6uPahTWzWMvc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -48,17 +48,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
patches = [
|
||||
# fix docbook2man version detection
|
||||
./docbook-hack.patch
|
||||
|
||||
# fix linking
|
||||
./4428.diff
|
||||
];
|
||||
|
||||
mesonFlags = [
|
||||
"-Dinstall-init-files=false"
|
||||
"-Dinstall-state-dirs=false"
|
||||
"-Dspecfile=false"
|
||||
# re-enable when fixed https://github.com/lxc/lxc/issues/4427
|
||||
# "-Dtools-multicall=true"
|
||||
"-Dtools-multicall=true"
|
||||
"-Dtools=false"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
@ -8,13 +8,13 @@
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "metacubexd";
|
||||
version = "1.140.0";
|
||||
version = "1.141.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MetaCubeX";
|
||||
repo = "metacubexd";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-OVLG+MHgwWTorPuBTHsHUAY1FSN91j7xWgRDJ7FiO7E=";
|
||||
hash = "sha256-x3LYTEZefOCd1LcAnrPsCMc/ydt3WBcAHBEmLv2bCh4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -24,7 +24,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
pnpmDeps = pnpm.fetchDeps {
|
||||
inherit (finalAttrs) pname version src;
|
||||
hash = "sha256-24PkWT5UZJwMtL3y8qdf3XFuf3v5PjiP9XESbw3oppY=";
|
||||
hash = "sha256-+9cDCk4Dskea7l2xq7uEm+unmh48pnqMt2u6weWEVNY=";
|
||||
};
|
||||
|
||||
buildPhase = ''
|
||||
|
52
pkgs/by-name/me/metadata/package.nix
Normal file
52
pkgs/by-name/me/metadata/package.nix
Normal file
@ -0,0 +1,52 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, ffmpeg_7
|
||||
, rustPlatform
|
||||
, glib
|
||||
, installShellFiles
|
||||
, asciidoc
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "metadata";
|
||||
version = "0.1.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zmwangx";
|
||||
repo = "metadata";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-OFWdCV9Msy/mNaSubqoJi4tBiFqL7RuWWQluSnKe4fU=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-F5jXS/W600nbQtu1FD4+DawrFsO+5lJjvAvTiFKT840=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
asciidoc
|
||||
installShellFiles
|
||||
rustPlatform.bindgenHook
|
||||
];
|
||||
|
||||
postBuild = ''
|
||||
a2x --doctype manpage --format manpage man/metadata.1.adoc
|
||||
'';
|
||||
postInstall = ''
|
||||
installManPage man/metadata.1
|
||||
'';
|
||||
|
||||
buildInputs = [
|
||||
ffmpeg_7
|
||||
glib
|
||||
];
|
||||
|
||||
env.FFMPEG_DIR = ffmpeg_7.dev;
|
||||
|
||||
meta = {
|
||||
description = "Media metadata parser and formatter designed for human consumption, powered by FFmpeg";
|
||||
maintainers = with lib.maintainers; [ clevor ];
|
||||
license = lib.licenses.mit;
|
||||
homepage = "https://github.com/zmwangx/metadata";
|
||||
mainProgram = "metadata";
|
||||
};
|
||||
}
|
32
pkgs/by-name/pc/pcsx2/darwin.nix
Normal file
32
pkgs/by-name/pc/pcsx2/darwin.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
stdenvNoCC,
|
||||
fetchurl,
|
||||
pname,
|
||||
version,
|
||||
meta,
|
||||
makeWrapper
|
||||
}:
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
inherit pname version meta;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/PCSX2/pcsx2/releases/download/v${version}/pcsx2-v${version}-macos-Qt.tar.xz";
|
||||
hash = "sha256-QdYV63lrAwYSDhUOy4nB8qL5LfZkrg/EYHtY2smtZuk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
dontPatch = true;
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
|
||||
sourceRoot = ".";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/{bin,Applications}
|
||||
cp -r "PCSX2-v${finalAttrs.version}.app" $out/Applications/PCSX2.app
|
||||
makeWrapper $out/Applications/PCSX2.app/Contents/MacOS/PCSX2 $out/bin/pcsx2-qt
|
||||
runHook postInstall
|
||||
'';
|
||||
})
|
136
pkgs/by-name/pc/pcsx2/linux.nix
Normal file
136
pkgs/by-name/pc/pcsx2/linux.nix
Normal file
@ -0,0 +1,136 @@
|
||||
{
|
||||
cmake,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
llvmPackages_17,
|
||||
callPackage,
|
||||
cubeb,
|
||||
curl,
|
||||
extra-cmake-modules,
|
||||
fetchpatch,
|
||||
ffmpeg,
|
||||
libaio,
|
||||
libbacktrace,
|
||||
libpcap,
|
||||
libwebp,
|
||||
libXrandr,
|
||||
lz4,
|
||||
makeWrapper,
|
||||
pkg-config,
|
||||
qt6,
|
||||
SDL2,
|
||||
soundtouch,
|
||||
strip-nondeterminism,
|
||||
vulkan-headers,
|
||||
vulkan-loader,
|
||||
wayland,
|
||||
zip,
|
||||
zstd,
|
||||
|
||||
pname,
|
||||
version,
|
||||
meta,
|
||||
}:
|
||||
|
||||
let
|
||||
shaderc-patched = callPackage ./shaderc-patched.nix { };
|
||||
# The pre-zipped files in releases don't have a versioned link, we need to zip them ourselves
|
||||
pcsx2_patches = fetchFromGitHub {
|
||||
owner = "PCSX2";
|
||||
repo = "pcsx2_patches";
|
||||
rev = "b3a788e16ea12efac006cbbe1ece45b6b9b34326";
|
||||
sha256 = "sha256-Uvpz2Gpj533Sr6wLruubZxssoXefQDey8GHIDKWhW3s=";
|
||||
};
|
||||
inherit (qt6)
|
||||
qtbase
|
||||
qtsvg
|
||||
qttools
|
||||
qtwayland
|
||||
wrapQtAppsHook
|
||||
;
|
||||
in
|
||||
llvmPackages_17.stdenv.mkDerivation (finalAttrs: {
|
||||
inherit pname version meta;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PCSX2";
|
||||
repo = "pcsx2";
|
||||
fetchSubmodules = true;
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "sha256-WiwnP5yoBy8bRLUPuCZ7z4nhIzrY8P29KS5ZjErM/A4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./define-rev.patch
|
||||
# Backport patches to fix random crashes on startup
|
||||
(fetchpatch {
|
||||
url = "https://github.com/PCSX2/pcsx2/commit/e47bcf8d80df9a93201eefbaf169ec1a0673a833.patch";
|
||||
sha256 = "sha256-7CL1Kpu+/JgtKIenn9rQKAs3A+oJ40W5XHlqSg77Q7Y=";
|
||||
})
|
||||
(fetchpatch {
|
||||
url = "https://github.com/PCSX2/pcsx2/commit/92b707db994f821bccc35d6eef67727ea3ab496b.patch";
|
||||
sha256 = "sha256-HWJ8KZAY/qBBotAJerZg6zi5QUHuTD51zKH1rAtZ3tc=";
|
||||
})
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "DISABLE_ADVANCE_SIMD" true)
|
||||
(lib.cmakeBool "USE_LINKED_FFMPEG" true)
|
||||
(lib.cmakeFeature "PCSX2_GIT_REV" finalAttrs.src.rev)
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
pkg-config
|
||||
strip-nondeterminism
|
||||
wrapQtAppsHook
|
||||
zip
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
curl
|
||||
ffmpeg
|
||||
libaio
|
||||
libbacktrace
|
||||
libpcap
|
||||
libwebp
|
||||
libXrandr
|
||||
lz4
|
||||
qtbase
|
||||
qtsvg
|
||||
qttools
|
||||
qtwayland
|
||||
SDL2
|
||||
shaderc-patched
|
||||
soundtouch
|
||||
vulkan-headers
|
||||
wayland
|
||||
zstd
|
||||
] ++ cubeb.passthru.backendLibs;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp -a bin/pcsx2-qt bin/resources $out/bin/
|
||||
|
||||
install -Dm644 $src/pcsx2-qt/resources/icons/AppIcon64.png $out/share/pixmaps/PCSX2.png
|
||||
install -Dm644 $src/.github/workflows/scripts/linux/pcsx2-qt.desktop $out/share/applications/PCSX2.desktop
|
||||
|
||||
zip -jq $out/bin/resources/patches.zip ${pcsx2_patches}/patches/*
|
||||
strip-nondeterminism $out/bin/resources/patches.zip
|
||||
'';
|
||||
|
||||
qtWrapperArgs =
|
||||
let
|
||||
libs = lib.makeLibraryPath ([ vulkan-loader ] ++ cubeb.passthru.backendLibs);
|
||||
in
|
||||
[ "--prefix LD_LIBRARY_PATH : ${libs}" ];
|
||||
|
||||
# https://github.com/PCSX2/pcsx2/pull/10200
|
||||
# Can't avoid the double wrapping, the binary wrapper from qtWrapperArgs doesn't support --run
|
||||
postFixup = ''
|
||||
source "${makeWrapper}/nix-support/setup-hook"
|
||||
wrapProgram $out/bin/pcsx2-qt \
|
||||
--run 'if [[ -z $I_WANT_A_BROKEN_WAYLAND_UI ]]; then export QT_QPA_PLATFORM=xcb; fi'
|
||||
'';
|
||||
})
|
@ -1,139 +1,11 @@
|
||||
{ cmake
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, llvmPackages_17
|
||||
, callPackage
|
||||
, cubeb
|
||||
, curl
|
||||
, extra-cmake-modules
|
||||
, fetchpatch
|
||||
, ffmpeg
|
||||
, libaio
|
||||
, libbacktrace
|
||||
, libpcap
|
||||
, libwebp
|
||||
, libXrandr
|
||||
, lz4
|
||||
, makeWrapper
|
||||
, pkg-config
|
||||
, qt6
|
||||
, SDL2
|
||||
, soundtouch
|
||||
, strip-nondeterminism
|
||||
, vulkan-headers
|
||||
, vulkan-loader
|
||||
, wayland
|
||||
, zip
|
||||
, zstd
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
callPackage,
|
||||
}:
|
||||
|
||||
let
|
||||
shaderc-patched = callPackage ./shaderc-patched.nix { };
|
||||
# The pre-zipped files in releases don't have a versioned link, we need to zip them ourselves
|
||||
pcsx2_patches = fetchFromGitHub {
|
||||
owner = "PCSX2";
|
||||
repo = "pcsx2_patches";
|
||||
rev = "b3a788e16ea12efac006cbbe1ece45b6b9b34326";
|
||||
sha256 = "sha256-Uvpz2Gpj533Sr6wLruubZxssoXefQDey8GHIDKWhW3s=";
|
||||
};
|
||||
inherit (qt6)
|
||||
qtbase
|
||||
qtsvg
|
||||
qttools
|
||||
qtwayland
|
||||
wrapQtAppsHook
|
||||
;
|
||||
in
|
||||
llvmPackages_17.stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "pcsx2";
|
||||
version = "1.7.5779";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PCSX2";
|
||||
repo = "pcsx2";
|
||||
fetchSubmodules = true;
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "sha256-WiwnP5yoBy8bRLUPuCZ7z4nhIzrY8P29KS5ZjErM/A4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./define-rev.patch
|
||||
# Backport patches to fix random crashes on startup
|
||||
(fetchpatch {
|
||||
url = "https://github.com/PCSX2/pcsx2/commit/e47bcf8d80df9a93201eefbaf169ec1a0673a833.patch";
|
||||
sha256 = "sha256-7CL1Kpu+/JgtKIenn9rQKAs3A+oJ40W5XHlqSg77Q7Y=";
|
||||
})
|
||||
(fetchpatch {
|
||||
url = "https://github.com/PCSX2/pcsx2/commit/92b707db994f821bccc35d6eef67727ea3ab496b.patch";
|
||||
sha256 = "sha256-HWJ8KZAY/qBBotAJerZg6zi5QUHuTD51zKH1rAtZ3tc=";
|
||||
})
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "DISABLE_ADVANCE_SIMD" true)
|
||||
(lib.cmakeBool "USE_LINKED_FFMPEG" true)
|
||||
(lib.cmakeFeature "PCSX2_GIT_REV" finalAttrs.src.rev)
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
pkg-config
|
||||
strip-nondeterminism
|
||||
wrapQtAppsHook
|
||||
zip
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
curl
|
||||
ffmpeg
|
||||
libaio
|
||||
libbacktrace
|
||||
libpcap
|
||||
libwebp
|
||||
libXrandr
|
||||
lz4
|
||||
qtbase
|
||||
qtsvg
|
||||
qttools
|
||||
qtwayland
|
||||
SDL2
|
||||
shaderc-patched
|
||||
soundtouch
|
||||
vulkan-headers
|
||||
wayland
|
||||
zstd
|
||||
]
|
||||
++ cubeb.passthru.backendLibs;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp -a bin/pcsx2-qt bin/resources $out/bin/
|
||||
|
||||
install -Dm644 $src/pcsx2-qt/resources/icons/AppIcon64.png $out/share/pixmaps/PCSX2.png
|
||||
install -Dm644 $src/.github/workflows/scripts/linux/pcsx2-qt.desktop $out/share/applications/PCSX2.desktop
|
||||
|
||||
zip -jq $out/bin/resources/patches.zip ${pcsx2_patches}/patches/*
|
||||
strip-nondeterminism $out/bin/resources/patches.zip
|
||||
'';
|
||||
|
||||
qtWrapperArgs =
|
||||
let
|
||||
libs = lib.makeLibraryPath ([
|
||||
vulkan-loader
|
||||
] ++ cubeb.passthru.backendLibs);
|
||||
in [
|
||||
"--prefix LD_LIBRARY_PATH : ${libs}"
|
||||
];
|
||||
|
||||
# https://github.com/PCSX2/pcsx2/pull/10200
|
||||
# Can't avoid the double wrapping, the binary wrapper from qtWrapperArgs doesn't support --run
|
||||
postFixup = ''
|
||||
source "${makeWrapper}/nix-support/setup-hook"
|
||||
wrapProgram $out/bin/pcsx2-qt \
|
||||
--run 'if [[ -z $I_WANT_A_BROKEN_WAYLAND_UI ]]; then export QT_QPA_PLATFORM=xcb; fi'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Playstation 2 emulator";
|
||||
longDescription = ''
|
||||
@ -143,10 +15,25 @@ llvmPackages_17.stdenv.mkDerivation (finalAttrs: {
|
||||
states and PS2 system memory. This allows you to play PS2 games on your
|
||||
PC, with many additional features and benefits.
|
||||
'';
|
||||
hydraPlatforms = platforms.linux;
|
||||
homepage = "https://pcsx2.net";
|
||||
license = with licenses; [ gpl3Plus lgpl3Plus ];
|
||||
maintainers = with maintainers; [ hrdinka govanify ];
|
||||
license = with licenses; [
|
||||
gpl3Plus
|
||||
lgpl3Plus
|
||||
];
|
||||
maintainers = with maintainers; [
|
||||
hrdinka
|
||||
govanify
|
||||
matteopacini
|
||||
];
|
||||
mainProgram = "pcsx2-qt";
|
||||
platforms = [ "x86_64-linux" ];
|
||||
platforms = [ "x86_64-linux" "x86_64-darwin" ];
|
||||
sourceProvenance =
|
||||
lib.optional stdenv.isDarwin sourceTypes.binaryNativeCode
|
||||
++ lib.optional stdenv.isLinux sourceTypes.fromSource;
|
||||
};
|
||||
})
|
||||
in
|
||||
if stdenv.isDarwin then
|
||||
callPackage ./darwin.nix { inherit pname version meta; }
|
||||
else
|
||||
callPackage ./linux.nix { inherit pname version meta; }
|
||||
|
@ -1,90 +1,62 @@
|
||||
let
|
||||
artifacts = [ "shell" "lua" "font" ];
|
||||
in
|
||||
{ lib
|
||||
, stdenvNoCC
|
||||
, fetchurl
|
||||
, common-updater-scripts
|
||||
, curl
|
||||
, jq
|
||||
, writeShellScript
|
||||
, artifactList ? artifacts
|
||||
{
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
pnpm,
|
||||
stdenvNoCC,
|
||||
nodejs,
|
||||
nix-update-script,
|
||||
}:
|
||||
lib.checkListOfEnum "sketchybar-app-font: artifacts" artifacts artifactList
|
||||
stdenvNoCC.mkDerivation
|
||||
(finalAttrs:
|
||||
let
|
||||
selectedSources = map (artifact: builtins.getAttr artifact finalAttrs.passthru.sources) artifactList;
|
||||
in
|
||||
{
|
||||
pname = "sketchybar-app-font";
|
||||
version = "2.0.19";
|
||||
|
||||
srcs = selectedSources;
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "sketchybar-app-font";
|
||||
version = "2.0.19";
|
||||
|
||||
unpackPhase = ''
|
||||
runHook preUnpack
|
||||
src = fetchFromGitHub {
|
||||
owner = "kvndrsslr";
|
||||
repo = "sketchybar-app-font";
|
||||
rev = "v2.0.19";
|
||||
hash = "sha256-4D3ONeGSvFYdeD3alzXlDxyLh6EyIC+lr4A6t7YWBaw=";
|
||||
};
|
||||
|
||||
for s in $selectedSources; do
|
||||
b=$(basename $s)
|
||||
cp $s ''${b#*-}
|
||||
done
|
||||
pnpmDeps = pnpm.fetchDeps {
|
||||
inherit (finalAttrs) pname version src;
|
||||
hash = "sha256-u0Rr086p6gotS+p9365+P8uKEqxDNGnWCsZDCaj8eEE=";
|
||||
};
|
||||
|
||||
runHook postUnpack
|
||||
nativeBuildInputs = [
|
||||
nodejs
|
||||
pnpm.configHook
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
pnpm i
|
||||
pnpm run build
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 dist/sketchybar-app-font.ttf "$out/share/fonts/truetype/sketchybar-app-font.ttf"
|
||||
install -Dm755 dist/icon_map.sh "$out/bin/icon_map.sh"
|
||||
install -Dm644 dist/icon_map.lua "$out/lib/sketchybar-app-font/icon_map.lua"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Ligature-based symbol font and a mapping function for sketchybar";
|
||||
longDescription = ''
|
||||
A ligature-based symbol font and a mapping function for sketchybar, inspired by simple-bar's usage of community-contributed minimalistic app icons.
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
'' + lib.optionalString (lib.elem "font" artifactList) ''
|
||||
install -Dm644 ${finalAttrs.passthru.sources.font} "$out/share/fonts/truetype/sketchybar-app-font.ttf"
|
||||
|
||||
'' + lib.optionalString (lib.elem "shell" artifactList) ''
|
||||
install -Dm755 ${finalAttrs.passthru.sources.shell} "$out/bin/icon_map.sh"
|
||||
|
||||
'' + lib.optionalString (lib.elem "lua" artifactList) ''
|
||||
install -Dm644 ${finalAttrs.passthru.sources.lua} "$out/lib/sketchybar-app-font/icon_map.lua"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
sources = {
|
||||
font = fetchurl {
|
||||
url = "https://github.com/kvndrsslr/sketchybar-app-font/releases/download/v${finalAttrs.version}/sketchybar-app-font.ttf";
|
||||
hash = "sha256-AH4Zkaccms1gNt7ZHZRHYPOx/iLpbcA4MiyBStHRDfU=";
|
||||
};
|
||||
lua = fetchurl {
|
||||
url = "https://github.com/kvndrsslr/sketchybar-app-font/releases/download/v${finalAttrs.version}/icon_map.lua";
|
||||
hash = "sha256-AGcHBgOZY2EBR0WEfaQhEsTRdo8QfEawx6Q2rdBuKIg=";
|
||||
};
|
||||
shell = fetchurl {
|
||||
url = "https://github.com/kvndrsslr/sketchybar-app-font/releases/download/v${finalAttrs.version}/icon_map.sh";
|
||||
hash = "sha256-fdKnweYF92zCLVBVXTjLWK9vdzMD8FvOHjEo2vqPbhQ=";
|
||||
};
|
||||
};
|
||||
|
||||
updateScript = writeShellScript "update-sketchybar-app-font" ''
|
||||
set -o errexit
|
||||
export PATH="${lib.makeBinPath [ curl jq common-updater-scripts ]}"
|
||||
NEW_VERSION=$(curl --silent https://api.github.com/repos/kvndrsslr/sketchybar-app-font/releases/latest | jq '.tag_name | ltrimstr("v")' --raw-output)
|
||||
if [[ "${finalAttrs.version}" = "$NEW_VERSION" ]]; then
|
||||
echo "The new version same as the old version."
|
||||
exit 0
|
||||
fi
|
||||
for artifact in ${lib.escapeShellArgs (lib.mapAttrsToList(a: _: a) finalAttrs.passthru.sources)}; do
|
||||
update-source-version "sketchybar-app-font" "$NEW_VERSION" --ignore-same-version --source-key="sources.$artifact"
|
||||
done
|
||||
'';
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Ligature-based symbol font and a mapping function for sketchybar";
|
||||
longDescription = ''
|
||||
A ligature-based symbol font and a mapping function for sketchybar, inspired by simple-bar's usage of community-contributed minimalistic app icons.
|
||||
'';
|
||||
homepage = "https://github.com/kvndrsslr/sketchybar-app-font";
|
||||
license = lib.licenses.cc0;
|
||||
maintainers = with lib.maintainers; [ khaneliman ];
|
||||
};
|
||||
})
|
||||
homepage = "https://github.com/kvndrsslr/sketchybar-app-font";
|
||||
license = lib.licenses.cc0;
|
||||
maintainers = with lib.maintainers; [ khaneliman ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
})
|
||||
|
42
pkgs/by-name/st/steam-play-none/package.nix
Normal file
42
pkgs/by-name/st/steam-play-none/package.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ fetchFromGitHub
|
||||
, stdenvNoCC
|
||||
, lib
|
||||
, bash
|
||||
}:
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "steam-play-none";
|
||||
version = "0-unstable-2022-12-15";
|
||||
src = fetchFromGitHub {
|
||||
repo = finalAttrs.pname;
|
||||
owner = "Scrumplex";
|
||||
rev = "42e38706eb37fdaaedbe9951d59ef44148fcacbf";
|
||||
hash = "sha256-sSHLrB5TlGMKpztTnbh5oIOhcrRd+ke2OUUbiQUqoh0=";
|
||||
};
|
||||
buildInputs = [ bash ];
|
||||
strictDeps = true;
|
||||
outputs = [ "out" "steamcompattool" ];
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
# Make it impossible to add to an environment. You should use the appropriate NixOS option.
|
||||
# Also leave some breadcrumbs in the file.
|
||||
echo "${finalAttrs.pname} should not be installed into environments. Please use programs.steam.extraCompatPackages instead." > $out
|
||||
|
||||
install -Dt $steamcompattool compatibilitytool.vdf toolmanifest.vdf
|
||||
install -Dt $steamcompattool -m755 launch.sh
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = ''
|
||||
Steam Play Compatibility Tool to run games as-is
|
||||
|
||||
(This is intended for use in the `programs.steam.extraCompatPackages` option only.)
|
||||
'';
|
||||
homepage = "https://github.com/Scrumplex/Steam-Play-None";
|
||||
license = lib.licenses.cc0;
|
||||
maintainers = with lib.maintainers; [ matthewcroughan Scrumplex ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
})
|
@ -12,13 +12,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "syshud";
|
||||
version = "0-unstable-2024-06-20";
|
||||
version = "0-unstable-2024-07-01";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "System64fumo";
|
||||
repo = "syshud";
|
||||
rev = "2b97f3441970efe67c788a8313eb58182aa7965b";
|
||||
hash = "sha256-XPAKjBLaTGEyDgiZT8tYinYzMivOocOEeauzR4leOjI=";
|
||||
rev = "cfe4a3a898c7f7b2e7065095c7fdcc33d99ed4bf";
|
||||
hash = "sha256-UrAKFehcqsuFHJJC0Ske+tOr6Wquqm/BM536hKoGEWw=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -92,7 +92,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
homepage = "https://thelettervsixtim.es";
|
||||
license = licenses.unfree;
|
||||
maintainers = with maintainers; [ martfont ];
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "closure-compiler";
|
||||
version = "20231112";
|
||||
version = "20240317";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://maven/com/google/javascript/closure-compiler/v${version}/closure-compiler-v${version}.jar";
|
||||
sha256 = "sha256-oH1/QZX8cF9sZikP5XpNdfsMepJrgW+uX0OGHhJVbmw=";
|
||||
sha256 = "sha256-axJQrCHAW90gncUV2bYDezC1VVooTddB/wWRqChIt84=";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
"22": {
|
||||
"version": "22-ga",
|
||||
"version": "22.0.1-ga",
|
||||
"repo": "jdk22u",
|
||||
"hash": "sha256-itjvIedPwJl/l3a2gIVpNMs1zkbrjioVqbCj1Z1nCJE="
|
||||
"hash": "sha256-wCHgharBnvRSB3dWW8C3e80AZtxyFgP0SS5X1d4LzMc="
|
||||
},
|
||||
"21": {
|
||||
"version": "21.0.3-ga",
|
||||
|
@ -8,13 +8,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "moarvm";
|
||||
version = "2024.01";
|
||||
version = "2024.05";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "moarvm";
|
||||
repo = "moarvm";
|
||||
rev = version;
|
||||
hash = "sha256-vU1fhR6pKz2qnznrJ/mknt9DVx+I1kLaPStXKQvp59g=";
|
||||
hash = "sha256-6bVglWmnohGR0Hrib8X5ZEfy+clxP89NSEMgbljpuQs=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "openxr-loader";
|
||||
version = "1.1.37";
|
||||
version = "1.1.38";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "KhronosGroup";
|
||||
repo = "OpenXR-SDK-Source";
|
||||
rev = "release-${version}";
|
||||
sha256 = "sha256-J9IfhTFFSY+rK0DqFdXtINo7nlGUcy2Lljq81T417qc=";
|
||||
sha256 = "sha256-nM/c6fvjprQ5GQO4F13cOigi4xATgRTq+ebEwyv58gg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake python3 pkg-config ];
|
||||
|
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||
description = "Library to parse and emit YAML, and do it fast";
|
||||
homepage = "https://github.com/biojppm/rapidyaml";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ martfont ];
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
@ -12,13 +12,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sundials";
|
||||
version = "6.7.0";
|
||||
version = "7.1.1";
|
||||
|
||||
outputs = [ "out" "examples" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/LLNL/sundials/releases/download/v${version}/sundials-${version}.tar.gz";
|
||||
hash = "sha256-XxE6FWSp0tmP+VJJ9IcaTIFaBdu5uIZqgrE6sVjDets=";
|
||||
hash = "sha256-6n1u37UkSN39wexI+JpyH+bAolnBD471b2D83th6lLs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
73
pkgs/development/python-modules/deltalake/default.nix
Normal file
73
pkgs/development/python-modules/deltalake/default.nix
Normal file
@ -0,0 +1,73 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, rustPlatform
|
||||
, pyarrow
|
||||
, pyarrow-hotfix
|
||||
, openssl
|
||||
, pkg-config
|
||||
, pytestCheckHook
|
||||
, pytest-benchmark
|
||||
, pytest-cov
|
||||
, pandas
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "deltalake";
|
||||
version = "0.18.1";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-qkmCKk1VnROK7luuPlKbIx3S3C8fzGJy8yhTyZWXyGc=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit src;
|
||||
hash = "sha256-Dj2vm0l4b/E6tbXgs5iPvbDAsxNW0iPUSRPzT5KaA3Y=";
|
||||
};
|
||||
|
||||
env.OPENSSL_NO_VENDOR = 1;
|
||||
|
||||
dependencies = [
|
||||
pyarrow
|
||||
pyarrow-hotfix
|
||||
];
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config # openssl-sys needs this
|
||||
] ++ (with rustPlatform; [
|
||||
cargoSetupHook
|
||||
maturinBuildHook
|
||||
]);
|
||||
|
||||
pythonImportsCheck = [ "deltalake" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pandas
|
||||
pytest-benchmark
|
||||
pytest-cov
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
# For paths in test to work, we have to be in python dir
|
||||
cp pyproject.toml python/
|
||||
cd python
|
||||
|
||||
# In tests we want to use deltalake that we have built
|
||||
rm -rf deltalake
|
||||
'';
|
||||
|
||||
pytestFlagsArray = [ "-m 'not integration'" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Native Rust library for Delta Lake, with bindings into Python";
|
||||
homepage = "https://github.com/delta-io/delta-rs";
|
||||
changelog = "https://github.com/delta-io/delta-rs/blob/python-v${version}/CHANGELOG.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ kfollesdal mslingsby harvidsen andershus ];
|
||||
};
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
--- a/lib/matplotlib/font_manager.py
|
||||
+++ b/lib/matplotlib/font_manager.py
|
||||
@@ -266,8 +266,11 @@ def _get_fontconfig_fonts():
|
||||
@lru_cache
|
||||
def _get_macos_fonts():
|
||||
"""Cache and list the font paths known to ``system_profiler SPFontsDataType``."""
|
||||
- d, = plistlib.loads(
|
||||
- subprocess.check_output(["system_profiler", "-xml", "SPFontsDataType"]))
|
||||
+ try:
|
||||
+ d, = plistlib.loads(
|
||||
+ subprocess.check_output(["system_profiler", "-xml", "SPFontsDataType"]))
|
||||
+ except (OSError, subprocess.CalledProcessError, plistlib.InvalidFileException):
|
||||
+ return []
|
||||
return [Path(entry["path"]) for entry in d["_items"]]
|
@ -100,6 +100,12 @@ buildPythonPackage rec {
|
||||
hash = "sha256-5tKepsGeNLMPt9iLcIH4aaAwFPZv4G1izHfVpuqI7Xo=";
|
||||
};
|
||||
|
||||
patches = lib.optionals stdenv.isDarwin [
|
||||
# Don't crash when running in Darwin sandbox
|
||||
# Submitted upstream: https://github.com/matplotlib/matplotlib/pull/28498
|
||||
./darwin-sandbox-crash.patch
|
||||
];
|
||||
|
||||
env.XDG_RUNTIME_DIR = "/tmp";
|
||||
|
||||
# Matplotlib tries to find Tcl/Tk by opening a Tk window and asking the
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "testcontainers";
|
||||
version = "4.7.0";
|
||||
version = "4.7.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
owner = "testcontainers";
|
||||
repo = "testcontainers-python";
|
||||
rev = "refs/tags/testcontainers-v${version}";
|
||||
hash = "sha256-DX2s3Z3QM8qzUr5nM+9erJG/XHkB96h8S4+KYDfcA8A=";
|
||||
hash = "sha256-li9okYMPW6PM03cFQRfHKzr48eOguNXmmHnSCBgDqYo=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "uproot";
|
||||
version = "5.3.7";
|
||||
version = "5.3.9";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -29,7 +29,7 @@ buildPythonPackage rec {
|
||||
owner = "scikit-hep";
|
||||
repo = "uproot5";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-ptfT31eUNSpVaZfXAyRcIc2T2p82rXmzUyySSVbI9lI=";
|
||||
hash = "sha256-iwT7P1KNQVrLzgKgoVO4G5wwg3f86D6/0I0FP8xD0rk=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
@ -101,11 +101,11 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "uproot" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "ROOT I/O in pure Python and Numpy";
|
||||
homepage = "https://github.com/scikit-hep/uproot5";
|
||||
changelog = "https://github.com/scikit-hep/uproot5/releases/tag/v${version}";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ veprbl ];
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ veprbl ];
|
||||
};
|
||||
}
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "editorconfig-checker";
|
||||
version = "3.0.1";
|
||||
version = "3.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "editorconfig-checker";
|
||||
repo = "editorconfig-checker";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-jqaYJmezekSKdwg8gNdU/DH6S83dPc5WmTU3nfvKjwo=";
|
||||
hash = "sha256-HgWfR0kOtP2cSSRGMPuy1qGqcS/4QAWPeBU+lwHnYqI=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-mPYxBqM4VoSmhtobKAn6p3BXIFGrUzs8gA9x97SmbTw=";
|
||||
vendorHash = "sha256-P5lOx9CH37Z7mkDshbwS+XJZQdQiqNKl71wR1iUvpm8=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
@ -4,6 +4,7 @@
|
||||
, jdk8
|
||||
, jre
|
||||
, ant
|
||||
, stripJavaArchivesHook
|
||||
, makeWrapper
|
||||
, makeDesktopItem
|
||||
, copyDesktopItems
|
||||
@ -41,6 +42,7 @@ in stdenv.mkDerivation {
|
||||
nativeBuildInputs = [
|
||||
jdk8
|
||||
ant
|
||||
stripJavaArchivesHook
|
||||
makeWrapper
|
||||
copyDesktopItems
|
||||
];
|
||||
@ -71,7 +73,6 @@ in stdenv.mkDerivation {
|
||||
cp -r build/game/* $out/share/domination/
|
||||
|
||||
# Reimplement the two launchers mentioned in Unix_shortcutSpec.xml with makeWrapper
|
||||
mkdir -p $out/bin
|
||||
makeWrapper ${jre}/bin/java $out/bin/domination \
|
||||
--chdir "$out/share/domination" \
|
||||
--add-flags "-jar $out/share/domination/Domination.jar"
|
||||
@ -83,6 +84,11 @@ in stdenv.mkDerivation {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
# remove extra metadata files for jar files which break stripJavaArchivesHook
|
||||
find $out/share/domination/lib -type f -name '._*.jar' -delete
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
domination-starts = nixosTests.domination;
|
||||
};
|
||||
@ -101,7 +107,8 @@ in stdenv.mkDerivation {
|
||||
fromSource
|
||||
binaryBytecode # source bundles dependencies as jars
|
||||
];
|
||||
license = licenses.gpl3;
|
||||
license = licenses.gpl3Plus;
|
||||
mainProgram = "domination";
|
||||
maintainers = with maintainers; [ fgaz ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation {
|
||||
|
||||
makeWrapper ${lib.getExe jre_headless} $out/bin/minecraft-server \
|
||||
--append-flags "-jar $out/lib/minecraft/server.jar nogui" \
|
||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ udev ]}
|
||||
${lib.optionalString stdenv.isLinux "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ udev ]}"}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
@ -22,7 +22,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
|
||||
makeWrapper ${lib.getExe jre} "$out/bin/minecraft-server" \
|
||||
--append-flags "-jar $out/share/papermc/papermc.jar nogui" \
|
||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ udev ]}
|
||||
${lib.optionalString stdenvNoCC.isLinux "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ udev ]}"}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
@ -1,322 +1,322 @@
|
||||
{
|
||||
"bluedevil": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/bluedevil-6.1.1.tar.xz",
|
||||
"hash": "sha256-cbaEsptZbByLYDoifvjJswrlF0wnDVog/dS0tthy16A="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/bluedevil-6.1.2.tar.xz",
|
||||
"hash": "sha256-K/nrgT5Ol9WedgENLiuhRVJd5Ogm155YZNInfHPrQes="
|
||||
},
|
||||
"breeze": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/breeze-6.1.1.tar.xz",
|
||||
"hash": "sha256-iUP/dMTLFrGzwD7qDMo5gh1ES+pg3BY/8Y4r0xNglyU="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/breeze-6.1.2.tar.xz",
|
||||
"hash": "sha256-1FbcUNlBxJQCCemqUBHV6SAt719lutx+qMbUsqxHfc8="
|
||||
},
|
||||
"breeze-grub": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/breeze-grub-6.1.1.tar.xz",
|
||||
"hash": "sha256-e8I83/5IkprzeL0uL9VpY1mknXWdRJFOGssFJex/5WE="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/breeze-grub-6.1.2.tar.xz",
|
||||
"hash": "sha256-SAT/QJspSGlkxeRyjpswAdL8Zq0xls+Uwc5U9sVELA4="
|
||||
},
|
||||
"breeze-gtk": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/breeze-gtk-6.1.1.tar.xz",
|
||||
"hash": "sha256-p5787M7oWtlUhPjmSr8JItjUoMtUde3RACSvlHxOjs4="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/breeze-gtk-6.1.2.tar.xz",
|
||||
"hash": "sha256-W5/RcOtvnpQ4hopexgd4igCo8PqY8+XHxHqUVdzK7BE="
|
||||
},
|
||||
"breeze-plymouth": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/breeze-plymouth-6.1.1.tar.xz",
|
||||
"hash": "sha256-8BHr1RBaervFrz2jVQBG8UO1rUX9hQd0KaBY6RA2dxo="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/breeze-plymouth-6.1.2.tar.xz",
|
||||
"hash": "sha256-VrbRrRKJao5sfqP50CpK5WhNl3IW9oYmCxlq4KMO0Oo="
|
||||
},
|
||||
"discover": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/discover-6.1.1.tar.xz",
|
||||
"hash": "sha256-GOcAU+flHTLELjcTCC5Q6BhiooEXV6lcmNm2hpLTi14="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/discover-6.1.2.tar.xz",
|
||||
"hash": "sha256-bqi0troUNV/+Br6QNlhqKcwB/GpHUhxvHj+dgYXaXJk="
|
||||
},
|
||||
"drkonqi": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/drkonqi-6.1.1.tar.xz",
|
||||
"hash": "sha256-Z+/eulH1OSz/QshKVDdFbGNK4laWrKOpw64ocFpmUU0="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/drkonqi-6.1.2.tar.xz",
|
||||
"hash": "sha256-qgBb8y5ZDSy6KNS9qrs733VFAuq5aqvUrI4aUCMrJqU="
|
||||
},
|
||||
"flatpak-kcm": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/flatpak-kcm-6.1.1.tar.xz",
|
||||
"hash": "sha256-sc4cl8pPPlAKZAMPvmcjO9M3mKc8XRH4JB662tqjNog="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/flatpak-kcm-6.1.2.tar.xz",
|
||||
"hash": "sha256-fu3Za0Cq8aquQK7fduX4ZM+zyylas4D2c9x2gZZ1N2g="
|
||||
},
|
||||
"kactivitymanagerd": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/kactivitymanagerd-6.1.1.tar.xz",
|
||||
"hash": "sha256-x8DdKkkJAd/PLwlA9TefvhtJ+bMokZ3YBLrq7PlIWqU="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/kactivitymanagerd-6.1.2.tar.xz",
|
||||
"hash": "sha256-CKLPz/A0MiSSRfhheLS4Umi//3J9iwq10CBjULjCyv0="
|
||||
},
|
||||
"kde-cli-tools": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/kde-cli-tools-6.1.1.tar.xz",
|
||||
"hash": "sha256-oyo5V9WkwkUBxv5xc11ZK+j57oclLYwnMDIs8wdf/ME="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/kde-cli-tools-6.1.2.tar.xz",
|
||||
"hash": "sha256-cYFywGbalVmRkh/ovgOKlzgnOexlPrXQSrK1zIHRdRs="
|
||||
},
|
||||
"kdecoration": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/kdecoration-6.1.1.tar.xz",
|
||||
"hash": "sha256-zxxT0rbojJeMhVfWwLzTSZr/1prsWtXw2ECzgR5ngyM="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/kdecoration-6.1.2.tar.xz",
|
||||
"hash": "sha256-gehd0ni8/uPJDxtfkI7oXyie7mr60dZJZPmQ+cbtvr4="
|
||||
},
|
||||
"kde-gtk-config": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/kde-gtk-config-6.1.1.tar.xz",
|
||||
"hash": "sha256-ciZiu3tv7G7yHs8dbaP9qUvq2mvUWMBfK3b+eqU5l6Q="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/kde-gtk-config-6.1.2.tar.xz",
|
||||
"hash": "sha256-6n/NJQPyudrFdv+R83YUSw6qcnRx0NcjqjJH7H0jNiU="
|
||||
},
|
||||
"kdeplasma-addons": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/kdeplasma-addons-6.1.1.tar.xz",
|
||||
"hash": "sha256-17MGSyGct4o3pa/0lhIuJQisvWqJRn4oImRYtXS+wSo="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/kdeplasma-addons-6.1.2.tar.xz",
|
||||
"hash": "sha256-bAzj5OosXmunSXnzrQ3C1Gcp8yNzL5BnW0fqtJKEEuE="
|
||||
},
|
||||
"kgamma": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/kgamma-6.1.1.tar.xz",
|
||||
"hash": "sha256-PQwFkR5tZ/3cxsLkkDwOjffq4BkaWC1XGZCC1TnvyKI="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/kgamma-6.1.2.tar.xz",
|
||||
"hash": "sha256-yz2OcBsaunvYKGsNGWA/uTsN1fHgb1Lej+EooWZmJmM="
|
||||
},
|
||||
"kglobalacceld": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/kglobalacceld-6.1.1.tar.xz",
|
||||
"hash": "sha256-OsdZZCQy1EFaaheFbzOqCetv2pnYhrMac5B/0wDziwA="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/kglobalacceld-6.1.2.tar.xz",
|
||||
"hash": "sha256-J7OeZ0prZroFs04YG4s57QhIU72HoHLzMzzkxCOmaNw="
|
||||
},
|
||||
"kinfocenter": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/kinfocenter-6.1.1.tar.xz",
|
||||
"hash": "sha256-3z7tLSvYVfgAgCYo7sB1ZbctPJKy7Rw488Xiz4Sw7ig="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/kinfocenter-6.1.2.tar.xz",
|
||||
"hash": "sha256-YcAro0UeMyTb9UrzFM78TzibCcnT4K1mYT/sI5/esDw="
|
||||
},
|
||||
"kmenuedit": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/kmenuedit-6.1.1.tar.xz",
|
||||
"hash": "sha256-j4Kbms6XdSmdQ8e0qU4KqzOyhf7prwU/5oljadc8JOI="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/kmenuedit-6.1.2.tar.xz",
|
||||
"hash": "sha256-lFS0eEAcDrb8TZDzmcrZpRalqgNmPQiiiRbZYgSv13M="
|
||||
},
|
||||
"kpipewire": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/kpipewire-6.1.1.tar.xz",
|
||||
"hash": "sha256-ah1aum6vUwYFuyJRTLsXoUTT6MfBpd3w06nOa0gfdoY="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/kpipewire-6.1.2.tar.xz",
|
||||
"hash": "sha256-JQ9QXXI/tx/fta9fieT4ePYyxTT7KwG6C7s6wZFw1XE="
|
||||
},
|
||||
"krdp": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/krdp-6.1.1.tar.xz",
|
||||
"hash": "sha256-pnBcnksiY0mrp2z2ylliF6DBdzEDDYRheoIXi9r7en0="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/krdp-6.1.2.tar.xz",
|
||||
"hash": "sha256-D7Gt2cy4YNumaqgNPk1cl6R5asboGZ89+4lfF0r84XY="
|
||||
},
|
||||
"kscreen": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/kscreen-6.1.1.tar.xz",
|
||||
"hash": "sha256-3OURnXW5ML859y4Qq0vsTTj5F1+y8C4QNo3JjXyIO/k="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/kscreen-6.1.2.tar.xz",
|
||||
"hash": "sha256-f4VKaWqsWuAcRFbHzhiDfhubDB8W3w0VBfHoPgI5vVw="
|
||||
},
|
||||
"kscreenlocker": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/kscreenlocker-6.1.1.tar.xz",
|
||||
"hash": "sha256-VdU6Bfc31TVp6uwledZVzFyjNl3VrlGHgRGYy5XGcak="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/kscreenlocker-6.1.2.tar.xz",
|
||||
"hash": "sha256-urMbZw1LsIJ2AyF5c4x1k6xCkOgdx+wchEJYEpccYto="
|
||||
},
|
||||
"ksshaskpass": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/ksshaskpass-6.1.1.tar.xz",
|
||||
"hash": "sha256-Ltfd0g9kVlts4MSNdNvbRY6HqARZPkRFm+bhxLdT3ac="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/ksshaskpass-6.1.2.tar.xz",
|
||||
"hash": "sha256-SfkMfFiWyqEs5UlHReAIQYUZF+2xecHnemizh6Labo4="
|
||||
},
|
||||
"ksystemstats": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/ksystemstats-6.1.1.tar.xz",
|
||||
"hash": "sha256-8gfqRhEUPKj4tmCaic30g7X4tJcjTghSFWMahIxOKqs="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/ksystemstats-6.1.2.tar.xz",
|
||||
"hash": "sha256-MdTU957UUsnMY2JyLBtiGQfM+VJCJA5tVAIbOYA1aTs="
|
||||
},
|
||||
"kwallet-pam": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/kwallet-pam-6.1.1.tar.xz",
|
||||
"hash": "sha256-LH8hj0fDcchUOd23cejRjUdXzs2H2nR9O5oudk1tDHo="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/kwallet-pam-6.1.2.tar.xz",
|
||||
"hash": "sha256-51QbihAofWrtMCD/S5KHSSVR+JeXI3m+pIrqmEUK67Q="
|
||||
},
|
||||
"kwayland": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/kwayland-6.1.1.tar.xz",
|
||||
"hash": "sha256-3JHUr7c72z6rYFKFoQJYkD48EVqYcqwLp5LO9GiP24U="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/kwayland-6.1.2.tar.xz",
|
||||
"hash": "sha256-xqIz7GvMZALzQ5hWQjHvKC/BAbTGlzQBCAxLBTFbtZU="
|
||||
},
|
||||
"kwayland-integration": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/kwayland-integration-6.1.1.tar.xz",
|
||||
"hash": "sha256-yL1Xas0uf+xw3SqJy1069sfW/Hp49JFq9CW4Ta+sUrk="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/kwayland-integration-6.1.2.tar.xz",
|
||||
"hash": "sha256-CiVhu8T4KzUb5lOr9fRsm0amjzFJVGWqIqWuvpW2lJs="
|
||||
},
|
||||
"kwin": {
|
||||
"version": "6.1.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/kwin-6.1.1.2.tar.xz",
|
||||
"hash": "sha256-HPDk2ZbM2Sp3tqclYQyjKmDC+uCKmPi3LyqvFWlGTDk="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/kwin-6.1.2.tar.xz",
|
||||
"hash": "sha256-gsWCyDsB1CrI3Wyl+8S42u6hkrVN0chZcD5vAzRVwA8="
|
||||
},
|
||||
"kwrited": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/kwrited-6.1.1.tar.xz",
|
||||
"hash": "sha256-pvh6xoSIYzRuhWryDO76PsHCE2DRrwV2j+mwiKE/fH8="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/kwrited-6.1.2.tar.xz",
|
||||
"hash": "sha256-hWSKR2h5yi9tVfoZEYZvL8dRUh0h1UWyMVOeI6CUFsE="
|
||||
},
|
||||
"layer-shell-qt": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/layer-shell-qt-6.1.1.tar.xz",
|
||||
"hash": "sha256-fGDjcwHo80PvSWVJS2AYb9qCeY3Smq27NXEtr2LjT1M="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/layer-shell-qt-6.1.2.tar.xz",
|
||||
"hash": "sha256-F+hmjMeDlpoC/gh8HbaF4K8p1yDqpYw51g82+fd29Qk="
|
||||
},
|
||||
"libkscreen": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/libkscreen-6.1.1.tar.xz",
|
||||
"hash": "sha256-lhL9g86Cj4Fv1Vznnadyv2Lpa45kV97rXcM2klz8INQ="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/libkscreen-6.1.2.tar.xz",
|
||||
"hash": "sha256-NtwBufQwiuwbcJlM8VVNryp3+VDbFc0oX87YtBJYl7g="
|
||||
},
|
||||
"libksysguard": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/libksysguard-6.1.1.tar.xz",
|
||||
"hash": "sha256-vB7YBDc4ZdPeUeXhz3rRHEtx6hMREKOUByWwQzLK7lI="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/libksysguard-6.1.2.tar.xz",
|
||||
"hash": "sha256-gF1o0qFH4Uknd2yaMZj6bofmLQRTO++6dQd2n2LxLtA="
|
||||
},
|
||||
"libplasma": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/libplasma-6.1.1.tar.xz",
|
||||
"hash": "sha256-LyTxDNIyop+h3FYY7jAGCOm13HeYo+L/+wqOQ5zEItA="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/libplasma-6.1.2.tar.xz",
|
||||
"hash": "sha256-gGFBZOT4wO8AXl0xV7ykp/Qhkl0Wo2oepoQcZlFjIUo="
|
||||
},
|
||||
"milou": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/milou-6.1.1.tar.xz",
|
||||
"hash": "sha256-rxF9ASnqRAv9VEJA7wvdMATmv+i1i8g2ovMG2fX+z4M="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/milou-6.1.2.tar.xz",
|
||||
"hash": "sha256-lYqQuHWFL7jnDA4yXtFbzsWiRzbuawD3CUYqYzQ5eZc="
|
||||
},
|
||||
"ocean-sound-theme": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/ocean-sound-theme-6.1.1.tar.xz",
|
||||
"hash": "sha256-trYOgt+h/dqCuUy0cF6ShRQxSYKYYKhqgfhI1e0s91M="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/ocean-sound-theme-6.1.2.tar.xz",
|
||||
"hash": "sha256-y/qE2OhwMG5rIxPzCxYOcUYA8V/lt57Hdk/a8tbpT3s="
|
||||
},
|
||||
"oxygen": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/oxygen-6.1.1.tar.xz",
|
||||
"hash": "sha256-v3GXhxUsM0qC+OfC4LeqGhLEEo6VARMHAm8Ue4/bgtA="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/oxygen-6.1.2.tar.xz",
|
||||
"hash": "sha256-DF3FnL8VLc0/G9oEW3jVP3AucDJDehYssg7qvIfkaLA="
|
||||
},
|
||||
"oxygen-sounds": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/oxygen-sounds-6.1.1.tar.xz",
|
||||
"hash": "sha256-2FjoAmz4gMTHTxm9WoG3pATKrNM8+Y+kMmGK/2dWzlE="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/oxygen-sounds-6.1.2.tar.xz",
|
||||
"hash": "sha256-TtL+lCkFX85k2/EAVyRN11Jv7m6BQmOa2JD6ZWk93ws="
|
||||
},
|
||||
"plasma5support": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/plasma5support-6.1.1.tar.xz",
|
||||
"hash": "sha256-+LhQb0Mm6W+RjdbpyyBAunhep50zytV14zy+mE7gttc="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/plasma5support-6.1.2.tar.xz",
|
||||
"hash": "sha256-8s9zL+9NHwPfh+71qlVsDeRjD9/1DNZNWe/97CNonJ0="
|
||||
},
|
||||
"plasma-activities": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/plasma-activities-6.1.1.tar.xz",
|
||||
"hash": "sha256-Pb3ZJAIIxd/SypY+FCJWRFokRZRz7/azKTAn0NPM6NU="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/plasma-activities-6.1.2.tar.xz",
|
||||
"hash": "sha256-PgL8CL23PWVGEFskgZm4amXynWQJBTocYcAVRIcZpts="
|
||||
},
|
||||
"plasma-activities-stats": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/plasma-activities-stats-6.1.1.tar.xz",
|
||||
"hash": "sha256-QoRnkP9GHvcM3Nt+3BDzvs8JXgL55hL6GsflJRBNthM="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/plasma-activities-stats-6.1.2.tar.xz",
|
||||
"hash": "sha256-OJbDZPA9a3fcfc2t7JQlMPLBjqm7J+DtGHTDgpYfink="
|
||||
},
|
||||
"plasma-browser-integration": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/plasma-browser-integration-6.1.1.tar.xz",
|
||||
"hash": "sha256-QI4lgS60nNP63ysp+O6cXwQZiaEqJnRBIMcxUDjlxPc="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/plasma-browser-integration-6.1.2.tar.xz",
|
||||
"hash": "sha256-AC2epQsIiSoGLOQ+ReSQKpJt5uv3BzIUlGmWcgdemh8="
|
||||
},
|
||||
"plasma-desktop": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/plasma-desktop-6.1.1.tar.xz",
|
||||
"hash": "sha256-leOtnDAYzQWiJm+Xf5ZMJBWEXVgc3aEPDxUXzQDJ9k4="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/plasma-desktop-6.1.2.tar.xz",
|
||||
"hash": "sha256-KeQEfEknSt5pliQGlcvavnjBhBgXCAeUBN6/ba2H4tg="
|
||||
},
|
||||
"plasma-disks": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/plasma-disks-6.1.1.tar.xz",
|
||||
"hash": "sha256-/usBYRT9rdhi4Yu7hC3eP+hpNdQXXdNW8J5jZkJYpTQ="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/plasma-disks-6.1.2.tar.xz",
|
||||
"hash": "sha256-HxYhy4yrHOTS1dn41NhYUgzwJ+3iz3Sie1v460wZaOY="
|
||||
},
|
||||
"plasma-firewall": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/plasma-firewall-6.1.1.tar.xz",
|
||||
"hash": "sha256-JyiCRQe9Ntxv8MK1m5GYmEIVpnpznJwnw//QWrPJOnM="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/plasma-firewall-6.1.2.tar.xz",
|
||||
"hash": "sha256-9uoJIH1GPdHGDaMYQLsmeFBmwUVa56oAtl3zWDhyWUw="
|
||||
},
|
||||
"plasma-integration": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/plasma-integration-6.1.1.tar.xz",
|
||||
"hash": "sha256-GAvqiS1t0knpjgwyD8rVVzVDQL1sCVjn/nkow0flWX0="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/plasma-integration-6.1.2.tar.xz",
|
||||
"hash": "sha256-4VojKSishXLaoFQE0mtNERLPGJoFHKy99gQ1Lt2/CAQ="
|
||||
},
|
||||
"plasma-mobile": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/plasma-mobile-6.1.1.tar.xz",
|
||||
"hash": "sha256-jqjUaFExJWvNMQsKITCnQKMwO6sxhHCx9pAw6MK0TAU="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/plasma-mobile-6.1.2.tar.xz",
|
||||
"hash": "sha256-1UCfsslKYSjgDkA2zPLPPJtGoHXuJXTq5mH6ld+SUDk="
|
||||
},
|
||||
"plasma-nano": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/plasma-nano-6.1.1.tar.xz",
|
||||
"hash": "sha256-r2GJdq5D7AZdc/cuGOut+yXz6tZwYtam6APrEgT601I="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/plasma-nano-6.1.2.tar.xz",
|
||||
"hash": "sha256-Y95FHM8YL12cUAUwx3F0WwE87tc/n971EVqMpka5yrc="
|
||||
},
|
||||
"plasma-nm": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/plasma-nm-6.1.1.tar.xz",
|
||||
"hash": "sha256-NqL3CKrFGvkHuIZk+WQfrFVAsfVfMmufIWLuDLV9+1A="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/plasma-nm-6.1.2.tar.xz",
|
||||
"hash": "sha256-+YbC+NKF4JzS2j0dWLCla6Z77ZmDiR4xmIwdcApGJAg="
|
||||
},
|
||||
"plasma-pa": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/plasma-pa-6.1.1.tar.xz",
|
||||
"hash": "sha256-Takyf7qhz5gD5SjGlS+ZeapEe4BiZE+AB9vCkILUyHk="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/plasma-pa-6.1.2.tar.xz",
|
||||
"hash": "sha256-/YTgM2v9zBP63ukVgvoKhY3DahVfPh5Wkd3G/5xrRGY="
|
||||
},
|
||||
"plasma-sdk": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/plasma-sdk-6.1.1.tar.xz",
|
||||
"hash": "sha256-/UNWfSSJXesWE4v5k6lmL+2tVk03IhOSZYrpdGVND5A="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/plasma-sdk-6.1.2.tar.xz",
|
||||
"hash": "sha256-CbN17UlLm4a8MNbEYj4hJdhVqAd2DDrCT6wS3Zzcs94="
|
||||
},
|
||||
"plasma-systemmonitor": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/plasma-systemmonitor-6.1.1.tar.xz",
|
||||
"hash": "sha256-c4FiyY5lCKPqoQNh7fun4ObNd/eX6ZXzZuQqpS1A6eM="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/plasma-systemmonitor-6.1.2.tar.xz",
|
||||
"hash": "sha256-uofW9/TDye38s3V00SN5hJUhoihrzRbXXFhKkB1MYuw="
|
||||
},
|
||||
"plasma-thunderbolt": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/plasma-thunderbolt-6.1.1.tar.xz",
|
||||
"hash": "sha256-dP6Wd4ml2/P2g5lpt5uuDTAVWz/RFdoPW+cqXSF8FFo="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/plasma-thunderbolt-6.1.2.tar.xz",
|
||||
"hash": "sha256-RL+x+fM9XyPqhONcMQRb7D+gbDk4ojuXU+laARr2xCI="
|
||||
},
|
||||
"plasma-vault": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/plasma-vault-6.1.1.tar.xz",
|
||||
"hash": "sha256-Kw0gcn4LgHWQ1fn47ZIA4eQsMYSRnfQVDN2BeV0K8+Q="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/plasma-vault-6.1.2.tar.xz",
|
||||
"hash": "sha256-lqltYEE+IffjTu3Z2CXsWgUymsH6wd5b8A8F8IwVDvk="
|
||||
},
|
||||
"plasma-welcome": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/plasma-welcome-6.1.1.tar.xz",
|
||||
"hash": "sha256-2uKtZMCIcNuVbZEClxt+I5hF9CDaLtnv30oEU/qtqd4="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/plasma-welcome-6.1.2.tar.xz",
|
||||
"hash": "sha256-YqxdxK/krd9IBNnsTqTM9pWzroWIJNTSvlKmp224oKU="
|
||||
},
|
||||
"plasma-workspace": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/plasma-workspace-6.1.1.tar.xz",
|
||||
"hash": "sha256-R9LEK9+MEn+hZW9luqmCj5iQz/0/QWsK+eBWzyKMB+4="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/plasma-workspace-6.1.2.tar.xz",
|
||||
"hash": "sha256-R/AZuS3Kho5l5VB/+oPQ2XSt8Y6JXKoTYlYQjMAqZZo="
|
||||
},
|
||||
"plasma-workspace-wallpapers": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/plasma-workspace-wallpapers-6.1.1.tar.xz",
|
||||
"hash": "sha256-B/IttxPbjjyCJ0Y5Xok6wS2DRbjDeksJUrujUOW2ffs="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/plasma-workspace-wallpapers-6.1.2.tar.xz",
|
||||
"hash": "sha256-lhn3pNyAsE92gVk4HaMBPmDyFepz+Fdo64th1+DZom4="
|
||||
},
|
||||
"plymouth-kcm": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/plymouth-kcm-6.1.1.tar.xz",
|
||||
"hash": "sha256-ZqB/YNbDO+F9k6s7UZnOGxWnvmtRJ7Tw07SsHk5BfdA="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/plymouth-kcm-6.1.2.tar.xz",
|
||||
"hash": "sha256-L5GzV+Ufh2bOZYtLUPq9y44eFotqRhW7znkHDTCJ3KU="
|
||||
},
|
||||
"polkit-kde-agent-1": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/polkit-kde-agent-1-6.1.1.tar.xz",
|
||||
"hash": "sha256-H4tLoKEKAbzh+lTy0TpADnA612TeBMvLU20VOv0Xrpg="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/polkit-kde-agent-1-6.1.2.tar.xz",
|
||||
"hash": "sha256-iJFt6obdUo/jZZ6cxzwlLkoPxYoueHCzriK1bWt1INc="
|
||||
},
|
||||
"powerdevil": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/powerdevil-6.1.1.tar.xz",
|
||||
"hash": "sha256-SVB26QNmiYOZ9sL+4iotH+lphSSnxvLKzYL4yo1pnyc="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/powerdevil-6.1.2.tar.xz",
|
||||
"hash": "sha256-1Ki4VTb2niI2l70cer0dw/woOnHFtcwJqRokfYXYUBQ="
|
||||
},
|
||||
"print-manager": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/print-manager-6.1.1.tar.xz",
|
||||
"hash": "sha256-sRDyMcsvn5RPOveqaCIOHM/x4OV5Hk/xSVQTpFI9umY="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/print-manager-6.1.2.tar.xz",
|
||||
"hash": "sha256-FBYVYc7UAP5uCmUnE+C4a0NLWlC69VMgwulJjkjD9aU="
|
||||
},
|
||||
"qqc2-breeze-style": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/qqc2-breeze-style-6.1.1.tar.xz",
|
||||
"hash": "sha256-3i7dyPFyXS2753jOrgJfDDkO5UcxCgAOeD//E+AmqPw="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/qqc2-breeze-style-6.1.2.tar.xz",
|
||||
"hash": "sha256-MkA66uAwdLz8b2/z0L7D//e5pOhj3Hpo354Vu33EHtk="
|
||||
},
|
||||
"sddm-kcm": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/sddm-kcm-6.1.1.tar.xz",
|
||||
"hash": "sha256-B8CUtRCaOTdFqMiyj13+ZWueIuvr9b2zsoCSU7XeIHE="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/sddm-kcm-6.1.2.tar.xz",
|
||||
"hash": "sha256-bHiyAkIOPS1ZeiK5j24kAjU50PgG9c4J99zIPv50gNc="
|
||||
},
|
||||
"systemsettings": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/systemsettings-6.1.1.tar.xz",
|
||||
"hash": "sha256-FTs5ru2DB7USV0lQCBQ6FUxs+mTTupKGBjmjFQuhpxE="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/systemsettings-6.1.2.tar.xz",
|
||||
"hash": "sha256-kHrd7AuvQCbXdBoNszgNOI9c9pmE2sB8D6BeEQWLRrY="
|
||||
},
|
||||
"wacomtablet": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/wacomtablet-6.1.1.tar.xz",
|
||||
"hash": "sha256-Jo/SZCP7oIXrciKU4+dXGYlh+mJ1qR5zgfq9gaODqIA="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/wacomtablet-6.1.2.tar.xz",
|
||||
"hash": "sha256-fe4qU5mAqBCw7uXNjYO2/iuaKpDDa6cA0WuTj+zXVHE="
|
||||
},
|
||||
"xdg-desktop-portal-kde": {
|
||||
"version": "6.1.1",
|
||||
"url": "mirror://kde/stable/plasma/6.1.1/xdg-desktop-portal-kde-6.1.1.tar.xz",
|
||||
"hash": "sha256-vIFULW/3kgRkOCd5CdQDE3/Vscr/oiNJvd0PFP9EKAQ="
|
||||
"version": "6.1.2",
|
||||
"url": "mirror://kde/stable/plasma/6.1.2/xdg-desktop-portal-kde-6.1.2.tar.xz",
|
||||
"hash": "sha256-udt1PIUwQ7GXaWRKqZ3qQTrR/2v8ao5osulwon+ZejY="
|
||||
}
|
||||
}
|
||||
}
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
mkKdeDerivation,
|
||||
pkg-config,
|
||||
pam,
|
||||
libgcrypt,
|
||||
socat,
|
||||
@ -12,5 +13,6 @@ mkKdeDerivation {
|
||||
sed -i pam_kwallet_init -e "s|socat|${lib.getBin socat}/bin/socat|"
|
||||
'';
|
||||
|
||||
extraNativeBuildInputs = [pkg-config];
|
||||
extraBuildInputs = [pam libgcrypt];
|
||||
}
|
||||
|
@ -3,26 +3,22 @@
|
||||
, yarn, nodejs, python3, cacert
|
||||
, jq, moreutils
|
||||
, nix-update-script, nixosTests, xcbuild
|
||||
, util-linux
|
||||
, faketty
|
||||
}:
|
||||
|
||||
let
|
||||
# We need dev dependencies to run webpack, but patch away
|
||||
# `cypress` (and @grafana/e2e which has a direct dependency on cypress).
|
||||
# This attempts to download random blobs from the Internet in
|
||||
# postInstall. Also, it's just a testing framework, so not worth the hassle.
|
||||
patchAwayGrafanaE2E = ''
|
||||
find . -name package.json | while IFS=$'\n' read -r pkg_json; do
|
||||
<"$pkg_json" jq '. + {
|
||||
"devDependencies": .devDependencies | del(."@grafana/e2e") | del(.cypress)
|
||||
}' | sponge "$pkg_json"
|
||||
done
|
||||
rm -r packages/grafana-e2e
|
||||
# Grafana seems to just set it to the latest version available
|
||||
# nowadays.
|
||||
patchGoVersion = ''
|
||||
substituteInPlace go.{mod,work} pkg/build/wire/go.mod \
|
||||
--replace-fail "go 1.22.4" "go 1.22.3"
|
||||
substituteInPlace Makefile \
|
||||
--replace-fail "GO_VERSION = 1.22.4" "GO_VERSION = 1.22.3"
|
||||
'';
|
||||
in
|
||||
buildGoModule rec {
|
||||
pname = "grafana";
|
||||
version = "11.0.0";
|
||||
version = "11.1.0";
|
||||
|
||||
subPackages = [ "pkg/cmd/grafana" "pkg/cmd/grafana-server" "pkg/cmd/grafana-cli" ];
|
||||
|
||||
@ -30,11 +26,13 @@ buildGoModule rec {
|
||||
owner = "grafana";
|
||||
repo = "grafana";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-cC1dpgb8IiyPIqlVvn8Qi1l7j6lLtQF+BOOO+DQCp4E=";
|
||||
hash = "sha256-iTTT10YN8jBT4/ukGXNK1QHcyzXnAqg2LiFtNiwnENw=";
|
||||
};
|
||||
|
||||
# borrowed from: https://github.com/NixOS/nixpkgs/blob/d70d9425f49f9aba3c49e2c389fe6d42bac8c5b0/pkgs/development/tools/analysis/snyk/default.nix#L20-L22
|
||||
env = lib.optionalAttrs (stdenv.isDarwin && stdenv.isx86_64) {
|
||||
env = {
|
||||
CYPRESS_INSTALL_BINARY = 0;
|
||||
} // lib.optionalAttrs (stdenv.isDarwin && stdenv.isx86_64) {
|
||||
# Fix error: no member named 'aligned_alloc' in the global namespace.
|
||||
# Occurs while building @esfx/equatable@npm:1.0.2 on x86_64-darwin
|
||||
NIX_CFLAGS_COMPILE = "-D_LIBCPP_HAS_NO_LIBRARY_ALIGNED_ALLOCATION=1";
|
||||
@ -49,7 +47,7 @@ buildGoModule rec {
|
||||
# @esfx/equatable@npm:1.0.2 fails to build on darwin as it requires `xcbuild`
|
||||
] ++ lib.optionals stdenv.isDarwin [ xcbuild.xcbuild ];
|
||||
postPatch = ''
|
||||
${patchAwayGrafanaE2E}
|
||||
${patchGoVersion}
|
||||
'';
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
@ -66,23 +64,24 @@ buildGoModule rec {
|
||||
dontFixup = true;
|
||||
outputHashMode = "recursive";
|
||||
outputHash = rec {
|
||||
x86_64-linux = "sha256-+Udq8oQSIAHku55VKnrfgHHevzBels0QiOZwnwuts8k=";
|
||||
x86_64-linux = "sha256-2VnhZBWLdYQhqKCxM63fCAwQXN4Zrh2wCdPBLCCUuvg=";
|
||||
aarch64-linux = x86_64-linux;
|
||||
aarch64-darwin = "sha256-m3jtZNz0J2nZwFHXVp3ApgDfnGBOJvFeUpqOPQqv200=";
|
||||
aarch64-darwin = "sha256-MZE3/PHynL6SHOxJgOG41pi2X8XeutruAOyUFY9Lmsc=";
|
||||
x86_64-darwin = aarch64-darwin;
|
||||
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
||||
};
|
||||
|
||||
disallowedRequisites = [ offlineCache ];
|
||||
|
||||
vendorHash = "sha256-kcdW6RQghyAOZUDmIo9G6YBC+YaLHdafvj+fCd+dcDE=";
|
||||
vendorHash = "sha256-Ny/SoelFVPvBBn50QpHcLTuVY3ynKbCegM1uQkJzB9Y=";
|
||||
|
||||
proxyVendor = true;
|
||||
|
||||
nativeBuildInputs = [ wire yarn jq moreutils removeReferencesTo python3 ] ++ lib.optionals stdenv.isDarwin [ xcbuild.xcbuild ];
|
||||
nativeBuildInputs = [ wire yarn jq moreutils removeReferencesTo python3 faketty ]
|
||||
++ lib.optionals stdenv.isDarwin [ xcbuild.xcbuild ];
|
||||
|
||||
postPatch = ''
|
||||
${patchAwayGrafanaE2E}
|
||||
${patchGoVersion}
|
||||
'';
|
||||
|
||||
postConfigure = ''
|
||||
@ -115,7 +114,7 @@ buildGoModule rec {
|
||||
# After having built all the Go code, run the JS builders now.
|
||||
|
||||
# Workaround for https://github.com/nrwl/nx/issues/22445
|
||||
${util-linux}/bin/script -c 'yarn run build' /dev/null
|
||||
faketty yarn run build
|
||||
yarn run plugins:build-bundled
|
||||
'';
|
||||
|
||||
@ -156,8 +155,5 @@ buildGoModule rec {
|
||||
maintainers = with maintainers; [ offline fpletz willibutz globin ma27 Frostman ];
|
||||
platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ];
|
||||
mainProgram = "grafana-server";
|
||||
# requires util-linux to work around https://github.com/nrwl/nx/issues/22445
|
||||
# `script` doesn't seem to be part of util-linux on Darwin though.
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
}
|
||||
|
@ -3,6 +3,7 @@
|
||||
, fetchFromGitHub
|
||||
, nixosTests
|
||||
, php
|
||||
, writeText
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
@ -16,26 +17,33 @@ stdenvNoCC.mkDerivation rec {
|
||||
hash = "sha256-AAOON1RdbG6JSnCc123jmIlIXHOE1PE49BV4hcASO/s=";
|
||||
};
|
||||
|
||||
passthru.tests = {
|
||||
inherit (nixosTests) freshrss-sqlite freshrss-pgsql freshrss-http-auth freshrss-none-auth;
|
||||
};
|
||||
postPatch = ''
|
||||
patchShebangs cli/*.php app/actualize_script.php
|
||||
'';
|
||||
|
||||
# the thirdparty_extension_path can only be set by config, but should be read by an env-var.
|
||||
overrideConfig = writeText "constants.local.php" ''
|
||||
<?php
|
||||
define('THIRDPARTY_EXTENSIONS_PATH', getenv('THIRDPARTY_EXTENSIONS_PATH') . '/extensions');
|
||||
'';
|
||||
|
||||
buildInputs = [ php ];
|
||||
|
||||
# There's nothing to build.
|
||||
dontBuild = true;
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs cli/*.php app/actualize_script.php
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out
|
||||
cp -vr * $out/
|
||||
cp $overrideConfig $out/constants.local.php
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
inherit (nixosTests) freshrss-sqlite freshrss-pgsql freshrss-http-auth freshrss-none-auth freshrss-extensions;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "FreshRSS is a free, self-hostable RSS aggregator";
|
||||
homepage = "https://www.freshrss.org/";
|
||||
|
138
pkgs/servers/web-apps/freshrss/extensions/default.nix
Normal file
138
pkgs/servers/web-apps/freshrss/extensions/default.nix
Normal file
@ -0,0 +1,138 @@
|
||||
{ config
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, fetchFromGitLab
|
||||
, callPackage
|
||||
}:
|
||||
|
||||
let
|
||||
buildFreshRssExtension = (callPackage ./freshrss-utils.nix { }).buildFreshRssExtension;
|
||||
|
||||
official_extensions_version = "unstable-2024-04-27";
|
||||
official_extensions_src = fetchFromGitHub {
|
||||
owner = "FreshRSS";
|
||||
repo = "Extensions";
|
||||
rev = "71de129744ba37fd4cf363b78445f5345bc6d0b7";
|
||||
hash = "sha256-A+hOjbGNfhwTOAMeo08MUdqfWxxetzLz865oQQDsQlg=";
|
||||
};
|
||||
|
||||
baseExtensions =
|
||||
_self:
|
||||
lib.mapAttrs (_n: lib.recurseIntoAttrs) {
|
||||
auto-ttl = buildFreshRssExtension rec {
|
||||
FreshRssExtUniqueId = "AutoTTL";
|
||||
pname = "auto-ttl";
|
||||
version = "0.5.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "mgnsk";
|
||||
repo = "FreshRSS-AutoTTL";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-OiTiLZ2BjQD1W/BD8EkUt7WB2wOjL6GMGJ+APT4YpwE=";
|
||||
};
|
||||
meta = {
|
||||
description = "FreshRSS extension for automatic feed refresh TTL based on the average frequency of entries.";
|
||||
homepage = "https://github.com/mgnsk/FreshRSS-AutoTTL";
|
||||
license = lib.licenses.agpl3Only;
|
||||
maintainers = [ lib.maintainers.stunkymonkey ];
|
||||
};
|
||||
};
|
||||
|
||||
demo = buildFreshRssExtension {
|
||||
FreshRssExtUniqueId = "Demo";
|
||||
pname = "demo";
|
||||
version = "unstable-2023-12-22";
|
||||
src = fetchFromGitHub {
|
||||
owner = "FreshRSS";
|
||||
repo = "xExtension-Demo";
|
||||
rev = "8d60f71a2f0411f5fbbb1f88a57791cee0848f35";
|
||||
hash = "sha256-5fe8TjefSiGMaeZkurxSJjX8qEEa1ArhJxDztp7ZNZc=";
|
||||
};
|
||||
meta = {
|
||||
description = "FreshRSS Extension for the demo version.";
|
||||
homepage = "https://github.com/FreshRSS/xExtension-Demo";
|
||||
license = lib.licenses.agpl3Only;
|
||||
maintainers = [ lib.maintainers.stunkymonkey ];
|
||||
};
|
||||
};
|
||||
|
||||
reading-time = buildFreshRssExtension rec {
|
||||
FreshRssExtUniqueId = "ReadingTime";
|
||||
pname = "reading-time";
|
||||
version = "1.5";
|
||||
src = fetchFromGitLab {
|
||||
domain = "framagit.org";
|
||||
owner = "Lapineige";
|
||||
repo = "FreshRSS_Extension-ReadingTime";
|
||||
rev = "fb6e9e944ef6c5299fa56ffddbe04c41e5a34ebf";
|
||||
hash = "sha256-C5cRfaphx4Qz2xg2z+v5qRji8WVSIpvzMbethTdSqsk=";
|
||||
};
|
||||
meta = {
|
||||
description = "FreshRSS extension adding a reading time estimation next to each article.";
|
||||
homepage = "https://framagit.org/Lapineige/FreshRSS_Extension-ReadingTime";
|
||||
license = lib.licenses.agpl3Only;
|
||||
maintainers = [ lib.maintainers.stunkymonkey ];
|
||||
};
|
||||
};
|
||||
|
||||
reddit-image = buildFreshRssExtension rec {
|
||||
FreshRssExtUniqueId = "RedditImage";
|
||||
pname = "reddit-image";
|
||||
version = "1.2.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "aledeg";
|
||||
repo = "xExtension-RedditImage";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-H/uxt441ygLL0RoUdtTn9Q6Q/Ois8RHlhF8eLpTza4Q=";
|
||||
};
|
||||
meta = {
|
||||
description = "FreshRSS extension to process Reddit feeds.";
|
||||
homepage = "https://github.com/aledeg/xExtension-RedditImage";
|
||||
license = lib.licenses.agpl3Only;
|
||||
maintainers = [ lib.maintainers.stunkymonkey ];
|
||||
};
|
||||
};
|
||||
|
||||
title-wrap = buildFreshRssExtension {
|
||||
FreshRssExtUniqueId = "TitleWrap";
|
||||
pname = "title-wrap";
|
||||
version = official_extensions_version;
|
||||
src = official_extensions_src;
|
||||
sourceRoot = "source/xExtension-TitleWrap";
|
||||
meta = {
|
||||
description = "FreshRSS extension instead of truncating the title is wrapped.";
|
||||
homepage = "https://github.com/FreshRSS/Extensions/tree/master/xExtension-TitleWrap";
|
||||
license = lib.licenses.agpl3Only;
|
||||
maintainers = [ lib.maintainers.stunkymonkey ];
|
||||
};
|
||||
};
|
||||
|
||||
youtube = buildFreshRssExtension {
|
||||
FreshRssExtUniqueId = "YouTube";
|
||||
pname = "youtube";
|
||||
version = official_extensions_version;
|
||||
src = official_extensions_src;
|
||||
sourceRoot = "source/xExtension-YouTube";
|
||||
meta = {
|
||||
description = "FreshRSS extension allows you to directly watch YouTube/PeerTube videos from within subscribed channel feeds.";
|
||||
homepage = "https://github.com/FreshRSS/Extensions/tree/master/xExtension-YouTube";
|
||||
license = lib.licenses.agpl3Only;
|
||||
maintainers = [ lib.maintainers.stunkymonkey ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# add possibility to define aliases
|
||||
aliases = super: {
|
||||
# example: RedditImage = super.reddit-image;
|
||||
};
|
||||
|
||||
# overlays will be applied left to right, overrides should come after aliases.
|
||||
overlays = lib.optionals config.allowAliases [
|
||||
(_self: super: lib.recursiveUpdate super (aliases super))
|
||||
];
|
||||
|
||||
toFix = lib.foldl' (lib.flip lib.extends) baseExtensions overlays;
|
||||
in
|
||||
(lib.fix toFix) // {
|
||||
inherit buildFreshRssExtension;
|
||||
}
|
45
pkgs/servers/web-apps/freshrss/extensions/freshrss-utils.nix
Normal file
45
pkgs/servers/web-apps/freshrss/extensions/freshrss-utils.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ stdenv, unzip }:
|
||||
let
|
||||
buildFreshRssExtension =
|
||||
args@{ pname
|
||||
, version
|
||||
, src
|
||||
, FreshRssExtUniqueId
|
||||
, configurePhase ? ''
|
||||
runHook preConfigure
|
||||
runHook postConfigure
|
||||
''
|
||||
, buildPhase ? ''
|
||||
runHook preBuild
|
||||
runHook postBuild
|
||||
''
|
||||
, dontPatchELF ? true
|
||||
, dontStrip ? true
|
||||
, passthru ? { }
|
||||
, sourceRoot ? "source"
|
||||
, ...
|
||||
}:
|
||||
stdenv.mkDerivation ((removeAttrs args [ "FreshRssExtUniqueId" ]) // {
|
||||
pname = "freshrss-extension-${pname}";
|
||||
|
||||
inherit version src configurePhase buildPhase dontPatchELF dontStrip sourceRoot;
|
||||
|
||||
installPrefix = "share/freshrss/extensions/xExtension-${FreshRssExtUniqueId}";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p "$out/$installPrefix"
|
||||
find . -mindepth 1 -maxdepth 1 | xargs -d'\n' mv -t "$out/$installPrefix/"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru = passthru // {
|
||||
inherit FreshRssExtUniqueId;
|
||||
};
|
||||
});
|
||||
in
|
||||
{
|
||||
inherit buildFreshRssExtension;
|
||||
}
|
@ -15,14 +15,14 @@
|
||||
|
||||
let
|
||||
pname = "pgadmin";
|
||||
version = "8.8";
|
||||
yarnHash = "sha256-dBgbgZrjF1rNyN1Hp1nKiT6C6FVbYdbEZQgYbRKVsYI=";
|
||||
version = "8.9";
|
||||
yarnHash = "sha256-UEQ5gcc4n/XMW5kNol2gLiXUb9Ys75YMzWDXDiDIC9I=";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pgadmin-org";
|
||||
repo = "pgadmin4";
|
||||
rev = "REL-${lib.versions.major version}_${lib.versions.minor version}";
|
||||
hash = "sha256-203tuxtYOn1fD1m8BGL6rt5lDDr5V38ybPy+iwmZpkk=";
|
||||
hash = "sha256-qxbY4gIXpp5U8RkzdYZUKJ7aTXvuXPGOGTKX41k1iyE=";
|
||||
};
|
||||
|
||||
# keep the scope, as it is used throughout the derivation and tests
|
||||
@ -77,7 +77,7 @@ pythonPackages.buildPythonApplication rec {
|
||||
sed 's|*|0|g' -i requirements.txt
|
||||
# remove packageManager from package.json so we can work without corepack
|
||||
substituteInPlace web/package.json \
|
||||
--replace-fail "\"packageManager\": \"yarn@3.6.4\"" "\"\": \"\""
|
||||
--replace-fail "\"packageManager\": \"yarn@3.8.2\"" "\"\": \"\""
|
||||
substituteInPlace pkg/pip/setup_pip.py \
|
||||
--replace-fail "req = req.replace('psycopg[c]', 'psycopg[binary]')" "req = req"
|
||||
${lib.optionalString (!server-mode) ''
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -25,13 +25,13 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "7zz";
|
||||
version = "24.06";
|
||||
version = "24.07";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://7-zip.org/a/7z${lib.replaceStrings [ "." ] [ "" ] finalAttrs.version}-src.tar.xz";
|
||||
hash = {
|
||||
free = "sha256-X3uqGnJGQpW5MOaTtgWYwwrhS84e+piX7Gc+e8Pll00=";
|
||||
unfree = "sha256-KqFmDHc1JbLthNbNf/BoDHhuwIk7h+TbRGVNy39ayLU=";
|
||||
free = "sha256-qVX4CViXsODmPZIPdHzG3xgCVDVb0qZ+1l3+I9wJg2o=";
|
||||
unfree = "sha256-0bCHSj8cJt8hx2GkowaR3BIT6Fd/GO54MmwUyk1oPis=";
|
||||
}.${if enableUnfree then "unfree" else "free"};
|
||||
downloadToTemp = (!enableUnfree);
|
||||
# remove the unRAR related code from the src drv
|
||||
|
@ -26,7 +26,7 @@ python3Packages.buildPythonApplication rec {
|
||||
description = "Command-line utility for vkBasalt";
|
||||
homepage = "https://gitlab.com/TheEvilSkeleton/vkbasalt-cli";
|
||||
license = with licenses; [ lgpl3Only gpl3Only ];
|
||||
maintainers = with maintainers; [ martfont ];
|
||||
maintainers = with maintainers; [ ];
|
||||
mainProgram = "vkbasalt";
|
||||
};
|
||||
}
|
||||
|
@ -9,11 +9,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "java-service-wrapper";
|
||||
version = "3.5.57";
|
||||
version = "3.5.58";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://wrapper.tanukisoftware.com/download/${version}/wrapper_${version}_src.tar.gz";
|
||||
hash = "sha256-86YusgyLUveMrXepAtnABgdZCGlQDQjVFnG9GqFnCIg=";
|
||||
hash = "sha256-mwfLCZfjAtKNfp9Cc8hkLAOKo6VfKD3l+IDiXDP2LV8=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
@ -158,6 +158,7 @@ mapAliases ({
|
||||
bro = throw "'bro' has been renamed to/replaced by 'zeek'"; # Converted to throw 2023-09-10
|
||||
inherit (libsForQt5.mauiPackages) buho; # added 2022-05-17
|
||||
bukut = throw "bukut has been removed since it has been archived by upstream"; # Added 2023-05-24
|
||||
butler = throw "butler was removed because it was broken and abandoned upstream"; # added 2024-06-18
|
||||
# Shorter names; keep the longer name for back-compat. Added 2023-04-11
|
||||
buildFHSUserEnv = buildFHSEnv;
|
||||
buildFHSUserEnvChroot = buildFHSEnvChroot;
|
||||
|
@ -1526,6 +1526,7 @@ with pkgs;
|
||||
admin-fe = callPackage ../servers/akkoma/admin-fe {
|
||||
nodejs = nodejs_18;
|
||||
yarn = yarn.override { nodejs = nodejs_18; };
|
||||
python3 = python311;
|
||||
};
|
||||
};
|
||||
akkoma-emoji = recurseIntoAttrs {
|
||||
@ -1684,10 +1685,6 @@ with pkgs;
|
||||
|
||||
btc-rpc-explorer = callPackage ../tools/misc/btc-rpc-explorer { };
|
||||
|
||||
butler = callPackage ../by-name/bu/butler/package.nix {
|
||||
inherit (darwin.apple_sdk.frameworks) Cocoa;
|
||||
};
|
||||
|
||||
carbon-now-cli = callPackage ../tools/typesetting/carbon-now-cli { };
|
||||
|
||||
cf-vault = callPackage ../tools/admin/cf-vault { };
|
||||
@ -25502,6 +25499,7 @@ with pkgs;
|
||||
freeradius = callPackage ../servers/freeradius { };
|
||||
|
||||
freshrss = callPackage ../servers/web-apps/freshrss { };
|
||||
freshrss-extensions = recurseIntoAttrs (callPackage ../servers/web-apps/freshrss/extensions { });
|
||||
|
||||
freeswitch = callPackage ../servers/sip/freeswitch {
|
||||
inherit (darwin.apple_sdk.frameworks) SystemConfiguration;
|
||||
@ -31071,8 +31069,8 @@ with pkgs;
|
||||
|
||||
metacubexd = callPackage ../by-name/me/metacubexd/package.nix {
|
||||
pnpm = callPackage ../development/tools/pnpm/generic.nix {
|
||||
version = "9.1.4";
|
||||
hash = "sha256-MKGAGsTnI3ee/tE6IfTDn562yfu0ztEBvOBrQiWT18k=";
|
||||
version = "9.4.0";
|
||||
hash = "sha256-tv0L/aVV5+WErX5WswxosB1aBPnuk5ifS5PKhHPEnHQ=";
|
||||
};
|
||||
};
|
||||
|
||||
@ -40244,8 +40242,6 @@ with pkgs;
|
||||
|
||||
dart = callPackage ../development/compilers/dart { };
|
||||
|
||||
dart-sass = callPackage ../development/tools/misc/dart-sass { };
|
||||
|
||||
pub2nix = recurseIntoAttrs (callPackage ../build-support/dart/pub2nix { });
|
||||
|
||||
buildDartApplication = callPackage ../build-support/dart/build-dart-application { };
|
||||
|
@ -2975,6 +2975,8 @@ self: super: with self; {
|
||||
|
||||
deltachat2 = callPackage ../development/python-modules/deltachat2 { };
|
||||
|
||||
deltalake = callPackage ../development/python-modules/deltalake { };
|
||||
|
||||
deluge-client = callPackage ../development/python-modules/deluge-client { };
|
||||
|
||||
demes = callPackage ../development/python-modules/demes { };
|
||||
|
Loading…
Reference in New Issue
Block a user