mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-01 01:57:37 +03:00
Merge master into haskell-updates
This commit is contained in:
commit
938be003b3
@ -26,10 +26,6 @@ You can install it like any other packages via `nix-env -iA myEmacs`. However, t
|
||||
{
|
||||
packageOverrides = pkgs: with pkgs; rec {
|
||||
myEmacsConfig = writeText "default.el" ''
|
||||
;; initialize package
|
||||
|
||||
(require 'package)
|
||||
(package-initialize 'noactivate)
|
||||
(eval-when-compile
|
||||
(require 'use-package))
|
||||
|
||||
@ -103,7 +99,7 @@ You can install it like any other packages via `nix-env -iA myEmacs`. However, t
|
||||
|
||||
This provides a fairly full Emacs start file. It will load in addition to the user's personal config. You can always disable it by passing `-q` to the Emacs command.
|
||||
|
||||
Sometimes `emacs.pkgs.withPackages` is not enough, as this package set has some priorities imposed on packages (with the lowest priority assigned to Melpa Unstable, and the highest for packages manually defined in `pkgs/top-level/emacs-packages.nix`). But you can't control these priorities when some package is installed as a dependency. You can override it on a per-package-basis, providing all the required dependencies manually, but it's tedious and there is always a possibility that an unwanted dependency will sneak in through some other package. To completely override such a package, you can use `overrideScope`.
|
||||
Sometimes `emacs.pkgs.withPackages` is not enough, as this package set has some priorities imposed on packages (with the lowest priority assigned to GNU-devel ELPA, and the highest for packages manually defined in `pkgs/applications/editors/emacs/elisp-packages/manual-packages`). But you can't control these priorities when some package is installed as a dependency. You can override it on a per-package-basis, providing all the required dependencies manually, but it's tedious and there is always a possibility that an unwanted dependency will sneak in through some other package. To completely override such a package, you can use `overrideScope`.
|
||||
|
||||
```nix
|
||||
overrides = self: super: rec {
|
||||
|
@ -1060,6 +1060,11 @@
|
||||
github = "an-empty-string";
|
||||
githubId = 681716;
|
||||
};
|
||||
angaz = {
|
||||
name = "Angus Dippenaar";
|
||||
github = "angaz";
|
||||
githubId = 10219618;
|
||||
};
|
||||
angristan = {
|
||||
email = "angristan@pm.me";
|
||||
github = "angristan";
|
||||
@ -14165,6 +14170,12 @@
|
||||
githubId = 121178;
|
||||
name = "Raphael Robatsch";
|
||||
};
|
||||
rapiteanu = {
|
||||
email = "rapiteanu.catalin@gmail.com";
|
||||
github = "Steinhagen";
|
||||
githubId = 4029937;
|
||||
name = "Viorel-Cătălin Răpițeanu";
|
||||
};
|
||||
raquelgb = {
|
||||
email = "raquel.garcia.bautista@gmail.com";
|
||||
github = "raquelgb";
|
||||
|
@ -30,6 +30,8 @@
|
||||
|
||||
- [Anuko Time Tracker](https://github.com/anuko/timetracker), a simple, easy to use, open source time tracking system. Available as [services.anuko-time-tracker](#opt-services.anuko-time-tracker.enable).
|
||||
|
||||
- [Prometheus MySQL exporter](https://github.com/prometheus/mysqld_exporter), a MySQL server exporter for Prometheus. Available as [services.prometheus.exporters.mysqld](#opt-services.prometheus.exporters.mysqld.enable).
|
||||
|
||||
- [sitespeed-io](https://sitespeed.io), a tool that can generate metrics (timings, diagnostics) for websites. Available as [services.sitespeed-io](#opt-services.sitespeed-io.enable).
|
||||
|
||||
- [Jool](https://nicmx.github.io/Jool/en/index.html), an Open Source implementation of IPv4/IPv6 translation on Linux. Available as [networking.jool.enable](#opt-networking.jool.enable).
|
||||
@ -66,6 +68,8 @@
|
||||
|
||||
- `python3.pkgs.fetchPypi` (and `python3Packages.fetchPypi`) has been deprecated in favor of top-level `fetchPypi`.
|
||||
|
||||
- `pass` now does not contain `password-store.el`. Users should get `password-store.el` from Emacs lisp package set `emacs.pkgs.password-store`.
|
||||
|
||||
- `mariadb` now defaults to `mariadb_1011` instead of `mariadb_106`, meaning the default version was upgraded from 10.6.x to 10.11.x. See the [upgrade notes](https://mariadb.com/kb/en/upgrading-from-mariadb-10-6-to-mariadb-10-11/) for potential issues.
|
||||
|
||||
- `getent` has been moved from `glibc`'s `bin` output to its own dedicated output, reducing closure size for many dependents. Dependents using the `getent` alias should not be affected; others should move from using `glibc.bin` or `getBin glibc` to `getent` (which also improves compatibility with non-glibc platforms).
|
||||
|
@ -286,11 +286,11 @@ The server should now be ready to serve Emacs clients.
|
||||
|
||||
### Starting the client {#module-services-emacs-starting-client}
|
||||
|
||||
Ensure that the emacs server is enabled, either by customizing the
|
||||
Ensure that the Emacs server is enabled, either by customizing the
|
||||
{var}`server-mode` variable, or by adding
|
||||
`(server-start)` to {file}`~/.emacs`.
|
||||
|
||||
To connect to the emacs daemon, run one of the following:
|
||||
To connect to the Emacs daemon, run one of the following:
|
||||
```
|
||||
emacsclient FILENAME
|
||||
emacsclient --create-frame # opens a new frame (window)
|
||||
@ -339,24 +339,10 @@ This will add the symlink
|
||||
|
||||
## Configuring Emacs {#module-services-emacs-configuring}
|
||||
|
||||
The Emacs init file should be changed to load the extension packages at
|
||||
startup:
|
||||
If you want to only use extension packages from Nixpkgs, you can add
|
||||
`(setq package-archives nil)` to your init file.
|
||||
|
||||
::: {.example #module-services-emacs-package-initialisation}
|
||||
### Package initialization in `.emacs`
|
||||
|
||||
```
|
||||
(require 'package)
|
||||
|
||||
;; optional. makes unpure packages archives unavailable
|
||||
(setq package-archives nil)
|
||||
|
||||
(setq package-enable-at-startup nil)
|
||||
(package-initialize)
|
||||
```
|
||||
:::
|
||||
|
||||
After the declarative emacs package configuration has been tested,
|
||||
After the declarative Emacs package configuration has been tested,
|
||||
previously downloaded packages can be cleaned up by removing
|
||||
{file}`~/.emacs.d/elpa` (do make a backup first, in case you
|
||||
forgot a package).
|
||||
|
@ -50,6 +50,7 @@ let
|
||||
"mikrotik"
|
||||
"minio"
|
||||
"modemmanager"
|
||||
"mysqld"
|
||||
"nextcloud"
|
||||
"nginx"
|
||||
"nginxlog"
|
||||
@ -296,6 +297,12 @@ in
|
||||
Please specify either 'services.prometheus.exporters.mail.configuration'
|
||||
or 'services.prometheus.exporters.mail.configFile'.
|
||||
'';
|
||||
} {
|
||||
assertion = cfg.mysqld.runAsLocalSuperUser -> config.services.mysql.enable;
|
||||
message = ''
|
||||
The exporter is configured to run as 'services.mysql.user', but
|
||||
'services.mysql.enable' is set to false.
|
||||
'';
|
||||
} {
|
||||
assertion = cfg.sql.enable -> (
|
||||
(cfg.sql.configFile == null) != (cfg.sql.configuration == null)
|
||||
|
@ -0,0 +1,60 @@
|
||||
{ config, lib, pkgs, options }:
|
||||
let
|
||||
cfg = config.services.prometheus.exporters.mysqld;
|
||||
inherit (lib) types mkOption mdDoc mkIf mkForce cli concatStringsSep optionalString escapeShellArgs;
|
||||
in {
|
||||
port = 9104;
|
||||
extraOpts = {
|
||||
telemetryPath = mkOption {
|
||||
type = types.str;
|
||||
default = "/metrics";
|
||||
description = mdDoc ''
|
||||
Path under which to expose metrics.
|
||||
'';
|
||||
};
|
||||
|
||||
runAsLocalSuperUser = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = mdDoc ''
|
||||
Whether to run the exporter as {option}`services.mysql.user`.
|
||||
'';
|
||||
};
|
||||
|
||||
configFile = mkOption {
|
||||
type = types.path;
|
||||
example = "/var/lib/prometheus-mysqld-exporter.cnf";
|
||||
description = mdDoc ''
|
||||
Path to the services config file.
|
||||
|
||||
See <https://github.com/prometheus/mysqld_exporter#running> for more information about
|
||||
the available options.
|
||||
|
||||
::: {.warn}
|
||||
Please do not store this file in the nix store if you choose to include any credentials here,
|
||||
as it would be world-readable.
|
||||
:::
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
serviceOpts = {
|
||||
serviceConfig = {
|
||||
DynamicUser = !cfg.runAsLocalSuperUser;
|
||||
User = mkIf cfg.runAsLocalSuperUser (mkForce config.services.mysql.user);
|
||||
LoadCredential = mkIf (cfg.configFile != null) (mkForce ("config:" + cfg.configFile));
|
||||
ExecStart = concatStringsSep " " [
|
||||
"${pkgs.prometheus-mysqld-exporter}/bin/mysqld_exporter"
|
||||
"--web.listen-address=${cfg.listenAddress}:${toString cfg.port}"
|
||||
"--web.telemetry-path=${cfg.telemetryPath}"
|
||||
(optionalString (cfg.configFile != null) ''--config.my-cnf=''${CREDENTIALS_DIRECTORY}/config'')
|
||||
(escapeShellArgs cfg.extraFlags)
|
||||
];
|
||||
RestrictAddressFamilies = [
|
||||
# The exporter can be configured to talk to a local mysql server via a unix socket.
|
||||
"AF_UNIX"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -33,6 +33,15 @@ in
|
||||
Make sure that this file is readable by the exporter user.
|
||||
'';
|
||||
};
|
||||
tokenFile = mkOption {
|
||||
type = types.path;
|
||||
example = "/path/to/token-file";
|
||||
default = "";
|
||||
description = lib.mdDoc ''
|
||||
File containing the token for connecting to Nextcloud.
|
||||
Make sure that this file is readable by the exporter user.
|
||||
'';
|
||||
};
|
||||
timeout = mkOption {
|
||||
type = types.str;
|
||||
default = "5s";
|
||||
@ -47,12 +56,14 @@ in
|
||||
ExecStart = ''
|
||||
${pkgs.prometheus-nextcloud-exporter}/bin/nextcloud-exporter \
|
||||
--addr ${cfg.listenAddress}:${toString cfg.port} \
|
||||
--username ${cfg.username} \
|
||||
--timeout ${cfg.timeout} \
|
||||
--server ${cfg.url} \
|
||||
--password ${escapeShellArg "@${cfg.passwordFile}"} \
|
||||
${concatStringsSep " \\\n " cfg.extraFlags}
|
||||
'';
|
||||
${if cfg.tokenFile == "" then ''
|
||||
--username ${cfg.username} \
|
||||
--password ${escapeShellArg "@${cfg.passwordFile}"} \
|
||||
'' else ''
|
||||
--auth-token ${escapeShellArg "@${cfg.tokenFile}"} \
|
||||
''} ${concatStringsSep " \\\n " cfg.extraFlags}'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -169,6 +169,13 @@ in {
|
||||
AUTH_LDAP_FIND_GROUP_PERMS = True
|
||||
'';
|
||||
};
|
||||
keycloakClientSecret = lib.mkOption {
|
||||
type = with lib.types; nullOr path;
|
||||
default = null;
|
||||
description = lib.mdDoc ''
|
||||
File that contains the keycloak client secret.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
@ -227,7 +234,10 @@ in {
|
||||
extraConfig = ''
|
||||
with open("${cfg.secretKeyFile}", "r") as file:
|
||||
SECRET_KEY = file.readline()
|
||||
'';
|
||||
'' + (lib.optionalString (cfg.keycloakClientSecret != null) ''
|
||||
with open("${cfg.keycloakClientSecret}", "r") as file:
|
||||
SOCIAL_AUTH_KEYCLOAK_SECRET = file.readline()
|
||||
'');
|
||||
};
|
||||
|
||||
services.redis.servers.netbox.enable = true;
|
||||
|
@ -716,6 +716,41 @@ let
|
||||
'';
|
||||
};
|
||||
|
||||
mysqld = {
|
||||
exporterConfig = {
|
||||
enable = true;
|
||||
runAsLocalSuperUser = true;
|
||||
configFile = pkgs.writeText "test-prometheus-exporter-mysqld-config.my-cnf" ''
|
||||
[client]
|
||||
user = exporter
|
||||
password = snakeoilpassword
|
||||
'';
|
||||
};
|
||||
metricProvider = {
|
||||
services.mysql = {
|
||||
enable = true;
|
||||
package = pkgs.mariadb;
|
||||
initialScript = pkgs.writeText "mysql-init-script.sql" ''
|
||||
CREATE USER 'exporter'@'localhost'
|
||||
IDENTIFIED BY 'snakeoilpassword'
|
||||
WITH MAX_USER_CONNECTIONS 3;
|
||||
GRANT PROCESS, REPLICATION CLIENT, SLAVE MONITOR, SELECT ON *.* TO 'exporter'@'localhost';
|
||||
'';
|
||||
};
|
||||
};
|
||||
exporterTest = ''
|
||||
wait_for_unit("prometheus-mysqld-exporter.service")
|
||||
wait_for_open_port(9104)
|
||||
wait_for_unit("mysql.service")
|
||||
succeed("curl -sSf http://localhost:9104/metrics | grep 'mysql_up 1'")
|
||||
systemctl("stop mysql.service")
|
||||
succeed("curl -sSf http://localhost:9104/metrics | grep 'mysql_up 0'")
|
||||
systemctl("start mysql.service")
|
||||
wait_for_unit("mysql.service")
|
||||
succeed("curl -sSf http://localhost:9104/metrics | grep 'mysql_up 1'")
|
||||
'';
|
||||
};
|
||||
|
||||
nextcloud = {
|
||||
exporterConfig = {
|
||||
enable = true;
|
||||
|
@ -5,13 +5,13 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "10.17";
|
||||
version = "10.19";
|
||||
pname = "monkeys-audio";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://monkeysaudio.com/files/MAC_${
|
||||
builtins.concatStringsSep "" (lib.strings.splitString "." version)}_SDK.zip";
|
||||
sha256 = "sha256-yWoYeOGELXub/3kLC51SNPMC91u1aWAtdRsU6fRuX98=";
|
||||
sha256 = "sha256-kuK6Uok5PAK66OtY+Uu1R7g8T7geA9edn2Sv6LN2pXc=";
|
||||
stripRoot = false;
|
||||
};
|
||||
nativeBuildInputs = [
|
||||
|
@ -8,6 +8,7 @@
|
||||
, qtgraphicaleffects
|
||||
, qtquickcontrols2
|
||||
, wrapQtAppsHook
|
||||
, makeWrapper
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@ -24,6 +25,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
wrapQtAppsHook
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
@ -36,7 +38,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
# wrapQtAppsHook doesn't automatically find noson-gui
|
||||
dontWrapQtApps = true;
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/noson-app" --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libpulseaudio ]}
|
||||
wrapQtApp "$out/lib/noson/noson-gui"
|
||||
'';
|
||||
|
||||
|
@ -8,13 +8,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pt2-clone";
|
||||
version = "1.61";
|
||||
version = "1.62.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "8bitbubsy";
|
||||
repo = "pt2-clone";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-V3i6Bn2urd4l3O0GhOobDutnnXBTjYGYb0Bsa5URbxc=";
|
||||
sha256 = "sha256-k2rX5ysV3jgCWn0ffe5xSYo9oO6RLakTapE/SnvOPVI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "lightwalletd";
|
||||
version = "0.4.15";
|
||||
version = "0.4.16";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zcash";
|
||||
repo = "lightwalletd";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-tkM9uTmobKXD7Il/uvmLLckPgdkmgwsNsjlARJQiY5A=";
|
||||
hash = "sha256-M9xfV2T8L+nssrJj29QmPiErNMpfpT8BY/30Vj8wPjY=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-z5Hs+CkPswWhz+Ya5MyHKA3MZzQkvS7WOxNckElkg6U=";
|
||||
|
@ -5,11 +5,11 @@
|
||||
|
||||
let
|
||||
pname = "codux";
|
||||
version = "15.6.1";
|
||||
version = "15.9.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/wixplosives/codux-versions/releases/download/${version}/Codux-${version}.x86_64.AppImage";
|
||||
sha256 = "sha256-a8zv5pVtS80J2PTrUiW8AA3rJ+rPAAzaaT5DVBLK5JE=";
|
||||
sha256 = "sha256-bKZShjWs2osyARBZrBgmEN7JZFi/YpXI3p8lM+GrIfc=";
|
||||
};
|
||||
|
||||
appimageContents = appimageTools.extractType2 { inherit pname version src; };
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -5,12 +5,12 @@
|
||||
{
|
||||
ada = buildGrammar {
|
||||
language = "ada";
|
||||
version = "0.0.0+rev=ba7951a";
|
||||
version = "0.0.0+rev=f67bc66";
|
||||
src = fetchFromGitHub {
|
||||
owner = "briot";
|
||||
repo = "tree-sitter-ada";
|
||||
rev = "ba7951a8f3fb08f9ea923625153e7670c89f30b4";
|
||||
hash = "sha256-Rs+7wSsoV9ol0zV8occOeuvJaIofAe7qDXLmOxrjVw0=";
|
||||
rev = "f67bc6622a9b9bc879b2808164abdbaf99d65d4a";
|
||||
hash = "sha256-jgTHVUC3b0i2k/foNaEZ3UKVkfREUF4oIZ3QIVBbvy0=";
|
||||
};
|
||||
meta.homepage = "https://github.com/briot/tree-sitter-ada";
|
||||
};
|
||||
@ -27,12 +27,12 @@
|
||||
};
|
||||
arduino = buildGrammar {
|
||||
language = "arduino";
|
||||
version = "0.0.0+rev=a2aa2b3";
|
||||
version = "0.0.0+rev=db929fc";
|
||||
src = fetchFromGitHub {
|
||||
owner = "ObserverOfTime";
|
||||
repo = "tree-sitter-arduino";
|
||||
rev = "a2aa2b38301960822c5384cd10a07c2026e9d44e";
|
||||
hash = "sha256-VtY+SaWIkLHv48jewmU0k1AtPwqpthWbNkpTHtCS98Y=";
|
||||
rev = "db929fc6822b9b9e1211678d508f187894ce0345";
|
||||
hash = "sha256-PXBXtsyqAIgykaU/LLIakokmmWqTdicsUG4A8hA28yU=";
|
||||
};
|
||||
meta.homepage = "https://github.com/ObserverOfTime/tree-sitter-arduino";
|
||||
};
|
||||
@ -60,12 +60,12 @@
|
||||
};
|
||||
bash = buildGrammar {
|
||||
language = "bash";
|
||||
version = "0.0.0+rev=8077be4";
|
||||
version = "0.0.0+rev=8e286e7";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tree-sitter";
|
||||
repo = "tree-sitter-bash";
|
||||
rev = "8077be4c5504f2618f1280295bc4ae20a75988c1";
|
||||
hash = "sha256-i31QbosmsI1CUGAHOqeNGVeqoct13+i24CUtaGwdT7o=";
|
||||
rev = "8e286e7673e3fa7ad94ab3159c2b83395d302af4";
|
||||
hash = "sha256-hM5joJjLxThJBStiTLE71MpIDXblgkRS8G4fmMvKdeY=";
|
||||
};
|
||||
meta.homepage = "https://github.com/tree-sitter/tree-sitter-bash";
|
||||
};
|
||||
@ -280,12 +280,12 @@
|
||||
};
|
||||
css = buildGrammar {
|
||||
language = "css";
|
||||
version = "0.0.0+rev=5f2c94b";
|
||||
version = "0.0.0+rev=fec7d37";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tree-sitter";
|
||||
repo = "tree-sitter-css";
|
||||
rev = "5f2c94b897601b4029fedcce7db4c6d76ce8a128";
|
||||
hash = "sha256-HBCxnetErHqhSJeEIHFTaSqt8aJgJ4+OOgw8p+NDVDo=";
|
||||
rev = "fec7d3757ab8f46a0ffe298be99b16ad5b9fa229";
|
||||
hash = "sha256-f3+pvJtULuJ6SHcmrMYyvreSAeEsq3L2+5V3dhloaj8=";
|
||||
};
|
||||
meta.homepage = "https://github.com/tree-sitter/tree-sitter-css";
|
||||
};
|
||||
@ -337,12 +337,12 @@
|
||||
};
|
||||
dart = buildGrammar {
|
||||
language = "dart";
|
||||
version = "0.0.0+rev=e398400";
|
||||
version = "0.0.0+rev=bcef6d5";
|
||||
src = fetchFromGitHub {
|
||||
owner = "UserNobody14";
|
||||
repo = "tree-sitter-dart";
|
||||
rev = "e398400a0b785af3cf571f5a57eccab242f0cdf9";
|
||||
hash = "sha256-+DFqJFR5raOnNG1oyGfO+tzpBXYBk0BBc8GbEkpEBhU=";
|
||||
rev = "bcef6d57d0dd4df37bc9d8b1920ea4963c724826";
|
||||
hash = "sha256-wTeHw/7og4GJSXISCBSL6foxzecFFB/fK03bzGup0sM=";
|
||||
};
|
||||
meta.homepage = "https://github.com/UserNobody14/tree-sitter-dart";
|
||||
};
|
||||
@ -546,6 +546,17 @@
|
||||
};
|
||||
meta.homepage = "https://github.com/FoamScience/tree-sitter-foam";
|
||||
};
|
||||
forth = buildGrammar {
|
||||
language = "forth";
|
||||
version = "0.0.0+rev=e7d1f8a";
|
||||
src = fetchFromGitHub {
|
||||
owner = "AlexanderBrevig";
|
||||
repo = "tree-sitter-forth";
|
||||
rev = "e7d1f8a351fd5e95d9a89a8e87878c49ca14a5b0";
|
||||
hash = "sha256-AoV/DoQl2j4U0evWrM7ke544sei8VpdednWojwbhicU=";
|
||||
};
|
||||
meta.homepage = "https://github.com/AlexanderBrevig/tree-sitter-forth";
|
||||
};
|
||||
fortran = buildGrammar {
|
||||
language = "fortran";
|
||||
version = "0.0.0+rev=6828cf3";
|
||||
@ -680,12 +691,12 @@
|
||||
};
|
||||
glsl = buildGrammar {
|
||||
language = "glsl";
|
||||
version = "0.0.0+rev=4780c2b";
|
||||
version = "0.0.0+rev=7491ce4";
|
||||
src = fetchFromGitHub {
|
||||
owner = "theHamsta";
|
||||
repo = "tree-sitter-glsl";
|
||||
rev = "4780c2b689a5a5bd0ccfd78403510e9cf4a0f2fc";
|
||||
hash = "sha256-lbdQSqLtjM1AtdmlAebCH0CewYPENIQHb7oyXNuUM6U=";
|
||||
rev = "7491ce41c982ce74a54744ac21a2e4c360325fbb";
|
||||
hash = "sha256-z00CEiWUQhNiUobOjFTzZgAp+/Jkjbma7Rwx6/0orWc=";
|
||||
};
|
||||
meta.homepage = "https://github.com/theHamsta/tree-sitter-glsl";
|
||||
};
|
||||
@ -834,12 +845,12 @@
|
||||
};
|
||||
heex = buildGrammar {
|
||||
language = "heex";
|
||||
version = "0.0.0+rev=9bf4ae4";
|
||||
version = "0.0.0+rev=4a36c9a";
|
||||
src = fetchFromGitHub {
|
||||
owner = "connorlay";
|
||||
repo = "tree-sitter-heex";
|
||||
rev = "9bf4ae444a8779839ecbca3b6b896dee426b10ae";
|
||||
hash = "sha256-ghknZmki1eBSzxY9omZN6wgLpvoJEYXBpvkVxxqLiIc=";
|
||||
rev = "4a36c9a388505180da6ee0eda1d8afb8c83481c8";
|
||||
hash = "sha256-6gdAxNI81jbN8XZALRw31kFQRZg8ge/O7QRprLZpWOg=";
|
||||
};
|
||||
meta.homepage = "https://github.com/connorlay/tree-sitter-heex";
|
||||
};
|
||||
@ -922,12 +933,12 @@
|
||||
};
|
||||
hurl = buildGrammar {
|
||||
language = "hurl";
|
||||
version = "0.0.0+rev=0eca909";
|
||||
version = "0.0.0+rev=cd1a0ad";
|
||||
src = fetchFromGitHub {
|
||||
owner = "pfeiferj";
|
||||
repo = "tree-sitter-hurl";
|
||||
rev = "0eca909c8338364992e04c4862ac6afc5342cbb8";
|
||||
hash = "sha256-6FiLZKnZ2DMS1Gcaelw5bJxflfZSyPzGV1pJfvO1pcM=";
|
||||
rev = "cd1a0ada92cc73dd0f4d7eedc162be4ded758591";
|
||||
hash = "sha256-vu/zK/AILJXPn18TmQSKoap7BtUOwhCxAX9v8ekVrIo=";
|
||||
};
|
||||
meta.homepage = "https://github.com/pfeiferj/tree-sitter-hurl";
|
||||
};
|
||||
@ -966,23 +977,23 @@
|
||||
};
|
||||
java = buildGrammar {
|
||||
language = "java";
|
||||
version = "0.0.0+rev=0b3f9cf";
|
||||
version = "0.0.0+rev=38be6ec";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tree-sitter";
|
||||
repo = "tree-sitter-java";
|
||||
rev = "0b3f9cfe10a973df0530533313fdbef6c2c92bfa";
|
||||
hash = "sha256-dSRXjHfJOCrwm6HXlEz+prlKH7k+5B99S8vWyH49KzQ=";
|
||||
rev = "38be6eccc1b86d6ec5dca0976659e807fd4dc28d";
|
||||
hash = "sha256-0kOLAVsrCUfpU8sZGRVrr+D3bGWj8bH2qce/ygrIw2w=";
|
||||
};
|
||||
meta.homepage = "https://github.com/tree-sitter/tree-sitter-java";
|
||||
};
|
||||
javascript = buildGrammar {
|
||||
language = "javascript";
|
||||
version = "0.0.0+rev=c69aaba";
|
||||
version = "0.0.0+rev=f1e5a09";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tree-sitter";
|
||||
repo = "tree-sitter-javascript";
|
||||
rev = "c69aabab53609d00e8e198ab902e4fde4b8e449f";
|
||||
hash = "sha256-6cyKT4yASueb+nNj8EqZbF7LZYZasMOYvq5ki2a0zQk=";
|
||||
rev = "f1e5a09b8d02f8209a68249c93f0ad647b228e6e";
|
||||
hash = "sha256-VbK2asd1CavcBYGia30MomQh+KOgKgz5ax10V6nEVEs=";
|
||||
};
|
||||
meta.homepage = "https://github.com/tree-sitter/tree-sitter-javascript";
|
||||
};
|
||||
@ -999,12 +1010,12 @@
|
||||
};
|
||||
jsdoc = buildGrammar {
|
||||
language = "jsdoc";
|
||||
version = "0.0.0+rev=189a6a4";
|
||||
version = "0.0.0+rev=d01984d";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tree-sitter";
|
||||
repo = "tree-sitter-jsdoc";
|
||||
rev = "189a6a4829beb9cdbe837260653b4a3dfb0cc3db";
|
||||
hash = "sha256-Zhl9mEpJE9Qy3MVScE2JK4i8OFZUXl5KMhKMS4bw+mI=";
|
||||
rev = "d01984de49927c979b46ea5c01b78c8ddd79baf9";
|
||||
hash = "sha256-O7iDoOlXi+HLesS/sKcYfb+EJLR6gfRkwA657aRRg4c=";
|
||||
};
|
||||
meta.homepage = "https://github.com/tree-sitter/tree-sitter-jsdoc";
|
||||
};
|
||||
@ -1054,12 +1065,12 @@
|
||||
};
|
||||
julia = buildGrammar {
|
||||
language = "julia";
|
||||
version = "0.0.0+rev=ab0f70c";
|
||||
version = "0.0.0+rev=bb7e587";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tree-sitter";
|
||||
repo = "tree-sitter-julia";
|
||||
rev = "ab0f70c0a919d38b41822305a8ca80e527c94e4f";
|
||||
hash = "sha256-+rD3kL3nSzdsj/P6pWf5i+XQugZsxUc0vz6JZIk/lr8=";
|
||||
rev = "bb7e587837fdeda74dd510256253d60f59a1e2cd";
|
||||
hash = "sha256-rtv2rNBUYcp8vwicMbX2ZQBB1vH7SKc+Lsc0LF1oFYA=";
|
||||
};
|
||||
meta.homepage = "https://github.com/tree-sitter/tree-sitter-julia";
|
||||
};
|
||||
@ -1221,12 +1232,12 @@
|
||||
};
|
||||
matlab = buildGrammar {
|
||||
language = "matlab";
|
||||
version = "0.0.0+rev=c8723b3";
|
||||
version = "0.0.0+rev=6071891";
|
||||
src = fetchFromGitHub {
|
||||
owner = "acristoffers";
|
||||
repo = "tree-sitter-matlab";
|
||||
rev = "c8723b33970deda54257e640779714fb181d4d5f";
|
||||
hash = "sha256-iSpOB5hnd7iKmuhAzAYYbFgP5MiiD57yvAHHG8PS9HA=";
|
||||
rev = "6071891a8c39600203eba20513666cf93b4d650a";
|
||||
hash = "sha256-H6eCCZtE1MbSpHyvdcVbG3piBijM499imiNDIhCoTJA=";
|
||||
};
|
||||
meta.homepage = "https://github.com/acristoffers/tree-sitter-matlab";
|
||||
};
|
||||
@ -1675,6 +1686,17 @@
|
||||
};
|
||||
meta.homepage = "https://github.com/Fymyte/tree-sitter-rasi";
|
||||
};
|
||||
re2c = buildGrammar {
|
||||
language = "re2c";
|
||||
version = "0.0.0+rev=47aa19c";
|
||||
src = fetchFromGitHub {
|
||||
owner = "amaanq";
|
||||
repo = "tree-sitter-re2c";
|
||||
rev = "47aa19cf5f7aba2ed30e2b377f7172df76e819a6";
|
||||
hash = "sha256-Mwnm8kN0xfAdGG00aUYrqPU0zyWbc6QH9Zlgb4on+do=";
|
||||
};
|
||||
meta.homepage = "https://github.com/amaanq/tree-sitter-re2c";
|
||||
};
|
||||
regex = buildGrammar {
|
||||
language = "regex";
|
||||
version = "0.0.0+rev=2354482";
|
||||
@ -1765,23 +1787,23 @@
|
||||
};
|
||||
rust = buildGrammar {
|
||||
language = "rust";
|
||||
version = "0.0.0+rev=0a70e15";
|
||||
version = "0.0.0+rev=39eaeb4";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tree-sitter";
|
||||
repo = "tree-sitter-rust";
|
||||
rev = "0a70e15da977489d954c219af9b50b8a722630ee";
|
||||
hash = "sha256-CrNY+4nsYQOzzVR7X+yuo4+5s6K3VHtVQyWfledKJ1U=";
|
||||
rev = "39eaeb41e17572c17e35bb050d6bf2da17568dbf";
|
||||
hash = "sha256-2WPL7ap2fHEi0+pNnJlHLxKBqPrHsve+DzJSCqw/gpw=";
|
||||
};
|
||||
meta.homepage = "https://github.com/tree-sitter/tree-sitter-rust";
|
||||
};
|
||||
scala = buildGrammar {
|
||||
language = "scala";
|
||||
version = "0.0.0+rev=3a67773";
|
||||
version = "0.0.0+rev=d50b6ca";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tree-sitter";
|
||||
repo = "tree-sitter-scala";
|
||||
rev = "3a67773e205eb43c993cc5d43f633ddb79eb1653";
|
||||
hash = "sha256-S5vXtvdpQMh8Beacpm07zRaHoJCa+ZiH2j5IB6idOng=";
|
||||
rev = "d50b6ca5cc3d925e3d1f497199cb8d8383ddae8a";
|
||||
hash = "sha256-fzruLddcKTqC47CKCZhznDoyGIA1fPdqxqmzgmd9RkM=";
|
||||
};
|
||||
meta.homepage = "https://github.com/tree-sitter/tree-sitter-scala";
|
||||
};
|
||||
@ -1876,12 +1898,12 @@
|
||||
};
|
||||
sql = buildGrammar {
|
||||
language = "sql";
|
||||
version = "0.0.0+rev=3dfa1b1";
|
||||
version = "0.0.0+rev=6fa7161";
|
||||
src = fetchFromGitHub {
|
||||
owner = "derekstride";
|
||||
repo = "tree-sitter-sql";
|
||||
rev = "3dfa1b1fafac51e3ffc39064eafb26b5111861a2";
|
||||
hash = "sha256-sDXYfILv+7/fGIaWp4SOfsjZ67Mi3UPnpt9NEapKZ+M=";
|
||||
rev = "6fa716163fcf183e4938c75f427379ceba881fbe";
|
||||
hash = "sha256-AmfWf7qJyoUVBLxZuIdNSWP1C7GAcKeO9EoV3HFUzwI=";
|
||||
};
|
||||
meta.homepage = "https://github.com/derekstride/tree-sitter-sql";
|
||||
};
|
||||
@ -1907,6 +1929,17 @@
|
||||
};
|
||||
meta.homepage = "https://github.com/amaanq/tree-sitter-starlark";
|
||||
};
|
||||
strace = buildGrammar {
|
||||
language = "strace";
|
||||
version = "0.0.0+rev=ef4a74c";
|
||||
src = fetchFromGitHub {
|
||||
owner = "sigmaSd";
|
||||
repo = "tree-sitter-strace";
|
||||
rev = "ef4a74c43565572db9c06596d99ccb0210db13e5";
|
||||
hash = "sha256-H/zu440AcF1l0yW4a3PEMfUMsJUxW0UEohOQPlX1rD0=";
|
||||
};
|
||||
meta.homepage = "https://github.com/sigmaSd/tree-sitter-strace";
|
||||
};
|
||||
supercollider = buildGrammar {
|
||||
language = "supercollider";
|
||||
version = "0.0.0+rev=3b35bd0";
|
||||
@ -2268,12 +2301,12 @@
|
||||
};
|
||||
wing = buildGrammar {
|
||||
language = "wing";
|
||||
version = "0.0.0+rev=f30b02c";
|
||||
version = "0.0.0+rev=8efecc2";
|
||||
src = fetchFromGitHub {
|
||||
owner = "winglang";
|
||||
repo = "wing";
|
||||
rev = "f30b02c4bf363b797de39ae63375a4f357718ae9";
|
||||
hash = "sha256-562MgzH/hGvCBctNj34jXrsmwHXJt4Hxb2lsZ/IeN74=";
|
||||
rev = "8efecc27b58d3266e3946ea5c8fb8b3ef853914d";
|
||||
hash = "sha256-A/GXdXvOkSu9DI6h1EZNrfciYGtsSJ68uU0M2akaUKU=";
|
||||
};
|
||||
location = "libs/tree-sitter-wing";
|
||||
generate = true;
|
||||
|
@ -966,7 +966,7 @@ self: super: {
|
||||
pname = "sg-nvim-rust";
|
||||
inherit (old) version src;
|
||||
|
||||
cargoHash = "sha256-f14cGAGZFs4DG8FBKYDz1NY38TOuENW9Co2fywGc74E=";
|
||||
cargoHash = "sha256-qwllMt4va9j8Sfh2+xYcfRtQgypNKZLDT3gRD7dUQ+w=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
|
@ -628,7 +628,7 @@ https://github.com/norcalli/nvim-terminal.lua/,,
|
||||
https://github.com/klen/nvim-test/,,
|
||||
https://github.com/kyazdani42/nvim-tree.lua/,,
|
||||
https://github.com/nvim-treesitter/nvim-treesitter/,,
|
||||
https://github.com/romgrk/nvim-treesitter-context/,,
|
||||
https://github.com/nvim-treesitter/nvim-treesitter-context/,,
|
||||
https://github.com/RRethy/nvim-treesitter-endwise/,HEAD,
|
||||
https://github.com/eddiebergman/nvim-treesitter-pyfold/,,
|
||||
https://github.com/nvim-treesitter/nvim-treesitter-refactor/,,
|
||||
@ -696,11 +696,13 @@ https://github.com/purescript-contrib/purescript-vim/,,
|
||||
https://github.com/python-mode/python-mode/,,
|
||||
https://github.com/vim-python/python-syntax/,,
|
||||
https://github.com/AlphaTechnolog/pywal.nvim/,,
|
||||
https://github.com/quarto-dev/quarto-nvim/,,
|
||||
https://github.com/unblevable/quick-scope/,,
|
||||
https://github.com/stefandtw/quickfix-reflector.vim/,,
|
||||
https://github.com/dannyob/quickfixstatus/,,
|
||||
https://github.com/jbyuki/quickmath.nvim/,HEAD,
|
||||
https://github.com/luochen1990/rainbow/,,
|
||||
https://gitlab.com/HiPhish/rainbow-delimiters.nvim,HEAD,
|
||||
https://github.com/kien/rainbow_parentheses.vim/,,
|
||||
https://github.com/vim-scripts/random.vim/,,
|
||||
https://github.com/winston0410/range-highlight.nvim/,,
|
||||
@ -873,7 +875,6 @@ https://github.com/catppuccin/vim/,HEAD,catppuccin-vim
|
||||
https://github.com/inkarkat/vim-AdvancedSorters/,,vim-advanced-sorters
|
||||
https://github.com/Konfekt/vim-CtrlXA/,,
|
||||
https://github.com/konfekt/vim-DetectSpellLang/,,
|
||||
https://github.com/fadein/vim-figlet/,HEAD,
|
||||
https://github.com/dpelle/vim-LanguageTool/,,
|
||||
https://github.com/inkarkat/vim-ReplaceWithRegister/,,
|
||||
https://github.com/inkarkat/vim-ReplaceWithSameIndentRegister/,,
|
||||
@ -993,6 +994,7 @@ https://github.com/tommcdo/vim-exchange/,,
|
||||
https://github.com/terryma/vim-expand-region/,,
|
||||
https://github.com/int3/vim-extradite/,,
|
||||
https://github.com/wsdjeg/vim-fetch/,,
|
||||
https://github.com/fadein/vim-figlet/,HEAD,
|
||||
https://github.com/tpope/vim-fireplace/,,
|
||||
https://github.com/dag/vim-fish/,,
|
||||
https://github.com/tpope/vim-flagship/,,
|
||||
|
@ -2961,6 +2961,7 @@ let
|
||||
downloadPage = "https://marketplace.visualstudio.com/items?itemName=RoweWilsonFrederiskHolme.wikitext";
|
||||
homepage = "https://github.com/Frederisk/Wikitext-VSCode-Extension";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.rapiteanu ];
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -15,13 +15,13 @@ assert withDynarec -> stdenv.hostPlatform.isAarch64;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "box64";
|
||||
version = "0.2.2";
|
||||
version = "0.2.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ptitSeb";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-aIvL0H0k0/lz2lCLxB17RxNm0cxVozYthy0z85/FuUE=";
|
||||
hash = "sha256-iCZv/WvqZkH6i23fSLA/p0nG5/CgzjyU5glVgje4c3w=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -9,16 +9,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "felix";
|
||||
version = "2.7.0";
|
||||
version = "2.8.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kyoheiu";
|
||||
repo = pname;
|
||||
repo = "felix";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-3oXF9BG3BjGOeXqJHo3+fpcqcTOKrLED7Y3VQ06tnNA=";
|
||||
hash = "sha256-d01AbHAIelwjVnVX5hn4QY0sp9n9Ez4ImYqNO/RBmEU=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-2XMVappHbf1ZPtQO8zy8Z0n9wshDM4d30qkmG8OBoUY=";
|
||||
cargoHash = "sha256-n8cVdGvh3/lQ6pF0ukxsog+XpIdpjuxGcgkDkM/3IFk=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
|
@ -8,16 +8,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "artem";
|
||||
version = "2.0.1_2";
|
||||
version = "2.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "finefindus";
|
||||
repo = "artem";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-R7ouOFeLKnTZI6NbAg8SkkSo4zh9AwPiMPNqhPthpCk=";
|
||||
hash = "sha256-t8L1lylaacEHGg3wxVgiB2XmBHDGzql774oHrg/vUC0=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-sbIINbuIbu38NrYr87ljJJD7Y9Px0o6Qv/MGX8N54Rc=";
|
||||
cargoHash = "sha256-rsgl8g6AqNmdq2gJ3PHvKMb7eid8ewtheajGWSWbeBw=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
@ -36,11 +36,6 @@ rustPlatform.buildRustPackage rec {
|
||||
"--skip=full_file_compare_html"
|
||||
];
|
||||
|
||||
# Cargo.lock is outdated
|
||||
postConfigure = ''
|
||||
cargo metadata --offline
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
installManPage $releaseDir/build/artem-*/out/artem.1
|
||||
installShellCompletion $releaseDir/build/artem-*/out/artem.{bash,fish} \
|
||||
|
@ -1,12 +1,12 @@
|
||||
{ lib, stdenv, fetchurl, appimageTools, makeWrapper, electron_22 }:
|
||||
{ lib, stdenv, fetchurl, appimageTools, makeWrapper, electron_25 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "blockbench-electron";
|
||||
version = "4.5.2";
|
||||
version = "4.8.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/JannisX11/blockbench/releases/download/v${version}/Blockbench_${version}.AppImage";
|
||||
sha256 = "sha256-uUgVBdYMCF31+L/FV4ADIpUdEAmnW59KfscQxUStPWM=";
|
||||
sha256 = "sha256-CE2wDOt1WBcYmPs4sEyZ3LYvKLequFZH0B3huMYHlwA=";
|
||||
name = "${pname}-${version}.AppImage";
|
||||
};
|
||||
|
||||
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
makeWrapper ${electron_22}/bin/electron $out/bin/${pname} \
|
||||
makeWrapper ${electron_25}/bin/electron $out/bin/${pname} \
|
||||
--add-flags $out/share/${pname}/resources/app.asar \
|
||||
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc ]}"
|
||||
'';
|
||||
|
@ -25,13 +25,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xournalpp";
|
||||
version = "1.2.0";
|
||||
version = "1.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "xournalpp";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-0xsNfnKdGl34qeN0KZbII9w6PzC1HvvO7mtlNlRvUqQ=";
|
||||
sha256 = "sha256-dnFNGWPpK/eoW4Ib1E5w/kPy5okPxAja1v4rf0KpVKM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake gettext pkg-config wrapGAppsHook ];
|
||||
|
@ -2,7 +2,7 @@
|
||||
mkDerivation, lib, kdepimTeam,
|
||||
extra-cmake-modules, kdoctools,
|
||||
akonadi, akonadi-contacts, kcalendarcore, kcalutils, kcontacts,
|
||||
kidentitymanagement, kio, kmailtransport,
|
||||
kidentitymanagement, kio, kmailtransport, messagelib
|
||||
}:
|
||||
|
||||
mkDerivation {
|
||||
@ -14,7 +14,7 @@ mkDerivation {
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
propagatedBuildInputs = [
|
||||
akonadi akonadi-contacts kcalendarcore kcalutils kcontacts kidentitymanagement
|
||||
kio kmailtransport
|
||||
kio kmailtransport messagelib
|
||||
];
|
||||
outputs = [ "out" "dev" ];
|
||||
postInstall = ''
|
||||
|
@ -4,6 +4,7 @@
|
||||
, cmake
|
||||
, corrosion
|
||||
, extra-cmake-modules
|
||||
, futuresql
|
||||
, kconfig
|
||||
, kcoreaddons
|
||||
, kdbusaddons
|
||||
@ -13,6 +14,7 @@
|
||||
, knotifications
|
||||
, kpurpose
|
||||
, kwindowsystem
|
||||
, qcoro
|
||||
, qtfeedback
|
||||
, qtquickcontrols2
|
||||
, qqc2-desktop-style
|
||||
@ -22,7 +24,7 @@
|
||||
, srcs
|
||||
|
||||
# provided as callPackage input to enable easier overrides through overlays
|
||||
, cargoSha256 ? "sha256-Wthw7foadXO6jYJO1TB4OOYtpwnp8iCdda4tdiYg41A="
|
||||
, cargoSha256 ? "sha256-FI94TU3MgIl1tcjwJnzb2PKO1rbZ3uRB1mzXXkNU95I="
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
@ -45,6 +47,7 @@ mkDerivation rec {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
futuresql
|
||||
kconfig
|
||||
kcoreaddons
|
||||
kdbusaddons
|
||||
@ -54,6 +57,7 @@ mkDerivation rec {
|
||||
knotifications
|
||||
kpurpose
|
||||
kwindowsystem
|
||||
qcoro
|
||||
qtfeedback
|
||||
qtquickcontrols2
|
||||
qqc2-desktop-style
|
||||
|
@ -1,51 +1,52 @@
|
||||
{ lib
|
||||
, mkDerivation
|
||||
, fetchurl
|
||||
, cmake
|
||||
, extra-cmake-modules
|
||||
, pkg-config
|
||||
, baloo
|
||||
, kfilemetadata
|
||||
, kirigami2
|
||||
, kirigami-addons
|
||||
, kitemmodels
|
||||
, kquickcharts
|
||||
, plasma-framework
|
||||
, qqc2-desktop-style
|
||||
, qtbase
|
||||
, qtdeclarative
|
||||
, qtquickcontrols2
|
||||
, qtwebsockets
|
||||
, qtwebchannel
|
||||
, qtwebengine
|
||||
, qtwebsockets
|
||||
, baloo
|
||||
, karchive
|
||||
, kconfig
|
||||
, kcoreaddons
|
||||
, kdbusaddons
|
||||
, kfilemetadata
|
||||
, ki18n
|
||||
, kirigami-addons
|
||||
, kquickcharts
|
||||
, kwindowsystem
|
||||
, qqc2-desktop-style
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
mkDerivation {
|
||||
pname = "arianna";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kde/stable/arianna/arianna-${version}.tar.xz";
|
||||
hash = "sha256-C60PujiUTyw2DwImu8PVmU687CP9CuWZ+d8LuZKthKY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
baloo
|
||||
kfilemetadata
|
||||
kirigami2
|
||||
kirigami-addons
|
||||
kitemmodels
|
||||
kquickcharts
|
||||
plasma-framework
|
||||
qqc2-desktop-style
|
||||
qtbase
|
||||
qtdeclarative
|
||||
qtquickcontrols2
|
||||
qtwebsockets
|
||||
qtwebchannel
|
||||
qtwebengine
|
||||
qtwebsockets
|
||||
baloo
|
||||
karchive
|
||||
kconfig
|
||||
kcoreaddons
|
||||
kdbusaddons
|
||||
kfilemetadata
|
||||
ki18n
|
||||
kirigami-addons
|
||||
kquickcharts
|
||||
kwindowsystem
|
||||
qqc2-desktop-style
|
||||
];
|
||||
|
||||
meta = with lib; {
|
@ -4,12 +4,14 @@
|
||||
, extra-cmake-modules
|
||||
, wrapGAppsHook
|
||||
|
||||
, futuresql
|
||||
, gst_all_1
|
||||
, kcoreaddons
|
||||
, kcrash
|
||||
, ki18n
|
||||
, kirigami2
|
||||
, kirigami-addons
|
||||
, qcoro
|
||||
, qtimageformats
|
||||
, qtmultimedia
|
||||
, qtquickcontrols2
|
||||
@ -27,11 +29,13 @@ mkDerivation rec {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
futuresql
|
||||
kcoreaddons
|
||||
kcrash
|
||||
ki18n
|
||||
kirigami2
|
||||
kirigami-addons
|
||||
qcoro
|
||||
qtimageformats
|
||||
qtmultimedia
|
||||
qtquickcontrols2
|
||||
|
@ -93,12 +93,7 @@ mkDerivation {
|
||||
|
||||
qtWrapperArgs = [
|
||||
"--prefix PATH : ${placeholder "out"}/bin"
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString withSage ''
|
||||
wrapProgram $out/share/cantor/sagebackend/cantor-execsage \
|
||||
--prefix PATH : ${sage-with-env}/bin
|
||||
'';
|
||||
] ++ lib.optional withSage "--prefix PATH : ${sage-with-env}/bin";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Front end to powerful mathematics and statistics packages";
|
||||
|
@ -73,6 +73,7 @@ let
|
||||
akonadiconsole = callPackage ./akonadiconsole.nix {};
|
||||
akregator = callPackage ./akregator.nix {};
|
||||
analitza = callPackage ./analitza.nix {};
|
||||
arianna = callPackage ./arianna.nix {};
|
||||
ark = callPackage ./ark {};
|
||||
baloo-widgets = callPackage ./baloo-widgets.nix {};
|
||||
bomber = callPackage ./bomber.nix {};
|
||||
@ -99,7 +100,7 @@ let
|
||||
kaccounts-providers = callPackage ./kaccounts-providers.nix {};
|
||||
kaddressbook = callPackage ./kaddressbook.nix {};
|
||||
kalarm = callPackage ./kalarm.nix {};
|
||||
kalendar = callPackage ./kalendar.nix {};
|
||||
merkuro = callPackage ./merkuro.nix {};
|
||||
kalzium = callPackage ./kalzium.nix {};
|
||||
kamoso = callPackage ./kamoso.nix {};
|
||||
kapman = callPackage ./kapman.nix {};
|
||||
@ -134,7 +135,6 @@ let
|
||||
kdiamond = callPackage ./kdiamond.nix {};
|
||||
keditbookmarks = callPackage ./keditbookmarks.nix {};
|
||||
kfind = callPackage ./kfind.nix {};
|
||||
kfloppy = callPackage ./kfloppy.nix {};
|
||||
kgeography = callPackage ./kgeography.nix {};
|
||||
kget = callPackage ./kget.nix {};
|
||||
kgpg = callPackage ./kgpg.nix {};
|
||||
|
@ -1 +1 @@
|
||||
WGET_ARGS=( https://download.kde.org/stable/release-service/23.04.3/src -A '*.tar.xz' )
|
||||
WGET_ARGS=( https://download.kde.org/stable/release-service/23.08.0/src -A '*.tar.xz' )
|
||||
|
@ -17,6 +17,7 @@
|
||||
, knotifyconfig
|
||||
, kplotting
|
||||
, ktextwidgets
|
||||
, mediainfo
|
||||
, mlt
|
||||
, shared-mime-info
|
||||
, libv4l
|
||||
@ -58,6 +59,7 @@ mkDerivation {
|
||||
knotifyconfig
|
||||
kplotting
|
||||
ktextwidgets
|
||||
mediainfo
|
||||
mlt
|
||||
phonon-backend-gstreamer
|
||||
qtdeclarative
|
||||
@ -77,9 +79,11 @@ mkDerivation {
|
||||
# Both MLT and FFMpeg paths must be set or Kdenlive will complain that it
|
||||
# doesn't find them. See:
|
||||
# https://github.com/NixOS/nixpkgs/issues/83885
|
||||
patches = [ ./mlt-path.patch ./ffmpeg-path.patch ];
|
||||
inherit mlt;
|
||||
patches = [ ./dependency-paths.patch ];
|
||||
|
||||
inherit mlt mediainfo;
|
||||
ffmpeg = ffmpeg-full;
|
||||
|
||||
postPatch =
|
||||
# Module Qt5::Concurrent must be included in `find_package` before it is used.
|
||||
''
|
||||
|
46
pkgs/applications/kde/kdenlive/dependency-paths.patch
Normal file
46
pkgs/applications/kde/kdenlive/dependency-paths.patch
Normal file
@ -0,0 +1,46 @@
|
||||
diff --git a/src/kdenlivesettings.kcfg b/src/kdenlivesettings.kcfg
|
||||
index 029849e5f..8befe4888 100644
|
||||
--- a/src/kdenlivesettings.kcfg
|
||||
+++ b/src/kdenlivesettings.kcfg
|
||||
@@ -517,7 +517,7 @@
|
||||
<group name="env">
|
||||
<entry name="mltpath" type="Path">
|
||||
<label>Mlt framework install path.</label>
|
||||
- <default></default>
|
||||
+ <default>@mlt@/share/mlt/profiles</default>
|
||||
</entry>
|
||||
|
||||
<entry name="kdenliverendererpath" type="Path">
|
||||
@@ -527,27 +527,27 @@
|
||||
|
||||
<entry name="meltpath" type="Path">
|
||||
<label>Mlt melt renderer install path.</label>
|
||||
- <default></default>
|
||||
+ <default>@mlt@/bin/melt</default>
|
||||
</entry>
|
||||
|
||||
<entry name="ffmpegpath" type="Path">
|
||||
<label>FFmpeg / Libav binary path.</label>
|
||||
- <default></default>
|
||||
+ <default>@ffmpeg@/bin/ffmpeg</default>
|
||||
</entry>
|
||||
|
||||
<entry name="ffplaypath" type="Path">
|
||||
<label>FFplay / avplay binary path.</label>
|
||||
- <default></default>
|
||||
+ <default>@ffmpeg@/bin/ffplay</default>
|
||||
</entry>
|
||||
|
||||
<entry name="ffprobepath" type="Path">
|
||||
<label>FFprobe / avprobe binary path.</label>
|
||||
- <default></default>
|
||||
+ <default>@ffmpeg@/bin/ffprobe</default>
|
||||
</entry>
|
||||
|
||||
<entry name="mediainfopath" type="Path">
|
||||
<label>mediaInfo binary path.</label>
|
||||
- <default></default>
|
||||
+ <default>@mediainfo@/bin/mediainfo</default>
|
||||
</entry>
|
||||
|
||||
<entry name="processingthreads" type="Int">
|
@ -1,25 +0,0 @@
|
||||
diff --git a/src/kdenlivesettings.kcfg b/src/kdenlivesettings.kcfg
|
||||
index 5edad5ae7..d35347a40 100644
|
||||
--- a/src/kdenlivesettings.kcfg
|
||||
+++ b/src/kdenlivesettings.kcfg
|
||||
@@ -403,17 +403,17 @@
|
||||
|
||||
<entry name="ffmpegpath" type="Path">
|
||||
<label>FFmpeg / Libav binary path.</label>
|
||||
- <default></default>
|
||||
+ <default>@ffmpeg@/bin/ffmpeg</default>
|
||||
</entry>
|
||||
|
||||
<entry name="ffplaypath" type="Path">
|
||||
<label>FFplay / avplay binary path.</label>
|
||||
- <default></default>
|
||||
+ <default>@ffmpeg@/bin/ffplay</default>
|
||||
</entry>
|
||||
|
||||
<entry name="ffprobepath" type="Path">
|
||||
<label>FFprobe / avprobe binary path.</label>
|
||||
- <default></default>
|
||||
+ <default>@ffmpeg@/bin/ffprobe</default>
|
||||
</entry>
|
||||
|
||||
<entry name="mltthreads" type="Int">
|
@ -1,22 +0,0 @@
|
||||
diff -ruN old/src/kdenlivesettings.kcfg new/src/kdenlivesettings.kcfg
|
||||
--- old/src/kdenlivesettings.kcfg 2019-09-10 23:20:27.555392353 -0400
|
||||
+++ new/src/kdenlivesettings.kcfg 2019-09-10 23:25:47.533964155 -0400
|
||||
@@ -378,14 +378,14 @@
|
||||
</group>
|
||||
|
||||
<group name="env">
|
||||
- <entry name="mltpath" type="Path">
|
||||
+ <entry name="mltpath" type="Path" hidden="true">
|
||||
<label>Mlt framework install path.</label>
|
||||
- <default></default>
|
||||
+ <default>@mlt@/share/mlt/profiles</default>
|
||||
</entry>
|
||||
|
||||
- <entry name="rendererpath" type="Path">
|
||||
+ <entry name="rendererpath" type="Path" hidden="true">
|
||||
<label>Mlt melt renderer install path.</label>
|
||||
- <default></default>
|
||||
+ <default>@mlt@/bin/melt</default>
|
||||
</entry>
|
||||
|
||||
<entry name="ffmpegpath" type="Path">
|
@ -1,20 +0,0 @@
|
||||
{ mkDerivation, lib, extra-cmake-modules, kdoctools, kcompletion, kxmlgui }:
|
||||
|
||||
mkDerivation {
|
||||
pname = "kfloppy";
|
||||
meta = with lib; {
|
||||
homepage = "https://kde.org/applications/en/utilities/org.kde.kfloppy";
|
||||
description = "Utility to format 3.5\" and 5.25\" floppy disks";
|
||||
maintainers = with maintainers; [ freezeboy ];
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
];
|
||||
buildInputs = [
|
||||
kdoctools
|
||||
kcompletion
|
||||
kxmlgui
|
||||
];
|
||||
}
|
@ -41,8 +41,8 @@
|
||||
, messagelib
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "kalendar";
|
||||
mkDerivation {
|
||||
pname = "merkuro";
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
@ -89,14 +89,11 @@ mkDerivation rec {
|
||||
];
|
||||
|
||||
propagatedUserEnvPkgs = [ akonadi kdepim-runtime akonadi-search ];
|
||||
postFixup = ''
|
||||
wrapProgram "$out/bin/kalendar" \
|
||||
--prefix PATH : "${lib.makeBinPath [ akonadi kdepim-runtime akonadi-search ]}"
|
||||
'';
|
||||
qtWrapperArgs = [''--prefix PATH : "${lib.makeBinPath [ akonadi kdepim-runtime akonadi-search ]}"''];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A calendar application using Akonadi to sync with external services (Nextcloud, GMail, ...)";
|
||||
homepage = "https://apps.kde.org/kalendar/";
|
||||
homepage = "https://invent.kde.org/pim/merkuro";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ Thra11 ];
|
||||
platforms = platforms.linux;
|
@ -1,6 +1,5 @@
|
||||
{ mkDerivation
|
||||
, lib
|
||||
, fetchpatch
|
||||
|
||||
, cmake
|
||||
, extra-cmake-modules
|
||||
@ -33,14 +32,6 @@
|
||||
mkDerivation {
|
||||
pname = "neochat";
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "libquotient-0.8.patch";
|
||||
url = "https://invent.kde.org/network/neochat/-/commit/d9d5e17be2a2057ab2ee545561fab721cb211f7f.patch";
|
||||
hash = "sha256-y1PEehFCW+69OH8YvL3SUGOb8Hhyf8xwRvSZzJ5J5Wc=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
|
@ -1,15 +1,15 @@
|
||||
{ lib
|
||||
, mkDerivation
|
||||
, fetchurl
|
||||
, extra-cmake-modules
|
||||
, kirigami2
|
||||
, ktextwidgets
|
||||
, libksane
|
||||
, qtquickcontrols2
|
||||
, kpurpose
|
||||
, kquickimageedit
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
mkDerivation {
|
||||
pname = "skanpage";
|
||||
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
@ -20,13 +20,13 @@ mkDerivation rec {
|
||||
libksane
|
||||
qtquickcontrols2
|
||||
kpurpose
|
||||
kquickimageedit
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "KDE utility to scan images and multi-page documents";
|
||||
homepage = "https://apps.kde.org/skanpage";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -5,21 +5,12 @@
|
||||
, knotifications, kscreen, kwidgetsaddons, kwindowsystem, kxmlgui, libkipi
|
||||
, qtx11extras, knewstuff, kwayland, qttools, kcolorpicker, kimageannotator
|
||||
, qcoro, qtquickcontrols2, wayland, plasma-wayland-protocols, kpurpose, kpipewire
|
||||
, wrapGAppsHook, fetchpatch
|
||||
, wrapGAppsHook
|
||||
}:
|
||||
|
||||
mkDerivation {
|
||||
pname = "spectacle";
|
||||
|
||||
patches = [
|
||||
# backport fix for region capture with multi-display high-dpi setups
|
||||
# FIXME: remove in 23.08
|
||||
(fetchpatch {
|
||||
url = "https://invent.kde.org/graphics/spectacle/-/commit/d0886c85445fad227b256152a549cb33bd97b776.patch";
|
||||
hash = "sha256-t0+X1pzjlS2OWduMwQBoYbjh+o/SF4hOkAqzz/MJw3E=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
|
||||
buildInputs = [
|
||||
kconfig kcoreaddons kdbusaddons kdeclarative ki18n kio knotifications
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -20,6 +20,7 @@
|
||||
, qtwebsockets
|
||||
, kitemmodels
|
||||
, pimcommon
|
||||
, mpv
|
||||
}:
|
||||
|
||||
mkDerivation {
|
||||
@ -47,6 +48,7 @@ mkDerivation {
|
||||
qtwebsockets
|
||||
kitemmodels
|
||||
pimcommon
|
||||
mpv
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -12,12 +12,12 @@ let
|
||||
if extension == "zip" then fetchzip args else fetchurl args;
|
||||
|
||||
pname = "1password-cli";
|
||||
version = "2.19.0";
|
||||
version = "2.20.0";
|
||||
sources = rec {
|
||||
aarch64-linux = fetch "linux_arm64" "sha256-/sP5Z52fWkRcv+Wj45HTV1Ckve+jA92m91kGGJwdC6s=" "zip";
|
||||
i686-linux = fetch "linux_386" "sha256-UGPWk0I/nCaqWWz/rwG/TSDie0/tarKroGi+7Ge7kE4=" "zip";
|
||||
x86_64-linux = fetch "linux_amd64" "sha256-rSZM0GuroSqVokhkjPtk3+2+C9w5/Tkh2cvB+kShyHY=" "zip";
|
||||
aarch64-darwin = fetch "apple_universal" "sha256-3zVD8LUdxhzroLlnQCiCVELEQMPmCriRff85ZlfgSKI=" "pkg";
|
||||
aarch64-linux = fetch "linux_arm64" "sha256-D9cPNtHiofY/Fb2EO+AGexRSqY+AidZm0D9+9W9dCUY=" "zip";
|
||||
i686-linux = fetch "linux_386" "sha256-sY8kI4InFGZIFoz5rfvNMxA9C4u6Qcg3vNTsoY7X6OY=" "zip";
|
||||
x86_64-linux = fetch "linux_amd64" "sha256-TkfEh75k3KzvvInPAsYDhS2OIKQpBOCaT6qRIld+wQ8=" "zip";
|
||||
aarch64-darwin = fetch "apple_universal" "sha256-kytAXelvvP+SBaniHlo9JTK1LLRrefgLuWPhC8sC7U8=" "pkg";
|
||||
x86_64-darwin = aarch64-darwin;
|
||||
};
|
||||
platforms = builtins.attrNames sources;
|
||||
|
@ -17,13 +17,13 @@ let
|
||||
'';
|
||||
in mkDerivation rec {
|
||||
pname = "deadd-notification-center";
|
||||
version = "2.0.4";
|
||||
version = "2.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "phuhl";
|
||||
repo = "linux_notification_center";
|
||||
rev = version;
|
||||
hash = "sha256-ascg31HsHeXKhvMNntiRLuZ4+T2+fokfDhZ3c8N/Gzg=";
|
||||
hash = "sha256-VU9NaQVS0n8hFRjWMvCMkaF5mZ4hpnluV31+/SAK7tU=";
|
||||
};
|
||||
|
||||
isLibrary = false;
|
||||
|
@ -1,12 +1,12 @@
|
||||
{ appimageTools, lib, fetchurl, stdenv }:
|
||||
{ appimageTools, lib, fetchurl, nix-update-script, stdenv }:
|
||||
let
|
||||
|
||||
pname = "golden-cheetah";
|
||||
version = "3.6-RC4";
|
||||
version = "3.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v${version}/GoldenCheetah_v3.6-DEV_x64.AppImage";
|
||||
hash = "sha256-I5GafK/W1djSx67xrjcMyPqMSqGW9AfrcPYcGcf0Pag=";
|
||||
url = "https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v${version}/GoldenCheetah_v${version}_x64.AppImage";
|
||||
hash = "sha256-PMRUDQSQxbECbF9SPOo03t4Xxj1OtYJAPXEMyyy6EVY=";
|
||||
};
|
||||
|
||||
appimageContents = appimageTools.extract { inherit pname src version; };
|
||||
@ -24,12 +24,14 @@ appimageTools.wrapType2 {
|
||||
cp ${appimageContents}/gc.png $out/share/pixmaps/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Performance software for cyclists, runners and triathletes. This version includes the API Tokens for e.g. Strava";
|
||||
platforms = platforms.linux;
|
||||
platforms = lib.platforms.linux;
|
||||
broken = !stdenv.isx86_64;
|
||||
maintainers = with maintainers; [ gador ];
|
||||
license = licenses.gpl2Plus;
|
||||
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||
maintainers = with lib.maintainers; [ gador adamcstephens ];
|
||||
license = lib.licenses.gpl2Plus;
|
||||
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, fetchFromGitHub, fetchpatch, mkDerivation
|
||||
{ lib, fetchFromGitHub, nix-update-script, mkDerivation
|
||||
, qtbase, qtsvg, qtserialport, qtwebengine, qtmultimedia, qttools
|
||||
, qtconnectivity, qtcharts, libusb-compat-0_1, gsl, blas
|
||||
, bison, flex, zlib, qmake, makeDesktopItem, wrapQtAppsHook
|
||||
@ -16,13 +16,13 @@ let
|
||||
};
|
||||
in mkDerivation rec {
|
||||
pname = "golden-cheetah";
|
||||
version = "3.6-RC4";
|
||||
version = "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "GoldenCheetah";
|
||||
repo = "GoldenCheetah";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-2cwxsfy4Zc9fF3fe6QcZp3LPd2yWw2rDlYrK/QGiJYw=";
|
||||
hash = "sha256-Ntim1/ZPaTPCHQ5p8xF5LWpqq8+OgkPfaQqqysv9j/c=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
@ -72,10 +72,12 @@ in mkDerivation rec {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Performance software for cyclists, runners and triathletes. Built from source and without API tokens";
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ adamcstephens ];
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ adamcstephens ];
|
||||
license = lib.licenses.gpl2Plus;
|
||||
};
|
||||
}
|
||||
|
@ -8,10 +8,10 @@ buildGoModule rec {
|
||||
owner = "tulir";
|
||||
repo = "gopacked";
|
||||
rev = "v${version}";
|
||||
sha256 = "03qr8rlnipziy16nbcpf631jh42gsyv2frdnh8yzsh8lm0p8p4ry";
|
||||
hash = "sha256-PpOLLqgUQf09grZlJ7bXTxAowzDusmVN8PHfaGlGGQ8=";
|
||||
};
|
||||
|
||||
vendorSha256 = "0fklr3lxh8g7gda65wf2wdkqv15869h7m1bwbzbiv8pasrf5b352";
|
||||
vendorHash = "sha256-ooxVXNbqoh3XX3yFemAyqISNZ+PC8WJUe+ch2OnIdDo=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
@ -34,5 +34,6 @@ buildGoModule rec {
|
||||
changelog = "https://github.com/charmbracelet/gum/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ maaslalani ];
|
||||
mainProgram = "gum";
|
||||
};
|
||||
}
|
||||
|
@ -5,11 +5,11 @@
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "mainsail";
|
||||
version = "2.6.2";
|
||||
version = "2.7.1";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/mainsail-crew/mainsail/releases/download/v${version}/mainsail.zip";
|
||||
hash = "sha256-/ej26rLze/QaxGDtU4XhaejlkbkzZfzB+ib2I+3W8Ho=";
|
||||
hash = "sha256-j2ri7PyQGzRlhpgE9qKneX00HwlDmIi2JUremz446wk=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
|
@ -6,11 +6,11 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mediainfo-gui";
|
||||
version = "23.04";
|
||||
version = "23.06";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://mediaarea.net/download/source/mediainfo/${version}/mediainfo_${version}.tar.xz";
|
||||
sha256 = "sha256-Uiut1rHk6LV+giW6e0nvgn35ffTLaLbU/HkQ92xf32k=";
|
||||
hash = "sha256-TJd+6wzoN4co5k7yTyf+YrLFEW+/BUHIJKRDCfgP+Io=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
|
@ -10,13 +10,13 @@
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "skytemple";
|
||||
version = "1.4.7";
|
||||
version = "1.5.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SkyTemple";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-NK0yLxs7/pVpl9LCz6ggYsaUDuEAj6edBEPC+4yCxNM=";
|
||||
hash = "sha256-brt1bNQonAjbqCsMLHgOS8leDb3Y8MWKIxV+BXoJ1lY=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
@ -34,11 +34,6 @@ mkDerivation rec {
|
||||
hash = "sha256-opg4FbfOM48eqWQUJnMHH7KSo6x4S2DHd7ucPw6iTzg=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/gui/imagewidget.h \
|
||||
--replace ksane_version.h KF5/ksane_version.h
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, fetchFromGitHub, python3Packages }:
|
||||
{ lib, fetchFromGitHub, python3Packages, nixosTests }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "toot";
|
||||
@ -20,6 +20,8 @@ python3Packages.buildPythonApplication rec {
|
||||
py.test
|
||||
'';
|
||||
|
||||
passthru.tests.toot = nixosTests.pleroma;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Mastodon CLI interface";
|
||||
homepage = "https://github.com/ihabunek/toot";
|
||||
|
@ -10,28 +10,29 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "usql";
|
||||
version = "0.14.10";
|
||||
version = "0.15.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "xo";
|
||||
repo = "usql";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-4T8h4KPouhjGaeeThCULilzmPs2CVGBpiqXYmtSkCO4=";
|
||||
hash = "sha256-YjRbrhJSbX1OLEc7A72ubg1KtzJSWY0KphD4d8dAKQ8=";
|
||||
};
|
||||
|
||||
buildInputs = [ unixODBC icu ];
|
||||
|
||||
vendorHash = "sha256-a+hcd0vQ0jt3Dp+YnMORe6yIohbmpN22sOUJ6G1i4P4=";
|
||||
vendorHash = "sha256-OZ/eui+LR+Gn1nmu9wryGmz3jiUMuDScmTZ5G8UKWP8=";
|
||||
proxyVendor = true;
|
||||
|
||||
# Exclude broken impala & hive driver
|
||||
# Exclude broken genji, hive & impala drivers (bad group)
|
||||
# These drivers break too often and are not used.
|
||||
#
|
||||
# See https://github.com/xo/usql/pull/347
|
||||
#
|
||||
excludedPackages = [
|
||||
"impala"
|
||||
"genji"
|
||||
"hive"
|
||||
"impala"
|
||||
];
|
||||
|
||||
# These tags and flags are copied from build-release.sh
|
||||
|
@ -47,7 +47,7 @@
|
||||
# Hardening
|
||||
, graphene-hardened-malloc
|
||||
# Whether to use graphene-hardened-malloc
|
||||
, useHardenedMalloc ? true
|
||||
, useHardenedMalloc ? null
|
||||
|
||||
# Whether to disable multiprocess support
|
||||
, disableContentSandbox ? false
|
||||
@ -56,7 +56,10 @@
|
||||
, extraPrefs ? ""
|
||||
}:
|
||||
|
||||
let
|
||||
lib.warnIf (useHardenedMalloc != null)
|
||||
"tor-browser-bundle-bin: useHardenedMalloc is deprecated and enabling it can cause issues"
|
||||
|
||||
(let
|
||||
libPath = lib.makeLibraryPath libPkgs;
|
||||
|
||||
libPkgs = [
|
||||
@ -268,7 +271,7 @@ stdenv.mkDerivation rec {
|
||||
GeoIPv6File $TBB_IN_STORE/TorBrowser/Data/Tor/geoip6
|
||||
EOF
|
||||
|
||||
WRAPPER_LD_PRELOAD=${lib.optionalString useHardenedMalloc
|
||||
WRAPPER_LD_PRELOAD=${lib.optionalString (useHardenedMalloc == true)
|
||||
"${graphene-hardened-malloc}/lib/libhardened_malloc.so"}
|
||||
|
||||
WRAPPER_XDG_DATA_DIRS=${lib.concatMapStringsSep ":" (x: "${x}/share") [
|
||||
@ -477,4 +480,4 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.free;
|
||||
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
@ -1,9 +1,9 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, fetchzip, installShellFiles, stdenv }:
|
||||
|
||||
let
|
||||
version = "2.0.1";
|
||||
sha256 = "1smrqb2y99ml45g2n00lz7cz6vkisahl2jy7mncxvhl7s6wx5acz";
|
||||
manifestsSha256 = "0j8hlggndbbiapa4sxv3rvvhj4g8b1brgq3g55v0d9k6dzq3q6b3";
|
||||
version = "2.1.0";
|
||||
sha256 = "08g9awlgij8privpmzmrg63aygcjqmycr981ak0lkbx5chynlnmn";
|
||||
manifestsSha256 = "06iqmc5rg9l7zwcyg66fvy6h1g4bg1mr496n17piapjiqiv3j3q4";
|
||||
|
||||
manifests = fetchzip {
|
||||
url =
|
||||
@ -23,7 +23,7 @@ in buildGoModule rec {
|
||||
inherit sha256;
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-n0915f9mHExAEsHtplpLSPDJBWU5cFgBQC2ElToNRmA=";
|
||||
vendorSha256 = "sha256-RVHDiJS1MhskVorS/SNZlXWP/oc8OXjUjApeanBkIWQ=";
|
||||
|
||||
postUnpack = ''
|
||||
cp -r ${manifests} source/cmd/flux/manifests
|
||||
|
@ -9,13 +9,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "k3sup";
|
||||
version = "0.12.14";
|
||||
version = "0.12.15";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alexellis";
|
||||
repo = "k3sup";
|
||||
rev = version;
|
||||
sha256 = "sha256-8zXcW1jVNVpFWpVYONjc0cwRQr8YTVbLYIH1IYCe9Nw=";
|
||||
sha256 = "sha256-7eO4QCCgsNWXoo/H0JdMIS7e74p+Ph62OpjBtjmvJKY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper installShellFiles ];
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "kubevpn";
|
||||
version = "1.1.35";
|
||||
version = "1.1.36";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "KubeNetworks";
|
||||
repo = "kubevpn";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-fY0SKluJ1SG323rV7eDdhmDSMn49aITXYyFhR2ArFTw=";
|
||||
sha256 = "sha256-wL6L94NNIPTYeUx+k78cFUdTMo9vIvzoKfXa2anCFQM=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-aU8/C/p/VQ3JYApgr/i5dE/nBs0QjsvXBSMnEmj/Sno=";
|
||||
vendorHash = "sha256-24mw5ku0pQX2QNQPA9E+wowS3y0J+oKiIxuyVGcgBro=";
|
||||
|
||||
# TODO investigate why some config tests are failing
|
||||
doCheck = false;
|
||||
|
@ -110,13 +110,13 @@
|
||||
"vendorHash": null
|
||||
},
|
||||
"aws": {
|
||||
"hash": "sha256-25CTfFwj/RxsFE6gpUxS1X3TbsuRhTZP89WqhsaRp8w=",
|
||||
"hash": "sha256-Wt6rcHCxn1RPIxblL/Y6JWfsmOcloMZ8DMWvoVz/xrI=",
|
||||
"homepage": "https://registry.terraform.io/providers/hashicorp/aws",
|
||||
"owner": "hashicorp",
|
||||
"repo": "terraform-provider-aws",
|
||||
"rev": "v5.13.1",
|
||||
"rev": "v5.14.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-Oir+zn8UNbO3vbl3+QUIlis4K2watmWokaYdD7xGYzI="
|
||||
"vendorHash": "sha256-wF4dsQItVSXpJWBiOmdt/5ZaZeROmIxNW66Ec80PudU="
|
||||
},
|
||||
"azuread": {
|
||||
"hash": "sha256-aLckXkWxMsDS1ddPucAmjFS6+mkwHeAO1+BlPNaF6cI=",
|
||||
@ -128,11 +128,11 @@
|
||||
"vendorHash": null
|
||||
},
|
||||
"azurerm": {
|
||||
"hash": "sha256-Nw0Ep5YbipmupB53uzZHHogseHFAbvurz42Q4fPNw/o=",
|
||||
"hash": "sha256-l26MIkMpB4/vO6r2u7vyepAGxRw8CNPDhcUD/USWteg=",
|
||||
"homepage": "https://registry.terraform.io/providers/hashicorp/azurerm",
|
||||
"owner": "hashicorp",
|
||||
"repo": "terraform-provider-azurerm",
|
||||
"rev": "v3.70.0",
|
||||
"rev": "v3.71.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": null
|
||||
},
|
||||
@ -182,13 +182,13 @@
|
||||
"vendorHash": "sha256-/dOiXO2aPkuZaFiwv/6AXJdIADgx8T7eOwvJfBBoqg8="
|
||||
},
|
||||
"buildkite": {
|
||||
"hash": "sha256-xojTeS+p9XG+wO9thmrSOWrizF56FCg+nwRBdaXqr/4=",
|
||||
"hash": "sha256-LZyfyiPyGToJMMue9049CnMnioJblko/WXt2PSNv4WE=",
|
||||
"homepage": "https://registry.terraform.io/providers/buildkite/buildkite",
|
||||
"owner": "buildkite",
|
||||
"repo": "terraform-provider-buildkite",
|
||||
"rev": "v0.25.1",
|
||||
"rev": "v0.26.0",
|
||||
"spdx": "MIT",
|
||||
"vendorHash": "sha256-V2BsVBhtdPOT9iseWPhPTOrUe4iMhq4YUiBWd0ne5Xg="
|
||||
"vendorHash": "sha256-G4aKekEqEZVMxXDjPgnzvXidv0u1WydZqxSPj5d+WKg="
|
||||
},
|
||||
"checkly": {
|
||||
"hash": "sha256-tOTrAi6hd4HFbHAj0p/LTYdxQl1R1WuQ9L4hzqmDVqI=",
|
||||
@ -436,11 +436,11 @@
|
||||
"vendorHash": "sha256-uWTY8cFztXFrQQ7GW6/R+x9M6vHmsb934ldq+oeW5vk="
|
||||
},
|
||||
"github": {
|
||||
"hash": "sha256-9U3vF8xunpTKbOTytUEscMeS3ya6u+PVkNVJjufhpZ0=",
|
||||
"hash": "sha256-I1FOJitXPJo/mlJCTXsJ1i+UCTImbtkJtEWAvV8wUP0=",
|
||||
"homepage": "https://registry.terraform.io/providers/integrations/github",
|
||||
"owner": "integrations",
|
||||
"repo": "terraform-provider-github",
|
||||
"rev": "v5.33.0",
|
||||
"rev": "v5.34.0",
|
||||
"spdx": "MIT",
|
||||
"vendorHash": null
|
||||
},
|
||||
@ -510,11 +510,11 @@
|
||||
"vendorHash": "sha256-r8njRjQGYESeHuD8pF6rRUe1j2VVMwoDITFi2StC5bk="
|
||||
},
|
||||
"helm": {
|
||||
"hash": "sha256-mGrQ5YKNsv1+Vkan5ohMXnTYofhCQPuTFjemXF/g+tA=",
|
||||
"hash": "sha256-pgV1xXhg8WIyF4RhJwAenTI6eAmtINveO8zqrKzLajQ=",
|
||||
"homepage": "https://registry.terraform.io/providers/hashicorp/helm",
|
||||
"owner": "hashicorp",
|
||||
"repo": "terraform-provider-helm",
|
||||
"rev": "v2.10.1",
|
||||
"rev": "v2.11.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-a80+gjjoFOKI96pUMvTMyM90F5oCb1Ime8hPQcFedFE="
|
||||
},
|
||||
@ -709,13 +709,13 @@
|
||||
"vendorHash": "sha256-ZjS40Xc8y2UBPn4rX3EgRoSapRvMEeVMGZE6z9tpsAQ="
|
||||
},
|
||||
"lxd": {
|
||||
"hash": "sha256-mZ2ptpgpyNXZAS19MVxOq3cfmSjTJvTP60fbpEgk6kE=",
|
||||
"hash": "sha256-0/nIdfCsmPaUkGkSkmWWioc6RZGTb0XWtvprjuDg2gU=",
|
||||
"homepage": "https://registry.terraform.io/providers/terraform-lxd/lxd",
|
||||
"owner": "terraform-lxd",
|
||||
"repo": "terraform-provider-lxd",
|
||||
"rev": "v1.10.1",
|
||||
"rev": "v1.10.2",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-zGVatrMqYsbGahEGJ/Gt9ub76R49m7RbLLs2XeKwQJw="
|
||||
"vendorHash": "sha256-DMOyP8BX1502a+Hd7rwhpV2/nT0ECFKmKDPtWE6o0IM="
|
||||
},
|
||||
"mailgun": {
|
||||
"hash": "sha256-r1E2Y5JRu77T29ebUNTXUEypnrsfYYbBhvpKZGt5T9w=",
|
||||
@ -872,13 +872,13 @@
|
||||
"vendorHash": "sha256-NnB8deqIeiB66Kba9LWT62fyI23HL57VcsTickoTRwI="
|
||||
},
|
||||
"opentelekomcloud": {
|
||||
"hash": "sha256-WL7eER7FsuIpdFsp4K1RlrrhEEK6hMou7HYAn/XbvLU=",
|
||||
"hash": "sha256-dNA6rNzbXFycKRKwJl+/HqUKCKn678KqthIRhmOe72M=",
|
||||
"homepage": "https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud",
|
||||
"owner": "opentelekomcloud",
|
||||
"repo": "terraform-provider-opentelekomcloud",
|
||||
"rev": "v1.35.5",
|
||||
"rev": "v1.35.6",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-C2wZjhO6PAiHuoKWN97QJLnC0tYNEyDXMSErGlv2Zpg="
|
||||
"vendorHash": "sha256-PHtTE3puaeIKXr9mf2bDhhHI51L4XVfOPhL7c5AvlBA="
|
||||
},
|
||||
"opsgenie": {
|
||||
"hash": "sha256-Jz3JMq39C2NvA0kvJdjjkOHNvZOMuw4Fq2+nyVHRIL4=",
|
||||
@ -890,20 +890,20 @@
|
||||
"vendorHash": null
|
||||
},
|
||||
"ovh": {
|
||||
"hash": "sha256-CG7xyx3d9jPD+W0EmNVwdV2ShenfsnxykkERe/8ky3A=",
|
||||
"hash": "sha256-U1gjD3NUm3/KqnbjgM91qe5gy/x/9Mn3Q4VW2XXBRw4=",
|
||||
"homepage": "https://registry.terraform.io/providers/ovh/ovh",
|
||||
"owner": "ovh",
|
||||
"repo": "terraform-provider-ovh",
|
||||
"rev": "v0.32.0",
|
||||
"rev": "v0.33.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": null
|
||||
},
|
||||
"pagerduty": {
|
||||
"hash": "sha256-kVz63aXl03p6T22WPB9PuZm+QllGxJNt3fDZ1H64dqw=",
|
||||
"hash": "sha256-EJN2kf4MghIG38kEzyzafTEwxBytm5nyMA9f+bYM7ng=",
|
||||
"homepage": "https://registry.terraform.io/providers/PagerDuty/pagerduty",
|
||||
"owner": "PagerDuty",
|
||||
"repo": "terraform-provider-pagerduty",
|
||||
"rev": "v2.16.0",
|
||||
"rev": "v2.16.1",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": null
|
||||
},
|
||||
@ -1025,11 +1025,11 @@
|
||||
"vendorHash": "sha256-MIO0VHofPtKPtynbvjvEukMNr5NXHgk7BqwIhbc9+u0="
|
||||
},
|
||||
"signalfx": {
|
||||
"hash": "sha256-zIXlrb/2g/N/slOfvyLmNG2keGXKTes0rHXJmZLV0Sg=",
|
||||
"hash": "sha256-ILh5mdTyzU0AfJzyGH9JK1QsOER0BtKn9vXyRaGeb8g=",
|
||||
"homepage": "https://registry.terraform.io/providers/splunk-terraform/signalfx",
|
||||
"owner": "splunk-terraform",
|
||||
"repo": "terraform-provider-signalfx",
|
||||
"rev": "v8.1.0",
|
||||
"rev": "v9.0.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-PQU4VC5wHcB70UkZaRT8jtz+qOAONU2SxtRrTmml9vY="
|
||||
},
|
||||
@ -1106,11 +1106,11 @@
|
||||
"vendorHash": "sha256-7qDPVKcBQuJQlya6UHjo5YPLgKl0qz1NlU2TuEf8T+0="
|
||||
},
|
||||
"talos": {
|
||||
"hash": "sha256-GRwzR2L6PKx6Us1ci3cs2+DU7TQvhEPcOLyn73dS96Y=",
|
||||
"hash": "sha256-9A14x7A5F11PzrJfBg4ZC63of4s4OzfNAYeJIPlHWlI=",
|
||||
"homepage": "https://registry.terraform.io/providers/siderolabs/talos",
|
||||
"owner": "siderolabs",
|
||||
"repo": "terraform-provider-talos",
|
||||
"rev": "v0.3.0",
|
||||
"rev": "v0.3.1",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-0HRhwUGDE4y7UFlXyD0w8zl4NV5436L4SRhrb8vQGyc="
|
||||
},
|
||||
|
@ -5,13 +5,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "tfautomv";
|
||||
version = "0.5.2";
|
||||
version = "0.5.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "busser";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-/Pli1gTG/68BtPdvF+BAwxFaeBrjj69h6Mtcbfm7UZ8=";
|
||||
hash = "sha256-A1/sf+QjxQ8S2Cqmw9mD0r4aqA2Ssopeni0YNLND9L8=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-zAshnSqZT9lx9EWvJsMwi6rqvhUWJ/3uJnk+44TGzlU=";
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "yarr";
|
||||
version = "2.3";
|
||||
version = "2.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nkanaev";
|
||||
repo = "yarr";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-LW0crWdxS6zcY5rxR0F2FLDYy9Ph2ZKyB/5VFVss+tA=";
|
||||
hash = "sha256-ZMQ+IX8dZuxyxQhD/eWAe4bGGCVcaCeVgF+Wqs79G+k=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-yXnoibqa0+lHhX3I687thGgasaVeNiHpGFmtEnH7oWY=";
|
||||
vendorHash = null;
|
||||
|
||||
subPackages = [ "src" ];
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
let
|
||||
versions = if stdenv.isLinux then {
|
||||
stable = "0.0.28";
|
||||
ptb = "0.0.44";
|
||||
ptb = "0.0.45";
|
||||
canary = "0.0.166";
|
||||
development = "0.0.217";
|
||||
} else {
|
||||
@ -20,7 +20,7 @@ let
|
||||
};
|
||||
ptb = fetchurl {
|
||||
url = "https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz";
|
||||
sha256 = "lehrB2jTvMKIDt7QWK/UAkrzYnW5pAP4LRHfIvGpnzA=";
|
||||
sha256 = "cN70ZYl9hxWU5FSCpDbpOuR2Wsz6XtPSDoXOTvcCe7g=";
|
||||
};
|
||||
canary = fetchurl {
|
||||
url = "https://dl-canary.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz";
|
||||
|
@ -9,13 +9,13 @@
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "tg_owt";
|
||||
version = "unstable-2023-05-01";
|
||||
version = "unstable-2023-08-15";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "desktop-app";
|
||||
repo = "tg_owt";
|
||||
rev = "dcb5069ff76bd293e86928804208737e6cee2ccc";
|
||||
sha256 = "0c3wnx51kbpzy9x8i9wm0ng16h35kgqsigrygrmwvxxn7zgv72ma";
|
||||
rev = "0532942ac6176a66ef184fb728a4cbb02958fc0b";
|
||||
sha256 = "sha256-FcRXxu0Nc8qHQl8PoA92MeuhpV+vgl658uILEpmDy3A=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
@ -84,6 +84,7 @@ buildNpmPackage rec {
|
||||
downloadPage = "https://github.com/SpacingBat3/WebCord/releases";
|
||||
changelog = "https://github.com/SpacingBat3/WebCord/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
mainProgram = "webcord";
|
||||
maintainers = with maintainers; [ huantian ];
|
||||
platforms = electron_25.meta.platforms;
|
||||
};
|
||||
|
@ -48,23 +48,23 @@ let
|
||||
# and often with different versions. We write them on three lines
|
||||
# like this (rather than using {}) so that the updater script can
|
||||
# find where to edit them.
|
||||
versions.aarch64-darwin = "5.15.5.20753";
|
||||
versions.x86_64-darwin = "5.15.5.20753";
|
||||
versions.x86_64-linux = "5.15.5.5603";
|
||||
versions.aarch64-darwin = "5.15.10.21826";
|
||||
versions.x86_64-darwin = "5.15.10.21826";
|
||||
versions.x86_64-linux = "5.15.10.6882";
|
||||
|
||||
srcs = {
|
||||
aarch64-darwin = fetchurl {
|
||||
url = "https://zoom.us/client/${versions.aarch64-darwin}/zoomusInstallerFull.pkg?archType=arm64";
|
||||
name = "zoomusInstallerFull.pkg";
|
||||
hash = "sha256-yDdmr0lHmhsJpTpvw4Qr4ZUk7SfEZw/53bVL3yV+a/Q=";
|
||||
hash = "sha256-C+CkVB0Auj43JElKZgarGqx7AttgQWu/EOqpwHPVSLI=";
|
||||
};
|
||||
x86_64-darwin = fetchurl {
|
||||
url = "https://zoom.us/client/${versions.x86_64-darwin}/zoomusInstallerFull.pkg";
|
||||
hash = "sha256-qZ5jiNL7I6IHwm1bZ8rgjVwwFJKPeAViQvx+qatGPug=";
|
||||
hash = "sha256-hr2wCTmJ/ToEzfgXm+91Ab8+8u3gijIQgjPfTZxRWaM=";
|
||||
};
|
||||
x86_64-linux = fetchurl {
|
||||
url = "https://zoom.us/client/${versions.x86_64-linux}/zoom_x86_64.pkg.tar.xz";
|
||||
hash = "sha256-JIS+jxBiW/ek47iz+yCcmoCZ8+UBzEXMC1Yd7Px0ofg=";
|
||||
hash = "sha256-KHxG06VZoFDxVh/7r/lLHMZEh9l8QAysDfG1sw7D+Yo=";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "wee-slack";
|
||||
version = "2.9.1";
|
||||
version = "2.10.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "wee-slack";
|
||||
owner = "wee-slack";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-f5CRJmvNZlKOE1XsU214R42dYo0s5xSRXC8TKOniEf4=";
|
||||
sha256 = "sha256-SxmMCD7FdkmZ0ccDbuY2XUGcLxHlv62x4Pj55Wzf0AA=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -1,5 +1,6 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, python3
|
||||
, makeWrapper
|
||||
, nixosTests
|
||||
@ -30,6 +31,14 @@ python.pkgs.buildPythonApplication rec {
|
||||
sha256 = "sha256-7Exvm3EShb/1EqwA4wzWB9zCdv0P/ISmjKSoqtOMnqk=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# PIL update fix
|
||||
url = "https://patch-diff.githubusercontent.com/raw/haiwen/seahub/pull/5570.patch";
|
||||
sha256 = "sha256-7V2aRlacJ7Qhdi9k4Bs+t/Emx+EAM/NNCI+K40bMwLA=";
|
||||
})
|
||||
];
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
doCheck = false; # disabled because it requires a ccnet environment
|
||||
|
@ -49,7 +49,7 @@
|
||||
assert withQt -> qt6 != null;
|
||||
|
||||
let
|
||||
version = "4.0.7";
|
||||
version = "4.0.8";
|
||||
variant = if withQt then "qt" else "cli";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
@ -61,7 +61,7 @@ stdenv.mkDerivation {
|
||||
repo = "wireshark";
|
||||
owner = "wireshark";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-CjSf4CfzgiXvmraM3lYBVLSfdDBSuFNIgeatj0OjYSQ=";
|
||||
hash = "sha256-bNg0yhNb1GRsTclNWWO+Bamm2wOnUjVKU+JftJu+LTo=";
|
||||
};
|
||||
|
||||
cmakeFlags = [
|
||||
|
@ -19,14 +19,14 @@
|
||||
let
|
||||
pname = "qownnotes";
|
||||
appname = "QOwnNotes";
|
||||
version = "23.8.0";
|
||||
version = "23.8.1";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit pname appname version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/pbek/QOwnNotes/releases/download/v${version}/qownnotes-${version}.tar.xz";
|
||||
hash = "sha256-ZvZOUcKtY+V0zhqsOYNi3W8yxRPUdYsp2kSHETRCTLs=";
|
||||
hash = "sha256-ZS9OzC+pdtYY4xLQ3G31/Sw/xx4qgDjp+nAcPJdl0tk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -10,13 +10,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "iqtree";
|
||||
version = "2.2.2.6";
|
||||
version = "2.2.2.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "iqtree";
|
||||
repo = "iqtree2";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-dce7JOPZaosRP99/xRfz88EwXR9nYXK6Z4t2i5Uje1w=";
|
||||
hash = "sha256-XyjVo5TYMoB+ZOAGc4ivYqFGnEO1M7mhxXrG45TP44Y=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
@ -1,20 +1,20 @@
|
||||
{ lib, stdenv, fetchFromGitHub, intltool, autoreconfHook, pkg-config, libqalculate, gtk3, wrapGAppsHook }:
|
||||
{ lib, stdenv, fetchFromGitHub, intltool, autoreconfHook, pkg-config, libqalculate, gtk3, curl, wrapGAppsHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "qalculate-gtk";
|
||||
version = "4.7.0";
|
||||
version = "4.8.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "qalculate";
|
||||
repo = "qalculate-gtk";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-Fbi+vZEyXhUZQjWUX01IXd6G1cthfiuztdbisNQ/VZU=";
|
||||
sha256 = "sha256-GYy3Ot2vjXpCp89Rib3Ua0XeVGOOTejKcaqNZvPmxm0=";
|
||||
};
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
nativeBuildInputs = [ intltool pkg-config autoreconfHook wrapGAppsHook ];
|
||||
buildInputs = [ libqalculate gtk3 ];
|
||||
buildInputs = [ libqalculate gtk3 curl ];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "qalculate-qt";
|
||||
version = "4.7.0";
|
||||
version = "4.8.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "qalculate";
|
||||
repo = "qalculate-qt";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-fMchJgxuOO2e7cOHLako26c9gsWvQY2MTRVD3JWGSAU=";
|
||||
hash = "sha256-7VlaoiY+HgHCMZCegUdy2wpgfx3fKaViMtkdNRleHaA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ qmake intltool pkg-config qttools wrapQtAppsHook ];
|
||||
|
@ -9,18 +9,18 @@
|
||||
}:
|
||||
|
||||
let
|
||||
# See https://github.com/deepmind/mujoco/blob/573d331b69845c5d651b70f5d1b0f3a0d2a3a233/cmake/MujocoDependencies.cmake#L21-L59
|
||||
# See https://github.com/deepmind/mujoco/blob/c9246e1f5006379d599e0bcddf159a8616d31441/cmake/MujocoDependencies.cmake#L17-L55
|
||||
abseil-cpp = fetchFromGitHub {
|
||||
owner = "abseil";
|
||||
repo = "abseil-cpp";
|
||||
rev = "8c0b94e793a66495e0b1f34a5eb26bd7dc672db0";
|
||||
hash = "sha256-Od1FZOOWEXVQsnZBwGjDIExi6LdYtomyL0STR44SsG8=";
|
||||
rev = "c2435f8342c2d0ed8101cb43adfd605fdc52dca2";
|
||||
hash = "sha256-PLoI7ix+reUqkZ947kWzls8lujYqWXk9A9a55UcfahI=";
|
||||
};
|
||||
benchmark = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "benchmark";
|
||||
rev = "d845b7b3a27d54ad96280a29d61fa8988d4fddcf";
|
||||
hash = "sha256-XTnTM1k6xMGXUws/fKdJUbpCPcc4U0IelL6BPEEnpEQ=";
|
||||
rev = "2dd015dfef425c866d9a43f2c67d8b52d709acb6";
|
||||
hash = "sha256-pUW9YVaujs/y00/SiPqDgK4wvVsaM7QUp/65k0t7Yr0=";
|
||||
};
|
||||
ccd = fetchFromGitHub {
|
||||
owner = "danfis";
|
||||
@ -31,14 +31,14 @@ let
|
||||
eigen3 = fetchFromGitLab {
|
||||
owner = "libeigen";
|
||||
repo = "eigen";
|
||||
rev = "3bb6a48d8c171cf20b5f8e48bfb4e424fbd4f79e";
|
||||
hash = "sha256-k71DoEsx8JpC9AlQ0cCRI0fWMIWFBFL/Yscx+2iBtNM=";
|
||||
rev = "211c5dfc6741a5570ad007983c113ef4d144f9f3";
|
||||
hash = "sha256-oT/h8QkL0vwaflh46Zsnu9Db1b65AP6p//nAga8M5jI=";
|
||||
};
|
||||
googletest = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "googletest";
|
||||
rev = "58d77fa8070e8cec2dc1ed015d66b454c8d78850";
|
||||
hash = "sha256-W+OxRTVtemt2esw4P7IyGWXOonUN5ZuscjvzqkYvZbM=";
|
||||
rev = "b796f7d44681514f58a683a3a71ff17c94edb0c1";
|
||||
hash = "sha256-LVLEn+e7c8013pwiLzJiiIObyrlbBHYaioO/SWbItPQ=";
|
||||
};
|
||||
lodepng = fetchFromGitHub {
|
||||
owner = "lvandeve";
|
||||
@ -49,8 +49,8 @@ let
|
||||
qhull = fetchFromGitHub {
|
||||
owner = "qhull";
|
||||
repo = "qhull";
|
||||
rev = "3df027b91202cf179f3fba3c46eebe65bbac3790";
|
||||
hash = "sha256-aHO5n9Y35C7/zb3surfMyjyMjo109DoZnkozhiAKpYQ=";
|
||||
rev = "0c8fc90d2037588024d9964515c1e684f6007ecc";
|
||||
hash = "sha256-Ptzxad3ewmKJbbcmrBT+os4b4SR976zlCG9F0nq0x94=";
|
||||
};
|
||||
tinyobjloader = fetchFromGitHub {
|
||||
owner = "tinyobjloader";
|
||||
@ -61,12 +61,12 @@ let
|
||||
tinyxml2 = fetchFromGitHub {
|
||||
owner = "leethomason";
|
||||
repo = "tinyxml2";
|
||||
rev = "1dee28e51f9175a31955b9791c74c430fe13dc82";
|
||||
hash = "sha256-AQQOctXi7sWIH/VOeSUClX6hlm1raEQUOp+VoPjLM14=";
|
||||
rev = "9a89766acc42ddfa9e7133c7d81a5bda108a0ade";
|
||||
hash = "sha256-YGAe4+Ttv/xeou+9FoJjmQCKgzupTYdDhd+gzvtz/88=";
|
||||
};
|
||||
|
||||
# See https://github.com/deepmind/mujoco/blob/573d331b69845c5d651b70f5d1b0f3a0d2a3a233/simulate/cmake/SimulateDependencies.cmake#L32-L35
|
||||
glfw = fetchFromGitHub {
|
||||
# See https://github.com/deepmind/mujoco/blob/c9246e1f5006379d599e0bcddf159a8616d31441/simulate/cmake/SimulateDependencies.cmake#L32-L35
|
||||
glfw3 = fetchFromGitHub {
|
||||
owner = "glfw";
|
||||
repo = "glfw";
|
||||
rev = "7482de6071d21db77a7236155da44c172a7f6c9e";
|
||||
@ -75,13 +75,13 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mujoco";
|
||||
version = "2.3.0";
|
||||
version = "2.3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "deepmind";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-FxMaXl7yfUAyY6LE1sxaw226dBtp1DOCWNnROp0WX2I=";
|
||||
hash = "sha256-LgpA+iPGqciHuWBSD6/7yvZ7p+vo48ZYKjjrDZSnAwE=";
|
||||
};
|
||||
|
||||
patches = [ ./dependencies.patch ];
|
||||
@ -105,7 +105,7 @@ stdenv.mkDerivation rec {
|
||||
ln -s ${benchmark} build/_deps/benchmark-src
|
||||
ln -s ${ccd} build/_deps/ccd-src
|
||||
ln -s ${eigen3} build/_deps/eigen3-src
|
||||
ln -s ${glfw} build/_deps/glfw-src
|
||||
ln -s ${glfw3} build/_deps/glfw3-src
|
||||
ln -s ${googletest} build/_deps/googletest-src
|
||||
ln -s ${lodepng} build/_deps/lodepng-src
|
||||
ln -s ${qhull} build/_deps/qhull-src
|
||||
|
@ -1,8 +1,8 @@
|
||||
diff --git a/cmake/MujocoDependencies.cmake b/cmake/MujocoDependencies.cmake
|
||||
index 99e4a7a..cf9a901 100644
|
||||
index 3e322ea..980aace 100644
|
||||
--- a/cmake/MujocoDependencies.cmake
|
||||
+++ b/cmake/MujocoDependencies.cmake
|
||||
@@ -82,8 +82,6 @@ set(BUILD_SHARED_LIBS
|
||||
@@ -87,8 +87,6 @@ set(BUILD_SHARED_LIBS
|
||||
if(NOT TARGET lodepng)
|
||||
FetchContent_Declare(
|
||||
lodepng
|
||||
@ -11,7 +11,7 @@ index 99e4a7a..cf9a901 100644
|
||||
)
|
||||
|
||||
FetchContent_GetProperties(lodepng)
|
||||
@@ -111,10 +109,6 @@ findorfetch(
|
||||
@@ -127,10 +125,6 @@ findorfetch(
|
||||
qhull
|
||||
LIBRARY_NAME
|
||||
qhull
|
||||
@ -21,8 +21,8 @@ index 99e4a7a..cf9a901 100644
|
||||
- ${MUJOCO_DEP_VERSION_qhull}
|
||||
TARGETS
|
||||
qhull
|
||||
# TODO(fraromano) Remove when https://github.com/qhull/qhull/pull/112 is merged.
|
||||
@@ -146,10 +140,6 @@ findorfetch(
|
||||
EXCLUDE_FROM_ALL
|
||||
@@ -151,10 +145,6 @@ findorfetch(
|
||||
tinyxml2
|
||||
LIBRARY_NAME
|
||||
tinyxml2
|
||||
@ -33,7 +33,7 @@ index 99e4a7a..cf9a901 100644
|
||||
TARGETS
|
||||
tinyxml2
|
||||
EXCLUDE_FROM_ALL
|
||||
@@ -164,10 +154,6 @@ findorfetch(
|
||||
@@ -169,10 +159,6 @@ findorfetch(
|
||||
tinyobjloader
|
||||
LIBRARY_NAME
|
||||
tinyobjloader
|
||||
@ -44,7 +44,7 @@ index 99e4a7a..cf9a901 100644
|
||||
TARGETS
|
||||
tinyobjloader
|
||||
EXCLUDE_FROM_ALL
|
||||
@@ -182,10 +168,6 @@ findorfetch(
|
||||
@@ -187,10 +173,6 @@ findorfetch(
|
||||
ccd
|
||||
LIBRARY_NAME
|
||||
ccd
|
||||
@ -55,7 +55,7 @@ index 99e4a7a..cf9a901 100644
|
||||
TARGETS
|
||||
ccd
|
||||
EXCLUDE_FROM_ALL
|
||||
@@ -222,10 +204,6 @@ if(MUJOCO_BUILD_TESTS)
|
||||
@@ -227,10 +209,6 @@ if(MUJOCO_BUILD_TESTS)
|
||||
absl
|
||||
LIBRARY_NAME
|
||||
abseil-cpp
|
||||
@ -66,7 +66,7 @@ index 99e4a7a..cf9a901 100644
|
||||
TARGETS
|
||||
absl::core_headers
|
||||
EXCLUDE_FROM_ALL
|
||||
@@ -249,10 +227,6 @@ if(MUJOCO_BUILD_TESTS)
|
||||
@@ -254,10 +232,6 @@ if(MUJOCO_BUILD_TESTS)
|
||||
GTest
|
||||
LIBRARY_NAME
|
||||
googletest
|
||||
@ -77,7 +77,7 @@ index 99e4a7a..cf9a901 100644
|
||||
TARGETS
|
||||
gtest
|
||||
gmock
|
||||
@@ -283,10 +257,6 @@ if(MUJOCO_BUILD_TESTS)
|
||||
@@ -288,10 +262,6 @@ if(MUJOCO_BUILD_TESTS)
|
||||
benchmark
|
||||
LIBRARY_NAME
|
||||
benchmark
|
||||
@ -88,7 +88,7 @@ index 99e4a7a..cf9a901 100644
|
||||
TARGETS
|
||||
benchmark::benchmark
|
||||
benchmark::benchmark_main
|
||||
@@ -303,8 +273,6 @@ if(MUJOCO_TEST_PYTHON_UTIL)
|
||||
@@ -308,8 +278,6 @@ if(MUJOCO_TEST_PYTHON_UTIL)
|
||||
|
||||
FetchContent_Declare(
|
||||
Eigen3
|
||||
@ -98,17 +98,17 @@ index 99e4a7a..cf9a901 100644
|
||||
|
||||
FetchContent_GetProperties(Eigen3)
|
||||
diff --git a/simulate/cmake/SimulateDependencies.cmake b/simulate/cmake/SimulateDependencies.cmake
|
||||
index 6616d6f..5d5a889 100644
|
||||
index fa539c2..5985d5a 100644
|
||||
--- a/simulate/cmake/SimulateDependencies.cmake
|
||||
+++ b/simulate/cmake/SimulateDependencies.cmake
|
||||
@@ -81,10 +81,6 @@ findorfetch(
|
||||
glfw
|
||||
glfw3
|
||||
LIBRARY_NAME
|
||||
glfw
|
||||
glfw3
|
||||
- GIT_REPO
|
||||
- https://github.com/glfw/glfw.git
|
||||
- GIT_TAG
|
||||
- ${MUJOCO_DEP_VERSION_glfw}
|
||||
- ${MUJOCO_DEP_VERSION_glfw3}
|
||||
TARGETS
|
||||
glfw
|
||||
EXCLUDE_FROM_ALL
|
||||
|
@ -11,18 +11,18 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "conmon";
|
||||
version = "2.1.7";
|
||||
version = "2.1.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "containers";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-W6nqhSEoP2mDp7fCoXqwYAafjfESxymYXAdC3BnJJno=";
|
||||
hash = "sha256-gdMNAU+w4u+9DZL9x96OAZihShkQdvSiqPCA+eNf600=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ glib libseccomp systemd ]
|
||||
++ lib.optionals (!stdenv.hostPlatform.isMusl) [ glibc glibc.static ];
|
||||
++ lib.optionals (!stdenv.hostPlatform.isMusl) [ glibc glibc.static ];
|
||||
|
||||
# manpage requires building the vendored go-md2man
|
||||
makeFlags = [ "bin/conmon" ];
|
||||
|
@ -1,31 +1,21 @@
|
||||
{ lib, rustPlatform, fetchgit, fetchpatch
|
||||
, pkg-config, protobuf, python3, wayland-scanner
|
||||
{ lib, rustPlatform, fetchgit, pkg-config, protobuf, python3, wayland-scanner
|
||||
, libcap, libdrm, libepoxy, minijail, virglrenderer, wayland, wayland-protocols
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "crosvm";
|
||||
version = "115.2";
|
||||
version = "116.1";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://chromium.googlesource.com/chromiumos/platform/crosvm";
|
||||
rev = "d14053a211eb6753c53ced71fad2d3b402b997e6";
|
||||
sha256 = "8p6M9Q9E07zqtHYdIIi6io9LLatd+9fH4Inod2Xjy5M=";
|
||||
rev = "97ac6ce38d8e5789c91fcc5bae6078d21a2afdb3";
|
||||
sha256 = "NssjHXorPGZBYqERPeLW3cqEzbXqyL9N4OnLLQMLALk=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Backport option to not vendor virglrenderer.
|
||||
(fetchpatch {
|
||||
url = "https://chromium.googlesource.com/crosvm/crosvm/+/dde9aa0e6d89a090f5d5f000822f7911eba98445%5E%21/?format=TEXT";
|
||||
decode = "base64 -d";
|
||||
hash = "sha256-W/s1i2reBXsbr0AOEtL9go3TNNYMwDVEu6pz3Q9wBSU=";
|
||||
})
|
||||
];
|
||||
|
||||
separateDebugInfo = true;
|
||||
|
||||
cargoSha256 = "ZXyMeu2forItGcsGrNBWhV1V9HzVQK6LM4TxBrxAZnU=";
|
||||
cargoHash = "sha256-mlXAlq62nAW6ZVxRav+k/iU1YDecfPDTCPp7FdJBO54=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config protobuf python3 rustPlatform.bindgenHook wayland-scanner
|
||||
|
@ -207,12 +207,16 @@ in
|
||||
substituteInPlace "$out/bin/run-singularity" \
|
||||
--replace "/usr/bin/env ${projectName}" "$out/bin/${projectName}"
|
||||
wrapProgram "$out/bin/${projectName}" \
|
||||
--prefix PATH : "''${defaultPathInputs// /\/bin:}"
|
||||
--prefix PATH : "''${defaultPathInputs// /\/bin:}''${defaultPathInputs:+/bin:}"
|
||||
# Make changes in the config file
|
||||
${lib.optionalString enableNvidiaContainerCli ''
|
||||
substituteInPlace "$out/etc/${projectName}/${projectName}.conf" \
|
||||
--replace "use nvidia-container-cli = no" "use nvidia-container-cli = yes"
|
||||
''}
|
||||
${lib.optionalString (enableNvidiaContainerCli && projectName == "singularity") ''
|
||||
substituteInPlace "$out/etc/${projectName}/${projectName}.conf" \
|
||||
--replace "# nvidia-container-cli path =" "nvidia-container-cli path = ${nvidia-docker}/bin/nvidia-container-cli"
|
||||
''}
|
||||
${lib.optionalString (removeCompat && (projectName != "singularity")) ''
|
||||
unlink "$out/bin/singularity"
|
||||
for file in "$out"/share/man/man?/singularity*.gz; do
|
||||
|
@ -2,6 +2,7 @@
|
||||
, vte, avahi, dconf, gobject-introspection, libvirt-glib, system-libvirt
|
||||
, gsettings-desktop-schemas, libosinfo, gnome, gtksourceview4, docutils, cpio
|
||||
, e2fsprogs, findutils, gzip, cdrtools, xorriso, fetchpatch
|
||||
, desktopToDarwinBundle, stdenv
|
||||
, spiceSupport ? true, spice-gtk ? null
|
||||
}:
|
||||
|
||||
@ -26,7 +27,8 @@ python3.pkgs.buildPythonApplication rec {
|
||||
wrapGAppsHook
|
||||
libvirt-glib vte dconf gtk-vnc gnome.adwaita-icon-theme avahi
|
||||
gsettings-desktop-schemas libosinfo gtksourceview4
|
||||
] ++ lib.optional spiceSupport spice-gtk;
|
||||
] ++ lib.optional spiceSupport spice-gtk
|
||||
++ lib.optional stdenv.isDarwin desktopToDarwinBundle;
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
pygobject3 libvirt libxml2 requests cdrtools
|
||||
|
@ -9,12 +9,12 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "katriawm";
|
||||
version = "23.04";
|
||||
version = "23.06";
|
||||
|
||||
src = fetchzip {
|
||||
name = finalAttrs.pname + "-" + finalAttrs.version;
|
||||
url = "https://www.uninformativ.de/git/katriawm/archives/katriawm-v${finalAttrs.version}.tar.gz";
|
||||
hash = "sha256-Wi9Fv/Ms6t7tr8nxznXrn/6V04lnO1HMz4XFbuCr9+Y=";
|
||||
hash = "sha256-4vdBX5biakoxiOyz7DPNgkLxlzi27kZ9rC20g+pn3N4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -200,7 +200,7 @@ runCommand
|
||||
substitute ${./wrapper.sh} $out/bin/$progname \
|
||||
--subst-var-by bash ${emacs.stdenv.shell} \
|
||||
--subst-var-by wrapperSiteLisp "$deps/share/emacs/site-lisp" \
|
||||
--subst-var-by wrapperSiteLispNative "$deps/share/emacs/native-lisp:" \
|
||||
--subst-var-by wrapperSiteLispNative "$deps/share/emacs/native-lisp" \
|
||||
--subst-var prog
|
||||
chmod +x $out/bin/$progname
|
||||
done
|
||||
@ -219,7 +219,7 @@ runCommand
|
||||
substitute ${./wrapper.sh} $out/Applications/Emacs.app/Contents/MacOS/Emacs \
|
||||
--subst-var-by bash ${emacs.stdenv.shell} \
|
||||
--subst-var-by wrapperSiteLisp "$deps/share/emacs/site-lisp" \
|
||||
--subst-var-by wrapperSiteLispNative "$deps/share/emacs/native-lisp:" \
|
||||
--subst-var-by wrapperSiteLispNative "$deps/share/emacs/native-lisp" \
|
||||
--subst-var-by prog "$emacs/Applications/Emacs.app/Contents/MacOS/Emacs"
|
||||
chmod +x $out/Applications/Emacs.app/Contents/MacOS/Emacs
|
||||
fi
|
||||
|
@ -4,16 +4,17 @@ IFS=:
|
||||
|
||||
newLoadPath=()
|
||||
newNativeLoadPath=()
|
||||
added=
|
||||
addedNewLoadPath=
|
||||
addedNewNativeLoadPath=
|
||||
|
||||
if [[ -n $EMACSLOADPATH ]]
|
||||
then
|
||||
while read -rd: entry
|
||||
do
|
||||
if [[ -z $entry && -z $added ]]
|
||||
if [[ -z $entry && -z $addedNewLoadPath ]]
|
||||
then
|
||||
newLoadPath+=(@wrapperSiteLisp@)
|
||||
added=1
|
||||
addedNewLoadPath=1
|
||||
fi
|
||||
newLoadPath+=("$entry")
|
||||
done <<< "$EMACSLOADPATH:"
|
||||
@ -22,14 +23,19 @@ else
|
||||
newLoadPath+=("")
|
||||
fi
|
||||
|
||||
# NOTE: Even though we treat EMACSNATIVELOADPATH like EMACSLOADPATH in
|
||||
# this wrapper, empty elements in EMACSNATIVELOADPATH have no special
|
||||
# meaning for Emacs. Only non-empty elements in EMACSNATIVELOADPATH
|
||||
# will be prepended to native-comp-eln-load-path.
|
||||
# https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/startup.el?id=3685387e609753293c4518be75e77c659c3b2d8d#n599
|
||||
if [[ -n $EMACSNATIVELOADPATH ]]
|
||||
then
|
||||
while read -rd: entry
|
||||
do
|
||||
if [[ -z $entry && -z $added ]]
|
||||
if [[ -z $entry && -z $addedNewNativeLoadPath ]]
|
||||
then
|
||||
newNativeLoadPath+=(@wrapperSiteLispNative@)
|
||||
added=1
|
||||
addedNewNativeLoadPath=1
|
||||
fi
|
||||
newNativeLoadPath+=("$entry")
|
||||
done <<< "$EMACSNATIVELOADPATH:"
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "scheme-manpages";
|
||||
version = "unstable-2023-06-04";
|
||||
version = "unstable-2023-08-13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "schemedoc";
|
||||
repo = "manpages";
|
||||
rev = "d5fce963985df270cb99d020169b4f28122e6415";
|
||||
hash = "sha256-snODSEtH1K/X0MakJWcPM40cqLUA+0cbBkhAHuisCyI=";
|
||||
rev = "c17abb7dfb733fede4cf776a932e9696ccc7a4f2";
|
||||
hash = "sha256-9s/1sJEA4nowzQRpySOFzY+PxiUdz1Z3D931rMet4CA=";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
@ -28,13 +28,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "deepin-music";
|
||||
version = "6.2.28";
|
||||
version = "6.2.31";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxdeepin";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-rSaB8kIbpyPuhw3vWLWlXgY6xJpxLL8DktgcBoca0L0=";
|
||||
hash = "sha256-OXyHB47orv9ix+Jg0b7wciA6DWUsXzFmIg4SM+piO3c=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -7,7 +7,6 @@
|
||||
, meson
|
||||
, ninja
|
||||
, vala
|
||||
, python3
|
||||
, desktop-file-utils
|
||||
, libcanberra
|
||||
, gtk3
|
||||
@ -29,7 +28,7 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "elementary-files";
|
||||
version = "6.4.1";
|
||||
version = "6.5.0";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
@ -37,15 +36,15 @@ stdenv.mkDerivation rec {
|
||||
owner = "elementary";
|
||||
repo = "files";
|
||||
rev = version;
|
||||
sha256 = "sha256-s4Df2eLnr+RnbTwPzjt9bVA+xZ9xca2hiFdGlRUZRfU=";
|
||||
sha256 = "sha256-E1e2eXGpycl2VXEUvUir5G3MRLz/4TQMvmOuWgU9JNc=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix log spam with new GLib
|
||||
# https://github.com/elementary/files/pull/2257
|
||||
# meson: Don't run gtk-update-icon-cache
|
||||
# https://github.com/elementary/files/pull/2294
|
||||
(fetchpatch {
|
||||
url = "https://github.com/elementary/files/commit/7bd542fa0a646b5cb0972f5575c56a9ee4d9dce7.patch";
|
||||
hash = "sha256-C+oSx0xn3YPuwEC0K+3ZmKeQrroKreJo1tfcpLGQ1S4=";
|
||||
url = "https://github.com/elementary/files/commit/758ece9fb29eb4a25f47065710dad4ac547ca2ce.patch";
|
||||
hash = "sha256-+OASDsOPH0g5Cyxw4JmVxA70zQHhcpqLMKKYP4VLTO0=";
|
||||
})
|
||||
];
|
||||
|
||||
@ -54,7 +53,6 @@ stdenv.mkDerivation rec {
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
python3
|
||||
vala
|
||||
wrapGAppsHook
|
||||
];
|
||||
@ -77,11 +75,6 @@ stdenv.mkDerivation rec {
|
||||
zeitgeist
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
chmod +x meson/post_install.py
|
||||
patchShebangs meson/post_install.py
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
@ -3,9 +3,9 @@
|
||||
mkXfceDerivation {
|
||||
category = "xfce";
|
||||
pname = "xfce4-appfinder";
|
||||
version = "4.18.0";
|
||||
version = "4.18.1";
|
||||
|
||||
sha256 = "sha256-/VYZpWk08OQPZ/DQ5SqSL4F4KDdh+IieQBDOZUxZvtw=";
|
||||
sha256 = "sha256-CZEX1PzFsVt72Fkb4+5PiZjAcDisvYnbzFGFXjFL4sc=";
|
||||
|
||||
nativeBuildInputs = [ exo ];
|
||||
buildInputs = [ garcon gtk3 libxfce4ui libxfce4util xfconf ];
|
||||
|
@ -13,12 +13,12 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "circt";
|
||||
version = "1.51.0";
|
||||
version = "1.52.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "llvm";
|
||||
repo = "circt";
|
||||
rev = "firtool-${version}";
|
||||
sha256 = "sha256-IEMIFbMBLEKgntDiRfVH6qgj9a5RLWQnKrMnl5A3AYQ=";
|
||||
sha256 = "sha256-ol8inyUrKezv+lhDIq2DhP4LHNJLhZylRbtIfoVAMYk=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
@ -9,16 +9,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "erg";
|
||||
version = "0.6.18";
|
||||
version = "0.6.19";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "erg-lang";
|
||||
repo = "erg";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-bpKzC7xHP4vfl2WcyMEsFK1aAbkP3dtlpyNvXUWHWKg=";
|
||||
hash = "sha256-oA0AXTMEdfItvIZi1ITQ3ZR6JPSg9/1V6oeK2wcRERw=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-wIp+zQpHLmZNwgbSXQKV45YwO5qpZqdcUE6gnF/Wzhk=";
|
||||
cargoHash = "sha256-dLMU48/umKHPV6iahazxOYA/eDvFWhzV9xveT2xQ+EE=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
|
@ -68,8 +68,7 @@ stdenv.mkDerivation rec {
|
||||
] ++ lib.optionals (stdenv.hostPlatform.useLLVM or false) [
|
||||
"-DLLVM_ENABLE_LIBCXX=ON"
|
||||
"-DLIBCXXABI_USE_LLVM_UNWINDER=ON"
|
||||
] ++ lib.optionals ((stdenv.hostPlatform.useLLVM or false) ||
|
||||
(stdenv.hostPlatform.isDarwin && enableShared)) [
|
||||
] ++ lib.optionals ((stdenv.hostPlatform.useLLVM or false) || !stdenv.hostPlatform.isDarwin) [
|
||||
# libcxxabi's CMake looks as though it treats -nostdlib++ as implying -nostdlib,
|
||||
# but that does not appear to be the case for example when building
|
||||
# pkgsLLVM.libcxxabi (which uses clangNoCompilerRtWithLibc).
|
||||
|
@ -68,8 +68,7 @@ stdenv.mkDerivation rec {
|
||||
] ++ lib.optionals (stdenv.hostPlatform.useLLVM or false) [
|
||||
"-DLLVM_ENABLE_LIBCXX=ON"
|
||||
"-DLIBCXXABI_USE_LLVM_UNWINDER=ON"
|
||||
] ++ lib.optionals ((stdenv.hostPlatform.useLLVM or false) ||
|
||||
(stdenv.hostPlatform.isDarwin && enableShared)) [
|
||||
] ++ lib.optionals ((stdenv.hostPlatform.useLLVM or false) || !stdenv.hostPlatform.isDarwin) [
|
||||
# libcxxabi's CMake looks as though it treats -nostdlib++ as implying -nostdlib,
|
||||
# but that does not appear to be the case for example when building
|
||||
# pkgsLLVM.libcxxabi (which uses clangNoCompilerRtWithLibc).
|
||||
|
@ -68,8 +68,7 @@ stdenv.mkDerivation rec {
|
||||
] ++ lib.optionals (stdenv.hostPlatform.useLLVM or false) [
|
||||
"-DLLVM_ENABLE_LIBCXX=ON"
|
||||
"-DLIBCXXABI_USE_LLVM_UNWINDER=ON"
|
||||
] ++ lib.optionals ((stdenv.hostPlatform.useLLVM or false) ||
|
||||
(stdenv.hostPlatform.isDarwin && enableShared)) [
|
||||
] ++ lib.optionals ((stdenv.hostPlatform.useLLVM or false) || !stdenv.hostPlatform.isDarwin) [
|
||||
# libcxxabi's CMake looks as though it treats -nostdlib++ as implying -nostdlib,
|
||||
# but that does not appear to be the case for example when building
|
||||
# pkgsLLVM.libcxxabi (which uses clangNoCompilerRtWithLibc).
|
||||
|
@ -11,13 +11,13 @@ in
|
||||
stdenvNoCC.mkDerivation {
|
||||
inherit pname;
|
||||
|
||||
version = "unstable-2023-06-25";
|
||||
version = "unstable-2023-07-25";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "minoki";
|
||||
repo = "LunarML";
|
||||
rev = "f58f90cf7a2f26340403245907ed183f6a12ab52";
|
||||
sha256 = "djHJfUAPplsejFW9L3fbwTeeWgvR+gKkI8TmwIh8n7E=";
|
||||
rev = "4a5f9c7d42c6b1fcd3d73ab878321f887a153aa7";
|
||||
sha256 = "dpYUXMbYPRvk+t6Cnc4uh8w5MwuPXuKPgZQl2P0EBZU=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "doc" ];
|
||||
|
@ -1,23 +1,27 @@
|
||||
{ lib, stdenv, makeDesktopItem, icoutils, fdupes, imagemagick, jdk11, fetchzip }:
|
||||
# TODO: JDK16 causes STM32CubeMX to crash right now, so we fixed the version to JDK11
|
||||
# This may be fixed in a future version of STM32CubeMX. This issue has been reported to ST:
|
||||
# https://community.st.com/s/question/0D53W00000jnOzPSAU/stm32cubemx-crashes-on-launch-with-openjdk16
|
||||
# If you're updating this derivation, check the link above to see if it's been fixed upstream
|
||||
# and try replacing all occurrences of jdk11 with jre and test whether it works.
|
||||
{ fdupes
|
||||
, fetchzip
|
||||
, icoutils
|
||||
, imagemagick
|
||||
, jdk17
|
||||
, lib
|
||||
, makeDesktopItem
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
let
|
||||
iconame = "STM32CubeMX";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "stm32cubemx";
|
||||
version = "6.8.1";
|
||||
version = "6.9.1";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://sw-center.st.com/packs/resource/library/stm32cube_mx_v${builtins.replaceStrings ["."] [""] version}-lin.zip";
|
||||
sha256 = "sha256-0WzdyRP09rRZzVZhwMOxA/SwHrQOYGBnv8UwvjMT22Q=";
|
||||
sha256 = "sha256-KTbIRj7DkWoC2h/TLKjVduvsKVSue28kGOL34JqBVx4=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ icoutils fdupes imagemagick ];
|
||||
nativeBuildInputs = [ fdupes icoutils imagemagick ];
|
||||
desktopItem = makeDesktopItem {
|
||||
name = "STM32CubeMX";
|
||||
exec = "stm32cubemx";
|
||||
@ -41,7 +45,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
cat << EOF > $out/bin/${pname}
|
||||
#!${stdenv.shell}
|
||||
${jdk11}/bin/java -jar $out/opt/STM32CubeMX/STM32CubeMX
|
||||
${jdk17}/bin/java -jar $out/opt/STM32CubeMX/STM32CubeMX
|
||||
EOF
|
||||
chmod +x $out/bin/${pname}
|
||||
|
||||
@ -74,7 +78,7 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://www.st.com/en/development-tools/stm32cubemx.html";
|
||||
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
||||
license = licenses.unfree;
|
||||
maintainers = with maintainers; [ wucke13 ];
|
||||
maintainers = with maintainers; [ angaz wucke13 ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
16
pkgs/development/libraries/futuresql/default.nix
Normal file
16
pkgs/development/libraries/futuresql/default.nix
Normal file
@ -0,0 +1,16 @@
|
||||
{ stdenv, fetchurl, cmake, extra-cmake-modules, qtbase }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "futuresql";
|
||||
version = "0.1.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.kde.org/stable/${pname}/${pname}-${version}.tar.xz";
|
||||
hash = "sha256-5E7Y1alhizynuimD7ZxfdXLm4KWxmflIaINLccy+vUM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
||||
buildInputs = [ qtbase ];
|
||||
|
||||
# a library, nothing to wrap
|
||||
dontWrapQtApps = true;
|
||||
}
|
@ -1,13 +1,21 @@
|
||||
{ lib, stdenv, fetchzip, pugixml, updfparser, curl, openssl, libzip
|
||||
, installShellFiles }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchzip
|
||||
, pugixml
|
||||
, updfparser
|
||||
, curl
|
||||
, openssl
|
||||
, libzip
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libgourou";
|
||||
version = "0.8.1";
|
||||
version = "0.8.2";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://indefero.soutade.fr/p/${name}/source/download/v${version}/";
|
||||
sha256 = "sha256-X56K4z1+k62Q9pxnN8kx35oc7+uJJN/o/tpnKx1FjwE=";
|
||||
sha256 = "sha256-adkrvBCgN07Ir+J3JFCy+X9p9609lj1w8nElrlHXTxc";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
|
@ -8,13 +8,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libqalculate";
|
||||
version = "4.7.0";
|
||||
version = "4.8.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "qalculate";
|
||||
repo = "libqalculate";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-Wgy1vsr0FXRJz9BCfw2PyFkesIJ/eg2dYDY/I2TESnU=";
|
||||
sha256 = "sha256-wONqqd8Ds10SvkUrj7Ps6BfqUNPE6hCnQrKDTEglVEQ=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" "doc" ];
|
||||
|
@ -3,26 +3,28 @@
|
||||
, fetchFromGitHub
|
||||
, python
|
||||
, cmake
|
||||
, ninja
|
||||
}:
|
||||
|
||||
let
|
||||
pyEnv = python.withPackages (ps: [ ps.setuptools ]);
|
||||
pyEnv = python.withPackages (ps: [ ps.setuptools ps.tomli ps.pip ps.setuptools ]);
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lief";
|
||||
version = "0.12.3";
|
||||
version = "0.13.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lief-project";
|
||||
repo = "LIEF";
|
||||
rev = version;
|
||||
sha256 = "sha256-wZgv4AFc7DrMCyxMLKQxO1mUTDAU4klK8aZAySqGJoY=";
|
||||
sha256 = "sha256-lH4SqwPB2Jp/wUI2Cll67PQbHbwMqpNuLy/ei8roiHg=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "py" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
];
|
||||
|
||||
# Not a propagatedBuildInput because only the $py output needs it; $out is
|
||||
@ -31,33 +33,16 @@ stdenv.mkDerivation rec {
|
||||
python
|
||||
];
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
substituteInPlace setup.py \
|
||||
--replace 'cmake_args = []' "cmake_args = [ \"-DCMAKE_INSTALL_PREFIX=$prefix\" ]"
|
||||
${pyEnv.interpreter} setup.py --sdk build --parallel=$NIX_BUILD_CORES
|
||||
|
||||
runHook postBuild
|
||||
postBuild = ''
|
||||
pushd /build/source/api/python
|
||||
${pyEnv.interpreter} setup.py build --parallel=$NIX_BUILD_CORES
|
||||
popd
|
||||
'';
|
||||
|
||||
# I was unable to find a way to build the library itself and have it install
|
||||
# to $out, while also installing the Python bindings to $py without building
|
||||
# the project twice (using cmake), so this is the best we've got. It uses
|
||||
# something called CPack to create the tarball, but it's not obvious to me
|
||||
# *how* that happens, or how to intercept it to just get the structured
|
||||
# library output.
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out $py/nix-support
|
||||
echo "${python}" >> $py/nix-support/propagated-build-inputs
|
||||
tar xf build/*.tar.gz --directory $out --strip-components 1
|
||||
postInstall = ''
|
||||
pushd /build/source/api/python
|
||||
${pyEnv.interpreter} setup.py install --skip-build --root=/ --prefix=$py
|
||||
|
||||
runHook postInstall
|
||||
popd
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
@ -65,6 +50,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://lief.quarkslab.com/";
|
||||
license = [ licenses.asl20 ];
|
||||
platforms = with platforms; linux ++ darwin;
|
||||
maintainers = [ maintainers.lassulus ];
|
||||
maintainers = with maintainers; [ lassulus genericnerdyusername ];
|
||||
};
|
||||
}
|
||||
|
@ -26,24 +26,15 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "openturns";
|
||||
version = "1.20";
|
||||
version = "1.21";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "openturns";
|
||||
repo = "openturns";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-QeapH937yGnK6oD+rgIERePxz6ooxGpOx6x9LyFDt2A=";
|
||||
sha256 = "sha256-zWCwuxJEiyhnllVCsfm3zNz2Xorvuj2Vl2fufS3qixY=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix build with primesieve 11, https://github.com/openturns/openturns/pull/2187
|
||||
# Remove with next version update.
|
||||
(fetchpatch {
|
||||
url = "https://github.com/openturns/openturns/commit/a85061f89a5763061467beac516c1355fe81b9be.patch";
|
||||
hash = "sha256-z28ipBuX3b5UFEnKuDfp+kMI5cUcwXVz/8WZHlICnvE=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake ] ++ lib.optional enablePython python3Packages.sphinx;
|
||||
buildInputs = [
|
||||
swig
|
||||
@ -84,6 +75,7 @@ stdenv.mkDerivation rec {
|
||||
description = "Multivariate probabilistic modeling and uncertainty treatment library";
|
||||
license = with licenses; [ lgpl3 gpl3 ];
|
||||
homepage = "https://openturns.github.io/www/";
|
||||
changelog = "https://github.com/openturns/openturns/raw/v${version}/ChangeLog";
|
||||
maintainers = with maintainers; [ gdinh ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
|
@ -15,13 +15,13 @@ let
|
||||
in
|
||||
backendStdenv.mkDerivation (finalAttrs: {
|
||||
name = "nccl-${finalAttrs.version}-cuda-${cudaVersion}";
|
||||
version = "2.16.5-1";
|
||||
version = "2.18.3-1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "NVIDIA";
|
||||
repo = "nccl";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-JyhhYKSVIqUKIbC1rCJozPT1IrIyRLGrTjdPjJqsYaU=";
|
||||
hash = "sha256-v4U4IzwiuiYFyFhxVmNOCUmkbSg/AM0QtWPve0ehVhs=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
@ -8,16 +8,16 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "adax";
|
||||
version = "0.2.0";
|
||||
version = "0.3.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Danielhiversen";
|
||||
repo = "pyadax";
|
||||
rev = version;
|
||||
hash = "sha256-EMSX2acklwWOYiEeLHYG5mwdiGnWAUo5dGMiHCmZrko=";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-y4c1RBy/UxmKP7+mHXi86XJ2/RXGrqkj94I2Q699EJU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -28,11 +28,14 @@ buildPythonPackage rec {
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "adax" ];
|
||||
pythonImportsCheck = [
|
||||
"adax"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module to communicate with Adax";
|
||||
homepage = "https://github.com/Danielhiversen/pyAdax";
|
||||
changelog = "https://github.com/Danielhiversen/pyAdax/releases/tag/${version}";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
@ -2,13 +2,15 @@
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, pyjwt
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioaseko";
|
||||
version = "0.0.2";
|
||||
version = "0.1.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -16,16 +18,26 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "milanmeu";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-nJRVNBYfBcLYnBsTpQZYMHYWh0+hQObVKJ7sOXFwDjc=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-RgIwA5/W7qtgI9ZTF4oDPuzSc+r04ZV3JOaNNFjS0pU=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Remove time, https://github.com/milanmeu/aioaseko/pull/6
|
||||
(fetchpatch {
|
||||
name = "remove-time.patch";
|
||||
url = "https://github.com/milanmeu/aioaseko/commit/07d7ca43a2edd060e95a64737f072d98ba938484.patch";
|
||||
hash = "sha256-67QaqSy5mGY/22jWHOkymr0pFoiizVQAXlrqXRb3tG0=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
pyjwt
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
@ -38,6 +50,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Module to interact with the Aseko Pool Live API";
|
||||
homepage = "https://github.com/milanmeu/aioaseko";
|
||||
changelog = "https://github.com/milanmeu/aioaseko/releases/tag/v${version}";
|
||||
license = with licenses; [ lgpl3Plus ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user