Merge master into haskell-updates
This commit is contained in:
@@ -362,6 +362,12 @@ in mkLicense lset) ({
|
||||
fullName = "Creative Commons Attribution Share Alike 4.0";
|
||||
};
|
||||
|
||||
cc-sa-10 = {
|
||||
shortName = "CC-SA-1.0";
|
||||
fullName = "Creative Commons Share Alike 1.0";
|
||||
url = "https://creativecommons.org/licenses/sa/1.0";
|
||||
};
|
||||
|
||||
cddl = {
|
||||
spdxId = "CDDL-1.0";
|
||||
fullName = "Common Development and Distribution License 1.0";
|
||||
|
||||
@@ -15392,6 +15392,12 @@
|
||||
githubId = 920910;
|
||||
name = "peelz";
|
||||
};
|
||||
peigongdsd = {
|
||||
email = "peigong2013@outlook.com";
|
||||
github = "peigongdsd";
|
||||
githubId = 51317171;
|
||||
name = "Peilin Lee";
|
||||
};
|
||||
pelme = {
|
||||
email = "andreas@pelme.se";
|
||||
github = "pelme";
|
||||
|
||||
@@ -822,3 +822,4 @@ Module System:
|
||||
### Internal {#sec-release-24.05-lib-internal}
|
||||
- `lib` now has [Readme for contributing](https://github.com/NixOS/nixpkgs/tree/master/lib#readme).
|
||||
- Some function's documentation is now written using the [accepted doc comment syntax](https://github.com/NixOS/rfcs/pull/145).
|
||||
- `odoo` has been updated from `16.0.20231024` to `17.0.20240507`.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
let
|
||||
cfg = config.services.docuum;
|
||||
inherit (lib) mkIf mkEnableOption mkOption getExe types;
|
||||
inherit (lib) mkIf mkEnableOption mkOption getExe types optionals concatMap;
|
||||
in
|
||||
{
|
||||
options.services.docuum = {
|
||||
@@ -14,6 +14,27 @@ in
|
||||
default = "10 GB";
|
||||
example = "50%";
|
||||
};
|
||||
|
||||
minAge = mkOption {
|
||||
description = "Sets the minimum age of images to be considered for deletion.";
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
example = "1d";
|
||||
};
|
||||
|
||||
keep = mkOption {
|
||||
description = "Prevents deletion of images for which repository:tag matches the specified regex.";
|
||||
type = types.listOf types.str;
|
||||
default = [];
|
||||
example = [ "^my-image" ];
|
||||
};
|
||||
|
||||
deletionChunkSize = mkOption {
|
||||
description = "Removes specified quantity of images at a time.";
|
||||
type = types.int;
|
||||
default = 1;
|
||||
example = 10;
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
@@ -35,10 +56,13 @@ in
|
||||
DynamicUser = true;
|
||||
StateDirectory = "docuum";
|
||||
SupplementaryGroups = [ "docker" ];
|
||||
ExecStart = utils.escapeSystemdExecArgs [
|
||||
ExecStart = utils.escapeSystemdExecArgs ([
|
||||
(getExe pkgs.docuum)
|
||||
"--threshold" cfg.threshold
|
||||
];
|
||||
"--deletion-chunk-size" cfg.deletionChunkSize
|
||||
] ++ (concatMap (keep: [ "--keep" keep ]) cfg.keep)
|
||||
++ (optionals (cfg.minAge != null) [ "--min-age" cfg.minAge ])
|
||||
);
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -52,7 +52,7 @@ following options:
|
||||
|
||||
```nix
|
||||
{
|
||||
services.anki-sync-server.host = "0.0.0.0";
|
||||
services.anki-sync-server.address = "0.0.0.0";
|
||||
services.anki-sync-server.openFirewall = true;
|
||||
}
|
||||
```
|
||||
|
||||
@@ -235,7 +235,7 @@ in
|
||||
timerConfig.OnUnitActiveSec = cfg.cleanupInterval;
|
||||
};
|
||||
|
||||
systemd.services.snapper-boot = lib.optionalAttrs cfg.snapshotRootOnBoot {
|
||||
systemd.services.snapper-boot = lib.mkIf cfg.snapshotRootOnBoot {
|
||||
description = "Take snapper snapshot of root on boot";
|
||||
inherit documentation;
|
||||
serviceConfig.ExecStart = "${pkgs.snapper}/bin/snapper --config root create --cleanup-algorithm number --description boot";
|
||||
|
||||
@@ -414,6 +414,7 @@ in {
|
||||
pyload = handleTest ./pyload.nix {};
|
||||
oci-containers = handleTestOn ["aarch64-linux" "x86_64-linux"] ./oci-containers.nix {};
|
||||
odoo = handleTest ./odoo.nix {};
|
||||
odoo16 = handleTest ./odoo.nix { package = pkgs.odoo16; };
|
||||
odoo15 = handleTest ./odoo.nix { package = pkgs.odoo15; };
|
||||
# 9pnet_virtio used to mount /nix partition doesn't support
|
||||
# hibernation. This test happens to work on x86_64-linux but
|
||||
@@ -834,7 +835,7 @@ in {
|
||||
scrutiny = handleTest ./scrutiny.nix {};
|
||||
sddm = handleTest ./sddm.nix {};
|
||||
seafile = handleTest ./seafile.nix {};
|
||||
searx = handleTest ./searx.nix {};
|
||||
searx = runTest ./searx.nix;
|
||||
seatd = handleTest ./seatd.nix {};
|
||||
service-runner = handleTest ./service-runner.nix {};
|
||||
sftpgo = runTest ./sftpgo.nix;
|
||||
|
||||
@@ -14,6 +14,18 @@ import ./make-test-python.nix ({ pkgs, lib, package ? pkgs.odoo, ...} : {
|
||||
package = package;
|
||||
domain = "localhost";
|
||||
};
|
||||
|
||||
# odoo does not automatically initialize its database,
|
||||
# even if passing what _should_ be the equivalent of these options:
|
||||
# settings = {
|
||||
# options = {
|
||||
# database = "odoo";
|
||||
# init = "base";
|
||||
# };
|
||||
# };
|
||||
systemd.services.odoo.preStart = ''
|
||||
HOME=$STATE_DIRECTORY ${package}/bin/odoo -d odoo -i base --stop-after-init --without-demo all
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
+86
-86
@@ -1,4 +1,4 @@
|
||||
import ./make-test-python.nix ({ pkgs, ...} :
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
name = "searx";
|
||||
@@ -7,108 +7,108 @@ import ./make-test-python.nix ({ pkgs, ...} :
|
||||
};
|
||||
|
||||
# basic setup: searx running the built-in webserver
|
||||
nodes.base = { ... }: {
|
||||
imports = [ ../modules/profiles/minimal.nix ];
|
||||
nodes.base =
|
||||
{ ... }:
|
||||
{
|
||||
services.searx = {
|
||||
enable = true;
|
||||
environmentFile = pkgs.writeText "secrets" ''
|
||||
WOLFRAM_API_KEY = sometoken
|
||||
SEARX_SECRET_KEY = somesecret
|
||||
'';
|
||||
|
||||
services.searx = {
|
||||
enable = true;
|
||||
environmentFile = pkgs.writeText "secrets" ''
|
||||
WOLFRAM_API_KEY = sometoken
|
||||
SEARX_SECRET_KEY = somesecret
|
||||
'';
|
||||
|
||||
settings.server =
|
||||
{ port = "8080";
|
||||
settings.server = {
|
||||
port = "8080";
|
||||
bind_address = "0.0.0.0";
|
||||
secret_key = "@SEARX_SECRET_KEY@";
|
||||
};
|
||||
settings.engines = [
|
||||
{ name = "wolframalpha";
|
||||
api_key = "@WOLFRAM_API_KEY@";
|
||||
engine = "wolframalpha_api";
|
||||
}
|
||||
{ name = "startpage";
|
||||
shortcut = "start";
|
||||
}
|
||||
];
|
||||
};
|
||||
settings.engines = [
|
||||
{
|
||||
name = "wolframalpha";
|
||||
api_key = "@WOLFRAM_API_KEY@";
|
||||
engine = "wolframalpha_api";
|
||||
}
|
||||
{
|
||||
name = "startpage";
|
||||
shortcut = "start";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
# fancy setup: run in uWSGI and use nginx as proxy
|
||||
nodes.fancy = { config, ... }: {
|
||||
imports = [ ../modules/profiles/minimal.nix ];
|
||||
nodes.fancy =
|
||||
{ config, ... }:
|
||||
{
|
||||
services.searx = {
|
||||
enable = true;
|
||||
# searx refuses to run if unchanged
|
||||
settings.server.secret_key = "somesecret";
|
||||
|
||||
services.searx = {
|
||||
enable = true;
|
||||
# searx refuses to run if unchanged
|
||||
settings.server.secret_key = "somesecret";
|
||||
runInUwsgi = true;
|
||||
uwsgiConfig = {
|
||||
# serve using the uwsgi protocol
|
||||
socket = "/run/searx/uwsgi.sock";
|
||||
chmod-socket = "660";
|
||||
|
||||
runInUwsgi = true;
|
||||
uwsgiConfig = {
|
||||
# serve using the uwsgi protocol
|
||||
socket = "/run/searx/uwsgi.sock";
|
||||
chmod-socket = "660";
|
||||
|
||||
# use /searx as url "mountpoint"
|
||||
mount = "/searx=searx.webapp:application";
|
||||
module = "";
|
||||
manage-script-name = true;
|
||||
# use /searx as url "mountpoint"
|
||||
mount = "/searx=searx.webapp:application";
|
||||
module = "";
|
||||
manage-script-name = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# use nginx as reverse proxy
|
||||
services.nginx.enable = true;
|
||||
services.nginx.virtualHosts.localhost = {
|
||||
locations."/searx".extraConfig =
|
||||
''
|
||||
# use nginx as reverse proxy
|
||||
services.nginx.enable = true;
|
||||
services.nginx.virtualHosts.localhost = {
|
||||
locations."/searx".extraConfig = ''
|
||||
include ${pkgs.nginx}/conf/uwsgi_params;
|
||||
uwsgi_pass unix:/run/searx/uwsgi.sock;
|
||||
'';
|
||||
locations."/searx/static/".alias = "${config.services.searx.package}/share/static/";
|
||||
locations."/searx/static/".alias = "${config.services.searx.package}/share/static/";
|
||||
};
|
||||
|
||||
# allow nginx access to the searx socket
|
||||
users.users.nginx.extraGroups = [ "searx" ];
|
||||
|
||||
};
|
||||
|
||||
# allow nginx access to the searx socket
|
||||
users.users.nginx.extraGroups = [ "searx" ];
|
||||
testScript = ''
|
||||
base.start()
|
||||
|
||||
};
|
||||
with subtest("Settings have been merged"):
|
||||
base.wait_for_unit("searx-init")
|
||||
base.wait_for_file("/run/searx/settings.yml")
|
||||
output = base.succeed(
|
||||
"${pkgs.yq-go}/bin/yq eval"
|
||||
" '.engines[] | select(.name==\"startpage\") | .shortcut'"
|
||||
" /run/searx/settings.yml"
|
||||
).strip()
|
||||
assert output == "start", "Settings not merged"
|
||||
|
||||
testScript =
|
||||
''
|
||||
base.start()
|
||||
with subtest("Environment variables have been substituted"):
|
||||
base.succeed("grep -q somesecret /run/searx/settings.yml")
|
||||
base.succeed("grep -q sometoken /run/searx/settings.yml")
|
||||
base.copy_from_vm("/run/searx/settings.yml")
|
||||
|
||||
with subtest("Settings have been merged"):
|
||||
base.wait_for_unit("searx-init")
|
||||
base.wait_for_file("/run/searx/settings.yml")
|
||||
output = base.succeed(
|
||||
"${pkgs.yq-go}/bin/yq eval"
|
||||
" '.engines[] | select(.name==\"startpage\") | .shortcut'"
|
||||
" /run/searx/settings.yml"
|
||||
).strip()
|
||||
assert output == "start", "Settings not merged"
|
||||
with subtest("Basic setup is working"):
|
||||
base.wait_for_open_port(8080)
|
||||
base.wait_for_unit("searx")
|
||||
base.succeed(
|
||||
"${pkgs.curl}/bin/curl --fail http://localhost:8080"
|
||||
)
|
||||
base.shutdown()
|
||||
|
||||
with subtest("Environment variables have been substituted"):
|
||||
base.succeed("grep -q somesecret /run/searx/settings.yml")
|
||||
base.succeed("grep -q sometoken /run/searx/settings.yml")
|
||||
base.copy_from_vm("/run/searx/settings.yml")
|
||||
|
||||
with subtest("Basic setup is working"):
|
||||
base.wait_for_open_port(8080)
|
||||
base.wait_for_unit("searx")
|
||||
base.succeed(
|
||||
"${pkgs.curl}/bin/curl --fail http://localhost:8080"
|
||||
)
|
||||
base.shutdown()
|
||||
|
||||
with subtest("Nginx+uWSGI setup is working"):
|
||||
fancy.start()
|
||||
fancy.wait_for_open_port(80)
|
||||
fancy.wait_for_unit("uwsgi")
|
||||
fancy.succeed(
|
||||
"${pkgs.curl}/bin/curl --fail http://localhost/searx >&2"
|
||||
)
|
||||
fancy.succeed(
|
||||
"${pkgs.curl}/bin/curl --fail http://localhost/searx/static/themes/simple/js/leaflet.js >&2"
|
||||
)
|
||||
'';
|
||||
})
|
||||
with subtest("Nginx+uWSGI setup is working"):
|
||||
fancy.start()
|
||||
fancy.wait_for_open_port(80)
|
||||
fancy.wait_for_unit("uwsgi")
|
||||
fancy.succeed(
|
||||
"${pkgs.curl}/bin/curl --fail http://localhost/searx >&2"
|
||||
)
|
||||
fancy.succeed(
|
||||
"${pkgs.curl}/bin/curl --fail http://localhost/searx/static/themes/simple/js/leaflet.js >&2"
|
||||
)
|
||||
'';
|
||||
}
|
||||
|
||||
@@ -19,7 +19,9 @@ import ./make-test-python.nix ({ ... }:
|
||||
services.snapper.filters = "/nix";
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
testScript = { nodes, ... }: let
|
||||
inherit (nodes.machine.services.snapper) snapshotRootOnBoot;
|
||||
in ''
|
||||
machine.succeed("btrfs subvolume create /home/.snapshots")
|
||||
machine.succeed("snapper -c home list")
|
||||
machine.succeed("snapper -c home create --description empty")
|
||||
@@ -31,5 +33,6 @@ import ./make-test-python.nix ({ ... }:
|
||||
machine.succeed("snapper -c home delete 2")
|
||||
machine.succeed("systemctl --wait start snapper-timeline.service")
|
||||
machine.succeed("systemctl --wait start snapper-cleanup.service")
|
||||
machine.${if snapshotRootOnBoot then "succeed" else "fail"}("systemctl cat snapper-boot.service")
|
||||
'';
|
||||
})
|
||||
|
||||
@@ -1,25 +1,65 @@
|
||||
{ lib, stdenv, fetchurl, pkg-config, intltool, gtk3, glib, libid3tag, id3lib, taglib
|
||||
, libvorbis, libogg, opusfile, flac, itstool, libxml2, gsettings-desktop-schemas
|
||||
, gnome, wrapGAppsHook3
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
pkg-config,
|
||||
intltool,
|
||||
gtk3,
|
||||
glib,
|
||||
libid3tag,
|
||||
id3lib,
|
||||
taglib,
|
||||
libvorbis,
|
||||
libogg,
|
||||
opusfile,
|
||||
flac,
|
||||
itstool,
|
||||
libxml2,
|
||||
gsettings-desktop-schemas,
|
||||
gnome,
|
||||
wrapGAppsHook3,
|
||||
fetchpatch,
|
||||
}:
|
||||
|
||||
let
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "easytag";
|
||||
version = "2.4.3";
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
sha256 = "1mbxnqrw1fwcgraa1bgik25vdzvf97vma5pzknbwbqq5ly9fwlgw";
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
hash = "sha256-/FHukqcF48WXnf8WVfdJbv+2i5jxraBUfoy7wDO2fdU=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://gitlab.gnome.org/GNOME/easytag/-/merge_requests/8
|
||||
# Borrowed from Gentoo
|
||||
(fetchpatch {
|
||||
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-sound/easytag/files/easytag-2.4.3-ogg-corruption.patch?id=b175a159c1138702bdfb009ff4d6565019ed3c4a";
|
||||
hash = "sha256-z75dYTEVp1raSFROjpakLeBjF96sgWBxxRB6ut9wYXw=";
|
||||
})
|
||||
];
|
||||
|
||||
NIX_LDFLAGS = "-lid3tag -lz";
|
||||
|
||||
nativeBuildInputs = [ pkg-config intltool itstool libxml2 wrapGAppsHook3 ];
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
intltool
|
||||
itstool
|
||||
libxml2
|
||||
wrapGAppsHook3
|
||||
];
|
||||
buildInputs = [
|
||||
gtk3 glib libid3tag id3lib taglib libvorbis libogg opusfile flac
|
||||
gsettings-desktop-schemas gnome.adwaita-icon-theme
|
||||
gtk3
|
||||
glib
|
||||
libid3tag
|
||||
id3lib
|
||||
taglib
|
||||
libvorbis
|
||||
libogg
|
||||
opusfile
|
||||
flac
|
||||
gsettings-desktop-schemas
|
||||
gnome.adwaita-icon-theme
|
||||
];
|
||||
|
||||
doCheck = false; # fails 1 out of 9 tests
|
||||
@@ -36,7 +76,7 @@ in stdenv.mkDerivation rec {
|
||||
mainProgram = "easytag";
|
||||
homepage = "https://gitlab.gnome.org/GNOME/easytag";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ matteopacini ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,24 +1,25 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitLab
|
||||
, fetchFromGitea
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "restic-integrity";
|
||||
version = "1.2.1";
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.upi.li";
|
||||
version = "1.2.2";
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "git.nwex.de";
|
||||
owner = "networkException";
|
||||
repo = "restic-integrity";
|
||||
rev = version;
|
||||
hash = "sha256-/n8muqW9ol0AY9RM3N4nqLDw0U1h0308M1uRCMS2kOM=";
|
||||
hash = "sha256-QiISJCxxJH8wQeH/klB48POn6W9juQmIMCLGzGSyl6w=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-TYDPzjWxTK9hQhzSknkCao9lq9UjZN3yQX3wtkMmP6E=";
|
||||
cargoHash = "sha256-GxehJjDd0AHbEc8kPWyLXAOPbrPCT59LddAL1ydnT5g=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "CLI tool to check the integrity of a restic repository without unlocking it";
|
||||
homepage = "https://gitlab.upi.li/networkException/restic-integrity";
|
||||
homepage = "https://git.nwex.de/networkException/restic-integrity";
|
||||
license = with licenses; [ bsd2 ];
|
||||
maintainers = with maintainers; [ janik ];
|
||||
mainProgram = "restic-integrity";
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lightdm-slick-greeter";
|
||||
version = "2.0.4";
|
||||
version = "2.0.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = "slick-greeter";
|
||||
rev = version;
|
||||
sha256 = "sha256-1UOODak5YkoMLdIkN1rBIrlr3Zjj5SS2yx90vmF1prA=";
|
||||
sha256 = "sha256-Q37CprukHvDRBcuPbfusKg2DY+JCwmjVX1+KnfSH2iw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
let
|
||||
|
||||
jbr = jetbrains.jdk-no-jcef;
|
||||
jbr = jetbrains.jdk-no-jcef-17;
|
||||
|
||||
ideaSrc = fetchFromGitHub {
|
||||
owner = "jetbrains";
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"new": "vim-fern"
|
||||
},
|
||||
"gina-vim": {
|
||||
"date": "2024-06-11",
|
||||
"date": "2024-06-19",
|
||||
"new": "vim-gina"
|
||||
},
|
||||
"gist-vim": {
|
||||
@@ -60,7 +60,7 @@
|
||||
"new": "vim-suda"
|
||||
},
|
||||
"vim-fsharp": {
|
||||
"date": "2024-06-11",
|
||||
"date": "2024-06-19",
|
||||
"new": "zarchive-vim-fsharp"
|
||||
},
|
||||
"vim-jade": {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -303,12 +303,12 @@
|
||||
};
|
||||
corn = buildGrammar {
|
||||
language = "corn";
|
||||
version = "0.0.0+rev=604d73c";
|
||||
version = "0.0.0+rev=4646547";
|
||||
src = fetchFromGitHub {
|
||||
owner = "jakestanger";
|
||||
repo = "tree-sitter-corn";
|
||||
rev = "604d73c38d4c28ca68e9e441ffd405d68cb63051";
|
||||
hash = "sha256-ewpLp+se6XTY8aRoz247YlouS1p/kaS7CqVFu412C+Q=";
|
||||
rev = "464654742cbfd3a3de560aba120998f1d5dfa844";
|
||||
hash = "sha256-fI7S+TkI2ofQ/Hal4CJ2HAaeQrjOju1rgJvyc6P3t9k=";
|
||||
};
|
||||
meta.homepage = "https://github.com/jakestanger/tree-sitter-corn";
|
||||
};
|
||||
@@ -325,12 +325,12 @@
|
||||
};
|
||||
cpp = buildGrammar {
|
||||
language = "cpp";
|
||||
version = "0.0.0+rev=9d412ba";
|
||||
version = "0.0.0+rev=7ce8946";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tree-sitter";
|
||||
repo = "tree-sitter-cpp";
|
||||
rev = "9d412ba7e597fe158f209da33e60f31b1f0df967";
|
||||
hash = "sha256-mMHNRKhfhI+OXmNOf1nlVr7JWmJ8BJMOJdaXqv3pk9w=";
|
||||
rev = "7ce8946cae4bb25adebe5b50394f702beb007026";
|
||||
hash = "sha256-haU0fXNwYh3YaP8VMY1krRHxrGvNkDV4hMcxp5z9TVA=";
|
||||
};
|
||||
meta.homepage = "https://github.com/tree-sitter/tree-sitter-cpp";
|
||||
};
|
||||
@@ -447,12 +447,12 @@
|
||||
};
|
||||
djot = buildGrammar {
|
||||
language = "djot";
|
||||
version = "0.0.0+rev=ea851b9";
|
||||
version = "0.0.0+rev=87bf828";
|
||||
src = fetchFromGitHub {
|
||||
owner = "treeman";
|
||||
repo = "tree-sitter-djot";
|
||||
rev = "ea851b9cf1a71e475f4e2ac4dc03609a1b9ca56d";
|
||||
hash = "sha256-6vekPB1IufGuMhX+n2Ve9EMXqZdX6FlBuI/lh/8/msw=";
|
||||
rev = "87bf82874c86dcf563f5521069d603ed50e5f0cc";
|
||||
hash = "sha256-abAEVbS9hqc1uHx6NxXRBA2SLrCL3gBBPLgAK9Tz3G4=";
|
||||
};
|
||||
meta.homepage = "https://github.com/treeman/tree-sitter-djot";
|
||||
};
|
||||
@@ -503,12 +503,12 @@
|
||||
};
|
||||
earthfile = buildGrammar {
|
||||
language = "earthfile";
|
||||
version = "0.0.0+rev=b267228";
|
||||
version = "0.0.0+rev=b5bdcb5";
|
||||
src = fetchFromGitHub {
|
||||
owner = "glehmann";
|
||||
repo = "tree-sitter-earthfile";
|
||||
rev = "b2672286174c078eb80cdffc61375d0364e7fafb";
|
||||
hash = "sha256-Vyme1ghs61lyitnwukccXbzAOeuiPbS1vvrvT9y1rbs=";
|
||||
rev = "b5bdcb5813ce0e582fbd8e03eb42c80d3cc8984e";
|
||||
hash = "sha256-fhHu8kniYOLhrlHLgfP1NHtBxURrM7GNn51zmPNcTIU=";
|
||||
};
|
||||
meta.homepage = "https://github.com/glehmann/tree-sitter-earthfile";
|
||||
};
|
||||
@@ -1032,12 +1032,12 @@
|
||||
};
|
||||
hcl = buildGrammar {
|
||||
language = "hcl";
|
||||
version = "0.0.0+rev=e936d3f";
|
||||
version = "0.0.0+rev=422cbe1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "MichaHoffmann";
|
||||
repo = "tree-sitter-hcl";
|
||||
rev = "e936d3fef8bac884661472dce71ad82284761eb1";
|
||||
hash = "sha256-lcvs4auZrMb1f9ocrAnLVxX8JnvrPT18LsJBqoNG9Oo=";
|
||||
rev = "422cbe1d93a8ae3847744b664041fc76876babcd";
|
||||
hash = "sha256-PrA/F8IIJDzr2HjX9NToApzbM7nO+NesMcKhOQyOyNU=";
|
||||
};
|
||||
meta.homepage = "https://github.com/MichaHoffmann/tree-sitter-hcl";
|
||||
};
|
||||
@@ -1165,12 +1165,12 @@
|
||||
};
|
||||
hyprlang = buildGrammar {
|
||||
language = "hyprlang";
|
||||
version = "0.0.0+rev=e5da7d0";
|
||||
version = "0.0.0+rev=c9012d6";
|
||||
src = fetchFromGitHub {
|
||||
owner = "luckasRanarison";
|
||||
repo = "tree-sitter-hyprlang";
|
||||
rev = "e5da7d0aa44403153e0394d87d9edea4e5bd6609";
|
||||
hash = "sha256-jKp880I0XkApB3aFINAPfwn1txuMwalh4NrLUHan3H4=";
|
||||
rev = "c9012d6dcaaa939f17c21e1fdb17b013d139e6b9";
|
||||
hash = "sha256-yI/3DVX2SgvU+mP1KVe7OA8OtqXbaZG9/mTUQjUHCgk=";
|
||||
};
|
||||
meta.homepage = "https://github.com/luckasRanarison/tree-sitter-hyprlang";
|
||||
};
|
||||
@@ -1220,12 +1220,12 @@
|
||||
};
|
||||
janet_simple = buildGrammar {
|
||||
language = "janet_simple";
|
||||
version = "0.0.0+rev=6bfbaad";
|
||||
version = "0.0.0+rev=2a05cab";
|
||||
src = fetchFromGitHub {
|
||||
owner = "sogaiu";
|
||||
repo = "tree-sitter-janet-simple";
|
||||
rev = "6bfbaadac2ba0da21087041eff85d26129c4c920";
|
||||
hash = "sha256-O06k8ruDFf16VVNb44Sz0maRQkrpFgsePzKjPUNteX8=";
|
||||
rev = "2a05cab838dfec52daa76f10920917d2e69a85bc";
|
||||
hash = "sha256-NOnm40FSzTX6Pf4NchH0hYcTwyxX/usEVKxz8KsIlk4=";
|
||||
};
|
||||
meta.homepage = "https://github.com/sogaiu/tree-sitter-janet-simple";
|
||||
};
|
||||
@@ -1452,12 +1452,12 @@
|
||||
};
|
||||
liquid = buildGrammar {
|
||||
language = "liquid";
|
||||
version = "0.0.0+rev=2933698";
|
||||
version = "0.0.0+rev=0419ac4";
|
||||
src = fetchFromGitHub {
|
||||
owner = "hankthetank27";
|
||||
repo = "tree-sitter-liquid";
|
||||
rev = "293369818da219d97327908aab33707b04b63fd9";
|
||||
hash = "sha256-RmpVKvQfk4IQuE3KOTL3nbBS7LSpBlvMpl5JDAAKb5Q=";
|
||||
rev = "0419ac4868585320eee8615c90b864a1b04ef433";
|
||||
hash = "sha256-1FPDsQSPM86NvMrmxIOVnIC65bUOFtKEwRuAtMDbw6M=";
|
||||
};
|
||||
meta.homepage = "https://github.com/hankthetank27/tree-sitter-liquid";
|
||||
};
|
||||
@@ -2099,12 +2099,12 @@
|
||||
};
|
||||
qmljs = buildGrammar {
|
||||
language = "qmljs";
|
||||
version = "0.0.0+rev=2c57cac";
|
||||
version = "0.0.0+rev=febf48a";
|
||||
src = fetchFromGitHub {
|
||||
owner = "yuja";
|
||||
repo = "tree-sitter-qmljs";
|
||||
rev = "2c57cac27e207425f8df15327884434cb12365a3";
|
||||
hash = "sha256-LFOujMN9HMtDqjq2ZOP0oxydQHFS0wvL6ORBqruGXeM=";
|
||||
rev = "febf48a5b6928600cd8fb2a01254743af550780d";
|
||||
hash = "sha256-bRb5h6gBBxbzhxpCxJK8CsQ5BCtPTuKtuZesE/+mDY0=";
|
||||
};
|
||||
meta.homepage = "https://github.com/yuja/tree-sitter-qmljs";
|
||||
};
|
||||
@@ -2165,12 +2165,12 @@
|
||||
};
|
||||
rbs = buildGrammar {
|
||||
language = "rbs";
|
||||
version = "0.0.0+rev=e5e807a";
|
||||
version = "0.0.0+rev=88d8ed4";
|
||||
src = fetchFromGitHub {
|
||||
owner = "joker1007";
|
||||
repo = "tree-sitter-rbs";
|
||||
rev = "e5e807a50fcd104a2d740d354632fc671700a0bf";
|
||||
hash = "sha256-xEh1oHrLPjLT5LSJfOBFgi0nholVr8EFVGlEMPNIxSI=";
|
||||
rev = "88d8ed487b5449ddda2fc0c4fe23b71cba29ca24";
|
||||
hash = "sha256-z7Ls0SXh18bRMX+FpVIzaeeuItyeCTOnGgQ3tDyrtSU=";
|
||||
};
|
||||
meta.homepage = "https://github.com/joker1007/tree-sitter-rbs";
|
||||
};
|
||||
@@ -2209,12 +2209,12 @@
|
||||
};
|
||||
rego = buildGrammar {
|
||||
language = "rego";
|
||||
version = "0.0.0+rev=23b1da8";
|
||||
version = "0.0.0+rev=20b5a59";
|
||||
src = fetchFromGitHub {
|
||||
owner = "FallenAngel97";
|
||||
repo = "tree-sitter-rego";
|
||||
rev = "23b1da8de9766d766c4f01531e8be14b5c00c493";
|
||||
hash = "sha256-h0z060AFhbQJDyJen3yAjMDxi5nY/QX/KPus2y8oFY0=";
|
||||
rev = "20b5a5958c837bc9f74b231022a68a594a313f6d";
|
||||
hash = "sha256-XwlVsOlxYzB0x+T05iuIp7nFAoQkMByKiHXZ0t5QsjI=";
|
||||
};
|
||||
meta.homepage = "https://github.com/FallenAngel97/tree-sitter-rego";
|
||||
};
|
||||
@@ -2253,14 +2253,14 @@
|
||||
};
|
||||
roc = buildGrammar {
|
||||
language = "roc";
|
||||
version = "0.0.0+rev=7df2c08";
|
||||
version = "0.0.0+rev=df46a85";
|
||||
src = fetchFromGitHub {
|
||||
owner = "nat-418";
|
||||
owner = "faldor20";
|
||||
repo = "tree-sitter-roc";
|
||||
rev = "7df2c0892e62efb81a7504d9799d4e0d0443d241";
|
||||
hash = "sha256-8HJH63NcSuqmPviVWO+UE27ydoU7vRXEIXSTjKLSYvk=";
|
||||
rev = "df46a85abda9f948d38f5d4e3684cec49c42fef2";
|
||||
hash = "sha256-4E9ZnMizo+1wnnkYSPNKMkTTyDKRJT+JqtUWoJH45aA=";
|
||||
};
|
||||
meta.homepage = "https://github.com/nat-418/tree-sitter-roc";
|
||||
meta.homepage = "https://github.com/faldor20/tree-sitter-roc";
|
||||
};
|
||||
ron = buildGrammar {
|
||||
language = "ron";
|
||||
@@ -2397,23 +2397,23 @@
|
||||
};
|
||||
snakemake = buildGrammar {
|
||||
language = "snakemake";
|
||||
version = "0.0.0+rev=ba1b386";
|
||||
version = "0.0.0+rev=5a7b140";
|
||||
src = fetchFromGitHub {
|
||||
owner = "osthomas";
|
||||
repo = "tree-sitter-snakemake";
|
||||
rev = "ba1b3868eaa960b945593404af9a7c2f296d3643";
|
||||
hash = "sha256-7xYevZTRZwhotT2rBigrRT4w5j4TVgyB416a2XWTL+I=";
|
||||
rev = "5a7b14074bca95b25935e865ca8f1efad32317e4";
|
||||
hash = "sha256-mYqftgJOnlWgQZrXaNtFXvjRQgC14PXYyruTVw5J8Zg=";
|
||||
};
|
||||
meta.homepage = "https://github.com/osthomas/tree-sitter-snakemake";
|
||||
};
|
||||
solidity = buildGrammar {
|
||||
language = "solidity";
|
||||
version = "0.0.0+rev=1c94fe3";
|
||||
version = "0.0.0+rev=ee5a2d2";
|
||||
src = fetchFromGitHub {
|
||||
owner = "JoranHonig";
|
||||
repo = "tree-sitter-solidity";
|
||||
rev = "1c94fe3d5351dfcff3551ec1f49614cbf758e444";
|
||||
hash = "sha256-8UWFIqvd2L0BpVBF/7XLcOyGq5xDd2kJbzfzMpzEZbU=";
|
||||
rev = "ee5a2d2ba30b487c4bbf613d2ef310a454c09c7c";
|
||||
hash = "sha256-q9SFHnxBUDet65WuxxYFS3N8xDHuQz7K2LWED7uSaWA=";
|
||||
};
|
||||
meta.homepage = "https://github.com/JoranHonig/tree-sitter-solidity";
|
||||
};
|
||||
@@ -2553,23 +2553,23 @@
|
||||
};
|
||||
svelte = buildGrammar {
|
||||
language = "svelte";
|
||||
version = "0.0.0+rev=2c97326";
|
||||
version = "0.0.0+rev=7218cf6";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tree-sitter-grammars";
|
||||
repo = "tree-sitter-svelte";
|
||||
rev = "2c97326cd96b7c3016c3d249e8dc244c89b4abeb";
|
||||
hash = "sha256-rlfLelXjNLtQ2/UACwxB3QO5l+QYFLsfGnBaxTAtgTE=";
|
||||
rev = "7218cf622b057ae9c530e1f0a7a3ce49806ca55e";
|
||||
hash = "sha256-mS4KxJXXb/EzQB5H+Pj+/SEbCTerGFjKiJah8oAGA8c=";
|
||||
};
|
||||
meta.homepage = "https://github.com/tree-sitter-grammars/tree-sitter-svelte";
|
||||
};
|
||||
swift = buildGrammar {
|
||||
language = "swift";
|
||||
version = "0.0.0+rev=13ffaec";
|
||||
version = "0.0.0+rev=d657f98";
|
||||
src = fetchFromGitHub {
|
||||
owner = "alex-pinkus";
|
||||
repo = "tree-sitter-swift";
|
||||
rev = "13ffaec4068facfff608e3afbdb7a581c185f6a6";
|
||||
hash = "sha256-Y1QioBOgrziHsBkbSVt/N1FnjDxYKZK4WulMQcqyrEU=";
|
||||
rev = "d657f98dd6bbc34cb48438c9e5956f15a6d89f1d";
|
||||
hash = "sha256-KE+qjTP3UWKvcLJPYIJmEGeKBWAdpCzgW4/vIccueng=";
|
||||
};
|
||||
generate = true;
|
||||
meta.homepage = "https://github.com/alex-pinkus/tree-sitter-swift";
|
||||
@@ -2665,12 +2665,12 @@
|
||||
};
|
||||
terraform = buildGrammar {
|
||||
language = "terraform";
|
||||
version = "0.0.0+rev=e936d3f";
|
||||
version = "0.0.0+rev=422cbe1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "MichaHoffmann";
|
||||
repo = "tree-sitter-hcl";
|
||||
rev = "e936d3fef8bac884661472dce71ad82284761eb1";
|
||||
hash = "sha256-lcvs4auZrMb1f9ocrAnLVxX8JnvrPT18LsJBqoNG9Oo=";
|
||||
rev = "422cbe1d93a8ae3847744b664041fc76876babcd";
|
||||
hash = "sha256-PrA/F8IIJDzr2HjX9NToApzbM7nO+NesMcKhOQyOyNU=";
|
||||
};
|
||||
location = "dialects/terraform";
|
||||
meta.homepage = "https://github.com/MichaHoffmann/tree-sitter-hcl";
|
||||
@@ -2766,12 +2766,12 @@
|
||||
};
|
||||
tsx = buildGrammar {
|
||||
language = "tsx";
|
||||
version = "0.0.0+rev=4ad3010";
|
||||
version = "0.0.0+rev=4f3eb66";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tree-sitter";
|
||||
repo = "tree-sitter-typescript";
|
||||
rev = "4ad3010c91d700026d036b5230e2d99ba94ae8a4";
|
||||
hash = "sha256-9GCo/xjP6J/tEimx4ce2Qd7XhhbSuWZoTVrysac7BOw=";
|
||||
rev = "4f3eb6655a1cd1a1f87ef10201f8e22886dcd76e";
|
||||
hash = "sha256-f/xk4MdGVvkZv0642aOwA9UFZSb0GvoLu+jgXUp/bhw=";
|
||||
};
|
||||
location = "tsx";
|
||||
meta.homepage = "https://github.com/tree-sitter/tree-sitter-typescript";
|
||||
@@ -2789,23 +2789,23 @@
|
||||
};
|
||||
twig = buildGrammar {
|
||||
language = "twig";
|
||||
version = "0.0.0+rev=eaf80e6";
|
||||
version = "0.0.0+rev=085648e";
|
||||
src = fetchFromGitHub {
|
||||
owner = "gbprod";
|
||||
repo = "tree-sitter-twig";
|
||||
rev = "eaf80e6af969e25993576477a9dbdba3e48c1305";
|
||||
hash = "sha256-fp7HcdJEFxi/zBFSrM86THwBMpqFwAGugcTVbPk3bd4=";
|
||||
rev = "085648e01d1422163a1702a44e72303b4e2a0bd1";
|
||||
hash = "sha256-87jFYAAnblTeEdlXqTjyiiNee/OgasPam1b2xyKQIHY=";
|
||||
};
|
||||
meta.homepage = "https://github.com/gbprod/tree-sitter-twig";
|
||||
};
|
||||
typescript = buildGrammar {
|
||||
language = "typescript";
|
||||
version = "0.0.0+rev=4ad3010";
|
||||
version = "0.0.0+rev=4f3eb66";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tree-sitter";
|
||||
repo = "tree-sitter-typescript";
|
||||
rev = "4ad3010c91d700026d036b5230e2d99ba94ae8a4";
|
||||
hash = "sha256-9GCo/xjP6J/tEimx4ce2Qd7XhhbSuWZoTVrysac7BOw=";
|
||||
rev = "4f3eb6655a1cd1a1f87ef10201f8e22886dcd76e";
|
||||
hash = "sha256-f/xk4MdGVvkZv0642aOwA9UFZSb0GvoLu+jgXUp/bhw=";
|
||||
};
|
||||
location = "typescript";
|
||||
meta.homepage = "https://github.com/tree-sitter/tree-sitter-typescript";
|
||||
@@ -2901,12 +2901,12 @@
|
||||
};
|
||||
v = buildGrammar {
|
||||
language = "v";
|
||||
version = "0.0.0+rev=7e11a6f";
|
||||
version = "0.0.0+rev=e91f8a4";
|
||||
src = fetchFromGitHub {
|
||||
owner = "vlang";
|
||||
repo = "v-analyzer";
|
||||
rev = "7e11a6f8f369df935664fadd2f0c99d90fe3226f";
|
||||
hash = "sha256-zCXfYW8NCsdqKKEMkZUudpCEQM4bLePyCGFS0w86DY0=";
|
||||
rev = "e91f8a42de7842f24f4ce600754f2b6651985fd4";
|
||||
hash = "sha256-38nerR7oZBwxXWd08QqEEMSxAZqXRHCRdLbMEbRhcQI=";
|
||||
};
|
||||
location = "tree_sitter_v";
|
||||
meta.homepage = "https://github.com/vlang/v-analyzer";
|
||||
@@ -3101,12 +3101,12 @@
|
||||
};
|
||||
zig = buildGrammar {
|
||||
language = "zig";
|
||||
version = "0.0.0+rev=0d08703";
|
||||
version = "0.0.0+rev=7c5a29b";
|
||||
src = fetchFromGitHub {
|
||||
owner = "maxxnino";
|
||||
repo = "tree-sitter-zig";
|
||||
rev = "0d08703e4c3f426ec61695d7617415fff97029bd";
|
||||
hash = "sha256-a3W7eBUN4V3HD3YPr1+3tpuWQfIQy1Wu8qxCQx0hEnI=";
|
||||
rev = "7c5a29b721d409be8842017351bf007d7e384401";
|
||||
hash = "sha256-UXJCh8GvXzn+sssTrIsLViXD3TiBZhLFABYCKM+fNMQ=";
|
||||
};
|
||||
meta.homepage = "https://github.com/maxxnino/tree-sitter-zig";
|
||||
};
|
||||
|
||||
@@ -691,7 +691,7 @@ https://github.com/yamatsum/nvim-nonicons/,,
|
||||
https://github.com/rcarriga/nvim-notify/,,
|
||||
https://github.com/LhKipp/nvim-nu/,HEAD,
|
||||
https://github.com/ojroques/nvim-osc52/,,
|
||||
https://github.com/julienvincent/nvim-paredit,,
|
||||
https://github.com/julienvincent/nvim-paredit/,,
|
||||
https://github.com/gpanders/nvim-parinfer/,HEAD,
|
||||
https://github.com/gennaro-tedesco/nvim-peekup/,,
|
||||
https://github.com/yorickpeterse/nvim-pqf/,HEAD,
|
||||
@@ -760,7 +760,7 @@ https://github.com/drewtempelmeyer/palenight.vim/,,
|
||||
https://github.com/JoosepAlviste/palenightfall.nvim/,,
|
||||
https://github.com/roobert/palette.nvim/,HEAD,
|
||||
https://github.com/NLKNguyen/papercolor-theme/,,
|
||||
https://github.com/dundalek/parpar.nvim,,
|
||||
https://github.com/dundalek/parpar.nvim/,,
|
||||
https://github.com/tmsvg/pear-tree/,,
|
||||
https://github.com/steelsojka/pears.nvim/,,
|
||||
https://github.com/olimorris/persisted.nvim/,HEAD,
|
||||
|
||||
@@ -3362,6 +3362,23 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
ms-vscode-remote.remote-wsl = buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
name = "remote-wsl";
|
||||
publisher = "ms-vscode-remote";
|
||||
version = "0.88.2";
|
||||
hash = "sha256-fl7fLNd3EHA9eMiPUIL/23SUiA81gveqZLFkqaHTX+Q=";
|
||||
};
|
||||
meta = {
|
||||
changelog = "https://marketplace.visualstudio.com/items/ms-vscode-remote.remote-wsl/changelog";
|
||||
description = "Windows Subsystem for Linux support for Visual Studio Code";
|
||||
downloadPage = "https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-wsl";
|
||||
homepage = "https://code.visualstudio.com/docs/remote/wsl";
|
||||
license = lib.licenses.unfree;
|
||||
maintainers = [ lib.maintainers.uncenter ];
|
||||
};
|
||||
};
|
||||
|
||||
ms-vsliveshare.vsliveshare = callPackage ./ms-vsliveshare.vsliveshare { };
|
||||
|
||||
mshr-h.veriloghdl = buildVscodeMarketplaceExtension {
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "clifm";
|
||||
version = "1.18";
|
||||
version = "1.19";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "leo-arch";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-tgCGZCLCWcF7ktXqDHjoUkeVqxg6QVOkZb7pbk3nA+U=";
|
||||
hash = "sha256-QNxEvFZ5e4jQV2Tv2/D9KPRDoCoQlrqStFnbKVgcXxg=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p curl gnused nix coreutils nix-prefetch
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
DOCKER=$(curl -s https://raw.githubusercontent.com/odoo/docker/master/16.0/Dockerfile)
|
||||
|
||||
get_var() {
|
||||
echo "$DOCKER" | grep -E "^[A-Z][A-Z][A-Z] ODOO_$1" | sed -r "s|^[A-Z]{3} ODOO_$1.||g"
|
||||
}
|
||||
|
||||
VERSION=$(get_var VERSION)
|
||||
RELEASE=$(get_var RELEASE)
|
||||
|
||||
latestVersion="$VERSION.$RELEASE"
|
||||
currentVersion=$(nix-instantiate --eval -E "with import ./. {}; odoo.version or (lib.getVersion odoo)" | tr -d '"')
|
||||
|
||||
if [[ "$currentVersion" == "$latestVersion" ]]; then
|
||||
echo "odoo is up-to-date: $currentVersion"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
cd "$(dirname "${BASH_SOURCE[0]}")"
|
||||
|
||||
sed -ri "s| hash.+ # odoo| hash = \"$(nix-prefetch -q fetchzip --url "https://nightly.odoo.com/${VERSION}/nightly/src/odoo_${latestVersion}.zip")\"; # odoo|g" default.nix
|
||||
sed -ri "s| odoo_version.+| odoo_version = \"$VERSION\";|" default.nix
|
||||
sed -ri "s| odoo_release.+| odoo_release = \"$RELEASE\";|" default.nix
|
||||
File diff suppressed because it is too large
Load Diff
@@ -3,10 +3,10 @@
|
||||
{
|
||||
firefox = buildMozillaMach rec {
|
||||
pname = "firefox";
|
||||
version = "127.0";
|
||||
version = "127.0.1";
|
||||
src = fetchurl {
|
||||
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
|
||||
sha512 = "5a17bce357e7f445c37540115f2c131ad5a055c0cf04f20bc2eaca18f8d241a99ac76739d172b38f2ad2681633f901a0a15893801082ac5db9e20e31fc8b8291";
|
||||
sha512 = "13df770a89b703033601cab56892a2fc62427521936b366893008e68cd1f48d7b18917a3cede23764d024208819037ad0d28c2d4b73b99fdc204cbd53bb1297e";
|
||||
};
|
||||
|
||||
extraPatches = [
|
||||
|
||||
@@ -128,6 +128,7 @@ in stdenv.mkDerivation rec {
|
||||
homepage = "https://vivaldi.com";
|
||||
license = licenses.unfree;
|
||||
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||
mainProgram = "vivaldi";
|
||||
maintainers = with maintainers; [ otwieracz badmutex ];
|
||||
platforms = [ "x86_64-linux" "aarch64-linux" ];
|
||||
};
|
||||
|
||||
@@ -62,6 +62,12 @@ rec {
|
||||
};
|
||||
|
||||
kops_1_28 = mkKops rec {
|
||||
version = "1.28.5";
|
||||
sha256 = "sha256-spw3lTrp6RlxkTNoZ/3Yz/U2tdvBnwiYORS2QtOSX9k=";
|
||||
rev = "v${version}";
|
||||
};
|
||||
|
||||
kops_1_29 = mkKops rec {
|
||||
version = "1.29.0";
|
||||
sha256 = "sha256-YneB9pc4IR+tYPRFE5CS+4JK/kPOHMo5/70A3k1x1tg=";
|
||||
rev = "v${version}";
|
||||
|
||||
@@ -17,16 +17,16 @@ let
|
||||
|
||||
tctl-next = buildGoModule rec {
|
||||
pname = "tctl-next";
|
||||
version = "0.12.0";
|
||||
version = "0.13.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "temporalio";
|
||||
repo = "cli";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-rqwDubKNBvtJ4rTQheCoSIcbfQZQN3iD99PcZewmx5c=";
|
||||
hash = "sha256-2zk+B+GomLZwep5LNRpWJj8JjFC0OxAl1XhAv+8b2kc=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-bnmlh11gtNdgcrI20gjNqxWB+OQTv0b9lgETucoBaXc=";
|
||||
vendorHash = "sha256-NLteuVOswIw2ModdE0Ak4XmApkHLoYDt6SDAZGsgwBk=";
|
||||
|
||||
inherit overrideModAttrs;
|
||||
|
||||
|
||||
@@ -1,97 +0,0 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
, btrfs-progs
|
||||
, testers
|
||||
, werf
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "werf";
|
||||
version = "2.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "werf";
|
||||
repo = "werf";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-dZwZzBisQUmOz1lij6L0NHigXW2DtUd6s86sHYq8UPA=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-cWOnIEvVer+USqNQJmhZ7pYSJfzY2xjq2oTxRd/y94w=";
|
||||
|
||||
proxyVendor = true;
|
||||
|
||||
subPackages = [ "cmd/werf" ];
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isLinux [ btrfs-progs ]
|
||||
++ lib.optionals stdenv.hostPlatform.isGnu [ stdenv.cc.libc.static ];
|
||||
|
||||
CGO_ENABLED = if stdenv.isLinux then 1 else 0;
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/werf/werf/v2/pkg/werf.Version=${src.rev}"
|
||||
] ++ lib.optionals (CGO_ENABLED == 1) [
|
||||
"-extldflags=-static"
|
||||
"-linkmode external"
|
||||
];
|
||||
|
||||
tags = [
|
||||
"containers_image_openpgp"
|
||||
"dfrunmount"
|
||||
"dfrunnetwork"
|
||||
"dfrunsecurity"
|
||||
"dfssh"
|
||||
] ++ lib.optionals (CGO_ENABLED == 1) [
|
||||
"cni"
|
||||
"exclude_graphdriver_devicemapper"
|
||||
"netgo"
|
||||
"no_devmapper"
|
||||
"osusergo"
|
||||
"static_build"
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
# Test all targets.
|
||||
unset subPackages
|
||||
|
||||
# Remove tests that require external services.
|
||||
rm -rf \
|
||||
integration/suites \
|
||||
pkg/true_git/*test.go \
|
||||
test/e2e
|
||||
'' + lib.optionalString (CGO_ENABLED == 0) ''
|
||||
# A workaround for osusergo.
|
||||
export USER=nixbld
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd werf \
|
||||
--bash <($out/bin/werf completion --shell=bash) \
|
||||
--zsh <($out/bin/werf completion --shell=zsh)
|
||||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = werf;
|
||||
command = "werf version";
|
||||
version = src.rev;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "GitOps delivery tool";
|
||||
mainProgram = "werf";
|
||||
longDescription = ''
|
||||
The CLI tool gluing Git, Docker, Helm & Kubernetes with any CI system to
|
||||
implement CI/CD and Giterminism.
|
||||
'';
|
||||
homepage = "https://werf.io";
|
||||
changelog = "https://github.com/werf/werf/releases/tag/${src.rev}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ azahi ];
|
||||
};
|
||||
}
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "dnscontrol";
|
||||
version = "4.11.0";
|
||||
version = "4.12.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "StackExchange";
|
||||
repo = "dnscontrol";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-TBLxwHiL3knM+GQoTYD2L/deASPpbUsDlGk4VeVmki4=";
|
||||
hash = "sha256-W1X/d2Xf31xQWZH7ShH8Y6axhhyTOqxE/EjxNvR6pBU=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-kmnV1W0HGlxFZYYUeUd9D/zOabUhM5kDoTZTnRYJ2sM=";
|
||||
vendorHash = "sha256-Dz45h33Rv4Pf5Lo0aok37MNrcbT8f/xrPPkGJMNBo8Y=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
|
||||
@@ -21,14 +21,14 @@
|
||||
let
|
||||
pname = "qownnotes";
|
||||
appname = "QOwnNotes";
|
||||
version = "24.6.1";
|
||||
version = "24.6.3";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit pname version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/pbek/QOwnNotes/releases/download/v${version}/qownnotes-${version}.tar.xz";
|
||||
hash = "sha256-FS4VJtTh0LIrrIK+IJxSBqcEsNU7/e6KG3190FLAQC4=";
|
||||
hash = "sha256-UdWyS5DalnGDoNEOx8d9MglKpJeqOXY1mTgLl3r/9gY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -16,13 +16,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "qlog";
|
||||
version = "0.35.2";
|
||||
version = "0.36.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "foldynl";
|
||||
repo = "QLog";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-3ht3/J4uJ7Nyfp0xpVDYa8GnV/EvHjf09XGSEBLRGZU=";
|
||||
hash = "sha256-YbjtN08zEj8rlRDC5tS/JsBOH70DV98wmL6pFQTehgg=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
||||
@@ -14,13 +14,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "hypnotix";
|
||||
version = "4.4";
|
||||
version = "4.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = "hypnotix";
|
||||
rev = version;
|
||||
hash = "sha256-SGKa3yo3iEDAjsvfa6dBfM7sAnBVr0pB6zLKQb6e4Ys=";
|
||||
hash = "sha256-tcBBPJr9C+3FC8VWAM+KzETKAovfyehBvlmn7mIR7VQ=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
||||
@@ -10,7 +10,7 @@ rec {
|
||||
, tiniRev, tiniHash
|
||||
, buildxSupport ? true, composeSupport ? true, sbomSupport ? false
|
||||
# package dependencies
|
||||
, stdenv, fetchFromGitHub, fetchpatch, buildGoPackage
|
||||
, stdenv, fetchFromGitHub, fetchpatch, buildGoModule
|
||||
, makeWrapper, installShellFiles, pkg-config, glibc
|
||||
, go-md2man, go, containerd, runc, tini, libtool
|
||||
, sqlite, iproute2, docker-buildx, docker-compose, docker-sbom
|
||||
@@ -23,7 +23,7 @@ rec {
|
||||
, withSeccomp ? stdenv.isLinux, libseccomp
|
||||
}:
|
||||
let
|
||||
docker-runc = runc.overrideAttrs (oldAttrs: {
|
||||
docker-runc = runc.overrideAttrs {
|
||||
pname = "docker-runc";
|
||||
inherit version;
|
||||
|
||||
@@ -36,7 +36,7 @@ rec {
|
||||
|
||||
# docker/runc already include these patches / are not applicable
|
||||
patches = [];
|
||||
});
|
||||
};
|
||||
|
||||
docker-containerd = containerd.overrideAttrs (oldAttrs: {
|
||||
pname = "docker-containerd";
|
||||
@@ -53,7 +53,7 @@ rec {
|
||||
++ lib.optionals withSeccomp [ libseccomp ];
|
||||
});
|
||||
|
||||
docker-tini = tini.overrideAttrs (oldAttrs: {
|
||||
docker-tini = tini.overrideAttrs {
|
||||
pname = "docker-init";
|
||||
inherit version;
|
||||
|
||||
@@ -70,7 +70,7 @@ rec {
|
||||
buildInputs = [ glibc glibc.static ];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = "-DMINIMAL=ON";
|
||||
});
|
||||
};
|
||||
|
||||
moby-src = fetchFromGitHub {
|
||||
owner = "moby";
|
||||
@@ -79,13 +79,13 @@ rec {
|
||||
hash = mobyHash;
|
||||
};
|
||||
|
||||
moby = buildGoPackage (lib.optionalAttrs stdenv.isLinux rec {
|
||||
moby = buildGoModule (lib.optionalAttrs stdenv.isLinux rec {
|
||||
pname = "moby";
|
||||
inherit version;
|
||||
|
||||
src = moby-src;
|
||||
|
||||
goPackagePath = "github.com/docker/docker";
|
||||
vendorHash = null;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper pkg-config go-md2man go libtool installShellFiles ];
|
||||
buildInputs = [ sqlite ]
|
||||
@@ -126,16 +126,13 @@ rec {
|
||||
buildPhase = ''
|
||||
export GOCACHE="$TMPDIR/go-cache"
|
||||
# build engine
|
||||
cd ./go/src/${goPackagePath}
|
||||
export AUTO_GOPATH=1
|
||||
export DOCKER_GITCOMMIT="${cliRev}"
|
||||
export VERSION="${version}"
|
||||
./hack/make.sh dynbinary
|
||||
cd -
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
cd ./go/src/${goPackagePath}
|
||||
install -Dm755 ./bundles/dynbinary-daemon/dockerd $out/libexec/docker/dockerd
|
||||
install -Dm755 ./bundles/dynbinary-daemon/docker-proxy $out/libexec/docker/docker-proxy
|
||||
|
||||
@@ -149,7 +146,7 @@ rec {
|
||||
|
||||
# systemd
|
||||
install -Dm644 ./contrib/init/systemd/docker.service $out/etc/systemd/system/docker.service
|
||||
substituteInPlace $out/etc/systemd/system/docker.service --replace /usr/bin/dockerd $out/bin/dockerd
|
||||
substituteInPlace $out/etc/systemd/system/docker.service --replace-fail /usr/bin/dockerd $out/bin/dockerd
|
||||
install -Dm644 ./contrib/init/systemd/docker.socket $out/etc/systemd/system/docker.socket
|
||||
|
||||
# rootless Docker
|
||||
@@ -169,7 +166,7 @@ rec {
|
||||
++ lib.optional sbomSupport docker-sbom;
|
||||
pluginsRef = symlinkJoin { name = "docker-plugins"; paths = plugins; };
|
||||
in
|
||||
buildGoPackage (lib.optionalAttrs (!clientOnly) {
|
||||
buildGoModule (lib.optionalAttrs (!clientOnly) {
|
||||
# allow overrides of docker components
|
||||
# TODO: move packages out of the let...in into top-level to allow proper overrides
|
||||
inherit docker-runc docker-containerd docker-tini moby;
|
||||
@@ -184,7 +181,7 @@ rec {
|
||||
hash = cliHash;
|
||||
};
|
||||
|
||||
goPackagePath = "github.com/docker/cli";
|
||||
vendorHash = null;
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeWrapper pkg-config go-md2man go libtool installShellFiles
|
||||
@@ -197,9 +194,9 @@ rec {
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs man scripts/build/
|
||||
substituteInPlace ./scripts/build/.variables --replace "set -eu" ""
|
||||
substituteInPlace ./scripts/build/.variables --replace-fail "set -eu" ""
|
||||
'' + lib.optionalString (plugins != []) ''
|
||||
substituteInPlace ./cli-plugins/manager/manager_unix.go --replace /usr/libexec/docker/cli-plugins \
|
||||
substituteInPlace ./cli-plugins/manager/manager_unix.go --replace-fail /usr/libexec/docker/cli-plugins \
|
||||
"${pluginsRef}/libexec/docker/cli-plugins"
|
||||
'';
|
||||
|
||||
@@ -207,7 +204,6 @@ rec {
|
||||
buildPhase = ''
|
||||
export GOCACHE="$TMPDIR/go-cache"
|
||||
|
||||
cd ./go/src/${goPackagePath}
|
||||
# Mimic AUTO_GOPATH
|
||||
mkdir -p .gopath/src/github.com/docker/
|
||||
ln -sf $PWD .gopath/src/github.com/docker/cli
|
||||
@@ -215,17 +211,14 @@ rec {
|
||||
export GITCOMMIT="${cliRev}"
|
||||
export VERSION="${version}"
|
||||
export BUILDTIME="1970-01-01T00:00:00Z"
|
||||
source ./scripts/build/.variables
|
||||
export CGO_ENABLED=1
|
||||
go build -tags pkcs11 --ldflags "$GO_LDFLAGS" github.com/docker/cli/cmd/docker
|
||||
cd -
|
||||
make dynbinary
|
||||
|
||||
'';
|
||||
|
||||
outputs = ["out"] ++ lib.optional (lib.versionOlder version "23") "man";
|
||||
|
||||
installPhase = ''
|
||||
cd ./go/src/${goPackagePath}
|
||||
install -Dm755 ./docker $out/libexec/docker/docker
|
||||
install -Dm755 ./build/docker $out/libexec/docker/docker
|
||||
|
||||
makeWrapper $out/libexec/docker/docker $out/bin/docker \
|
||||
--prefix PATH : "$out/libexec/docker:$extraPath"
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "distribution";
|
||||
version = "2.8.3";
|
||||
rev = "v${version}";
|
||||
|
||||
goPackagePath = "github.com/docker/distribution";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "docker";
|
||||
repo = "distribution";
|
||||
inherit rev;
|
||||
sha256 = "sha256-6/clOTkI1JnDjb+crcHmjbQlaqffP/sntGqUB2ftajU=";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Docker toolset to pack, ship, store, and deliver content";
|
||||
license = licenses.asl20;
|
||||
maintainers = [];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
@@ -1,12 +1,13 @@
|
||||
{ stdenv, fetchzip, lib, dtc }:
|
||||
{ stdenv, fetchgit, lib, dtc }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "kvmtool";
|
||||
version = "unstable-2023-07-12";
|
||||
version = "0-unstable-2024-04-09";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git/snapshot/kvmtool-106e2ea7756d980454d68631b87d5e25ba4e4881.tar.gz";
|
||||
hash = "sha256-wpc5DfHnui0lBVH4uOq6a7pXVUZStjNLRvauu6QpRvE=";
|
||||
src = fetchgit {
|
||||
url = "https://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git";
|
||||
rev = "da4cfc3e540341b84c4bbad705b5a15865bc1f80";
|
||||
hash = "sha256-05tNsZauOXe1L1y1YchzvLZm3xOctPJhHCjyAyRnwy4=";
|
||||
};
|
||||
|
||||
patches = [ ./strlcpy-glibc-2.38-fix.patch ];
|
||||
@@ -17,18 +18,17 @@ stdenv.mkDerivation {
|
||||
|
||||
makeFlags = [
|
||||
"prefix=${placeholder "out"}"
|
||||
"CROSS_COMPILE=${stdenv.cc.targetPrefix}"
|
||||
"ARCH=${stdenv.hostPlatform.linuxArch}"
|
||||
] ++ lib.optionals stdenv.hostPlatform.isAarch64 ([
|
||||
"LIBFDT_DIR=${dtc}/lib"
|
||||
] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||
"CROSS_COMPILE=aarch64-unknown-linux-gnu-"
|
||||
"ARCH=arm64"
|
||||
]);
|
||||
|
||||
meta = with lib; {
|
||||
description = "Lightweight tool for hosting KVM guests";
|
||||
homepage = "https://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git/tree/README";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ astro mfrw ];
|
||||
maintainers = with maintainers; [ astro mfrw peigongdsd ];
|
||||
platforms = [ "x86_64-linux" "aarch64-linux" ];
|
||||
mainProgram = "lkvm";
|
||||
};
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "hyprland-protocols";
|
||||
version = "0.2";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hyprwm";
|
||||
repo = finalAttrs.pname;
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-QPzwwlGKX95tl6ZEshboZbEwwAXww6lNLdVYd6T9Mrc=";
|
||||
hash = "sha256-HUklK5u86w2Yh9dOkk4FdsL8eehcOZ95jPhLixGDRQY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
+9
-9
@@ -1,6 +1,6 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildGoPackage
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, cairo
|
||||
@@ -11,28 +11,28 @@
|
||||
, gtk3
|
||||
}:
|
||||
|
||||
buildGoPackage rec {
|
||||
buildGoModule {
|
||||
pname = "coyim";
|
||||
version = "0.4.1";
|
||||
|
||||
goPackagePath = "github.com/coyim/coyim";
|
||||
version = "0.4.1-unstable-2023-09-21";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "coyim";
|
||||
repo = "coyim";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-PmB6POaHKEXzIAaz3lAbUOhtVOzrj5oXRk90giYo6SI=";
|
||||
rev = "3f84daa8c27277543b1b4ad4536dde5100d9df12";
|
||||
sha256 = "sha256-lzhcUSBuAgYwcmdwnqNxKG0P6ZSjWeLS/g/gaF171D4=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-zG7r/Db6XiwKoHRduGj3tEh/KT1hsuBoSGLYaZ+qO0Y=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config wrapGAppsHook3 ];
|
||||
|
||||
buildInputs = [ glib cairo gdk-pixbuf gtk3 gnome.adwaita-icon-theme ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Safe and secure chat client";
|
||||
mainProgram = "coyim";
|
||||
homepage = "https://coy.im/";
|
||||
license = licenses.gpl3;
|
||||
license = lib.licenses.gpl3;
|
||||
platforms = [ "x86_64-linux" "x86_64-darwin" ];
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
@@ -0,0 +1,67 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, nix-update-script
|
||||
, testers
|
||||
, distribution
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "distribution";
|
||||
version = "3.0.0-alpha.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "distribution";
|
||||
repo = "distribution";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-reguAtBkEC9OMUTdCtFY6l0fkk28VoA0IlPcQ0sz84I=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# fix: load gcs credentials and client inside DriverConstructor
|
||||
# Needed to pass the tests. Remove with next update.
|
||||
(fetchpatch {
|
||||
url = "https://github.com/distribution/distribution/commit/14366a2dff6a8f595e39d258085381731b43cec6.diff";
|
||||
hash = "sha256-0ns9JuIeLBzRLMVxY6uaWTIYcRRbuwQ+n9tmK+Pvf4U=";
|
||||
})
|
||||
# fix: add missing skip in s3 driver test
|
||||
# Needed to pass the tests. Remove with next update.
|
||||
(fetchpatch {
|
||||
url = "https://github.com/distribution/distribution/commit/6908e0d5facd31ed32046df03a09040c964be0b3.patch";
|
||||
hash = "sha256-ww+BwBGw+dkZ2FhVzynehR+sNYCgq8/KkPDP9ac6NWg=";
|
||||
})
|
||||
];
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
checkFlags = [
|
||||
# TestHTTPChecker: requires internet access.
|
||||
# TestInMemoryDriverSuite: timeout after 10 minutes, looks like a deadlock.
|
||||
"-skip=^TestHTTPChecker$|^TestInMemoryDriverSuite$"
|
||||
];
|
||||
|
||||
passthru = {
|
||||
tests.version = testers.testVersion {
|
||||
package = distribution;
|
||||
version = "v${version}";
|
||||
};
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Toolkit to pack, ship, store, and deliver container content";
|
||||
longDescription = ''
|
||||
Distribution is a Open Source Registry implementation for storing and distributing container
|
||||
images and other content using the OCI Distribution Specification. The goal of this project
|
||||
is to provide a simple, secure, and scalable base for building a large scale registry solution
|
||||
or running a simple private registry.
|
||||
'';
|
||||
homepage = "https://distribution.github.io/distribution/";
|
||||
changelog = "https://github.com/distribution/distribution/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ ];
|
||||
mainProgram = "registry";
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
@@ -21,7 +21,7 @@ let
|
||||
in
|
||||
buildDunePackage' rec {
|
||||
pname = "docfd";
|
||||
version = "6.0.1";
|
||||
version = "7.0.0";
|
||||
|
||||
minimalOCamlVersion = "5.1";
|
||||
|
||||
@@ -29,7 +29,7 @@ buildDunePackage' rec {
|
||||
owner = "darrenldl";
|
||||
repo = "docfd";
|
||||
rev = version;
|
||||
hash = "sha256-pNBWSPII+r9MMmyXBzxQ6hMNrN7nwcdhrpufzj00s2E=";
|
||||
hash = "sha256-R/UOA1rf9NnEQQWn/ToCZuUSC48DPqglrb+5ZjCdpb0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -7,16 +7,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "docuum";
|
||||
version = "0.24.0";
|
||||
version = "0.25.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stepchowfun";
|
||||
repo = "docuum";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-/30wuLnCcomgJ14c5rNbitD1dEpvyRal3L60gQdZPBU=";
|
||||
hash = "sha256-nWd6h39jU1eZWPFMxhxActsmrs9k0TDMlealuzTa+o0=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-BvZM0tAgwoOO0VFQEoifgmENnW3cfKV3Zj872/Lki6A=";
|
||||
cargoHash = "sha256-uoQ1qUII6TSZsosAdNfs2CREVuN2kuT9Bmi5vuDT/rY=";
|
||||
|
||||
checkFlags = [
|
||||
# fails, no idea why
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
}:
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "errands";
|
||||
version = "46.2.2";
|
||||
version = "46.2.3";
|
||||
|
||||
pyproject = false;
|
||||
|
||||
@@ -25,7 +25,7 @@ python3Packages.buildPythonApplication rec {
|
||||
owner = "mrvladus";
|
||||
repo = "Errands";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-lX0exxZMbq/iC41bByMfT478vhOQadPJAN72PHiznKc=";
|
||||
hash = "sha256-JBvyMWEUKUKeAOTCbzNwqpv2ox7bS9p+QsLkJv/lK8k=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
, brotli
|
||||
, buildGoModule
|
||||
, forgejo
|
||||
, fetchpatch
|
||||
, git
|
||||
, gzip
|
||||
, lib
|
||||
@@ -55,11 +56,21 @@ buildGoModule rec {
|
||||
|
||||
outputs = [ "out" "data" ];
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
git # checkPhase
|
||||
openssh # checkPhase
|
||||
];
|
||||
buildInputs = lib.optional pamSupport pam;
|
||||
|
||||
patches = [
|
||||
./static-root-path.patch
|
||||
# Fix TestAddRecursiveExclude go test.
|
||||
# This will be part of the upcoming v7.0.5 release at which point this needs to be removed again.
|
||||
(fetchpatch {
|
||||
url = "https://codeberg.org/forgejo/forgejo/commit/f01dc4b271f54201e60a7c795d784813eac3f7ce.patch";
|
||||
sha256 = "sha256-1lPLVHBad+Fmk+6EFXKuMnmDUl5BkEYJuMkTPfdrCgU=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
@@ -80,6 +91,33 @@ buildGoModule rec {
|
||||
export ldflags+=" -X main.ForgejoVersion=$(GITEA_VERSION=${version} make show-version-api)"
|
||||
'';
|
||||
|
||||
preCheck = ''
|
||||
# $HOME is required for ~/.ssh/authorized_keys and such
|
||||
export HOME="$TMPDIR/home"
|
||||
|
||||
# expose and use the GO_TEST_PACKAGES var from the Makefile
|
||||
# instead of manually copying over the entire list:
|
||||
# https://codeberg.org/forgejo/forgejo/src/tag/v7.0.4/Makefile#L124
|
||||
echo -e 'show-backend-tests:\n\t@echo ''${GO_TEST_PACKAGES}' >> Makefile
|
||||
getGoDirs() {
|
||||
make show-backend-tests
|
||||
}
|
||||
'';
|
||||
|
||||
checkFlags =
|
||||
let
|
||||
skippedTests = [
|
||||
"Test_SSHParsePublicKey/dsa-1024/SSHKeygen" # dsa-1024 is deprecated in openssh and requires opting-in at compile time
|
||||
"Test_calcFingerprint/dsa-1024/SSHKeygen" # dsa-1024 is deprecated in openssh and requires opting-in at compile time
|
||||
"TestPamAuth" # we don't have PAM set up in the build sandbox
|
||||
"TestPassword" # requires network: api.pwnedpasswords.com
|
||||
"TestCaptcha" # requires network: hcaptcha.com
|
||||
"TestDNSUpdate" # requires network: release.forgejo.org
|
||||
"TestMigrateWhiteBlocklist" # requires network: gitlab.com (DNS)
|
||||
];
|
||||
in
|
||||
[ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir $data
|
||||
cp -R ./{templates,options} ${frontend}/public $data
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
autoPatchelfHook,
|
||||
copyDesktopItems,
|
||||
fetchurl,
|
||||
fetchzip,
|
||||
lib,
|
||||
libGL,
|
||||
@@ -79,6 +80,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
comment = description;
|
||||
desktopName = name;
|
||||
genericName = name;
|
||||
icon = fetchurl {
|
||||
url = "https://www.geeks3d.com/furmark/i/20240220-furmark-logo-02.png";
|
||||
hash = "sha256-EqhWQgTEmF/2AcqDxgGtr2m5SMYup28hPEhI6ssFw7g=";
|
||||
};
|
||||
categories = [
|
||||
"System"
|
||||
"Monitor"
|
||||
|
||||
@@ -10,16 +10,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "fzf-make";
|
||||
version = "0.33.0";
|
||||
version = "0.34.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kyu08";
|
||||
repo = "fzf-make";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-ct4ugHqSekAZrkuFotjzMzcoJ0+P7d0Qhi79SqVZHPM=";
|
||||
hash = "sha256-x+y0K6b/yCskowOuvjcSCJXM5ym2Qn84/Thui0ahUKU=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-0VhcpW56OePvHVFPG4QaK8ezvNUAuWyI5gztjuKFKVQ=";
|
||||
cargoHash = "sha256-cIoc3sGy33iTkVAln4oSYSBGB0iAFanv746upxnv0ZA=";
|
||||
|
||||
nativeBuildInputs = [ makeBinaryWrapper ];
|
||||
|
||||
|
||||
@@ -14,13 +14,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gnome-online-accounts-gtk";
|
||||
version = "3.50.2";
|
||||
version = "3.50.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "xapp-project";
|
||||
repo = "gnome-online-accounts-gtk";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-6yGesg/L/9syX990uDuw5Or/uEQ8DGPQYiCRRw4OMzY=";
|
||||
hash = "sha256-peElSkGl2dYeJmMUeB+xDoOY3MhHs7IsIQYr0iJZP58=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -2,19 +2,24 @@
|
||||
lib,
|
||||
buildGo122Module,
|
||||
fetchFromGitHub,
|
||||
darwin,
|
||||
stdenv,
|
||||
}:
|
||||
buildGo122Module rec {
|
||||
pname = "gptscript";
|
||||
version = "0.5.0";
|
||||
version = "0.8.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gptscript-ai";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-teZQhGYKJ5Ma5by3Wug5B1hAV1tox94MF586ZeEXp6o=";
|
||||
hash = "sha256-BqGoIDFquVMGMkKe2IO3Se4IeqgVSqjv00gfhJf8evs=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-0irUcEomQzo9+vFJEk28apLNuJdsX1RHEqB7T88X7Ks=";
|
||||
vendorHash = "sha256-oI2agy8FOyoNl0zQzvXMsHY5tG1QNvkQf+n2GVGyNz8=";
|
||||
|
||||
propagatedBuildInputs = with darwin;
|
||||
lib.optionals stdenv.isDarwin [Security];
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
@@ -26,9 +31,9 @@ buildGo122Module rec {
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://gptscript.ai";
|
||||
homepage = "https://github.com/gptscript-ai/gptscript";
|
||||
changelog = "https://github.com/gptscript-ai/gptscript/releases/tag/v{version}";
|
||||
description = "Natural Language Programming";
|
||||
description = "Build AI assistants that interact with your systems";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ jamiemagee ];
|
||||
mainProgram = "gptscript";
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "graphqlmaker";
|
||||
version = "0-unstable-2024-05-18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "xssdoctor";
|
||||
repo = "graphqlMaker";
|
||||
rev = "ff884ce39156d8458da35c0b0b5d7eb1e1146bb5";
|
||||
hash = "sha256-H3AFCS1WoeVXUdXBV1JKrGIraJP/ql6XG++PxmWUico=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-1mDOqTsQ3kHs3MEWlRcdqhjIRul7um2mfBAxObhoSlE=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool to find graphql queries in Javascript files";
|
||||
homepage = "https://github.com/xssdoctor/graphqlMaker";
|
||||
# https://github.com/xssdoctor/graphqlMaker/issues/1
|
||||
license = licenses.unfree;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "graphqlMaker";
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "hednsextractor";
|
||||
version = "1.0.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "HuntDownProject";
|
||||
repo = "HEDnsExtractor";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Uj5TNQ+X0+ip1DcLanMmFzr5ROuXhuZJSPF9tile+ZQ=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-8yD/yHSqesyS71YeRBv4ARyXyIbTcan7YjBeKBrg0Vc=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool suite for hunting suspicious targets, expose domains and phishing discovery";
|
||||
homepage = "https://github.com/HuntDownProject/HEDnsExtractor";
|
||||
changelog = "https://github.com/HuntDownProject/HEDnsExtractor/releases/tag/v${version}";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "hednsextractor";
|
||||
};
|
||||
}
|
||||
@@ -1,17 +1,18 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "jwasm";
|
||||
version = "2.17";
|
||||
version = "2.18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Baron-von-Riedesel";
|
||||
repo = "JWasm";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-22eNtHXF+RQT4UbXIVjn1JP/s6igp5O1oQT7sVl7c1U=";
|
||||
hash = "sha256-xbiyGBTzIkAfUy45JdAl77gbvArzVUQNPOxa+H2uGFo=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "doc" ];
|
||||
@@ -31,13 +32,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
-t $doc/share/doc/jwasm/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://github.com/Baron-von-Riedesel/JWasm/";
|
||||
description = "MASM-compatible x86 assembler";
|
||||
changelog = "https://github.com/Baron-von-Riedesel/JWasm/releases/tag/v${finalAttrs.version}";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
platforms = platforms.unix;
|
||||
changelog = "https://github.com/Baron-von-Riedesel/JWasm/releases/tag/${finalAttrs.src.rev}";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||
platforms = lib.platforms.unix;
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
})
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "kor";
|
||||
version = "0.4.2";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "yonahd";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-fyVMRHDzP7od+cwC01vNP/TOiDctD8E0y8uNWtgiEeA=";
|
||||
hash = "sha256-5x0Zyk4gPMKcZtpgT0QbIm6NeWX+uJwT2NM+yS2oC3o=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-NPmsXS7P+pCF97N8x3nQhCRoHJLMO5plNtcUqxxexVE=";
|
||||
vendorHash = "sha256-9aZy1i0VrDRySt5A5aQHBXa0mPgD+rsyeqQrd6snWKc=";
|
||||
|
||||
preCheck = ''
|
||||
HOME=$(mktemp -d)
|
||||
|
||||
@@ -22,9 +22,9 @@
|
||||
}:
|
||||
stdenv.mkDerivation (self: {
|
||||
pname = "louvre";
|
||||
version = "2.0.0-1";
|
||||
version = "2.1.0-1";
|
||||
rev = "v${self.version}";
|
||||
hash = "sha256-tDpgFtccMlGYrahEC4vlj5cfIzkqUl664ccRhcKIVTQ=";
|
||||
hash = "sha256-qRvAryZ6SIhh5yDugcosVYOM2Tq0XPuaA6ib8/jWxNI=";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit (self) rev hash;
|
||||
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "mdsh";
|
||||
version = "0.8.0";
|
||||
version = "0.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zimbatm";
|
||||
repo = "mdsh";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-ammLbKEKXDSuZMr4DwPpcRSkKh7BzNC+4ZRCqTNNCQk=";
|
||||
hash = "sha256-vN8nFhbZgJIhFuFET9IOmdxT7uBKq/9X+TO9lZsDw6g=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-wLHMccxk3ceZyGK27t5Kyal48yj9dQNgmEHjH9hR9Pc=";
|
||||
cargoHash = "sha256-0D1RSUJw7fszc9d4nrp+zCzr9l0xF4Ed8DbK5/O5bEY=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Markdown shell pre-processor";
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
nix-update-script,
|
||||
}:
|
||||
let
|
||||
version = "2.4.3";
|
||||
version = "2.4.4";
|
||||
in
|
||||
python3.pkgs.buildPythonApplication {
|
||||
pname = "novelwriter";
|
||||
@@ -18,7 +18,7 @@ python3.pkgs.buildPythonApplication {
|
||||
owner = "vkbo";
|
||||
repo = "novelWriter";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-PuoI/2JnbOFuSDTY3uDrySqPl/MGYna+QvSI7WQ8QMk=";
|
||||
hash = "sha256-vYvrSRQTp/8jcCQIL6HgxdSJwogiPJKfVO+9hhK6emc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
|
||||
|
||||
@@ -0,0 +1,111 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchgit
|
||||
, fetchzip
|
||||
, python310
|
||||
, rtlcss
|
||||
, wkhtmltopdf
|
||||
, nixosTests
|
||||
, odoo_version ? "17.0"
|
||||
, odoo_release ? "20240610"
|
||||
}:
|
||||
|
||||
let
|
||||
python = python310.override {
|
||||
packageOverrides = final: prev: {
|
||||
# requirements.txt fixes docutils at 0.17; the default 0.21.1 tested throws exceptions
|
||||
docutils-0_17 = prev.docutils.overridePythonAttrs (old: rec {
|
||||
version = "0.17";
|
||||
src = fetchgit {
|
||||
url = "git://repo.or.cz/docutils.git";
|
||||
rev = "docutils-${version}";
|
||||
hash = "sha256-O/9q/Dg1DBIxKdNBOhDV16yy5ez0QANJYMjeovDoWX8=";
|
||||
};
|
||||
buildInputs = with prev; [setuptools];
|
||||
});
|
||||
};
|
||||
};
|
||||
in python.pkgs.buildPythonApplication rec {
|
||||
pname = "odoo";
|
||||
version = "${odoo_version}.${odoo_release}";
|
||||
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchzip {
|
||||
# find latest version on https://nightly.odoo.com/${odoo_version}/nightly/src
|
||||
url = "https://nightly.odoo.com/${odoo_version}/nightly/src/odoo_${version}.zip";
|
||||
name = "${pname}-${version}";
|
||||
hash = "sha256-blibGJyaz+MxMazOXhPbGBAJWZoGubirwSnjVYyLBJs="; # odoo
|
||||
};
|
||||
|
||||
# needs some investigation
|
||||
doCheck = false;
|
||||
|
||||
makeWrapperArgs = [
|
||||
"--prefix" "PATH" ":" "${lib.makeBinPath [ wkhtmltopdf rtlcss ]}"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python.pkgs; [
|
||||
babel
|
||||
chardet
|
||||
cryptography
|
||||
decorator
|
||||
docutils-0_17 # sphinx has a docutils requirement >= 18
|
||||
ebaysdk
|
||||
freezegun
|
||||
gevent
|
||||
greenlet
|
||||
idna
|
||||
jinja2
|
||||
libsass
|
||||
lxml
|
||||
markupsafe
|
||||
num2words
|
||||
ofxparse
|
||||
passlib
|
||||
pillow
|
||||
polib
|
||||
psutil
|
||||
psycopg2
|
||||
pydot
|
||||
pyopenssl
|
||||
pypdf2
|
||||
pyserial
|
||||
python-dateutil
|
||||
python-ldap
|
||||
python-stdnum
|
||||
pytz
|
||||
pyusb
|
||||
qrcode
|
||||
reportlab
|
||||
requests
|
||||
rjsmin
|
||||
urllib3
|
||||
vobject
|
||||
werkzeug
|
||||
xlrd
|
||||
xlsxwriter
|
||||
xlwt
|
||||
zeep
|
||||
|
||||
setuptools
|
||||
mock
|
||||
];
|
||||
|
||||
# takes 5+ minutes and there are not files to strip
|
||||
dontStrip = true;
|
||||
|
||||
passthru = {
|
||||
updateScript = ./update.sh;
|
||||
tests = {
|
||||
inherit (nixosTests) odoo;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Open Source ERP and CRM";
|
||||
homepage = "https://www.odoo.com/";
|
||||
license = licenses.lgpl3Only;
|
||||
maintainers = with maintainers; [ mkg20001 siriobalmelli ];
|
||||
};
|
||||
}
|
||||
Executable
+26
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p curl gnused nix coreutils nix-prefetch
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
VERSION="17.0" # must be incremented manually
|
||||
|
||||
RELEASE="$(
|
||||
curl "https://nightly.odoo.com/$VERSION/nightly/src/" |
|
||||
sed -nE 's/.*odoo_'"$VERSION"'.(20[0-9]{6}).tar.gz.*/\1/p' |
|
||||
tail -n 1
|
||||
)"
|
||||
|
||||
latestVersion="$VERSION.$RELEASE"
|
||||
currentVersion=$(nix-instantiate --eval -E "with import ./. {}; odoo.version or (lib.getVersion odoo)" | tr -d '"')
|
||||
|
||||
if [[ "$currentVersion" == "$latestVersion" ]]; then
|
||||
echo "odoo is up-to-date: $currentVersion"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
cd "$(dirname "${BASH_SOURCE[0]}")"
|
||||
|
||||
sed -ri "s| hash.+ # odoo| hash = \"$(nix-prefetch -q fetchzip --url "https://nightly.odoo.com/${VERSION}/nightly/src/odoo_${latestVersion}.zip")\"; # odoo|g" package.nix
|
||||
sed -ri "s|, odoo_version \? .+|, odoo_version ? \"$VERSION\"|" package.nix
|
||||
sed -ri "s|, odoo_release \? .+|, odoo_release ? \"$RELEASE\"|" package.nix
|
||||
@@ -23,6 +23,9 @@ let
|
||||
inherit version;
|
||||
hash = "sha256-K4wORHtLnbzIXdl7butNy69si2w74L1lTiVVPgohV9g=";
|
||||
};
|
||||
disabledTests = old.disabledTests ++ [
|
||||
"test_response_body"
|
||||
];
|
||||
});
|
||||
};
|
||||
};
|
||||
@@ -99,7 +102,6 @@ in python.pkgs.buildPythonApplication rec {
|
||||
dontStrip = true;
|
||||
|
||||
passthru = {
|
||||
updateScript = ./update.sh;
|
||||
tests = {
|
||||
inherit (nixosTests) odoo;
|
||||
};
|
||||
@@ -11,17 +11,17 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "openpgp-card-tools";
|
||||
version = "0.11.0";
|
||||
version = "0.11.2";
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "codeberg.org";
|
||||
owner = "openpgp-card";
|
||||
repo = "openpgp-card-tools";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-GKBli6ybMDqB105POFEocU2X/xvd56V87k6Y6BsNt18=";
|
||||
hash = "sha256-4PRUBzVy1sb15sYsbitBrOfQnsdbGKoR2OA4EjSc8B8=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-mLZErQhgRWDMdDC5tWjG9NCvLaSdF4A3uCdN8+QMWjU=";
|
||||
cargoHash = "sha256-Jm1181WQfYZPKnu0f2om/hxkJ8Bm5AA/3IwBgZkpF0I=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config rustPlatform.bindgenHook ];
|
||||
|
||||
|
||||
@@ -31,13 +31,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "openvas-scanner";
|
||||
version = "23.4.0";
|
||||
version = "23.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "greenbone";
|
||||
repo = "openvas-scanner";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-8/a8OkaulT0uZb3CllLo0CWqloVbYF/6CY7a/Xn48T8=";
|
||||
hash = "sha256-D0HQ00NCep0hAQ+dDWoinIxivloqgjPbp2lUunTxoyM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -8,16 +8,16 @@
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "redocly";
|
||||
version = "1.14.0";
|
||||
version = "1.15.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Redocly";
|
||||
repo = "redocly-cli";
|
||||
rev = "@redocly/cli@${version}";
|
||||
hash = "sha256-R5GSkRbe7GpdQ9y3PvRcWcl27HgEJMHyOLgR0zVF6jA=";
|
||||
hash = "sha256-qGjFueL05f7DgDa0/B+w1Ix2tRx7PicMneub2sWJ7Gw=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-o1Z8v/LR77TUKufv60B/P4XWR7Ebf0PTX7ee3YgjnBs=";
|
||||
npmDepsHash = "sha256-pO1ewVInuPCLDk2V4HRqOCFmT1VTVa/qRkJ5rxREWMU=";
|
||||
|
||||
npmBuildScript = "prepare";
|
||||
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
{ fetchFromGitLab
|
||||
, lib
|
||||
, rustPlatform
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "rusty-diceware";
|
||||
version = "0.5.8";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "yuvallanger";
|
||||
repo = "rusty-diceware";
|
||||
rev = "diceware-v${version}";
|
||||
hash = "sha256-GDWvHHl4EztTaR0jI4XL1I9qE2KSL+q9C8IvLWQF4Ys=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-5SAKrNgFG3O+hLKvEGhawyRi7wiEPWmxPsLtEX0OkDM=";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Commandline diceware, with or without dice, written in Rustlang";
|
||||
homepage = "https://gitlab.com/yuvallanger/rusty-diceware";
|
||||
changelog = "https://gitlab.com/yuvallanger/rusty-diceware/-/blob/v${version}/CHANGELOG.md?ref_type=heads";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ cherrykitten ];
|
||||
mainProgram = "diceware";
|
||||
};
|
||||
}
|
||||
@@ -1,84 +1,97 @@
|
||||
{ lib
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
{
|
||||
lib,
|
||||
python3,
|
||||
fetchFromGitHub,
|
||||
nixosTests
|
||||
}:
|
||||
|
||||
python3.pkgs.toPythonModule (python3.pkgs.buildPythonApplication rec {
|
||||
pname = "searxng";
|
||||
version = "0-unstable-2024-05-31";
|
||||
python3.pkgs.toPythonModule (
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "searxng";
|
||||
version = "0-unstable-2024-06-19";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "searxng";
|
||||
repo = "searxng";
|
||||
rev = "18fb701be225560b3fb1011cc533f785823f26a4";
|
||||
hash = "sha256-okE/Uxl7YqcM99kLJ4KAlMQi50x5m0bPfYp5bv62WEw=";
|
||||
};
|
||||
src = fetchFromGitHub {
|
||||
owner = "searxng";
|
||||
repo = "searxng";
|
||||
rev = "acf3f109b2a99a5e6f25f5f2975016a36673c6ef";
|
||||
hash = "sha256-NdFnB5JEaWo7gt+RwxKxkVtEL8uGLlc4z0ROHN+zoL4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i 's/==.*$//' requirements.txt
|
||||
|
||||
# can't be fetchpatched as it is essentially empty and it complains about that
|
||||
# TODO: drop when updating to a version that includes https://github.com/searxng/searxng/pull/3563
|
||||
touch searx/answerers/random/__init__.py
|
||||
touch searx/answerers/statistics/__init__.py
|
||||
'';
|
||||
|
||||
preBuild =
|
||||
let
|
||||
versionString = lib.concatStringsSep "." (builtins.tail (lib.splitString "-" (lib.removePrefix "0-" version)));
|
||||
commitAbbrev = builtins.substring 0 8 src.rev;
|
||||
in
|
||||
''
|
||||
export SEARX_DEBUG="true";
|
||||
|
||||
cat > searx/version_frozen.py <<EOF
|
||||
VERSION_STRING="${versionString}+${commitAbbrev}"
|
||||
VERSION_TAG="${versionString}+${commitAbbrev}"
|
||||
DOCKER_TAG="${versionString}-${commitAbbrev}"
|
||||
GIT_URL="https://github.com/searxng/searxng"
|
||||
GIT_BRANCH="master"
|
||||
EOF
|
||||
postPatch = ''
|
||||
sed -i 's/==.*$//' requirements.txt
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
babel
|
||||
certifi
|
||||
python-dateutil
|
||||
fasttext-predict
|
||||
flask
|
||||
flask-babel
|
||||
brotli
|
||||
jinja2
|
||||
lxml
|
||||
pygments
|
||||
pytomlpp
|
||||
pyyaml
|
||||
redis
|
||||
uvloop
|
||||
setproctitle
|
||||
httpx
|
||||
httpx-socks
|
||||
markdown-it-py
|
||||
] ++ httpx.optional-dependencies.http2
|
||||
++ httpx-socks.optional-dependencies.asyncio;
|
||||
preBuild =
|
||||
let
|
||||
versionString = lib.concatStringsSep "." (
|
||||
builtins.tail (lib.splitString "-" (lib.removePrefix "0-" version))
|
||||
);
|
||||
commitAbbrev = builtins.substring 0 8 src.rev;
|
||||
in
|
||||
''
|
||||
export SEARX_DEBUG="true";
|
||||
|
||||
# tests try to connect to network
|
||||
doCheck = false;
|
||||
cat > searx/version_frozen.py <<EOF
|
||||
VERSION_STRING="${versionString}+${commitAbbrev}"
|
||||
VERSION_TAG="${versionString}+${commitAbbrev}"
|
||||
DOCKER_TAG="${versionString}-${commitAbbrev}"
|
||||
GIT_URL="https://github.com/searxng/searxng"
|
||||
GIT_BRANCH="master"
|
||||
EOF
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
# Create a symlink for easier access to static data
|
||||
mkdir -p $out/share
|
||||
ln -s ../${python3.sitePackages}/searx/static $out/share/
|
||||
dependencies =
|
||||
with python3.pkgs;
|
||||
[
|
||||
babel
|
||||
certifi
|
||||
python-dateutil
|
||||
fasttext-predict
|
||||
flask
|
||||
flask-babel
|
||||
brotli
|
||||
jinja2
|
||||
lxml
|
||||
pygments
|
||||
pytomlpp
|
||||
pyyaml
|
||||
redis
|
||||
uvloop
|
||||
setproctitle
|
||||
httpx
|
||||
httpx-socks
|
||||
markdown-it-py
|
||||
]
|
||||
++ httpx.optional-dependencies.http2
|
||||
++ httpx-socks.optional-dependencies.asyncio;
|
||||
|
||||
# copy config schema for the limiter
|
||||
cp searx/limiter.toml $out/${python3.sitePackages}/searx/limiter.toml
|
||||
'';
|
||||
# tests try to connect to network
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/searxng/searxng";
|
||||
description = "Fork of Searx, a privacy-respecting, hackable metasearch engine";
|
||||
license = licenses.agpl3Plus;
|
||||
mainProgram = "searxng-run";
|
||||
maintainers = with maintainers; [ SuperSandro2000 _999eagle ];
|
||||
};
|
||||
})
|
||||
postInstall = ''
|
||||
# Create a symlink for easier access to static data
|
||||
mkdir -p $out/share
|
||||
ln -s ../${python3.sitePackages}/searx/static $out/share/
|
||||
|
||||
# copy config schema for the limiter
|
||||
cp searx/limiter.toml $out/${python3.sitePackages}/searx/limiter.toml
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
tests = {
|
||||
searxng = nixosTests.searx;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/searxng/searxng";
|
||||
description = "Fork of Searx, a privacy-respecting, hackable metasearch engine";
|
||||
license = licenses.agpl3Plus;
|
||||
mainProgram = "searxng-run";
|
||||
maintainers = with maintainers; [
|
||||
SuperSandro2000
|
||||
_999eagle
|
||||
];
|
||||
};
|
||||
}
|
||||
)
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "syft";
|
||||
version = "1.6.0";
|
||||
version = "1.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "anchore";
|
||||
repo = "syft";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-qh+iuqnLX8Qr8sOP3YobwcFdOhnlIrnoBR53ZeCPdB4=";
|
||||
hash = "sha256-fTqyFsFWSsVt2Thd15nlsmnNIhQSLAv9SaaaVJWto/8=";
|
||||
# populate values that require us to use git. By doing this in postFetch we
|
||||
# can delete .git afterwards and maintain better reproducibility of the src.
|
||||
leaveDotGit = true;
|
||||
@@ -28,7 +28,7 @@ buildGoModule rec {
|
||||
# hash mismatch with darwin
|
||||
proxyVendor = true;
|
||||
|
||||
vendorHash = "sha256-CmkxbyXUvFqa3sRcT7aao+pdZxJVFQiNcwmCmWzgF5c=";
|
||||
vendorHash = "sha256-U4PZPUsfWCJB2YFJkirF8Q46pRmhKqzSnk7GpKOrfbU=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
|
||||
@@ -7,14 +7,14 @@
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "troubadix";
|
||||
version = "24.6.1";
|
||||
version = "24.6.5";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "greenbone";
|
||||
repo = "troubadix";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-R747RD7jye2SANZoUk/bpHwXviBEBF2c+LeCwQBxlH8=";
|
||||
hash = "sha256-W6RC0JKTBLlPSgWlAggU8HRNY+nRAYtLlG0cnnYMaFM=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "validators" ];
|
||||
|
||||
Generated
+125
-66
@@ -313,9 +313,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "axoupdater"
|
||||
version = "0.6.5"
|
||||
version = "0.6.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "669a5ea910fb9b97e3df709c7d0f626fc9e5e9cb83c00bd3a1b4c54835ed8b66"
|
||||
checksum = "8cc5997cf9d00fa790ba6f19688d93b89760bd641d1c2482bcfbc2bf56988576"
|
||||
dependencies = [
|
||||
"axoasset",
|
||||
"axoprocess",
|
||||
@@ -683,9 +683,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "clap"
|
||||
version = "4.5.6"
|
||||
version = "4.5.7"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a9689a29b593160de5bc4aacab7b5d54fb52231de70122626c178e6a368994c7"
|
||||
checksum = "5db83dced34638ad474f39f250d7fea9598bdd239eaced1bdf45d597da0f433f"
|
||||
dependencies = [
|
||||
"clap_builder",
|
||||
"clap_derive",
|
||||
@@ -693,9 +693,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "clap_builder"
|
||||
version = "4.5.6"
|
||||
version = "4.5.7"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2e5387378c84f6faa26890ebf9f0a92989f8873d4d380467bcd0d8d8620424df"
|
||||
checksum = "f7e204572485eb3fbf28f871612191521df159bc3e15a9f5064c66dba3a8c05f"
|
||||
dependencies = [
|
||||
"anstream",
|
||||
"anstyle",
|
||||
@@ -827,9 +827,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "configparser"
|
||||
version = "3.0.4"
|
||||
version = "3.1.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "4ec6d3da8e550377a85339063af6e3735f4b1d9392108da4e083a1b3b9820288"
|
||||
checksum = "e57e3272f0190c3f1584272d613719ba5fc7df7f4942fe542e63d949cf3a649b"
|
||||
|
||||
[[package]]
|
||||
name = "console"
|
||||
@@ -1618,12 +1618,12 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "http-body-util"
|
||||
version = "0.1.1"
|
||||
version = "0.1.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0475f8b2ac86659c21b64320d5d653f9efe42acd2a4e560073ec61a155a34f1d"
|
||||
checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"futures-core",
|
||||
"futures-util",
|
||||
"http",
|
||||
"http-body",
|
||||
"pin-project-lite",
|
||||
@@ -1670,19 +1670,21 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "hyper-rustls"
|
||||
version = "0.26.0"
|
||||
version = "0.27.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a0bea761b46ae2b24eb4aef630d8d1c398157b6fc29e6350ecf090a0b70c952c"
|
||||
checksum = "5ee4be2c948921a1a5320b629c4193916ed787a7f7f293fd3f7f5a6c9de74155"
|
||||
dependencies = [
|
||||
"futures-util",
|
||||
"http",
|
||||
"hyper",
|
||||
"hyper-util",
|
||||
"rustls",
|
||||
"rustls-native-certs",
|
||||
"rustls-pki-types",
|
||||
"tokio",
|
||||
"tokio-rustls",
|
||||
"tower-service",
|
||||
"webpki-roots",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -2710,7 +2712,7 @@ dependencies = [
|
||||
"indoc",
|
||||
"libc",
|
||||
"memoffset 0.9.1",
|
||||
"parking_lot 0.12.3",
|
||||
"parking_lot 0.11.2",
|
||||
"portable-atomic",
|
||||
"pyo3-build-config",
|
||||
"pyo3-ffi",
|
||||
@@ -2797,6 +2799,53 @@ dependencies = [
|
||||
"uv-normalize",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "quinn"
|
||||
version = "0.11.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e4ceeeeabace7857413798eb1ffa1e9c905a9946a57d81fb69b4b71c4d8eb3ad"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"pin-project-lite",
|
||||
"quinn-proto",
|
||||
"quinn-udp",
|
||||
"rustc-hash",
|
||||
"rustls",
|
||||
"thiserror",
|
||||
"tokio",
|
||||
"tracing",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "quinn-proto"
|
||||
version = "0.11.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ddf517c03a109db8100448a4be38d498df8a210a99fe0e1b9eaf39e78c640efe"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"rand",
|
||||
"ring",
|
||||
"rustc-hash",
|
||||
"rustls",
|
||||
"slab",
|
||||
"thiserror",
|
||||
"tinyvec",
|
||||
"tracing",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "quinn-udp"
|
||||
version = "0.5.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9096629c45860fc7fb143e125eb826b5e721e10be3263160c7d60ca832cf8c46"
|
||||
dependencies = [
|
||||
"libc",
|
||||
"once_cell",
|
||||
"socket2",
|
||||
"tracing",
|
||||
"windows-sys 0.52.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "quote"
|
||||
version = "1.0.36"
|
||||
@@ -2923,13 +2972,13 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "reflink-copy"
|
||||
version = "0.1.17"
|
||||
version = "0.1.18"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7c3138c30c59ed9b8572f82bed97ea591ecd7e45012566046cc39e72679cff22"
|
||||
checksum = "6d731e7e3ebfcf422d96b8473e507d5b64790900dd5464772d38d1da9da24d3a"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"rustix",
|
||||
"windows 0.56.0",
|
||||
"windows 0.57.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -3017,9 +3066,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "reqwest"
|
||||
version = "0.12.4"
|
||||
version = "0.12.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "566cafdd92868e0939d3fb961bd0dc25fcfaaed179291093b3d43e6b3150ea10"
|
||||
checksum = "c7d6d2a27d57148378eb5e111173f4276ad26340ecc5c49a4a2152167a2d6a37"
|
||||
dependencies = [
|
||||
"async-compression",
|
||||
"base64 0.22.1",
|
||||
@@ -3040,6 +3089,7 @@ dependencies = [
|
||||
"once_cell",
|
||||
"percent-encoding",
|
||||
"pin-project-lite",
|
||||
"quinn",
|
||||
"rustls",
|
||||
"rustls-native-certs",
|
||||
"rustls-pemfile",
|
||||
@@ -3267,11 +3317,11 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rustls"
|
||||
version = "0.22.4"
|
||||
version = "0.23.10"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432"
|
||||
checksum = "05cff451f60db80f490f3c182b77c35260baace73209e9cdbbe526bfe3a4d402"
|
||||
dependencies = [
|
||||
"log",
|
||||
"once_cell",
|
||||
"ring",
|
||||
"rustls-pki-types",
|
||||
"rustls-webpki",
|
||||
@@ -3695,9 +3745,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "sync_wrapper"
|
||||
version = "0.1.2"
|
||||
version = "1.0.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160"
|
||||
checksum = "a7065abeca94b6a8a577f9bd45aa0867a2238b74e8eb67cf10d492bc39351394"
|
||||
|
||||
[[package]]
|
||||
name = "sys-info"
|
||||
@@ -3976,9 +4026,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "tokio-rustls"
|
||||
version = "0.25.0"
|
||||
version = "0.26.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "775e0c0f0adb3a2f22a00c4745d728b479985fc15ee7ca6a2608388c5569860f"
|
||||
checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4"
|
||||
dependencies = [
|
||||
"rustls",
|
||||
"rustls-pki-types",
|
||||
@@ -4368,7 +4418,7 @@ checksum = "a183cf7feeba97b4dd1c0d46788634f6221d87fa961b305bed08c851829efcc0"
|
||||
|
||||
[[package]]
|
||||
name = "uv"
|
||||
version = "0.2.11"
|
||||
version = "0.2.13"
|
||||
dependencies = [
|
||||
"anstream",
|
||||
"anyhow",
|
||||
@@ -4384,6 +4434,7 @@ dependencies = [
|
||||
"filetime",
|
||||
"flate2",
|
||||
"fs-err",
|
||||
"futures",
|
||||
"ignore",
|
||||
"indicatif",
|
||||
"indoc",
|
||||
@@ -4427,11 +4478,11 @@ dependencies = [
|
||||
"uv-normalize",
|
||||
"uv-requirements",
|
||||
"uv-resolver",
|
||||
"uv-settings",
|
||||
"uv-toolchain",
|
||||
"uv-types",
|
||||
"uv-virtualenv",
|
||||
"uv-warnings",
|
||||
"uv-workspace",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -4589,7 +4640,6 @@ dependencies = [
|
||||
"distribution-filename",
|
||||
"distribution-types",
|
||||
"fs-err",
|
||||
"futures",
|
||||
"install-wheel-rs",
|
||||
"mimalloc",
|
||||
"owo-colors",
|
||||
@@ -4614,13 +4664,12 @@ dependencies = [
|
||||
"uv-configuration",
|
||||
"uv-dispatch",
|
||||
"uv-distribution",
|
||||
"uv-fs",
|
||||
"uv-git",
|
||||
"uv-installer",
|
||||
"uv-resolver",
|
||||
"uv-settings",
|
||||
"uv-toolchain",
|
||||
"uv-types",
|
||||
"uv-workspace",
|
||||
"walkdir",
|
||||
]
|
||||
|
||||
@@ -4793,6 +4842,14 @@ dependencies = [
|
||||
"walkdir",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "uv-macros"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"quote",
|
||||
"syn 2.0.66",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "uv-normalize"
|
||||
version = "0.0.1"
|
||||
@@ -4856,6 +4913,7 @@ dependencies = [
|
||||
"itertools 0.13.0",
|
||||
"once-map",
|
||||
"owo-colors",
|
||||
"path-slash",
|
||||
"pep440_rs",
|
||||
"pep508_rs",
|
||||
"petgraph",
|
||||
@@ -4886,6 +4944,29 @@ dependencies = [
|
||||
"uv-warnings",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "uv-settings"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"dirs-sys",
|
||||
"distribution-types",
|
||||
"fs-err",
|
||||
"install-wheel-rs",
|
||||
"pep508_rs",
|
||||
"pypi-types",
|
||||
"schemars",
|
||||
"serde",
|
||||
"thiserror",
|
||||
"toml",
|
||||
"tracing",
|
||||
"uv-configuration",
|
||||
"uv-fs",
|
||||
"uv-macros",
|
||||
"uv-normalize",
|
||||
"uv-resolver",
|
||||
"uv-toolchain",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "uv-state"
|
||||
version = "0.0.1"
|
||||
@@ -4921,6 +5002,7 @@ dependencies = [
|
||||
"schemars",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"target-lexicon",
|
||||
"temp-env",
|
||||
"tempfile",
|
||||
"test-log",
|
||||
@@ -4961,7 +5043,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "uv-version"
|
||||
version = "0.2.11"
|
||||
version = "0.2.13"
|
||||
|
||||
[[package]]
|
||||
name = "uv-virtualenv"
|
||||
@@ -4989,29 +5071,6 @@ dependencies = [
|
||||
"rustc-hash",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "uv-workspace"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"dirs-sys",
|
||||
"distribution-types",
|
||||
"fs-err",
|
||||
"install-wheel-rs",
|
||||
"pep508_rs",
|
||||
"pypi-types",
|
||||
"schemars",
|
||||
"serde",
|
||||
"thiserror",
|
||||
"toml",
|
||||
"tracing",
|
||||
"uv-configuration",
|
||||
"uv-fs",
|
||||
"uv-normalize",
|
||||
"uv-resolver",
|
||||
"uv-toolchain",
|
||||
"uv-warnings",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "valuable"
|
||||
version = "0.1.0"
|
||||
@@ -5240,11 +5299,11 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "windows"
|
||||
version = "0.56.0"
|
||||
version = "0.57.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1de69df01bdf1ead2f4ac895dc77c9351aefff65b2f3db429a343f9cbf05e132"
|
||||
checksum = "12342cb4d8e3b046f3d80effd474a7a02447231330ef77d71daa6fbc40681143"
|
||||
dependencies = [
|
||||
"windows-core 0.56.0",
|
||||
"windows-core 0.57.0",
|
||||
"windows-targets 0.52.5",
|
||||
]
|
||||
|
||||
@@ -5259,12 +5318,12 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "windows-core"
|
||||
version = "0.56.0"
|
||||
version = "0.57.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "4698e52ed2d08f8658ab0c39512a7c00ee5fe2688c65f8c0a4f06750d729f2a6"
|
||||
checksum = "d2ed2439a290666cd67ecce2b0ffaad89c2a56b976b736e6ece670297897832d"
|
||||
dependencies = [
|
||||
"windows-implement 0.56.0",
|
||||
"windows-interface 0.56.0",
|
||||
"windows-implement 0.57.0",
|
||||
"windows-interface 0.57.0",
|
||||
"windows-result",
|
||||
"windows-targets 0.52.5",
|
||||
]
|
||||
@@ -5282,9 +5341,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "windows-implement"
|
||||
version = "0.56.0"
|
||||
version = "0.57.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f6fc35f58ecd95a9b71c4f2329b911016e6bec66b3f2e6a4aad86bd2e99e2f9b"
|
||||
checksum = "9107ddc059d5b6fbfbffdfa7a7fe3e22a226def0b2608f72e9d552763d3e1ad7"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
@@ -5304,9 +5363,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "windows-interface"
|
||||
version = "0.56.0"
|
||||
version = "0.57.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "08990546bf4edef8f431fa6326e032865f27138718c587dc21bc0265bbcb57cc"
|
||||
checksum = "29bee4b38ea3cde66011baa44dba677c432a78593e202392d1e9070cf2a7fca7"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
|
||||
@@ -16,14 +16,14 @@
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "uv";
|
||||
version = "0.2.11";
|
||||
version = "0.2.13";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "astral-sh";
|
||||
repo = "uv";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-SkWhff9nYlbbzsXb9EWMzC0aKRU+LbJqClBddq1yl3Y=";
|
||||
hash = "sha256-/YRmaPNTw3RsaB4bTb5UO0qXtRe2h1oD4Bav6VQ4W04=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.importCargoLock {
|
||||
|
||||
@@ -150,9 +150,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
mesonFlags =
|
||||
(lib.mapAttrsToList lib.mesonEnable {
|
||||
"cava" = cavaSupport;
|
||||
"cava" = cavaSupport && lib.asserts.assertMsg sndioSupport "Sndio support is required for Cava";
|
||||
"dbusmenu-gtk" = traySupport;
|
||||
"jack" = jackSupport;
|
||||
"libevdev" = evdevSupport;
|
||||
"libinput" = inputSupport;
|
||||
"libnl" = nlSupport;
|
||||
"libudev" = udevSupport;
|
||||
|
||||
@@ -0,0 +1,105 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
installShellFiles,
|
||||
btrfs-progs,
|
||||
testers,
|
||||
werf,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "werf";
|
||||
version = "2.6.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "werf";
|
||||
repo = "werf";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-10RyCVF1w5xj/qhFXQTlyrt9HG/4di2fUwUtDHU6t44=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-d1Dn+JN8tiBVx7YDbtvLW0YgIW2ENrEdx4gKatYy1hw=";
|
||||
|
||||
proxyVendor = true;
|
||||
|
||||
subPackages = [ "cmd/werf" ];
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
buildInputs =
|
||||
lib.optionals stdenv.isLinux [ btrfs-progs ]
|
||||
++ lib.optionals stdenv.hostPlatform.isGnu [ stdenv.cc.libc.static ];
|
||||
|
||||
CGO_ENABLED = if stdenv.isLinux then 1 else 0;
|
||||
|
||||
ldflags =
|
||||
[
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/werf/werf/v2/pkg/werf.Version=v${version}"
|
||||
]
|
||||
++ lib.optionals (CGO_ENABLED == 1) [
|
||||
"-extldflags=-static"
|
||||
"-linkmode external"
|
||||
];
|
||||
|
||||
tags =
|
||||
[
|
||||
"containers_image_openpgp"
|
||||
"dfrunmount"
|
||||
"dfrunnetwork"
|
||||
"dfrunsecurity"
|
||||
"dfssh"
|
||||
]
|
||||
++ lib.optionals (CGO_ENABLED == 1) [
|
||||
"cni"
|
||||
"exclude_graphdriver_devicemapper"
|
||||
"netgo"
|
||||
"no_devmapper"
|
||||
"osusergo"
|
||||
"static_build"
|
||||
];
|
||||
|
||||
preCheck =
|
||||
''
|
||||
# Test all targets.
|
||||
unset subPackages
|
||||
|
||||
# Remove tests that require external services.
|
||||
rm -rf \
|
||||
integration/suites \
|
||||
pkg/true_git/*test.go \
|
||||
test/e2e
|
||||
''
|
||||
+ lib.optionalString (CGO_ENABLED == 0) ''
|
||||
# A workaround for osusergo.
|
||||
export USER=nixbld
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd werf \
|
||||
--bash <($out/bin/werf completion --shell=bash) \
|
||||
--zsh <($out/bin/werf completion --shell=zsh)
|
||||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = werf;
|
||||
command = "werf version";
|
||||
version = src.rev;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "GitOps delivery tool";
|
||||
mainProgram = "werf";
|
||||
longDescription = ''
|
||||
The CLI tool gluing Git, Docker, Helm & Kubernetes with any CI system to
|
||||
implement CI/CD and Giterminism.
|
||||
'';
|
||||
homepage = "https://werf.io";
|
||||
changelog = "https://github.com/werf/werf/releases/tag/${src.rev}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ azahi ];
|
||||
};
|
||||
}
|
||||
@@ -1,19 +1,18 @@
|
||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
buildGoModule {
|
||||
pname = "xmonad-log";
|
||||
version = "0.1.0";
|
||||
|
||||
goPackagePath = "github.com/xintron/xmonad-log";
|
||||
version = "0.1.0-unstable-2024-06-14";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "xintron";
|
||||
repo = "xmonad-log";
|
||||
rev = version;
|
||||
sha256 = "1il6v0zcjw0pfb1hjj198y94jmlcx255h422ph0f1zr7afqkzmaw";
|
||||
rev = "70c76d59c22cf5f412467cd42fa9ff34eeb2bd1b";
|
||||
sha256 = "sha256-hDYb3mSX2+FX/2uazCKPXmNj0avDlutwSMjST7wLBVY=";
|
||||
};
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
vendorHash = "sha256-58zK6t3rb+19ilaQaNgsMVFQBYKPIV40ww8klrGbpnw=";
|
||||
proxyVendor = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "xmonad DBus monitoring solution";
|
||||
@@ -6,13 +6,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "zpaqfranz";
|
||||
version = "59.7";
|
||||
version = "59.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fcorbelli";
|
||||
repo = "zpaqfranz";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-BP9aAzS5ZeT0mZeheQY7tcnTLuJZMWz3se1phv5u5BI=";
|
||||
hash = "sha256-N3R/M0TS8XzRilQT4NFqIlfo2NqfunA38IrQBz5uaPg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -13,13 +13,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bulky";
|
||||
version = "3.2";
|
||||
version = "3.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = "bulky";
|
||||
rev = version;
|
||||
hash = "sha256-Zt5J8+CYiPxp/e1wDaJp7R91vYJmGNqPQs39J/OIwiQ=";
|
||||
hash = "sha256-S4wAcwlJnXHYQEnP9WApCTjvVHKMrAt7gQ2l8zvFrs0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -31,13 +31,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pix";
|
||||
version = "3.4.0";
|
||||
version = "3.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-XXt5tq+Zfm6fqorsFAWV3guii6gTK5JRgw26GkNkoos=";
|
||||
sha256 = "sha256-QkgjUzoBOXE3mxXy/Lq3YkHq7f9oE97FeP7PHIBDHvc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -27,13 +27,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xviewer";
|
||||
version = "3.4.4";
|
||||
version = "3.4.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-Kr3GoroQUzOePJiYeJYE9wrqWKcfX7ncu3tZSxOdnvU=";
|
||||
sha256 = "sha256-J6KDkGPbcRBofsJVmd+1IEapSfSd3ftjz0AggvBI8ck=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -0,0 +1,156 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, jetbrains
|
||||
, openjdk17
|
||||
, openjdk17-bootstrap
|
||||
, git
|
||||
, autoconf
|
||||
, unzip
|
||||
, rsync
|
||||
, debugBuild ? false
|
||||
, withJcef ? true
|
||||
|
||||
, libXdamage
|
||||
, libXxf86vm
|
||||
, libXrandr
|
||||
, libXi
|
||||
, libXcursor
|
||||
, libXrender
|
||||
, libX11
|
||||
, libXext
|
||||
, libxcb
|
||||
, nss
|
||||
, nspr
|
||||
, libdrm
|
||||
, mesa
|
||||
, wayland
|
||||
, udev
|
||||
}:
|
||||
|
||||
assert debugBuild -> withJcef;
|
||||
|
||||
let
|
||||
arch = {
|
||||
"aarch64-linux" = "aarch64";
|
||||
"x86_64-linux" = "x64";
|
||||
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
||||
cpu = stdenv.hostPlatform.parsed.cpu.name;
|
||||
in
|
||||
openjdk17.overrideAttrs (oldAttrs: rec {
|
||||
pname = "jetbrains-jdk" + lib.optionalString withJcef "-jcef";
|
||||
javaVersion = "17.0.11";
|
||||
build = "1207.24";
|
||||
# To get the new tag:
|
||||
# git clone https://github.com/jetbrains/jetbrainsruntime
|
||||
# cd jetbrainsruntime
|
||||
# git reset --hard [revision]
|
||||
# git log --simplify-by-decoration --decorate=short --pretty=short | grep "jbr-" --color=never | cut -d "(" -f2 | cut -d ")" -f1 | awk '{print $2}' | sort -t "-" -k 2 -g | tail -n 1 | tr -d ","
|
||||
openjdkTag = "jbr-17.0.8+7";
|
||||
version = "${javaVersion}-b${build}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "JetBrains";
|
||||
repo = "JetBrainsRuntime";
|
||||
rev = "jb${version}";
|
||||
hash = "sha256-a7cJF2iCW/1GK0/GmVbaY5pYcn3YtZy5ngFkyAGRhu0=";
|
||||
};
|
||||
|
||||
BOOT_JDK = openjdk17-bootstrap.home;
|
||||
# run `git log -1 --pretty=%ct` in jdk repo for new value on update
|
||||
SOURCE_DATE_EPOCH = 1715809405;
|
||||
|
||||
patches = [ ];
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
${lib.optionalString withJcef "cp -r ${jetbrains.jcef} jcef_linux_${arch}"}
|
||||
|
||||
sed \
|
||||
-e "s/OPENJDK_TAG=.*/OPENJDK_TAG=${openjdkTag}/" \
|
||||
-e "s/SOURCE_DATE_EPOCH=.*//" \
|
||||
-e "s/export SOURCE_DATE_EPOCH//" \
|
||||
-i jb/project/tools/common/scripts/common.sh
|
||||
sed -i "s/STATIC_CONF_ARGS/STATIC_CONF_ARGS \$configureFlags/" jb/project/tools/linux/scripts/mkimages_${arch}.sh
|
||||
sed \
|
||||
-e "s/create_image_bundle \"jb/#/" \
|
||||
-e "s/echo Creating /exit 0 #/" \
|
||||
-i jb/project/tools/linux/scripts/mkimages_${arch}.sh
|
||||
|
||||
patchShebangs .
|
||||
./jb/project/tools/linux/scripts/mkimages_${arch}.sh ${build} ${if debugBuild then "fd" else (if withJcef then "jcef" else "nomod")}
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase =
|
||||
let
|
||||
buildType = if debugBuild then "fastdebug" else "release";
|
||||
debugSuffix = if debugBuild then "-fastdebug" else "";
|
||||
jcefSuffix = if debugBuild || !withJcef then "" else "_jcef";
|
||||
jbrsdkDir = "jbrsdk${jcefSuffix}-${javaVersion}-linux-${arch}${debugSuffix}-b${build}";
|
||||
in
|
||||
''
|
||||
runHook preInstall
|
||||
|
||||
mv build/linux-${cpu}-server-${buildType}/images/jdk/man build/linux-${cpu}-server-${buildType}/images/${jbrsdkDir}
|
||||
rm -rf build/linux-${cpu}-server-${buildType}/images/jdk
|
||||
mv build/linux-${cpu}-server-${buildType}/images/${jbrsdkDir} build/linux-${cpu}-server-${buildType}/images/jdk
|
||||
'' + oldAttrs.installPhase + "runHook postInstall";
|
||||
|
||||
postInstall = lib.optionalString withJcef ''
|
||||
chmod +x $out/lib/openjdk/lib/chrome-sandbox
|
||||
'';
|
||||
|
||||
dontStrip = debugBuild;
|
||||
|
||||
postFixup = ''
|
||||
# Build the set of output library directories to rpath against
|
||||
LIBDIRS="${lib.makeLibraryPath [
|
||||
libXdamage libXxf86vm libXrandr libXi libXcursor libXrender libX11 libXext libxcb
|
||||
nss nspr libdrm mesa wayland udev
|
||||
]}"
|
||||
for output in $outputs; do
|
||||
if [ "$output" = debug ]; then continue; fi
|
||||
LIBDIRS="$(find $(eval echo \$$output) -name \*.so\* -exec dirname {} \+ | sort -u | tr '\n' ':'):$LIBDIRS"
|
||||
done
|
||||
# Add the local library paths to remove dependencies on the bootstrap
|
||||
for output in $outputs; do
|
||||
if [ "$output" = debug ]; then continue; fi
|
||||
OUTPUTDIR=$(eval echo \$$output)
|
||||
BINLIBS=$(find $OUTPUTDIR/bin/ -type f; find $OUTPUTDIR -name \*.so\*)
|
||||
echo "$BINLIBS" | while read i; do
|
||||
patchelf --set-rpath "$LIBDIRS:$(patchelf --print-rpath "$i")" "$i" || true
|
||||
patchelf --shrink-rpath "$i" || true
|
||||
done
|
||||
done
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ git autoconf unzip rsync ] ++ oldAttrs.nativeBuildInputs;
|
||||
|
||||
meta = with lib; {
|
||||
description = "An OpenJDK fork to better support Jetbrains's products.";
|
||||
longDescription = ''
|
||||
JetBrains Runtime is a runtime environment for running IntelliJ Platform
|
||||
based products on Windows, Mac OS X, and Linux. JetBrains Runtime is
|
||||
based on OpenJDK project with some modifications. These modifications
|
||||
include: Subpixel Anti-Aliasing, enhanced font rendering on Linux, HiDPI
|
||||
support, ligatures, some fixes for native crashes not presented in
|
||||
official build, and other small enhancements.
|
||||
JetBrains Runtime is not a certified build of OpenJDK. Please, use at
|
||||
your own risk.
|
||||
'';
|
||||
homepage = "https://confluence.jetbrains.com/display/JBR/JetBrains+Runtime";
|
||||
inherit (openjdk17.meta) license platforms mainProgram;
|
||||
maintainers = with maintainers; [ edwtjo ];
|
||||
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
|
||||
passthru = oldAttrs.passthru // {
|
||||
home = "${jetbrains.jdk}/lib/openjdk";
|
||||
};
|
||||
})
|
||||
@@ -11,6 +11,7 @@ let
|
||||
git
|
||||
xdg-user-dirs
|
||||
ncurses
|
||||
udev
|
||||
]) ++ (with python.pkgs; [
|
||||
python
|
||||
setuptools
|
||||
|
||||
@@ -189,6 +189,7 @@ in rec {
|
||||
fullName = "Afrikaans";
|
||||
filename = "aspell";
|
||||
sha256 = "00p6k2ndi0gzfr5fkbvx4hkcpj223pidjvmxg0r384arrap00q4x";
|
||||
meta.license = lib.licenses.lgpl21Only;
|
||||
};
|
||||
|
||||
am = buildOfficialDict {
|
||||
@@ -197,6 +198,7 @@ in rec {
|
||||
fullName = "Amharic";
|
||||
filename = "aspell6";
|
||||
sha256 = "11ylp7gjq94wfacyawvp391lsq26rl1b84f268rjn7l7z0hxs9xz";
|
||||
meta.license = lib.licenses.publicDomain;
|
||||
};
|
||||
|
||||
ar = buildOfficialDict {
|
||||
@@ -205,6 +207,7 @@ in rec {
|
||||
fullName = "Arabic";
|
||||
filename = "aspell6";
|
||||
sha256 = "1avw40bp8yi5bnkq64ihm2rldgw34lk89yz281q9bmndh95a47h4";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
ast = buildOfficialDict {
|
||||
@@ -213,6 +216,7 @@ in rec {
|
||||
fullName = "Asturian";
|
||||
filename = "aspell6";
|
||||
sha256 = "14hg85mxcyvdigf96yvslk7f3v9ngdsxn85qpgwkg31k3k83xwj3";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
az = buildOfficialDict {
|
||||
@@ -221,6 +225,7 @@ in rec {
|
||||
fullName = "Azerbaijani";
|
||||
filename = "aspell6";
|
||||
sha256 = "1hs4h1jscpxf9f9iyk6mvjqsnhkf0yslkbjhjkasqqcx8pn7cc86";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
be = buildOfficialDict {
|
||||
@@ -229,6 +234,7 @@ in rec {
|
||||
fullName = "Belarusian";
|
||||
filename = "aspell5";
|
||||
sha256 = "1svls9p7rsfi3hs0afh0cssj006qb4v1ik2yzqgj8hm10c6as2sm";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
bg = buildOfficialDict {
|
||||
@@ -237,6 +243,7 @@ in rec {
|
||||
fullName = "Bulgarian";
|
||||
filename = "aspell6";
|
||||
sha256 = "1alacmgpfk0yrgq83y23d16fhav1bxmb98kg8d2a5r9bvh2h0mvl";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
bn = buildOfficialDict {
|
||||
@@ -245,6 +252,7 @@ in rec {
|
||||
fullName = "Bengali";
|
||||
filename = "aspell6";
|
||||
sha256 = "1nc02jd67iggirwxnhdvlvaqm0xfyks35c4psszzj3dhzv29qgxh";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
br = buildOfficialDict {
|
||||
@@ -253,6 +261,7 @@ in rec {
|
||||
fullName = "Breton";
|
||||
filename = "aspell";
|
||||
sha256 = "0fradnm8424bkq9a9zhpl2132dk7y95xmw45sy1c0lx6rinjl4n2";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
ca = buildOfficialDict {
|
||||
@@ -261,6 +270,7 @@ in rec {
|
||||
fullName = "Catalan";
|
||||
filename = "aspell6";
|
||||
sha256 = "1fb5y5kgvk25nlsfvc8cai978hg66x3pbp9py56pldc7vxzf9npb";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
cs = buildOfficialDict {
|
||||
@@ -269,6 +279,7 @@ in rec {
|
||||
fullName = "Czech";
|
||||
filename = "aspell6";
|
||||
sha256 = "0rihj4hsw96pd9casvmpvw3r8040pfa28p1h73x4vyn20zwr3h01";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
csb = buildOfficialDict {
|
||||
@@ -277,6 +288,7 @@ in rec {
|
||||
fullName = "Kashubian";
|
||||
filename = "aspell6";
|
||||
sha256 = "1612ypkm684wjvc7n081i87mlrrzif9simc7kyn177hfsl3ssrn1";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
cy = buildOfficialDict {
|
||||
@@ -285,6 +297,7 @@ in rec {
|
||||
fullName = "Welsh";
|
||||
filename = "aspell";
|
||||
sha256 = "15vq601lzz1gi311xym4bv9lv1k21xcfn50jmzamw7h6f36rsffm";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
da = buildOfficialDict {
|
||||
@@ -293,6 +306,7 @@ in rec {
|
||||
fullName = "Danish";
|
||||
filename = "aspell5";
|
||||
sha256 = "1hfkmiyhgrx5lgrb2mffjbdn1hivrm73wcg7x0iid74p2yb0fjpp";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
de = buildOfficialDict {
|
||||
@@ -301,6 +315,7 @@ in rec {
|
||||
fullName = "German";
|
||||
filename = "aspell6";
|
||||
sha256 = "0wamclvp66xfmv5wff96v6gdlnfv4y8lx3f8wvxyzm5imwgms4n2";
|
||||
meta.license = lib.licenses.gpl2Plus;
|
||||
};
|
||||
|
||||
de-alt = buildOfficialDict {
|
||||
@@ -309,6 +324,7 @@ in rec {
|
||||
fullName = "German - Old Spelling";
|
||||
filename = "aspell6";
|
||||
sha256 = "0wwc2l29svv3fv041fh6vfa5m3hi9q9pkbxibzq1ysrsfin3rl9n";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
el = buildOfficialDict {
|
||||
@@ -317,6 +333,7 @@ in rec {
|
||||
fullName = "Greek";
|
||||
filename = "aspell6";
|
||||
sha256 = "1ljcc30zg2v2h3w5h5jr5im41mw8jbsgvvhdd2cii2yzi8d0zxja";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
en = buildOfficialDict {
|
||||
@@ -325,6 +342,13 @@ in rec {
|
||||
fullName = "English";
|
||||
filename = "aspell6";
|
||||
sha256 = "1cwzqkm8gr1w51rpckwlvb43sb0b5nbwy7s8ns5vi250515773sc";
|
||||
# some parts are under a custom free license others are just stated to be"public domain"
|
||||
# see the Copyright file in the source for further information
|
||||
meta.license = with lib.licenses; [
|
||||
free
|
||||
publicDomain
|
||||
bsdOriginalUC
|
||||
];
|
||||
};
|
||||
|
||||
eo = buildOfficialDict {
|
||||
@@ -333,6 +357,7 @@ in rec {
|
||||
fullName = "Esperanto";
|
||||
filename = "aspell6";
|
||||
sha256 = "09vf0mbiicbmyb4bwb7v7lgpabnylg0wy7m3hlhl5rjdda6x3lj1";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
es = buildOfficialDict {
|
||||
@@ -341,6 +366,7 @@ in rec {
|
||||
fullName = "Spanish";
|
||||
filename = "aspell6";
|
||||
sha256 = "1k5g328ac1hdpp6fsg57d8md6i0aqcwlszp3gbmp5706wyhpydmd";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
et = buildOfficialDict {
|
||||
@@ -349,6 +375,7 @@ in rec {
|
||||
fullName = "Estonian";
|
||||
filename = "aspell6";
|
||||
sha256 = "0jdjfa2fskirhnb70fy86xryp9r6gkl729ib8qcjmsma7nm5gs5i";
|
||||
meta.license = lib.licenses.lgpl21Only;
|
||||
};
|
||||
|
||||
fa = buildOfficialDict {
|
||||
@@ -357,6 +384,7 @@ in rec {
|
||||
fullName = "Persian";
|
||||
filename = "aspell6";
|
||||
sha256 = "0nz1ybwv56q7nl9ip12hfmdch1vyyq2j55bkjcns13lshzm2cba8";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
fi = buildOfficialDict {
|
||||
@@ -365,6 +393,7 @@ in rec {
|
||||
fullName = "Finnish";
|
||||
filename = "aspell6";
|
||||
sha256 = "07d5s08ba4dd89cmwy9icc01i6fjdykxlb9ravmhdrhi8mxz1mzq";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
fo = buildOfficialDict {
|
||||
@@ -373,6 +402,7 @@ in rec {
|
||||
fullName = "Faroese";
|
||||
filename = "aspell5";
|
||||
sha256 = "022yz5lll20xrzizcyb7wksm3fgwklnvgnir5la5qkxv770dvq7p";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
fr = buildOfficialDict {
|
||||
@@ -381,6 +411,7 @@ in rec {
|
||||
fullName = "French";
|
||||
filename = "aspell";
|
||||
sha256 = "14ffy9mn5jqqpp437kannc3559bfdrpk7r36ljkzjalxa53i0hpr";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
fy = buildOfficialDict {
|
||||
@@ -389,6 +420,7 @@ in rec {
|
||||
fullName = "Frisian";
|
||||
filename = "aspell6";
|
||||
sha256 = "1almi6n4ni91d0rzrk8ig0473m9ypbwqmg56hchz76j51slwyirl";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
ga = buildOfficialDict {
|
||||
@@ -397,6 +429,7 @@ in rec {
|
||||
fullName = "Irish";
|
||||
filename = "aspell5";
|
||||
sha256 = "0y869mmvfb3bzadfgajwa2rfb0xfhi6m9ydwgxkb9v2claydnps5";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
gd = buildOfficialDict {
|
||||
@@ -405,6 +438,7 @@ in rec {
|
||||
fullName = "Scottish Gaelic";
|
||||
filename = "aspell5";
|
||||
sha256 = "0a89irv5d65j5m9sb0k36851x5rs0wij12gb2m6hv2nsfn5a05p3";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
gl = buildOfficialDict {
|
||||
@@ -413,6 +447,7 @@ in rec {
|
||||
fullName = "Galician";
|
||||
filename = "aspell6";
|
||||
sha256 = "12pwghmy18fcdvf9hvhb4q6shi339hb1kwxpkz0bhw0yjxjwzkdk";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
grc = buildOfficialDict {
|
||||
@@ -421,6 +456,7 @@ in rec {
|
||||
fullName = "Ancient Greek";
|
||||
filename = "aspell6";
|
||||
sha256 = "1zxr8958v37v260fkqd4pg37ns5h5kyqm54hn1hg70wq5cz8h512";
|
||||
meta.license = lib.licenses.gpl3Only;
|
||||
};
|
||||
|
||||
gu = buildOfficialDict {
|
||||
@@ -429,6 +465,7 @@ in rec {
|
||||
fullName = "Gujarati";
|
||||
filename = "aspell6";
|
||||
sha256 = "04c38jnl74lpj2jhjz4zpqbs2623vwc71m6wc5h4b1karid14b23";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
gv = buildOfficialDict {
|
||||
@@ -437,6 +474,7 @@ in rec {
|
||||
fullName = "Manx Gaelic";
|
||||
filename = "aspell";
|
||||
sha256 = "1rknf4yaw9s29c77sdzg98nhnmjwpicdb69igmz1n768npz2drmv";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
he = buildOfficialDict {
|
||||
@@ -445,6 +483,7 @@ in rec {
|
||||
fullName = "Hebrew";
|
||||
filename = "aspell6";
|
||||
sha256 = "13bhbghx5b8g0119g3wxd4n8mlf707y41vlf59irxjj0kynankfn";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
hi = buildOfficialDict {
|
||||
@@ -453,6 +492,7 @@ in rec {
|
||||
fullName = "Hindi";
|
||||
filename = "aspell6";
|
||||
sha256 = "0drs374qz4419zx1lf2k281ydxf2750jk5ailafj1x0ncz27h1ys";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
hil = buildOfficialDict {
|
||||
@@ -461,6 +501,7 @@ in rec {
|
||||
fullName = "Hiligaynon";
|
||||
filename = "aspell5";
|
||||
sha256 = "1s482fsfhzic9qa80al4418q3ni3gfn2bkwkd2y46ydrs17kf2jp";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
hr = buildOfficialDict {
|
||||
@@ -469,6 +510,7 @@ in rec {
|
||||
fullName = "Croatian";
|
||||
filename = "aspell";
|
||||
sha256 = "09aafyf1vqhaxvcf3jfzf365k394b5pf0iivsr2ix5npah1h7i1a";
|
||||
meta.license = lib.licenses.lgpl21Only;
|
||||
};
|
||||
|
||||
hsb = buildOfficialDict {
|
||||
@@ -477,6 +519,7 @@ in rec {
|
||||
fullName = "Upper Sorbian";
|
||||
filename = "aspell6";
|
||||
sha256 = "0bi2vhz7n1vmg43wbbh935pmzihv80iyz9z65j94lxf753j2m7wd";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
hu = buildOfficialDict {
|
||||
@@ -485,6 +528,7 @@ in rec {
|
||||
fullName = "Hungarian";
|
||||
filename = "aspell6";
|
||||
sha256 = "1d9nybip2k1dz69zly3iv0npbi3yxgfznh1py364nxzrbjsafd9k";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
hus = buildOfficialDict {
|
||||
@@ -493,6 +537,7 @@ in rec {
|
||||
fullName = "Huastec";
|
||||
filename = "aspell6";
|
||||
sha256 = "09glipfpkz9xch17z11zw1yn2z7jx1f2svfmjn9l6wm1s5qz6a3d";
|
||||
meta.license = lib.licenses.gpl3Only;
|
||||
};
|
||||
|
||||
hy = buildOfficialDict {
|
||||
@@ -501,6 +546,7 @@ in rec {
|
||||
fullName = "Armenian";
|
||||
filename = "aspell6";
|
||||
sha256 = "1w5wq8lfl2xp1nid30b1j5qmya4vjyidq0vpr4y3gf53jc08vsid";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
ia = buildOfficialDict {
|
||||
@@ -509,6 +555,7 @@ in rec {
|
||||
fullName = "Interlingua";
|
||||
filename = "aspell";
|
||||
sha256 = "0bqcpgsa72pga24fv4fkw38b4qqdvqsw97jvzvw7q03dc1cwp5sp";
|
||||
meta.license = lib.licenses.lgpl21Only;
|
||||
};
|
||||
|
||||
id = buildOfficialDict {
|
||||
@@ -517,6 +564,7 @@ in rec {
|
||||
fullName = "Indonesian";
|
||||
filename = "aspell5";
|
||||
sha256 = "023knfg0q03f7y5w6xnwa1kspnrcvcnky8xvdms93n2850414faj";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
is = buildOfficialDict {
|
||||
@@ -525,6 +573,7 @@ in rec {
|
||||
fullName = "Icelandic";
|
||||
filename = "aspell";
|
||||
sha256 = "1mp3248lhbr13cj7iq9zs7h5ix0dcwlprp5cwrkcwafrv8lvsd9h";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
it = buildOfficialDict {
|
||||
@@ -533,6 +582,7 @@ in rec {
|
||||
fullName = "Italian";
|
||||
filename = "aspell6";
|
||||
sha256 = "1gdf7bc1a0kmxsmphdqq8pl01h667mjsj6hihy6kqy14k5qdq69v";
|
||||
meta.license = lib.licenses.gpl2Plus;
|
||||
};
|
||||
|
||||
kn = buildOfficialDict {
|
||||
@@ -541,6 +591,7 @@ in rec {
|
||||
fullName = "Kannada";
|
||||
filename = "aspell6";
|
||||
sha256 = "10sk0wx4x4ds1403kf9dqxv9yjvh06w8qqf4agx57y0jlws0n0fb";
|
||||
meta.license = lib.licenses.gpl3Only;
|
||||
};
|
||||
|
||||
ku = buildOfficialDict {
|
||||
@@ -549,6 +600,7 @@ in rec {
|
||||
fullName = "Kurdi";
|
||||
filename = "aspell5";
|
||||
sha256 = "09va98krfbgdaxl101nmd85j3ysqgg88qgfcl42c07crii0pd3wn";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
ky = buildOfficialDict {
|
||||
@@ -557,6 +609,7 @@ in rec {
|
||||
fullName = "Kirghiz";
|
||||
filename = "aspell6";
|
||||
sha256 = "0kzv2syjnnn6pnwx0d578n46hg2l0j62977al47y6wabnhjjy3z1";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
la = buildOfficialDict {
|
||||
@@ -565,6 +618,7 @@ in rec {
|
||||
fullName = "Latin";
|
||||
filename = "aspell6";
|
||||
sha256 = "1199inwi16dznzl087v4skn66fl7h555hi2palx6s1f3s54b11nl";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
lt = buildOfficialDict {
|
||||
@@ -573,6 +627,7 @@ in rec {
|
||||
fullName = "Lithuanian";
|
||||
filename = "aspell6";
|
||||
sha256 = "1asjck911l96q26zj36lmz0jp4b6pivvrf3h38zgc8lc85p3pxgn";
|
||||
meta.license = lib.licenses.bsd3;
|
||||
};
|
||||
|
||||
lv = buildOfficialDict {
|
||||
@@ -581,6 +636,7 @@ in rec {
|
||||
fullName = "Latvian";
|
||||
filename = "aspell6";
|
||||
sha256 = "12pvs584a6437ijndggdqpp5s7d0w607cimpkxsjwasnx83f4c1w";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
mg = buildOfficialDict {
|
||||
@@ -589,6 +645,7 @@ in rec {
|
||||
fullName = "Malagasy";
|
||||
filename = "aspell5";
|
||||
sha256 = "0hdhbk9b5immjp8l5h4cy82gwgsqzcqbb0qsf7syw333w4rgi0ji";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
mi = buildOfficialDict {
|
||||
@@ -597,6 +654,7 @@ in rec {
|
||||
fullName = "Maori";
|
||||
filename = "aspell";
|
||||
sha256 = "12bxplpd348yx8d2q8qvahi9dlp7qf28qmanzhziwc7np8rixvmy";
|
||||
meta.license = lib.licenses.lgpl21Only;
|
||||
};
|
||||
|
||||
mk = buildOfficialDict {
|
||||
@@ -605,6 +663,7 @@ in rec {
|
||||
fullName = "Macedonian";
|
||||
filename = "aspell";
|
||||
sha256 = "0wcr9n882xi5b7a7ln1hnhq4vfqd5gpqqp87v01j0gb7zf027z0m";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
ml = buildOfficialDict {
|
||||
@@ -613,6 +672,7 @@ in rec {
|
||||
fullName = "Malayalam";
|
||||
filename = "aspell6";
|
||||
sha256 = "1zcn4114gwia085fkz77qk13z29xrbp53q2qvgj2cvcbalg5bkg4";
|
||||
meta.license = lib.licenses.gpl3Only;
|
||||
};
|
||||
|
||||
mn = buildOfficialDict {
|
||||
@@ -621,6 +681,7 @@ in rec {
|
||||
fullName = "Mongolian";
|
||||
filename = "aspell6";
|
||||
sha256 = "150j9y5c9pw80fwp5rzl5q31q9vjbxixaqljkfwxjb5q93fnw6rg";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
mr = buildOfficialDict {
|
||||
@@ -629,6 +690,7 @@ in rec {
|
||||
fullName = "Marathi";
|
||||
filename = "aspell6";
|
||||
sha256 = "0cvgb2l40sppqbi842ivpznsh2xzp1d4hxc371dll8z0pr05m8yk";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
ms = buildOfficialDict {
|
||||
@@ -637,6 +699,7 @@ in rec {
|
||||
fullName = "Malay";
|
||||
filename = "aspell";
|
||||
sha256 = "0vr4vhipcfhsxqfs8dim2ph7iiixn22gmlmlb375bx5hgd9y7i1w";
|
||||
meta.license = lib.licenses.fdl12Only;
|
||||
};
|
||||
|
||||
mt = buildOfficialDict {
|
||||
@@ -645,6 +708,7 @@ in rec {
|
||||
fullName = "Maltese";
|
||||
filename = "aspell";
|
||||
sha256 = "1d2rl1nlfjq6rfywblvx8m88cyy2x0mzc0mshzbgw359c2nwl3z0";
|
||||
meta.license = lib.licenses.lgpl21Only;
|
||||
};
|
||||
|
||||
nb = buildOfficialDict {
|
||||
@@ -653,6 +717,7 @@ in rec {
|
||||
fullName = "Norwegian Bokmal";
|
||||
filename = "aspell";
|
||||
sha256 = "12i2bmgdnlkzfinb20j2a0j4a20q91a9j8qpq5vgabbvc65nwx77";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
nds = buildOfficialDict {
|
||||
@@ -661,6 +726,7 @@ in rec {
|
||||
fullName = "Low Saxon";
|
||||
filename = "aspell6";
|
||||
sha256 = "1nkjhwzn45dizi89d19q4bqyd87cim8xyrgr655fampgkn31wf6f";
|
||||
meta.license = lib.licenses.lgpl21Only;
|
||||
};
|
||||
|
||||
nl = buildOfficialDict {
|
||||
@@ -673,6 +739,11 @@ in rec {
|
||||
postInstall = ''
|
||||
echo "add nl.rws" > $out/lib/aspell/nederlands.multi
|
||||
'';
|
||||
# from the Copyright file:
|
||||
# > The nl-aspell package includes the GPL COPYRIGHT file but no explicit copyright
|
||||
# > notice. Since he was using autoconf this could have been added automatically.
|
||||
# wtf whatever
|
||||
meta.license = lib.licenses.free;
|
||||
};
|
||||
|
||||
nn = buildOfficialDict {
|
||||
@@ -681,6 +752,7 @@ in rec {
|
||||
fullName = "Norwegian Nynorsk";
|
||||
filename = "aspell";
|
||||
sha256 = "0w2k5l5rbqpliripgqwiqixz5ghnjf7i9ggbrc4ly4vy1ia10rmc";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
ny = buildOfficialDict {
|
||||
@@ -689,6 +761,7 @@ in rec {
|
||||
fullName = "Chichewa";
|
||||
filename = "aspell5";
|
||||
sha256 = "0gjb92vcg60sfgvrm2f6i89sfkgb179ahvwlgs649fx3dc7rfvqp";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
or = buildOfficialDict {
|
||||
@@ -697,6 +770,7 @@ in rec {
|
||||
fullName = "Oriya";
|
||||
filename = "aspell6";
|
||||
sha256 = "0kzj9q225z0ccrlbkijsrafy005pbjy14qcnxb6p93ciz1ls7zyn";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
pa = buildOfficialDict {
|
||||
@@ -705,6 +779,7 @@ in rec {
|
||||
fullName = "Punjabi";
|
||||
filename = "aspell6";
|
||||
sha256 = "0if93zk10pyrs38wwj3vpcdm01h51m5z9gm85h3jxrpgqnqspwy7";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
pl = buildOfficialDict {
|
||||
@@ -713,6 +788,12 @@ in rec {
|
||||
fullName = "Polish";
|
||||
filename = "aspell6";
|
||||
sha256 = "0kap4kh6bqbb22ypja1m5z3krc06vv4n0hakiiqmv20anzy42xq1";
|
||||
meta.license = with lib.licenses; [
|
||||
gpl2Only
|
||||
lgpl21Only
|
||||
mpl11
|
||||
cc-sa-10
|
||||
];
|
||||
};
|
||||
|
||||
pt_BR = buildOfficialDict {
|
||||
@@ -721,6 +802,11 @@ in rec {
|
||||
fullName = "Brazilian Portuguese";
|
||||
filename = "aspell6";
|
||||
sha256 = "1xqlpk21s93c6blkdnpk7l62q9fxjvzdv2x86chl8p2x1gdrj3gb";
|
||||
meta.license = with lib.licenses; [
|
||||
lgpl21Only
|
||||
lgpl21Plus
|
||||
gpl3Plus
|
||||
];
|
||||
};
|
||||
|
||||
pt_PT = buildOfficialDict {
|
||||
@@ -729,6 +815,11 @@ in rec {
|
||||
fullName = "Portuguese";
|
||||
filename = "aspell6";
|
||||
sha256 = "0ld0d0ily4jqifjfsxfv4shbicz6ymm2gk56fq9gbzra1j4qnw75";
|
||||
meta.license = with lib.licenses; [
|
||||
lgpl21Plus
|
||||
gpl3Plus
|
||||
mpl11
|
||||
];
|
||||
};
|
||||
|
||||
qu = buildOfficialDict {
|
||||
@@ -737,6 +828,7 @@ in rec {
|
||||
fullName = "Quechua";
|
||||
filename = "aspell6";
|
||||
sha256 = "009z0zsvzq7r3z3m30clyibs94v77b92h5lmzmzxlns2p0lpd5w0";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
ro = buildOfficialDict {
|
||||
@@ -745,6 +837,7 @@ in rec {
|
||||
fullName = "Romanian";
|
||||
filename = "aspell5";
|
||||
sha256 = "0gb8j9iy1acdl11jq76idgc2lbc1rq3w04favn8cyh55d1v8phsk";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
ru = buildOfficialDict {
|
||||
@@ -753,6 +846,7 @@ in rec {
|
||||
fullName = "Russian";
|
||||
filename = "aspell6";
|
||||
sha256 = "0ip6nq43hcr7vvzbv4lwwmlwgfa60hrhsldh9xy3zg2prv6bcaaw";
|
||||
meta.license = lib.licenses.free;
|
||||
};
|
||||
|
||||
rw = buildOfficialDict {
|
||||
@@ -761,6 +855,7 @@ in rec {
|
||||
fullName = "Kinyarwanda";
|
||||
filename = "aspell";
|
||||
sha256 = "10gh8g747jbrvfk2fn3pjxy1nhcfdpwgmnvkmrp4nd1k1qp101il";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
sc = buildOfficialDict {
|
||||
@@ -769,6 +864,7 @@ in rec {
|
||||
fullName = "Sardinian";
|
||||
filename = "aspell5";
|
||||
sha256 = "0hl7prh5rccsyljwrv3m1hjcsphyrrywk2qvnj122irbf4py46jr";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
sk = buildOfficialDict {
|
||||
@@ -777,6 +873,11 @@ in rec {
|
||||
fullName = "Slovak";
|
||||
filename = "aspell6";
|
||||
sha256 = "19k0m1v5pcf7xr4lxgjkzqkdlks8nyb13bvi1n7521f3i4lhma66";
|
||||
meta.license = with lib.licenses; [
|
||||
lgpl21Only
|
||||
gpl2Only
|
||||
mpl11
|
||||
];
|
||||
};
|
||||
|
||||
sl = buildOfficialDict {
|
||||
@@ -785,6 +886,7 @@ in rec {
|
||||
fullName = "Slovenian";
|
||||
filename = "aspell";
|
||||
sha256 = "1l9kc5g35flq8kw9jhn2n0bjb4sipjs4qkqzgggs438kywkx2rp5";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
sr = buildOfficialDict {
|
||||
@@ -793,6 +895,7 @@ in rec {
|
||||
fullName = "Serbian";
|
||||
filename = "aspell6";
|
||||
sha256 = "12cj01p4nj80cpf7m3s4jsaf0rsfng7s295j9jfchcq677xmhpkh";
|
||||
meta.license = lib.licenses.lgpl21Only;
|
||||
};
|
||||
|
||||
sv = buildOfficialDict {
|
||||
@@ -801,6 +904,7 @@ in rec {
|
||||
fullName = "Swedish";
|
||||
filename = "aspell";
|
||||
sha256 = "02jwkjhr32kvyibnyzgx3smbnm576jwdzg3avdf6zxwckhy5fw4v";
|
||||
meta.license = lib.licenses.lgpl21Only;
|
||||
};
|
||||
|
||||
sw = buildOfficialDict {
|
||||
@@ -809,6 +913,7 @@ in rec {
|
||||
fullName = "Swahili";
|
||||
filename = "aspell";
|
||||
sha256 = "15zjh7hdj2b4dgm5bc12w1ims9q357p1q3gjalspnyn5gl81zmby";
|
||||
meta.license = lib.licenses.lgpl21Only;
|
||||
};
|
||||
|
||||
ta = buildOfficialDict {
|
||||
@@ -817,6 +922,7 @@ in rec {
|
||||
fullName = "Tamil";
|
||||
filename = "aspell6";
|
||||
sha256 = "0sj8ygjsyvnr93cs6324y7az7k2vyw7rjxdc9vnm7z60lbqm5xaj";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
te = buildOfficialDict {
|
||||
@@ -825,6 +931,7 @@ in rec {
|
||||
fullName = "Telugu";
|
||||
filename = "aspell6";
|
||||
sha256 = "0pgcgxz7dz34zxp9sb85jjzbg3ky6il5wmhffz6ayrbsfn5670in";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
tet = buildOfficialDict {
|
||||
@@ -833,6 +940,7 @@ in rec {
|
||||
fullName = "Tetum";
|
||||
filename = "aspell5";
|
||||
sha256 = "17n0y4fhjak47j9qnqf4m4z6zra6dn72rwhp7ig0hhlgqk4ldmcx";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
tk = buildOfficialDict {
|
||||
@@ -841,6 +949,7 @@ in rec {
|
||||
fullName = "Turkmen";
|
||||
filename = "aspell5";
|
||||
sha256 = "02vad4jqhr0xpzqi5q5z7z0xxqccbn8j0c5dhpnm86mnr84l5wl6";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
tl = buildOfficialDict {
|
||||
@@ -849,6 +958,7 @@ in rec {
|
||||
fullName = "Tagalog";
|
||||
filename = "aspell5";
|
||||
sha256 = "1kca6k7qnpfvvwjnq5r1n242payqsjy96skmw78m7ww6d0n5vdj8";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
tn = buildOfficialDict {
|
||||
@@ -857,6 +967,7 @@ in rec {
|
||||
fullName = "Setswana";
|
||||
filename = "aspell5";
|
||||
sha256 = "0q5x7c6z88cn0kkpk7q1craq34g4g03v8x3xcj5a5jia3l7c5821";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
tr = buildOfficialDict {
|
||||
@@ -865,6 +976,7 @@ in rec {
|
||||
fullName = "Turkish";
|
||||
filename = "aspell";
|
||||
sha256 = "0jpvpm96ga7s7rmsm6rbyrrr22b2dicxv2hy7ysv5y7bbq757ihb";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
uk = buildOfficialDict {
|
||||
@@ -873,6 +985,10 @@ in rec {
|
||||
fullName = "Ukrainian";
|
||||
filename = "aspell6";
|
||||
sha256 = "137i4njvnslab6l4s291s11xijr5jsy75lbdph32f9y183lagy9m";
|
||||
meta.license = with lib.licenses; [
|
||||
lgpl2Plus
|
||||
gpl2Plus
|
||||
];
|
||||
};
|
||||
|
||||
uz = buildOfficialDict {
|
||||
@@ -881,6 +997,7 @@ in rec {
|
||||
fullName = "Uzbek";
|
||||
filename = "aspell6";
|
||||
sha256 = "0sg3wlyply1idpq5ypyj7kgnaadaiskci1sqs811yhg2gzyc3092";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
vi = buildOfficialDict {
|
||||
@@ -889,6 +1006,7 @@ in rec {
|
||||
fullName = "Vietnamese";
|
||||
filename = "aspell6";
|
||||
sha256 = "05vwgvf1cj45azhflywx69javqdvqd1f20swrc2d3c32pd9mvn1w";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
wa = buildOfficialDict {
|
||||
@@ -897,6 +1015,7 @@ in rec {
|
||||
fullName = "Walloon";
|
||||
filename = "aspell";
|
||||
sha256 = "1r1zwz7xkx40dga9vf5wc9ja3jwk1dkpcr1kaa7wryvslf5al5ss";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
yi = buildOfficialDict {
|
||||
@@ -905,6 +1024,7 @@ in rec {
|
||||
fullName = "Yiddish";
|
||||
filename = "aspell6";
|
||||
sha256 = "0mi842l4038bx3ll2wx9nz44nqrg1x46h5b02zigi1hbbddd6ycq";
|
||||
meta.license = lib.licenses.gpl2Only;
|
||||
};
|
||||
|
||||
zu = buildOfficialDict {
|
||||
@@ -913,6 +1033,7 @@ in rec {
|
||||
fullName = "Zulu";
|
||||
filename = "aspell";
|
||||
sha256 = "15k7gaxrnqnssdyk9l6g27dq317dqp9jz5yzafd25ri01g6mb8iz";
|
||||
meta.license = lib.licenses.lgpl21Only;
|
||||
};
|
||||
|
||||
### Jargons
|
||||
@@ -937,6 +1058,7 @@ in rec {
|
||||
|
||||
meta = {
|
||||
homepage = "https://mrsatterly.com/spelling.html";
|
||||
license = lib.licenses.wtfpl; # as a comment the source file
|
||||
};
|
||||
};
|
||||
|
||||
@@ -945,13 +1067,13 @@ in rec {
|
||||
fullName = "English Scientific Jargon";
|
||||
|
||||
src1 = fetchurl {
|
||||
url = "http://jpetrie.net/wp-content/uploads/custom_scientific_US.txt";
|
||||
sha256 = "1nf4py2mg0mlv9s5a7had2wn29z2v6bcca0fs6rbpdn4nqc4s7dm";
|
||||
url = "https://web.archive.org/web/20180806094650if_/http://jpetrie.net/wp-content/uploads/custom_scientific_US.txt";
|
||||
hash = "sha256-I5d/jf/5v9Nptu2H9qfvMBzSwJYoQOTEzJfQTxKoWN8=";
|
||||
};
|
||||
|
||||
src2 = fetchurl {
|
||||
url = "http://jpetrie.net/wp-content/uploads/custom_scientific_UK.txt";
|
||||
sha256 = "0f88il1ds6qazy1ghxviqcwsywrbf6pzl2lmzf4f3qvhdfb6f1y0";
|
||||
url = "https://web.archive.org/web/20180131231829if_/http://jpetrie.net/wp-content/uploads/custom_scientific_UK.txt";
|
||||
hash = "sha256-oT4nUiev5q4QjHeuF8jNVBcyyHE9fdH9+uDMkZsOWp8=";
|
||||
};
|
||||
|
||||
langInputs = [ en ];
|
||||
@@ -965,7 +1087,9 @@ in rec {
|
||||
installPhase = "aspell-install en_US-science en_GB-science";
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.jpetrie.net/scientific-word-list-for-spell-checkersspelling-dictionaries/";
|
||||
homepage = "https://web.archive.org/web/20210425104207/http://www.jpetrie.net/scientific-word-list-for-spell-checkersspelling-dictionaries/";
|
||||
# no license is given so we have to assume it is unfree
|
||||
license = lib.licenses.unfree;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
@@ -16,12 +16,14 @@
|
||||
opensslSupport ? true,
|
||||
openssl,
|
||||
soxSupport ? true,
|
||||
sox
|
||||
sox,
|
||||
libsndfileSupport ? true,
|
||||
libsndfile
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "roc-toolkit";
|
||||
version = "0.3.0";
|
||||
version = "0.4.0";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
@@ -29,7 +31,7 @@ stdenv.mkDerivation rec {
|
||||
owner = "roc-streaming";
|
||||
repo = "roc-toolkit";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-tC0rjb3eDtEciUk0NmVye+N//Y/RFsi5d3kFS031y8I=";
|
||||
hash = "sha256-53irDq803dTg0YqtC1SOXmYNGypSMAEK+9HJ65pR5PA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -46,7 +48,8 @@ stdenv.mkDerivation rec {
|
||||
++ lib.optional libunwindSupport libunwind
|
||||
++ lib.optional pulseaudioSupport libpulseaudio
|
||||
++ lib.optional opensslSupport openssl
|
||||
++ lib.optional soxSupport sox;
|
||||
++ lib.optional soxSupport sox
|
||||
++ lib.optional libsndfileSupport libsndfile;
|
||||
|
||||
sconsFlags =
|
||||
[ "--build=${stdenv.buildPlatform.config}"
|
||||
@@ -56,6 +59,7 @@ stdenv.mkDerivation rec {
|
||||
lib.optional (!soxSupport) "--disable-sox" ++
|
||||
lib.optional (!libunwindSupport) "--disable-libunwind" ++
|
||||
lib.optional (!pulseaudioSupport) "--disable-pulseaudio" ++
|
||||
lib.optional (!libsndfileSupport) "--disable-sndfile" ++
|
||||
(if (!openfecSupport)
|
||||
then ["--disable-openfec"]
|
||||
else [ "--with-libraries=${openfec}/lib"
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
, config
|
||||
, guiSupport ? false
|
||||
, libX11
|
||||
, enableShared ? !stdenv.hostPlatform.isStatic # dlib has a build system that forces the user to choose between either shared or static libraries. See https://github.com/davisking/dlib/issues/923#issuecomment-2175865174
|
||||
, sse4Support ? stdenv.hostPlatform.sse4_1Support
|
||||
, avxSupport ? stdenv.hostPlatform.avxSupport
|
||||
, cudaSupport ? config.cudaSupport
|
||||
@@ -32,6 +33,7 @@
|
||||
'';
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "BUILD_SHARED_LIBS" enableShared)
|
||||
(lib.cmakeBool "USE_SSE4_INSTRUCTIONS" sse4Support)
|
||||
(lib.cmakeBool "USE_AVX_INSTRUCTIONS" avxSupport)
|
||||
(lib.cmakeBool "DLIB_USE_CUDA" cudaSupport)
|
||||
|
||||
@@ -2,11 +2,12 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "avr-libc";
|
||||
version = "2.1.0";
|
||||
version = "2.2.0";
|
||||
|
||||
tag_version = builtins.replaceStrings ["."] ["_"] version;
|
||||
src = fetchurl {
|
||||
url = "https://download.savannah.gnu.org/releases/avr-libc/avr-libc-${version}.tar.bz2";
|
||||
sha256 = "1s2lnqsbr1zs7dvsbyyckay52lm8mbjjaqf3cyx5qpcbq3jwx10b";
|
||||
url = "https://github.com/avrdudes/avr-libc/releases/download/avr-libc-${tag_version}-release/avr-libc-${version}.tar.bz2";
|
||||
hash = "sha256-Bxjv1PVCeId9ploLIDtAIHOzDgTf6piObyqINa0HHTU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ automake autoconf ];
|
||||
|
||||
@@ -11,7 +11,7 @@ buildDunePackage rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/ocaml-${pname}/releases/download/v${version}/${pname}-${version}.tbz";
|
||||
sha256 = "0szifda6yism5vn5jdizkha3ad0xk6zw4xgfl8g77dnv83ci7h65";
|
||||
sha256 = "cdabaf6ef5cd2161e59cc7b74c6e4a68ecb80a9f4e96002e338e1b6bf17adec4";
|
||||
};
|
||||
|
||||
checkInputs = [ ounit ];
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiowatttime";
|
||||
version = "2023.12.0";
|
||||
version = "2024.06.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
@@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
owner = "bachya";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-sodgFveVE2Z894z36AzXF6c3iI4UhaqMJK+H6CjsvGA=";
|
||||
hash = "sha256-c5L+Nx+CoWEc6Bs61GOHPBelExe5I7EOlMQ+QV6nktI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
@@ -366,7 +366,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "boto3-stubs";
|
||||
version = "1.34.128";
|
||||
version = "1.34.129";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -374,7 +374,7 @@ buildPythonPackage rec {
|
||||
src = fetchPypi {
|
||||
pname = "boto3_stubs";
|
||||
inherit version;
|
||||
hash = "sha256-9N/yCKnPAHl6bCsYR6so0LkxqGpBvwDI5PVbN/tmEaU=";
|
||||
hash = "sha256-CXHgszlO4agOSfTcLoUI3JqHi/kbNNlbsx6Mw0CdFvk=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "botocore-stubs";
|
||||
version = "1.34.128";
|
||||
version = "1.34.129";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
src = fetchPypi {
|
||||
pname = "botocore_stubs";
|
||||
inherit version;
|
||||
hash = "sha256-AOWRCzr7dkIiCNerbD87LUEl4yA+Fb9HwP9fnjjwDBk=";
|
||||
hash = "sha256-Ub/NAA2bafFkucZMYhUYmvx6hgm8Jj+Tmr0QcEzah6Q=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
@@ -69,10 +69,9 @@ buildPythonPackage rec {
|
||||
rm tests/TaskDistantPdshMixin.py
|
||||
rm tests/TaskDistantPdshTest.py
|
||||
rm tests/TaskRLimitsTest.py
|
||||
rm tests/TreeGatewayTest.py
|
||||
|
||||
nosetests -v \
|
||||
-e test_channel_ctl_shell_remote1 \
|
||||
-e test_channel_ctl_shell_remote2 \
|
||||
-e test_fromall_grouplist \
|
||||
-e test_rank_placeholder \
|
||||
-e test_engine_on_the_fly_launch \
|
||||
@@ -92,9 +91,6 @@ buildPythonPackage rec {
|
||||
-e testClushConfigSetRlimit \
|
||||
-e testTimerInvalidateInHandler \
|
||||
-e testTimerSetNextFireInHandler \
|
||||
-e test_channel_ctl_shell_mlocal1 \
|
||||
-e test_channel_ctl_shell_mlocal2 \
|
||||
-e test_channel_ctl_shell_mlocal3 \
|
||||
-e test_node_placeholder \
|
||||
tests/*.py
|
||||
'';
|
||||
|
||||
@@ -23,7 +23,7 @@ in
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dnf-plugins-core";
|
||||
version = "4.7.0";
|
||||
version = "4.8.0";
|
||||
format = "other";
|
||||
|
||||
outputs = [
|
||||
@@ -35,7 +35,7 @@ buildPythonPackage rec {
|
||||
owner = "rpm-software-management";
|
||||
repo = "dnf-plugins-core";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-AQnnXjkUajztbyoKzKhxiKxZsb2o2+7C15fsrxGkWcM=";
|
||||
hash = "sha256-8RkTSO+F5fc3T8r79PRoW5KfEG2DmIzN2ylC9Np6LrQ=";
|
||||
};
|
||||
|
||||
patches = [ ./fix-python-install-dir.patch ];
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dunamai";
|
||||
version = "1.19.2";
|
||||
version = "1.20.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
owner = "mtkennerly";
|
||||
repo = "dunamai";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-oLJlBytdp9uVdKEdYDMz/IYnPP7XVnCUcThKO3IiW10=";
|
||||
hash = "sha256-K7G5BiUm8QTRbw0W3ebTld7CAZI8sYSnRsD7vQhCptE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-generativeai";
|
||||
version = "0.6.0";
|
||||
version = "0.7.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@@ -26,7 +26,7 @@ buildPythonPackage rec {
|
||||
owner = "google";
|
||||
repo = "generative-ai-python";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-LPT7pyI1crgLCMHZmjGLFvDwuLwdPNGojgvli6qUOy8=";
|
||||
hash = "sha256-cK5Go5mFy+dC5/B4aMLDjZytNZn79r+ZvOEwAW0FPrI=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "google-ai-generativelanguage" ];
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "griffe";
|
||||
version = "0.46.0";
|
||||
version = "0.47.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
owner = "mkdocstrings";
|
||||
repo = "griffe";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-ZvOH2MF9MH7FB5DDQ70rYB7fgqoffbqZhKgpWYtChck=";
|
||||
hash = "sha256-NkS8cD0G/nbquQfMVcdbTLnJx26PQnqWB8UnBTNIBdE=";
|
||||
};
|
||||
|
||||
build-system = [ pdm-backend ];
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gvm-tools";
|
||||
version = "24.3.0";
|
||||
version = "24.6.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
owner = "greenbone";
|
||||
repo = "gvm-tools";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-LLXMdT1q6IWsbsRjflpGN5pcjUCXWzdFK3gMw4mBm0U=";
|
||||
hash = "sha256-R8wpkzL2QxGdvc6vWtrbIGEiryc+QQ3OitdxMcpH+F4=";
|
||||
};
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
astral,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
pdm-backend,
|
||||
pythonRelaxDepsHook,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
@@ -12,26 +12,25 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hdate";
|
||||
version = "0.10.8";
|
||||
version = "0.10.9";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "py-libhdate";
|
||||
repo = "py-libhdate";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-SANCZl+1ghUuuxZAl6oycvo7hB7mIagjVEmwzarsspk=";
|
||||
hash = "sha256-Cni8GegB8GAhtIKKCgSn3QavE/Gi9Rcm9v0grToMyq4=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"astral"
|
||||
"pytz"
|
||||
];
|
||||
|
||||
build-system = [
|
||||
pdm-backend
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
@@ -49,7 +48,7 @@ buildPythonPackage rec {
|
||||
description = "Python module for Jewish/Hebrew date and Zmanim";
|
||||
homepage = "https://github.com/py-libhdate/py-libhdate";
|
||||
changelog = "https://github.com/py-libhdate/py-libhdate/releases/tag/v${version}";
|
||||
license = with licenses; [ gpl3Plus ];
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -21,14 +21,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "oauthenticator";
|
||||
version = "16.3.0";
|
||||
version = "16.3.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-QMddGJUfafXoBxMCjlx1lH45a4Bab3AP4j8Px7JxYaQ=";
|
||||
hash = "sha256-gFhhOCcmorkrLxrup9fICh5ueCrc64fxfuZXTQG1tMk=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -11,14 +11,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "publicsuffixlist";
|
||||
version = "0.10.1.20240616";
|
||||
version = "0.10.1.20240618";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-fVmEBr9omsCeRAsaPUZ07y1in/bx7JeGHIPwrBxGpY8=";
|
||||
hash = "sha256-+wJoH/vCwNPmQlQfikDmnqbNQlMLA315N+U4Yvy/mMw=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
pythonRelaxDepsHook,
|
||||
poetry-core,
|
||||
httpx,
|
||||
pydicom,
|
||||
@@ -11,30 +10,25 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyorthanc";
|
||||
version = "1.16.1";
|
||||
version = "1.18.0";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gacou54";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-6l3L0YUAqedyRjlQ6K3SaAMdGK2C0AeKpJj6MyXi4RA=";
|
||||
hash = "sha256-ObZjTiEB4a7ForsugzKZDdIsTEWOX1zbv53ZJ4AllHE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
poetry-core
|
||||
];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
httpx
|
||||
pydicom
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [ "httpx" ];
|
||||
|
||||
doCheck = false; # requires orthanc server (not in Nixpkgs)
|
||||
|
||||
pythonImportsCheck = [ "pyorthanc" ];
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-gvm";
|
||||
version = "24.3.0";
|
||||
version = "24.6.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
owner = "greenbone";
|
||||
repo = "python-gvm";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-GIEsP8+RJMIehsBbZWpIRXCdqxm042lPbYTHY7/fknM=";
|
||||
hash = "sha256-4Wa8O6kt4FsQk6VvE1dCdl9hQReO3YCf/4hTGcGaQxE=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
loguru,
|
||||
@@ -45,8 +44,8 @@ buildPythonPackage rec {
|
||||
|
||||
pytestFlagsArray = [ "_python_utils_tests" ];
|
||||
|
||||
disabledTests = lib.optionals stdenv.isDarwin [
|
||||
# Flaky tests on darwin
|
||||
disabledTests = [
|
||||
# Flaky tests
|
||||
"test_timeout_generator"
|
||||
];
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "reolink-aio";
|
||||
version = "0.9.2";
|
||||
version = "0.9.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
owner = "starkillerOG";
|
||||
repo = "reolink_aio";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-wkOmwZ4pE5AqZkAUyxgBHywCcJlcMauzJ8OO3Po2u4s=";
|
||||
hash = "sha256-tCT43wbDScL/aoQFmLPkrw59a88f4qpNeNa0Q27H9wA=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tencentcloud-sdk-python";
|
||||
version = "3.0.1170";
|
||||
version = "3.0.1171";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
owner = "TencentCloud";
|
||||
repo = "tencentcloud-sdk-python";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-O0bxsvQYJaKEkgdglWH8q4NddA1LFpAU05HHHf8yhVE=";
|
||||
hash = "sha256-8ZjC4gfTVLuH8b90xzURHhowFS/vdXBjWP64ZoiM7/E=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
fetchFromGitHub,
|
||||
pdm-backend,
|
||||
huggingface-hub,
|
||||
numpy,
|
||||
pyyaml,
|
||||
safetensors,
|
||||
torch,
|
||||
@@ -16,22 +17,23 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "timm";
|
||||
version = "1.0.3";
|
||||
version = "1.0.7";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "huggingface";
|
||||
repo = "pytorch-image-models";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-h2J1v2zXUMGRKBBqq+RnxrXKOzlD5RRrVoODWSuj9Ms=";
|
||||
hash = "sha256-0o88gOZvHXblGPwyRIz2D3sD7wdg0J0knrAFlognEOY=";
|
||||
};
|
||||
|
||||
build-system = [ pdm-backend ];
|
||||
|
||||
dependencies = [
|
||||
huggingface-hub
|
||||
numpy
|
||||
pyyaml
|
||||
safetensors
|
||||
torch
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools-scm,
|
||||
setuptools,
|
||||
pythonOlder,
|
||||
numpy,
|
||||
jsonschema,
|
||||
@@ -11,20 +11,21 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tskit";
|
||||
version = "0.5.6";
|
||||
format = "pyproject";
|
||||
version = "0.5.7";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-3f4hPxywY822mCF3IwooBezX38fM1zAm4Th4q//SzkY=";
|
||||
hash = "sha256-yD+2W1tzzi+5wFoZrqNe+jJLpWyx6ZILBgKivDE+wiM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
dependencies = [
|
||||
jsonschema
|
||||
numpy
|
||||
svgwrite
|
||||
];
|
||||
|
||||
@@ -34,11 +35,11 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "tskit" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Tree sequence toolkit";
|
||||
mainProgram = "tskit";
|
||||
homepage = "https://github.com/tskit-dev/tskit";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ alxsimon ];
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ alxsimon ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "twilio";
|
||||
version = "9.1.1";
|
||||
version = "9.2.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -29,7 +29,7 @@ buildPythonPackage rec {
|
||||
owner = "twilio";
|
||||
repo = "twilio-python";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-LluMl5NdyI4aobxNoLtBv5BU4sAq/EhqvqNAxhOA5Og=";
|
||||
hash = "sha256-vENcbkWXSdhHv3QYjhu8j2UmzmEFHaSD0xDb2pbxqMM=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -6,14 +6,14 @@
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "checkov";
|
||||
version = "3.2.138";
|
||||
version = "3.2.140";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bridgecrewio";
|
||||
repo = "checkov";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-xgEVUZF6d/vmqaKVTxt0MtppqDBhPEzQcY37WVOR/EE=";
|
||||
hash = "sha256-CqmXUz58eBMNrgfTDP/7M03R8vw9ys9/devRfFvWbBw=";
|
||||
};
|
||||
|
||||
patches = [ ./flake8-compat-5.x.patch ];
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user