Merge staging-next into staging
This commit is contained in:
@@ -212,6 +212,11 @@ jobs:
|
||||
if (approvals.size > 0) after.push(`12.approvals: ${approvals.size > 2 ? '3+' : approvals.size}`)
|
||||
if (Array.from(maintainers).some(m => approvals.has(m))) after.push('12.approved-by: package-maintainer')
|
||||
|
||||
if (context.eventName == 'pull_request') {
|
||||
core.info('Skipping labeling on a pull_request event (no privileges).')
|
||||
return
|
||||
}
|
||||
|
||||
// Remove the ones not needed anymore
|
||||
await Promise.all(
|
||||
before.filter(name => !after.includes(name))
|
||||
@@ -247,12 +252,12 @@ jobs:
|
||||
name: Labels from touched files
|
||||
if: |
|
||||
github.event_name == 'pull_request_target' &&
|
||||
github.event.pull_request.head.repo.owner.login != 'NixOS' || !(
|
||||
(github.event.pull_request.head.repo.owner.login != 'NixOS' || !(
|
||||
github.head_ref == 'haskell-updates' ||
|
||||
github.head_ref == 'python-updates' ||
|
||||
github.head_ref == 'staging-next' ||
|
||||
startsWith(github.head_ref, 'staging-next-')
|
||||
)
|
||||
))
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
configuration-path: .github/labeler.yml # default
|
||||
@@ -262,12 +267,12 @@ jobs:
|
||||
name: Labels from touched files (no sync)
|
||||
if: |
|
||||
github.event_name == 'pull_request_target' &&
|
||||
github.event.pull_request.head.repo.owner.login != 'NixOS' || !(
|
||||
(github.event.pull_request.head.repo.owner.login != 'NixOS' || !(
|
||||
github.head_ref == 'haskell-updates' ||
|
||||
github.head_ref == 'python-updates' ||
|
||||
github.head_ref == 'staging-next' ||
|
||||
startsWith(github.head_ref, 'staging-next-')
|
||||
)
|
||||
))
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
configuration-path: .github/labeler-no-sync.yml
|
||||
@@ -280,12 +285,12 @@ jobs:
|
||||
# the backport labels.
|
||||
if: |
|
||||
github.event_name == 'pull_request_target' &&
|
||||
github.event.pull_request.head.repo.owner.login == 'NixOS' && (
|
||||
(github.event.pull_request.head.repo.owner.login == 'NixOS' && (
|
||||
github.head_ref == 'haskell-updates' ||
|
||||
github.head_ref == 'python-updates' ||
|
||||
github.head_ref == 'staging-next' ||
|
||||
startsWith(github.head_ref, 'staging-next-')
|
||||
)
|
||||
))
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
configuration-path: .github/labeler-development-branches.yml
|
||||
|
||||
@@ -115,3 +115,46 @@ A nominal type marker, always `"configuration"`.
|
||||
#### `class` {#module-system-lib-evalModules-return-value-_configurationClass}
|
||||
|
||||
The [`class` argument](#module-system-lib-evalModules-param-class).
|
||||
|
||||
## Module arguments {#module-system-module-arguments}
|
||||
|
||||
Module arguments are the attribute values passed to modules when they are evaluated.
|
||||
|
||||
They originate from these sources:
|
||||
1. Built-in arguments
|
||||
- `lib`,
|
||||
- `config`,
|
||||
- `options`,
|
||||
- `_class`,
|
||||
- `_prefix`,
|
||||
2. Attributes from the [`specialArgs`] argument passed to [`evalModules`] or `submoduleWith`. These are application-specific.
|
||||
3. Attributes from the `_module.args` option value. These are application-specific and can be provided by any module.
|
||||
|
||||
The prior two categories are available while evaluating the `imports`, whereas
|
||||
the last category is only available after the `imports` have been resolved.
|
||||
|
||||
[`lib`]{#module-system-module-argument-lib} [🔗](#module-system-module-argument-lib)
|
||||
: A reference to the Nixpkgs library.
|
||||
|
||||
[`config`]{#module-system-module-argument-config} [🔗](#module-system-module-argument-config)
|
||||
: All option values.
|
||||
Unlike the `evalModules` [`config` return attribute](#module-system-lib-evalModules-return-value-config), this includes `_module`.
|
||||
|
||||
[`options`]{#module-system-module-argument-options} [🔗](#module-system-module-argument-options)
|
||||
: All evaluated option declarations.
|
||||
|
||||
[`_class`]{#module-system-module-argument-_class} [🔗](#module-system-module-argument-_class)
|
||||
: The [expected class](#module-system-lib-evalModules-param-class) of the loaded modules.
|
||||
|
||||
[`_prefix`]{#module-system-module-argument-_prefix} [🔗](#module-system-module-argument-_prefix)
|
||||
: The location under which the module is evaluated.
|
||||
This is used to improve error reporting and to find the implicit `name` module argument in submodules.
|
||||
It is exposed as a module argument due to how the module system is implemented, which cannot be avoided without breaking compatibility.
|
||||
|
||||
It is a good practice not to rely on `_prefix`. A module should not make assumptions about its location in the configuration tree.
|
||||
For example, the root of a NixOS configuration may have a non-empty prefix, for example when it is a specialisation, or when it is part of a larger, multi-host configuration such as a [NixOS test](https://nixos.org/manual/nixos/unstable/#sec-nixos-tests).
|
||||
Instead of depending on `_prefix` use explicit options, whose default definitions can be provided by the module that imports them.
|
||||
|
||||
<!-- markdown link aliases -->
|
||||
[`evalModules`]: #module-system-lib-evalModules
|
||||
[`specialArgs`]: #module-system-lib-evalModules-param-specialArgs
|
||||
|
||||
@@ -4515,5 +4515,23 @@
|
||||
],
|
||||
"sec-interop.cylonedx-fod": [
|
||||
"index.html#sec-interop.cylonedx-fod"
|
||||
],
|
||||
"module-system-module-argument-_prefix": [
|
||||
"index.html#module-system-module-argument-_prefix"
|
||||
],
|
||||
"module-system-module-argument-lib": [
|
||||
"index.html#module-system-module-argument-lib"
|
||||
],
|
||||
"module-system-module-argument-config": [
|
||||
"index.html#module-system-module-argument-config"
|
||||
],
|
||||
"module-system-module-arguments": [
|
||||
"index.html#module-system-module-arguments"
|
||||
],
|
||||
"module-system-module-argument-_class": [
|
||||
"index.html#module-system-module-argument-_class"
|
||||
],
|
||||
"module-system-module-argument-options": [
|
||||
"index.html#module-system-module-argument-options"
|
||||
]
|
||||
}
|
||||
|
||||
+4
-2
@@ -216,8 +216,9 @@ in
|
||||
/**
|
||||
Wrap a derivation such that instantiating it produces a warning.
|
||||
|
||||
All attributes apart from `meta`, `name`, and `type` (which are used by
|
||||
`nix search`) will be wrapped in `lib.warn`.
|
||||
All attributes will be wrapped with `lib.warn` except from `.meta`, `.name`,
|
||||
and `.type` which are used by `nix search`, and `.outputName` which avoids
|
||||
double warnings with `nix-instantiate` and `nix-build`.
|
||||
|
||||
# Inputs
|
||||
|
||||
@@ -246,6 +247,7 @@ in
|
||||
"meta"
|
||||
"name"
|
||||
"type"
|
||||
"outputName"
|
||||
];
|
||||
in
|
||||
drv // mapAttrs (_: lib.warn msg) drvToWrap;
|
||||
|
||||
+10
-3
@@ -258,6 +258,7 @@ let
|
||||
specialArgs
|
||||
;
|
||||
_class = class;
|
||||
_prefix = prefix;
|
||||
}
|
||||
// specialArgs
|
||||
);
|
||||
@@ -388,6 +389,7 @@ let
|
||||
value = m;
|
||||
_type = m._type;
|
||||
expectedClass = class;
|
||||
prefix = args._prefix;
|
||||
}
|
||||
)
|
||||
else if isList m then
|
||||
@@ -1976,6 +1978,10 @@ let
|
||||
file != null && file != unknownModule
|
||||
) ", while trying to load a module into ${toString file}";
|
||||
|
||||
into_prefix_maybe =
|
||||
prefix:
|
||||
optionalString (prefix != [ ]) ", while trying to load a module into ${code (showOption prefix)}";
|
||||
|
||||
/**
|
||||
Format text with one line break between each list item.
|
||||
*/
|
||||
@@ -2023,12 +2029,13 @@ let
|
||||
value,
|
||||
_type,
|
||||
expectedClass ? null,
|
||||
prefix,
|
||||
}:
|
||||
paragraphs (
|
||||
[
|
||||
''
|
||||
Expected a module, but found a value of type ${warn (escapeNixString _type)}${into_fallback_file_maybe fallbackFile}.
|
||||
A module is typically loaded by adding it the ${code "imports = [ ... ];"} attribute of an existing module, or in the ${code "modules = [ ... ];"} argument of various functions.
|
||||
Expected a module, but found a value of type ${warn (escapeNixString _type)}${into_fallback_file_maybe fallbackFile}${into_prefix_maybe prefix}.
|
||||
A module is typically loaded by adding it to the ${code "imports = [ ... ];"} attribute of an existing module, or in the ${code "modules = [ ... ];"} argument of various functions.
|
||||
Please make sure that each of the list items is a module, and not a different kind of value.
|
||||
''
|
||||
]
|
||||
@@ -2057,7 +2064,7 @@ let
|
||||
'')
|
||||
]
|
||||
++ optionalMatch {
|
||||
# We'll no more than 5 custom suggestions here.
|
||||
# We'll add no more than 5 custom suggestions here.
|
||||
# Please switch to `.modules.${class}` in your Module System application.
|
||||
"nixos" = trim ''
|
||||
or
|
||||
|
||||
@@ -364,6 +364,9 @@ checkConfigOutput '^"submodule"$' options.submodule.type.description ./declare-s
|
||||
## Paths should be allowed as values and work as expected
|
||||
checkConfigOutput '^true$' config.submodule.enable ./declare-submoduleWith-path.nix
|
||||
|
||||
## _prefix module argument is available at import time and contains the prefix
|
||||
checkConfigOutput '^true$' config.foo.ok ./prefix-module-argument.nix
|
||||
|
||||
## deferredModule
|
||||
# default module is merged into nodes.foo
|
||||
checkConfigOutput '"beta"' config.nodes.foo.settingsDict.c ./deferred-module.nix
|
||||
@@ -615,6 +618,7 @@ checkConfigError 'Expected a module, but found a value of type .*"flake".*, whil
|
||||
checkConfigOutput '^true$' config.enable ./declare-enable.nix ./define-enable-with-top-level-mkIf.nix
|
||||
checkConfigError 'Expected a module, but found a value of type .*"configuration".*, while trying to load a module into .*/import-configuration.nix.' config ./import-configuration.nix
|
||||
checkConfigError 'please only import the modules that make up the configuration' config ./import-configuration.nix
|
||||
checkConfigError 'Expected a module, but found a value of type "configuration", while trying to load a module into .*/import-error-submodule.nix, while trying to load a module into .*foo.*\.' config.foo ./import-error-submodule.nix
|
||||
|
||||
# doRename works when `warnings` does not exist.
|
||||
checkConfigOutput '^1234$' config.c.d.e ./doRename-basic.nix
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
{ lib, ... }:
|
||||
let
|
||||
myconf = lib.evalModules { modules = [ { } ]; };
|
||||
in
|
||||
{
|
||||
options.foo = lib.mkOption {
|
||||
type = lib.types.submodule { };
|
||||
default = { };
|
||||
};
|
||||
config.foo =
|
||||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
# error, like `import-configuration.nix`, but in a submodule this time
|
||||
myconf
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{ lib, ... }:
|
||||
{
|
||||
options.foo = lib.mkOption {
|
||||
type = lib.types.submodule { };
|
||||
default = { };
|
||||
};
|
||||
|
||||
config = {
|
||||
foo =
|
||||
{ _prefix, ... }:
|
||||
assert _prefix == [ "foo" ];
|
||||
{
|
||||
options.ok = lib.mkOption { };
|
||||
config.ok = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -6961,6 +6961,12 @@
|
||||
githubId = 277927;
|
||||
name = "Dylan Taylor";
|
||||
};
|
||||
dynamicgoose = {
|
||||
email = "gezaahs@gmail.com";
|
||||
github = "dynamicgoose";
|
||||
githubId = 75172915;
|
||||
name = "Géza Ahsendorf";
|
||||
};
|
||||
dysinger = {
|
||||
email = "tim@dysinger.net";
|
||||
github = "dysinger";
|
||||
@@ -12581,6 +12587,12 @@
|
||||
githubId = 62934740;
|
||||
keys = [ { fingerprint = "E9C6 44C7 F6AA A865 4CB9 2723 22C8 B0CE B9AC 4AFF"; } ];
|
||||
};
|
||||
juliabru = {
|
||||
name = "Julia Brunenberg";
|
||||
email = "julia@jjim.de";
|
||||
github = "juliadin";
|
||||
githubId = 7837969;
|
||||
};
|
||||
JulianFP = {
|
||||
name = "Julian Partanen";
|
||||
github = "JulianFP";
|
||||
@@ -16304,11 +16316,11 @@
|
||||
name = "midchildan";
|
||||
keys = [ { fingerprint = "FEF0 AE2D 5449 3482 5F06 40AA 186A 1EDA C5C6 3F83"; } ];
|
||||
};
|
||||
midirhee12 = {
|
||||
email = "midirhee@proton.me";
|
||||
github = "midirhee12";
|
||||
midischwarz12 = {
|
||||
email = "midischwarz@proton.me";
|
||||
github = "midischwarz12";
|
||||
githubId = 38054771;
|
||||
name = "midirhee12";
|
||||
name = "midischwarz12";
|
||||
};
|
||||
mig4ng = {
|
||||
email = "mig4ng@gmail.com";
|
||||
@@ -18634,6 +18646,11 @@
|
||||
githubId = 4728903;
|
||||
name = "Owen Lynch";
|
||||
};
|
||||
omarjatoi = {
|
||||
github = "omarjatoi";
|
||||
githubId = 9091609;
|
||||
name = "Omar Jatoi";
|
||||
};
|
||||
omasanori = {
|
||||
github = "omasanori";
|
||||
githubId = 167209;
|
||||
@@ -25556,6 +25573,17 @@
|
||||
github = "tpwrules";
|
||||
githubId = 208010;
|
||||
};
|
||||
transcaffeine = {
|
||||
name = "transcaffeine";
|
||||
email = "transcaffeine@finally.coffee";
|
||||
github = "transcaffeine";
|
||||
githubId = 139544537;
|
||||
keys = [
|
||||
{
|
||||
fingerprint = "5E0A 9CB3 9806 57CB 9AB9 4AE6 790E AEC8 F99A B41F";
|
||||
}
|
||||
];
|
||||
};
|
||||
traverseda = {
|
||||
email = "traverse.da@gmail.com";
|
||||
github = "traverseda";
|
||||
@@ -27115,6 +27143,13 @@
|
||||
githubId = 13378502;
|
||||
name = "Wulfsta";
|
||||
};
|
||||
wulpine = {
|
||||
name = "Wulpey";
|
||||
email = "wulpine@proton.me";
|
||||
matrix = "@wulpine:matrix.org";
|
||||
github = "wulpine";
|
||||
githubId = 59339992;
|
||||
};
|
||||
wunderbrick = {
|
||||
name = "Andrew Phipps";
|
||||
email = "lambdafuzz@tutanota.com";
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
|
||||
- [Pi-hole](https://pi-hole.net/), a DNS sinkhole for advertisements based on Dnsmasq. Available as [services.pihole-ftl](#opt-services.pihole-ftl.enable), and [services.pihole-web](#opt-services.pihole-web.enable) for the web GUI and API.
|
||||
|
||||
- [Fediwall](https://fediwall.social), a web application for live displaying toots from mastodon, inspired by mastowall. Available as [services.fediwall](#opt-services.fediwall.enable).
|
||||
|
||||
- [FileBrowser](https://filebrowser.org/), a web application for managing and sharing files. Available as [services.filebrowser](#opt-services.filebrowser.enable).
|
||||
|
||||
- Options under [networking.getaddrinfo](#opt-networking.getaddrinfo.enable) are now allowed to declaratively configure address selection and sorting behavior of `getaddrinfo` in dual-stack networks.
|
||||
|
||||
@@ -1544,6 +1544,7 @@
|
||||
./services/web-apps/eintopf.nix
|
||||
./services/web-apps/engelsystem.nix
|
||||
./services/web-apps/ethercalc.nix
|
||||
./services/web-apps/fediwall.nix
|
||||
./services/web-apps/fider.nix
|
||||
./services/web-apps/filebrowser.nix
|
||||
./services/web-apps/filesender.nix
|
||||
|
||||
@@ -0,0 +1,128 @@
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
cfg = config.services.fediwall;
|
||||
pkg = cfg.package.override { conf = cfg.settings; };
|
||||
format = pkgs.formats.json { };
|
||||
in
|
||||
{
|
||||
options.services.fediwall = {
|
||||
enable = lib.mkEnableOption "fediwall, a social media wall for the fediverse";
|
||||
package = lib.mkPackageOption pkgs "fediwall" { };
|
||||
hostName = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = config.networking.fqdnOrHostName;
|
||||
defaultText = lib.literalExpression "config.networking.fqdnOrHostName";
|
||||
example = "fediwall.example.org";
|
||||
description = "The hostname to serve fediwall on.";
|
||||
};
|
||||
settings = lib.mkOption {
|
||||
default = { };
|
||||
description = ''
|
||||
Fediwall configuration. See
|
||||
https://github.com/defnull/fediwall/blob/main/public/wall-config.json.example
|
||||
for information on supported values.
|
||||
'';
|
||||
type = lib.types.submodule {
|
||||
freeformType = format.type;
|
||||
options = {
|
||||
servers = lib.mkOption {
|
||||
type = with lib.types; listOf str;
|
||||
default = [ "mastodon.social" ];
|
||||
description = "Servers to load posts from";
|
||||
};
|
||||
tags = lib.mkOption {
|
||||
type = with lib.types; listOf str;
|
||||
default = [ ];
|
||||
example = lib.literalExpression "[ \"cats\" \"dogs\"]";
|
||||
description = "Tags to follow";
|
||||
};
|
||||
loadPublic = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Load public posts";
|
||||
};
|
||||
loadFederated = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Load federated posts";
|
||||
};
|
||||
loadTrends = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Load trending posts";
|
||||
};
|
||||
hideSensitive = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
description = "Hide sensitive (potentially NSFW) posts";
|
||||
};
|
||||
hideBots = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
description = "Hide posts from bot accounts";
|
||||
};
|
||||
hideReplies = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
description = "Hide replies";
|
||||
};
|
||||
hideBoosts = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Hide boosts";
|
||||
};
|
||||
showMedia = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
description = "Show media in posts";
|
||||
};
|
||||
playVideos = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
description = "Autoplay videos in posts";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
nginx = lib.mkOption {
|
||||
type = lib.types.submodule (
|
||||
lib.recursiveUpdate (import ../web-servers/nginx/vhost-options.nix { inherit config lib; }) { }
|
||||
);
|
||||
default = { };
|
||||
example = lib.literalExpression ''
|
||||
{
|
||||
serverAliases = [
|
||||
"fedi.''${config.networking.domain}"
|
||||
];
|
||||
# Enable TLS and use let's encrypt for ACME
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
}
|
||||
'';
|
||||
description = "Allows customizing the nginx virtualHost settings";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.nginx = {
|
||||
enable = lib.mkDefault true;
|
||||
virtualHosts."${cfg.hostName}" = lib.mkMerge [
|
||||
cfg.nginx
|
||||
{
|
||||
root = lib.mkForce "${pkg}";
|
||||
locations = {
|
||||
"/" = {
|
||||
index = "index.html";
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -8,13 +8,13 @@
|
||||
nix-update-script,
|
||||
}:
|
||||
let
|
||||
version = "0.2.0";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Saghen";
|
||||
repo = "blink.pairs";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-fOOo+UnrbQJFWyqjpiFwhytlPoPRnUlGswQdZb3/ws0=";
|
||||
hash = "sha256-RTY/uGviyHlO+ZmLwOC5BabKr+kRDAXGZNdS9fVRPWA=";
|
||||
};
|
||||
|
||||
blink-pairs-lib = rustPlatform.buildRustPackage {
|
||||
@@ -22,7 +22,9 @@ let
|
||||
inherit version src;
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-vkybRuym1yibaw943Gs9luYLdYEp4tgvA8e4maATiTY=";
|
||||
cargoHash = "sha256-j+zk0UMjvaVgsdF5iaRVO4Puf/XtGu08Cs92jKPaM1g=";
|
||||
|
||||
env.RUSTC_BOOTSTRAP = 1;
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
|
||||
@@ -0,0 +1,78 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchgit,
|
||||
qt5,
|
||||
qtbase,
|
||||
qtx11extras,
|
||||
qttools,
|
||||
zlib,
|
||||
gnumake,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "x2gokdriveclient";
|
||||
version = "0.0.0.1-unstable-2024-09-10";
|
||||
|
||||
src = fetchgit {
|
||||
#url = "https://code.x2go.org/git/x2gokdriveclient.git";
|
||||
|
||||
# in reference to https://github.com/NixOS/nixpkgs/tree/master/pkgs#sources
|
||||
# I am aware that this is bad practice. The HTTPS url above responds with a 500 and is hopelessly
|
||||
# overloaded. the X2Go project doesn't seem to maintain a good and healthy code repository on github
|
||||
# either.
|
||||
url = "git://code.x2go.org/x2gokdriveclient.git";
|
||||
rev = "ed53784a236ef4fe00adce726be492c4bf227d73";
|
||||
hash = "sha256-hWPM0bye4I34T7y2ipZOULY2+ehVanmTj4V80+lc+iw=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
qtbase
|
||||
qtx11extras
|
||||
qttools
|
||||
zlib
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
qt5.wrapQtAppsHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace-fail "SHELL=/bin/bash" "SHELL=$SHELL" \
|
||||
--replace-fail "MAKEOVERRIDES" "NOMAKEOVERRIDES " \
|
||||
--replace-fail ".MAKEFLAGS" ".NOFLAGS " \
|
||||
--replace-fail "qmake" "${qtbase.dev}/bin/qmake" \
|
||||
--replace-fail "-o root -g root" ""
|
||||
substituteInPlace \
|
||||
VERSION.x2gokdriveclient \
|
||||
x2gokdriveclient.spec \
|
||||
man/man1/x2gokdriveclient.1 \
|
||||
--replace-fail "0.0.0.2" "${finalAttrs.version}"
|
||||
'';
|
||||
|
||||
makeFlags = [
|
||||
"PREFIX=$(out)"
|
||||
"ETCDIR=$(out)/etc"
|
||||
"build_client"
|
||||
"build_man"
|
||||
];
|
||||
|
||||
installTargets = [
|
||||
"install_client"
|
||||
"install_man"
|
||||
];
|
||||
|
||||
qtWrapperArgs = [
|
||||
"--set QT_QPA_PLATFORM xcb"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Graphical NoMachine NX3 remote desktop client (KDrive client)";
|
||||
mainProgram = "x2gokdriveclient";
|
||||
homepage = "https://x2go.org/";
|
||||
maintainers = with maintainers; [ juliabru ];
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
})
|
||||
@@ -2,7 +2,6 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitLab,
|
||||
bash,
|
||||
btrfs-progs,
|
||||
cmake,
|
||||
coreutils,
|
||||
@@ -17,13 +16,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "btrfs-assistant";
|
||||
version = "2.1.1";
|
||||
version = "2.2";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "btrfs-assistant";
|
||||
repo = "btrfs-assistant";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-I4nbQmHwk84qN1SngKzKnPtQN5Dz1QSSEpHJxV8wkJw=";
|
||||
hash = "sha256-hFWYT+YIgnqBigpPkGdsLj6rcg4CjJffAyXlR23QP0Y=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -43,18 +42,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
util-linux
|
||||
] ++ lib.optionals enableSnapper [ snapper ];
|
||||
|
||||
prePatch =
|
||||
''
|
||||
substituteInPlace src/util/System.cpp \
|
||||
--replace-fail '/bin/bash' "${lib.getExe bash}"
|
||||
|
||||
substituteInPlace src/main.cpp \
|
||||
--replace-fail 'if (!qEnvironmentVariableIsEmpty("DISPLAY"))' ' if(!qEnvironmentVariableIsEmpty("DISPLAY") || !qEnvironmentVariableIsEmpty("WAYLAND_DISPLAY"))'
|
||||
''
|
||||
+ lib.optionalString enableSnapper ''
|
||||
substituteInPlace src/main.cpp \
|
||||
--replace-fail '/usr/bin/snapper' "${lib.getExe snapper}"
|
||||
'';
|
||||
prePatch = lib.optionalString enableSnapper ''
|
||||
substituteInPlace src/main.cpp \
|
||||
--replace-fail '/usr/bin/snapper' "${lib.getExe snapper}"
|
||||
'';
|
||||
|
||||
postPatch =
|
||||
''
|
||||
|
||||
@@ -14,13 +14,13 @@
|
||||
|
||||
flutter332.buildFlutterApplication rec {
|
||||
pname = "chatmcp";
|
||||
version = "0.0.62";
|
||||
version = "0.0.66";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "daodao97";
|
||||
repo = "chatmcp";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-DEq1LECqlvl3P4ib3RyHK3VLbcTh8PXJtbWwK/0R5dA=";
|
||||
hash = "sha256-X4cndztMEncAwosSg2RaK3trvupwumcPpMb94D6JEcE=";
|
||||
};
|
||||
|
||||
pubspecLock = lib.importJSON ./pubspec.lock.json;
|
||||
|
||||
@@ -194,11 +194,11 @@
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "checked_yaml",
|
||||
"sha256": "feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff",
|
||||
"sha256": "959525d3162f249993882720d52b7e0c833978df229be20702b33d48d91de70f",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.0.3"
|
||||
"version": "2.0.4"
|
||||
},
|
||||
"cli_config": {
|
||||
"dependency": "transitive",
|
||||
@@ -264,11 +264,11 @@
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "coverage",
|
||||
"sha256": "4b8701e48a58f7712492c9b1f7ba0bb9d525644dd66d023b62e1fc8cdb560c8a",
|
||||
"sha256": "aa07dbe5f2294c827b7edb9a87bba44a9c15a3cc81bc8da2ca19b37322d30080",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.14.0"
|
||||
"version": "1.14.1"
|
||||
},
|
||||
"cross_file": {
|
||||
"dependency": "transitive",
|
||||
@@ -320,6 +320,16 @@
|
||||
"source": "hosted",
|
||||
"version": "3.1.0"
|
||||
},
|
||||
"dev_build": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "dev_build",
|
||||
"sha256": "fda8a54458b2a873a84e0cd1513f4323a1fb0599ed5455245359bc0398bad9ee",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.1.2+11"
|
||||
},
|
||||
"event_bus": {
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
@@ -374,11 +384,11 @@
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
"name": "file_picker",
|
||||
"sha256": "77f8e81d22d2a07d0dee2c62e1dda71dc1da73bf43bb2d45af09727406167964",
|
||||
"sha256": "ef9908739bdd9c476353d6adff72e88fd00c625f5b959ae23f7567bd5137db0a",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "10.1.9"
|
||||
"version": "10.2.0"
|
||||
},
|
||||
"fixnum": {
|
||||
"dependency": "transitive",
|
||||
@@ -580,11 +590,11 @@
|
||||
"dependency": "direct dev",
|
||||
"description": {
|
||||
"name": "flutter_launcher_icons",
|
||||
"sha256": "bfa04787c85d80ecb3f8777bde5fc10c3de809240c48fa061a2c2bf15ea5211c",
|
||||
"sha256": "10f13781741a2e3972126fae08393d3c4e01fa4cd7473326b94b72cf594195e7",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "0.14.3"
|
||||
"version": "0.14.4"
|
||||
},
|
||||
"flutter_lints": {
|
||||
"dependency": "direct dev",
|
||||
@@ -626,11 +636,11 @@
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
"name": "flutter_popup",
|
||||
"sha256": "63cbae63fb15f81be1b533cc53306d3835305e314e8ce99c62b98d45ab685261",
|
||||
"sha256": "08e554be1173f4e7bb5eda2ae2e5addd565873026a3ac9b64c38ea86dfd4dc9d",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "3.3.7"
|
||||
"version": "3.3.9"
|
||||
},
|
||||
"flutter_svg": {
|
||||
"dependency": "direct main",
|
||||
@@ -804,15 +814,15 @@
|
||||
"source": "hosted",
|
||||
"version": "4.9.0"
|
||||
},
|
||||
"jsonc": {
|
||||
"json_serializable": {
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
"name": "jsonc",
|
||||
"sha256": "326a3c5c774a77c3c4e327f359e0268bff34135d0c16078beee6d921c49a16ed",
|
||||
"name": "json_serializable",
|
||||
"sha256": "c50ef5fc083d5b5e12eef489503ba3bf5ccc899e487d691584699b4bdefeea8c",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "0.0.3"
|
||||
"version": "6.9.5"
|
||||
},
|
||||
"keyboard_dismisser": {
|
||||
"dependency": "direct main",
|
||||
@@ -1134,6 +1144,16 @@
|
||||
"source": "hosted",
|
||||
"version": "6.0.2"
|
||||
},
|
||||
"process_run": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "process_run",
|
||||
"sha256": "6ec839cdd3e6de4685318e7686cd4abb523c3d3a55af0e8d32a12ae19bc66622",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.2.4"
|
||||
},
|
||||
"provider": {
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
@@ -1390,6 +1410,16 @@
|
||||
"source": "hosted",
|
||||
"version": "2.0.0"
|
||||
},
|
||||
"source_helper": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "source_helper",
|
||||
"sha256": "86d247119aedce8e63f4751bd9626fc9613255935558447569ad42f9f5b48b3c",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.3.5"
|
||||
},
|
||||
"source_map_stack_trace": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
@@ -1464,11 +1494,21 @@
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
"name": "sqflite_common_ffi",
|
||||
"sha256": "1f3ef3888d3bfbb47785cc1dda0dc7dd7ebd8c1955d32a9e8e9dae1e38d1c4c1",
|
||||
"sha256": "9faa2fedc5385ef238ce772589f7718c24cdddd27419b609bb9c6f703ea27988",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.3.5"
|
||||
"version": "2.3.6"
|
||||
},
|
||||
"sqflite_common_ffi_web": {
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
"name": "sqflite_common_ffi_web",
|
||||
"sha256": "983cf7b33b16e6bc086c8e09f6a1fae69d34cdb167d7acaf64cbd3515942d4e6",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.0.0"
|
||||
},
|
||||
"sqflite_darwin": {
|
||||
"dependency": "transitive",
|
||||
@@ -1714,11 +1754,11 @@
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "vector_graphics",
|
||||
"sha256": "44cc7104ff32563122a929e4620cf3efd584194eec6d1d913eb5ba593dbcf6de",
|
||||
"sha256": "a4f059dc26fc8295b5921376600a194c4ec7d55e72f2fe4c7d2831e103d461e6",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.1.18"
|
||||
"version": "1.1.19"
|
||||
},
|
||||
"vector_graphics_codec": {
|
||||
"dependency": "transitive",
|
||||
@@ -1774,11 +1814,11 @@
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "watcher",
|
||||
"sha256": "69da27e49efa56a15f8afe8f4438c4ec02eff0a117df1b22ea4aad194fe1c104",
|
||||
"sha256": "0b7fd4a0bbc4b92641dbf20adfd7e3fd1398fe17102d94b674234563e110088a",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.1.1"
|
||||
"version": "1.1.2"
|
||||
},
|
||||
"web": {
|
||||
"dependency": "transitive",
|
||||
@@ -1824,11 +1864,11 @@
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "win32",
|
||||
"sha256": "329edf97fdd893e0f1e3b9e88d6a0e627128cc17cc316a8d67fda8f1451178ba",
|
||||
"sha256": "66814138c3562338d05613a6e368ed8cfb237ad6d64a9e9334be3f309acfca03",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "5.13.0"
|
||||
"version": "5.14.0"
|
||||
},
|
||||
"window_manager": {
|
||||
"dependency": "direct main",
|
||||
|
||||
+4
-4
@@ -6,13 +6,13 @@
|
||||
"packages": {
|
||||
"": {
|
||||
"dependencies": {
|
||||
"@anthropic-ai/claude-code": "^1.0.24"
|
||||
"@anthropic-ai/claude-code": "^1.0.29"
|
||||
}
|
||||
},
|
||||
"node_modules/@anthropic-ai/claude-code": {
|
||||
"version": "1.0.24",
|
||||
"resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-1.0.24.tgz",
|
||||
"integrity": "sha512-4S6ly2297ngNlto7IFZeEicS9u0yRDhocOzndWFovGBb+iUoEPKdZa/rhVk/tcyCADL6S+mMkiGQOlqFDrN3JQ==",
|
||||
"version": "1.0.29",
|
||||
"resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-1.0.29.tgz",
|
||||
"integrity": "sha512-ZHw84ZJTxtG/jTLioTkF2ck+whQEKQvCrYvjP+nZnVFirOPV0QwpJyhKsdHFUufnbO4lqACs4dNNnhy0IlKTzQ==",
|
||||
"hasInstallScript": true,
|
||||
"license": "SEE LICENSE IN README.md",
|
||||
"bin": {
|
||||
|
||||
@@ -7,16 +7,16 @@
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "claude-code";
|
||||
version = "1.0.24";
|
||||
version = "1.0.29";
|
||||
|
||||
nodejs = nodejs_20; # required for sandboxed Nix builds on Darwin
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-${version}.tgz";
|
||||
hash = "sha256-12nmnVM0/+rhWrkIQXttASKPZgGQMvrzWF/JDwR7If4=";
|
||||
hash = "sha256-IQnDrtHeK1F7+yKtPXvfhb6iZq6IKQsn8p7WY8s3jgg=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-0jrARMOuJCU5MEigk0iYspUUHCB6APbCxPpqcp+5ktA=";
|
||||
npmDepsHash = "sha256-Lhzl/Wgvn42ODu18jd0CIuCXziSX25C9ec7yNxdPi2w=";
|
||||
|
||||
postPatch = ''
|
||||
cp ${./package-lock.json} package-lock.json
|
||||
@@ -40,7 +40,10 @@ buildNpmPackage rec {
|
||||
homepage = "https://github.com/anthropics/claude-code";
|
||||
downloadPage = "https://www.npmjs.com/package/@anthropic-ai/claude-code";
|
||||
license = lib.licenses.unfree;
|
||||
maintainers = [ lib.maintainers.malo ];
|
||||
maintainers = with lib.maintainers; [
|
||||
malo
|
||||
omarjatoi
|
||||
];
|
||||
mainProgram = "claude";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
lib,
|
||||
callPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
rustPlatform,
|
||||
cmake,
|
||||
yq,
|
||||
@@ -21,6 +22,7 @@
|
||||
nodejs,
|
||||
git,
|
||||
python3,
|
||||
esbuild,
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -28,28 +30,46 @@ let
|
||||
in
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "deno";
|
||||
version = "2.3.5";
|
||||
version = "2.3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "denoland";
|
||||
repo = "deno";
|
||||
tag = "v${finalAttrs.version}";
|
||||
fetchSubmodules = true; # required for tests
|
||||
hash = "sha256-lu3r1v3iB9NIruooRrV9NawUnKqufqlYJQe+Aumgn8E=";
|
||||
hash = "sha256-l3cWnv2cEmoeecYj38eMIlgqlRjDbtQuc6Q3DmOJoqE=";
|
||||
};
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-XJy7+cARYEX8tAPXLHJnEwXyZIwPaqhM7ZUzoem1Wo0=";
|
||||
cargoHash = "sha256-alvn+d7XTYrw8KXw+k+++J3CsBwAUbQQlh24/EOEzwY=";
|
||||
cargoPatches = [
|
||||
(fetchpatch {
|
||||
name = "fix-sigsegv-on-x86_64-unknown-linux-gnu-targets";
|
||||
url = "https://github.com/denoland/deno/commit/400a9565c335b51d78c8909f4dbf1dbd4fb5e5d8.patch";
|
||||
hash = "sha256-dTIw7P6sB6Esf+lSe/gc3cX54GkzLWF5X55yxP/QYoo=";
|
||||
includes = [ "cli/Cargo.toml" ];
|
||||
})
|
||||
];
|
||||
|
||||
patches = [
|
||||
./tests-replace-hardcoded-paths.patch
|
||||
./tests-darwin-differences.patch
|
||||
./tests-no-chown.patch
|
||||
];
|
||||
postPatch = ''
|
||||
# Use patched nixpkgs libffi in order to fix https://github.com/libffi/libffi/pull/857
|
||||
tomlq -ti '.workspace.dependencies.libffi = { "version": .workspace.dependencies.libffi, "features": ["system"] }' Cargo.toml
|
||||
'';
|
||||
postPatch =
|
||||
''
|
||||
# Use patched nixpkgs libffi in order to fix https://github.com/libffi/libffi/pull/857
|
||||
tomlq -ti '.workspace.dependencies.libffi = { "version": .workspace.dependencies.libffi, "features": ["system"] }' Cargo.toml
|
||||
''
|
||||
+
|
||||
lib.optionalString
|
||||
(stdenv.hostPlatform.isLinux || (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64))
|
||||
''
|
||||
# LTO crashes with the latest Rust + LLVM combination.
|
||||
# https://github.com/rust-lang/rust/issues/141737
|
||||
# TODO: remove this once LLVM is upgraded to 20.1.7
|
||||
tomlq -ti '.profile.release.lto = false' Cargo.toml
|
||||
'';
|
||||
|
||||
buildInputs = [
|
||||
libffi
|
||||
@@ -82,11 +102,42 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
# To avoid this we pre-download the file and export it via RUSTY_V8_ARCHIVE
|
||||
env.RUSTY_V8_ARCHIVE = librusty_v8;
|
||||
|
||||
preCheck = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
# Unset the env var defined by bintools-wrapper because it triggers Deno's sandbox protection in some tests.
|
||||
# ref: https://github.com/denoland/deno/pull/25271
|
||||
unset LD_DYLD_PATH
|
||||
'';
|
||||
# Many tests depend on prebuilt binaries being present at `./third_party/prebuilt`.
|
||||
# We provide nixpkgs binaries for these for all platforms, but the test runner itself only handles
|
||||
# these four arch+platform combinations.
|
||||
doCheck =
|
||||
stdenv.hostPlatform.isDarwin
|
||||
|| (stdenv.hostPlatform.isLinux && (stdenv.hostPlatform.isAarch64 || stdenv.hostPlatform.isx86_64));
|
||||
|
||||
preCheck =
|
||||
# Provide esbuild binary at `./third_party/prebuilt/` just like upstream:
|
||||
# https://github.com/denoland/deno_third_party/tree/master/prebuilt
|
||||
# https://github.com/denoland/deno/blob/main/tests/util/server/src/servers/npm_registry.rs#L402
|
||||
let
|
||||
platform =
|
||||
if stdenv.hostPlatform.isLinux then
|
||||
"linux64"
|
||||
else if stdenv.hostPlatform.isDarwin then
|
||||
"mac"
|
||||
else
|
||||
throw "Unsupported platform";
|
||||
arch =
|
||||
if stdenv.hostPlatform.isAarch64 then
|
||||
"aarch64"
|
||||
else if stdenv.hostPlatform.isx86_64 then
|
||||
"x64"
|
||||
else
|
||||
throw "Unsupported architecture";
|
||||
in
|
||||
''
|
||||
mkdir -p ./third_party/prebuilt/${platform}
|
||||
cp ${lib.getExe esbuild} ./third_party/prebuilt/${platform}/esbuild-${arch}
|
||||
''
|
||||
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
# Unset the env var defined by bintools-wrapper because it triggers Deno's sandbox protection in some tests.
|
||||
# ref: https://github.com/denoland/deno/pull/25271
|
||||
unset LD_DYLD_PATH
|
||||
'';
|
||||
|
||||
cargoTestFlags = [
|
||||
"--lib" # unit tests
|
||||
@@ -119,9 +170,17 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
|
||||
# Flaky
|
||||
"--skip=init::init_subcommand_serve"
|
||||
"--skip=serve::deno_serve_parallel"
|
||||
"--skip=js_unit_tests::stat_test" # timing-sensitive
|
||||
"--skip=repl::pty_complete_imports"
|
||||
"--skip=repl::pty_complete_expression"
|
||||
|
||||
# Test hangs, needs investigation
|
||||
"--skip=repl::pty_complete_imports_no_panic_empty_specifier"
|
||||
|
||||
# Use of VSOCK, might not be available on all platforms
|
||||
"--skip=js_unit_tests::serve_test"
|
||||
"--skip=js_unit_tests::fetch_test"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# Expects specific shared libraries from macOS to be linked
|
||||
|
||||
@@ -94,11 +94,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
bison
|
||||
kdePackages.wrapQtAppsHook
|
||||
wrapGAppsHook3
|
||||
|
||||
kdePackages.qtmultimedia
|
||||
kdePackages.qtnetworkauth
|
||||
kdePackages.qtscxml
|
||||
kdePackages.qtwebengine
|
||||
];
|
||||
|
||||
# Based on <https://www.digikam.org/api/index.html#externaldeps>,
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildNpmPackage,
|
||||
}:
|
||||
|
||||
let
|
||||
version = "1.4.0";
|
||||
in
|
||||
buildNpmPackage {
|
||||
pname = "fediwall";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "defnull";
|
||||
repo = "fediwall";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-aEY6mO7Es+H6CNE4shj/jz47nUeEIxGijKbUscIp0pM=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-0VQ/CBqpQNqjg3lug+AQfFVbh0KhEaGwd+cEakBr/Dc=";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
cp -r dist $out
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Social media wall for the Fediverse";
|
||||
homepage = "https://fediwall.social";
|
||||
license = lib.licenses.agpl3Plus;
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = with lib.maintainers; [ transcaffeine ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fediwall-unwrapped,
|
||||
conf ? { },
|
||||
}:
|
||||
|
||||
if (conf == { }) then
|
||||
fediwall-unwrapped
|
||||
else
|
||||
stdenv.mkDerivation {
|
||||
pname = "fediwall";
|
||||
inherit (fediwall-unwrapped) version meta;
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out
|
||||
ln -s ${fediwall-unwrapped}/* $out
|
||||
echo ${lib.escapeShellArg (builtins.toJSON conf)} \
|
||||
> "$out/wall-config.json"
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
import ./generic.nix {
|
||||
version = "11.0.1";
|
||||
hash = "sha256-hsJfJOJ6mTIGGV+0YwSA9SYsLXxI1VTXzc+SyXJJ69Q=";
|
||||
npmDepsHash = "sha256-laHHXq59/7+rJSYTD1Aq/AvFcio6vsnWkeV8enq3yTg=";
|
||||
vendorHash = "sha256-8fa6l89+6NhVsi6VuTvQs35E3HuiBFxM8NUQ/jzlzV0=";
|
||||
version = "11.0.2";
|
||||
hash = "sha256-myg6BGoCJaX7YbQAFSRwX0KtX/TFLKJOUuirqtQcN8Q=";
|
||||
npmDepsHash = "sha256-wsjosyZ5J5mU7ixbWjXnbqkvgnOE0dGz81vVqaI61go=";
|
||||
vendorHash = "sha256-5eaPdvU2NbCgbL+rcCqzphTESLHGbGZ3MgtXknCjrSc=";
|
||||
lts = true;
|
||||
nixUpdateExtraArgs = [
|
||||
"--override-filename"
|
||||
|
||||
@@ -10,16 +10,16 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "glab";
|
||||
version = "1.59.2";
|
||||
version = "1.60.2";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "gitlab-org";
|
||||
repo = "cli";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-YJ22nIB97MWeiv8anx4W3vugbNyBOC0oHRQ5Fihmt2k=";
|
||||
hash = "sha256-uZHQ11tnxyccolFm5NcHuGMRZqS2Xqaq/GhU7glOjGk=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-yJ9E6zJqDgSDLT+IbVHFvb6rGJQnrqgWHtgkGsO8Gb4=";
|
||||
vendorHash = "sha256-9iBH13P8QTRPlD5UlTbdRH3wht/UNrCwhRC9HwzQ+I8=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
|
||||
stdenv.mkDerivation (final: {
|
||||
pname = "glaze";
|
||||
version = "5.4.0";
|
||||
version = "5.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stephenberry";
|
||||
repo = "glaze";
|
||||
tag = "v${final.version}";
|
||||
hash = "sha256-AG6fnax9UZEhGtAUc8bgGijk8q7ge6lDTb0XjqL+kks=";
|
||||
hash = "sha256-HC8R1wyNySVhuTZczdbiHkQ8STTXA/1GJLKdTXN9VAo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
@@ -18,13 +18,13 @@
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "grimblast";
|
||||
version = "0.1-unstable-2025-05-18";
|
||||
version = "0.1-unstable-2025-06-14";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hyprwm";
|
||||
repo = "contrib";
|
||||
rev = "910dad4c5755c1735d30da10c96d9086aa2a608d";
|
||||
hash = "sha256-PMQoXbfmWPuXnF8EaWqRmvTvl7+WFUrDVgufFRPgOM4=";
|
||||
rev = "9d4963e7394485ba4735779519c59275901de6ab";
|
||||
hash = "sha256-nlmU6lpm8zGe6EnexauHr9Y/4AknE4j+ATcyjIsO1jw=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
}:
|
||||
let
|
||||
pname = "hydralauncher";
|
||||
version = "3.6.0";
|
||||
version = "3.6.1";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/hydralauncher/hydra/releases/download/v${version}/hydralauncher-${version}.AppImage";
|
||||
hash = "sha256-7qXVBS4HTLdvmMfyhE5EoHblovqKmIJuh7FSl5lo224=";
|
||||
hash = "sha256-NKQzOPujPEIPKq3GAphkNijOq9tVAyUy2yCOKZaJHbE=";
|
||||
};
|
||||
|
||||
appimageContents = appimageTools.extractType2 { inherit pname src version; };
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
nix-update-script,
|
||||
}:
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "illuminanced";
|
||||
version = "1.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mikhail-m1";
|
||||
repo = "illuminanced";
|
||||
tag = "${finalAttrs.version}";
|
||||
hash = "sha256-ZEVma0uj9rsWB+vfUL7w3dHxI/ppBCG23TirGE+RREk=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-kPWoQ6rE4wBjmqQLNPY4UWJt/AOgr+eVKY0ZK7B4K1A=";
|
||||
|
||||
preBuild = ''
|
||||
substituteInPlace src/main.rs \
|
||||
--replace-fail /usr/local/etc/illuminanced.toml $out/share/illuminanced/illuminanced.toml
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
install -Dm0644 illuminanced.toml $out/share/illuminanced/illuminanced.toml
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Ambient Light Sensor Daemon for Linux";
|
||||
homepage = "https://github.com/mikhail-m1/illuminanced";
|
||||
changelog = "https://github.com/mikhail-m1/illuminanced/releases/tag/${finalAttrs.version}";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [
|
||||
dynamicgoose
|
||||
];
|
||||
mainProgram = "illuminanced";
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
||||
@@ -39,6 +39,6 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
description = "NerdFont patch of the Inter font";
|
||||
license = lib.licenses.ofl;
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = [ lib.maintainers.midirhee12 ];
|
||||
maintainers = [ lib.maintainers.midischwarz12 ];
|
||||
};
|
||||
})
|
||||
|
||||
@@ -9,16 +9,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "juju";
|
||||
version = "3.6.6";
|
||||
version = "3.6.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "juju";
|
||||
repo = "juju";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-6LMeeWusowwN1Afma+oRrWIYi7BeEH8NRquE8GAx+iQ=";
|
||||
hash = "sha256-FJ6LZcsokno+VTj+mXO0YD8Q9qC5qG3CgXqnrPNokRY=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-/BejA4Wn+SbKQHDqA7hanVaTKzaInLNOMSlesy714VI=";
|
||||
vendorHash = "sha256-blzjN9UknamoffR5Kpd1HmGhB+bWb+zL0SnzelW40M0=";
|
||||
|
||||
subPackages = [
|
||||
"cmd/juju"
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
jansson,
|
||||
getopt,
|
||||
perlPackages,
|
||||
python3,
|
||||
ocamlPackages,
|
||||
libtirpc,
|
||||
appliance ? null,
|
||||
@@ -67,6 +68,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
gperf
|
||||
makeWrapper
|
||||
pkg-config
|
||||
python3
|
||||
python3.pkgs.pycodestyle
|
||||
qemu
|
||||
zstd
|
||||
]
|
||||
@@ -103,6 +106,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
numactl
|
||||
libapparmor
|
||||
perlPackages.ModuleBuild
|
||||
python3
|
||||
libtirpc
|
||||
zstd
|
||||
ocamlPackages.ocamlbuild
|
||||
@@ -120,6 +124,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"--enable-install-daemon"
|
||||
"--disable-appliance"
|
||||
"--with-distro=NixOS"
|
||||
"--with-python-installdir=${placeholder "out"}/${python3.sitePackages}"
|
||||
"--with-readline"
|
||||
"CPPFLAGS=-I${lib.getDev libxml2}/include/libxml2"
|
||||
"INSTALL_OCAMLLIB=${placeholder "out"}/lib/ocaml"
|
||||
|
||||
+23
-30
@@ -402,10 +402,10 @@ index 3b859ea7b4..ccddb3e805 100644
|
||||
]
|
||||
endif
|
||||
diff --git a/src/security/apparmor/meson.build b/src/security/apparmor/meson.build
|
||||
index b9257c816d..98701755d8 100644
|
||||
index 09d9fac02c..ee0c74ceec 100644
|
||||
--- a/src/security/apparmor/meson.build
|
||||
+++ b/src/security/apparmor/meson.build
|
||||
@@ -57,7 +57,7 @@ foreach name : apparmor_gen_profiles
|
||||
@@ -20,16 +20,16 @@ foreach name : apparmor_gen_profiles
|
||||
output: name,
|
||||
configuration: apparmor_gen_profiles_conf,
|
||||
install: true,
|
||||
@@ -413,39 +413,25 @@ index b9257c816d..98701755d8 100644
|
||||
+ install_dir: install_prefix + apparmor_dir,
|
||||
)
|
||||
endforeach
|
||||
|
||||
@@ -68,13 +68,13 @@ foreach name : apparmor_gen_abstractions
|
||||
command: apparmor_gen_cmd,
|
||||
capture: true,
|
||||
install: true,
|
||||
- install_dir: apparmor_dir / 'abstractions',
|
||||
+ install_dir: install_prefix + apparmor_dir / 'abstractions',
|
||||
)
|
||||
endforeach
|
||||
|
||||
|
||||
install_data(
|
||||
[ 'libvirt-qemu', 'libvirt-lxc' ],
|
||||
- install_dir: apparmor_dir / 'abstractions',
|
||||
+ install_dir: install_prefix + apparmor_dir / 'abstractions',
|
||||
)
|
||||
|
||||
install_data(
|
||||
[ 'TEMPLATE.qemu', 'TEMPLATE.lxc' ],
|
||||
- install_dir: apparmor_dir / 'libvirt',
|
||||
+ install_dir: install_prefix + apparmor_dir / 'libvirt',
|
||||
)
|
||||
|
||||
if not conf.has('WITH_APPARMOR_3')
|
||||
@@ -83,7 +83,7 @@ if not conf.has('WITH_APPARMOR_3')
|
||||
# files in order to limit the amount of filesystem clutter.
|
||||
install_data(
|
||||
'usr.lib.libvirt.virt-aa-helper.local',
|
||||
- install_dir: apparmor_dir / 'local',
|
||||
+ install_dir: install_prefix + apparmor_dir / 'local',
|
||||
rename: 'usr.lib.libvirt.virt-aa-helper',
|
||||
)
|
||||
endif
|
||||
diff --git a/src/storage/meson.build b/src/storage/meson.build
|
||||
index 404d6a6941..fb4e67a0a8 100644
|
||||
--- a/src/storage/meson.build
|
||||
+++ b/src/storage/meson.build
|
||||
@@ -126,9 +126,9 @@ if conf.has('WITH_STORAGE')
|
||||
}
|
||||
|
||||
|
||||
virt_install_dirs += [
|
||||
- confdir / 'storage',
|
||||
- confdir / 'storage' / 'autostart',
|
||||
@@ -455,20 +441,27 @@ index 404d6a6941..fb4e67a0a8 100644
|
||||
+ install_prefix + runstatedir / 'libvirt' / 'storage',
|
||||
]
|
||||
endif
|
||||
|
||||
|
||||
diff --git a/tools/meson.build b/tools/meson.build
|
||||
index 1bb84be0be..e04a4e986d 100644
|
||||
index a099148d3c..d0d6510f17 100644
|
||||
--- a/tools/meson.build
|
||||
+++ b/tools/meson.build
|
||||
@@ -121,7 +121,7 @@ if conf.has('WITH_LOGIN_SHELL')
|
||||
@@ -123,12 +123,12 @@ if conf.has('WITH_LOGIN_SHELL')
|
||||
install_rpath: libvirt_rpath,
|
||||
)
|
||||
|
||||
|
||||
- install_data('virt-login-shell.conf', install_dir: sysconfdir / 'libvirt')
|
||||
+ install_data('virt-login-shell.conf', install_dir: install_prefix + sysconfdir / 'libvirt')
|
||||
|
||||
# Install the sysuser config for the setgid binary
|
||||
install_data(
|
||||
'libvirt-login-shell.sysusers.conf',
|
||||
- install_dir: sysusersdir,
|
||||
+ install_dir: install_prefix + sysusersdir,
|
||||
rename: [ 'libvirt-login-shell.conf' ],
|
||||
)
|
||||
endif
|
||||
|
||||
if host_machine.system() == 'windows'
|
||||
|
||||
diff --git a/tools/ssh-proxy/meson.build b/tools/ssh-proxy/meson.build
|
||||
index e9f312fa25..95d5d8fe0b 100644
|
||||
--- a/tools/ssh-proxy/meson.build
|
||||
|
||||
@@ -115,14 +115,14 @@ assert enableZfs -> isLinux;
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libvirt";
|
||||
# if you update, also bump <nixpkgs/pkgs/development/python-modules/libvirt/default.nix> and SysVirt in <nixpkgs/pkgs/top-level/perl-packages.nix>
|
||||
version = "11.0.0";
|
||||
version = "11.4.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "libvirt";
|
||||
repo = "libvirt";
|
||||
tag = "v${version}";
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-QxyOc/RbWZnjA4XIDNK7xZqBcP2ciHsOlszaa5pl6XA=";
|
||||
hash = "sha256-0bOX95Ly8d1/XZan/EyxI6JaACJvOu9QsTkFNQTreqI=";
|
||||
};
|
||||
|
||||
patches =
|
||||
|
||||
@@ -72,13 +72,13 @@ let
|
||||
in
|
||||
effectiveStdenv.mkDerivation (finalAttrs: {
|
||||
pname = "llama-cpp";
|
||||
version = "5608";
|
||||
version = "5702";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ggml-org";
|
||||
repo = "llama.cpp";
|
||||
tag = "b${finalAttrs.version}";
|
||||
hash = "sha256-q3jw/x9GSI2Yp0DSM53g/jMuTeVakLfY9VsoJxq9who=";
|
||||
hash = "sha256-EyDuM7eZzmNUvqwVUKYuUNlXbFF+G8x/+4mL/3YsHCc=";
|
||||
leaveDotGit = true;
|
||||
postFetch = ''
|
||||
git -C "$out" rev-parse --short HEAD > $out/COMMIT
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
{
|
||||
cmake,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
# This was originally called mkl-dnn, then it was renamed to dnnl, and it has
|
||||
# just recently been renamed again to oneDNN. See here for details:
|
||||
# https://github.com/oneapi-src/oneDNN#oneapi-deep-neural-network-library-onednn
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "oneDNN";
|
||||
version = "2.7.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "oneapi-src";
|
||||
repo = "oneDNN";
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "sha256-oMPBORAdL2rk2ewyUrInYVHYBRvuvNX4p4rwykO3Rhs=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"dev"
|
||||
"doc"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
# Tests fail on some Hydra builders, because they do not support SSE4.2.
|
||||
doCheck = false;
|
||||
|
||||
# Fixup bad cmake paths
|
||||
postInstall = ''
|
||||
substituteInPlace $out/lib/cmake/dnnl/dnnl-config.cmake \
|
||||
--replace "\''${PACKAGE_PREFIX_DIR}/" ""
|
||||
|
||||
substituteInPlace $out/lib/cmake/dnnl/dnnl-targets.cmake \
|
||||
--replace "\''${_IMPORT_PREFIX}/" ""
|
||||
'';
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/oneapi-src/oneDNN/releases/tag/v${finalAttrs.version}";
|
||||
description = "oneAPI Deep Neural Network Library (oneDNN)";
|
||||
homepage = "https://01.org/oneDNN";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [
|
||||
alexarice
|
||||
bhipple
|
||||
];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
})
|
||||
@@ -5,7 +5,6 @@
|
||||
cups,
|
||||
cups-filters,
|
||||
foomatic-db-engine,
|
||||
fetchpatch,
|
||||
ghostscript,
|
||||
libpng,
|
||||
libxml2,
|
||||
@@ -16,24 +15,15 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ptouch-driver";
|
||||
version = "1.7";
|
||||
version = "1.7.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "philpem";
|
||||
repo = "printer-driver-ptouch";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-3ZotSHn7lERp53hAzx47Ct/k565rEoensCcltwX/Xls=";
|
||||
hash = "sha256-MVvtfos2ze6uXFg8sEH1UlJ9gg4iq91dLK0k0xuTE1Y=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fixes some invalid XML file that otherwise causes a build failure
|
||||
(fetchpatch {
|
||||
name = "fix-brother-ql-600.patch";
|
||||
url = "https://github.com/philpem/printer-driver-ptouch/commit/b3c53b3bc4dd98ed172f2c79405c7c09b3b3836a.patch";
|
||||
hash = "sha256-y5bHKFeRXx8Wdl1++l4QNGgiY41LY5uzrRdOlaZyF9I=";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
cups
|
||||
cups-filters
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "qownnotes";
|
||||
appname = "QOwnNotes";
|
||||
version = "25.6.0";
|
||||
version = "25.6.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/pbek/QOwnNotes/releases/download/v${finalAttrs.version}/qownnotes-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-RUW8fWPJxTq7Ya+uZ6xGg7URHc+ojuBs9g++UXrK9I0=";
|
||||
hash = "sha256-JzUAZe0ktpn2ri2pO5780kOCLjCpRMzswOK4FaJAXe0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs =
|
||||
|
||||
@@ -162,7 +162,6 @@ stdenv.mkDerivation {
|
||||
abbradar
|
||||
neonfuz
|
||||
ilian
|
||||
zane
|
||||
];
|
||||
license = licenses.gpl2Only;
|
||||
platforms = [
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "scalingo";
|
||||
version = "1.34.0";
|
||||
version = "1.35.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = "cli";
|
||||
rev = version;
|
||||
hash = "sha256-SJFQFOd9m+38TsclIs4FxAl9kejgcUG895qjy4iXKdk=";
|
||||
hash = "sha256-3a3YlnSMPfWhYqeP12tx1BAe+hfzaYgPfFAz/rU2cMU=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
@@ -10,16 +10,16 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "sing-box";
|
||||
version = "1.11.13";
|
||||
version = "1.11.14";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SagerNet";
|
||||
repo = "sing-box";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Pq5ElVDNJTeT4h6ZrupnKlCydxfJ2wAxk/9eZblT4d4=";
|
||||
hash = "sha256-GgFsTLMyrNsYT9GUlnXnSzynIa2D2ECtcYvKMfvndkA=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-/awpe9v+J1O0DKMvi6CNAgJ0mFJaWoXPHzRAk98nQ+Y=";
|
||||
vendorHash = "sha256-ULfPmVQ2Ngr1ujeCmUPOOaqxyQmbgqH1w6P9TwvjhSo=";
|
||||
|
||||
tags = [
|
||||
"with_quic"
|
||||
|
||||
@@ -2,19 +2,11 @@
|
||||
fetchFromGitHub,
|
||||
glib,
|
||||
gtk4,
|
||||
iproute2,
|
||||
kdePackages,
|
||||
lib,
|
||||
libappindicator,
|
||||
libappindicator-gtk2,
|
||||
libappindicator-gtk3,
|
||||
libayatana-appindicator,
|
||||
libsoup_3,
|
||||
openssl,
|
||||
pkg-config,
|
||||
qt6,
|
||||
rustPlatform,
|
||||
webkitgtk_4_1,
|
||||
wrapGAppsHook4,
|
||||
graphene,
|
||||
nix-update-script,
|
||||
@@ -34,9 +26,7 @@ rustPlatform.buildRustPackage rec {
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
nativeBuildInputs = [
|
||||
iproute2
|
||||
pkg-config
|
||||
qt6.wrapQtAppsHook
|
||||
wrapGAppsHook4
|
||||
];
|
||||
|
||||
@@ -44,13 +34,7 @@ rustPlatform.buildRustPackage rec {
|
||||
glib
|
||||
gtk4
|
||||
kdePackages.kstatusnotifieritem
|
||||
libappindicator
|
||||
libappindicator-gtk2
|
||||
libappindicator-gtk3
|
||||
libayatana-appindicator
|
||||
libsoup_3
|
||||
openssl
|
||||
webkitgtk_4_1
|
||||
graphene
|
||||
];
|
||||
|
||||
@@ -70,12 +54,6 @@ rustPlatform.buildRustPackage rec {
|
||||
versionCheckProgram = "${placeholder "out"}/bin/snx-rs";
|
||||
versionCheckProgramArg = "--version";
|
||||
|
||||
preFixup = ''
|
||||
qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||
'';
|
||||
|
||||
dontWrapGApps = true;
|
||||
|
||||
meta = {
|
||||
description = "Open source Linux client for Checkpoint VPN tunnels";
|
||||
homepage = "https://github.com/ancwrd1/snx-rs";
|
||||
|
||||
@@ -5,16 +5,16 @@
|
||||
}:
|
||||
buildNpmPackage rec {
|
||||
pname = "stylelint";
|
||||
version = "16.20.0";
|
||||
version = "16.21.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stylelint";
|
||||
repo = "stylelint";
|
||||
tag = version;
|
||||
hash = "sha256-BgKutswOkgcTFTeLfocVtyC9P0Yr0dLyN4Gi/jrZWrw=";
|
||||
hash = "sha256-qlD4voKQN/O9PDkXSJZZCGkoD+L0d9f78gGHKfkDkhQ=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-cAjPOo3KSMGwmCIBTX5x2xIUUqaba6shybAFqKAtQHs=";
|
||||
npmDepsHash = "sha256-mvbYuaBuoF2ri14svCeT7BJX7qHnKZz+cpMlAwabRDI=";
|
||||
|
||||
dontNpmBuild = true;
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [
|
||||
lactose
|
||||
midirhee12
|
||||
midischwarz12
|
||||
];
|
||||
};
|
||||
})
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
ninja,
|
||||
pkg-config,
|
||||
vala,
|
||||
elementary-settings-daemon,
|
||||
libadwaita,
|
||||
libgee,
|
||||
gettext,
|
||||
@@ -25,13 +26,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "switchboard-plug-keyboard";
|
||||
version = "8.0.2";
|
||||
version = "8.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elementary";
|
||||
repo = "settings-keyboard";
|
||||
rev = version;
|
||||
sha256 = "sha256-j2D6NSwHTZQJaHm664fHF4VkcExpYwoq/J3SXus30nw=";
|
||||
sha256 = "sha256-8lgoR7nYqUJfLr9UhqnFJWw9x9l97RxgIkAwodHgrzI=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -54,6 +55,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
elementary-settings-daemon # io.elementary.settings-daemon.applications
|
||||
gnome-settings-daemon # media-keys
|
||||
granite7
|
||||
gsettings-desktop-schemas
|
||||
|
||||
@@ -6,8 +6,8 @@ index bd461685..b6371096 100644
|
||||
|
||||
onscreen_keyboard_settings.clicked.connect (() => {
|
||||
try {
|
||||
- var appinfo = AppInfo.create_from_commandline ("onboard-settings", null, NONE);
|
||||
+ var appinfo = AppInfo.create_from_commandline ("@onboard@/bin/onboard-settings", null, NONE);
|
||||
- var appinfo = GLib.AppInfo.create_from_commandline ("onboard-settings", null, NONE);
|
||||
+ var appinfo = GLib.AppInfo.create_from_commandline ("@onboard@/bin/onboard-settings", null, NONE);
|
||||
appinfo.launch (null, null);
|
||||
} catch (Error e) {
|
||||
critical ("Unable to launch onboard-settings: %s", e.message);
|
||||
|
||||
@@ -14,13 +14,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "elementary-bluetooth-daemon";
|
||||
version = "1.0.1";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elementary";
|
||||
repo = "bluetooth-daemon";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-XRskwLtQKlG96fpIxNZKWG7kn3HR0ngjAUwyn7fnxdY=";
|
||||
hash = "sha256-Qr4hg2OY7l/LpGB+/yfIXCnjCXsjQLFZX9f4CoYRtLo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -10,17 +10,15 @@
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "encore";
|
||||
version = "0.8";
|
||||
version = "0.8.1";
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
minimalOCamlVersion = "4.07";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/encore/releases/download/v${version}/encore-v${version}.tbz";
|
||||
sha256 = "a406bc9863b04bb424692045939d6c170a2bb65a98521ae5608d25b0559344f6";
|
||||
url = "https://github.com/mirage/encore/releases/download/v${version}/encore-${version}.tbz";
|
||||
hash = "sha256-qg6heSBc6OSfb7vZxEi4rrKh+nx+ffnsCfVvhVR3yY0=";
|
||||
};
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
angstrom
|
||||
fmt
|
||||
@@ -32,6 +30,12 @@ buildDunePackage rec {
|
||||
meta = {
|
||||
homepage = "https://github.com/mirage/encore";
|
||||
description = "Library to generate encoder/decoder which ensure isomorphism";
|
||||
longDescription = ''
|
||||
Encore is a little library to provide an interface to generate an angstrom decoder and
|
||||
an internal encoder from a shared description. The goal is to ensure a dual isomorphism
|
||||
between them.
|
||||
'';
|
||||
changelog = "https://raw.githubusercontent.com/mirage/encore/refs/tags/v${version}/CHANGES.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "1.5.1";
|
||||
version = "1.5.3";
|
||||
in
|
||||
buildPecl {
|
||||
inherit version;
|
||||
@@ -20,7 +20,7 @@ buildPecl {
|
||||
repo = "php-gnupg";
|
||||
rev = "gnupg-${version}";
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-kEc0883sYgmAf1mkH0zRjHzUASnZgQvdYE6VzT5X2RI=";
|
||||
hash = "sha256-F9Rq+mmUhvXfIuoifqRM/ZIMYszCF93cvv13Vt/A5Mo=";
|
||||
};
|
||||
|
||||
buildInputs = [ gpgme ];
|
||||
@@ -28,19 +28,19 @@ buildPecl {
|
||||
|
||||
postPhpize = ''
|
||||
substituteInPlace configure \
|
||||
--replace '/usr/bin/file' '${file}/bin/file' \
|
||||
--replace 'SEARCH_PATH="/usr/local /usr /opt"' 'SEARCH_PATH="${gpgme.dev}"'
|
||||
--replace-fail '/usr/bin/file' '${file}/bin/file' \
|
||||
--replace-fail 'SEARCH_PATH="/usr/local /usr /opt /opt/homebrew"' 'SEARCH_PATH="${gpgme.dev}"'
|
||||
'';
|
||||
|
||||
postConfigure = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace 'run-tests.php' 'run-tests.php -q --offline'
|
||||
--replace-fail 'run-tests.php' 'run-tests.php -q --offline'
|
||||
substituteInPlace tests/gnupg_res_init_file_name.phpt \
|
||||
--replace '/usr/bin/gpg' '${gnupg}/bin/gpg' \
|
||||
--replace 'string(12)' 'string(${toString (lib.stringLength "${gnupg}/bin/gpg")})'
|
||||
--replace-fail '/usr/bin/gpg' '${gnupg}/bin/gpg' \
|
||||
--replace-fail 'string(12)' 'string(${toString (lib.stringLength "${gnupg}/bin/gpg")})'
|
||||
substituteInPlace tests/gnupg_oo_init_file_name.phpt \
|
||||
--replace '/usr/bin/gpg' '${gnupg}/bin/gpg' \
|
||||
--replace 'string(12)' 'string(${toString (lib.stringLength "${gnupg}/bin/gpg")})'
|
||||
--replace-fail '/usr/bin/gpg' '${gnupg}/bin/gpg' \
|
||||
--replace-fail 'string(12)' 'string(${toString (lib.stringLength "${gnupg}/bin/gpg")})'
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
@@ -16,14 +16,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioamazondevices";
|
||||
version = "3.1.2";
|
||||
version = "3.1.12";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "chemelli74";
|
||||
repo = "aioamazondevices";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-oW9QRRTriopWzRJ9ZrDjIgviT/cVk2x6gaHXHmzYXMs=";
|
||||
hash = "sha256-nilYImyK057/yO/pnnhM9S+vRcslLLKTsYIzGNFM2UQ=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
@@ -16,14 +16,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiowebdav2";
|
||||
version = "0.4.5";
|
||||
version = "0.4.6";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jpbede";
|
||||
repo = "aiowebdav2";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-/oQuXFPWgJIfyw7qyvrD95U6E9/GORLR/K4F/46CIY0=";
|
||||
hash = "sha256-9/idSk6vao8vfTlPJ6Cwk7UeqwTAr7ebFLw4ka6mA6c=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
@@ -83,6 +83,8 @@ buildPythonPackage rec {
|
||||
# See https://github.com/NixOS/nixpkgs/issues/156957
|
||||
"dill"
|
||||
|
||||
"numpy"
|
||||
|
||||
"protobuf"
|
||||
|
||||
# As of apache-beam v2.45.0, the requirement is pyarrow<10.0.0,>=0.15.1, but
|
||||
@@ -338,7 +340,14 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
disabledTests =
|
||||
lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
[
|
||||
# IndexError: list index out of range
|
||||
"test_only_sample_exceptions"
|
||||
|
||||
# AssertionError: False is not true
|
||||
"test_samples_all_with_both_experiments"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# PermissionError: [Errno 13] Permission denied: '/tmp/...'
|
||||
"test_cache_manager_uses_local_ib_cache_root"
|
||||
"test_describe_all_recordings"
|
||||
|
||||
@@ -8,11 +8,6 @@
|
||||
mcp,
|
||||
uritemplate,
|
||||
poetry-core,
|
||||
pytestCheckHook,
|
||||
pytest,
|
||||
httpx,
|
||||
asgiref,
|
||||
anyio,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -42,7 +37,7 @@ buildPythonPackage rec {
|
||||
export DJANGO_SETTINGS_MODULE=mcpexample.mcpexample.settings
|
||||
'';
|
||||
|
||||
pythonImportsCheck = "mcp_server";
|
||||
pythonImportsCheck = [ "mcp_server" ];
|
||||
|
||||
doCheck = false; # Needs to run both test server and client simultaneously
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
pythonOlder,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
prometheus-client,
|
||||
pytest-django,
|
||||
pytestCheckHook,
|
||||
@@ -10,25 +10,27 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-prometheus";
|
||||
version = "2.3.1";
|
||||
format = "setuptools";
|
||||
disabled = pythonOlder "3.6";
|
||||
version = "2.4.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "korfuri";
|
||||
owner = "django-commons";
|
||||
repo = "django-prometheus";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-JiLH+4mmNdb9BN81J5YFiMPna/3gaKUK6ARjmCa3fE8=";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-cKkpsV3w2SUvQuSBm0MlTsomdrU4h7CS5L+nKFvrKA8=";
|
||||
};
|
||||
|
||||
patches = [ ./drop-untestable-database-backends.patch ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "setuptools >= 67.7.2, < 72.0.0" setuptools
|
||||
|
||||
substituteInPlace setup.py \
|
||||
--replace '"pytest-runner"' ""
|
||||
--replace-fail '"pytest-runner"' ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ prometheus-client ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ prometheus-client ];
|
||||
|
||||
pythonImportsCheck = [ "django_prometheus" ];
|
||||
|
||||
@@ -38,9 +40,9 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/korfuri/django-prometheus/releases/tag/v${version}";
|
||||
changelog = "https://github.com/django-commons/django-prometheus/releases/tag/v${version}";
|
||||
description = "Django middlewares to monitor your application with Prometheus.io";
|
||||
homepage = "https://github.com/korfuri/django-prometheus";
|
||||
homepage = "https://github.com/django-commons/django-prometheus";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
|
||||
-38
@@ -1,38 +0,0 @@
|
||||
diff --git a/django_prometheus/tests/end2end/testapp/settings.py b/django_prometheus/tests/end2end/testapp/settings.py
|
||||
index cdd167f..5c6073b 100644
|
||||
--- a/django_prometheus/tests/end2end/testapp/settings.py
|
||||
+++ b/django_prometheus/tests/end2end/testapp/settings.py
|
||||
@@ -53,33 +53,6 @@ DATABASES = {
|
||||
"ENGINE": "django_prometheus.db.backends.sqlite3",
|
||||
"NAME": "db.sqlite3",
|
||||
},
|
||||
- # Comment this to not test django_prometheus.db.backends.postgres.
|
||||
- "postgresql": {
|
||||
- "ENGINE": "django_prometheus.db.backends.postgresql",
|
||||
- "NAME": "postgres",
|
||||
- "USER": "postgres",
|
||||
- "PASSWORD": "",
|
||||
- "HOST": "localhost",
|
||||
- "PORT": "5432",
|
||||
- },
|
||||
- # Comment this to not test django_prometheus.db.backends.postgis.
|
||||
- "postgis": {
|
||||
- "ENGINE": "django_prometheus.db.backends.postgis",
|
||||
- "NAME": "postgis",
|
||||
- "USER": "postgres",
|
||||
- "PASSWORD": "",
|
||||
- "HOST": "localhost",
|
||||
- "PORT": "5432",
|
||||
- },
|
||||
- # Comment this to not test django_prometheus.db.backends.mysql.
|
||||
- "mysql": {
|
||||
- "ENGINE": "django_prometheus.db.backends.mysql",
|
||||
- "NAME": "django_prometheus_1",
|
||||
- "USER": "root",
|
||||
- "PASSWORD": "",
|
||||
- "HOST": "127.0.0.1",
|
||||
- "PORT": "3306",
|
||||
- },
|
||||
# The following databases are used by test_db.py only
|
||||
"test_db_1": {
|
||||
"ENGINE": "django_prometheus.db.backends.sqlite3",
|
||||
@@ -1,40 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
pythonAtLeast,
|
||||
buildPythonPackage,
|
||||
fetchurl,
|
||||
libguestfs,
|
||||
qemu,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "guestfs";
|
||||
version = "1.40.2";
|
||||
format = "setuptools";
|
||||
|
||||
# FIXME: "error: implicit declaration of function 'PyEval_ThreadsInitialized'"
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2343777
|
||||
disabled = pythonAtLeast "3.13";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.libguestfs.org/python/guestfs-${version}.tar.gz";
|
||||
hash = "sha256-GCKwkhrIXPz0hPrwe3YrhlEr6TuDYQivDzpMlZ+CAzI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
libguestfs
|
||||
qemu
|
||||
];
|
||||
|
||||
# no tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "guestfs" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://libguestfs.org/guestfs-python.3.html";
|
||||
description = "Use libguestfs from Python";
|
||||
license = licenses.lgpl2Plus;
|
||||
maintainers = with maintainers; [ grahamc ];
|
||||
inherit (libguestfs.meta) platforms;
|
||||
};
|
||||
}
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "holidays";
|
||||
version = "0.74";
|
||||
version = "0.75";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
owner = "vacanza";
|
||||
repo = "python-holidays";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-lc8yNZ7ZFBjIPiIlT7uCvHX81uMstTGv0Rsbx8RUGh0=";
|
||||
hash = "sha256-xlDCIQb1XeMi+uNIkqMgm1t+fDSuQlqgOx57LnAuyVo=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
||||
@@ -12,14 +12,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "libvirt";
|
||||
version = "11.0.0";
|
||||
version = "11.4.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "libvirt";
|
||||
repo = "libvirt-python";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-c6viZTQFpLB+k/f45m/AZe+ggDxQbGjQgD51yCuyepc=";
|
||||
hash = "sha256-jI14/lBuqSqI8mnTa7dqa+B+6tU2erW6wlT8E0eTgtY=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
hypothesis,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "osrparse";
|
||||
version = "7.0.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kszlim";
|
||||
repo = "osu-replay-parser";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-MBE4z1SDkr0YA5ommF+WZyR2N67Y1/xmDhxrTrUhQJk=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
hypothesis
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "osrparse" ];
|
||||
|
||||
meta = {
|
||||
description = "Parser for osr (osu! replays) file format";
|
||||
homepage = "https://github.com/kszlim/osu-replay-parser";
|
||||
changelog = "https://github.com/kszlim/osu-replay-parser/releases/tag/${src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ wulpine ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
aiohttp,
|
||||
osrparse,
|
||||
requests,
|
||||
requests-oauthlib,
|
||||
setuptools,
|
||||
typing-utils,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ossapi";
|
||||
version = "5.2.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tybug";
|
||||
repo = "ossapi";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-eCq+NbDYoJ5y1ZC4RfVJUTYcT9AOLU1mtgpZkcSYZG8=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
pythonRelaxDeps = [ "osrparse" ];
|
||||
|
||||
dependencies = [
|
||||
osrparse
|
||||
requests
|
||||
requests-oauthlib
|
||||
typing-utils
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
async = [ aiohttp ];
|
||||
};
|
||||
|
||||
# Tests require Internet access and an osu! API key
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "ossapi" ];
|
||||
|
||||
meta = {
|
||||
description = "Python wrapper for the osu! API";
|
||||
homepage = "https://github.com/tybug/ossapi";
|
||||
changelog = "https://github.com/tybug/ossapi/releases/tag/${src.tag}";
|
||||
license = lib.licenses.agpl3Only;
|
||||
maintainers = with lib.maintainers; [ wulpine ];
|
||||
};
|
||||
}
|
||||
@@ -8,37 +8,37 @@
|
||||
getmac,
|
||||
intelhex,
|
||||
paho-mqtt,
|
||||
pyserial-asyncio-fast,
|
||||
pyserial,
|
||||
pyserial-asyncio,
|
||||
pytest-sugar,
|
||||
pytest-timeout,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
voluptuous,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymysensors";
|
||||
version = "0.24.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
version = "0.25.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "theolind";
|
||||
repo = "pymysensors";
|
||||
rev = version;
|
||||
hash = "sha256-3t9YrSJf02kc5CuTqPBc/qNJV7yy7Vke4WqhtuOaAYo=";
|
||||
tag = version;
|
||||
hash = "sha256-ndvn3mQ4fchL4NiUQLpYn7HMKeuEBT09HQvnJy14jPI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
awesomeversion
|
||||
click
|
||||
crcmod
|
||||
getmac
|
||||
intelhex
|
||||
pyserial
|
||||
pyserial-asyncio
|
||||
pyserial-asyncio-fast
|
||||
voluptuous
|
||||
];
|
||||
|
||||
@@ -56,9 +56,10 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python API for talking to a MySensors gateway";
|
||||
mainProgram = "pymysensors";
|
||||
homepage = "https://github.com/theolind/pymysensors";
|
||||
license = with licenses; [ mit ];
|
||||
changelog = "https://github.com/theolind/pymysensors/releases/tag/${src.tag}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "pymysensors";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
|
||||
let
|
||||
pname = "ray";
|
||||
version = "2.47.0";
|
||||
version = "2.47.1";
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
inherit pname version;
|
||||
@@ -85,28 +85,28 @@ buildPythonPackage rec {
|
||||
# Results are in ./ray-hashes.nix
|
||||
hashes = {
|
||||
x86_64-linux = {
|
||||
cp310 = "sha256-2bwLK5qXR5dBsFoO5AyngXDxoxICnwyz7GOcopdaLBQ=";
|
||||
cp311 = "sha256-mXjmK+MSTNGlSP2MoxTj/7j5Xzj+4r2Y/eOMdTkDnj4=";
|
||||
cp312 = "sha256-jTJr34I2TOkQx+BUFqIQ8IFCEGc6J1+1wA97ZayuVVE=";
|
||||
cp313 = "sha256-NfixG1EV5TCL/9id19yagkpNxdyP8L2Le2BUN/Wo42g=";
|
||||
cp310 = "sha256-hKlrRyAXWgAAUhpI63qpFfO0Gbtc1hctje4AXD8juBM=";
|
||||
cp311 = "sha256-SJYSKWFLK1alNb5RDIq8dumamqf6GVtclJvQxsaa9Ao=";
|
||||
cp312 = "sha256-Pq6u7Du+LKZJPlMMMEc9hLhYCnrDJWu5GD2MY971qS8=";
|
||||
cp313 = "sha256-JSpHHor7kYsQXNv/tMvrsBQ7qtdaBsj/zeJ6wxdXnMs=";
|
||||
};
|
||||
aarch64-linux = {
|
||||
cp310 = "sha256-gNBbc3pYggQNyUnZqzdOQuH1MHotKvIvWoapEzAsYZw=";
|
||||
cp311 = "sha256-rYHcke+f7mR0mSXeVHtLcRZ1cCkyb9WASYqzR7P/70w=";
|
||||
cp312 = "sha256-QpLtKSVLeTyLGXRwRetE4PotXyElmxe6tj5D4Jl7edA=";
|
||||
cp313 = "sha256-4+jlADusJGgYYzAVX+u7sKZo2lBa+paYCEUUYKVcxI4=";
|
||||
cp310 = "sha256-b8ffhle432hLd8LRtkMTetdFqhwSreNHQ/BsynkAPfA=";
|
||||
cp311 = "sha256-21/2UukDXwPGXhdCpwa3ZRn26KZ0TMAFOWBTrIdm/EY=";
|
||||
cp312 = "sha256-zU5+tHVIc2S1IJljsXzv7ct/vTqBb9tt736lM+vXJCQ=";
|
||||
cp313 = "sha256-1u1tGC4l1vdxedx3vJenScgXZbE8tnGkbbMgMCk4lmM=";
|
||||
};
|
||||
x86_64-darwin = {
|
||||
cp310 = "sha256-CFXvVo2pab2XCLCVKYhPb7HZYlyTSjFMRQ8MXiQqkT4=";
|
||||
cp311 = "sha256-I5ByFBG+nVoKicH02AvcSMOjZgWjjamn9bWkYmE8XSE=";
|
||||
cp312 = "sha256-S6cA3Uth7iWNeQBk0XbU29ibNj89MneLLK3s1A16PHI=";
|
||||
cp313 = "sha256-bCYYiU0/LJg6E9na71kjxLMk6V0zrGH3+iA7vtRO/5U=";
|
||||
cp310 = "sha256-fAOh42bTqGilX4wvco9c41rIXd8JOsgdDBo1vxwlw3c=";
|
||||
cp311 = "sha256-/uuh5xXP2HN9OtzSAY0M2rt8YIT6Swk+Y45sfULzyVY=";
|
||||
cp312 = "sha256-5tnHjlOsicq7xAVq7P7FPFBsaS4xMq+drpQdYYDvRi8=";
|
||||
cp313 = "sha256-5XiSn1iz8MWcdUSpbYZOJieCOLdV0TzRmueYBwyEjlc=";
|
||||
};
|
||||
aarch64-darwin = {
|
||||
cp310 = "sha256-G2ODPZcJl3f2cqh/H0NEaPrTtLTHIRAljNF3nk7uun4=";
|
||||
cp311 = "sha256-pPDYfOr5GMUcXo3U1ZRVk02xjF8YRRYrnJWP5S6sXT4=";
|
||||
cp312 = "sha256-WRm9UuWkaR/mXqZ+3OuCcwg4+sF7woSsLRlu7G9SURg=";
|
||||
cp313 = "sha256-fExn+Jw2AkrnQFXh0zNvdp2gQrGQSoiDQJfZaPe5DuU=";
|
||||
cp310 = "sha256-NqMJMOjSZecI35bzf28fVIT0uXCQ1QWRL5kuBFpp0xA=";
|
||||
cp311 = "sha256-pkDUR+Dmz2P4W5IgyIPsArsrjkCpwdhO+gEnlcdpumg=";
|
||||
cp312 = "sha256-MiBJxFRs9n5e/a2Qw3HFUIrLsZPlqq9AOBA8bFzh9Xg=";
|
||||
cp313 = "sha256-jNYl1GnOFTkeXx9E3fjdMLI4D5F2A/oBcmYSKaywAR8=";
|
||||
};
|
||||
};
|
||||
in
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
pythonOlder,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
fetchurl,
|
||||
setuptools,
|
||||
cryptography,
|
||||
mock,
|
||||
@@ -12,28 +11,35 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "stem";
|
||||
version = "1.8.3-unstable-2024-02-13";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
version = "1.8.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "torproject";
|
||||
repo = "stem";
|
||||
rev = "9a9c7d43a7fdcde6d4a9cf95b831fb5e5923a160";
|
||||
hash = "sha256-Oc73Jx31SLzuhT9Iym5HHszKfflKZ+3aky5flXudvmI=";
|
||||
tag = version;
|
||||
hash = "sha256-FK7ldpOGEQ+VYLgwL7rGSGNtD/2iz11b0YOa78zNGDk=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# fixes deprecated test assertion, assertRaisesRegexp in python 3
|
||||
(fetchpatch {
|
||||
url = "https://github.com/trishtzy/stem/commit/d5012a1039f05c69ebe832723ce96ecbe8f79fe1.patch";
|
||||
hash = "sha256-ozOTx4/c86sW/9Ss5eZ6ZxX63ByJT5x7JF6wBBd+VFY=";
|
||||
(fetchurl {
|
||||
url = "https://gitlab.archlinux.org/archlinux/packaging/packages/python-stem/-/raw/729ce635a4dbf519bab0cd4195d507b0b9bf6c9a/fix-build-cryptography.patch";
|
||||
hash = "sha256-RTh3RVpDaNRFrSoAEfMVAO1VPWmnhdd5W+M0N9AEr24=";
|
||||
})
|
||||
(fetchurl {
|
||||
name = "cryptography-42-compat.patch";
|
||||
url = "https://gitlab.archlinux.org/archlinux/packaging/packages/python-stem/-/raw/main/9f1fa4ac.patch";
|
||||
hash = "sha256-2pj5eeurGN9HC02U2gZibt8gNWHYU92tlETZlbaT35A=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
postPatch = ''
|
||||
# https://github.com/torproject/stem/pull/155
|
||||
substituteInPlace stem/util/test_tools.py test/integ/*/*.py test/unit/*/*.py test/unit/version.py \
|
||||
--replace-quiet assertRaisesRegexp assertRaisesRegex
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
cryptography
|
||||
@@ -48,13 +54,13 @@ buildPythonPackage rec {
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/torproject/stem/blob/${src.rev}/docs/change_log.rst";
|
||||
meta = {
|
||||
changelog = "https://github.com/torproject/stem/blob/${src.tag}/docs/change_log.rst";
|
||||
description = "Controller library that allows applications to interact with Tor";
|
||||
mainProgram = "tor-prompt";
|
||||
downloadPage = "https://github.com/torproject/stem";
|
||||
homepage = "https://stem.torproject.org/";
|
||||
license = licenses.lgpl3Only;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
license = lib.licenses.lgpl3Only;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "typing-utils";
|
||||
version = "0.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bojiang";
|
||||
repo = "typing_utils";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-eXVGpe1wCH1JG+7ZP0evlxhw189GrrRzTwNDCALn3JI=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "typing_utils" ];
|
||||
|
||||
meta = {
|
||||
description = "Utils to inspect Python type annotations";
|
||||
homepage = "https://github.com/bojiang/typing_utils";
|
||||
changelog = "https://github.com/bojiang/typing_utils/releases/tag/${src.tag}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ wulpine ];
|
||||
};
|
||||
}
|
||||
@@ -283,7 +283,8 @@ buildPythonPackage rec {
|
||||
postPatch = ''
|
||||
# pythonRelaxDeps does not cover build-system
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "torch ==" "torch >="
|
||||
--replace-fail "torch ==" "torch >=" \
|
||||
--replace-fail "setuptools>=77.0.3,<80.0.0" "setuptools"
|
||||
|
||||
# Ignore the python version check because it hard-codes minor versions and
|
||||
# lags behind `ray`'s python interpreter support
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
nlohmann_json,
|
||||
msgpack,
|
||||
sqlite,
|
||||
oneDNN_2,
|
||||
oneDNN,
|
||||
blaze,
|
||||
texliveSmall,
|
||||
doxygen,
|
||||
@@ -51,6 +51,15 @@ let
|
||||
]
|
||||
)
|
||||
);
|
||||
oneDNN' = oneDNN.overrideAttrs rec {
|
||||
version = "2.7.5";
|
||||
src = fetchFromGitHub {
|
||||
owner = "oneapi-src";
|
||||
repo = "oneDNN";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-oMPBORAdL2rk2ewyUrInYVHYBRvuvNX4p4rwykO3Rhs=";
|
||||
};
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "migraphx";
|
||||
@@ -105,7 +114,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
nlohmann_json
|
||||
msgpack
|
||||
sqlite
|
||||
oneDNN_2
|
||||
oneDNN'
|
||||
blaze
|
||||
python3Packages.pybind11
|
||||
python3Packages.onnx
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
{
|
||||
mkKdeDerivation,
|
||||
python3,
|
||||
qttools,
|
||||
}:
|
||||
mkKdeDerivation {
|
||||
pname = "extra-cmake-modules";
|
||||
|
||||
# Don't depend on qdoc (leaks everywhere, causes random cross issues), we don't install the docs anyway
|
||||
# Upstream PR: https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/534
|
||||
patches = [ ./no-qdoc.patch ];
|
||||
|
||||
outputs = [ "out" ];
|
||||
|
||||
# Packages that have an Android APK (e.g. KWeather) require Python3 at build time.
|
||||
# See: https://invent.kde.org/frameworks/extra-cmake-modules/-/blob/v6.1.0/modules/ECMAddAndroidApk.cmake?ref_type=tags#L57
|
||||
propagatedNativeBuildInputs = [
|
||||
# Packages that have an Android APK (e.g. KWeather) require Python3 at build time.
|
||||
# See: https://invent.kde.org/frameworks/extra-cmake-modules/-/blob/v6.1.0/modules/ECMAddAndroidApk.cmake?ref_type=tags#L57
|
||||
python3
|
||||
|
||||
# Most packages require QDoc to generate docs, even if they're not installed
|
||||
(qttools.override { withClang = true; })
|
||||
];
|
||||
|
||||
setupHook = ./ecm-hook.sh;
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
diff --git a/modules/ECMGenerateQDoc.cmake b/modules/ECMGenerateQDoc.cmake
|
||||
index b6d64783314de790a5444c3c0d125b8e455883d9..68c570506fdc118ddef6249bce78051569298b4c 100644
|
||||
--- a/modules/ECMGenerateQDoc.cmake
|
||||
+++ b/modules/ECMGenerateQDoc.cmake
|
||||
@@ -55,8 +55,13 @@ add_custom_target(generate_qch)
|
||||
add_custom_target(install_qch_docs)
|
||||
|
||||
function(ecm_generate_qdoc target qdocconf_file)
|
||||
- find_package(Qt6Tools CONFIG REQUIRED)
|
||||
- find_package(Qt6 COMPONENTS ToolsTools CONFIG REQUIRED)
|
||||
+ find_package(Qt6Tools CONFIG QUIET)
|
||||
+ find_package(Qt6 OPTIONAL_COMPONENTS ToolsTools CONFIG QUIET)
|
||||
+
|
||||
+ if (NOT Qt6Tools_FOUND OR NOT Qt6ToolsTools_FOUND)
|
||||
+ message(STATUS "Qt6Tools or Qt6ToolsTools not found, not generating API documentation")
|
||||
+ return()
|
||||
+ endif()
|
||||
|
||||
if (NOT TARGET ${target})
|
||||
message(FATAL_ERROR "${target} is not a target")
|
||||
@@ -1,11 +1,15 @@
|
||||
{
|
||||
mkKdeDerivation,
|
||||
qttools,
|
||||
pkg-config,
|
||||
xz,
|
||||
}:
|
||||
mkKdeDerivation {
|
||||
pname = "karchive";
|
||||
|
||||
extraNativeBuildInputs = [ pkg-config ];
|
||||
extraNativeBuildInputs = [
|
||||
qttools
|
||||
pkg-config
|
||||
];
|
||||
extraBuildInputs = [ xz ];
|
||||
}
|
||||
|
||||
@@ -1,8 +1,13 @@
|
||||
{ mkKdeDerivation }:
|
||||
{
|
||||
mkKdeDerivation,
|
||||
qttools,
|
||||
}:
|
||||
mkKdeDerivation {
|
||||
pname = "kauth";
|
||||
|
||||
# Late resolve paths so things end up in their own prefix
|
||||
# FIXME(later): discuss with upstream
|
||||
patches = [ ./fix-paths.patch ];
|
||||
|
||||
extraNativeBuildInputs = [ qttools ];
|
||||
}
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
{ mkKdeDerivation }:
|
||||
{
|
||||
mkKdeDerivation,
|
||||
qttools,
|
||||
}:
|
||||
mkKdeDerivation {
|
||||
pname = "kbookmarks";
|
||||
|
||||
extraNativeBuildInputs = [ qttools ];
|
||||
}
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
{
|
||||
mkKdeDerivation,
|
||||
qttools,
|
||||
gperf,
|
||||
}:
|
||||
mkKdeDerivation {
|
||||
pname = "kcodecs";
|
||||
|
||||
extraNativeBuildInputs = [
|
||||
qttools
|
||||
gperf
|
||||
];
|
||||
}
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
{ mkKdeDerivation }:
|
||||
{
|
||||
mkKdeDerivation,
|
||||
qttools,
|
||||
}:
|
||||
mkKdeDerivation {
|
||||
pname = "kcompletion";
|
||||
|
||||
extraNativeBuildInputs = [ qttools ];
|
||||
}
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
{
|
||||
mkKdeDerivation,
|
||||
qttools,
|
||||
qtdeclarative,
|
||||
}:
|
||||
mkKdeDerivation {
|
||||
pname = "kconfig";
|
||||
|
||||
extraNativeBuildInputs = [ qttools ];
|
||||
extraPropagatedBuildInputs = [ qtdeclarative ];
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
mkKdeDerivation,
|
||||
qttools,
|
||||
shared-mime-info,
|
||||
qtdeclarative,
|
||||
}:
|
||||
@@ -9,6 +10,7 @@ mkKdeDerivation {
|
||||
hasPythonBindings = true;
|
||||
|
||||
extraNativeBuildInputs = [
|
||||
qttools
|
||||
shared-mime-info
|
||||
];
|
||||
extraBuildInputs = [ qtdeclarative ];
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
{ mkKdeDerivation }:
|
||||
{
|
||||
mkKdeDerivation,
|
||||
qttools,
|
||||
}:
|
||||
mkKdeDerivation {
|
||||
pname = "kdbusaddons";
|
||||
|
||||
extraNativeBuildInputs = [ qttools ];
|
||||
meta.mainProgram = "kquitapp6";
|
||||
}
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
{
|
||||
mkKdeDerivation,
|
||||
qttools,
|
||||
avahi,
|
||||
}:
|
||||
mkKdeDerivation {
|
||||
pname = "kdnssd";
|
||||
|
||||
extraNativeBuildInputs = [ qttools ];
|
||||
extraBuildInputs = [ avahi ];
|
||||
}
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
{ mkKdeDerivation }:
|
||||
{
|
||||
mkKdeDerivation,
|
||||
qttools,
|
||||
}:
|
||||
mkKdeDerivation {
|
||||
pname = "kglobalaccel";
|
||||
|
||||
extraNativeBuildInputs = [ qttools ];
|
||||
}
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
{
|
||||
mkKdeDerivation,
|
||||
qttools,
|
||||
qtdeclarative,
|
||||
}:
|
||||
mkKdeDerivation {
|
||||
pname = "kholidays";
|
||||
|
||||
extraNativeBuildInputs = [ qttools ];
|
||||
extraBuildInputs = [ qtdeclarative ];
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
stdenv,
|
||||
mkKdeDerivation,
|
||||
qtsvg,
|
||||
qttools,
|
||||
qtdeclarative,
|
||||
qt5compat,
|
||||
qqc2-desktop-style,
|
||||
@@ -16,11 +17,12 @@ let
|
||||
unwrapped = mkKdeDerivation {
|
||||
pname = "kirigami";
|
||||
|
||||
extraNativeBuildInputs = [ qtsvg ];
|
||||
extraNativeBuildInputs = [
|
||||
qtsvg
|
||||
qttools
|
||||
];
|
||||
extraBuildInputs = [ qtdeclarative ];
|
||||
|
||||
extraPropagatedBuildInputs = [ qt5compat ];
|
||||
propagatedNativeBuildInputs = [ qt5compat ];
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
{ mkKdeDerivation }:
|
||||
{
|
||||
mkKdeDerivation,
|
||||
qttools,
|
||||
}:
|
||||
mkKdeDerivation {
|
||||
pname = "kitemviews";
|
||||
|
||||
extraNativeBuildInputs = [ qttools ];
|
||||
}
|
||||
|
||||
@@ -1,7 +1,12 @@
|
||||
{ mkKdeDerivation }:
|
||||
{
|
||||
mkKdeDerivation,
|
||||
qttools,
|
||||
}:
|
||||
mkKdeDerivation {
|
||||
pname = "kjobwidgets";
|
||||
|
||||
extraNativeBuildInputs = [ qttools ];
|
||||
|
||||
# FIXME: depends on kcoreaddons typesystem info, we need
|
||||
# a Shiboken wrapper to propagate this properly.
|
||||
extraCmakeFlags = [ "-DBUILD_PYTHON_BINDINGS=OFF" ];
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
mkKdeDerivation,
|
||||
qttools,
|
||||
qtdeclarative,
|
||||
libcanberra,
|
||||
}:
|
||||
@@ -8,6 +9,7 @@ mkKdeDerivation {
|
||||
|
||||
hasPythonBindings = true;
|
||||
|
||||
extraNativeBuildInputs = [ qttools ];
|
||||
extraBuildInputs = [
|
||||
qtdeclarative
|
||||
libcanberra
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
{ mkKdeDerivation }:
|
||||
{
|
||||
mkKdeDerivation,
|
||||
qttools,
|
||||
}:
|
||||
mkKdeDerivation {
|
||||
pname = "kstatusnotifieritem";
|
||||
|
||||
hasPythonBindings = true;
|
||||
|
||||
extraNativeBuildInputs = [ qttools ];
|
||||
}
|
||||
|
||||
@@ -7,8 +7,6 @@
|
||||
mkKdeDerivation {
|
||||
pname = "ktexteditor";
|
||||
|
||||
extraNativeBuildInputs = [ qtspeech ];
|
||||
|
||||
extraBuildInputs = [
|
||||
qtdeclarative
|
||||
qtspeech
|
||||
|
||||
@@ -6,8 +6,6 @@
|
||||
mkKdeDerivation {
|
||||
pname = "ktextwidgets";
|
||||
|
||||
extraNativeBuildInputs = [ qtspeech ];
|
||||
|
||||
extraBuildInputs = [
|
||||
qtspeech
|
||||
qttools
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
mkKdeDerivation,
|
||||
qttools,
|
||||
qtsvg,
|
||||
}:
|
||||
mkKdeDerivation {
|
||||
@@ -10,5 +11,8 @@ mkKdeDerivation {
|
||||
"-DENABLE_CONSOLE=0"
|
||||
"-DENABLE_CLI=0"
|
||||
];
|
||||
extraNativeBuildInputs = [ qtsvg ];
|
||||
extraNativeBuildInputs = [
|
||||
qttools
|
||||
qtsvg
|
||||
];
|
||||
}
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
{ mkKdeDerivation }:
|
||||
{
|
||||
mkKdeDerivation,
|
||||
qttools,
|
||||
}:
|
||||
mkKdeDerivation {
|
||||
pname = "kwidgetsaddons";
|
||||
|
||||
hasPythonBindings = true;
|
||||
|
||||
extraNativeBuildInputs = [ qttools ];
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
mkKdeDerivation,
|
||||
qttools,
|
||||
qtdeclarative,
|
||||
qtwayland,
|
||||
pkg-config,
|
||||
@@ -8,6 +9,7 @@ mkKdeDerivation {
|
||||
pname = "kwindowsystem";
|
||||
|
||||
extraNativeBuildInputs = [
|
||||
qttools
|
||||
pkg-config
|
||||
];
|
||||
extraBuildInputs = [
|
||||
|
||||
@@ -8,11 +8,9 @@
|
||||
mkKdeDerivation {
|
||||
pname = "prison";
|
||||
|
||||
propagatedNativeBuildInputs = [ qtmultimedia ];
|
||||
extraPropagatedBuildInputs = [ qtmultimedia ];
|
||||
|
||||
extraBuildInputs = [
|
||||
qtdeclarative
|
||||
qtmultimedia
|
||||
qrencode
|
||||
libdmtx
|
||||
];
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
{
|
||||
mkKdeDerivation,
|
||||
qtdeclarative,
|
||||
qttools,
|
||||
kirigami,
|
||||
}:
|
||||
mkKdeDerivation {
|
||||
pname = "qqc2-desktop-style";
|
||||
|
||||
extraNativeBuildInputs = [ qttools ];
|
||||
extraBuildInputs = [
|
||||
qtdeclarative
|
||||
kirigami.unwrapped
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
mkKdeDerivation,
|
||||
qttools,
|
||||
bison,
|
||||
flex,
|
||||
libimobiledevice,
|
||||
@@ -13,6 +14,7 @@ mkKdeDerivation {
|
||||
];
|
||||
|
||||
extraNativeBuildInputs = [
|
||||
qttools
|
||||
bison
|
||||
flex
|
||||
];
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
mkKdeDerivation,
|
||||
qtdeclarative,
|
||||
qttools,
|
||||
pkg-config,
|
||||
aspell,
|
||||
hunspell,
|
||||
@@ -8,7 +9,10 @@
|
||||
mkKdeDerivation {
|
||||
pname = "sonnet";
|
||||
|
||||
extraNativeBuildInputs = [ pkg-config ];
|
||||
extraNativeBuildInputs = [
|
||||
qttools
|
||||
pkg-config
|
||||
];
|
||||
extraBuildInputs = [
|
||||
qtdeclarative
|
||||
aspell
|
||||
|
||||
@@ -1,12 +1,16 @@
|
||||
{
|
||||
mkKdeDerivation,
|
||||
qtdeclarative,
|
||||
qttools,
|
||||
perl,
|
||||
}:
|
||||
mkKdeDerivation {
|
||||
pname = "syntax-highlighting";
|
||||
|
||||
extraBuildInputs = [ qtdeclarative ];
|
||||
extraNativeBuildInputs = [ perl ];
|
||||
extraNativeBuildInputs = [
|
||||
qttools
|
||||
perl
|
||||
];
|
||||
meta.mainProgram = "ksyntaxhighlighter6";
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
mkKdeDerivation,
|
||||
qttools,
|
||||
accounts-qt,
|
||||
kaccounts-integration,
|
||||
shared-mime-info,
|
||||
@@ -35,6 +36,7 @@ mkKdeDerivation {
|
||||
];
|
||||
|
||||
extraNativeBuildInputs = [
|
||||
qttools
|
||||
shared-mime-info
|
||||
];
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
mkKdeDerivation,
|
||||
qt5compat,
|
||||
qtsvg,
|
||||
qttools,
|
||||
qtdeclarative,
|
||||
eigen,
|
||||
}:
|
||||
@@ -11,6 +12,7 @@ mkKdeDerivation {
|
||||
extraNativeBuildInputs = [
|
||||
qt5compat
|
||||
qtsvg
|
||||
qttools
|
||||
];
|
||||
extraBuildInputs = [
|
||||
qtdeclarative
|
||||
|
||||
@@ -23,7 +23,6 @@ mkKdeDerivation rec {
|
||||
rustPlatform.cargoSetupHook
|
||||
cargo
|
||||
rustc
|
||||
qtwebengine
|
||||
];
|
||||
|
||||
extraBuildInputs = [
|
||||
|
||||
@@ -9,12 +9,6 @@
|
||||
mkKdeDerivation {
|
||||
pname = "arianna";
|
||||
|
||||
extraNativeBuildInputs = [
|
||||
qthttpserver
|
||||
qtwebchannel
|
||||
qtwebengine
|
||||
];
|
||||
|
||||
extraBuildInputs = [
|
||||
qthttpserver
|
||||
qtsvg
|
||||
@@ -22,6 +16,5 @@ mkKdeDerivation {
|
||||
qtwebengine
|
||||
kitemmodels
|
||||
];
|
||||
|
||||
meta.mainProgram = "arianna";
|
||||
}
|
||||
|
||||
@@ -27,7 +27,6 @@ mkKdeDerivation {
|
||||
|
||||
extraNativeBuildInputs = [
|
||||
ps.pybind11
|
||||
qtmultimedia
|
||||
];
|
||||
|
||||
extraBuildInputs = [
|
||||
|
||||
@@ -6,12 +6,9 @@
|
||||
mkKdeDerivation {
|
||||
pname = "blinken";
|
||||
|
||||
extraNativeBuildInputs = [ qtmultimedia ];
|
||||
|
||||
extraBuildInputs = [
|
||||
qtmultimedia
|
||||
qtsvg
|
||||
];
|
||||
|
||||
meta.mainProgram = "blinken";
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user