Merge master into haskell-updates
This commit is contained in:
commit
54e1e4365c
175 changed files with 6181 additions and 911 deletions
|
@ -1832,6 +1832,12 @@
|
|||
githubId = 442623;
|
||||
name = "Ben Pye";
|
||||
};
|
||||
benwbooth = {
|
||||
email = "benwboooth@gmail.com";
|
||||
github = "benwbooth";
|
||||
githubId = 75972;
|
||||
name = "Ben Booth";
|
||||
};
|
||||
berberman = {
|
||||
email = "berberman@yandex.com";
|
||||
matrix = "@berberman:mozilla.org";
|
||||
|
@ -11537,6 +11543,12 @@
|
|||
githubId = 1368952;
|
||||
name = "Pedro Lara Campos";
|
||||
};
|
||||
penalty1083 = {
|
||||
email = "penalty1083@outlook.com";
|
||||
github = "penalty1083";
|
||||
githubId = 121009904;
|
||||
name = "penalty1083";
|
||||
};
|
||||
penguwin = {
|
||||
email = "penguwin@penguwin.eu";
|
||||
github = "penguwin";
|
||||
|
@ -13288,6 +13300,12 @@
|
|||
githubId = 8534888;
|
||||
name = "Savanni D'Gerinel";
|
||||
};
|
||||
savyajha = {
|
||||
email = "savya.jha@hawkradius.com";
|
||||
github = "savyajha";
|
||||
githubId = 3996019;
|
||||
name = "Savyasachee Jha";
|
||||
};
|
||||
sayanarijit = {
|
||||
email = "sayanarijit@gmail.com";
|
||||
github = "sayanarijit";
|
||||
|
|
|
@ -34,6 +34,8 @@ In addition to numerous new and upgraded packages, this release has the followin
|
|||
|
||||
- [fzf](https://github.com/junegunn/fzf), a command line fuzzyfinder. Available as [programs.fzf](#opt-programs.fzf.fuzzyCompletion).
|
||||
|
||||
- [gemstash](https://github.com/rubygems/gemstash), a RubyGems.org cache and private gem server. Available as [services.gemstash](#opt-services.gemstash.enable).
|
||||
|
||||
- [gmediarender](https://github.com/hzeller/gmrender-resurrect), a simple, headless UPnP/DLNA renderer. Available as [services.gmediarender](options.html#opt-services.gmediarender.enable).
|
||||
|
||||
- [stevenblack-blocklist](https://github.com/StevenBlack/hosts), A unified hosts file with base extensions for blocking unwanted websites. Available as [networking.stevenblack](options.html#opt-networking.stevenblack.enable).
|
||||
|
@ -58,6 +60,8 @@ In addition to numerous new and upgraded packages, this release has the followin
|
|||
|
||||
- [ulogd](https://www.netfilter.org/projects/ulogd/index.html), a userspace logging daemon for netfilter/iptables related logging. Available as [services.ulogd](options.html#opt-services.ulogd.enable).
|
||||
|
||||
- [jellyseerr](https://github.com/Fallenbagel/jellyseerr), a web-based requests manager for Jellyfin, forked from Overseerr. Available as [services.jellyseerr](#opt-services.jellyseerr.enable).
|
||||
|
||||
- [photoprism](https://photoprism.app/), a AI-Powered Photos App for the Decentralized Web. Available as [services.photoprism](options.html#opt-services.photoprism.enable).
|
||||
|
||||
- [autosuspend](https://github.com/languitar/autosuspend), a python daemon that suspends a system if certain conditions are met, or not met.
|
||||
|
|
|
@ -440,6 +440,7 @@
|
|||
./services/development/blackfire.nix
|
||||
./services/development/bloop.nix
|
||||
./services/development/distccd.nix
|
||||
./services/development/gemstash.nix
|
||||
./services/development/hoogle.nix
|
||||
./services/development/jupyter/default.nix
|
||||
./services/development/jupyterhub/default.nix
|
||||
|
@ -624,6 +625,7 @@
|
|||
./services/misc/irkerd.nix
|
||||
./services/misc/jackett.nix
|
||||
./services/misc/jellyfin.nix
|
||||
./services/misc/jellyseerr.nix
|
||||
./services/misc/klipper.nix
|
||||
./services/misc/languagetool.nix
|
||||
./services/misc/leaps.nix
|
||||
|
|
103
nixos/modules/services/development/gemstash.nix
Normal file
103
nixos/modules/services/development/gemstash.nix
Normal file
|
@ -0,0 +1,103 @@
|
|||
{ lib, pkgs, config, ... }:
|
||||
with lib;
|
||||
|
||||
let
|
||||
settingsFormat = pkgs.formats.yaml { };
|
||||
|
||||
# gemstash uses a yaml config where the keys are ruby symbols,
|
||||
# which means they start with ':'. This would be annoying to use
|
||||
# on the nix side, so we rewrite plain names instead.
|
||||
prefixColon = s: listToAttrs (map
|
||||
(attrName: {
|
||||
name = ":${attrName}";
|
||||
value =
|
||||
if isAttrs s.${attrName}
|
||||
then prefixColon s."${attrName}"
|
||||
else s."${attrName}";
|
||||
})
|
||||
(attrNames s));
|
||||
|
||||
# parse the port number out of the tcp://ip:port bind setting string
|
||||
parseBindPort = bind: strings.toInt (last (strings.splitString ":" bind));
|
||||
|
||||
cfg = config.services.gemstash;
|
||||
in
|
||||
{
|
||||
options.services.gemstash = {
|
||||
enable = mkEnableOption (lib.mdDoc "gemstash service");
|
||||
|
||||
openFirewall = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = lib.mdDoc ''
|
||||
Whether to open the firewall for the port in {option}`services.gemstash.bind`.
|
||||
'';
|
||||
};
|
||||
|
||||
settings = mkOption {
|
||||
default = {};
|
||||
description = lib.mdDoc ''
|
||||
Configuration for Gemstash. The details can be found at in
|
||||
[gemstash documentation](https://github.com/rubygems/gemstash/blob/master/man/gemstash-configuration.5.md).
|
||||
Each key set here is automatically prefixed with ":" to match the gemstash expectations.
|
||||
'';
|
||||
type = types.submodule {
|
||||
freeformType = settingsFormat.type;
|
||||
options = {
|
||||
base_path = mkOption {
|
||||
type = types.path;
|
||||
default = "/var/lib/gemstash";
|
||||
description = lib.mdDoc "Path to store the gem files and the sqlite database. If left unchanged, the directory will be created.";
|
||||
};
|
||||
bind = mkOption {
|
||||
type = types.str;
|
||||
default = "tcp://0.0.0.0:9292";
|
||||
description = lib.mdDoc "Host and port combination for the server to listen on.";
|
||||
};
|
||||
db_adapter = mkOption {
|
||||
type = types.nullOr (types.enum [ "sqlite3" "postgres" "mysql" "mysql2" ]);
|
||||
default = null;
|
||||
description = lib.mdDoc "Which database type to use. For choices other than sqlite3, the dbUrl has to be specified as well.";
|
||||
};
|
||||
db_url = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
description = lib.mdDoc "The database to connect to when using postgres, mysql, or mysql2.";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
config =
|
||||
mkIf cfg.enable {
|
||||
users = {
|
||||
users.gemstash = {
|
||||
group = "gemstash";
|
||||
isSystemUser = true;
|
||||
};
|
||||
groups.gemstash = { };
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = mkIf cfg.openFirewall [ (parseBindPort cfg.settings.bind) ];
|
||||
|
||||
systemd.services.gemstash = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "network.target" ];
|
||||
serviceConfig = mkMerge [
|
||||
{
|
||||
ExecStart = "${pkgs.gemstash}/bin/gemstash start --no-daemonize --config-file ${settingsFormat.generate "gemstash.yaml" (prefixColon cfg.settings)}";
|
||||
NoNewPrivileges = true;
|
||||
User = "gemstash";
|
||||
Group = "gemstash";
|
||||
PrivateTmp = true;
|
||||
RestrictSUIDSGID = true;
|
||||
LockPersonality = true;
|
||||
}
|
||||
(mkIf (cfg.settings.base_path == "/var/lib/gemstash") {
|
||||
StateDirectory = "gemstash";
|
||||
})
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
|
@ -89,11 +89,6 @@ let
|
|||
};
|
||||
};
|
||||
|
||||
pagesArgs = [
|
||||
"-pages-domain" gitlabConfig.production.pages.host
|
||||
"-pages-root" "${gitlabConfig.production.shared.path}/pages"
|
||||
] ++ cfg.pagesExtraArgs;
|
||||
|
||||
gitlabConfig = {
|
||||
# These are the default settings from config/gitlab.example.yml
|
||||
production = flip recursiveUpdate cfg.extraConfig {
|
||||
|
@ -161,6 +156,12 @@ let
|
|||
};
|
||||
extra = {};
|
||||
uploads.storage_path = cfg.statePath;
|
||||
pages = {
|
||||
enabled = cfg.pages.enable;
|
||||
port = 8090;
|
||||
host = cfg.pages.settings.pages-domain;
|
||||
secret_file = cfg.pages.settings.api-secret-key;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -246,6 +247,7 @@ in {
|
|||
(mkRenamedOptionModule [ "services" "gitlab" "backupPath" ] [ "services" "gitlab" "backup" "path" ])
|
||||
(mkRemovedOptionModule [ "services" "gitlab" "satelliteDir" ] "")
|
||||
(mkRemovedOptionModule [ "services" "gitlab" "logrotate" "extraConfig" ] "Modify services.logrotate.settings.gitlab directly instead")
|
||||
(mkRemovedOptionModule [ "services" "gitlab" "pagesExtraArgs" ] "Use services.gitlab.pages.settings instead")
|
||||
];
|
||||
|
||||
options = {
|
||||
|
@ -667,10 +669,127 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
pagesExtraArgs = mkOption {
|
||||
type = types.listOf types.str;
|
||||
default = [ "-listen-proxy" "127.0.0.1:8090" ];
|
||||
description = lib.mdDoc "Arguments to pass to the gitlab-pages daemon";
|
||||
pages.enable = mkEnableOption (lib.mdDoc "the GitLab Pages service");
|
||||
|
||||
pages.settings = mkOption {
|
||||
example = literalExpression ''
|
||||
{
|
||||
pages-domain = "example.com";
|
||||
auth-client-id = "generated-id-xxxxxxx";
|
||||
auth-client-secret = { _secret = "/var/keys/auth-client-secret"; };
|
||||
auth-redirect-uri = "https://projects.example.com/auth";
|
||||
auth-secret = { _secret = "/var/keys/auth-secret"; };
|
||||
auth-server = "https://gitlab.example.com";
|
||||
}
|
||||
'';
|
||||
|
||||
description = lib.mdDoc ''
|
||||
Configuration options to set in the GitLab Pages config
|
||||
file.
|
||||
|
||||
Options containing secret data should be set to an attribute
|
||||
set containing the attribute `_secret` - a string pointing
|
||||
to a file containing the value the option should be set
|
||||
to. See the example to get a better picture of this: in the
|
||||
resulting configuration file, the `auth-client-secret` and
|
||||
`auth-secret` keys will be set to the contents of the
|
||||
{file}`/var/keys/auth-client-secret` and
|
||||
{file}`/var/keys/auth-secret` files respectively.
|
||||
'';
|
||||
|
||||
type = types.submodule {
|
||||
freeformType = with types; attrsOf (nullOr (oneOf [ str int bool attrs ]));
|
||||
|
||||
options = {
|
||||
listen-http = mkOption {
|
||||
type = with types; listOf str;
|
||||
apply = x: if x == [] then null else lib.concatStringsSep "," x;
|
||||
default = [];
|
||||
description = lib.mdDoc ''
|
||||
The address(es) to listen on for HTTP requests.
|
||||
'';
|
||||
};
|
||||
|
||||
listen-https = mkOption {
|
||||
type = with types; listOf str;
|
||||
apply = x: if x == [] then null else lib.concatStringsSep "," x;
|
||||
default = [];
|
||||
description = lib.mdDoc ''
|
||||
The address(es) to listen on for HTTPS requests.
|
||||
'';
|
||||
};
|
||||
|
||||
listen-proxy = mkOption {
|
||||
type = with types; listOf str;
|
||||
apply = x: if x == [] then null else lib.concatStringsSep "," x;
|
||||
default = [ "127.0.0.1:8090" ];
|
||||
description = lib.mdDoc ''
|
||||
The address(es) to listen on for proxy requests.
|
||||
'';
|
||||
};
|
||||
|
||||
artifacts-server = mkOption {
|
||||
type = with types; nullOr str;
|
||||
default = "http${optionalString cfg.https "s"}://${cfg.host}/api/v4";
|
||||
defaultText = "http(s)://<services.gitlab.host>/api/v4";
|
||||
example = "https://gitlab.example.com/api/v4";
|
||||
description = lib.mdDoc ''
|
||||
API URL to proxy artifact requests to.
|
||||
'';
|
||||
};
|
||||
|
||||
gitlab-server = mkOption {
|
||||
type = with types; nullOr str;
|
||||
default = "http${optionalString cfg.https "s"}://${cfg.host}";
|
||||
defaultText = "http(s)://<services.gitlab.host>";
|
||||
example = "https://gitlab.example.com";
|
||||
description = lib.mdDoc ''
|
||||
Public GitLab server URL.
|
||||
'';
|
||||
};
|
||||
|
||||
internal-gitlab-server = mkOption {
|
||||
type = with types; nullOr str;
|
||||
default = null;
|
||||
defaultText = "http(s)://<services.gitlab.host>";
|
||||
example = "https://gitlab.example.internal";
|
||||
description = lib.mdDoc ''
|
||||
Internal GitLab server used for API requests, useful
|
||||
if you want to send that traffic over an internal load
|
||||
balancer. By default, the value of
|
||||
`services.gitlab.pages.settings.gitlab-server` is
|
||||
used.
|
||||
'';
|
||||
};
|
||||
|
||||
api-secret-key = mkOption {
|
||||
type = with types; nullOr str;
|
||||
default = "${cfg.statePath}/gitlab_pages_secret";
|
||||
internal = true;
|
||||
description = lib.mdDoc ''
|
||||
File with secret key used to authenticate with the
|
||||
GitLab API.
|
||||
'';
|
||||
};
|
||||
|
||||
pages-domain = mkOption {
|
||||
type = with types; nullOr str;
|
||||
example = "example.com";
|
||||
description = lib.mdDoc ''
|
||||
The domain to serve static pages on.
|
||||
'';
|
||||
};
|
||||
|
||||
pages-root = mkOption {
|
||||
type = types.str;
|
||||
default = "${gitlabConfig.production.shared.path}/pages";
|
||||
defaultText = literalExpression ''config.${opt.extraConfig}.production.shared.path + "/pages"'';
|
||||
description = lib.mdDoc ''
|
||||
The directory where pages are stored.
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
secrets.secretFile = mkOption {
|
||||
|
@ -1210,6 +1329,9 @@ in {
|
|||
umask u=rwx,g=,o=
|
||||
|
||||
openssl rand -hex 32 > ${cfg.statePath}/gitlab_shell_secret
|
||||
${optionalString cfg.pages.enable ''
|
||||
openssl rand -base64 32 > ${cfg.pages.settings.api-secret-key}
|
||||
''}
|
||||
|
||||
rm -f '${cfg.statePath}/config/database.yml'
|
||||
|
||||
|
@ -1359,28 +1481,66 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
systemd.services.gitlab-pages = mkIf (gitlabConfig.production.pages.enabled or false) {
|
||||
description = "GitLab static pages daemon";
|
||||
after = [ "network.target" "gitlab-config.service" ];
|
||||
bindsTo = [ "gitlab-config.service" ];
|
||||
wantedBy = [ "gitlab.target" ];
|
||||
partOf = [ "gitlab.target" ];
|
||||
|
||||
path = [ pkgs.unzip ];
|
||||
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
TimeoutSec = "infinity";
|
||||
Restart = "on-failure";
|
||||
|
||||
User = cfg.user;
|
||||
Group = cfg.group;
|
||||
|
||||
ExecStart = "${cfg.packages.pages}/bin/gitlab-pages ${escapeShellArgs pagesArgs}";
|
||||
WorkingDirectory = gitlabEnv.HOME;
|
||||
};
|
||||
services.gitlab.pages.settings = {
|
||||
api-secret-key = "${cfg.statePath}/gitlab_pages_secret";
|
||||
};
|
||||
|
||||
systemd.services.gitlab-pages =
|
||||
let
|
||||
filteredConfig = filterAttrs (_: v: v != null) cfg.pages.settings;
|
||||
isSecret = v: isAttrs v && v ? _secret && isString v._secret;
|
||||
mkPagesKeyValue = lib.generators.toKeyValue {
|
||||
mkKeyValue = lib.flip lib.generators.mkKeyValueDefault "=" rec {
|
||||
mkValueString = v:
|
||||
if isInt v then toString v
|
||||
else if isString v then v
|
||||
else if true == v then "true"
|
||||
else if false == v then "false"
|
||||
else if isSecret v then builtins.hashString "sha256" v._secret
|
||||
else throw "unsupported type ${builtins.typeOf v}: ${(lib.generators.toPretty {}) v}";
|
||||
};
|
||||
};
|
||||
secretPaths = lib.catAttrs "_secret" (lib.collect isSecret filteredConfig);
|
||||
mkSecretReplacement = file: ''
|
||||
replace-secret ${lib.escapeShellArgs [ (builtins.hashString "sha256" file) file "/run/gitlab-pages/gitlab-pages.conf" ]}
|
||||
'';
|
||||
secretReplacements = lib.concatMapStrings mkSecretReplacement secretPaths;
|
||||
configFile = pkgs.writeText "gitlab-pages.conf" (mkPagesKeyValue filteredConfig);
|
||||
in
|
||||
mkIf cfg.pages.enable {
|
||||
description = "GitLab static pages daemon";
|
||||
after = [ "network.target" "gitlab-config.service" "gitlab.service" ];
|
||||
bindsTo = [ "gitlab-config.service" "gitlab.service" ];
|
||||
wantedBy = [ "gitlab.target" ];
|
||||
partOf = [ "gitlab.target" ];
|
||||
|
||||
path = with pkgs; [
|
||||
unzip
|
||||
replace-secret
|
||||
];
|
||||
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
TimeoutSec = "infinity";
|
||||
Restart = "on-failure";
|
||||
|
||||
User = cfg.user;
|
||||
Group = cfg.group;
|
||||
|
||||
ExecStartPre = pkgs.writeShellScript "gitlab-pages-pre-start" ''
|
||||
set -o errexit -o pipefail -o nounset
|
||||
shopt -s dotglob nullglob inherit_errexit
|
||||
|
||||
install -m u=rw ${configFile} /run/gitlab-pages/gitlab-pages.conf
|
||||
${secretReplacements}
|
||||
'';
|
||||
ExecStart = "${cfg.packages.pages}/bin/gitlab-pages -config=/run/gitlab-pages/gitlab-pages.conf";
|
||||
WorkingDirectory = gitlabEnv.HOME;
|
||||
RuntimeDirectory = "gitlab-pages";
|
||||
RuntimeDirectoryMode = "0700";
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services.gitlab-workhorse = {
|
||||
after = [ "network.target" ];
|
||||
wantedBy = [ "gitlab.target" ];
|
||||
|
|
62
nixos/modules/services/misc/jellyseerr.nix
Normal file
62
nixos/modules/services/misc/jellyseerr.nix
Normal file
|
@ -0,0 +1,62 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.services.jellyseerr;
|
||||
in
|
||||
{
|
||||
meta.maintainers = [ maintainers.camillemndn ];
|
||||
|
||||
options.services.jellyseerr = {
|
||||
enable = mkEnableOption (mdDoc ''Jellyseerr, a requests manager for Jellyfin'');
|
||||
|
||||
openFirewall = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = mdDoc ''Open port in the firewall for the Jellyseerr web interface.'';
|
||||
};
|
||||
|
||||
port = mkOption {
|
||||
type = types.port;
|
||||
default = 5055;
|
||||
description = mdDoc ''The port which the Jellyseerr web UI should listen to.'';
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
systemd.services.jellyseerr = {
|
||||
description = "Jellyseerr, a requests manager for Jellyfin";
|
||||
after = [ "network.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
environment.PORT = toString cfg.port;
|
||||
serviceConfig = {
|
||||
Type = "exec";
|
||||
StateDirectory = "jellyseerr";
|
||||
WorkingDirectory = "${pkgs.jellyseerr}/libexec/jellyseerr/deps/jellyseerr";
|
||||
DynamicUser = true;
|
||||
ExecStart = "${pkgs.jellyseerr}/bin/jellyseerr";
|
||||
BindPaths = [ "/var/lib/jellyseerr/:${pkgs.jellyseerr}/libexec/jellyseerr/deps/jellyseerr/config/" ];
|
||||
Restart = "on-failure";
|
||||
ProtectHome = true;
|
||||
ProtectSystem = "strict";
|
||||
PrivateTmp = true;
|
||||
PrivateDevices = true;
|
||||
ProtectHostname = true;
|
||||
ProtectClock = true;
|
||||
ProtectKernelTunables = true;
|
||||
ProtectKernelModules = true;
|
||||
ProtectKernelLogs = true;
|
||||
ProtectControlGroups = true;
|
||||
NoNewPrivileges = true;
|
||||
RestrictRealtime = true;
|
||||
RestrictSUIDSGID = true;
|
||||
RemoveIPC = true;
|
||||
PrivateMounts = true;
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall = mkIf cfg.openFirewall {
|
||||
allowedTCPPorts = [ cfg.port ];
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1408,7 +1408,7 @@ let
|
|||
'';
|
||||
|
||||
action =
|
||||
mkDefOpt (types.enum [ "replace" "keep" "drop" "hashmod" "labelmap" "labeldrop" "labelkeep" ]) "replace" ''
|
||||
mkDefOpt (types.enum [ "replace" "lowercase" "uppercase" "keep" "drop" "hashmod" "labelmap" "labeldrop" "labelkeep" ]) "replace" ''
|
||||
Action to perform based on regex matching.
|
||||
'';
|
||||
};
|
||||
|
|
|
@ -239,6 +239,7 @@ in {
|
|||
ft2-clone = handleTest ./ft2-clone.nix {};
|
||||
mimir = handleTest ./mimir.nix {};
|
||||
garage = handleTest ./garage {};
|
||||
gemstash = handleTest ./gemstash.nix {};
|
||||
gerrit = handleTest ./gerrit.nix {};
|
||||
geth = handleTest ./geth.nix {};
|
||||
ghostunnel = handleTest ./ghostunnel.nix {};
|
||||
|
|
51
nixos/tests/gemstash.nix
Normal file
51
nixos/tests/gemstash.nix
Normal file
|
@ -0,0 +1,51 @@
|
|||
{ system ? builtins.currentSystem, config ? { }
|
||||
, pkgs ? import ../.. { inherit system config; } }:
|
||||
|
||||
with import ../lib/testing-python.nix { inherit system pkgs; };
|
||||
with pkgs.lib;
|
||||
|
||||
let common_meta = { maintainers = [ maintainers.viraptor ]; };
|
||||
in
|
||||
{
|
||||
gemstash_works = makeTest {
|
||||
name = "gemstash-works";
|
||||
meta = common_meta;
|
||||
|
||||
nodes.machine = { config, pkgs, ... }: {
|
||||
services.gemstash = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
# gemstash responds to http requests
|
||||
testScript = ''
|
||||
machine.wait_for_unit("gemstash.service")
|
||||
machine.wait_for_file("/var/lib/gemstash")
|
||||
machine.wait_for_open_port(9292)
|
||||
machine.succeed("curl http://localhost:9292")
|
||||
'';
|
||||
};
|
||||
|
||||
gemstash_custom_port = makeTest {
|
||||
name = "gemstash-custom-port";
|
||||
meta = common_meta;
|
||||
|
||||
nodes.machine = { config, pkgs, ... }: {
|
||||
services.gemstash = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
settings = {
|
||||
bind = "tcp://0.0.0.0:12345";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# gemstash responds to http requests
|
||||
testScript = ''
|
||||
machine.wait_for_unit("gemstash.service")
|
||||
machine.wait_for_file("/var/lib/gemstash")
|
||||
machine.wait_for_open_port(12345)
|
||||
machine.succeed("curl http://localhost:12345")
|
||||
'';
|
||||
};
|
||||
}
|
|
@ -69,6 +69,10 @@ in {
|
|||
databasePasswordFile = pkgs.writeText "dbPassword" "xo0daiF4";
|
||||
initialRootPasswordFile = pkgs.writeText "rootPassword" initialRootPassword;
|
||||
smtp.enable = true;
|
||||
pages = {
|
||||
enable = true;
|
||||
settings.pages-domain = "localhost";
|
||||
};
|
||||
extraConfig = {
|
||||
incoming_email = {
|
||||
enabled = true;
|
||||
|
@ -79,11 +83,6 @@ in {
|
|||
host = "localhost";
|
||||
port = 143;
|
||||
};
|
||||
# https://github.com/NixOS/nixpkgs/issues/132295
|
||||
# pages = {
|
||||
# enabled = true;
|
||||
# host = "localhost";
|
||||
# };
|
||||
};
|
||||
secrets = {
|
||||
secretFile = pkgs.writeText "secret" "Aig5zaic";
|
||||
|
@ -171,10 +170,9 @@ in {
|
|||
waitForServices = ''
|
||||
gitlab.wait_for_unit("gitaly.service")
|
||||
gitlab.wait_for_unit("gitlab-workhorse.service")
|
||||
# https://github.com/NixOS/nixpkgs/issues/132295
|
||||
# gitlab.wait_for_unit("gitlab-pages.service")
|
||||
gitlab.wait_for_unit("gitlab-mailroom.service")
|
||||
gitlab.wait_for_unit("gitlab.service")
|
||||
gitlab.wait_for_unit("gitlab-pages.service")
|
||||
gitlab.wait_for_unit("gitlab-sidekiq.service")
|
||||
gitlab.wait_for_file("${nodes.gitlab.config.services.gitlab.statePath}/tmp/sockets/gitlab.socket")
|
||||
gitlab.wait_until_succeeds("curl -sSf http://gitlab/users/sign_in")
|
||||
|
|
|
@ -77,9 +77,9 @@ let
|
|||
let iface = if grubVersion == 1 then "ide" else "virtio";
|
||||
isEfi = bootLoader == "systemd-boot" || (bootLoader == "grub" && grubUseEfi);
|
||||
bios = if pkgs.stdenv.isAarch64 then "QEMU_EFI.fd" else "OVMF.fd";
|
||||
in if !isEfi && !pkgs.stdenv.hostPlatform.isx86 then
|
||||
throw "Non-EFI boot methods are only supported on i686 / x86_64"
|
||||
else ''
|
||||
in if !isEfi && !pkgs.stdenv.hostPlatform.isx86 then ''
|
||||
machine.succeed("true")
|
||||
'' else ''
|
||||
def assemble_qemu_flags():
|
||||
flags = "-cpu max"
|
||||
${if (system == "x86_64-linux" || system == "i686-linux")
|
||||
|
|
|
@ -1267,6 +1267,23 @@ let
|
|||
};
|
||||
};
|
||||
|
||||
jellyedwards.gitsweep = buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
publisher = "jellyedwards";
|
||||
name = "gitsweep";
|
||||
version = "0.0.15";
|
||||
sha256 = "rKAy84Uiat5VOQXd4OXToNfxAJ6SuWPT47vuiyK4qwg=";
|
||||
};
|
||||
meta = with lib; {
|
||||
changelog = "https://marketplace.visualstudio.com/items/jellyedwards.gitsweep/changelog";
|
||||
description = "VS Code extension which allows you to easily exclude modified or new files so they don't get committed accidentally";
|
||||
downloadPage = "https://marketplace.visualstudio.com/items?itemName=jellyedwards.gitsweep";
|
||||
homepage = "https://github.com/jellyedwards/gitsweep";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ MatthieuBarthel ];
|
||||
};
|
||||
};
|
||||
|
||||
jkillian.custom-local-formatters = buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
publisher = "jkillian";
|
||||
|
|
|
@ -34,6 +34,9 @@ stdenv.mkDerivation {
|
|||
|
||||
patches = [ ./poppler-22_09-build-fix.patch ];
|
||||
|
||||
# Required for the PDF plugin when building with clang.
|
||||
CXXFLAGS = "-std=c++17";
|
||||
|
||||
preConfigure = ''
|
||||
patchShebangs .
|
||||
'';
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||
index 9b48beea..078ba20d 100644
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -603,7 +603,7 @@ ENDIF(APPLE)
|
||||
#
|
||||
# photoflow executable
|
||||
#
|
||||
-add_executable(photoflow main.cc ${RESOURCE_OBJECT})
|
||||
+add_executable(photoflow main.cc version.cc ${RESOURCE_OBJECT})
|
||||
IF(APPLE)
|
||||
set_target_properties(photoflow PROPERTIES LINK_FLAGS " -framework ApplicationServices ")
|
||||
ENDIF(APPLE)
|
|
@ -1,101 +0,0 @@
|
|||
{ automake
|
||||
, cmake
|
||||
, exiv2
|
||||
, expat
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, fftw
|
||||
, fftwFloat
|
||||
, gettext
|
||||
, glib
|
||||
, gobject-introspection
|
||||
, gtkmm2
|
||||
, lcms2
|
||||
, lensfun
|
||||
, libexif
|
||||
, libiptcdata
|
||||
, libjpeg
|
||||
, libraw
|
||||
, libtiff
|
||||
, libxml2
|
||||
, ninja
|
||||
, openexr
|
||||
, pcre
|
||||
, pkg-config
|
||||
, pugixml
|
||||
, lib
|
||||
, stdenv
|
||||
, swig
|
||||
, vips
|
||||
, gtk-mac-integration-gtk2
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "photoflow";
|
||||
version = "2020-08-28";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aferrero2707";
|
||||
repo = pname;
|
||||
rev = "8472024fb91175791e0eb23c434c5b58ecd250eb";
|
||||
sha256 = "1bq4733hbh15nwpixpyhqfn3bwkg38amdj2xc0my0pii8l9ln793";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "fix-compiler-flags.patch";
|
||||
url = "https://sources.debian.org/data/main/p/photoflow/0.2.8%2Bgit20200114-3/debian/patches/ftbfs";
|
||||
sha256 = "sha256-DG5yG6M4FsKOykE9Eh5TGd7Z5QURGTTVbO1pIxMAlhc=";
|
||||
})
|
||||
./CMakeLists.patch
|
||||
./fix-build.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
automake
|
||||
cmake
|
||||
gettext
|
||||
glib
|
||||
gobject-introspection
|
||||
libxml2
|
||||
ninja
|
||||
pkg-config
|
||||
swig
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
exiv2
|
||||
expat
|
||||
fftw
|
||||
fftwFloat
|
||||
gtkmm2 # Could be build with gtk3 but proper UI theme is missing and therefore not very usable with gtk3
|
||||
# See: https://discuss.pixls.us/t/help-needed-for-gtk3-theme/5803
|
||||
lcms2
|
||||
lensfun
|
||||
libexif
|
||||
libiptcdata
|
||||
libjpeg
|
||||
libraw
|
||||
libtiff
|
||||
openexr
|
||||
pcre
|
||||
pugixml
|
||||
vips
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
gtk-mac-integration-gtk2
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUNDLED_EXIV2=OFF"
|
||||
"-DBUNDLED_LENSFUN=OFF"
|
||||
"-DBUNDLED_GEXIV2=OFF"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A fully non-destructive photo retouching program providing a complete RAW image editing workflow";
|
||||
homepage = "https://aferrero2707.github.io/PhotoFlow/";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ MtP wegank ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
|
@ -1,76 +0,0 @@
|
|||
diff --git a/src/external/librtprocess/src/include/librtprocess.h b/src/external/librtprocess/src/include/librtprocess.h
|
||||
index 47691a09..b1c63dbd 100644
|
||||
--- a/src/external/librtprocess/src/include/librtprocess.h
|
||||
+++ b/src/external/librtprocess/src/include/librtprocess.h
|
||||
@@ -21,6 +21,7 @@
|
||||
#define _LIBRTPROCESS_
|
||||
|
||||
#include <functional>
|
||||
+#include <cstddef>
|
||||
|
||||
|
||||
enum rpError {RP_NO_ERROR, RP_MEMORY_ERROR, RP_WRONG_CFA, RP_CACORRECT_ERROR};
|
||||
diff --git a/src/operations/denoise.cc b/src/operations/denoise.cc
|
||||
index 10050f70..16b340c1 100644
|
||||
--- a/src/operations/denoise.cc
|
||||
+++ b/src/operations/denoise.cc
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
*/
|
||||
|
||||
-#include <vips/cimg_funcs.h>
|
||||
+//#include <vips/cimg_funcs.h>
|
||||
|
||||
#include "../base/new_operation.hh"
|
||||
#include "convert_colorspace.hh"
|
||||
diff --git a/src/operations/gmic/gmic.cc b/src/operations/gmic/gmic.cc
|
||||
index 876e7c20..fc6a8505 100644
|
||||
--- a/src/operations/gmic/gmic.cc
|
||||
+++ b/src/operations/gmic/gmic.cc
|
||||
@@ -28,13 +28,31 @@
|
||||
*/
|
||||
|
||||
//#include <vips/cimg_funcs.h>
|
||||
+#include <vips/vips.h>
|
||||
|
||||
#include "../../base/processor_imp.hh"
|
||||
#include "../convertformat.hh"
|
||||
#include "gmic.hh"
|
||||
|
||||
-int vips_gmic(VipsImage **in, VipsImage** out, int n, int padding, double x_scale, double y_scale, const char* command, ...);
|
||||
-
|
||||
+int vips_gmic(VipsImage **in, VipsImage** out, int n, int padding, double x_scale, double y_scale, const char* command, ...)
|
||||
+{
|
||||
+ VipsArrayImage *array;
|
||||
+ va_list ap;
|
||||
+ int result;
|
||||
+
|
||||
+#ifndef NDEBUG
|
||||
+ printf("vips_gmic(): padding=%d\n", padding);
|
||||
+#endif
|
||||
+
|
||||
+ array = vips_array_image_new( in, n );
|
||||
+ va_start( ap, command );
|
||||
+ result = vips_call_split( "gmic", ap, array, out,
|
||||
+ padding, x_scale, y_scale, command );
|
||||
+ va_end( ap );
|
||||
+ vips_area_unref( VIPS_AREA( array ) );
|
||||
+
|
||||
+ return( result );
|
||||
+}
|
||||
|
||||
PF::GMicPar::GMicPar():
|
||||
OpParBase(),
|
||||
diff --git a/src/vips/gmic/gmic/src/CImg.h b/src/vips/gmic/gmic/src/CImg.h
|
||||
index 268b9e62..5a79640c 100644
|
||||
--- a/src/vips/gmic/gmic/src/CImg.h
|
||||
+++ b/src/vips/gmic/gmic/src/CImg.h
|
||||
@@ -32843,7 +32843,7 @@ namespace cimg_library_suffixed {
|
||||
\see deriche(), vanvliet().
|
||||
**/
|
||||
CImg<T>& blur_box(const float boxsize, const bool boundary_conditions=true) {
|
||||
- const float nboxsize = boxsize>=0?boxsize:-boxsize*std::max(_width,_height,_depth)/100;
|
||||
+ const float nboxsize = boxsize>=0?boxsize:-boxsize*std::max({_width,_height,_depth})/100;
|
||||
return blur_box(nboxsize,nboxsize,nboxsize,boundary_conditions);
|
||||
}
|
||||
|
|
@ -13,15 +13,20 @@
|
|||
buildDotnetModule rec {
|
||||
pname = "archisteamfarm";
|
||||
# nixpkgs-update: no auto update
|
||||
version = "5.4.2.13";
|
||||
version = "5.4.3.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "justarchinet";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-4DaqIsHfijA0hkhlsC6qQ1n+HC0zwdMtXiswOPOVpM4=";
|
||||
sha256 = "sha256-SRWqe8KTjFdgVW7/EYRVUONtDWwxpcZ1GXWFPjKZzpI=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# otherwise installPhase fails with NETSDK1129
|
||||
./fix-framework.diff
|
||||
];
|
||||
|
||||
dotnet-runtime = dotnetCorePackages.aspnetcore_7_0;
|
||||
dotnet-sdk = dotnetCorePackages.sdk_7_0;
|
||||
|
||||
|
@ -59,6 +64,7 @@ buildDotnetModule rec {
|
|||
}
|
||||
|
||||
buildPlugin ArchiSteamFarm.OfficialPlugins.ItemsMatcher
|
||||
buildPlugin ArchiSteamFarm.OfficialPlugins.MobileAuthenticator
|
||||
buildPlugin ArchiSteamFarm.OfficialPlugins.SteamTokenDumper
|
||||
'';
|
||||
|
||||
|
|
16
pkgs/applications/misc/ArchiSteamFarm/deps.nix
generated
16
pkgs/applications/misc/ArchiSteamFarm/deps.nix
generated
|
@ -61,7 +61,7 @@
|
|||
(fetchNuGet { pname = "Microsoft.AspNetCore.JsonPatch"; version = "7.0.0"; sha256 = "1f13vsfs1rp9bmdp3khk4mk2fif932d72yxm2wszpsr239x4s2bf"; })
|
||||
(fetchNuGet { pname = "Microsoft.AspNetCore.Mvc.NewtonsoftJson"; version = "7.0.0"; sha256 = "1w49rg0n5wb1m5wnays2mmym7qy7bsi2b1zxz97af2rkbw3s3hbd"; })
|
||||
(fetchNuGet { pname = "Microsoft.Bcl.AsyncInterfaces"; version = "6.0.0"; sha256 = "15gqy2m14fdlvy1g59207h5kisznm355kbw010gy19vh47z8gpz3"; })
|
||||
(fetchNuGet { pname = "Microsoft.CodeCoverage"; version = "17.4.1"; sha256 = "0bf68gq6mc6kzri4zi8ydc0xrazqwqg38bhbpjpj90zmqc28kari"; })
|
||||
(fetchNuGet { pname = "Microsoft.CodeCoverage"; version = "17.5.0"; sha256 = "0briw00gb5bz9k9kx00p6ghq47w501db7gb6ig5zzmz9hb8lw4a4"; })
|
||||
(fetchNuGet { pname = "Microsoft.CSharp"; version = "4.7.0"; sha256 = "0gd67zlw554j098kabg887b5a6pq9kzavpa3jjy5w53ccjzjfy8j"; })
|
||||
(fetchNuGet { pname = "Microsoft.Extensions.ApiDescription.Server"; version = "6.0.5"; sha256 = "1pi2bm3cm0a7jzqzmfc2r7bpcdkmk3hhjfvb2c81j7wl7xdw3624"; })
|
||||
(fetchNuGet { pname = "Microsoft.Extensions.Configuration.Abstractions"; version = "6.0.0"; sha256 = "0w6wwxv12nbc3sghvr68847wc9skkdgsicrz3fx4chgng1i3xy0j"; })
|
||||
|
@ -71,11 +71,11 @@
|
|||
(fetchNuGet { pname = "Microsoft.Extensions.Logging.Abstractions"; version = "6.0.0"; sha256 = "0b75fmins171zi6bfdcq1kcvyrirs8n91mknjnxy4c3ygi1rrnj0"; })
|
||||
(fetchNuGet { pname = "Microsoft.Extensions.Options"; version = "6.0.0"; sha256 = "008pnk2p50i594ahz308v81a41mbjz9mwcarqhmrjpl2d20c868g"; })
|
||||
(fetchNuGet { pname = "Microsoft.Extensions.Primitives"; version = "6.0.0"; sha256 = "1kjiw6s4yfz9gm7mx3wkhp06ghnbs95icj9hi505shz9rjrg42q2"; })
|
||||
(fetchNuGet { pname = "Microsoft.NET.Test.Sdk"; version = "17.4.1"; sha256 = "02p1j9fncd4fb2hyp51kw49d0dz30vvazhzk24c9f5ccc00ijpra"; })
|
||||
(fetchNuGet { pname = "Microsoft.NET.Test.Sdk"; version = "17.5.0"; sha256 = "00gz2i8kx4mlq1ywj3imvf7wc6qzh0bsnynhw06z0mgyha1a21jy"; })
|
||||
(fetchNuGet { pname = "Microsoft.NETCore.Platforms"; version = "5.0.0"; sha256 = "0mwpwdflidzgzfx2dlpkvvnkgkr2ayaf0s80737h4wa35gaj11rc"; })
|
||||
(fetchNuGet { pname = "Microsoft.OpenApi"; version = "1.2.3"; sha256 = "07b19k89whj69j87afkz86gp9b3iybw8jqwvlgcn43m7fb2y99rr"; })
|
||||
(fetchNuGet { pname = "Microsoft.TestPlatform.ObjectModel"; version = "17.4.1"; sha256 = "0s68wf9yphm4hni9p6kwfk0mjld85f4hkrs93qbk5lzf6vv3kba1"; })
|
||||
(fetchNuGet { pname = "Microsoft.TestPlatform.TestHost"; version = "17.4.1"; sha256 = "1n9ilq8n5rhyxcri06njkxb0h2818dbmzddwd2rrvav91647m2s4"; })
|
||||
(fetchNuGet { pname = "Microsoft.TestPlatform.ObjectModel"; version = "17.5.0"; sha256 = "0qkjyf3ky6xpjg5is2sdsawm99ka7fzgid2bvpglwmmawqgm8gls"; })
|
||||
(fetchNuGet { pname = "Microsoft.TestPlatform.TestHost"; version = "17.5.0"; sha256 = "17g0k3r5n8grba8kg4nghjyhnq9w8v0w6c2nkyyygvfh8k8x9wh3"; })
|
||||
(fetchNuGet { pname = "Microsoft.Win32.Registry"; version = "5.0.0"; sha256 = "102hvhq2gmlcbq8y2cb7hdr2dnmjzfp2k3asr1ycwrfacwyaak7n"; })
|
||||
(fetchNuGet { pname = "MSTest.TestAdapter"; version = "3.0.2"; sha256 = "1pzn95nhmprfvchwshyy87jifzjpvdny21b5yhkqafr150nxlz77"; })
|
||||
(fetchNuGet { pname = "MSTest.TestFramework"; version = "3.0.2"; sha256 = "1yiwi0hi8pn9dv90vz1yw13izap8dv13asxvr9axcliis0ad5iaq"; })
|
||||
|
@ -86,9 +86,9 @@
|
|||
(fetchNuGet { pname = "Nito.AsyncEx.Tasks"; version = "5.1.2"; sha256 = "11wp47kc69sjdxrbg5pgx0wlffqlp0x5kr54ggnz2v19kmjz362v"; })
|
||||
(fetchNuGet { pname = "Nito.Collections.Deque"; version = "1.1.1"; sha256 = "152564q3s0n5swfv5p5rx0ghn2sm0g2xsnbd7gv8vb9yfklv7yg8"; })
|
||||
(fetchNuGet { pname = "Nito.Disposables"; version = "2.2.1"; sha256 = "1hx5k8497j34kxxgh060bvij0vfnraw90dmm3h9bmamcdi8wp80l"; })
|
||||
(fetchNuGet { pname = "NLog"; version = "5.1.1"; sha256 = "19m1ivp1cxz1ghlvysrxdhxlj7kzya9m7j812c3ssnxrfrr1077z"; })
|
||||
(fetchNuGet { pname = "NLog.Extensions.Logging"; version = "5.2.1"; sha256 = "1z9ayqag1xncn4cs0cz27gxa5cqk6caq5fd81bczlj4sqff7ah4p"; })
|
||||
(fetchNuGet { pname = "NLog.Web.AspNetCore"; version = "5.2.1"; sha256 = "10y03374lza6cjsi01xmql1v6hcjf6x2r7wfnnckzhzs70x2hhnl"; })
|
||||
(fetchNuGet { pname = "NLog"; version = "5.1.2"; sha256 = "1hgb5lqx9c10kw6rjldrkldd70lmkzij4ssgg6msybgz7vpsyhkk"; })
|
||||
(fetchNuGet { pname = "NLog.Extensions.Logging"; version = "5.2.2"; sha256 = "09y37z05c8w77hnj2mvzyhgprssam645llliyr0c3jycgy0ls707"; })
|
||||
(fetchNuGet { pname = "NLog.Web.AspNetCore"; version = "5.2.2"; sha256 = "1ig6ffc1z0kadk2v6qsnrxyj945nwsral7jvddhvjhm12bd1zb6d"; })
|
||||
(fetchNuGet { pname = "NuGet.Frameworks"; version = "5.11.0"; sha256 = "0wv26gq39hfqw9md32amr5771s73f5zn1z9vs4y77cgynxr73s4z"; })
|
||||
(fetchNuGet { pname = "protobuf-net"; version = "3.0.101"; sha256 = "0594qckbc0lh61sw74ihaq4qmvf1lf133vfa88n443mh7lxm2fwf"; })
|
||||
(fetchNuGet { pname = "protobuf-net.Core"; version = "3.0.101"; sha256 = "1kvn9rnm6f0jxs0s9scyyx2f2p8rk03qzc1f6ijv1g6xgkpxkq1m"; })
|
||||
|
@ -112,7 +112,7 @@
|
|||
(fetchNuGet { pname = "System.Reflection.Metadata"; version = "1.6.0"; sha256 = "1wdbavrrkajy7qbdblpbpbalbdl48q3h34cchz24gvdgyrlf15r4"; })
|
||||
(fetchNuGet { pname = "System.Runtime.CompilerServices.Unsafe"; version = "6.0.0"; sha256 = "0qm741kh4rh57wky16sq4m0v05fxmkjjr87krycf5vp9f0zbahbc"; })
|
||||
(fetchNuGet { pname = "System.Security.AccessControl"; version = "5.0.0"; sha256 = "17n3lrrl6vahkqmhlpn3w20afgz09n7i6rv0r3qypngwi7wqdr5r"; })
|
||||
(fetchNuGet { pname = "System.Security.Cryptography.ProtectedData"; version = "7.0.0"; sha256 = "15s9s6hsj9bz0nzw41mxbqdjgjd71w2djqbv0aj413gfi9amybk9"; })
|
||||
(fetchNuGet { pname = "System.Security.Cryptography.ProtectedData"; version = "7.0.1"; sha256 = "1nq9ngkqha70rv41692c79zq09cx6m85wkp3xj9yc31s62afyl5i"; })
|
||||
(fetchNuGet { pname = "System.Security.Principal.Windows"; version = "5.0.0"; sha256 = "1mpk7xj76lxgz97a5yg93wi8lj0l8p157a5d50mmjy3gbz1904q8"; })
|
||||
(fetchNuGet { pname = "System.Text.Encoding.CodePages"; version = "6.0.0"; sha256 = "0gm2kiz2ndm9xyzxgi0jhazgwslcs427waxgfa30m7yqll1kcrww"; })
|
||||
(fetchNuGet { pname = "zxcvbn-core"; version = "7.0.92"; sha256 = "1pbi0n3za8zsnkbvq19njy4h4hy12a6rv4rknf4a2m1kdhxb3cgx"; })
|
||||
|
|
24
pkgs/applications/misc/ArchiSteamFarm/fix-framework.diff
Normal file
24
pkgs/applications/misc/ArchiSteamFarm/fix-framework.diff
Normal file
|
@ -0,0 +1,24 @@
|
|||
diff --git a/Directory.Build.props b/Directory.Build.props
|
||||
index 89137fba..bce300a4 100644
|
||||
--- a/Directory.Build.props
|
||||
+++ b/Directory.Build.props
|
||||
@@ -29,16 +29,16 @@
|
||||
<RepositoryUrl>$(PackageProjectUrl).git</RepositoryUrl>
|
||||
<RollForward>LatestMajor</RollForward>
|
||||
<RuntimeIdentifiers>linux-arm;linux-arm64;linux-x64;osx-arm64;osx-x64;win-arm64;win-x64</RuntimeIdentifiers>
|
||||
- <TargetFrameworks>net7.0</TargetFrameworks>
|
||||
+ <TargetFramework>net7.0</TargetFramework>
|
||||
<TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(OS)' == 'Windows_NT' OR '$(ASFNetFramework)' != ''">
|
||||
- <TargetFrameworks>$(TargetFrameworks);net481</TargetFrameworks>
|
||||
+ <TargetFramework>$(TargetFramework);net481</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(ASFNetStandard)' != ''">
|
||||
- <TargetFrameworks>$(TargetFrameworks);netstandard2.1</TargetFrameworks>
|
||||
+ <TargetFramework>$(TargetFramework);netstandard2.1</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition="'$(TargetFramework)' == 'net481' OR '$(TargetFramework)' == 'netstandard2.1'">
|
|
@ -11,8 +11,8 @@ let
|
|||
repo = "ASF-ui";
|
||||
# updated by the update script
|
||||
# this is always the commit that should be used with asf-ui from the latest asf version
|
||||
rev = "22692a1f115e8ca86f83fa17be55d9b20985570f";
|
||||
sha256 = "0k0msk1r7ih092cwjngy1824bxkbjwz0d5p3k2r2l67r2p9b3lab";
|
||||
rev = "b30b3f5bcea53019bab1d7a433a75936a63eef27";
|
||||
sha256 = "0ba4jjf1lxhffj77lcamg390hf8z9avg9skc0iap37zw5n5myb6c";
|
||||
};
|
||||
|
||||
in
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
|
||||
let
|
||||
sources = {
|
||||
"@ampproject/remapping-2.1.1" = {
|
||||
"@ampproject/remapping-2.2.0" = {
|
||||
name = "_at_ampproject_slash_remapping";
|
||||
packageName = "@ampproject/remapping";
|
||||
version = "2.1.1";
|
||||
version = "2.2.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.1.1.tgz";
|
||||
sha512 = "Aolwjd7HSC2PyY0fDj/wA/EimQT4HfEnFYNp5s9CQlrdhyvWTtvZ5YzrUPu6R6/1jKiUlxu8bUhkdSnKHNAHMA==";
|
||||
url = "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz";
|
||||
sha512 = "qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==";
|
||||
};
|
||||
};
|
||||
"@babel/code-frame-7.18.6" = {
|
||||
|
@ -31,13 +31,13 @@ let
|
|||
sha512 = "KZXo2t10+/jxmkhNXc7pZTqRvSOIvVv/+lJwHS+B2rErwOyjuVRh60yVpb7liQ1U5t7lLJ1bz+t8tSypUZdm0g==";
|
||||
};
|
||||
};
|
||||
"@babel/core-7.20.12" = {
|
||||
"@babel/core-7.21.0" = {
|
||||
name = "_at_babel_slash_core";
|
||||
packageName = "@babel/core";
|
||||
version = "7.20.12";
|
||||
version = "7.21.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/@babel/core/-/core-7.20.12.tgz";
|
||||
sha512 = "XsMfHovsUYHFMdrIHkZphTN/2Hzzi78R08NuHfDBehym2VsPDL6Zn/JAD/JQdnRvbSsbQc4mVaU1m6JgtTEElg==";
|
||||
url = "https://registry.npmjs.org/@babel/core/-/core-7.21.0.tgz";
|
||||
sha512 = "PuxUbxcW6ZYe656yL3EAhpy7qXKq0DmYsrJLpbB8XrsCP9Nm+XCg9XFMb5vIDliPD7+U/+M+QJlH17XOcB7eXA==";
|
||||
};
|
||||
};
|
||||
"@babel/eslint-parser-7.19.1" = {
|
||||
|
@ -49,13 +49,13 @@ let
|
|||
sha512 = "AqNf2QWt1rtu2/1rLswy6CDP7H9Oh3mMhk177Y67Rg8d7RD9WfOLLv8CGn6tisFvS2htm86yIe1yLF6I1UDaGQ==";
|
||||
};
|
||||
};
|
||||
"@babel/generator-7.20.7" = {
|
||||
"@babel/generator-7.21.0" = {
|
||||
name = "_at_babel_slash_generator";
|
||||
packageName = "@babel/generator";
|
||||
version = "7.20.7";
|
||||
version = "7.21.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/@babel/generator/-/generator-7.20.7.tgz";
|
||||
sha512 = "7wqMOJq8doJMZmP4ApXTzLxSr7+oO2jroJURrVEp6XShrQUObV8Tq/D0NCcoYg2uHqUrjzO0zwBjoYzelxK+sw==";
|
||||
url = "https://registry.npmjs.org/@babel/generator/-/generator-7.21.0.tgz";
|
||||
sha512 = "z/zN3SePOtxN1/vPFdqrkuJGCD2Vx469+dSbNRD+4TF2+6e4Of5exHqAtcfL/2Nwu0RN0QsFwjyDBFwdUMzNSA==";
|
||||
};
|
||||
};
|
||||
"@babel/helper-annotate-as-pure-7.18.6" = {
|
||||
|
@ -130,13 +130,13 @@ let
|
|||
sha512 = "eyAYAsQmB80jNfg4baAtLeWAQHfHFiR483rzFK+BhETlGZaQC9bsfrugfXDCbRHLQbIA7U5NxhhOxN7p/dWIcg==";
|
||||
};
|
||||
};
|
||||
"@babel/helper-function-name-7.19.0" = {
|
||||
"@babel/helper-function-name-7.21.0" = {
|
||||
name = "_at_babel_slash_helper-function-name";
|
||||
packageName = "@babel/helper-function-name";
|
||||
version = "7.19.0";
|
||||
version = "7.21.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz";
|
||||
sha512 = "WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w==";
|
||||
url = "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.21.0.tgz";
|
||||
sha512 = "HfK1aMRanKHpxemaY2gqBmL04iAPOPRj7DxtNbiDOrJK+gdwkiNRVpCpUJYbUT+aZyemKN8brqTOxzCaG6ExRg==";
|
||||
};
|
||||
};
|
||||
"@babel/helper-hoist-variables-7.18.6" = {
|
||||
|
@ -166,13 +166,13 @@ let
|
|||
sha512 = "0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==";
|
||||
};
|
||||
};
|
||||
"@babel/helper-module-transforms-7.20.11" = {
|
||||
"@babel/helper-module-transforms-7.21.0" = {
|
||||
name = "_at_babel_slash_helper-module-transforms";
|
||||
packageName = "@babel/helper-module-transforms";
|
||||
version = "7.20.11";
|
||||
version = "7.21.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.20.11.tgz";
|
||||
sha512 = "uRy78kN4psmji1s2QtbtcCSaj/LILFDp0f/ymhpQH5QY3nljUZCaNWz9X1dEj/8MBdBEFECs7yRhKn8i7NjZgg==";
|
||||
url = "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.21.0.tgz";
|
||||
sha512 = "eD/JQ21IG2i1FraJnTMbUarAUkA7G988ofehG5MDCRXaUU91rEBJuCeSoou2Sk1y4RbLYXzqEg1QLwEmRU4qcQ==";
|
||||
};
|
||||
};
|
||||
"@babel/helper-optimise-call-expression-7.18.6" = {
|
||||
|
@ -274,13 +274,13 @@ let
|
|||
sha512 = "95NLBP59VWdfK2lyLKe6eTMq9xg+yWKzxzxbJ1wcYNi1Auz200+83fMDADjRxBvc2QQor5zja2yTQzXGhk2GtQ==";
|
||||
};
|
||||
};
|
||||
"@babel/helpers-7.20.7" = {
|
||||
"@babel/helpers-7.21.0" = {
|
||||
name = "_at_babel_slash_helpers";
|
||||
packageName = "@babel/helpers";
|
||||
version = "7.20.7";
|
||||
version = "7.21.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/@babel/helpers/-/helpers-7.20.7.tgz";
|
||||
sha512 = "PBPjs5BppzsGaxHQCDKnZ6Gd9s6xl8bBCluz3vEInLGRJmnZan4F6BYCeqtyXqkk4W5IlPmjK4JlOuZkpJ3xZA==";
|
||||
url = "https://registry.npmjs.org/@babel/helpers/-/helpers-7.21.0.tgz";
|
||||
sha512 = "XXve0CBtOW0pd7MRzzmoyuSj0e3SEzj8pgyFxnTT1NJZL38BD1MK7yYrm8yefRPIDvNNe14xR4FdbHwpInD4rA==";
|
||||
};
|
||||
};
|
||||
"@babel/highlight-7.18.6" = {
|
||||
|
@ -292,13 +292,13 @@ let
|
|||
sha512 = "u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==";
|
||||
};
|
||||
};
|
||||
"@babel/parser-7.20.7" = {
|
||||
"@babel/parser-7.21.0" = {
|
||||
name = "_at_babel_slash_parser";
|
||||
packageName = "@babel/parser";
|
||||
version = "7.20.7";
|
||||
version = "7.21.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/@babel/parser/-/parser-7.20.7.tgz";
|
||||
sha512 = "T3Z9oHybU+0vZlY9CiDSJQTD5ZapcW18ZctFMi0MOAl/4BjFF4ul7NVSARLdbGO5vDqy9eQiGTV0LtKfvCYvcg==";
|
||||
url = "https://registry.npmjs.org/@babel/parser/-/parser-7.21.0.tgz";
|
||||
sha512 = "ONjtg4renj14A9pj3iA5T5+r5Eijxbr2eNIkMBTC74occDSsRZUpe8vowmowAjFR1imWlkD8eEmjYXiREZpGZg==";
|
||||
};
|
||||
};
|
||||
"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.18.6" = {
|
||||
|
@ -913,31 +913,31 @@ let
|
|||
sha512 = "8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw==";
|
||||
};
|
||||
};
|
||||
"@babel/traverse-7.20.12" = {
|
||||
"@babel/traverse-7.21.0" = {
|
||||
name = "_at_babel_slash_traverse";
|
||||
packageName = "@babel/traverse";
|
||||
version = "7.20.12";
|
||||
version = "7.21.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/@babel/traverse/-/traverse-7.20.12.tgz";
|
||||
sha512 = "MsIbFN0u+raeja38qboyF8TIT7K0BFzz/Yd/77ta4MsUsmP2RAnidIlwq7d5HFQrH/OZJecGV6B71C4zAgpoSQ==";
|
||||
url = "https://registry.npmjs.org/@babel/traverse/-/traverse-7.21.0.tgz";
|
||||
sha512 = "Xdt2P1H4LKTO8ApPfnO1KmzYMFpp7D/EinoXzLYN/cHcBNrVCAkAtGUcXnHXrl/VGktureU6fkQrHSBE2URfoA==";
|
||||
};
|
||||
};
|
||||
"@babel/types-7.20.7" = {
|
||||
"@babel/types-7.21.0" = {
|
||||
name = "_at_babel_slash_types";
|
||||
packageName = "@babel/types";
|
||||
version = "7.20.7";
|
||||
version = "7.21.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/@babel/types/-/types-7.20.7.tgz";
|
||||
sha512 = "69OnhBxSSgK0OzTJai4kyPDiKTIe3j+ctaHdIGVbRahTLAT7L3R9oeXHC2aVSuGYt3cVnoAMDmOCgJ2yaiLMvg==";
|
||||
url = "https://registry.npmjs.org/@babel/types/-/types-7.21.0.tgz";
|
||||
sha512 = "uR7NWq2VNFnDi7EYqiRz2Jv/VQIu38tu64Zy8TX2nQFQ6etJ9V/Rr2msW8BS132mum2rL645qpDrLtAJtVpuow==";
|
||||
};
|
||||
};
|
||||
"@discoveryjs/json-ext-0.5.5" = {
|
||||
"@discoveryjs/json-ext-0.5.7" = {
|
||||
name = "_at_discoveryjs_slash_json-ext";
|
||||
packageName = "@discoveryjs/json-ext";
|
||||
version = "0.5.5";
|
||||
version = "0.5.7";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.5.tgz";
|
||||
sha512 = "6nFkfkmSeV/rqSaS4oWHgmpnYw194f6hmWF5is6b0J1naJZoiD0NTc9AiUwPHvWsowkjuHErCZT1wa0jg+BLIA==";
|
||||
url = "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz";
|
||||
sha512 = "dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==";
|
||||
};
|
||||
};
|
||||
"@eslint/eslintrc-1.4.1" = {
|
||||
|
@ -949,40 +949,40 @@ let
|
|||
sha512 = "XXrH9Uarn0stsyldqDYq8r++mROmWRI1xKMXa640Bb//SY1+ECYX6VzT6Lcx5frD0V30XieqJ0oX9I2Xj5aoMA==";
|
||||
};
|
||||
};
|
||||
"@fortawesome/fontawesome-common-types-6.2.1" = {
|
||||
"@fortawesome/fontawesome-common-types-6.3.0" = {
|
||||
name = "_at_fortawesome_slash_fontawesome-common-types";
|
||||
packageName = "@fortawesome/fontawesome-common-types";
|
||||
version = "6.2.1";
|
||||
version = "6.3.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-6.2.1.tgz";
|
||||
sha512 = "Sz07mnQrTekFWLz5BMjOzHl/+NooTdW8F8kDQxjWwbpOJcnoSg4vUDng8d/WR1wOxM0O+CY9Zw0nR054riNYtQ==";
|
||||
url = "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-6.3.0.tgz";
|
||||
sha512 = "4BC1NMoacEBzSXRwKjZ/X/gmnbp/HU5Qqat7E8xqorUtBFZS+bwfGH5/wqOC2K6GV0rgEobp3OjGRMa5fK9pFg==";
|
||||
};
|
||||
};
|
||||
"@fortawesome/fontawesome-svg-core-6.2.1" = {
|
||||
"@fortawesome/fontawesome-svg-core-6.3.0" = {
|
||||
name = "_at_fortawesome_slash_fontawesome-svg-core";
|
||||
packageName = "@fortawesome/fontawesome-svg-core";
|
||||
version = "6.2.1";
|
||||
version = "6.3.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/@fortawesome/fontawesome-svg-core/-/fontawesome-svg-core-6.2.1.tgz";
|
||||
sha512 = "HELwwbCz6C1XEcjzyT1Jugmz2NNklMrSPjZOWMlc+ZsHIVk+XOvOXLGGQtFBwSyqfJDNgRq4xBCwWOaZ/d9DEA==";
|
||||
url = "https://registry.npmjs.org/@fortawesome/fontawesome-svg-core/-/fontawesome-svg-core-6.3.0.tgz";
|
||||
sha512 = "uz9YifyKlixV6AcKlOX8WNdtF7l6nakGyLYxYaCa823bEBqyj/U2ssqtctO38itNEwXb8/lMzjdoJ+aaJuOdrw==";
|
||||
};
|
||||
};
|
||||
"@fortawesome/free-brands-svg-icons-6.2.1" = {
|
||||
"@fortawesome/free-brands-svg-icons-6.3.0" = {
|
||||
name = "_at_fortawesome_slash_free-brands-svg-icons";
|
||||
packageName = "@fortawesome/free-brands-svg-icons";
|
||||
version = "6.2.1";
|
||||
version = "6.3.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/@fortawesome/free-brands-svg-icons/-/free-brands-svg-icons-6.2.1.tgz";
|
||||
sha512 = "L8l4MfdHPmZlJ72PvzdfwOwbwcCAL0vx48tJRnI6u1PJXh+j2f3yDoKyQgO3qjEsgD5Fr2tQV/cPP8F/k6aUig==";
|
||||
url = "https://registry.npmjs.org/@fortawesome/free-brands-svg-icons/-/free-brands-svg-icons-6.3.0.tgz";
|
||||
sha512 = "xI0c+a8xnKItAXCN8rZgCNCJQiVAd2Y7p9e2ND6zN3J3ekneu96qrePieJ7yA7073C1JxxoM3vH1RU7rYsaj8w==";
|
||||
};
|
||||
};
|
||||
"@fortawesome/free-solid-svg-icons-6.2.1" = {
|
||||
"@fortawesome/free-solid-svg-icons-6.3.0" = {
|
||||
name = "_at_fortawesome_slash_free-solid-svg-icons";
|
||||
packageName = "@fortawesome/free-solid-svg-icons";
|
||||
version = "6.2.1";
|
||||
version = "6.3.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/@fortawesome/free-solid-svg-icons/-/free-solid-svg-icons-6.2.1.tgz";
|
||||
sha512 = "oKuqrP5jbfEPJWTij4sM+/RvgX+RMFwx3QZCZcK9PrBDgxC35zuc7AOFsyMjMd/PIFPeB2JxyqDr5zs/DZFPPw==";
|
||||
url = "https://registry.npmjs.org/@fortawesome/free-solid-svg-icons/-/free-solid-svg-icons-6.3.0.tgz";
|
||||
sha512 = "x5tMwzF2lTH8pyv8yeZRodItP2IVlzzmBuD1M7BjawWgg9XAvktqJJ91Qjgoaf8qJpHQ8FEU9VxRfOkLhh86QA==";
|
||||
};
|
||||
};
|
||||
"@fortawesome/vue-fontawesome-2.0.10" = {
|
||||
|
@ -1021,6 +1021,15 @@ let
|
|||
sha512 = "ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==";
|
||||
};
|
||||
};
|
||||
"@jridgewell/gen-mapping-0.1.1" = {
|
||||
name = "_at_jridgewell_slash_gen-mapping";
|
||||
packageName = "@jridgewell/gen-mapping";
|
||||
version = "0.1.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz";
|
||||
sha512 = "sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==";
|
||||
};
|
||||
};
|
||||
"@jridgewell/gen-mapping-0.3.2" = {
|
||||
name = "_at_jridgewell_slash_gen-mapping";
|
||||
packageName = "@jridgewell/gen-mapping";
|
||||
|
@ -1030,13 +1039,13 @@ let
|
|||
sha512 = "mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==";
|
||||
};
|
||||
};
|
||||
"@jridgewell/resolve-uri-3.0.5" = {
|
||||
"@jridgewell/resolve-uri-3.1.0" = {
|
||||
name = "_at_jridgewell_slash_resolve-uri";
|
||||
packageName = "@jridgewell/resolve-uri";
|
||||
version = "3.0.5";
|
||||
version = "3.1.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.5.tgz";
|
||||
sha512 = "VPeQ7+wH0itvQxnG+lIzWgkysKIr3L9sslimFW55rHMdGu/qCQ5z5h9zq4gI8uBtqkpHhsF4Z/OwExufUCThew==";
|
||||
url = "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz";
|
||||
sha512 = "F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==";
|
||||
};
|
||||
};
|
||||
"@jridgewell/set-array-1.1.2" = {
|
||||
|
@ -1048,22 +1057,22 @@ let
|
|||
sha512 = "xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==";
|
||||
};
|
||||
};
|
||||
"@jridgewell/sourcemap-codec-1.4.11" = {
|
||||
"@jridgewell/sourcemap-codec-1.4.14" = {
|
||||
name = "_at_jridgewell_slash_sourcemap-codec";
|
||||
packageName = "@jridgewell/sourcemap-codec";
|
||||
version = "1.4.11";
|
||||
version = "1.4.14";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.11.tgz";
|
||||
sha512 = "Fg32GrJo61m+VqYSdRSjRXMjQ06j8YIYfcTqndLYVAaHmroZHLJZCydsWBOTDqXS2v+mjxohBWEMfg97GXmYQg==";
|
||||
url = "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz";
|
||||
sha512 = "XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==";
|
||||
};
|
||||
};
|
||||
"@jridgewell/trace-mapping-0.3.13" = {
|
||||
"@jridgewell/trace-mapping-0.3.17" = {
|
||||
name = "_at_jridgewell_slash_trace-mapping";
|
||||
packageName = "@jridgewell/trace-mapping";
|
||||
version = "0.3.13";
|
||||
version = "0.3.17";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.13.tgz";
|
||||
sha512 = "o1xbKhp9qnIAoHJSWd6KlCZfqslL4valSF81H8ImioOAxluWYWOpWkpyktY2vnt4tbrX9XYaxovq6cgowaJp2w==";
|
||||
url = "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz";
|
||||
sha512 = "MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g==";
|
||||
};
|
||||
};
|
||||
"@leichtgewicht/ip-codec-2.0.3" = {
|
||||
|
@ -1795,13 +1804,13 @@ let
|
|||
sha512 = "DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==";
|
||||
};
|
||||
};
|
||||
"axios-1.2.6" = {
|
||||
"axios-1.3.4" = {
|
||||
name = "axios";
|
||||
packageName = "axios";
|
||||
version = "1.2.6";
|
||||
version = "1.3.4";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/axios/-/axios-1.2.6.tgz";
|
||||
sha512 = "rC/7F08XxZwjMV4iuWv+JpD3E0Ksqg9nac4IIg6RwNuF0JTeWoCo/mBNG54+tNhhI11G3/VDRbdDQTs9hGp4pQ==";
|
||||
url = "https://registry.npmjs.org/axios/-/axios-1.3.4.tgz";
|
||||
sha512 = "toYm+Bsyl6VC5wSkfkbbNB6ROv7KY93PEBBL6xyDczaIHasAiv4wPqQ/c4RjoQzipxRD2W5g21cOqQulZ7rHwQ==";
|
||||
};
|
||||
};
|
||||
"babel-loader-9.1.2" = {
|
||||
|
@ -2740,13 +2749,13 @@ let
|
|||
sha512 = "TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==";
|
||||
};
|
||||
};
|
||||
"eslint-8.33.0" = {
|
||||
"eslint-8.34.0" = {
|
||||
name = "eslint";
|
||||
packageName = "eslint";
|
||||
version = "8.33.0";
|
||||
version = "8.34.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/eslint/-/eslint-8.33.0.tgz";
|
||||
sha512 = "WjOpFQgKK8VrCnAtl8We0SUOy/oVZ5NHykyMiagV1M9r8IFpIJX7DduK6n1mpfhlG7T1NLWm2SuD8QB7KFySaA==";
|
||||
url = "https://registry.npmjs.org/eslint/-/eslint-8.34.0.tgz";
|
||||
sha512 = "1Z8iFsucw+7kSqXNZVslXS8Ioa4u2KM7GPwuKtkTFAqZ/cHMcEaR+1+Br0wLlot49cNxIiZk5wp8EAbPcYZxTg==";
|
||||
};
|
||||
};
|
||||
"eslint-config-airbnb-base-15.0.0" = {
|
||||
|
@ -5386,13 +5395,13 @@ let
|
|||
sha512 = "YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==";
|
||||
};
|
||||
};
|
||||
"sass-1.57.1" = {
|
||||
"sass-1.58.3" = {
|
||||
name = "sass";
|
||||
packageName = "sass";
|
||||
version = "1.57.1";
|
||||
version = "1.58.3";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/sass/-/sass-1.57.1.tgz";
|
||||
sha512 = "O2+LwLS79op7GI0xZ8fqzF7X2m/m8WFfI02dHOdsK5R2ECeS5F62zrwg/relM1rjSLy7Vd/DiMNIvPrQGsA0jw==";
|
||||
url = "https://registry.npmjs.org/sass/-/sass-1.58.3.tgz";
|
||||
sha512 = "Q7RaEtYf6BflYrQ+buPudKR26/lH+10EmO9bBqbmPh/KeLqv8bjpTNqxe71ocONqXq+jYiCbpPUmQMS+JJPk4A==";
|
||||
};
|
||||
};
|
||||
"sass-loader-13.2.0" = {
|
||||
|
@ -6205,13 +6214,13 @@ let
|
|||
sha512 = "piaIaoVJlqMsPtX/+3KTTO6jfvrSYgauFVdt8cr9LTHKmcq/AMd4mhzsiP7ZF/PGRNPGA8336jldh9l2Kt2ogQ==";
|
||||
};
|
||||
};
|
||||
"webpack-bundle-analyzer-4.7.0" = {
|
||||
"webpack-bundle-analyzer-4.8.0" = {
|
||||
name = "webpack-bundle-analyzer";
|
||||
packageName = "webpack-bundle-analyzer";
|
||||
version = "4.7.0";
|
||||
version = "4.8.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/webpack-bundle-analyzer/-/webpack-bundle-analyzer-4.7.0.tgz";
|
||||
sha512 = "j9b8ynpJS4K+zfO5GGwsAcQX4ZHpWV+yRiHDiL+bE0XHJ8NiPYLTNVQdlFYWxtpg9lfAQNlwJg16J9AJtFSXRg==";
|
||||
url = "https://registry.npmjs.org/webpack-bundle-analyzer/-/webpack-bundle-analyzer-4.8.0.tgz";
|
||||
sha512 = "ZzoSBePshOKhr+hd8u6oCkZVwpVaXgpw23ScGLFpR6SjYI7+7iIWYarjN6OEYOfRt8o7ZyZZQk0DuMizJ+LEIg==";
|
||||
};
|
||||
};
|
||||
"webpack-cli-4.10.0" = {
|
||||
|
@ -6410,10 +6419,14 @@ let
|
|||
version = "0.0.0";
|
||||
src = ./.;
|
||||
dependencies = [
|
||||
sources."@ampproject/remapping-2.1.1"
|
||||
(sources."@ampproject/remapping-2.2.0" // {
|
||||
dependencies = [
|
||||
sources."@jridgewell/gen-mapping-0.1.1"
|
||||
];
|
||||
})
|
||||
sources."@babel/code-frame-7.18.6"
|
||||
sources."@babel/compat-data-7.20.5"
|
||||
(sources."@babel/core-7.20.12" // {
|
||||
(sources."@babel/core-7.21.0" // {
|
||||
dependencies = [
|
||||
sources."debug-4.3.4"
|
||||
sources."json5-2.2.3"
|
||||
|
@ -6427,7 +6440,7 @@ let
|
|||
sources."semver-6.3.0"
|
||||
];
|
||||
})
|
||||
sources."@babel/generator-7.20.7"
|
||||
sources."@babel/generator-7.21.0"
|
||||
sources."@babel/helper-annotate-as-pure-7.18.6"
|
||||
sources."@babel/helper-builder-binary-assignment-operator-visitor-7.18.6"
|
||||
(sources."@babel/helper-compilation-targets-7.20.7" // {
|
||||
|
@ -6448,11 +6461,11 @@ let
|
|||
})
|
||||
sources."@babel/helper-environment-visitor-7.18.9"
|
||||
sources."@babel/helper-explode-assignable-expression-7.18.6"
|
||||
sources."@babel/helper-function-name-7.19.0"
|
||||
sources."@babel/helper-function-name-7.21.0"
|
||||
sources."@babel/helper-hoist-variables-7.18.6"
|
||||
sources."@babel/helper-member-expression-to-functions-7.18.9"
|
||||
sources."@babel/helper-module-imports-7.18.6"
|
||||
sources."@babel/helper-module-transforms-7.20.11"
|
||||
sources."@babel/helper-module-transforms-7.21.0"
|
||||
sources."@babel/helper-optimise-call-expression-7.18.6"
|
||||
sources."@babel/helper-plugin-utils-7.20.2"
|
||||
sources."@babel/helper-remap-async-to-generator-7.18.9"
|
||||
|
@ -6464,9 +6477,9 @@ let
|
|||
sources."@babel/helper-validator-identifier-7.19.1"
|
||||
sources."@babel/helper-validator-option-7.18.6"
|
||||
sources."@babel/helper-wrap-function-7.18.10"
|
||||
sources."@babel/helpers-7.20.7"
|
||||
sources."@babel/helpers-7.21.0"
|
||||
sources."@babel/highlight-7.18.6"
|
||||
sources."@babel/parser-7.20.7"
|
||||
sources."@babel/parser-7.21.0"
|
||||
sources."@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.18.6"
|
||||
sources."@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.18.9"
|
||||
sources."@babel/plugin-proposal-async-generator-functions-7.20.1"
|
||||
|
@ -6539,14 +6552,14 @@ let
|
|||
sources."@babel/preset-modules-0.1.5"
|
||||
sources."@babel/runtime-7.14.6"
|
||||
sources."@babel/template-7.20.7"
|
||||
(sources."@babel/traverse-7.20.12" // {
|
||||
(sources."@babel/traverse-7.21.0" // {
|
||||
dependencies = [
|
||||
sources."debug-4.3.3"
|
||||
sources."ms-2.1.2"
|
||||
];
|
||||
})
|
||||
sources."@babel/types-7.20.7"
|
||||
sources."@discoveryjs/json-ext-0.5.5"
|
||||
sources."@babel/types-7.21.0"
|
||||
sources."@discoveryjs/json-ext-0.5.7"
|
||||
(sources."@eslint/eslintrc-1.4.1" // {
|
||||
dependencies = [
|
||||
sources."debug-4.3.3"
|
||||
|
@ -6554,10 +6567,10 @@ let
|
|||
sources."ms-2.1.2"
|
||||
];
|
||||
})
|
||||
sources."@fortawesome/fontawesome-common-types-6.2.1"
|
||||
sources."@fortawesome/fontawesome-svg-core-6.2.1"
|
||||
sources."@fortawesome/free-brands-svg-icons-6.2.1"
|
||||
sources."@fortawesome/free-solid-svg-icons-6.2.1"
|
||||
sources."@fortawesome/fontawesome-common-types-6.3.0"
|
||||
sources."@fortawesome/fontawesome-svg-core-6.3.0"
|
||||
sources."@fortawesome/free-brands-svg-icons-6.3.0"
|
||||
sources."@fortawesome/free-solid-svg-icons-6.3.0"
|
||||
sources."@fortawesome/vue-fontawesome-2.0.10"
|
||||
(sources."@humanwhocodes/config-array-0.11.8" // {
|
||||
dependencies = [
|
||||
|
@ -6568,10 +6581,10 @@ let
|
|||
sources."@humanwhocodes/module-importer-1.0.1"
|
||||
sources."@humanwhocodes/object-schema-1.2.1"
|
||||
sources."@jridgewell/gen-mapping-0.3.2"
|
||||
sources."@jridgewell/resolve-uri-3.0.5"
|
||||
sources."@jridgewell/resolve-uri-3.1.0"
|
||||
sources."@jridgewell/set-array-1.1.2"
|
||||
sources."@jridgewell/sourcemap-codec-1.4.11"
|
||||
sources."@jridgewell/trace-mapping-0.3.13"
|
||||
sources."@jridgewell/sourcemap-codec-1.4.14"
|
||||
sources."@jridgewell/trace-mapping-0.3.17"
|
||||
sources."@leichtgewicht/ip-codec-2.0.3"
|
||||
sources."@nicolo-ribaudo/eslint-scope-5-internals-5.1.1-v1"
|
||||
sources."@nodelib/fs.scandir-2.1.5"
|
||||
|
@ -6655,7 +6668,7 @@ let
|
|||
sources."array.prototype.flatmap-1.3.1"
|
||||
sources."asynckit-0.4.0"
|
||||
sources."available-typed-arrays-1.0.5"
|
||||
sources."axios-1.2.6"
|
||||
sources."axios-1.3.4"
|
||||
(sources."babel-loader-9.1.2" // {
|
||||
dependencies = [
|
||||
sources."ajv-8.12.0"
|
||||
|
@ -6790,7 +6803,7 @@ let
|
|||
sources."escalade-3.1.1"
|
||||
sources."escape-html-1.0.3"
|
||||
sources."escape-string-regexp-1.0.5"
|
||||
(sources."eslint-8.33.0" // {
|
||||
(sources."eslint-8.34.0" // {
|
||||
dependencies = [
|
||||
sources."ansi-styles-4.3.0"
|
||||
sources."chalk-4.1.2"
|
||||
|
@ -7186,7 +7199,7 @@ let
|
|||
sources."safe-buffer-5.1.2"
|
||||
sources."safe-regex-test-1.0.0"
|
||||
sources."safer-buffer-2.1.2"
|
||||
sources."sass-1.57.1"
|
||||
sources."sass-1.58.3"
|
||||
sources."sass-loader-13.2.0"
|
||||
sources."schema-utils-3.1.1"
|
||||
sources."select-hose-2.0.0"
|
||||
|
@ -7318,7 +7331,7 @@ let
|
|||
sources."watchpack-2.4.0"
|
||||
sources."wbuf-1.7.3"
|
||||
sources."webpack-5.75.0"
|
||||
(sources."webpack-bundle-analyzer-4.7.0" // {
|
||||
(sources."webpack-bundle-analyzer-4.8.0" // {
|
||||
dependencies = [
|
||||
sources."ansi-styles-4.3.0"
|
||||
sources."chalk-4.1.2"
|
||||
|
|
|
@ -3,13 +3,13 @@
|
|||
|
||||
mkDerivation rec {
|
||||
pname = "AusweisApp2";
|
||||
version = "1.26.2";
|
||||
version = "1.26.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Governikus";
|
||||
repo = "AusweisApp2";
|
||||
rev = version;
|
||||
hash = "sha256-jN4xKgdNO+LyDy+ySM13M5YCaijDq8zAxS+x4Io1ThE=";
|
||||
hash = "sha256-YI9/rMoe5Waw2e/tObvu+wi9dkmhEoG9v3ZQzkn4QH4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
|
|
|
@ -95,6 +95,9 @@ stdenv.mkDerivation rec {
|
|||
cmakeFlags =
|
||||
[
|
||||
"-DWITH_ALEMBIC=ON"
|
||||
# Blender supplies its own FindAlembic.cmake (incompatible with the Alembic-supplied config file)
|
||||
"-DALEMBIC_INCLUDE_DIR=${lib.getDev alembic}/include"
|
||||
"-DALEMBIC_LIBRARY=${lib.getLib alembic}/lib/libAlembic.so"
|
||||
"-DWITH_MOD_OCEANSIM=ON"
|
||||
"-DWITH_CODEC_FFMPEG=ON"
|
||||
"-DWITH_CODEC_SNDFILE=ON"
|
||||
|
|
42
pkgs/applications/misc/hue-plus/default.nix
Normal file
42
pkgs/applications/misc/hue-plus/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{ python3Packages
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, wrapQtAppsHook
|
||||
, qtbase }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "hue-plus";
|
||||
version = "1.4.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kusti8";
|
||||
repo = pname;
|
||||
rev = "7ce7c4603c6d0ab1da29b0d4080aa05f57bd1760";
|
||||
sha256 = "sha256-dDIJXhB3rmKnawOYJHE7WK38b0M5722zA+yLgpEjDyI=";
|
||||
};
|
||||
|
||||
buildInputs = [ qtbase ];
|
||||
|
||||
nativeBuildInputs = [ wrapQtAppsHook ];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
pyserial pyqt5 pyaudio appdirs setuptools
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
dontWrapQtApps = true;
|
||||
|
||||
makeWrapperArgs = [
|
||||
"\${qtWrapperArgs[@]}"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/kusti8/hue-plus";
|
||||
description = "A Windows and Linux driver in Python for the NZXT Hue+";
|
||||
longDescription = ''
|
||||
A cross-platform driver in Python for the NZXT Hue+. Supports all functionality except FPS, CPU, and GPU lighting.
|
||||
'';
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ garaiza-93 ];
|
||||
};
|
||||
}
|
|
@ -9,14 +9,14 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "process-viewer";
|
||||
version = "0.5.6";
|
||||
version = "0.5.8";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-ELASfcXNhUCE/mhPKBHA78liFMbcT9RB/aoLt4ZRPa0=";
|
||||
sha256 = "sha256-mEmtLCtHlrCurjKKJ3vEtEkLBik4LwuUED5UeQ1QLws=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-K2kyZwKRALh9ImPngijgpoHyLS+c5sDYviN74JxhJLM=";
|
||||
cargoSha256 = "sha256-lgVByl+mpCDbhwlC1Eiw9ZkHIDYJsOR06Ds790pXOMc=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
|
|
|
@ -90,11 +90,11 @@ in
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "brave";
|
||||
version = "1.48.171";
|
||||
version = "1.49.120";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb";
|
||||
sha256 = "sha256-3dFOBl+Iomn8NnCYZ2owrTPQlqqj4LFdtnN4IXhbRps=";
|
||||
sha256 = "sha256-KSu6HaNKc7uVY1rSyzU+VZSE2dbIOOrsUx1RYKnz8yU=";
|
||||
};
|
||||
|
||||
dontConfigure = true;
|
||||
|
|
|
@ -17,13 +17,13 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "lagrange";
|
||||
version = "1.15.3";
|
||||
version = "1.15.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "skyjake";
|
||||
repo = "lagrange";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-BKDN2DtLoG+E+R+yBSBpF4PWv+pRLNYZvX/3BqEIxVQ=";
|
||||
hash = "sha256-l69h0+yMX4vzQ1GYB1AqhZc1ztMKF/7PthxEDarizek=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config zip ];
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub, fetchzip, installShellFiles, stdenv }:
|
||||
|
||||
let
|
||||
version = "0.40.2";
|
||||
sha256 = "00rzd9i9dd13wsr2f8y6b7q5zphrfx3bgigfinmzcfdinydv3bm4";
|
||||
manifestsSha256 = "05bkqkhyb3mgd68w2zr9bav6dfibfzfw65anzkz269wqrkf0d86k";
|
||||
version = "0.41.0";
|
||||
sha256 = "1xqgscmzq96jdlvwmckpz2zh7gsdla77xir6a6nylz509wkv3gid";
|
||||
manifestsSha256 = "03azig0axa6d5yapzr36ziza1jsy549sqnna6ja6xa2zl0ljx33n";
|
||||
|
||||
manifests = fetchzip {
|
||||
url =
|
||||
|
@ -23,7 +23,7 @@ in buildGoModule rec {
|
|||
inherit sha256;
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-crFBOWRjgFIm4mrX3Sf9ovodG5t8hhJUbMr2qpIt7LQ=";
|
||||
vendorSha256 = "sha256-nQzpJX1B1zXpW27YtzkAYK2vL7rnWPgAtlZlZqdV5QI=";
|
||||
|
||||
postUnpack = ''
|
||||
cp -r ${manifests} source/cmd/flux/manifests
|
||||
|
|
40
pkgs/applications/networking/cluster/openlens/default.nix
Normal file
40
pkgs/applications/networking/cluster/openlens/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ lib, fetchurl, appimageTools, wrapGAppsHook }:
|
||||
|
||||
let
|
||||
pname = "openlens";
|
||||
version = "6.4.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/MuhammedKalkan/OpenLens/releases/download/v${version}/OpenLens-${version}.x86_64.AppImage";
|
||||
sha256 = "sha256-Lwl4unhXSyYCEImiPncAnmIQt26CD4horsREMyi6nuA=";
|
||||
};
|
||||
|
||||
appimageContents = appimageTools.extractType2 {
|
||||
inherit pname version src;
|
||||
};
|
||||
|
||||
in
|
||||
appimageTools.wrapType2 {
|
||||
inherit pname version src;
|
||||
unshareIpc = false;
|
||||
|
||||
extraInstallCommands = ''
|
||||
mv $out/bin/${pname}-${version} $out/bin/${pname}
|
||||
|
||||
install -m 444 -D ${appimageContents}/open-lens.desktop $out/share/applications/${pname}.desktop
|
||||
install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/512x512/apps/open-lens.png \
|
||||
$out/share/icons/hicolor/512x512/apps/${pname}.png
|
||||
|
||||
substituteInPlace $out/share/applications/${pname}.desktop \
|
||||
--replace 'Icon=open-lens' 'Icon=${pname}' \
|
||||
--replace 'Exec=AppRun' 'Exec=${pname}'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "The Kubernetes IDE";
|
||||
homepage = "https://github.com/MuhammedKalkan/OpenLens";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ benwbooth sebtm ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
|
@ -110,13 +110,13 @@
|
|||
"vendorHash": null
|
||||
},
|
||||
"aws": {
|
||||
"hash": "sha256-ouS+0fLs4Zo17ZIqsd7CiYUKQMSNtuwVs3qdZ52qbns=",
|
||||
"hash": "sha256-dOcsD5yJrn+zpX5F0ImIqD9d+iC228Wem/668RtsQNY=",
|
||||
"homepage": "https://registry.terraform.io/providers/hashicorp/aws",
|
||||
"owner": "hashicorp",
|
||||
"repo": "terraform-provider-aws",
|
||||
"rev": "v4.57.1",
|
||||
"rev": "v4.58.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-X4fgw0AJMDDsRuS9MlMu+pnnjxJ33P9QXnpqDXfvfuA="
|
||||
"vendorHash": "sha256-nNQmiPBkIuQSBGDujMZI+dZMwv6xQcd8+nc1cMKrJws="
|
||||
},
|
||||
"azuread": {
|
||||
"hash": "sha256-MGCGfocs16qmJnvMRRD7TRHnPkS17h+oNUkMARAQhLs=",
|
||||
|
@ -382,11 +382,11 @@
|
|||
"vendorHash": "sha256-E1gzdES/YVxQq2J47E2zosvud2C/ViBeQ8+RfNHMBAg="
|
||||
},
|
||||
"fastly": {
|
||||
"hash": "sha256-OODPVNHFW8hnpofWLvzn7qukngB8okZADYI5t9muHpQ=",
|
||||
"hash": "sha256-XvDsL2N/S7DE+9ks8Y6ZY3hcogzUsiF7VymNK7NnmaI=",
|
||||
"homepage": "https://registry.terraform.io/providers/fastly/fastly",
|
||||
"owner": "fastly",
|
||||
"repo": "terraform-provider-fastly",
|
||||
"rev": "v3.2.0",
|
||||
"rev": "v4.0.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": null
|
||||
},
|
||||
|
@ -467,13 +467,13 @@
|
|||
"vendorHash": "sha256-fqVBnAivVekV+4tpkl+E6eNA3wi8mhLevJRCs3W7L2g="
|
||||
},
|
||||
"grafana": {
|
||||
"hash": "sha256-4K0Pk7tgnOjFdHpe6SZNSt/wU8OBzdB/y99nibW5bAY=",
|
||||
"hash": "sha256-b6vmtr2eHm7YNhRHS96+l6BLHYHgixR8Pw7/jK0tRPI=",
|
||||
"homepage": "https://registry.terraform.io/providers/grafana/grafana",
|
||||
"owner": "grafana",
|
||||
"repo": "terraform-provider-grafana",
|
||||
"rev": "v1.35.0",
|
||||
"rev": "v1.36.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-oSpAq2834Nt+E8l64YhvuXdfUsoTU5rBr2I8+Yz9tkc="
|
||||
"vendorHash": "sha256-zPO+TbJsFrgfjSaSrX5YRop/0LDDw/grNNntaIGiBU0="
|
||||
},
|
||||
"gridscale": {
|
||||
"hash": "sha256-ahYCrjrJPEItGyqbHYtgkIH/RzMyxBQkebSAyd8gwYo=",
|
||||
|
@ -765,13 +765,13 @@
|
|||
"vendorHash": null
|
||||
},
|
||||
"newrelic": {
|
||||
"hash": "sha256-ReVP0droWSP+NWV0kQznfCllL/jx0uQKmaGr+CyR8iQ=",
|
||||
"hash": "sha256-bf4t4xcA/K4atLyDVzkeLw5zm9sBz/dUBiivVaz4hNU=",
|
||||
"homepage": "https://registry.terraform.io/providers/newrelic/newrelic",
|
||||
"owner": "newrelic",
|
||||
"repo": "terraform-provider-newrelic",
|
||||
"rev": "v3.15.0",
|
||||
"rev": "v3.16.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-aFjsUhdGboN8Hfu2ky6djG0hC/Z9MU2tOWDFXekOGNQ="
|
||||
"vendorHash": "sha256-yF2yk85RLbvmULakODOV2V0Z9dzKfLClUSZTnECdO3o="
|
||||
},
|
||||
"nomad": {
|
||||
"hash": "sha256-oHY+jM4JQgLlE1wd+/H9H8H2g0e9ZuxI6OMlz3Izfjg=",
|
||||
|
@ -856,11 +856,11 @@
|
|||
"vendorHash": "sha256-aoJDRzackPjWxkrsQclweUFH3Bqdcj1aTJuTHZ7Dh7g="
|
||||
},
|
||||
"opentelekomcloud": {
|
||||
"hash": "sha256-UIpzv5Tas5jxpaqg1n0KRoJhYj6vRE6DBQ2u701xgzU=",
|
||||
"hash": "sha256-fkEQ4VWGJiPFTA6Wz8AxAiL4DOW+Kewl8T9ywy/yPME=",
|
||||
"homepage": "https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud",
|
||||
"owner": "opentelekomcloud",
|
||||
"repo": "terraform-provider-opentelekomcloud",
|
||||
"rev": "v1.33.1",
|
||||
"rev": "v1.33.2",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-EbUHKM6fKEZk1ey4qTgAd/20OKJu0DoBF0MAOxB7y64="
|
||||
},
|
||||
|
@ -883,11 +883,11 @@
|
|||
"vendorHash": null
|
||||
},
|
||||
"pagerduty": {
|
||||
"hash": "sha256-uicfk05Y8p4jQLG+Z8Cd2kI8rToI++13lsg0JUsm7Ew=",
|
||||
"hash": "sha256-9aIYGmcbDgSZqtldLBMRjD0qKJZ3USuwNBpK3bvGrFY=",
|
||||
"homepage": "https://registry.terraform.io/providers/PagerDuty/pagerduty",
|
||||
"owner": "PagerDuty",
|
||||
"repo": "terraform-provider-pagerduty",
|
||||
"rev": "v2.11.0",
|
||||
"rev": "v2.11.1",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": null
|
||||
},
|
||||
|
@ -1045,11 +1045,11 @@
|
|||
"vendorHash": "sha256-NO1r/EWLgH1Gogru+qPeZ4sW7FuDENxzNnpLSKstnE8="
|
||||
},
|
||||
"spotinst": {
|
||||
"hash": "sha256-OroABl6G5nCatoyPxHZkM9I7qidxwMlgFjWC9Ljshik=",
|
||||
"hash": "sha256-a/WXuEIvFsbYGoIDT0vHNM1LoFs7VlqmGXHDszON/rU=",
|
||||
"homepage": "https://registry.terraform.io/providers/spotinst/spotinst",
|
||||
"owner": "spotinst",
|
||||
"repo": "terraform-provider-spotinst",
|
||||
"rev": "v1.104.0",
|
||||
"rev": "v1.105.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-juso8uzTjqf/vxUmpiv/07WkqMJRS1CqHQhu6pHf7QY="
|
||||
},
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "dnscontrol";
|
||||
version = "3.27.1";
|
||||
version = "3.27.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "StackExchange";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-WXYmV4QE0OPv1reYX+YrmqGdnRUDHXBt60NIUDLTDLk=";
|
||||
sha256 = "sha256-2U5DlXnW+mCxGfdjikeMm+k+KyxDwjXmjGrH3uq4lJo=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-FxKmFDx5ckLm8uJB9ouYSwjX+Pu20In6ertGzhhlEwA=";
|
||||
vendorHash = "sha256-h0n0dR1iqeVEFvcDeMlfBu7mlrSNloAih2ZhT3ML1FI=";
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
|
|
122
pkgs/applications/networking/geph/default.nix
Normal file
122
pkgs/applications/networking/geph/default.nix
Normal file
|
@ -0,0 +1,122 @@
|
|||
{ lib
|
||||
, stdenvNoCC
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, buildNpmPackage
|
||||
, perl
|
||||
, pkg-config
|
||||
, glib
|
||||
, webkitgtk
|
||||
, libappindicator-gtk3
|
||||
, libayatana-appindicator
|
||||
, cairo
|
||||
, openssl
|
||||
}:
|
||||
|
||||
let
|
||||
version = "4.7.8";
|
||||
geph-meta = with lib; {
|
||||
description = "A modular Internet censorship circumvention system designed specifically to deal with national filtering.";
|
||||
homepage = "https://geph.io";
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ penalty1083 ];
|
||||
};
|
||||
in
|
||||
{
|
||||
cli = rustPlatform.buildRustPackage rec {
|
||||
pname = "geph4-client";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "geph-official";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-DVGbLyFgraQMSIUAqDehF8DqbnvcaeWbuLVgiSQY3KE=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-uBq6rjUnKEscwhu60HEZffLvuXcArz+AiR52org+qKw=";
|
||||
|
||||
nativeBuildInputs = [ perl ];
|
||||
|
||||
meta = geph-meta // {
|
||||
license = with lib.licenses; [ gpl3Only ];
|
||||
};
|
||||
};
|
||||
|
||||
gui = stdenvNoCC.mkDerivation rec {
|
||||
pname = "geph-gui";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "geph-official";
|
||||
repo = "gephgui-pkg";
|
||||
rev = "85a55bfc2f4314d9c49608f252080696b1f8e2a9";
|
||||
hash = "sha256-id/sfaQsF480kUXg//O5rBIciuuhDuXY19FQe1E3OQs=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
gephgui = buildNpmPackage {
|
||||
pname = "gephgui";
|
||||
inherit version src;
|
||||
|
||||
sourceRoot = "source/gephgui-wry/gephgui";
|
||||
|
||||
postPatch = "ln -s ${./package-lock.json} ./package-lock.json";
|
||||
|
||||
npmDepsHash = "sha256-5y6zpMF4M56DiWVhMvjJGsYpVdlJSoWoWyPgLc7hJoo=";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out
|
||||
mv dist $out
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
};
|
||||
|
||||
gephgui-wry = rustPlatform.buildRustPackage rec {
|
||||
pname = "gephgui-wry";
|
||||
inherit version src;
|
||||
|
||||
sourceRoot = "source/gephgui-wry";
|
||||
|
||||
cargoHash = "sha256-lidlUUfHXKPUlICdaVv/SFlyyWsZ7cYHyTJ3kkMn3L4=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
webkitgtk
|
||||
libappindicator-gtk3
|
||||
libayatana-appindicator
|
||||
cairo
|
||||
openssl
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
ln -s ${gephgui}/dist ./gephgui
|
||||
'';
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
install -Dt $out/bin ${gephgui-wry}/bin/gephgui-wry
|
||||
install -d $out/share/icons/hicolor
|
||||
for i in '16' '32' '64' '128' '256'
|
||||
do
|
||||
name=''${i}x''${i}
|
||||
dir=$out/share/icons/hicolor
|
||||
mkdir -p $dir
|
||||
mv flatpak/icons/$name $dir
|
||||
done
|
||||
install -Dt $out/share/applications flatpak/icons/io.geph.GephGui.desktop
|
||||
sed -i -e '/StartupWMClass/s/=.*/=gephgui-wry/' $out/share/applications/io.geph.GephGui.desktop
|
||||
'';
|
||||
|
||||
meta = geph-meta // {
|
||||
license = with lib.licenses; [ unfree ];
|
||||
};
|
||||
};
|
||||
}
|
3658
pkgs/applications/networking/geph/package-lock.json
generated
Normal file
3658
pkgs/applications/networking/geph/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
|
@ -19,25 +19,25 @@
|
|||
}:
|
||||
|
||||
let
|
||||
pinData = lib.importJSON ./pin.json;
|
||||
pinData = import ./pin.nix;
|
||||
inherit (pinData.hashes) desktopSrcHash desktopYarnHash;
|
||||
executableName = "element-desktop";
|
||||
keytar = callPackage ./keytar { inherit Security AppKit; };
|
||||
seshat = callPackage ./seshat { inherit CoreServices; };
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: builtins.removeAttrs pinData [ "hashes" ] // {
|
||||
pname = "element-desktop";
|
||||
inherit (pinData) version;
|
||||
name = "${pname}-${version}";
|
||||
name = "${finalAttrs.pname}-${finalAttrs.version}";
|
||||
src = fetchFromGitHub {
|
||||
owner = "vector-im";
|
||||
repo = "element-desktop";
|
||||
rev = "v${version}";
|
||||
sha256 = pinData.desktopSrcHash;
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = desktopSrcHash;
|
||||
};
|
||||
|
||||
offlineCache = fetchYarnDeps {
|
||||
yarnLock = src + "/yarn.lock";
|
||||
sha256 = pinData.desktopYarnHash;
|
||||
yarnLock = finalAttrs.src + "/yarn.lock";
|
||||
sha256 = desktopYarnHash;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ yarn fixup_yarn_lock nodejs makeWrapper ]
|
||||
|
@ -97,7 +97,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
# desktop item
|
||||
mkdir -p "$out/share"
|
||||
ln -s "${desktopItem}/share/applications" "$out/share/applications"
|
||||
ln -s "${finalAttrs.desktopItem}/share/applications" "$out/share/applications"
|
||||
|
||||
# executable wrapper
|
||||
# LD_PRELOAD workaround for sqlcipher not found: https://github.com/matrix-org/seshat/issues/102
|
||||
|
@ -117,7 +117,7 @@ stdenv.mkDerivation rec {
|
|||
icon = "element";
|
||||
desktopName = "Element";
|
||||
genericName = "Matrix Client";
|
||||
comment = meta.description;
|
||||
comment = finalAttrs.meta.description;
|
||||
categories = [ "Network" "InstantMessaging" "Chat" ];
|
||||
startupWMClass = "element";
|
||||
mimeTypes = [ "x-scheme-handler/element" ];
|
||||
|
@ -141,9 +141,9 @@ stdenv.mkDerivation rec {
|
|||
meta = with lib; {
|
||||
description = "A feature-rich client for Matrix.org";
|
||||
homepage = "https://element.io/";
|
||||
changelog = "https://github.com/vector-im/element-desktop/blob/v${version}/CHANGELOG.md";
|
||||
changelog = "https://github.com/vector-im/element-desktop/blob/v${finalAttrs.version}/CHANGELOG.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.matrix.members;
|
||||
inherit (electron.meta) platforms;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
@ -12,25 +12,25 @@
|
|||
}:
|
||||
|
||||
let
|
||||
pinData = lib.importJSON ./pin.json;
|
||||
pinData = import ./pin.nix;
|
||||
inherit (pinData.hashes) webSrcHash webYarnHash;
|
||||
noPhoningHome = {
|
||||
disable_guests = true; # disable automatic guest account registration at matrix.org
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: builtins.removeAttrs pinData [ "hashes" ] // {
|
||||
pname = "element-web";
|
||||
inherit (pinData) version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vector-im";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = pinData.webSrcHash;
|
||||
repo = finalAttrs.pname;
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = webSrcHash;
|
||||
};
|
||||
|
||||
offlineCache = fetchYarnDeps {
|
||||
yarnLock = src + "/yarn.lock";
|
||||
sha256 = pinData.webYarnHash;
|
||||
yarnLock = finalAttrs.src + "/yarn.lock";
|
||||
sha256 = webYarnHash;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ yarn fixup_yarn_lock jq nodejs ];
|
||||
|
@ -57,7 +57,7 @@ stdenv.mkDerivation rec {
|
|||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
export VERSION=${version}
|
||||
export VERSION=${finalAttrs.version}
|
||||
yarn build:res --offline
|
||||
yarn build:module_system --offline
|
||||
yarn build:bundle --offline
|
||||
|
@ -70,7 +70,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
cp -R webapp $out
|
||||
cp ${jitsi-meet}/libs/external_api.min.js $out/jitsi_external_api.min.js
|
||||
echo "${version}" > "$out/version"
|
||||
echo "${finalAttrs.version}" > "$out/version"
|
||||
jq -s '.[0] * $conf' "config.sample.json" --argjson "conf" '${builtins.toJSON noPhoningHome}' > "$out/config.json"
|
||||
|
||||
runHook postInstall
|
||||
|
@ -79,9 +79,9 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "A glossy Matrix collaboration client for the web";
|
||||
homepage = "https://element.io/";
|
||||
changelog = "https://github.com/vector-im/element-web/blob/v${version}/CHANGELOG.md";
|
||||
changelog = "https://github.com/vector-im/element-web/blob/v${finalAttrs.version}/CHANGELOG.md";
|
||||
maintainers = lib.teams.matrix.members;
|
||||
license = lib.licenses.asl20;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
"version": "1.11.24",
|
||||
"desktopSrcHash": "eAcJwoifIg0yCcYyeueVOL6CeGVMwmHpbr58MOUpK9I=",
|
||||
"desktopYarnHash": "175ln40xp4djzc9wrx2vfg6did4rxy7nyxm6vs95pcbpv1i84g97",
|
||||
"webSrcHash": "45xyfflTGA9LQxKi2WghYdDN0+R4ntjIPONnm+CJ5Dk=",
|
||||
"webYarnHash": "1rwlx73chgq7x4zki9w4y3br8ypvk37vi6agqhk2dvq6y4znr93y"
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"version" = "1.11.24";
|
||||
"hashes" = {
|
||||
"desktopSrcHash" = "eAcJwoifIg0yCcYyeueVOL6CeGVMwmHpbr58MOUpK9I=";
|
||||
"desktopYarnHash" = "175ln40xp4djzc9wrx2vfg6did4rxy7nyxm6vs95pcbpv1i84g97";
|
||||
"webSrcHash" = "45xyfflTGA9LQxKi2WghYdDN0+R4ntjIPONnm+CJ5Dk=";
|
||||
"webYarnHash" = "1rwlx73chgq7x4zki9w4y3br8ypvk37vi6agqhk2dvq6y4znr93y";
|
||||
};
|
||||
}
|
|
@ -42,12 +42,14 @@ wget "$desktop_src/yarn.lock"
|
|||
desktop_yarn_hash=$(prefetch-yarn-deps yarn.lock)
|
||||
popd
|
||||
|
||||
cat > pin.json << EOF
|
||||
cat > pin.nix << EOF
|
||||
{
|
||||
"version": "$version",
|
||||
"desktopSrcHash": "$desktop_src_hash",
|
||||
"desktopYarnHash": "$desktop_yarn_hash",
|
||||
"webSrcHash": "$web_src_hash",
|
||||
"webYarnHash": "$web_yarn_hash"
|
||||
"version" = "$version";
|
||||
"hashes" = {
|
||||
"desktopSrcHash" = "$desktop_src_hash";
|
||||
"desktopYarnHash" = "$desktop_yarn_hash";
|
||||
"webSrcHash" = "$web_src_hash";
|
||||
"webYarnHash" = "$web_yarn_hash";
|
||||
};
|
||||
}
|
||||
EOF
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{ callPackage }: builtins.mapAttrs (pname: attrs: callPackage ./generic.nix (attrs // { inherit pname; })) {
|
||||
signal-desktop = {
|
||||
dir = "Signal";
|
||||
version = "6.5.1";
|
||||
hash = "sha256-At4ILl6nHltP1TMI5cjK7gE4NENAccS4MPMHXJoGveM=";
|
||||
version = "6.7.0";
|
||||
hash = "sha256-njiVPTkzYdt7QZcpohXUI3hj/o+fO4/O0ZlQrq2oP6Y=";
|
||||
};
|
||||
signal-desktop-beta = {
|
||||
dir = "Signal Beta";
|
||||
version = "6.6.0-beta.1";
|
||||
hash = "sha256-txSvMg7Q+r9UWJMC9Rj2XQ8y1WN3xphMruvOZok/VPk=";
|
||||
version = "6.8.0-beta.1";
|
||||
hash = "sha256-akQmGxDW6SBQCRLU6TgfODP8ZjEPsvaBvrkdd+6DqKs=";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -4,16 +4,16 @@ let
|
|||
common = { stname, target, postInstall ? "" }:
|
||||
buildGoModule rec {
|
||||
pname = stname;
|
||||
version = "1.23.1";
|
||||
version = "1.23.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "syncthing";
|
||||
repo = "syncthing";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Jbg56Nn+5ZjIv1KZrThkqWY+P13MglLE78E6jc0rbY0=";
|
||||
hash = "sha256-EowUQYfSznTuAHV7OIesFPM99zRmeKkzYNp7VANtR2U=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-q63iaRxJRvPY0Np20O6JmdMEjSg/kxRneBfs8fRTwXk=";
|
||||
vendorHash = "sha256-5NgflkRXkbWiIkASmxIgWliE8sF89HtlMtlIF+5u6Ic=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
|
|
@ -157,6 +157,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
cmakeFlags = [
|
||||
"-Drpath=ON"
|
||||
"-DCMAKE_INSTALL_BINDIR=bin"
|
||||
"-DCMAKE_INSTALL_LIBDIR=lib"
|
||||
"-DCMAKE_INSTALL_INCLUDEDIR=include"
|
||||
"-Dbuiltin_llvm=OFF"
|
||||
"-Dbuiltin_nlohmannjson=OFF"
|
||||
"-Dbuiltin_openui5=OFF"
|
||||
|
|
|
@ -177,6 +177,14 @@ def update_gitaly():
|
|||
_call_nix_update('gitaly', gitaly_server_version)
|
||||
|
||||
|
||||
@cli.command('update-gitlab-pages')
|
||||
def update_gitlab_pages():
|
||||
"""Update gitlab-shell"""
|
||||
data = _get_data_json()
|
||||
gitlab_pages_version = data['passthru']['GITLAB_PAGES_VERSION']
|
||||
_call_nix_update('gitlab-pages', gitlab_pages_version)
|
||||
|
||||
|
||||
@cli.command('update-gitlab-shell')
|
||||
def update_gitlab_shell():
|
||||
"""Update gitlab-shell"""
|
||||
|
@ -201,6 +209,7 @@ def update_all(ctx, rev: str):
|
|||
ctx.invoke(update_data, rev=rev)
|
||||
ctx.invoke(update_rubyenv)
|
||||
ctx.invoke(update_gitaly)
|
||||
ctx.invoke(update_gitlab_pages)
|
||||
ctx.invoke(update_gitlab_shell)
|
||||
ctx.invoke(update_gitlab_workhorse)
|
||||
|
||||
|
|
|
@ -11,13 +11,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "media-downloader";
|
||||
version = "2.8.0";
|
||||
version = "2.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mhogomchungu";
|
||||
repo = pname;
|
||||
rev = "${version}";
|
||||
sha256 = "sha256-RMZG+rPbwJFL2AzEZlTrc8/bQCx8CWCWppEBjCj5hnU=";
|
||||
sha256 = "sha256-3tVOyIwdGcSVnEJWQWh6HIsjY6uEzWkTs45qf81r/+0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake qt5.wrapQtAppsHook ];
|
||||
|
|
|
@ -35,8 +35,7 @@
|
|||
let
|
||||
# do not add qemu to this wrapper, store paths get written to the podman vm config and break when GCed
|
||||
|
||||
binPath = lib.makeBinPath ([
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
binPath = lib.makeBinPath (lib.optionals stdenv.isLinux [
|
||||
runc
|
||||
crun
|
||||
conmon
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "sarasa-gothic";
|
||||
version = "0.40.1";
|
||||
version = "0.40.2";
|
||||
|
||||
src = fetchurl {
|
||||
# Use the 'ttc' files here for a smaller closure size.
|
||||
# (Using 'ttf' files gives a closure size about 15x larger, as of November 2021.)
|
||||
url = "https://github.com/be5invis/Sarasa-Gothic/releases/download/v${version}/sarasa-gothic-ttc-${version}.7z";
|
||||
hash = "sha256-cpgFOhmFSyJA2yhGCCud9jF3LEboiRKyfb3NPiRzJdQ=";
|
||||
hash = "sha256-ZarDttwwZzBb0+iBipVHZGLf1K3lQ7xvjMR6jE3hmh8=";
|
||||
};
|
||||
|
||||
sourceRoot = ".";
|
||||
|
|
|
@ -14,11 +14,11 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "julia";
|
||||
version = "1.9.0-beta4";
|
||||
version = "1.9.0-rc1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/JuliaLang/julia/releases/download/v${version}/julia-${version}-full.tar.gz";
|
||||
hash = "sha256-Ipfps2wxPV30nbOxDZ0K39jFB1lNz16aXgFhIKBOquM=";
|
||||
hash = "sha256-BjHuS1pP8S+iZndyGS8HiNzApr7xUYPRPRkX55DEy4Y=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
|
|
@ -32,7 +32,17 @@ let
|
|||
llvm_meta = {
|
||||
license = lib.licenses.ncsa;
|
||||
maintainers = lib.teams.llvm.members;
|
||||
platforms = lib.platforms.all;
|
||||
|
||||
# See llvm/cmake/config-ix.cmake.
|
||||
platforms =
|
||||
lib.platforms.aarch64 ++
|
||||
lib.platforms.arm ++
|
||||
lib.platforms.mips ++
|
||||
lib.platforms.power ++
|
||||
lib.platforms.riscv ++
|
||||
lib.platforms.s390x ++
|
||||
lib.platforms.wasi ++
|
||||
lib.platforms.x86;
|
||||
};
|
||||
|
||||
tools = lib.makeExtensible (tools: let
|
||||
|
|
|
@ -34,7 +34,17 @@ let
|
|||
llvm_meta = {
|
||||
license = lib.licenses.ncsa;
|
||||
maintainers = lib.teams.llvm.members;
|
||||
platforms = lib.platforms.all;
|
||||
|
||||
# See llvm/cmake/config-ix.cmake.
|
||||
platforms =
|
||||
lib.platforms.aarch64 ++
|
||||
lib.platforms.arm ++
|
||||
lib.platforms.mips ++
|
||||
lib.platforms.power ++
|
||||
lib.platforms.riscv ++
|
||||
lib.platforms.s390x ++
|
||||
lib.platforms.wasi ++
|
||||
lib.platforms.x86;
|
||||
};
|
||||
|
||||
tools = lib.makeExtensible (tools: let
|
||||
|
|
|
@ -35,7 +35,17 @@ let
|
|||
llvm_meta = {
|
||||
license = lib.licenses.ncsa;
|
||||
maintainers = lib.teams.llvm.members;
|
||||
platforms = lib.platforms.all;
|
||||
|
||||
# See llvm/cmake/config-ix.cmake.
|
||||
platforms =
|
||||
lib.platforms.aarch64 ++
|
||||
lib.platforms.arm ++
|
||||
lib.platforms.mips ++
|
||||
lib.platforms.power ++
|
||||
lib.platforms.riscv ++
|
||||
lib.platforms.s390x ++
|
||||
lib.platforms.wasi ++
|
||||
lib.platforms.x86;
|
||||
};
|
||||
|
||||
tools = lib.makeExtensible (tools: let
|
||||
|
|
|
@ -37,7 +37,17 @@ let
|
|||
llvm_meta = {
|
||||
license = lib.licenses.ncsa;
|
||||
maintainers = lib.teams.llvm.members;
|
||||
platforms = lib.platforms.all;
|
||||
|
||||
# See llvm/cmake/config-ix.cmake.
|
||||
platforms =
|
||||
lib.platforms.aarch64 ++
|
||||
lib.platforms.arm ++
|
||||
lib.platforms.mips ++
|
||||
lib.platforms.power ++
|
||||
lib.platforms.riscv ++
|
||||
lib.platforms.s390x ++
|
||||
lib.platforms.wasi ++
|
||||
lib.platforms.x86;
|
||||
};
|
||||
|
||||
tools = lib.makeExtensible (tools: let
|
||||
|
|
|
@ -37,7 +37,18 @@ let
|
|||
llvm_meta = {
|
||||
license = lib.licenses.ncsa;
|
||||
maintainers = lib.teams.llvm.members;
|
||||
platforms = lib.platforms.all;
|
||||
|
||||
# See llvm/cmake/config-ix.cmake.
|
||||
platforms =
|
||||
lib.platforms.aarch64 ++
|
||||
lib.platforms.arm ++
|
||||
lib.platforms.m68k ++
|
||||
lib.platforms.mips ++
|
||||
lib.platforms.power ++
|
||||
lib.platforms.riscv ++
|
||||
lib.platforms.s390x ++
|
||||
lib.platforms.wasi ++
|
||||
lib.platforms.x86;
|
||||
};
|
||||
|
||||
tools = lib.makeExtensible (tools: let
|
||||
|
|
|
@ -86,7 +86,18 @@ in let
|
|||
llvm_meta = {
|
||||
license = lib.licenses.ncsa;
|
||||
maintainers = lib.teams.llvm.members;
|
||||
platforms = lib.platforms.all;
|
||||
|
||||
# See llvm/cmake/config-ix.cmake.
|
||||
platforms =
|
||||
lib.platforms.aarch64 ++
|
||||
lib.platforms.arm ++
|
||||
lib.platforms.m68k ++
|
||||
lib.platforms.mips ++
|
||||
lib.platforms.power ++
|
||||
lib.platforms.riscv ++
|
||||
lib.platforms.s390x ++
|
||||
lib.platforms.wasi ++
|
||||
lib.platforms.x86;
|
||||
};
|
||||
|
||||
tools = lib.makeExtensible (tools: let
|
||||
|
|
|
@ -20,7 +20,16 @@ let
|
|||
llvm_meta = {
|
||||
license = lib.licenses.ncsa;
|
||||
maintainers = lib.teams.llvm.members;
|
||||
platforms = lib.platforms.all;
|
||||
|
||||
# See llvm/cmake/config-ix.cmake.
|
||||
platforms =
|
||||
lib.platforms.aarch64 ++
|
||||
lib.platforms.arm ++
|
||||
lib.platforms.mips ++
|
||||
lib.platforms.power ++
|
||||
lib.platforms.s390x ++
|
||||
lib.platforms.wasi ++
|
||||
lib.platforms.x86;
|
||||
};
|
||||
|
||||
tools = lib.makeExtensible (tools: let
|
||||
|
|
|
@ -20,7 +20,16 @@ let
|
|||
llvm_meta = {
|
||||
license = lib.licenses.ncsa;
|
||||
maintainers = lib.teams.llvm.members;
|
||||
platforms = lib.platforms.all;
|
||||
|
||||
# See llvm/cmake/config-ix.cmake.
|
||||
platforms =
|
||||
lib.platforms.aarch64 ++
|
||||
lib.platforms.arm ++
|
||||
lib.platforms.mips ++
|
||||
lib.platforms.power ++
|
||||
lib.platforms.s390x ++
|
||||
lib.platforms.wasi ++
|
||||
lib.platforms.x86;
|
||||
};
|
||||
|
||||
tools = lib.makeExtensible (tools: let
|
||||
|
|
|
@ -32,7 +32,17 @@ let
|
|||
llvm_meta = {
|
||||
license = lib.licenses.ncsa;
|
||||
maintainers = lib.teams.llvm.members;
|
||||
platforms = lib.platforms.all;
|
||||
|
||||
# See llvm/cmake/config-ix.cmake.
|
||||
platforms =
|
||||
lib.platforms.aarch64 ++
|
||||
lib.platforms.arm ++
|
||||
lib.platforms.mips ++
|
||||
lib.platforms.power ++
|
||||
lib.platforms.riscv ++
|
||||
lib.platforms.s390x ++
|
||||
lib.platforms.wasi ++
|
||||
lib.platforms.x86;
|
||||
};
|
||||
|
||||
tools = lib.makeExtensible (tools: let
|
||||
|
|
|
@ -32,7 +32,17 @@ let
|
|||
llvm_meta = {
|
||||
license = lib.licenses.ncsa;
|
||||
maintainers = lib.teams.llvm.members;
|
||||
platforms = lib.platforms.all;
|
||||
|
||||
# See llvm/cmake/config-ix.cmake.
|
||||
platforms =
|
||||
lib.platforms.aarch64 ++
|
||||
lib.platforms.arm ++
|
||||
lib.platforms.mips ++
|
||||
lib.platforms.power ++
|
||||
lib.platforms.riscv ++
|
||||
lib.platforms.s390x ++
|
||||
lib.platforms.wasi ++
|
||||
lib.platforms.x86;
|
||||
};
|
||||
|
||||
tools = lib.makeExtensible (tools: let
|
||||
|
|
|
@ -32,7 +32,17 @@ let
|
|||
llvm_meta = {
|
||||
license = lib.licenses.ncsa;
|
||||
maintainers = lib.teams.llvm.members;
|
||||
platforms = lib.platforms.all;
|
||||
|
||||
# See llvm/cmake/config-ix.cmake.
|
||||
platforms =
|
||||
lib.platforms.aarch64 ++
|
||||
lib.platforms.arm ++
|
||||
lib.platforms.mips ++
|
||||
lib.platforms.power ++
|
||||
lib.platforms.riscv ++
|
||||
lib.platforms.s390x ++
|
||||
lib.platforms.wasi ++
|
||||
lib.platforms.x86;
|
||||
};
|
||||
|
||||
tools = lib.makeExtensible (tools: let
|
||||
|
|
|
@ -36,7 +36,18 @@ let
|
|||
llvm_meta = {
|
||||
license = lib.licenses.ncsa;
|
||||
maintainers = lib.teams.llvm.members;
|
||||
platforms = lib.platforms.all;
|
||||
|
||||
# See llvm/cmake/config-ix.cmake.
|
||||
platforms =
|
||||
lib.platforms.aarch64 ++
|
||||
lib.platforms.arm ++
|
||||
lib.platforms.m68k ++
|
||||
lib.platforms.mips ++
|
||||
lib.platforms.power ++
|
||||
lib.platforms.riscv ++
|
||||
lib.platforms.s390x ++
|
||||
lib.platforms.wasi ++
|
||||
lib.platforms.x86;
|
||||
};
|
||||
|
||||
tools = lib.makeExtensible (tools: let
|
||||
|
|
|
@ -1,21 +1,28 @@
|
|||
{ lib, stdenv, fetchFromGitHub, makeBinaryWrapper
|
||||
, alsaLib, libX11, libXext, libGL, libGLU
|
||||
{ lib
|
||||
, stdenv
|
||||
, alsa-lib
|
||||
, fetchFromGitHub
|
||||
, libGL
|
||||
, libGLU
|
||||
, libX11
|
||||
, libXext
|
||||
, makeBinaryWrapper
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "minimacy";
|
||||
version = "0.6.2";
|
||||
version = "0.6.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ambermind";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "i0Z1UKApX+elHmFgujwjiF7k6OmtFF37HJim464OMfU=";
|
||||
hash = "sha256-qIK7QnXZ9FmfarMZaHktZCHhvR8cctyKVpFS8PeOpLs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeBinaryWrapper ];
|
||||
|
||||
buildInputs = [ libGL libGLU ] ++ lib.optionals stdenv.isLinux [ alsaLib libX11 libXext ];
|
||||
buildInputs = [ libGL libGLU ] ++ lib.optionals stdenv.isLinux [ alsa-lib libX11 libXext ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
|
|
@ -1,24 +1,39 @@
|
|||
{ lib, stdenv, fetchFromGitHub, fetchpatch, makeWrapper, pcre2, coreutils, which, openssl, libxml2, cmake, z3, substituteAll, python3,
|
||||
cc ? stdenv.cc, lto ? !stdenv.isDarwin }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, callPackage
|
||||
, cc ? stdenv.cc
|
||||
, cmake
|
||||
, coreutils
|
||||
, libxml2
|
||||
, lto ? !stdenv.isDarwin
|
||||
, makeWrapper
|
||||
, openssl
|
||||
, pcre2
|
||||
, pony-corral
|
||||
, python3
|
||||
, substituteAll
|
||||
, which
|
||||
, z3
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (rec {
|
||||
pname = "ponyc";
|
||||
version = "0.50.0";
|
||||
version = "0.54.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ponylang";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-FnzlFTiJrqoUfnys+q9is6OH9yit5ExDiRszQ679QbY=";
|
||||
|
||||
hash = "sha256-qFPubqGfK0WCun6QA1OveyDJj7Wf6SQpky7pEb7qsf4=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
ponygbenchmark = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "benchmark";
|
||||
rev = "v1.5.4";
|
||||
sha256 = "1dbjdjzkpbsq3jl9ksyg8mw759vkac8qzq1557m73ldnavbhz48x";
|
||||
rev = "v1.7.1";
|
||||
hash = "sha256-gg3g/0Ki29FnGqKv9lDTs5oA9NjH23qQ+hTdVtSU+zo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake makeWrapper which python3 ];
|
||||
|
@ -32,15 +47,11 @@ stdenv.mkDerivation (rec {
|
|||
googletest = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "googletest";
|
||||
rev = "release-1.10.0";
|
||||
sha256 = "1zbmab9295scgg4z2vclgfgjchfjailjnvzc6f5x9jvlsdi3dpwz";
|
||||
# GoogleTest follows Abseil Live at Head philosophy, use latest commit from main branch as often as possible.
|
||||
rev = "1a727c27aa36c602b24bf170a301aec8686b88e8"; # unstable-2023-03-07
|
||||
hash = "sha256-/FWBSxZESwj/QvdNK5BI2EfonT64DP1eGBZR4O8uJww=";
|
||||
};
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "remove-decnet-header.patch";
|
||||
url = "https://github.com/ponylang/ponyc/commit/e5b9b5daec5b19415d519b09954cbd3cf5f34220.patch";
|
||||
hash = "sha256-60cOhBBwQxWLwEx+svtFtJ7POQkHzJo2LDPRJ5L/bNk=";
|
||||
})
|
||||
];
|
||||
|
||||
postUnpack = ''
|
||||
|
@ -52,9 +63,6 @@ stdenv.mkDerivation (rec {
|
|||
dontConfigure = true;
|
||||
|
||||
postPatch = ''
|
||||
# Patching Vendor LLVM
|
||||
patchShebangs --host build/build_libs/gbenchmark-prefix/src/benchmark/tools/*.py
|
||||
patch -d lib/llvm/src/ -p1 < lib/llvm/patches/2020-07-28-01-c-exports.diff
|
||||
substituteInPlace packages/process/_test.pony \
|
||||
--replace '"/bin/' '"${coreutils}/bin/' \
|
||||
--replace '=/bin' "${coreutils}/bin"
|
||||
|
@ -63,7 +71,6 @@ stdenv.mkDerivation (rec {
|
|||
--replace "/opt/local/lib" ""
|
||||
'';
|
||||
|
||||
|
||||
preBuild = ''
|
||||
make libs build_flags=-j$NIX_BUILD_CORES
|
||||
make configure build_flags=-j$NIX_BUILD_CORES
|
||||
|
@ -72,17 +79,14 @@ stdenv.mkDerivation (rec {
|
|||
makeFlags = [
|
||||
"PONYC_VERSION=${version}"
|
||||
"prefix=${placeholder "out"}"
|
||||
]
|
||||
++ lib.optionals stdenv.isDarwin [ "bits=64" ]
|
||||
++ lib.optionals (stdenv.isDarwin && (!lto)) [ "lto=no" ];
|
||||
|
||||
doCheck = true;
|
||||
] ++ lib.optionals stdenv.isDarwin ([ "bits=64" ] ++ lib.optional (!lto) "lto=no");
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = toString [ "-Wno-error=redundant-move" "-Wno-error=implicit-fallthrough" ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
installPhase = "make config=release prefix=$out "
|
||||
+ lib.optionalString stdenv.isDarwin "bits=64 "
|
||||
+ lib.optionalString (stdenv.isDarwin && (!lto)) "lto=no "
|
||||
+ lib.optionalString stdenv.isDarwin ("bits=64 " + (lib.optionalString (!lto) "lto=no "))
|
||||
+ '' install
|
||||
wrapProgram $out/bin/ponyc \
|
||||
--prefix PATH ":" "${stdenv.cc}/bin" \
|
||||
|
@ -93,11 +97,13 @@ stdenv.mkDerivation (rec {
|
|||
# Stripping breaks linking for ponyc
|
||||
dontStrip = true;
|
||||
|
||||
passthru.tests.pony-corral = pony-corral;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pony is an Object-oriented, actor-model, capabilities-secure, high performance programming language";
|
||||
homepage = "https://www.ponylang.org";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ kamilchm patternspandemic redvers ];
|
||||
maintainers = with maintainers; [ kamilchm patternspandemic redvers superherointj ];
|
||||
platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" ];
|
||||
};
|
||||
})
|
||||
|
|
|
@ -1,18 +1,26 @@
|
|||
From e26ae067644ea780f050fb900bd850027bb86456 Mon Sep 17 00:00:00 2001
|
||||
From: superherointj <5861043+superherointj@users.noreply.github.com>
|
||||
Date: Tue, 7 Mar 2023 14:59:31 -0300
|
||||
Subject: [PATCH] make-safe-for-sandbox.patch
|
||||
|
||||
---
|
||||
lib/CMakeLists.txt | 80 ++--------------------------------------------
|
||||
1 file changed, 2 insertions(+), 78 deletions(-)
|
||||
|
||||
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
|
||||
index dab2aaef..26b587b1 100644
|
||||
index 129e26e6..d25bdf9d 100644
|
||||
--- a/lib/CMakeLists.txt
|
||||
+++ b/lib/CMakeLists.txt
|
||||
@@ -36,7 +36,7 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
|
||||
endif()
|
||||
@@ -32,14 +32,14 @@ endif()
|
||||
|
||||
set(PONYC_GBENCHMARK_URL https://github.com/google/benchmark/archive/v1.7.1.tar.gz)
|
||||
ExternalProject_Add(gbenchmark
|
||||
- URL ${PONYC_GBENCHMARK_URL}
|
||||
+ SOURCE_DIR gbenchmark-prefix/src/benchmark
|
||||
CMAKE_ARGS -DCMAKE_BUILD_TYPE=${PONYC_LIBS_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX} -DBENCHMARK_ENABLE_GTEST_TESTS=OFF -DCMAKE_CXX_FLAGS=${PONY_PIC_FLAG} --no-warn-unused-cli
|
||||
CMAKE_ARGS -DCMAKE_BUILD_TYPE=${PONYC_LIBS_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX} -DBENCHMARK_ENABLE_GTEST_TESTS=OFF -DBENCHMARK_ENABLE_WERROR=OFF -DCMAKE_CXX_FLAGS=${PONY_PIC_FLAG} --no-warn-unused-cli
|
||||
)
|
||||
|
||||
@@ -46,7 +46,7 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
|
||||
endif()
|
||||
set(PONYC_GOOGLETEST_URL https://github.com/google/googletest/archive/release-1.12.1.tar.gz)
|
||||
|
||||
ExternalProject_Add(googletest
|
||||
- URL ${PONYC_GOOGLETEST_URL}
|
||||
|
@ -20,14 +28,14 @@ index dab2aaef..26b587b1 100644
|
|||
CMAKE_ARGS -DCMAKE_BUILD_TYPE=${PONYC_LIBS_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX} -DCMAKE_CXX_FLAGS=${PONY_PIC_FLAG} -Dgtest_force_shared_crt=ON --no-warn-unused-cli
|
||||
)
|
||||
|
||||
@@ -59,82 +59,6 @@ install(TARGETS blake2
|
||||
@@ -52,82 +52,6 @@ install(TARGETS blake2
|
||||
COMPONENT library
|
||||
)
|
||||
|
||||
-find_package(Git)
|
||||
-
|
||||
-set(LLVM_DESIRED_HASH "75e33f71c2dae584b13a7d1186ae0a038ba98838")
|
||||
-set(PATCHES_DESIRED_HASH "a16f299fbfced16a2bbc628746db341f2a5af9ae8cc9c9ef4b1e9ca26de3c292")
|
||||
-set(LLVM_DESIRED_HASH "1f9140064dfbfb0bbda8e51306ea51080b2f7aac")
|
||||
-set(PATCHES_DESIRED_HASH "3e16c097794cb669a8f6a0bd7600b440205ac5c29a6135750c2e83263eb16a95")
|
||||
-
|
||||
-if(GIT_FOUND)
|
||||
- if(EXISTS "${PROJECT_SOURCE_DIR}/../.git")
|
||||
|
@ -102,4 +110,7 @@ index dab2aaef..26b587b1 100644
|
|||
-
|
||||
message("Building targets: ${LLVM_TARGETS_TO_BUILD}")
|
||||
|
||||
set(LLVM_ENABLE_BINDINGS OFF)
|
||||
set(LLVM_ENABLE_BINDINGS OFF CACHE BOOL "ponyc specific override of LLVM cache entry")
|
||||
--
|
||||
2.39.2
|
||||
|
||||
|
|
|
@ -6,13 +6,13 @@
|
|||
|
||||
stdenv.mkDerivation ( rec {
|
||||
pname = "corral";
|
||||
version = "0.6.1";
|
||||
version = "unstable-2023-02-11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ponylang";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-Rv1K6kFRylWodm1uACBs8KqqEqQZh86NqAG50heNteE=";
|
||||
rev = "f31353a9ec9cd7eab6ee89079ae6a782192fd4b5";
|
||||
hash = "sha256-jTx/7iFvmwOdjGVf/6NUy+FTkv6Mkv8DeotJ67pvmtc=";
|
||||
};
|
||||
|
||||
buildInputs = [ ponyc ];
|
||||
|
@ -24,7 +24,7 @@ stdenv.mkDerivation ( rec {
|
|||
homepage = "https://www.ponylang.io";
|
||||
changelog = "https://github.com/ponylang/corral/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ redvers ];
|
||||
maintainers = with maintainers; [ redvers superherointj ];
|
||||
platforms = [ "x86_64-linux" "x86_64-darwin" ];
|
||||
};
|
||||
})
|
||||
|
|
|
@ -3,9 +3,13 @@
|
|||
, fetchurl
|
||||
, pkg-config
|
||||
, hidapi
|
||||
, libftdi1
|
||||
, libusb1
|
||||
, libgpiod
|
||||
|
||||
, enableFtdi ? true, libftdi1
|
||||
|
||||
# Allow selection the hardware targets (SBCs, JTAG Programmers, JTAG Adapters)
|
||||
, extraHardwareSupport ? []
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -24,17 +28,14 @@ stdenv.mkDerivation rec {
|
|||
configureFlags = [
|
||||
"--disable-werror"
|
||||
"--enable-jtag_vpi"
|
||||
"--enable-usb_blaster_libftdi"
|
||||
(lib.enableFeature (! stdenv.isDarwin) "amtjtagaccel")
|
||||
(lib.enableFeature (! stdenv.isDarwin) "gw16012")
|
||||
"--enable-presto_libftdi"
|
||||
"--enable-openjtag_ftdi"
|
||||
(lib.enableFeature (! stdenv.isDarwin) "oocd_trace")
|
||||
"--enable-buspirate"
|
||||
(lib.enableFeature stdenv.isLinux "sysfsgpio")
|
||||
(lib.enableFeature stdenv.isLinux "linuxgpiod")
|
||||
"--enable-remote-bitbang"
|
||||
];
|
||||
(lib.enableFeature enableFtdi "ftdi")
|
||||
(lib.enableFeature stdenv.isLinux "linuxgpiod")
|
||||
(lib.enableFeature stdenv.isLinux "sysfsgpio")
|
||||
] ++
|
||||
map (hardware: "--enable-${hardware}") extraHardwareSupport
|
||||
;
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isGNU [
|
||||
"-Wno-error=cpp"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchFromGitHub, unzip, cmake, openexr, hdf5-threadsafe }:
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, openexr, hdf5-threadsafe, ilmbase }:
|
||||
|
||||
stdenv.mkDerivation rec
|
||||
{
|
||||
|
@ -12,26 +12,50 @@ stdenv.mkDerivation rec
|
|||
sha256 = "sha256-8dQhOQN0t2Y2kC2wOpQUqbu6Woy4DUmiLqXjf1D+mxE=";
|
||||
};
|
||||
|
||||
# note: out is unused (but required for outputDoc anyway)
|
||||
outputs = [ "bin" "dev" "out" "lib" ];
|
||||
|
||||
nativeBuildInputs = [ unzip cmake ];
|
||||
buildInputs = [ openexr hdf5-threadsafe ];
|
||||
# Prevent cycle between bin and dev (only occurs on Darwin for some reason)
|
||||
propagatedBuildOutputs = [ "lib" ];
|
||||
|
||||
buildPhase = ''
|
||||
cmake -DUSE_HDF5=ON -DCMAKE_INSTALL_PREFIX=$out/ -DUSE_TESTS=OFF .
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
mkdir $out
|
||||
mkdir -p $bin/bin
|
||||
mkdir -p $dev/include
|
||||
mkdir -p $lib/lib
|
||||
# NOTE: Alembic also support imath instead of ilmbase, but some users of Alembic (e.g. Blender)
|
||||
# are incompatible with the imath version of Alembic
|
||||
buildInputs = [ openexr hdf5-threadsafe ilmbase ];
|
||||
|
||||
# Downstream packages trying to use Alembic via CMake need ilmbase as well
|
||||
# For some reason this won't be picked up correctly otherwise
|
||||
propagatedBuildInputs = [ ilmbase ];
|
||||
|
||||
# These flags along with the postPatch step ensure that all artifacts end up
|
||||
# in the correct output without needing to move anything
|
||||
#
|
||||
# - bin: Uses CMAKE_INSTALL_BINDIR (set via CMake setup hooK)
|
||||
# - lib (contains shared libraries): Uses ALEMBIC_LIB_INSTALL_DIR
|
||||
# - dev (headers): Uses CMAKE_INSTALL_PREFIX
|
||||
# (this works because every other install rule uses an absolute DESTINATION)
|
||||
# - dev (CMake files): Uses ConfigPackageLocation
|
||||
|
||||
cmakeFlags = [
|
||||
"-DUSE_HDF5=ON"
|
||||
"-DUSE_TESTS=ON"
|
||||
"-DALEMBIC_LIB_INSTALL_DIR=${placeholder "lib"}/lib"
|
||||
"-DConfigPackageLocation=${placeholder "dev"}/lib/cmake/Alembic"
|
||||
"-DCMAKE_INSTALL_PREFIX=${placeholder "dev"}"
|
||||
"-DQUIET=ON"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
find bin/ -type f -name CMakeLists.txt -print -exec \
|
||||
sed -i 's/INSTALL(TARGETS \([a-zA-Z ]*\) DESTINATION bin)/INSTALL(TARGETS \1)/' {} \;
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
make install
|
||||
|
||||
mv $out/bin $bin/
|
||||
mv $out/lib $lib/
|
||||
mv $out/include $dev/
|
||||
doCheck = true;
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
ctest -j 1
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -39,6 +63,6 @@ stdenv.mkDerivation rec
|
|||
homepage = "http://alembic.io/";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.guibou ];
|
||||
maintainers = with maintainers; [ guibou tmarkus ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bc-decaf";
|
||||
version = "linphone-4.4.1";
|
||||
version = "unstable-2022-07-20";
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [
|
||||
|
@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
|
|||
group = "BC";
|
||||
owner = "public/external";
|
||||
repo = "decaf";
|
||||
rev = "6e78a9beb24d1e3d7050dd52a65e4f88b101a1fc";
|
||||
sha256 = "sha256-D2SzkinloL0Ya9p25YUsc+7lKvoTMUsdkKrkv/5AEeY=";
|
||||
rev = "876ddb4d465c94f97beba1be450e8538d866cc5d";
|
||||
sha256 = "sha256-QFOAgLiPbG2ZdwKoCOrVD5/sPq9IH4rtAWnnk/rZWcs=";
|
||||
};
|
||||
|
||||
# Do not build static libraries and do not enable -Werror
|
||||
|
|
|
@ -22,6 +22,6 @@ stdenv.mkDerivation {
|
|||
homepage = "https://embree.github.io/";
|
||||
maintainers = with maintainers; [ hodapp ];
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.linux;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -39,5 +39,6 @@ stdenv.mkDerivation rec {
|
|||
maintainers = with maintainers; [ hodapp gebner ];
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.unix;
|
||||
badPlatforms = [ "aarch64-linux" ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -128,7 +128,7 @@ let
|
|||
oxygen-icons5 = callPackage ./oxygen-icons5.nix {};
|
||||
prison = callPackage ./prison.nix {};
|
||||
qqc2-desktop-style = callPackage ./qqc2-desktop-style.nix {};
|
||||
solid = callPackage ./solid.nix {};
|
||||
solid = callPackage ./solid {};
|
||||
sonnet = callPackage ./sonnet.nix {};
|
||||
syntax-highlighting = callPackage ./syntax-highlighting.nix {};
|
||||
threadweaver = callPackage ./threadweaver.nix {};
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
mkDerivation {
|
||||
pname = "solid";
|
||||
patches = [ ./fix-search-path.patch ];
|
||||
nativeBuildInputs = [ bison extra-cmake-modules flex media-player-info ];
|
||||
buildInputs = [ qtdeclarative qttools ];
|
||||
propagatedBuildInputs = [ qtbase ];
|
|
@ -0,0 +1,17 @@
|
|||
diff --git a/src/solid/devices/backends/fstab/fstabhandling.cpp b/src/solid/devices/backends/fstab/fstabhandling.cpp
|
||||
index ac2a628..7ee46cc 100644
|
||||
--- a/src/solid/devices/backends/fstab/fstabhandling.cpp
|
||||
+++ b/src/solid/devices/backends/fstab/fstabhandling.cpp
|
||||
@@ -275,7 +275,11 @@ bool Solid::Backends::Fstab::FstabHandling::callSystemCommand(const QString &com
|
||||
const QObject *receiver,
|
||||
std::function<void(QProcess *)> callback)
|
||||
{
|
||||
- static const QStringList searchPaths{QStringLiteral("/sbin"), QStringLiteral("/bin"), QStringLiteral("/usr/sbin"), QStringLiteral("/usr/bin")};
|
||||
+ static const QStringList searchPaths{QStringLiteral("/run/wrappers/bin"),
|
||||
+ QStringLiteral("/sbin"),
|
||||
+ QStringLiteral("/bin"),
|
||||
+ QStringLiteral("/usr/sbin"),
|
||||
+ QStringLiteral("/usr/bin")};
|
||||
static const QString joinedPaths = searchPaths.join(QLatin1Char(':'));
|
||||
const QString exec = QStandardPaths::findExecutable(commandName, searchPaths);
|
||||
if (exec.isEmpty()) {
|
|
@ -9,7 +9,8 @@
|
|||
, help2man
|
||||
, systemd
|
||||
, bash-completion
|
||||
, withIntrospection ? stdenv.hostPlatform == stdenv.buildPlatform
|
||||
, buildPackages
|
||||
, withIntrospection ? stdenv.hostPlatform.emulatorAvailable buildPackages
|
||||
, gobject-introspection
|
||||
}:
|
||||
|
||||
|
|
|
@ -8,7 +8,8 @@
|
|||
, glib
|
||||
, gdk-pixbuf
|
||||
, gnome
|
||||
, withIntrospection ? (stdenv.buildPlatform == stdenv.hostPlatform)
|
||||
, buildPackages
|
||||
, withIntrospection ? stdenv.hostPlatform.emulatorAvailable buildPackages
|
||||
, gobject-introspection
|
||||
}:
|
||||
|
||||
|
|
|
@ -20,7 +20,8 @@
|
|||
, python3Packages
|
||||
, gnome
|
||||
, vala
|
||||
, withIntrospection ? stdenv.hostPlatform == stdenv.buildPlatform
|
||||
, buildPackages
|
||||
, withIntrospection ? stdenv.hostPlatform.emulatorAvailable buildPackages
|
||||
, gobject-introspection
|
||||
, _experimental-update-script-combinators
|
||||
, common-updater-scripts
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
{ stdenv, lib, fetchurl, libkate, pango, cairo, pkg-config, darwin }:
|
||||
{ stdenv, lib, fetchurl, autoreconfHook, pkg-config
|
||||
, libkate, pango, cairo, darwin
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libtiger";
|
||||
|
@ -9,7 +11,15 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0rj1bmr9kngrgbxrjbn4f4f9pww0wmf6viflinq7ava7zdav4hkk";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
patches = [
|
||||
./pkg-config.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace configure.ac --replace "-Werror" "-Wno-error"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
buildInputs = [ libkate pango cairo ]
|
||||
++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.ApplicationServices;
|
||||
|
||||
|
|
37
pkgs/development/libraries/libtiger/pkg-config.patch
Normal file
37
pkgs/development/libraries/libtiger/pkg-config.patch
Normal file
|
@ -0,0 +1,37 @@
|
|||
From 3ebeb0932edc01b7768216dc7d3b3c5aac21fba0 Mon Sep 17 00:00:00 2001
|
||||
From: Alyssa Ross <hi@alyssa.is>
|
||||
Date: Sun, 26 Feb 2023 17:21:48 +0000
|
||||
Subject: [PATCH] configure.ac: detect pkg-config properly
|
||||
|
||||
When cross compiling, the relevant pkg-config program might be prefixed
|
||||
with the name of the host platform, so the previous check was not
|
||||
correct. Detect pkg-config properly, using the appropriate macro.
|
||||
---
|
||||
configure.ac | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 2f63684..bf2faf7 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -46,7 +46,7 @@ AC_CHECK_FUNCS([select nanosleep usleep])
|
||||
|
||||
AC_TYPE_SIZE_T
|
||||
|
||||
-AC_CHECK_PROG(HAVE_PKG_CONFIG,pkg-config,yes)
|
||||
+PKG_PROG_PKG_CONFIG
|
||||
|
||||
AC_ARG_ENABLE(doc, [ --disable-doc Disable building documentation (default enabled)])
|
||||
if test "x$enable_doc" != "xno"
|
||||
@@ -57,7 +57,7 @@ else
|
||||
fi
|
||||
AM_CONDITIONAL(HAVE_DOXYGEN,test "${HAVE_DOXYGEN}" = "yes")
|
||||
|
||||
-if test "x$HAVE_PKG_CONFIG" = "xyes"
|
||||
+if test "x$PKG_CONFIG" != "x"
|
||||
then
|
||||
PKG_CHECK_MODULES(KATE,kate >= 0.2.0)
|
||||
PKG_CHECK_MODULES(PANGOCAIRO,pangocairo >= 1.16)
|
||||
--
|
||||
2.37.1
|
||||
|
|
@ -10,7 +10,8 @@
|
|||
, libcap_ng
|
||||
, libvirt
|
||||
, libxml2
|
||||
, withIntrospection ? stdenv.hostPlatform == stdenv.buildPlatform
|
||||
, buildPackages
|
||||
, withIntrospection ? stdenv.hostPlatform.emulatorAvailable buildPackages
|
||||
, gobject-introspection
|
||||
, withDocs ? stdenv.hostPlatform == stdenv.buildPlatform
|
||||
, gtk-doc
|
||||
|
|
|
@ -25,7 +25,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
]
|
||||
++ lib.optional withPython python.pkgs.pythonImportsCheckHook;
|
||||
|
||||
buildInputs = [
|
||||
root_py
|
||||
|
@ -50,11 +51,7 @@ stdenv.mkDerivation rec {
|
|||
--replace 'readlink' '${coreutils}/bin/readlink'
|
||||
'';
|
||||
|
||||
doInstallCheck = withPython;
|
||||
# prevent nix from trying to dereference a null python
|
||||
installCheckPhase = lib.optionalString withPython ''
|
||||
PYTHONPATH=${placeholder "out"}/${python.sitePackages} python -c 'import pyHepMC3'
|
||||
'';
|
||||
pythonImportsCheck = [ "pyHepMC3" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "The HepMC package is an object oriented, C++ event record for High Energy Physics Monte Carlo generators and simulation";
|
||||
|
|
|
@ -26,7 +26,7 @@ let
|
|||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "wireplumber";
|
||||
version = "0.4.13";
|
||||
version = "0.4.14";
|
||||
|
||||
outputs = [ "out" "dev" ] ++ lib.optional enableDocs "doc";
|
||||
|
||||
|
@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
|
|||
owner = "pipewire";
|
||||
repo = "wireplumber";
|
||||
rev = version;
|
||||
sha256 = "sha256-Zz8N6OPwZ4Dwaygiy46C3sN9zPGC12+55S/qns+S+h4=";
|
||||
sha256 = "sha256-PKS+WErdZuSU4jrFHQcRbnZIHlnlv06R6ZxIAIBptko=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -11,13 +11,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "prometheus-cpp";
|
||||
version = "1.0.1";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jupp0r";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-F8paJhptEcOMtP0FCJ3ragC4kv7XSVPiZheM5UZChno=";
|
||||
sha256 = "sha256-qx6oBxd0YrUyFq+7ArnKBqOwrl5X8RS9nErhRDUJ7+8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
|
|
@ -13,12 +13,15 @@
|
|||
, xcbutilimage, xcbutilkeysyms, xcbutilrenderutil, xcbutilwm , zlib, at-spi2-core
|
||||
|
||||
# optional dependencies
|
||||
, cups ? null, libmysqlclient ? null, postgresql ? null
|
||||
, cups ? null, postgresql ? null
|
||||
, withGtk3 ? false, dconf, gtk3
|
||||
|
||||
# options
|
||||
, libGLSupported ? !stdenv.isDarwin
|
||||
, libGL
|
||||
# qmake detection for libmysqlclient does not seem to work when cross compiling
|
||||
, mysqlSupport ? stdenv.hostPlatform == stdenv.buildPlatform
|
||||
, libmysqlclient
|
||||
, buildExamples ? false
|
||||
, buildTests ? false
|
||||
, debug ? false
|
||||
|
@ -73,7 +76,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
)
|
||||
++ lib.optional developerBuild gdb
|
||||
++ lib.optional (cups != null) cups
|
||||
++ lib.optional (libmysqlclient != null) libmysqlclient
|
||||
++ lib.optional (mysqlSupport) libmysqlclient
|
||||
++ lib.optional (postgresql != null) postgresql;
|
||||
|
||||
nativeBuildInputs = [ bison flex gperf lndir perl pkg-config which ]
|
||||
|
@ -258,7 +261,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
"-L" "${lib.getLib openssl}/lib"
|
||||
"-I" "${openssl.dev}/include"
|
||||
"-system-sqlite"
|
||||
''-${if libmysqlclient != null then "plugin" else "no"}-sql-mysql''
|
||||
''-${if mysqlSupport then "plugin" else "no"}-sql-mysql''
|
||||
''-${if postgresql != null then "plugin" else "no"}-sql-psql''
|
||||
|
||||
"-make libs"
|
||||
|
@ -297,7 +300,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
] ++ lib.optionals (cups != null) [
|
||||
"-L" "${cups.lib}/lib"
|
||||
"-I" "${cups.dev}/include"
|
||||
] ++ lib.optionals (libmysqlclient != null) [
|
||||
] ++ lib.optionals (mysqlSupport) [
|
||||
"-L" "${libmysqlclient}/lib"
|
||||
"-I" "${libmysqlclient}/include"
|
||||
]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ stdenv, cmake, fetchFromGitHub, lib }: let
|
||||
version = "1.2.2";
|
||||
version = "1.2.3";
|
||||
in stdenv.mkDerivation {
|
||||
name = "stduuid-${version}";
|
||||
|
||||
|
@ -7,7 +7,7 @@ in stdenv.mkDerivation {
|
|||
owner = "mariusbancila";
|
||||
repo = "stduuid";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-itx1OF1gmEEMy2tJlkN5dpF6o0dlesecuHYfpJdhf7c=";
|
||||
hash = "sha256-MhpKv+gH3QxiaQMx5ImiQjDGrbKUFaaoBLj5Voh78vg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
|
|
@ -17,7 +17,7 @@ buildDunePackage rec {
|
|||
owner = "abeaumont";
|
||||
repo = "ocaml-chacha";
|
||||
rev = version;
|
||||
sha256 = "sha256-PmeiFloU0k3SqOK1VjaliiCEzDzrzyMSasgnO5fJS1k=";
|
||||
hash = "sha256-PmeiFloU0k3SqOK1VjaliiCEzDzrzyMSasgnO5fJS1k=";
|
||||
};
|
||||
|
||||
# Ensure compatibility with cstruct ≥ 6.1.0
|
||||
|
@ -27,6 +27,7 @@ buildDunePackage rec {
|
|||
})];
|
||||
|
||||
minimalOCamlVersion = "4.02";
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [ cstruct mirage-crypto ];
|
||||
|
||||
|
|
|
@ -0,0 +1,63 @@
|
|||
{ lib
|
||||
, fetchurl
|
||||
, fetchpatch
|
||||
, buildDunePackage
|
||||
, h2
|
||||
, httpaf
|
||||
, mimic-happy-eyeballs
|
||||
, mirage-clock
|
||||
, paf
|
||||
, tcpip
|
||||
, x509
|
||||
, alcotest-lwt
|
||||
, mirage-clock-unix
|
||||
, mirage-crypto-rng
|
||||
, mirage-time-unix
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "http-mirage-client";
|
||||
version = "0.0.2";
|
||||
|
||||
duneVersion = "3";
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/roburio/http-mirage-client/releases/download/v${version}/http-mirage-client-${version}.tbz";
|
||||
hash = "sha256-stom13t3Kn1ehkeURem39mxhd3Lmlz8z9m3tHGcp5vY=";
|
||||
};
|
||||
|
||||
# Make tests use mirage-crypto
|
||||
patches = lib.lists.map fetchpatch [
|
||||
{ url = "https://github.com/roburio/http-mirage-client/commit/c6cd38db9c23ac23e7c3e4cf2d41420f58034e8d.patch";
|
||||
hash = "sha256-b3rurqF0DxLpVQEhVfROwc7qyul0Fjfl3zhD8AkzemU="; }
|
||||
{ url = "https://github.com/roburio/http-mirage-client/commit/0a5367e7c6d9b7f45c88493f7a596f7a83e8c7d5.patch";
|
||||
hash = "sha256-Q6YlfuiAfsyhty9EvoBetvekuU25KjrH5wwGwYTAAiA="; }
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
h2
|
||||
httpaf
|
||||
mimic-happy-eyeballs
|
||||
mirage-clock
|
||||
paf
|
||||
tcpip
|
||||
x509
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [
|
||||
alcotest-lwt
|
||||
mirage-clock-unix
|
||||
mirage-crypto-rng
|
||||
mirage-time-unix
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "HTTP client for MirageOS";
|
||||
homepage = "https://github.com/roburio/http-mirage-client";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
|
||||
}
|
20
pkgs/development/ocaml-modules/letsencrypt/mirage.nix
Normal file
20
pkgs/development/ocaml-modules/letsencrypt/mirage.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ buildDunePackage
|
||||
, letsencrypt
|
||||
, emile
|
||||
, http-mirage-client
|
||||
, paf
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "letsencrypt-mirage";
|
||||
|
||||
inherit (letsencrypt) version src;
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [ emile http-mirage-client letsencrypt paf ];
|
||||
|
||||
meta = letsencrypt.meta // {
|
||||
description = "ACME implementation in OCaml for MirageOS";
|
||||
};
|
||||
}
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
buildDunePackage rec {
|
||||
minimalOCamlVersion = "4.08";
|
||||
duneVersion = "3";
|
||||
|
||||
pname = "mirage-crypto";
|
||||
version = "0.11.0";
|
||||
|
|
|
@ -24,6 +24,8 @@ buildDunePackage rec {
|
|||
src
|
||||
version;
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
dune-configurator
|
||||
|
|
|
@ -6,6 +6,8 @@ buildDunePackage rec {
|
|||
|
||||
inherit (mirage-crypto) version src;
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
buildInputs = [ gmp ];
|
||||
propagatedBuildInputs = [ cstruct mirage-crypto mirage-crypto-rng
|
||||
zarith eqaf sexplib0 ];
|
||||
|
|
|
@ -8,6 +8,8 @@ buildDunePackage {
|
|||
|
||||
inherit (mirage-crypto) version src;
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
buildInputs = [
|
||||
dune-configurator
|
||||
];
|
||||
|
|
|
@ -1,15 +1,17 @@
|
|||
{ buildDunePackage, mirage-crypto, mirage-crypto-rng, dune-configurator
|
||||
, duration, logs, mtime, ocaml_lwt }:
|
||||
, duration, logs, mtime, lwt }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "mirage-crypto-rng-lwt";
|
||||
|
||||
inherit (mirage-crypto) version src;
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
buildInputs = [ dune-configurator ];
|
||||
propagatedBuildInputs = [ mirage-crypto mirage-crypto-rng duration logs mtime ocaml_lwt ];
|
||||
propagatedBuildInputs = [ mirage-crypto mirage-crypto-rng duration logs mtime lwt ];
|
||||
|
||||
meta = mirage-crypto-rng.meta;
|
||||
}
|
||||
|
|
|
@ -7,6 +7,7 @@ buildDunePackage rec {
|
|||
pname = "mirage-crypto-rng-mirage";
|
||||
|
||||
inherit (mirage-crypto-rng) version src;
|
||||
duneVersion = "3";
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [ mirage-unix mirage-clock-unix mirage-time-unix ];
|
||||
|
|
|
@ -5,6 +5,7 @@ buildDunePackage rec {
|
|||
pname = "mirage-crypto-rng";
|
||||
|
||||
inherit (mirage-crypto) version src;
|
||||
duneVersion = "3";
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [ ounit2 randomconv ];
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "adafruit-platformdetect";
|
||||
version = "3.40.3";
|
||||
version = "3.41.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
@ -15,7 +15,7 @@ buildPythonPackage rec {
|
|||
src = fetchPypi {
|
||||
pname = "Adafruit-PlatformDetect";
|
||||
inherit version;
|
||||
hash = "sha256-phG9DEl4JlrIN3zil0SQRZ+DnktpunK094nxVQ9Cksw=";
|
||||
hash = "sha256-NWdY1ykuF8mYxXPCwaVq6mEkQXHrUmhEy/BXDFYn2V0=";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "garminconnect";
|
||||
version = "0.1.53";
|
||||
version = "0.1.54";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
|||
owner = "cyberjunky";
|
||||
repo = "python-garminconnect";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-bUOdurCuAxpVag+mv3brxYIyNu9KhoDauL+lcrcob/k=";
|
||||
hash = "sha256-lxifhL70Yn3BIjeRPnWqOs97Oy65RD0Rrgw4bJno2kI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
|
@ -9,14 +9,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "gcovr";
|
||||
version = "5.2";
|
||||
version = "6.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-IXGVCF7JQ0YpGoe3sebZz97u5WKz4PmjKyXJUws7zo8=";
|
||||
hash = "sha256-hjjV9E3vEOOOMWbIozvvZkPsIEaH4Kx9NFzkGpjFdQs=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -39,6 +39,7 @@ buildPythonPackage rec {
|
|||
meta = with lib; {
|
||||
description = "Python script for summarizing gcov data";
|
||||
homepage = "https://www.gcovr.com/";
|
||||
changelog = "https://github.com/gcovr/gcovr/blob/${version}/CHANGELOG.rst";
|
||||
license = licenses.bsd0;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "jupyter-book";
|
||||
version = "0.14.0";
|
||||
version = "0.15.0";
|
||||
|
||||
format = "flit";
|
||||
|
||||
|
@ -34,7 +34,7 @@ buildPythonPackage rec {
|
|||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-BxrVrOsCqFRmx16l6YdkJplwdnU2XhRFMHd5DGy+dqE=";
|
||||
sha256 = "sha256-eUw3zC+6kx/OQvMhzkG6R3b2ricX0kvC+fCBD4mkEuo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -65,7 +65,6 @@ buildPythonPackage rec {
|
|||
|
||||
pythonRelaxDeps = [
|
||||
"docutils"
|
||||
"sphinx-book-theme"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
|
@ -75,6 +74,7 @@ buildPythonPackage rec {
|
|||
meta = with lib; {
|
||||
description = "Build a book with Jupyter Notebooks and Sphinx";
|
||||
homepage = "https://jupyterbook.org/";
|
||||
changelog = "https://github.com/executablebooks/jupyter-book/blob/v${version}/CHANGELOG.md";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ marsam ];
|
||||
};
|
||||
|
|
45
pkgs/development/python-modules/lineedit/default.nix
Normal file
45
pkgs/development/python-modules/lineedit/default.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pygments
|
||||
, six
|
||||
, wcwidth
|
||||
, pytestCheckHook
|
||||
, pyte
|
||||
, ptyprocess
|
||||
, pexpect
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lineedit";
|
||||
version = "0.1.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "randy3k";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "fq2NpjIQkIq1yzXEUxi6cz80kutVqcH6MqJXHtpTFsk=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pygments
|
||||
six
|
||||
wcwidth
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pyte
|
||||
pexpect
|
||||
ptyprocess
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "lineedit" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A readline library based on prompt_toolkit which supports multiple modes";
|
||||
homepage = "https://github.com/randy3k/lineedit";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ savyajha ];
|
||||
};
|
||||
}
|
|
@ -23,7 +23,8 @@ buildPythonPackage rec {
|
|||
'';
|
||||
|
||||
# tests impure, will error if it can't load libmpv.so
|
||||
checkPhase = "${python.interpreter} -c 'import mpv'";
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "mpv" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A python interface to the mpv media player";
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "pybalboa";
|
||||
version = "1.0.0";
|
||||
version = "1.0.1";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
@ -16,7 +16,7 @@ buildPythonPackage rec {
|
|||
owner = "garbled1";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-08FMNRArzmfmLH6y5Z8QPcRVZJIvU3VIOvdTry3iBGI=";
|
||||
hash = "sha256-7vjdRGnEnMf32pZwoKRxX16hxkyf0CXlncpbBJMQtfI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
, ujson
|
||||
, orjson
|
||||
, hypothesis
|
||||
, libxcrypt
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -51,6 +52,10 @@ buildPythonPackage rec {
|
|||
sed -i '/flake8/ d' Makefile
|
||||
'';
|
||||
|
||||
buildInputs = lib.optionals (pythonOlder "3.9") [
|
||||
libxcrypt
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
] ++ lib.optionals withDocs [
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue