mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
Merge master into staging-next
This commit is contained in:
@@ -268,7 +268,7 @@ pkgs/development/python-modules/buildcatrust/ @ajs124 @lukegb @mweinelt
|
||||
/pkgs/applications/editors/jetbrains @leona-ya @theCapypara
|
||||
|
||||
# Licenses
|
||||
/lib/licenses.nix @alyssais @emilazy @jopejoe1
|
||||
/lib/licenses @alyssais @emilazy @jopejoe1
|
||||
|
||||
# Qt
|
||||
/pkgs/development/libraries/qt-5 @K900 @NickCao @SuperSandro2000 @ttuegel
|
||||
@@ -376,6 +376,9 @@ pkgs/development/python-modules/buildcatrust/ @ajs124 @lukegb @mweinelt
|
||||
|
||||
# VimPlugins
|
||||
/pkgs/applications/editors/vim/plugins @NixOS/neovim
|
||||
## nvim-treesitter
|
||||
/pkgs/applications/editors/vim/plugins/nvim-treesitter/overrides.nix @figsoda
|
||||
/pkgs/applications/editors/vim/plugins/utils/nvim-treesitter @figsoda
|
||||
|
||||
# VsCode Extensions
|
||||
/pkgs/applications/editors/vscode/extensions
|
||||
|
||||
@@ -73,7 +73,7 @@ let
|
||||
types = callLibs ./types.nix;
|
||||
|
||||
# constants
|
||||
licenses = callLibs ./licenses.nix;
|
||||
licenses = callLibs ./licenses;
|
||||
sourceTypes = callLibs ./source-types.nix;
|
||||
systems = callLibs ./systems;
|
||||
|
||||
|
||||
7
lib/licenses/default.nix
Normal file
7
lib/licenses/default.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ lib }:
|
||||
let
|
||||
licenses = import ./licenses.nix { inherit lib; };
|
||||
operators = import ./operators.nix;
|
||||
helpers = import ./helpers.nix { inherit lib; };
|
||||
in
|
||||
licenses // operators // helpers
|
||||
152
lib/licenses/helpers.nix
Normal file
152
lib/licenses/helpers.nix
Normal file
@@ -0,0 +1,152 @@
|
||||
{ lib }:
|
||||
rec {
|
||||
/**
|
||||
Evaluate a license expression for a given predicate.
|
||||
|
||||
# Example
|
||||
|
||||
```nix
|
||||
evaluateProperty (x: x.free) true (with lib.licenses; AND [ ncsa (WITH asl20 llvm-exception) ])
|
||||
```
|
||||
# Type
|
||||
|
||||
```
|
||||
evaluateProperty :: Function -> Bool -> AttrSet -> Bool
|
||||
```
|
||||
|
||||
# Arguments
|
||||
|
||||
- [predicate] checks for each license included in the license expression
|
||||
- [permissive] whether to apply checks permissive or reciprocal
|
||||
- [license] license expression to check
|
||||
*/
|
||||
evaluateProperty =
|
||||
predicate: permissive: license:
|
||||
let
|
||||
OR = if permissive then lib.any else lib.all;
|
||||
AND = if permissive then lib.all else lib.any;
|
||||
in
|
||||
if license.licenseType == "simple" then
|
||||
predicate license
|
||||
else if license.licenseType == "compound" then
|
||||
if license.operator == "OR" then
|
||||
OR (x: evaluateProperty predicate permissive x) license.licenses
|
||||
else if license.operator == "AND" then
|
||||
AND (x: evaluateProperty predicate permissive x) license.licenses
|
||||
else
|
||||
throw "Unknown license operator"
|
||||
else if license.licenseType == "exception" then
|
||||
AND (x: evaluateProperty predicate permissive x) [
|
||||
license.license
|
||||
license.exception
|
||||
]
|
||||
else if license.licenseType == "plus" then
|
||||
evaluateProperty predicate permissive license.license
|
||||
else
|
||||
throw "Unknown license type or legacy license";
|
||||
|
||||
/**
|
||||
Check whether a license expression is free.
|
||||
|
||||
# Example
|
||||
|
||||
```nix
|
||||
isFree (with lib.licenses; (AND [ ncsa (WITH asl20 llvm-exception) ]))
|
||||
=> true
|
||||
```
|
||||
|
||||
# Type
|
||||
|
||||
```
|
||||
isFree :: AttrSet -> Bool
|
||||
```
|
||||
|
||||
# Arguments
|
||||
|
||||
- [license] License expression to check if free
|
||||
*/
|
||||
isFree = evaluateProperty (x: x.free) true;
|
||||
|
||||
/**
|
||||
Check whether a license expression is redistributable.
|
||||
|
||||
# Example
|
||||
|
||||
```nix
|
||||
isRedistributable (with lib.licenses; (AND [ ncsa (WITH asl20 llvm-exception) ]))
|
||||
=> true
|
||||
```
|
||||
|
||||
# Type
|
||||
|
||||
```
|
||||
isRedistributable :: AttrSet -> Bool
|
||||
```
|
||||
|
||||
# Arguments
|
||||
|
||||
- [license] License expression to check if redistributable
|
||||
*/
|
||||
isRedistributable = evaluateProperty (x: x.redistributable) true;
|
||||
|
||||
/**
|
||||
Check whether any of the given licenses is required in the license expression.
|
||||
|
||||
# Example
|
||||
|
||||
```nix
|
||||
containsLicenses [ lib.licenses.asl20 ] (with lib.licenses; (AND [ ncsa (WITH asl20 llvm-exception) ]))
|
||||
=> true
|
||||
```
|
||||
|
||||
# Type
|
||||
|
||||
```
|
||||
containsLicenses :: List -> AttrSet -> Bool
|
||||
```
|
||||
|
||||
# Arguments
|
||||
|
||||
- [licenses] List of licenses to look
|
||||
- [license] License expression to check
|
||||
*/
|
||||
containsLicenses = licenses: evaluateProperty (x: lib.lists.elem x licenses) false;
|
||||
|
||||
/**
|
||||
Convert a license expression to an SPDX license expression string.
|
||||
|
||||
# Example
|
||||
|
||||
```nix
|
||||
toSPDX (with lib.licenses; AND [ ncsa (WITH asl20 llvm-exception) ])
|
||||
=> "NCSA AND (Apache-2.0 WITH LLVM-exception)"
|
||||
```
|
||||
|
||||
# Type
|
||||
|
||||
```
|
||||
toSPDX :: AttrSet -> String
|
||||
```
|
||||
|
||||
# Arguments
|
||||
|
||||
- [license] License expression which to convert to spdx expression
|
||||
*/
|
||||
toSPDX =
|
||||
license:
|
||||
let
|
||||
mkBracket =
|
||||
x:
|
||||
if x.licenseType == "compound" || x.licenseType == "exception" then "(${toSPDX x})" else toSPDX x;
|
||||
in
|
||||
if license.licenseType == "simple" then
|
||||
license.spdxId or "LicenseRef-nixos-${license.shortName}"
|
||||
else if license.licenseType == "compound" then
|
||||
lib.concatMapStringsSep " ${license.operator} " (x: mkBracket x) license.licenses
|
||||
else if license.licenseType == "exception" then
|
||||
"${mkBracket license.license} ${license.operator} ${mkBracket license.exception}"
|
||||
else if license.licenseType == "plus" then
|
||||
"${mkBracket license.license}${license.operator}"
|
||||
else
|
||||
throw "Unknown license type";
|
||||
}
|
||||
@@ -21,6 +21,7 @@ let
|
||||
deprecated
|
||||
redistributable
|
||||
;
|
||||
licenseType = "simple";
|
||||
}
|
||||
// optionalAttrs (attrs ? spdxId) {
|
||||
inherit spdxId;
|
||||
110
lib/licenses/operators.nix
Normal file
110
lib/licenses/operators.nix
Normal file
@@ -0,0 +1,110 @@
|
||||
{
|
||||
/**
|
||||
This should be used when there is a choice of which license expression to use.
|
||||
This is a disjunctive binary "OR" operator.
|
||||
|
||||
# Example
|
||||
|
||||
```nix
|
||||
OR [ lib.licenses.mit lib.licenses.asl20 ]
|
||||
=> { licenseType = "compound"; operator = "OR"; licenses = [ lib.licenses.mit lib.licenses.asl20 ] };
|
||||
```
|
||||
|
||||
# Type
|
||||
|
||||
```
|
||||
OR :: List -> AttrSet
|
||||
```
|
||||
|
||||
# Arguments
|
||||
|
||||
- [licenses] Possible licenses to choose from
|
||||
*/
|
||||
OR = licenses: {
|
||||
licenseType = "compound";
|
||||
operator = "OR";
|
||||
inherit licenses;
|
||||
};
|
||||
|
||||
/**
|
||||
Create a compound licenses where the user needs to follow both licenses,
|
||||
eqivialent of spdx `and` modifier.
|
||||
|
||||
# Example
|
||||
|
||||
```nix
|
||||
AND [ lib.licenses.mit lib.licenses.asl20 ]
|
||||
=> { licenseType = "compound"; operator = "AND"; licenses = [ lib.licenses.mit lib.licenses.asl20 ] };
|
||||
```
|
||||
|
||||
# Type
|
||||
|
||||
```
|
||||
AND :: List -> AttrSet
|
||||
```
|
||||
|
||||
# Arguments
|
||||
|
||||
- [licenses] Licenses required to use
|
||||
*/
|
||||
AND = licenses: {
|
||||
licenseType = "compound";
|
||||
operator = "AND";
|
||||
inherit licenses;
|
||||
};
|
||||
|
||||
/**
|
||||
Create a licenses exception where a license has a license exception,
|
||||
eqivialent of spdx `with` modifier.
|
||||
|
||||
# Example
|
||||
|
||||
```nix
|
||||
WITH lib.licenses.lgpl21Only lib.licenses.ocamlLgplLinkingException
|
||||
=> { licenseType = "exception"; operator = "WITH"; license = lib.licenses.lgpl21Only; exception = lib.licenses.ocamlLgplLinkingException; };
|
||||
```
|
||||
|
||||
# Type
|
||||
|
||||
```
|
||||
WITH :: AttrSet -> AttrSet -> AttrSet
|
||||
```
|
||||
|
||||
# Arguments
|
||||
|
||||
- [license] License to which the exception applies
|
||||
- [exception] Exception to apply
|
||||
*/
|
||||
WITH = license: exception: {
|
||||
licenseType = "exception";
|
||||
operator = "WITH";
|
||||
inherit license exception;
|
||||
};
|
||||
|
||||
/**
|
||||
Create a licenses which can be upgraded to any later version of itself,
|
||||
eqivialent of spdx `+` modifier
|
||||
|
||||
# Example
|
||||
|
||||
```nix
|
||||
PLUS lib.licenses.eupl11
|
||||
=> { licenseType = "plus"; operator = "+"; license = lib.licenses.eupl11; };
|
||||
```
|
||||
|
||||
# Type
|
||||
|
||||
```
|
||||
PLUS :: AttrSet -> AttrSet
|
||||
```
|
||||
|
||||
# Arguments
|
||||
|
||||
- [license] License to wich apply an exception
|
||||
*/
|
||||
PLUS = license: {
|
||||
licenseType = "plus";
|
||||
operator = "+";
|
||||
inherit license;
|
||||
};
|
||||
}
|
||||
@@ -589,6 +589,8 @@ let
|
||||
in
|
||||
modulesPath: initialModules: args: {
|
||||
modules = filterModules modulesPath (collectStructuredModules unknownModule "" initialModules args);
|
||||
# Intentionally not shared with `modules` above: this allows `collected`
|
||||
# to be garbage collected after `filterModules` returns.
|
||||
graph = toGraph modulesPath (collectStructuredModules unknownModule "" initialModules args);
|
||||
};
|
||||
|
||||
@@ -783,7 +785,7 @@ let
|
||||
prefix: modules: configs:
|
||||
let
|
||||
# an attrset 'name' => list of submodules that declare ‘name’.
|
||||
declsByName = zipAttrsWith (n: v: v) (
|
||||
declsByName = zipAttrs (
|
||||
map (
|
||||
module:
|
||||
let
|
||||
@@ -838,7 +840,7 @@ let
|
||||
) checkedConfigs
|
||||
);
|
||||
# extract the definitions for each loc
|
||||
rawDefinitionsByName = zipAttrsWith (n: v: v) (
|
||||
rawDefinitionsByName = zipAttrs (
|
||||
map (
|
||||
module:
|
||||
mapAttrs (n: value: {
|
||||
@@ -1439,7 +1441,7 @@ let
|
||||
def: if def.value._type or "" == "override" then def // { value = def.value.content; } else def;
|
||||
in
|
||||
{
|
||||
values = concatMap (def: if getPrio def == highestPrio then [ (strip def) ] else [ ]) defs;
|
||||
values = map strip (filter (def: getPrio def == highestPrio) defs);
|
||||
inherit highestPrio;
|
||||
};
|
||||
|
||||
|
||||
@@ -5012,4 +5012,103 @@ runTests {
|
||||
testReplaceElemAtOutOfRange = testingThrow (lib.replaceElemAt [ 1 2 3 ] 5 "a");
|
||||
|
||||
testReplaceElemAtNegative = testingThrow (lib.replaceElemAt [ 1 2 3 ] (-1) "a");
|
||||
|
||||
testIsFree = {
|
||||
expr = lib.licenses.isFree (
|
||||
lib.licenses.AND [
|
||||
(lib.licenses.mit)
|
||||
(lib.licenses.OR [
|
||||
lib.licenses.free
|
||||
lib.licenses.unfree
|
||||
])
|
||||
(lib.licenses.WITH lib.licenses.asl20 lib.licenses.llvm-exception)
|
||||
(lib.licenses.PLUS lib.licenses.eupl11)
|
||||
]
|
||||
);
|
||||
expected = true;
|
||||
};
|
||||
|
||||
testIsUnfree = {
|
||||
expr = lib.licenses.isFree (
|
||||
lib.licenses.AND [
|
||||
(lib.licenses.mit)
|
||||
(lib.licenses.OR [ lib.licenses.unfree ])
|
||||
(lib.licenses.WITH lib.licenses.asl20 lib.licenses.llvm-exception)
|
||||
(lib.licenses.PLUS lib.licenses.eupl11)
|
||||
]
|
||||
);
|
||||
expected = false;
|
||||
};
|
||||
|
||||
testIsRedistributable = {
|
||||
expr = lib.licenses.isRedistributable (
|
||||
lib.licenses.AND [
|
||||
(lib.licenses.mit)
|
||||
(lib.licenses.OR [
|
||||
lib.licenses.free
|
||||
lib.licenses.unfree
|
||||
])
|
||||
(lib.licenses.WITH lib.licenses.asl20 lib.licenses.llvm-exception)
|
||||
(lib.licenses.PLUS lib.licenses.eupl11)
|
||||
]
|
||||
);
|
||||
expected = true;
|
||||
};
|
||||
|
||||
testIsUnredistributable = {
|
||||
expr = lib.licenses.isRedistributable (
|
||||
lib.licenses.AND [
|
||||
(lib.licenses.mit)
|
||||
(lib.licenses.OR [ lib.licenses.unfree ])
|
||||
(lib.licenses.WITH lib.licenses.asl20 lib.licenses.llvm-exception)
|
||||
(lib.licenses.PLUS lib.licenses.eupl11)
|
||||
]
|
||||
);
|
||||
expected = false;
|
||||
};
|
||||
|
||||
testContainsLicenses = {
|
||||
expr = lib.licenses.containsLicenses [ lib.licenses.mit ] (
|
||||
lib.licenses.AND [
|
||||
(lib.licenses.mit)
|
||||
(lib.licenses.OR [
|
||||
lib.licenses.free
|
||||
lib.licenses.unfree
|
||||
])
|
||||
(lib.licenses.WITH lib.licenses.asl20 lib.licenses.llvm-exception)
|
||||
(lib.licenses.PLUS lib.licenses.eupl11)
|
||||
]
|
||||
);
|
||||
expected = true;
|
||||
};
|
||||
|
||||
testToSPDX = {
|
||||
expr = lib.licenses.toSPDX (
|
||||
lib.licenses.AND [
|
||||
(lib.licenses.mit)
|
||||
(lib.licenses.OR [
|
||||
lib.licenses.free
|
||||
lib.licenses.unfree
|
||||
])
|
||||
(lib.licenses.WITH lib.licenses.asl20 lib.licenses.llvm-exception)
|
||||
(lib.licenses.PLUS lib.licenses.eupl11)
|
||||
]
|
||||
);
|
||||
expected = "MIT AND (LicenseRef-nixos-free OR LicenseRef-nixos-unfree) AND (Apache-2.0 WITH LLVM-exception) AND EUPL-1.1+";
|
||||
};
|
||||
|
||||
testEvaluateProperty = {
|
||||
expr = lib.licenses.evaluateProperty (x: x.deprecated) true (
|
||||
lib.licenses.AND [
|
||||
(lib.licenses.mit)
|
||||
(lib.licenses.OR [
|
||||
lib.licenses.free
|
||||
lib.licenses.unfree
|
||||
])
|
||||
(lib.licenses.WITH lib.licenses.asl20 lib.licenses.llvm-exception)
|
||||
(lib.licenses.PLUS lib.licenses.eupl11)
|
||||
]
|
||||
);
|
||||
expected = false;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -26754,6 +26754,12 @@
|
||||
githubId = 156964;
|
||||
name = "Thomas Boerger";
|
||||
};
|
||||
tbutter = {
|
||||
email = "tbutter@gmail.com";
|
||||
github = "tbutter";
|
||||
githubId = 1336537;
|
||||
name = "Thomas Butter";
|
||||
};
|
||||
tc-kaluza = {
|
||||
github = "tc-kaluza";
|
||||
githubId = 101565936;
|
||||
|
||||
@@ -256,8 +256,8 @@ in
|
||||
upload_max_filesize = ${cfg.maxAttachmentSize}
|
||||
'';
|
||||
settings = lib.mapAttrs (name: lib.mkDefault) {
|
||||
"listen.owner" = "nginx";
|
||||
"listen.group" = "nginx";
|
||||
"listen.owner" = config.services.nginx.user;
|
||||
"listen.group" = config.services.nginx.group;
|
||||
"listen.mode" = "0660";
|
||||
"pm" = "dynamic";
|
||||
"pm.max_children" = 75;
|
||||
|
||||
@@ -57,8 +57,8 @@ in
|
||||
"BAIKAL_PATH_SPECIFIC" = "/var/lib/baikal/specific/";
|
||||
};
|
||||
settings = lib.mapAttrs (name: lib.mkDefault) {
|
||||
"listen.owner" = "nginx";
|
||||
"listen.group" = "nginx";
|
||||
"listen.owner" = config.services.nginx.user;
|
||||
"listen.group" = config.services.nginx.group;
|
||||
"listen.mode" = "0600";
|
||||
"pm" = "dynamic";
|
||||
"pm.max_children" = 75;
|
||||
|
||||
@@ -44,7 +44,7 @@ in
|
||||
"pm" = "dynamic";
|
||||
"php_admin_value[error_log]" = "stderr";
|
||||
"php_admin_flag[log_errors]" = true;
|
||||
"listen.owner" = "nginx";
|
||||
"listen.owner" = config.services.nginx.user;
|
||||
"catch_workers_output" = true;
|
||||
"pm.max_children" = "32";
|
||||
"pm.start_servers" = "2";
|
||||
@@ -52,6 +52,20 @@ in
|
||||
"pm.max_spare_servers" = "4";
|
||||
"pm.max_requests" = "500";
|
||||
};
|
||||
defaultText = lib.literalExpression ''
|
||||
{
|
||||
"pm" = "dynamic";
|
||||
"php_admin_value[error_log]" = "stderr";
|
||||
"php_admin_flag[log_errors]" = true;
|
||||
"listen.owner" = config.services.nginx.user;
|
||||
"catch_workers_output" = true;
|
||||
"pm.max_children" = "32";
|
||||
"pm.start_servers" = "2";
|
||||
"pm.min_spare_servers" = "2";
|
||||
"pm.max_spare_servers" = "4";
|
||||
"pm.max_requests" = "500";
|
||||
}
|
||||
'';
|
||||
|
||||
description = ''
|
||||
Options for grocy's PHPFPM pool.
|
||||
|
||||
@@ -200,8 +200,8 @@ in
|
||||
date.timezone = "${cfg.timezone}"
|
||||
'';
|
||||
settings = mapAttrs (name: mkDefault) {
|
||||
"listen.owner" = "nginx";
|
||||
"listen.group" = "nginx";
|
||||
"listen.owner" = config.services.nginx.user;
|
||||
"listen.group" = config.services.nginx.group;
|
||||
"listen.mode" = "0600";
|
||||
"pm" = "dynamic";
|
||||
"pm.max_children" = 75;
|
||||
|
||||
@@ -123,7 +123,7 @@ in
|
||||
"pm" = "dynamic";
|
||||
"php_admin_value[error_log]" = "stderr";
|
||||
"php_admin_flag[log_errors]" = true;
|
||||
"listen.owner" = "nginx";
|
||||
"listen.owner" = config.services.nginx.user;
|
||||
"catch_workers_output" = true;
|
||||
"pm.max_children" = "32";
|
||||
"pm.start_servers" = "2";
|
||||
|
||||
@@ -37,7 +37,8 @@ in
|
||||
|
||||
user = mkOption {
|
||||
type = types.str;
|
||||
default = "nginx";
|
||||
default = config.services.nginx.user;
|
||||
defaultText = lib.literalExpression "config.services.nginx.user";
|
||||
description = ''
|
||||
User account under which both the service and the web-application run.
|
||||
'';
|
||||
@@ -122,10 +123,10 @@ in
|
||||
config = mkIf cfg.enable {
|
||||
services.phpfpm.pools = mkIf (cfg.pool == "${poolName}") {
|
||||
${poolName} = {
|
||||
user = "nginx";
|
||||
user = config.services.nginx.user;
|
||||
settings = mapAttrs (name: mkDefault) {
|
||||
"listen.owner" = "nginx";
|
||||
"listen.group" = "nginx";
|
||||
"listen.owner" = config.services.nginx.user;
|
||||
"listen.group" = config.services.nginx.group;
|
||||
"listen.mode" = "0600";
|
||||
"pm" = "dynamic";
|
||||
"pm.max_children" = 75;
|
||||
|
||||
@@ -594,8 +594,8 @@ in
|
||||
inherit (cfg) user;
|
||||
inherit phpPackage;
|
||||
settings = mapAttrs (name: mkDefault) {
|
||||
"listen.owner" = "nginx";
|
||||
"listen.group" = "nginx";
|
||||
"listen.owner" = config.services.nginx.user;
|
||||
"listen.group" = config.services.nginx.group;
|
||||
"listen.mode" = "0600";
|
||||
"pm" = "dynamic";
|
||||
"pm.max_children" = 75;
|
||||
|
||||
@@ -152,6 +152,7 @@ in
|
||||
ssh-backdoor = runTestOn [ "x86_64-linux" ] ./nixos-test-driver/ssh-backdoor.nix;
|
||||
console-log = runTest ./nixos-test-driver/console-log.nix;
|
||||
containers = runTest ./nixos-test-driver/containers.nix;
|
||||
skip-typecheck = runTest ./nixos-test-driver/skip-typecheck.nix;
|
||||
driver-timeout =
|
||||
pkgs.runCommand "ensure-timeout-induced-failure"
|
||||
{
|
||||
|
||||
21
nixos/tests/nixos-test-driver/skip-typecheck.nix
Normal file
21
nixos/tests/nixos-test-driver/skip-typecheck.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
nixosTests.simple, but with skipTypeCheck.
|
||||
This catches regressions in the wiring, e.g.
|
||||
https://github.com/NixOS/nixpkgs/pull/511225
|
||||
*/
|
||||
{
|
||||
name = "skip-typecheck";
|
||||
meta = {
|
||||
maintainers = [ ];
|
||||
};
|
||||
|
||||
skipTypeCheck = true;
|
||||
|
||||
nodes.machine = { };
|
||||
|
||||
testScript = ''
|
||||
start_all()
|
||||
machine.wait_for_unit("multi-user.target")
|
||||
machine.shutdown()
|
||||
'';
|
||||
}
|
||||
@@ -121,6 +121,7 @@ buildVscode {
|
||||
jefflabonte
|
||||
wetrustinprize
|
||||
oenu
|
||||
yuannan
|
||||
];
|
||||
platforms = [
|
||||
"x86_64-linux"
|
||||
|
||||
@@ -14,11 +14,11 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "atftp";
|
||||
version = "0.8.0";
|
||||
version = "0.8.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/atftp/atftp-${finalAttrs.version}.tar.gz";
|
||||
hash = "sha256-3yqgicdnD56rQOVZjl0stqWC3FGCkm6lC01pDk438xY=";
|
||||
hash = "sha256-lsvb0vFmFcicnbNr6bMG3hdtmhwD3LjLd3Ylv+BovCs=";
|
||||
};
|
||||
|
||||
# fix test script
|
||||
|
||||
@@ -5,14 +5,15 @@
|
||||
pkg-config,
|
||||
fuse,
|
||||
xz,
|
||||
zlib,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "avfs";
|
||||
version = "1.2.0";
|
||||
version = "1.3.0";
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/avf/${finalAttrs.version}/avfs-${finalAttrs.version}.tar.bz2";
|
||||
sha256 = "sha256-olqOxDwe4XJiThpMec5mobkwhBzbVFtyXx7GS8q+iJw=";
|
||||
sha256 = "sha256-B81p1MDH7QgOgP8EDZgChkBa04pEP9xS3Dle/vEcRLE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
@@ -20,19 +21,20 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
buildInputs = [
|
||||
fuse
|
||||
xz
|
||||
zlib
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--enable-library"
|
||||
"--enable-fuse"
|
||||
];
|
||||
]
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin "--with-system-zlib";
|
||||
|
||||
meta = {
|
||||
homepage = "https://avf.sourceforge.net/";
|
||||
description = "Virtual filesystem that allows browsing of compressed files";
|
||||
platforms = lib.platforms.unix;
|
||||
license = lib.licenses.gpl2Only;
|
||||
# The last successful Darwin Hydra build was in 2024
|
||||
broken = stdenv.hostPlatform.isDarwin;
|
||||
maintainers = with lib.maintainers; [ tbutter ];
|
||||
};
|
||||
})
|
||||
|
||||
@@ -61,7 +61,7 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "azahar";
|
||||
version = "2125.0.1";
|
||||
version = "2125.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "azahar-emu";
|
||||
@@ -74,7 +74,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
echo "${finalAttrs.version}" > "$out/GIT-TAG"
|
||||
git -C "$out" rev-parse HEAD > "$out/GIT-COMMIT"
|
||||
'';
|
||||
hash = "sha256-KzM2FWJPxZtkpwvK4DSdfNuxE8yy1OVaioVegQbBSWk=";
|
||||
hash = "sha256-F5v52axQ4+vH6ZqEEuuMtV5PVahWmnS3PixZHqywhtM=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
@@ -138,14 +138,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
(darwinMinVersionHook "13.4")
|
||||
];
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "cmake-Add-option-to-use-system-oaknut.patch";
|
||||
url = "https://github.com/azahar-emu/azahar/commit/6201256e15ee4d4fc053933545abf50fc46be178.patch";
|
||||
hash = "sha256-03eIubAJ65W9clI9iaLcLNAAMbkX4E507nYNV8DVwZc=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# We already know the submodules are present
|
||||
substituteInPlace CMakeLists.txt \
|
||||
|
||||
@@ -3,24 +3,24 @@
|
||||
|
||||
let
|
||||
pname = "brave";
|
||||
version = "1.89.132";
|
||||
version = "1.89.137";
|
||||
|
||||
allArchives = {
|
||||
aarch64-linux = {
|
||||
url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_arm64.deb";
|
||||
hash = "sha256-mYY8eyMWcwx6RuMNP5ucf6xd1NXfYO4nqXEkiTUtX0o=";
|
||||
hash = "sha256-JeYoRM6ClQ7iqu+wvwaTUmdDuIS+2AXoTIU+VxAbgRg=";
|
||||
};
|
||||
x86_64-linux = {
|
||||
url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb";
|
||||
hash = "sha256-/SmzRSgmXM567D1YQdD/IfDaIe3RPLtgJMYvcOCwvZo=";
|
||||
hash = "sha256-BFbx/Ex4HdaFpfY2AKc3yAaMp6PiYwC/kmEIF0WdcwU=";
|
||||
};
|
||||
aarch64-darwin = {
|
||||
url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-v${version}-darwin-arm64.zip";
|
||||
hash = "sha256-3f29ehqJNQjYJ+vh15ZI2UJEB1VdBfLL3VWv8CRasCw=";
|
||||
hash = "sha256-Ffc9se0j9ULZsZQktWzrUgBiLyC5QR1jAPg6IcHoOTI=";
|
||||
};
|
||||
x86_64-darwin = {
|
||||
url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-v${version}-darwin-x64.zip";
|
||||
hash = "sha256-KIod2FbWck1OUATr/vKK+vgwIih3Lha48MAdt5qNIAk=";
|
||||
hash = "sha256-SOOf35CONFydjSK47xgQLHxX7weQFPl2Fh33H5qeqXo=";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -27,12 +27,12 @@ index ab8d111..d7165e2 100644
|
||||
message(STATUS "Building solvers with cadical")
|
||||
|
||||
download_project(PROJ cadical
|
||||
- URL https://github.com/arminbiere/cadical/archive/rel-2.0.0.tar.gz
|
||||
- URL https://github.com/arminbiere/cadical/archive/rel-3.0.0.tar.gz
|
||||
+ SOURCE_DIR @srccadical@
|
||||
PATCH_COMMAND patch -p1 -i ${CBMC_SOURCE_DIR}/scripts/cadical-2.0.0-patch
|
||||
PATCH_COMMAND patch -p1 -i ${CBMC_SOURCE_DIR}/scripts/cadical-3.0.0-patch
|
||||
COMMAND cmake -E copy ${CBMC_SOURCE_DIR}/scripts/cadical_CMakeLists.txt CMakeLists.txt
|
||||
COMMAND ./configure
|
||||
- URL_MD5 9fc2a66196b86adceb822a583318cc35
|
||||
- URL_HASH SHA256=282b1c9422fde8631cb721b86450ae94df4e8de0545c17a69a301aaa4bf92fcf
|
||||
)
|
||||
|
||||
add_subdirectory(${cadical_SOURCE_DIR} ${cadical_BINARY_DIR})
|
||||
@@ -40,11 +40,11 @@ index ab8d111..d7165e2 100644
|
||||
message(STATUS "Building with IPASIR solver linking against: CaDiCaL")
|
||||
|
||||
download_project(PROJ cadical
|
||||
- URL https://github.com/arminbiere/cadical/archive/rel-2.0.0.tar.gz
|
||||
- URL https://github.com/arminbiere/cadical/archive/rel-3.0.0.tar.gz
|
||||
+ SOURCE_DIR @srccadical@
|
||||
PATCH_COMMAND patch -p1 -i ${CBMC_SOURCE_DIR}/scripts/cadical-2.0.0-patch
|
||||
PATCH_COMMAND patch -p1 -i ${CBMC_SOURCE_DIR}/scripts/cadical-3.0.0-patch
|
||||
COMMAND ./configure
|
||||
- URL_MD5 9fc2a66196b86adceb822a583318cc35
|
||||
- URL_HASH SHA256=282b1c9422fde8631cb721b86450ae94df4e8de0545c17a69a301aaa4bf92fcf
|
||||
)
|
||||
|
||||
message(STATUS "Building CaDiCaL")
|
||||
|
||||
@@ -17,13 +17,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "cbmc";
|
||||
version = "6.8.0";
|
||||
version = "6.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "diffblue";
|
||||
repo = "cbmc";
|
||||
tag = "cbmc-${finalAttrs.version}";
|
||||
hash = "sha256-PT6AYiwkplCeyMREZnGZA0BKl4ZESRC02/9ibKg7mYU=";
|
||||
hash = "sha256-SMJBnzoyTwcwJa9L2X1iX2W4Z/Mwoirf8EXfoyG0dRI=";
|
||||
};
|
||||
|
||||
srcglucose = fetchFromGitHub {
|
||||
@@ -35,7 +35,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
srccadical =
|
||||
(cadical.override {
|
||||
version = "2.0.0";
|
||||
version = "3.0.0";
|
||||
}).src;
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -12,24 +12,26 @@
|
||||
nodejs_20,
|
||||
nodejs-slim_20,
|
||||
remarshal_0_17,
|
||||
nix-update-script,
|
||||
settings ? { },
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "dashy-ui";
|
||||
version = "3.1.1-unstable-2025-09-12";
|
||||
version = "3.3.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "lissy93";
|
||||
repo = "dashy";
|
||||
rev = "e70ade555fdccf4e723a90f8a2d46fcf83645c4f";
|
||||
hash = "sha256-edsGHc6Hi306aq+TA2g5FL/ZYNfExbcgHS5PWF9O0+0=";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-Xc6zwnR0J+0DuTKNW3eHyJRvUgJgEeL3jA26wzNTMN0=";
|
||||
};
|
||||
yarnOfflineCache = fetchYarnDeps {
|
||||
yarnLock = finalAttrs.src + "/yarn.lock";
|
||||
hash = "sha256-r36w3Cz/V7E/xPYYpvfQsdk2QXfCVDYE9OxiFNyKP2s=";
|
||||
hash = "sha256-EMns5J8rM4qOfrACoX6lttOXh/RUtZjaKtd+BpsS6Xs=";
|
||||
};
|
||||
|
||||
passthru.tests = {
|
||||
dashy = nixosTests.dashy;
|
||||
passthru = {
|
||||
tests.dashy = nixosTests.dashy;
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
# - If no settings are passed, use the default config provided by upstream
|
||||
|
||||
@@ -8,12 +8,18 @@
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
# nixpkgs-update: no auto update
|
||||
# NOTE: Do not update to interim patch versions. The download URL will get shut
|
||||
# down after a while. Dbvisualizer discontinues download
|
||||
# URLs for all but the last patch version per minor version.
|
||||
# Example: v25.3.2 gets shut down after v25.3.3 gets released.
|
||||
|
||||
let
|
||||
pname = "dbvisualizer";
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
inherit pname;
|
||||
version = "25.2.6";
|
||||
version = "25.3.3";
|
||||
|
||||
src =
|
||||
let
|
||||
@@ -21,7 +27,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
in
|
||||
fetchurl {
|
||||
url = "https://www.dbvis.com/product_download/dbvis-${finalAttrs.version}/media/dbvis_linux_${underscoreVersion}.tar.gz";
|
||||
hash = "sha256-yiL0FFkSntwLy/oOkiDQKTvTOUrtbv/9kV+1nLZtMB0=";
|
||||
hash = "sha256-rvS2NczwmT1+/JIfpLI518I0/2AaIJEQAOwmKUK2FQs=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "deps.fnl";
|
||||
version = "0.2.5";
|
||||
version = "0.2.6";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "andreyorst";
|
||||
repo = "deps.fnl";
|
||||
tag = version;
|
||||
hash = "sha256-gUqi0g7myWTbjILN4RQqbeeaSYcg0oVJYNO0Gv9XzNY=";
|
||||
hash = "sha256-FrFeRbfK4sHd3pjiVDMrE8IpDKptZuwkTLMQ9hppVRY=";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
source 'https://rubygems.org'
|
||||
|
||||
|
||||
gem 'addressable'
|
||||
gem 'arabic-letter-connector', require: false
|
||||
gem 'aws-sdk-s3', require: false
|
||||
gem 'aws-sdk-secretsmanager', require: false
|
||||
@@ -27,12 +28,10 @@ gem 'oj'
|
||||
gem 'onnxruntime', require: false
|
||||
gem 'pagy'
|
||||
gem 'pg', require: false
|
||||
gem 'premailer-rails'
|
||||
gem 'pretender'
|
||||
gem 'puma', require: false
|
||||
gem 'rack'
|
||||
gem 'rails'
|
||||
gem 'rails_autolink'
|
||||
gem 'rails-i18n'
|
||||
gem 'rotp'
|
||||
gem 'rouge', require: false
|
||||
@@ -43,7 +42,7 @@ gem 'shakapacker'
|
||||
gem 'sidekiq'
|
||||
gem 'sqlite3', require: false
|
||||
gem 'strip_attributes'
|
||||
gem 'trilogy', github: 'trilogy-libraries/trilogy', glob: 'contrib/ruby/*.gemspec', require: false
|
||||
gem 'trilogy', require: false
|
||||
gem 'turbo-rails'
|
||||
gem 'twitter_cldr', require: false
|
||||
gem 'tzinfo-data'
|
||||
|
||||
@@ -1,39 +1,31 @@
|
||||
GIT
|
||||
remote: https://github.com/trilogy-libraries/trilogy.git
|
||||
revision: 3963d490459df7a2b5bedb42424c3285f25eab22
|
||||
glob: contrib/ruby/*.gemspec
|
||||
specs:
|
||||
trilogy (2.10.0)
|
||||
bigdecimal
|
||||
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
action_text-trix (2.1.16)
|
||||
action_text-trix (2.1.18)
|
||||
railties
|
||||
actioncable (8.1.2)
|
||||
actionpack (= 8.1.2)
|
||||
activesupport (= 8.1.2)
|
||||
actioncable (8.1.3)
|
||||
actionpack (= 8.1.3)
|
||||
activesupport (= 8.1.3)
|
||||
nio4r (~> 2.0)
|
||||
websocket-driver (>= 0.6.1)
|
||||
zeitwerk (~> 2.6)
|
||||
actionmailbox (8.1.2)
|
||||
actionpack (= 8.1.2)
|
||||
activejob (= 8.1.2)
|
||||
activerecord (= 8.1.2)
|
||||
activestorage (= 8.1.2)
|
||||
activesupport (= 8.1.2)
|
||||
actionmailbox (8.1.3)
|
||||
actionpack (= 8.1.3)
|
||||
activejob (= 8.1.3)
|
||||
activerecord (= 8.1.3)
|
||||
activestorage (= 8.1.3)
|
||||
activesupport (= 8.1.3)
|
||||
mail (>= 2.8.0)
|
||||
actionmailer (8.1.2)
|
||||
actionpack (= 8.1.2)
|
||||
actionview (= 8.1.2)
|
||||
activejob (= 8.1.2)
|
||||
activesupport (= 8.1.2)
|
||||
actionmailer (8.1.3)
|
||||
actionpack (= 8.1.3)
|
||||
actionview (= 8.1.3)
|
||||
activejob (= 8.1.3)
|
||||
activesupport (= 8.1.3)
|
||||
mail (>= 2.8.0)
|
||||
rails-dom-testing (~> 2.2)
|
||||
actionpack (8.1.2)
|
||||
actionview (= 8.1.2)
|
||||
activesupport (= 8.1.2)
|
||||
actionpack (8.1.3)
|
||||
actionview (= 8.1.3)
|
||||
activesupport (= 8.1.3)
|
||||
nokogiri (>= 1.8.5)
|
||||
rack (>= 2.2.4)
|
||||
rack-session (>= 1.0.1)
|
||||
@@ -41,36 +33,36 @@ GEM
|
||||
rails-dom-testing (~> 2.2)
|
||||
rails-html-sanitizer (~> 1.6)
|
||||
useragent (~> 0.16)
|
||||
actiontext (8.1.2)
|
||||
actiontext (8.1.3)
|
||||
action_text-trix (~> 2.1.15)
|
||||
actionpack (= 8.1.2)
|
||||
activerecord (= 8.1.2)
|
||||
activestorage (= 8.1.2)
|
||||
activesupport (= 8.1.2)
|
||||
actionpack (= 8.1.3)
|
||||
activerecord (= 8.1.3)
|
||||
activestorage (= 8.1.3)
|
||||
activesupport (= 8.1.3)
|
||||
globalid (>= 0.6.0)
|
||||
nokogiri (>= 1.8.5)
|
||||
actionview (8.1.2)
|
||||
activesupport (= 8.1.2)
|
||||
actionview (8.1.3)
|
||||
activesupport (= 8.1.3)
|
||||
builder (~> 3.1)
|
||||
erubi (~> 1.11)
|
||||
rails-dom-testing (~> 2.2)
|
||||
rails-html-sanitizer (~> 1.6)
|
||||
activejob (8.1.2)
|
||||
activesupport (= 8.1.2)
|
||||
activejob (8.1.3)
|
||||
activesupport (= 8.1.3)
|
||||
globalid (>= 0.3.6)
|
||||
activemodel (8.1.2)
|
||||
activesupport (= 8.1.2)
|
||||
activerecord (8.1.2)
|
||||
activemodel (= 8.1.2)
|
||||
activesupport (= 8.1.2)
|
||||
activemodel (8.1.3)
|
||||
activesupport (= 8.1.3)
|
||||
activerecord (8.1.3)
|
||||
activemodel (= 8.1.3)
|
||||
activesupport (= 8.1.3)
|
||||
timeout (>= 0.4.0)
|
||||
activestorage (8.1.2)
|
||||
actionpack (= 8.1.2)
|
||||
activejob (= 8.1.2)
|
||||
activerecord (= 8.1.2)
|
||||
activesupport (= 8.1.2)
|
||||
activestorage (8.1.3)
|
||||
actionpack (= 8.1.3)
|
||||
activejob (= 8.1.3)
|
||||
activerecord (= 8.1.3)
|
||||
activesupport (= 8.1.3)
|
||||
marcel (~> 1.0)
|
||||
activesupport (8.1.2)
|
||||
activesupport (8.1.3)
|
||||
base64
|
||||
bigdecimal
|
||||
concurrent-ruby (~> 1.0, >= 1.3.1)
|
||||
@@ -83,16 +75,16 @@ GEM
|
||||
securerandom (>= 0.3)
|
||||
tzinfo (~> 2.0, >= 2.0.5)
|
||||
uri (>= 0.13.1)
|
||||
addressable (2.8.8)
|
||||
addressable (2.9.0)
|
||||
public_suffix (>= 2.0.2, < 8.0)
|
||||
annotaterb (4.20.0)
|
||||
annotaterb (4.22.0)
|
||||
activerecord (>= 6.0.0)
|
||||
activesupport (>= 6.0.0)
|
||||
arabic-letter-connector (0.1.1)
|
||||
ast (2.4.3)
|
||||
aws-eventstream (1.4.0)
|
||||
aws-partitions (1.1209.0)
|
||||
aws-sdk-core (3.241.4)
|
||||
aws-partitions (1.1233.0)
|
||||
aws-sdk-core (3.244.0)
|
||||
aws-eventstream (~> 1, >= 1.3.0)
|
||||
aws-partitions (~> 1, >= 1.992.0)
|
||||
aws-sigv4 (~> 1.9)
|
||||
@@ -100,15 +92,15 @@ GEM
|
||||
bigdecimal
|
||||
jmespath (~> 1, >= 1.6.1)
|
||||
logger
|
||||
aws-sdk-kms (1.121.0)
|
||||
aws-sdk-core (~> 3, >= 3.241.4)
|
||||
aws-sdk-kms (1.123.0)
|
||||
aws-sdk-core (~> 3, >= 3.244.0)
|
||||
aws-sigv4 (~> 1.5)
|
||||
aws-sdk-s3 (1.212.0)
|
||||
aws-sdk-core (~> 3, >= 3.241.4)
|
||||
aws-sdk-s3 (1.218.0)
|
||||
aws-sdk-core (~> 3, >= 3.244.0)
|
||||
aws-sdk-kms (~> 1)
|
||||
aws-sigv4 (~> 1.5)
|
||||
aws-sdk-secretsmanager (1.128.0)
|
||||
aws-sdk-core (~> 3, >= 3.241.4)
|
||||
aws-sdk-secretsmanager (1.129.0)
|
||||
aws-sdk-core (~> 3, >= 3.244.0)
|
||||
aws-sigv4 (~> 1.5)
|
||||
aws-sigv4 (1.12.1)
|
||||
aws-eventstream (~> 1, >= 1.0.2)
|
||||
@@ -116,7 +108,7 @@ GEM
|
||||
cgi
|
||||
rexml
|
||||
base64 (0.3.0)
|
||||
bcrypt (3.1.21)
|
||||
bcrypt (3.1.22)
|
||||
better_html (2.2.0)
|
||||
actionview (>= 7.0)
|
||||
activesupport (>= 7.0)
|
||||
@@ -124,11 +116,11 @@ GEM
|
||||
erubi (~> 1.4)
|
||||
parser (>= 2.4)
|
||||
smart_properties
|
||||
bigdecimal (4.0.1)
|
||||
bigdecimal (4.1.0)
|
||||
bindex (0.8.1)
|
||||
bootsnap (1.21.1)
|
||||
bootsnap (1.23.0)
|
||||
msgpack (~> 1.2)
|
||||
brakeman (7.1.2)
|
||||
brakeman (8.0.4)
|
||||
racc
|
||||
builder (3.3.0)
|
||||
bullet (8.1.0)
|
||||
@@ -158,8 +150,6 @@ GEM
|
||||
bigdecimal
|
||||
rexml
|
||||
crass (1.0.6)
|
||||
css_parser (1.21.1)
|
||||
addressable
|
||||
csv (3.3.5)
|
||||
csv-safe (3.3.1)
|
||||
csv (~> 3.0)
|
||||
@@ -171,16 +161,16 @@ GEM
|
||||
irb (~> 1.10)
|
||||
reline (>= 0.3.8)
|
||||
declarative (0.0.20)
|
||||
devise (4.9.4)
|
||||
devise (5.0.3)
|
||||
bcrypt (~> 3.0)
|
||||
orm_adapter (~> 0.1)
|
||||
railties (>= 4.1.0)
|
||||
railties (>= 7.0)
|
||||
responders
|
||||
warden (~> 1.2.3)
|
||||
devise-two-factor (6.3.1)
|
||||
activesupport (>= 7.0, < 8.2)
|
||||
devise (>= 4.0, < 5.0)
|
||||
railties (>= 7.0, < 8.2)
|
||||
devise-two-factor (6.4.0)
|
||||
activesupport (>= 7.2, < 8.2)
|
||||
devise (>= 4.0, < 6.0)
|
||||
railties (>= 7.2, < 8.2)
|
||||
rotp (~> 6.0)
|
||||
diff-lcs (1.6.2)
|
||||
digest-crc (0.7.0)
|
||||
@@ -189,7 +179,7 @@ GEM
|
||||
dotenv (3.2.0)
|
||||
drb (2.2.3)
|
||||
email_typo (0.2.3)
|
||||
erb (6.0.1)
|
||||
erb (6.0.2)
|
||||
erb_lint (0.9.0)
|
||||
activesupport
|
||||
better_html (>= 2.0.1)
|
||||
@@ -203,7 +193,7 @@ GEM
|
||||
factory_bot_rails (6.5.1)
|
||||
factory_bot (~> 6.5)
|
||||
railties (>= 6.1.0)
|
||||
faker (3.6.0)
|
||||
faker (3.6.1)
|
||||
i18n (>= 1.8.11, < 2)
|
||||
faraday (2.14.1)
|
||||
faraday-net_http (>= 2.0, < 3.5)
|
||||
@@ -213,16 +203,16 @@ GEM
|
||||
faraday (>= 1, < 3)
|
||||
faraday-net_http (3.4.2)
|
||||
net-http (~> 0.5)
|
||||
ferrum (0.17.1)
|
||||
ferrum (0.17.2)
|
||||
addressable (~> 2.5)
|
||||
base64 (~> 0.2)
|
||||
concurrent-ruby (~> 1.1)
|
||||
webrick (~> 1.7)
|
||||
websocket-driver (~> 0.7)
|
||||
ffi (1.17.3)
|
||||
ffi (1.17.3-aarch64-linux-musl)
|
||||
ffi (1.17.3-arm64-darwin)
|
||||
ffi (1.17.3-x86_64-linux-musl)
|
||||
ffi (1.17.4)
|
||||
ffi (1.17.4-aarch64-linux-musl)
|
||||
ffi (1.17.4-arm64-darwin)
|
||||
ffi (1.17.4-x86_64-linux-musl)
|
||||
foreman (0.90.0)
|
||||
thor (~> 1.4)
|
||||
geom2d (0.4.1)
|
||||
@@ -238,7 +228,7 @@ GEM
|
||||
retriable (~> 3.1)
|
||||
google-apis-iamcredentials_v1 (0.26.0)
|
||||
google-apis-core (>= 0.15.0, < 2.a)
|
||||
google-apis-storage_v1 (0.59.0)
|
||||
google-apis-storage_v1 (0.61.0)
|
||||
google-apis-core (>= 0.15.0, < 2.a)
|
||||
google-cloud-core (1.8.0)
|
||||
google-cloud-env (>= 1.0, < 3.a)
|
||||
@@ -246,8 +236,8 @@ GEM
|
||||
google-cloud-env (2.3.1)
|
||||
base64 (~> 0.2)
|
||||
faraday (>= 1.0, < 3.a)
|
||||
google-cloud-errors (1.5.0)
|
||||
google-cloud-storage (1.58.0)
|
||||
google-cloud-errors (1.6.0)
|
||||
google-cloud-storage (1.59.0)
|
||||
addressable (~> 2.8)
|
||||
digest-crc (~> 0.4)
|
||||
google-apis-core (>= 0.18, < 2)
|
||||
@@ -257,7 +247,7 @@ GEM
|
||||
googleauth (~> 1.9)
|
||||
mini_mime (~> 1.0)
|
||||
google-logging-utils (0.2.0)
|
||||
googleauth (1.16.1)
|
||||
googleauth (1.16.2)
|
||||
faraday (>= 1.0, < 3.a)
|
||||
google-cloud-env (~> 2.2)
|
||||
google-logging-utils (~> 0.1)
|
||||
@@ -266,24 +256,24 @@ GEM
|
||||
os (>= 0.9, < 2.0)
|
||||
signet (>= 0.16, < 2.a)
|
||||
hashdiff (1.2.1)
|
||||
hexapdf (1.5.0)
|
||||
hexapdf (1.6.0)
|
||||
cmdparse (~> 3.0, >= 3.0.3)
|
||||
geom2d (~> 0.4, >= 0.4.1)
|
||||
openssl (>= 2.2.1)
|
||||
strscan (>= 3.1.2)
|
||||
htmlentities (4.4.2)
|
||||
i18n (1.14.8)
|
||||
concurrent-ruby (~> 1.0)
|
||||
image_processing (1.14.0)
|
||||
mini_magick (>= 4.9.5, < 6)
|
||||
ruby-vips (>= 2.0.17, < 3)
|
||||
io-console (0.8.2)
|
||||
irb (1.16.0)
|
||||
irb (1.17.0)
|
||||
pp (>= 0.6.0)
|
||||
prism (>= 1.3.0)
|
||||
rdoc (>= 4.0.0)
|
||||
reline (>= 0.4.2)
|
||||
jmespath (1.6.2)
|
||||
json (2.18.1)
|
||||
json (2.19.3)
|
||||
jwt (3.1.2)
|
||||
base64
|
||||
language_server-protocol (3.17.0.5)
|
||||
@@ -305,7 +295,7 @@ GEM
|
||||
activesupport (>= 4)
|
||||
railties (>= 4)
|
||||
request_store (~> 1.0)
|
||||
loofah (2.25.0)
|
||||
loofah (2.25.1)
|
||||
crass (~> 1.0.2)
|
||||
nokogiri (>= 1.12.0)
|
||||
mail (2.9.0)
|
||||
@@ -321,13 +311,14 @@ GEM
|
||||
logger
|
||||
mini_mime (1.1.5)
|
||||
mini_portile2 (2.8.9)
|
||||
minitest (6.0.1)
|
||||
minitest (6.0.3)
|
||||
drb (~> 2.0)
|
||||
prism (~> 1.5)
|
||||
msgpack (1.8.0)
|
||||
multi_json (1.19.1)
|
||||
net-http (0.9.1)
|
||||
uri (>= 0.11.1)
|
||||
net-imap (0.6.2)
|
||||
net-imap (0.6.3)
|
||||
date
|
||||
net-protocol
|
||||
net-pop (0.1.2)
|
||||
@@ -337,17 +328,17 @@ GEM
|
||||
net-smtp (0.5.1)
|
||||
net-protocol
|
||||
nio4r (2.7.5)
|
||||
nokogiri (1.19.0)
|
||||
nokogiri (1.19.2)
|
||||
mini_portile2 (~> 2.8.2)
|
||||
racc (~> 1.4)
|
||||
nokogiri (1.19.0-aarch64-linux-musl)
|
||||
nokogiri (1.19.2-aarch64-linux-musl)
|
||||
racc (~> 1.4)
|
||||
nokogiri (1.19.0-arm64-darwin)
|
||||
nokogiri (1.19.2-arm64-darwin)
|
||||
racc (~> 1.4)
|
||||
nokogiri (1.19.0-x86_64-linux-musl)
|
||||
nokogiri (1.19.2-x86_64-linux-musl)
|
||||
racc (~> 1.4)
|
||||
numo-narray-alt (0.9.13)
|
||||
oj (3.16.13)
|
||||
numo-narray-alt (0.10.3)
|
||||
oj (3.16.16)
|
||||
bigdecimal (>= 3.0)
|
||||
ostruct (>= 0.2)
|
||||
onnxruntime (0.10.1)
|
||||
@@ -358,16 +349,17 @@ GEM
|
||||
ffi
|
||||
onnxruntime (0.10.1-x86_64-linux)
|
||||
ffi
|
||||
openssl (4.0.0)
|
||||
openssl (4.0.1)
|
||||
orm_adapter (0.5.0)
|
||||
os (1.1.4)
|
||||
ostruct (0.6.3)
|
||||
package_json (0.2.0)
|
||||
pagy (43.2.8)
|
||||
pagy (43.4.4)
|
||||
json
|
||||
uri
|
||||
yaml
|
||||
parallel (1.27.0)
|
||||
parser (3.3.10.1)
|
||||
parallel (1.28.0)
|
||||
parser (3.3.11.1)
|
||||
ast (~> 2.4.1)
|
||||
racc
|
||||
pg (1.6.3)
|
||||
@@ -376,18 +368,10 @@ GEM
|
||||
pg (1.6.3-x86_64-linux-musl)
|
||||
pp (0.6.3)
|
||||
prettyprint
|
||||
premailer (1.27.0)
|
||||
addressable
|
||||
css_parser (>= 1.19.0)
|
||||
htmlentities (>= 4.0.0)
|
||||
premailer-rails (1.12.0)
|
||||
actionmailer (>= 3)
|
||||
net-smtp
|
||||
premailer (~> 1.7, >= 1.7.9)
|
||||
pretender (0.6.0)
|
||||
actionpack (>= 7.1)
|
||||
pretender (1.0.0)
|
||||
actionpack (>= 7.2)
|
||||
prettyprint (0.2.0)
|
||||
prism (1.8.0)
|
||||
prism (1.9.0)
|
||||
pry (0.16.0)
|
||||
coderay (~> 1.1)
|
||||
method_source (~> 1.0)
|
||||
@@ -397,51 +381,47 @@ GEM
|
||||
psych (5.3.1)
|
||||
date
|
||||
stringio
|
||||
public_suffix (7.0.2)
|
||||
public_suffix (7.0.5)
|
||||
puma (7.2.0)
|
||||
nio4r (~> 2.0)
|
||||
racc (1.8.1)
|
||||
rack (3.2.4)
|
||||
rack (3.2.6)
|
||||
rack-proxy (0.7.7)
|
||||
rack
|
||||
rack-session (2.1.1)
|
||||
rack-session (2.1.2)
|
||||
base64 (>= 0.1.0)
|
||||
rack (>= 3.0.0)
|
||||
rack-test (2.2.0)
|
||||
rack (>= 1.3)
|
||||
rackup (2.3.1)
|
||||
rack (>= 3)
|
||||
rails (8.1.2)
|
||||
actioncable (= 8.1.2)
|
||||
actionmailbox (= 8.1.2)
|
||||
actionmailer (= 8.1.2)
|
||||
actionpack (= 8.1.2)
|
||||
actiontext (= 8.1.2)
|
||||
actionview (= 8.1.2)
|
||||
activejob (= 8.1.2)
|
||||
activemodel (= 8.1.2)
|
||||
activerecord (= 8.1.2)
|
||||
activestorage (= 8.1.2)
|
||||
activesupport (= 8.1.2)
|
||||
rails (8.1.3)
|
||||
actioncable (= 8.1.3)
|
||||
actionmailbox (= 8.1.3)
|
||||
actionmailer (= 8.1.3)
|
||||
actionpack (= 8.1.3)
|
||||
actiontext (= 8.1.3)
|
||||
actionview (= 8.1.3)
|
||||
activejob (= 8.1.3)
|
||||
activemodel (= 8.1.3)
|
||||
activerecord (= 8.1.3)
|
||||
activestorage (= 8.1.3)
|
||||
activesupport (= 8.1.3)
|
||||
bundler (>= 1.15.0)
|
||||
railties (= 8.1.2)
|
||||
railties (= 8.1.3)
|
||||
rails-dom-testing (2.3.0)
|
||||
activesupport (>= 5.0.0)
|
||||
minitest
|
||||
nokogiri (>= 1.6)
|
||||
rails-html-sanitizer (1.6.2)
|
||||
loofah (~> 2.21)
|
||||
rails-html-sanitizer (1.7.0)
|
||||
loofah (~> 2.25)
|
||||
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
||||
rails-i18n (8.1.0)
|
||||
i18n (>= 0.7, < 2)
|
||||
railties (>= 8.0.0, < 9)
|
||||
rails_autolink (1.1.8)
|
||||
actionview (> 3.1)
|
||||
activesupport (> 3.1)
|
||||
railties (> 3.1)
|
||||
railties (8.1.2)
|
||||
actionpack (= 8.1.2)
|
||||
activesupport (= 8.1.2)
|
||||
railties (8.1.3)
|
||||
actionpack (= 8.1.3)
|
||||
activesupport (= 8.1.3)
|
||||
irb (~> 1.13)
|
||||
rackup (>= 1.0.0)
|
||||
rake (>= 12.2)
|
||||
@@ -450,11 +430,11 @@ GEM
|
||||
zeitwerk (~> 2.6)
|
||||
rainbow (3.1.1)
|
||||
rake (13.3.1)
|
||||
rdoc (7.1.0)
|
||||
rdoc (7.2.0)
|
||||
erb
|
||||
psych (>= 4.0.0)
|
||||
tsort
|
||||
redis-client (0.26.4)
|
||||
redis-client (0.28.0)
|
||||
connection_pool
|
||||
regexp_parser (2.11.3)
|
||||
reline (0.6.3)
|
||||
@@ -468,7 +448,7 @@ GEM
|
||||
responders (3.2.0)
|
||||
actionpack (>= 7.0)
|
||||
railties (>= 7.0)
|
||||
retriable (3.1.2)
|
||||
retriable (3.4.1)
|
||||
rexml (3.4.4)
|
||||
rotp (6.3.0)
|
||||
rouge (4.7.0)
|
||||
@@ -481,19 +461,19 @@ GEM
|
||||
rspec-expectations (3.13.5)
|
||||
diff-lcs (>= 1.2.0, < 2.0)
|
||||
rspec-support (~> 3.13.0)
|
||||
rspec-mocks (3.13.7)
|
||||
rspec-mocks (3.13.8)
|
||||
diff-lcs (>= 1.2.0, < 2.0)
|
||||
rspec-support (~> 3.13.0)
|
||||
rspec-rails (8.0.2)
|
||||
rspec-rails (8.0.4)
|
||||
actionpack (>= 7.2)
|
||||
activesupport (>= 7.2)
|
||||
railties (>= 7.2)
|
||||
rspec-core (~> 3.13)
|
||||
rspec-expectations (~> 3.13)
|
||||
rspec-mocks (~> 3.13)
|
||||
rspec-support (~> 3.13)
|
||||
rspec-support (3.13.6)
|
||||
rubocop (1.82.1)
|
||||
rspec-core (>= 3.13.0, < 5.0.0)
|
||||
rspec-expectations (>= 3.13.0, < 5.0.0)
|
||||
rspec-mocks (>= 3.13.0, < 5.0.0)
|
||||
rspec-support (>= 3.13.0, < 5.0.0)
|
||||
rspec-support (3.13.7)
|
||||
rubocop (1.86.0)
|
||||
json (~> 2.3)
|
||||
language_server-protocol (~> 3.17.0.2)
|
||||
lint_roller (~> 1.1.0)
|
||||
@@ -501,10 +481,10 @@ GEM
|
||||
parser (>= 3.3.0.2)
|
||||
rainbow (>= 2.2.2, < 4.0)
|
||||
regexp_parser (>= 2.9.3, < 3.0)
|
||||
rubocop-ast (>= 1.48.0, < 2.0)
|
||||
rubocop-ast (>= 1.49.0, < 2.0)
|
||||
ruby-progressbar (~> 1.7)
|
||||
unicode-display_width (>= 2.4.0, < 4.0)
|
||||
rubocop-ast (1.49.0)
|
||||
rubocop-ast (1.49.1)
|
||||
parser (>= 3.3.7.2)
|
||||
prism (~> 1.7)
|
||||
rubocop-performance (1.26.1)
|
||||
@@ -529,14 +509,14 @@ GEM
|
||||
rubyzip (>= 3.2.2)
|
||||
rubyzip (3.2.2)
|
||||
securerandom (0.4.1)
|
||||
semantic_range (3.1.0)
|
||||
shakapacker (9.5.0)
|
||||
semantic_range (3.1.1)
|
||||
shakapacker (9.7.0)
|
||||
activesupport (>= 5.2)
|
||||
package_json
|
||||
rack-proxy (>= 0.6.1)
|
||||
railties (>= 5.2)
|
||||
semantic_range (>= 2.3.0)
|
||||
sidekiq (8.1.0)
|
||||
sidekiq (8.1.2)
|
||||
connection_pool (>= 3.0.0)
|
||||
json (>= 2.16.0)
|
||||
logger (>= 1.7.0)
|
||||
@@ -554,20 +534,22 @@ GEM
|
||||
simplecov-html (0.13.2)
|
||||
simplecov_json_formatter (0.1.4)
|
||||
smart_properties (1.17.0)
|
||||
sqlite3 (2.9.0)
|
||||
sqlite3 (2.9.2)
|
||||
mini_portile2 (~> 2.8.0)
|
||||
sqlite3 (2.9.0-aarch64-linux-musl)
|
||||
sqlite3 (2.9.0-arm64-darwin)
|
||||
sqlite3 (2.9.0-x86_64-linux-musl)
|
||||
sqlite3 (2.9.2-aarch64-linux-musl)
|
||||
sqlite3 (2.9.2-arm64-darwin)
|
||||
sqlite3 (2.9.2-x86_64-linux-musl)
|
||||
stringio (3.2.0)
|
||||
strip_attributes (2.0.1)
|
||||
activemodel (>= 3.0, < 9.0)
|
||||
strscan (3.1.7)
|
||||
strscan (3.1.8)
|
||||
thor (1.5.0)
|
||||
timeout (0.6.0)
|
||||
timeout (0.6.1)
|
||||
trailblazer-option (0.1.2)
|
||||
trilogy (2.12.2)
|
||||
bigdecimal
|
||||
tsort (0.2.0)
|
||||
turbo-rails (2.0.21)
|
||||
turbo-rails (2.0.23)
|
||||
actionpack (>= 7.1.0)
|
||||
railties (>= 7.1.0)
|
||||
twitter_cldr (6.14.0)
|
||||
@@ -577,7 +559,7 @@ GEM
|
||||
tzinfo
|
||||
tzinfo (2.0.6)
|
||||
concurrent-ruby (~> 1.0)
|
||||
tzinfo-data (1.2025.3)
|
||||
tzinfo-data (1.2026.1)
|
||||
tzinfo (>= 1.0.0)
|
||||
uber (0.1.0)
|
||||
unicode-display_width (3.2.0)
|
||||
@@ -588,12 +570,11 @@ GEM
|
||||
useragent (0.16.11)
|
||||
warden (1.2.9)
|
||||
rack (>= 2.0.9)
|
||||
web-console (4.2.1)
|
||||
actionview (>= 6.0.0)
|
||||
activemodel (>= 6.0.0)
|
||||
web-console (4.3.0)
|
||||
actionview (>= 8.0.0)
|
||||
bindex (>= 0.4.0)
|
||||
railties (>= 6.0.0)
|
||||
webmock (3.26.1)
|
||||
railties (>= 8.0.0)
|
||||
webmock (3.26.2)
|
||||
addressable (>= 2.8.0)
|
||||
crack (>= 0.3.2)
|
||||
hashdiff (>= 0.4.0, < 2.0.0)
|
||||
@@ -605,7 +586,7 @@ GEM
|
||||
xpath (3.2.0)
|
||||
nokogiri (~> 1.8)
|
||||
yaml (0.4.0)
|
||||
zeitwerk (2.7.4)
|
||||
zeitwerk (2.7.5)
|
||||
|
||||
PLATFORMS
|
||||
aarch64-linux-musl
|
||||
@@ -614,6 +595,7 @@ PLATFORMS
|
||||
x86_64-linux-musl
|
||||
|
||||
DEPENDENCIES
|
||||
addressable
|
||||
annotaterb
|
||||
arabic-letter-connector
|
||||
aws-sdk-s3
|
||||
@@ -650,14 +632,12 @@ DEPENDENCIES
|
||||
onnxruntime
|
||||
pagy
|
||||
pg
|
||||
premailer-rails
|
||||
pretender
|
||||
pry-rails
|
||||
puma
|
||||
rack
|
||||
rails
|
||||
rails-i18n
|
||||
rails_autolink
|
||||
rotp
|
||||
rouge
|
||||
rqrcode
|
||||
@@ -673,7 +653,7 @@ DEPENDENCIES
|
||||
simplecov
|
||||
sqlite3
|
||||
strip_attributes
|
||||
trilogy!
|
||||
trilogy
|
||||
turbo-rails
|
||||
twitter_cldr
|
||||
tzinfo-data
|
||||
@@ -681,4 +661,4 @@ DEPENDENCIES
|
||||
webmock
|
||||
|
||||
BUNDLED WITH
|
||||
2.6.9
|
||||
2.7.2
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -16,7 +16,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "docuseal";
|
||||
version = "2.3.4";
|
||||
version = "2.4.4";
|
||||
|
||||
bundler = bundler.override { ruby = ruby_3_4; };
|
||||
|
||||
@@ -24,17 +24,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
owner = "docusealco";
|
||||
repo = "docuseal";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-JKV0xAtEbGETprC5zYEcmCVcUFrW4h/+lbYayzWefKs=";
|
||||
hash = "sha256-GjWR0jxVRTs5KNbFDEcgCbG/HTJlJGYpbKf8+0YBSmk=";
|
||||
# https://github.com/docusealco/docuseal/issues/505#issuecomment-3153802333
|
||||
postFetch = "rm $out/db/schema.rb";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Drop setxid calls in non-root mode (fails under strict seccomp).
|
||||
# https://github.com/docusealco/docuseal/pull/593
|
||||
./only-switch-uid-when-root.patch
|
||||
];
|
||||
|
||||
rubyEnv = bundlerEnv {
|
||||
name = "docuseal-gems";
|
||||
ruby = ruby_3_4;
|
||||
@@ -52,7 +46,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
offlineCache = fetchYarnDeps {
|
||||
inherit (finalAttrs) src;
|
||||
hash = "sha256-AvdaSIXO31t15wWysTvFISqmKCAi1Q8CJgO0J2DqM6M=";
|
||||
hash = "sha256-62nI/QUzlpI1VyZ6PWPz2kSp4S2GUIQDaf4jUwzyj24=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"version": "1.5.1",
|
||||
"rev": "7dbb2e646fea939a89f10a55aa98c474cbb0c098",
|
||||
"hash": "sha256-FygBpfhvezvUbI969Dta+vZOPt6BnSW2d5gO4I4oB2A=",
|
||||
"python_hash": "sha256-ZB+Zcxg5VjBzfTkQk7TxoP9pw+hvOXpB2qqnqqmjhxM="
|
||||
"version": "1.5.2",
|
||||
"rev": "8a5851971fae891f292c2714d86046ee018e9737",
|
||||
"hash": "sha256-FWoVF7s/n28NN1HtnO0Cr3YyoIDgJcWBtBiO7vWiSOU=",
|
||||
"python_hash": "sha256-B14dXW5pPnToiKbSD9ACzNksIhBG+ui1P9l67Qyke8o="
|
||||
}
|
||||
|
||||
@@ -7,14 +7,14 @@
|
||||
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "flexget";
|
||||
version = "3.19.10";
|
||||
version = "3.19.12";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Flexget";
|
||||
repo = "Flexget";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-G0Scv6XHjpxp5V0Ep+4itu+SmO/8jhR6LHvG/9scIPY=";
|
||||
hash = "sha256-BSXIC85iRVtSx1TB8yB2EassXfnlEqDpTX17+c1VauQ=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = true;
|
||||
|
||||
@@ -35,7 +35,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = lib.optionalString stdenv.cc.isClang ''
|
||||
# This test assumes that our implementation of sort behaves identically to the
|
||||
# one used during development, which is not necessarily the case; update the
|
||||
# expected result to be sorted using our copy of sort.
|
||||
postPatch = ''
|
||||
sort testsuite/0008PolynomialSetUnion/output -o testsuite/0008PolynomialSetUnion/output
|
||||
sort testsuite/0008PolynomialSetUnion/outputNew -o testsuite/0008PolynomialSetUnion/outputNew
|
||||
''
|
||||
+ lib.optionalString stdenv.cc.isClang ''
|
||||
substituteInPlace Makefile --replace "-fno-guess-branch-probability" ""
|
||||
|
||||
for f in $(find -name "*.h" -or -name "*.cpp"); do
|
||||
@@ -53,6 +60,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
mpir
|
||||
cddlib
|
||||
];
|
||||
hardeningDisable = [ "libcxxhardeningfast" ];
|
||||
|
||||
doCheck = true;
|
||||
# The test runner still exits successfully when there are failed tests, so check
|
||||
# stdout to see if anything failed.
|
||||
checkPhase = ''
|
||||
make check | tee "$TMPDIR/test.log"
|
||||
! grep -q "Failed tests:" "$TMPDIR/test.log"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Software package for computing Gröbner fans and tropical varieties";
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
callPackage,
|
||||
buildPackages,
|
||||
autoreconfHook,
|
||||
gitUpdater,
|
||||
texinfo,
|
||||
@@ -11,8 +11,8 @@
|
||||
}:
|
||||
|
||||
let
|
||||
swig = callPackage ./swig.nix { };
|
||||
bootForth = callPackage ./boot-forth.nix { };
|
||||
swig = buildPackages.callPackage ./swig.nix { };
|
||||
bootForth = buildPackages.callPackage ./boot-forth.nix { };
|
||||
lispDir = "${placeholder "out"}/share/emacs/site-lisp";
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -32,9 +32,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
writableTmpDirAsHomeHook
|
||||
autoreconfHook
|
||||
texinfo
|
||||
bootForth
|
||||
swig
|
||||
];
|
||||
]
|
||||
++ (
|
||||
if (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) then
|
||||
[ buildPackages.gforth ]
|
||||
else
|
||||
[ bootForth ]
|
||||
);
|
||||
|
||||
buildInputs = [
|
||||
libffi
|
||||
@@ -47,12 +52,41 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
]
|
||||
++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
|
||||
"--build=x86_64-apple-darwin"
|
||||
]
|
||||
++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
|
||||
# Tries to run ./engine/gforth-ll
|
||||
"--without-check"
|
||||
# Use build-platform CC for helper programs that must run during build
|
||||
"HOSTCC=${buildPackages.stdenv.cc}/bin/cc"
|
||||
# Tell gforth's libcc where to find the cross compiler
|
||||
"CROSS_PREFIX=${stdenv.hostPlatform.config}-"
|
||||
];
|
||||
|
||||
env = lib.optionalAttrs (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) {
|
||||
# Tell gforth's libcc to prefix compiler commands with the cross-compilation target
|
||||
CROSS_PREFIX = "${stdenv.hostPlatform.config}-";
|
||||
};
|
||||
|
||||
makeFlags = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||
"DITCENGINE=${buildPackages.gforth}/bin/gforth-ditc"
|
||||
"GFORTH=${buildPackages.gforth}/bin/gforth"
|
||||
"ENGINE=${buildPackages.gforth}/bin/gforth" # for ./preforth
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
mkdir -p ${lispDir}
|
||||
'';
|
||||
|
||||
postConfigure = lib.optionalString (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||
# Put the project-local (cross-aware) libtool first in PATH
|
||||
mkdir -p .cross-bin
|
||||
ln -sf "$PWD/libtool" .cross-bin/libtool
|
||||
ln -sf "$PWD/libtool" ".cross-bin/${stdenv.hostPlatform.config}-libtool"
|
||||
export PATH="$PWD/.cross-bin:$PATH"
|
||||
# Remove 'check' from the default 'all' target (can't run cross binaries)
|
||||
sed -i 's/^\(all:.*\) check/\1/' Makefile
|
||||
'';
|
||||
|
||||
passthru.updateScript = gitUpdater { };
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -6,17 +6,17 @@
|
||||
|
||||
buildGo126Module (finalAttrs: {
|
||||
pname = "gitea-mcp-server";
|
||||
version = "1.0.1";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "gitea.com";
|
||||
owner = "gitea";
|
||||
repo = "gitea-mcp";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-B7uB69YsQd8EeENrezFK7kFXha21XValjEAYRjeYreo=";
|
||||
hash = "sha256-weJcl9Vp7mhPiaui7VGETs5t4trUDTegDoUR8gRTGIs=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-xfhvbTcniRnkv81MIEnoy36up8O2IZ1WUrhYJrhtZ3k=";
|
||||
vendorHash = "sha256-35zVDzivvO3tSi1RYvXJoLvrlvnp3JCzwC5FqDEj91M=";
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
|
||||
@@ -9,15 +9,15 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "goperf";
|
||||
version = "0-unstable-2026-03-11";
|
||||
version = "0-unstable-2026-04-09";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://go.googlesource.com/perf";
|
||||
rev = "16a31bc5fbd0f58f2e8e2a496d8e035bdc4a2e06";
|
||||
hash = "sha256-be0vWFJUXTPWKapd+rX3Stnzra9LUGNEw+4P+fWzjyk=";
|
||||
rev = "8e83ce0f7b1c6c5d6eab4763f10b9322cbe4cecb";
|
||||
hash = "sha256-JIR+ytMsZaiQ5w4vTmLG4JHg6tz3/sAs24C3m5//hy4=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-oBSd0D66BGfanCADtrpyIoUit8c+yHk8Nm6o2GmKoZg=";
|
||||
vendorHash = "sha256-5WnH49NE1OUaTFuan3DZYhm0uJxIf7i5pgXK1PuqhA0=";
|
||||
|
||||
passthru.updateScript = writeShellScript "update-goperf" ''
|
||||
export UPDATE_NIX_ATTR_PATH=goperf
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
copyDesktopItems,
|
||||
desktopToDarwinBundle,
|
||||
jdk,
|
||||
jdk17,
|
||||
jdk25,
|
||||
hmclJdk ? jdk.override {
|
||||
# Required by jar file
|
||||
enableJavaFX = true;
|
||||
@@ -21,13 +21,14 @@
|
||||
},
|
||||
minecraftJdks ? [
|
||||
hmclJdk
|
||||
jdk17
|
||||
jdk25
|
||||
],
|
||||
libxxf86vm,
|
||||
libxtst,
|
||||
libxrandr,
|
||||
libxext,
|
||||
libxcursor,
|
||||
libxkbcommon,
|
||||
libx11,
|
||||
xrandr,
|
||||
glib,
|
||||
@@ -152,6 +153,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
libxxf86vm
|
||||
libxext
|
||||
libxcursor
|
||||
libxkbcommon
|
||||
libxrandr
|
||||
libxtst
|
||||
libpulseaudio
|
||||
@@ -192,7 +194,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
lib.makeBinPath (minecraftJdks ++ lib.optional stdenv.hostPlatform.isLinux xrandr)
|
||||
}" \
|
||||
--run 'cd $HOME' \
|
||||
${lib.optionalString stdenv.hostPlatform.isLinux ''--prefix JAVA_TOOL_OPTIONS " " "-Dorg.lwjgl.glfw.libname=${lib.getLib glfw3'}/lib/libglfw.so"''} \
|
||||
''${gappsWrapperArgs[@]}
|
||||
'';
|
||||
|
||||
@@ -212,6 +213,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
Hello Minecraft! Launcher (HMCL) is a free, open-source, and cross-platform Minecraft launcher.
|
||||
It provides comprehensive support for managing multiple game versions and mod loaders,
|
||||
including Forge, NeoForge, Fabric, Quilt, LiteLoader, and OptiFine.
|
||||
|
||||
Starting with Minecraft 26.1, Wayland support can be enabled
|
||||
by adding the JDK arguments -DMC_DEBUG_ENABLED and
|
||||
-DMC_DEBUG_PREFER_WAYLAND. If needed, configure them in
|
||||
HMCL -> Advanced Settings -> JVM Options -> JVM Arguments.
|
||||
|
||||
Users who are still on an older version and want to use Wayland should
|
||||
enable HMCL -> Advanced Settings -> Workaround -> Use System GLFW.
|
||||
Otherwise, keep it disabled.
|
||||
'';
|
||||
maintainers = with lib.maintainers; [
|
||||
daru-san
|
||||
|
||||
82
pkgs/by-name/in/interstellar/emoji_builder.patch
Normal file
82
pkgs/by-name/in/interstellar/emoji_builder.patch
Normal file
@@ -0,0 +1,82 @@
|
||||
--- a/lib/src/widgets/emoji_picker/emoji_builder.dart
|
||||
+++ b/lib/src/widgets/emoji_picker/emoji_builder.dart
|
||||
@@ -1,7 +1,7 @@
|
||||
import 'dart:convert';
|
||||
+import 'dart:io';
|
||||
|
||||
import 'package:build/build.dart';
|
||||
-import 'package:http/http.dart' as http;
|
||||
import 'package:interstellar/src/utils/trie.dart';
|
||||
|
||||
Builder emojiBuilder(BuilderOptions options) =>
|
||||
@@ -29,15 +29,9 @@
|
||||
};
|
||||
|
||||
Future<String> _generateContent() async {
|
||||
- final dataResponse = await http.get(
|
||||
- Uri.parse('$_sourcePrefix/compact.raw.json'),
|
||||
- );
|
||||
- final dataJson = jsonDecode(dataResponse.body);
|
||||
+ final dataJson = jsonDecode(await File('@compact.raw.json@').readAsString()) as List;
|
||||
|
||||
- final messagesResponse = await http.get(
|
||||
- Uri.parse('$_sourcePrefix/messages.raw.json'),
|
||||
- );
|
||||
- final messagesJson = jsonDecode(messagesResponse.body);
|
||||
+ final messagesJson = jsonDecode(await File('@messages.raw.json@').readAsString()) as Map<String, dynamic>;
|
||||
|
||||
final s = StringBuffer()
|
||||
..write('''
|
||||
@@ -53,8 +47,9 @@
|
||||
|
||||
final emojiGroups = <String>[];
|
||||
|
||||
- for (var i = 0; i < (messagesJson['groups'] as List).length; i++) {
|
||||
- final group = messagesJson['groups'][i];
|
||||
+ final groups = messagesJson['groups'] as List;
|
||||
+ for (var i = 0; i < groups.length; i++) {
|
||||
+ final group = groups[i] as Map<String, dynamic>;
|
||||
|
||||
assert(group['order'] == i, 'Emoji group order value should match index');
|
||||
|
||||
@@ -61,4 +56,4 @@
|
||||
- emojiGroups.add(group['message']);
|
||||
+ emojiGroups.add(group['message'] as String);
|
||||
}
|
||||
|
||||
s
|
||||
@@ -72,7 +67,8 @@
|
||||
|
||||
{
|
||||
var i = 0;
|
||||
- for (final emoji in dataJson) {
|
||||
+ for (final emojiItem in dataJson) {
|
||||
+ final emoji = emojiItem as Map<String, dynamic>;
|
||||
if (emoji['group'] == null || emoji['order'] == null) continue;
|
||||
|
||||
assert(emoji['order'] == i + 1, 'Emoji order value should match index');
|
||||
@@ -84,9 +80,9 @@
|
||||
: emoji['emoticon']),
|
||||
];
|
||||
|
||||
- trie.addChild(Trie.normalizeTerm(emoji['label']), {i});
|
||||
+ trie.addChild(Trie.normalizeTerm(emoji['label'] as String), {i});
|
||||
for (final tag in tags) {
|
||||
- trie.addChild(Trie.normalizeTerm(tag), {i});
|
||||
+ trie.addChild(Trie.normalizeTerm(tag as String), {i});
|
||||
}
|
||||
|
||||
s
|
||||
@@ -93,9 +89,9 @@
|
||||
..write('const Emoji("')
|
||||
- ..write(emoji['unicode'])
|
||||
+ ..write(emoji['unicode'] as String)
|
||||
..write('","')
|
||||
- ..write(emoji['label'])
|
||||
+ ..write(emoji['label'] as String)
|
||||
..write('",')
|
||||
- ..write(emoji['group'])
|
||||
+ ..write(emoji['group'].toString())
|
||||
..write('),\n');
|
||||
|
||||
i++;
|
||||
@@ -1,3 +1,4 @@
|
||||
{
|
||||
"flutter_web_auth_2": "sha256-x3SVeFIYS+UtyNKr4ohq4dvktCgS6nECGrb2vMg9aZc=",
|
||||
"webcrypto": "sha256-HX8CcCRbDlVMLMbKGnqKlrkMT9XITLbQE/2OW9zO72w="
|
||||
}
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
{
|
||||
lib,
|
||||
flutter338,
|
||||
flutter341,
|
||||
fetchFromGitHub,
|
||||
fetchurl,
|
||||
imagemagick,
|
||||
alsa-lib,
|
||||
libass,
|
||||
@@ -13,25 +14,42 @@
|
||||
dart,
|
||||
}:
|
||||
|
||||
let
|
||||
flutter341.buildFlutterApplication (finalAttrs: {
|
||||
pname = "interstellar";
|
||||
|
||||
version = "0.11.1";
|
||||
version = "0.11.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "interstellar-app";
|
||||
repo = "interstellar";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-ZhZBy/KECz/Gs3RSuuXmTtI5pKPBMFQNG/kS8JvEaFc=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-WprvuIN7yS5yLR4eUF/M9yG25ZU1Sf1I1myujclF4oM=";
|
||||
};
|
||||
in
|
||||
flutter338.buildFlutterApplication {
|
||||
inherit pname version src;
|
||||
|
||||
pubspecLock = lib.importJSON ./pubspec.lock.json;
|
||||
|
||||
gitHashes = lib.importJSON ./git-hashes.json;
|
||||
|
||||
patches = [ ./emoji_builder.patch ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace lib/src/widgets/emoji_picker/emoji_builder.dart \
|
||||
--replace-fail "@compact.raw.json@" "${
|
||||
fetchurl {
|
||||
url = "https://raw.githubusercontent.com/milesj/emojibase/a5fc630a91ca42cddf3f4a66492965600fd3bce8/packages/data/en/compact.raw.json";
|
||||
hash = "sha256-OivCYjiBEooRx3zni9jAr3lR0rzpoa3HX2l/a0UwDpE=";
|
||||
}
|
||||
}" \
|
||||
--replace-fail "@messages.raw.json@" "${
|
||||
fetchurl {
|
||||
url = "https://raw.githubusercontent.com/milesj/emojibase/a5fc630a91ca42cddf3f4a66492965600fd3bce8/packages/data/en/messages.raw.json";
|
||||
hash = "sha256-ZQWXZJ5jXxDNQHaOAsxApAt6oanvaEwZ6VXbDA0YeMs=";
|
||||
}
|
||||
}"
|
||||
substituteInPlace lib/src/controller/database/database.dart \
|
||||
--replace-fail "const Color.from(alpha: 1, red: 1, green: 1, blue: 1).value32bit" "0xFFFFFFFF" \
|
||||
--replace-fail "const Color.from(alpha: 1, red: 0, green: 0, blue: 0).value32bit" "0xFF000000"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ imagemagick ];
|
||||
|
||||
buildInputs = [
|
||||
@@ -54,14 +72,14 @@ flutter338.buildFlutterApplication {
|
||||
'';
|
||||
|
||||
extraWrapProgramArgs = ''
|
||||
--prefix LD_LIBRARY_PATH : $out/app/${pname}/lib
|
||||
--prefix LD_LIBRARY_PATH : $out/app/${finalAttrs.pname}/lib
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
pubspecSource =
|
||||
runCommand "pubspec.lock.json"
|
||||
{
|
||||
inherit src;
|
||||
inherit (finalAttrs) src;
|
||||
nativeBuildInputs = [ yq-go ];
|
||||
}
|
||||
''
|
||||
@@ -96,4 +114,4 @@ flutter338.buildFlutterApplication {
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ JollyDevelopment ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -4,21 +4,31 @@
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "_fe_analyzer_shared",
|
||||
"sha256": "f0bb5d1648339c8308cc0b9838d8456b3cfe5c91f9dc1a735b4d003269e5da9a",
|
||||
"sha256": "5b7468c326d2f8a4f630056404ca0d291ade42918f4a3c6233618e724f39da8e",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "88.0.0"
|
||||
"version": "92.0.0"
|
||||
},
|
||||
"analyzer": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "analyzer",
|
||||
"sha256": "0b7b9c329d2879f8f05d6c05b32ee9ec025f39b077864bdb5ac9a7b63418a98f",
|
||||
"sha256": "70e4b1ef8003c64793a9e268a551a82869a8a96f39deb73dea28084b0e8bf75e",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "8.1.1"
|
||||
"version": "9.0.0"
|
||||
},
|
||||
"ansicolor": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "ansicolor",
|
||||
"sha256": "50e982d500bc863e1d703448afdbf9e5a72eb48840a4f766fa361ffd6877055f",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.0.3"
|
||||
},
|
||||
"any_link_preview": {
|
||||
"dependency": "direct main",
|
||||
@@ -60,15 +70,25 @@
|
||||
"source": "hosted",
|
||||
"version": "2.13.0"
|
||||
},
|
||||
"blurhash_ffi": {
|
||||
"auto_route": {
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
"name": "blurhash_ffi",
|
||||
"sha256": "9811937f2e568aedb5630c9d901323c236414e3e882050fdf25bc42f7431d7bb",
|
||||
"name": "auto_route",
|
||||
"sha256": "e9acfeb3df33d188fce4ad0239ef4238f333b7aa4d95ec52af3c2b9360dcd969",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.2.7"
|
||||
"version": "11.1.0"
|
||||
},
|
||||
"auto_route_generator": {
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
"name": "auto_route_generator",
|
||||
"sha256": "04300eaf5821962aae8b5cd94f67013fd2fd326dc3be212d3ec1ae7470f09834",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "10.4.0"
|
||||
},
|
||||
"boolean_selector": {
|
||||
"dependency": "transitive",
|
||||
@@ -81,14 +101,14 @@
|
||||
"version": "2.1.2"
|
||||
},
|
||||
"build": {
|
||||
"dependency": "transitive",
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
"name": "build",
|
||||
"sha256": "5b887c55a0f734b433b3b2d89f9cd1f99eb636b17e268a5b4259258bc916504b",
|
||||
"sha256": "275bf6bb2a00a9852c28d4e0b410da1d833a734d57d39d44f94bfc895a484ec3",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "4.0.0"
|
||||
"version": "4.0.4"
|
||||
},
|
||||
"build_config": {
|
||||
"dependency": "transitive",
|
||||
@@ -111,14 +131,14 @@
|
||||
"version": "4.0.4"
|
||||
},
|
||||
"build_runner": {
|
||||
"dependency": "direct dev",
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
"name": "build_runner",
|
||||
"sha256": "804c47c936df75e1911c19a4fb8c46fa8ff2b3099b9f2b2aa4726af3774f734b",
|
||||
"sha256": "b4d854962a32fd9f8efc0b76f98214790b833af8b2e9b2df6bfc927c0415a072",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.8.0"
|
||||
"version": "2.10.5"
|
||||
},
|
||||
"built_collection": {
|
||||
"dependency": "transitive",
|
||||
@@ -264,11 +284,11 @@
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "dart_style",
|
||||
"sha256": "c87dfe3d56f183ffe9106a18aebc6db431fc7c98c31a54b952a77f3d54a85697",
|
||||
"sha256": "a9c30492da18ff84efe2422ba2d319a89942d93e58eb0b73d32abe822ef54b7b",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "3.1.2"
|
||||
"version": "3.1.3"
|
||||
},
|
||||
"db_viewer": {
|
||||
"dependency": "transitive",
|
||||
@@ -294,11 +314,11 @@
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
"name": "drift",
|
||||
"sha256": "540cf382a3bfa99b76e51514db5b0ebcd81ce3679b7c1c9cb9478ff3735e47a1",
|
||||
"sha256": "5ea2f718558c0b31d4b8c36a3d8e5b7016f1265f46ceb5a5920e16117f0c0d6a",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.28.2"
|
||||
"version": "2.30.1"
|
||||
},
|
||||
"drift_db_viewer": {
|
||||
"dependency": "direct main",
|
||||
@@ -311,14 +331,14 @@
|
||||
"version": "2.1.0"
|
||||
},
|
||||
"drift_dev": {
|
||||
"dependency": "direct dev",
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
"name": "drift_dev",
|
||||
"sha256": "4db0eeedc7e8bed117a9f22d867ab7a3a294300fed5c269aac90d0b3545967ca",
|
||||
"sha256": "892dfb5d69d9e604bdcd102a9376de8b41768cf7be93fd26b63cfc4d8f91ad5f",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.28.3"
|
||||
"version": "2.30.1"
|
||||
},
|
||||
"drift_flutter": {
|
||||
"dependency": "direct main",
|
||||
@@ -486,6 +506,16 @@
|
||||
"source": "sdk",
|
||||
"version": "0.0.0"
|
||||
},
|
||||
"flutter_blurhash": {
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
"name": "flutter_blurhash",
|
||||
"sha256": "e97b9aff13b9930bbaa74d0d899fec76e3f320aba3190322dcc5d32104e3d25d",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "0.9.1"
|
||||
},
|
||||
"flutter_colorpicker": {
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
@@ -497,7 +527,7 @@
|
||||
"version": "1.1.0"
|
||||
},
|
||||
"flutter_launcher_icons": {
|
||||
"dependency": "direct dev",
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
"name": "flutter_launcher_icons",
|
||||
"sha256": "10f13781741a2e3972126fae08393d3c4e01fa4cd7473326b94b72cf594195e7",
|
||||
@@ -506,16 +536,6 @@
|
||||
"source": "hosted",
|
||||
"version": "0.14.4"
|
||||
},
|
||||
"flutter_lints": {
|
||||
"dependency": "direct dev",
|
||||
"description": {
|
||||
"name": "flutter_lints",
|
||||
"sha256": "3105dc8492f6183fb076ccf1f351ac3d60564bff92e20bfc4af9cc1651f4e7e1",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "6.0.0"
|
||||
},
|
||||
"flutter_local_notifications": {
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
@@ -618,6 +638,27 @@
|
||||
"source": "sdk",
|
||||
"version": "0.0.0"
|
||||
},
|
||||
"flutter_web_auth_2": {
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
"path": "flutter_web_auth_2",
|
||||
"ref": "b1af971b79160979320a4865e238dcaacf69b624",
|
||||
"resolved-ref": "b1af971b79160979320a4865e238dcaacf69b624",
|
||||
"url": "https://github.com/interstellar-app/flutter_web_auth_2.git"
|
||||
},
|
||||
"source": "git",
|
||||
"version": "5.0.1"
|
||||
},
|
||||
"flutter_web_auth_2_platform_interface": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "flutter_web_auth_2_platform_interface",
|
||||
"sha256": "ba0fbba55bffb47242025f96852ad1ffba34bc451568f56ef36e613612baffab",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "5.0.0"
|
||||
},
|
||||
"flutter_web_plugins": {
|
||||
"dependency": "transitive",
|
||||
"description": "flutter",
|
||||
@@ -625,14 +666,14 @@
|
||||
"version": "0.0.0"
|
||||
},
|
||||
"freezed": {
|
||||
"dependency": "direct dev",
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
"name": "freezed",
|
||||
"sha256": "13065f10e135263a4f5a4391b79a8efc5fb8106f8dd555a9e49b750b45393d77",
|
||||
"sha256": "03dd9b7423ff0e31b7e01b2204593e5e1ac5ee553b6ea9d8184dff4a26b9fb07",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "3.2.3"
|
||||
"version": "3.2.4"
|
||||
},
|
||||
"freezed_annotation": {
|
||||
"dependency": "direct main",
|
||||
@@ -674,6 +715,16 @@
|
||||
"source": "hosted",
|
||||
"version": "2.3.2"
|
||||
},
|
||||
"hotreloader": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "hotreloader",
|
||||
"sha256": "bc167a1163807b03bada490bfe2df25b0d744df359227880220a5cbd04e5734b",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "4.3.0"
|
||||
},
|
||||
"html": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
@@ -865,14 +916,14 @@
|
||||
"version": "4.9.0"
|
||||
},
|
||||
"json_serializable": {
|
||||
"dependency": "direct dev",
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
"name": "json_serializable",
|
||||
"sha256": "33a040668b31b320aafa4822b7b1e177e163fc3c1e835c6750319d4ab23aa6fe",
|
||||
"sha256": "5b89c1e32ae3840bb20a1b3434e3a590173ad3cb605896fb0f60487ce2f8104e",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "6.11.1"
|
||||
"version": "6.11.4"
|
||||
},
|
||||
"leak_tracker": {
|
||||
"dependency": "transitive",
|
||||
@@ -904,15 +955,15 @@
|
||||
"source": "hosted",
|
||||
"version": "3.0.2"
|
||||
},
|
||||
"lints": {
|
||||
"lean_builder": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "lints",
|
||||
"sha256": "a5e2b223cb7c9c8efdc663ef484fdd95bb243bff242ef5b13e26883547fce9a0",
|
||||
"name": "lean_builder",
|
||||
"sha256": "4f3d70c34c52cc5034e8cc6f53d35aa3a32fb373b78fb4c29cf45cd1dcf06942",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "6.0.0"
|
||||
"version": "0.1.5"
|
||||
},
|
||||
"logger": {
|
||||
"dependency": "direct main",
|
||||
@@ -1514,21 +1565,21 @@
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "source_gen",
|
||||
"sha256": "ccf30b0c9fbcd79d8b6f5bfac23199fb354938436f62475e14aea0f29ee0f800",
|
||||
"sha256": "1d562a3c1f713904ebbed50d2760217fd8a51ca170ac4b05b0db490699dbac17",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "4.0.1"
|
||||
"version": "4.2.0"
|
||||
},
|
||||
"source_helper": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "source_helper",
|
||||
"sha256": "6a3c6cc82073a8797f8c4dc4572146114a39652851c157db37e964d9c7038723",
|
||||
"sha256": "4a85e90b50694e652075cbe4575665539d253e6ec10e46e76b45368ab5e3caae",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.3.8"
|
||||
"version": "1.3.10"
|
||||
},
|
||||
"source_span": {
|
||||
"dependency": "transitive",
|
||||
@@ -1574,11 +1625,11 @@
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "sqlparser",
|
||||
"sha256": "57090342af1ce32bb499aa641f4ecdd2d6231b9403cea537ac059e803cc20d67",
|
||||
"sha256": "f52f5d5649dcc13ed198c4176ddef74bf6851c30f4f31603f1b37788695b93e2",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "0.41.2"
|
||||
"version": "0.43.0"
|
||||
},
|
||||
"stack_trace": {
|
||||
"dependency": "transitive",
|
||||
@@ -1870,6 +1921,16 @@
|
||||
"source": "hosted",
|
||||
"version": "2.2.0"
|
||||
},
|
||||
"very_good_analysis": {
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
"name": "very_good_analysis",
|
||||
"sha256": "96245839dbcc45dfab1af5fa551603b5c7a282028a64746c19c547d21a7f1e3a",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "10.0.0"
|
||||
},
|
||||
"visibility_detector": {
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
@@ -1914,11 +1975,11 @@
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "watcher",
|
||||
"sha256": "5bf046f41320ac97a469d506261797f35254fa61c641741ef32dacda98b7d39c",
|
||||
"sha256": "f52385d4f73589977c80797e60fe51014f7f2b957b5e9a62c3f6ada439889249",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.1.3"
|
||||
"version": "1.2.0"
|
||||
},
|
||||
"web": {
|
||||
"dependency": "transitive",
|
||||
@@ -2031,6 +2092,16 @@
|
||||
"source": "hosted",
|
||||
"version": "0.5.1"
|
||||
},
|
||||
"window_to_front": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "window_to_front",
|
||||
"sha256": "7aef379752b7190c10479e12b5fd7c0b9d92adc96817d9e96c59937929512aee",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "0.0.3"
|
||||
},
|
||||
"xdg_directories": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
@@ -2051,6 +2122,16 @@
|
||||
"source": "hosted",
|
||||
"version": "6.6.1"
|
||||
},
|
||||
"xxh3": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "xxh3",
|
||||
"sha256": "399a0438f5d426785723c99da6b16e136f4953fb1e9db0bf270bd41dd4619916",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.2.0"
|
||||
},
|
||||
"yaml": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
@@ -2074,6 +2155,6 @@
|
||||
},
|
||||
"sdks": {
|
||||
"dart": ">=3.9.0 <4.0.0",
|
||||
"flutter": "3.38.5"
|
||||
"flutter": "3.38.9"
|
||||
}
|
||||
}
|
||||
|
||||
42
pkgs/by-name/ls/lstk/package.nix
Normal file
42
pkgs/by-name/ls/lstk/package.nix
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
fetchFromGitHub,
|
||||
buildGoModule,
|
||||
lib,
|
||||
nix-update-script,
|
||||
}:
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "lstk";
|
||||
version = "0.5.7";
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "localstack";
|
||||
repo = "lstk";
|
||||
tag = "v${finalAttrs.version}";
|
||||
sha256 = "sha256-HWkCDnbg/D2zX3rdvmFTdKrx03SO6FaiA/Pzj0f4hlA=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-rEcVtSFnBQ+3bbU5pjbCXEJZo89+lL/1HJG9bCn8OSE=";
|
||||
|
||||
excludedPackages = "test/integration";
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Command line interface for LocalStack";
|
||||
mainProgram = "lstk";
|
||||
homepage = "https://github.com/localstack/lstk";
|
||||
changelog = "https://github.com/localstack/lstk/releases/tag/v${finalAttrs.version}";
|
||||
longDescription = ''
|
||||
lstk is a command-line interface for LocalStack built in Go with a modern
|
||||
terminal Ul, and native CLI experience for managing and interacting with
|
||||
LocalStack deployments.
|
||||
'';
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ purcell ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
cmake,
|
||||
copyDesktopItems,
|
||||
deutex,
|
||||
python3,
|
||||
makeDesktopItem,
|
||||
makeWrapper,
|
||||
pkg-config,
|
||||
@@ -18,7 +18,7 @@
|
||||
cpptrace,
|
||||
curl,
|
||||
expat,
|
||||
fltk,
|
||||
fltk_1_4,
|
||||
libdwarf,
|
||||
libselinux,
|
||||
libsepol,
|
||||
@@ -43,20 +43,20 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "odamex";
|
||||
version = "12.1.0";
|
||||
version = "12.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "odamex";
|
||||
repo = "odamex";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-kLI1gdGH5NXJ8YI1tR0N5W6yvGZ+7302z0QLl2j+b0k=";
|
||||
hash = "sha256-cRQtY4C0gjzheE4cG8aPjzAoPf/Hm05a6tidsbce7uM=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
copyDesktopItems
|
||||
deutex
|
||||
python3
|
||||
makeWrapper
|
||||
pkg-config
|
||||
]
|
||||
@@ -71,7 +71,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
cpptrace
|
||||
curl
|
||||
expat
|
||||
fltk
|
||||
fltk_1_4
|
||||
libdwarf
|
||||
libsysprof-capture
|
||||
pcre2
|
||||
@@ -191,7 +191,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
changelog = "https://github.com/odamex/odamex/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.gpl2Only;
|
||||
platforms = lib.platforms.unix;
|
||||
broken = stdenv.hostPlatform.isDarwin;
|
||||
maintainers = with lib.maintainers; [ eljamm ];
|
||||
mainProgram = "odalaunch";
|
||||
};
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
ripgrep,
|
||||
rustPlatform,
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
__structuredAttrs = true;
|
||||
@@ -31,12 +32,18 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
doInstallCheck = true;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Find lines across files by regex and edit them all at once with your $EDITOR";
|
||||
homepage = "https://github.com/nk9/okapi";
|
||||
changelog = "https://github.com/nk9/okapi/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.asl20;
|
||||
mainProgram = "okapi";
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ toelke ];
|
||||
maintainers = with lib.maintainers; [
|
||||
toelke
|
||||
nadir-ishiguro
|
||||
];
|
||||
};
|
||||
})
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
stdenv,
|
||||
addDriverRunpath,
|
||||
nix-update-script,
|
||||
coreutils,
|
||||
|
||||
cmake,
|
||||
gitMinimal,
|
||||
@@ -94,7 +95,7 @@ let
|
||||
|
||||
cudaToolkit = buildEnv {
|
||||
# ollama hardcodes the major version in the Makefile to support different variants.
|
||||
# - https://github.com/ollama/ollama/blob/v0.20.6/CMakePresets.json#L21-L47
|
||||
# - https://github.com/ollama/ollama/blob/v0.21.0/CMakePresets.json#L21-L47
|
||||
name = "cuda-merged-${cudaMajorVersion}";
|
||||
paths = map lib.getLib cudaLibs ++ [
|
||||
(lib.getOutput "static" cudaPackages.cuda_cudart)
|
||||
@@ -140,13 +141,13 @@ let
|
||||
in
|
||||
goBuild (finalAttrs: {
|
||||
pname = "ollama";
|
||||
version = "0.20.7";
|
||||
version = "0.21.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ollama";
|
||||
repo = "ollama";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-a08TZMzoRg1YzqIU6l1Z8JOBh6VSK5lhfA8ggoMl/ss=";
|
||||
hash = "sha256-DtrYopNtndQXq9Xjriw5Bqell9A8RHPOvgDF8BlKtdU=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-Lc1Ktdqtv2VhJQssk8K1UOimeEjVNvDWePE9WkamCos=";
|
||||
@@ -187,9 +188,17 @@ goBuild (finalAttrs: {
|
||||
++ lib.optionals enableVulkan vulkanLibs;
|
||||
|
||||
# replace inaccurate version number with actual release version
|
||||
# and replace core utils tools from their FHS location to nix store
|
||||
postPatch = ''
|
||||
substituteInPlace version/version.go \
|
||||
--replace-fail 0.0.0 '${finalAttrs.version}'
|
||||
substituteInPlace cmd/launch/openclaw_test.go \
|
||||
--replace-fail '/bin/mkdir' '${coreutils}/bin/mkdir' \
|
||||
--replace-fail '/bin/cat' '${coreutils}/bin/cat'
|
||||
substituteInPlace cmd/launch/hermes_test.go \
|
||||
--replace-fail '/bin/mkdir' '${coreutils}/bin/mkdir' \
|
||||
--replace-fail '/bin/cat' '${coreutils}/bin/cat' \
|
||||
--replace-fail '/bin/chmod' '${coreutils}/bin/chmod'
|
||||
rm -r app
|
||||
''
|
||||
# disable tests that fail in sandbox due to Metal init failure
|
||||
@@ -232,7 +241,7 @@ goBuild (finalAttrs: {
|
||||
'';
|
||||
|
||||
# ollama looks for acceleration libs in ../lib/ollama/ (now also for CPU-only with arch specific optimizations)
|
||||
# https://github.com/ollama/ollama/blob/v0.20.5/docs/development.md#library-detection
|
||||
# https://github.com/ollama/ollama/blob/v0.21.0/docs/development.md#library-detection
|
||||
postInstall = ''
|
||||
mkdir -p $out/lib
|
||||
cp -r build/lib/ollama $out/lib/
|
||||
@@ -263,8 +272,6 @@ goBuild (finalAttrs: {
|
||||
skippedTests = [
|
||||
"TestPushHandler/unauthorized_push" # Writes to $HOME, see https://github.com/ollama/ollama/pull/12307#pullrequestreview-3249128660
|
||||
"TestPiRun_InstallAndWebSearchLifecycle" # Requires network access to install npm packages
|
||||
"TestOpenclawRun_ChannelSetupHappensBeforeGatewayRestart" # /bin/mkdir and /bin/cat are unavailable on NixOS
|
||||
"TestOpenclawChannelSetupPreflight" # /bin/mkdir and /bin/cat are unavailable on NixOS
|
||||
];
|
||||
in
|
||||
[ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];
|
||||
|
||||
@@ -14,13 +14,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "opencryptoki";
|
||||
version = "3.25.0";
|
||||
version = "3.26.0-unstable-2026-04-09";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "opencryptoki";
|
||||
repo = "opencryptoki";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-JIDy5LY2rJqMM1uWDWn6Q62kJ+7pYU4G7zptkbyvf9Q=";
|
||||
rev = "ed378f463ef73364c89feb0fc923f4dc867332a3";
|
||||
hash = "sha256-1DxlsjPoK3kIQkfguhOlzP2d7dneYRz/Qwp4cH30AhU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
166
pkgs/by-name/op/opentxl-unwrapped/fix-cross.patch
Normal file
166
pkgs/by-name/op/opentxl-unwrapped/fix-cross.patch
Normal file
@@ -0,0 +1,166 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 1374808..2de353f 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -13,9 +13,10 @@
|
||||
# most optimizing C compilers to generate incorrect code for it, or at
|
||||
# the very least to slow it down severely, at higher levels of optimization.
|
||||
|
||||
-CC = gcc -w -Wno-error=int-conversion
|
||||
-CFLAGS = -c -O -fno-inline -I .
|
||||
+CC = gcc
|
||||
+CFLAGS = -w -Wno-error=int-conversion -c -O -fno-inline -I .
|
||||
LD = gcc
|
||||
+STRIP = strip
|
||||
LDFLAGS =
|
||||
LDLIBS = -lm
|
||||
RLFLAGS = -r
|
||||
@@ -52,12 +53,14 @@ else ifeq ($(OS), CYGWIN)
|
||||
|
||||
else ifeq ($(OS), MSYS)
|
||||
MESSAGE = "Making TXL on Msys / MinGW using gcc and BSD signal handling"
|
||||
+ CFLAGS := $(CFLAGS) -DWIN
|
||||
LDFLAGS := $(LDFLAGS) -Wl,--stack,0x2000000
|
||||
EXE = .exe
|
||||
SIGTYPE = BSD
|
||||
|
||||
else ifeq ($(OS), MINGW64)
|
||||
MESSAGE = "Making TXL on Msys / MinGW using gcc and BSD signal handling"
|
||||
+ CFLAGS := $(CFLAGS) -DWIN
|
||||
LDFLAGS := $(LDFLAGS) -Wl,--stack,0x2000000
|
||||
EXE = .exe
|
||||
SIGTYPE = BSD
|
||||
@@ -89,18 +92,18 @@ alltxls : thetxl thetxldb thetxlpf thetxlvm thetxlcvt thetxlapr
|
||||
thetxl : bin objs objs/main.o objs/txl.o objs/xform.o objs/parse.o objs/loadstor.o ${OBJS} ${TLOBJS}
|
||||
${CC} ${LDFLAGS} -o bin/txl objs/main.o objs/txl.o objs/xform.o objs/parse.o objs/loadstor.o \
|
||||
${OBJS} ${TLOBJS} ${LDLIBS}
|
||||
- strip bin/txl${EXE}
|
||||
+ $(STRIP) bin/txl${EXE}
|
||||
cp scripts/unix/* bin/
|
||||
|
||||
thetxldb : bin objs objs/main.o objs/txl.o objs/xformdb.o objs/parse.o objs/loadstor.o ${OBJS} ${TLOBJS}
|
||||
${CC} ${LDFLAGS} -o bin/txldb objs/main.o objs/txl.o objs/xformdb.o objs/parse.o objs/loadstor.o \
|
||||
${OBJS} ${TLOBJS} ${LDLIBS}
|
||||
- strip bin/txldb${EXE}
|
||||
+ $(STRIP) bin/txldb${EXE}
|
||||
|
||||
thetxlpf : lib objs objs/main.o objs/txl.o objs/xformpf.o objs/parsepf.o objs/loadstor.o ${OBJS} ${TLOBJS}
|
||||
${CC} ${LDFLAGS} -o lib/txlpf.x objs/main.o objs/txl.o objs/xformpf.o objs/parsepf.o objs/loadstor.o \
|
||||
${OBJS} ${TLOBJS} ${LDLIBS}
|
||||
- strip lib/txlpf.x
|
||||
+ $(STRIP) lib/txlpf.x
|
||||
|
||||
thetxlvm : lib objs objs/main.o objs/txlsa.o objs/xform.o objs/loadsa.o objs/parsa.o ${COMMONOBJS} ${TLOBJS}
|
||||
${LD} ${RLFLAGS} -o lib/txlvm.o objs/txlsa.o objs/xform.o objs/loadsa.o objs/parsa.o \
|
||||
@@ -109,11 +112,11 @@ thetxlvm : lib objs objs/main.o objs/txlsa.o objs/xform.o objs/loadsa.o objs/par
|
||||
|
||||
thetxlcvt : lib objs objs/main.o objs/txlcvt.o
|
||||
${CC} ${LDFLAGS} -o lib/txlcvt.x objs/main.o objs/txlcvt.o ${TLOBJS} ${LDLIBS}
|
||||
- strip lib/txlcvt.x
|
||||
+ $(STRIP) lib/txlcvt.x
|
||||
|
||||
thetxlapr : lib objs objs/main.o objs/txlapr.o
|
||||
${CC} ${LDFLAGS} -o lib/txlapr.x objs/main.o objs/txlapr.o ${TLOBJS} ${LDLIBS}
|
||||
- strip lib/txlapr.x
|
||||
+ $(STRIP) lib/txlapr.x
|
||||
|
||||
objs/main.o : tpluslib/TL.h UNIX main.c
|
||||
${CC} $(CFLAGS) -D${SIGTYPE} main.c; mv main.o objs/main.o
|
||||
@@ -216,4 +219,3 @@ clean :
|
||||
rm -f bin/txl* objs/*.o
|
||||
rm -rf opentxl opentxl-* opentxl*.tar.gz
|
||||
cd test; make clean; cd ..
|
||||
-
|
||||
diff --git a/scripts/unix/txl2c b/scripts/unix/txl2c
|
||||
index 7429daf..ebf56c5 100755
|
||||
--- a/scripts/unix/txl2c
|
||||
+++ b/scripts/unix/txl2c
|
||||
@@ -19,15 +19,7 @@ then
|
||||
exit 99
|
||||
fi
|
||||
|
||||
-# Localization
|
||||
-CC="gcc"
|
||||
-
|
||||
-case `uname -s` in
|
||||
- CYGWIN*|MSYS*|MINGW64*)
|
||||
- CC="$CC -Wl,--stack,0x20000000";;
|
||||
- *)
|
||||
- ;;
|
||||
-esac
|
||||
+BUILD_TXLLIB="${BUILD_TXLLIB:-$TXLLIB}"
|
||||
|
||||
# Decode TXL program name and options
|
||||
TXLPROG=""
|
||||
@@ -90,7 +82,7 @@ then
|
||||
fi
|
||||
|
||||
# Convert TXLVM byte code to initialized C byte array
|
||||
-$TXLLIB/txlcvt.x $TXLNAME.ctxl
|
||||
+$BUILD_TXLLIB/txlcvt.x $TXLNAME.ctxl
|
||||
|
||||
# Clean up
|
||||
/bin/rm -f $TXLNAME.ctxl Txl/$TXLNAME.ctxl txl/$TXLNAME.ctxl 2> /dev/null
|
||||
diff --git a/scripts/unix/txlc b/scripts/unix/txlc
|
||||
index 4f49f49..201037e 100755
|
||||
--- a/scripts/unix/txlc
|
||||
+++ b/scripts/unix/txlc
|
||||
@@ -20,9 +20,12 @@ then
|
||||
fi
|
||||
|
||||
# Localization
|
||||
-CC="gcc"
|
||||
+CC="${CC:-cc}"
|
||||
+BUILD_TXLLIB="${BUILD_TXLLIB:-$TXLLIB}"
|
||||
+TARGET_TXLLIB="${TARGET_TXLLIB:-$TXLLIB}"
|
||||
+OS="${OS:-$(uname -s)}"
|
||||
|
||||
-case `uname -s` in
|
||||
+case "$OS" in
|
||||
CYGWIN*|MSYS*|MINGW64*)
|
||||
CC="$CC -Wl,--stack,0x20000000";;
|
||||
*)
|
||||
@@ -90,10 +93,10 @@ then
|
||||
fi
|
||||
|
||||
# Convert TXLVM byte code to initialized C byte array
|
||||
-$TXLLIB/txlcvt.x $TXLNAME.ctxl
|
||||
+$BUILD_TXLLIB/txlcvt.x $TXLNAME.ctxl
|
||||
|
||||
# Compile and link with TXLVM
|
||||
-$CC -O -w -o $TXLNAME.x $TXLLIB/txlmain.o $TXLLIB/txlvm.o ${TXLNAME}_TXL.c -lm
|
||||
+$CC -O -w -o $TXLNAME.x $TARGET_TXLLIB/txlmain.o $TARGET_TXLLIB/txlvm.o ${TXLNAME}_TXL.c -lm
|
||||
|
||||
# Clean up
|
||||
/bin/rm -f $TXLNAME.ctxl Txl/$TXLNAME.ctxl txl/$TXLNAME.ctxl ${TXLNAME}_TXL.* 2> /dev/null
|
||||
diff --git a/scripts/unix/txlp b/scripts/unix/txlp
|
||||
index e39af87..cbb53ac 100755
|
||||
--- a/scripts/unix/txlp
|
||||
+++ b/scripts/unix/txlp
|
||||
@@ -19,6 +19,8 @@ then
|
||||
exit 99
|
||||
fi
|
||||
|
||||
+BUILD_TXLLIB="${BUILD_TXLLIB:-$TXLLIB}"
|
||||
+
|
||||
# Decode TXL program name and options
|
||||
TXLFILES=""
|
||||
TXLOPTIONS=""
|
||||
@@ -43,7 +45,7 @@ done
|
||||
# Run the TXL command, using txlpf
|
||||
if [ "$1" != "" ]
|
||||
then
|
||||
-if ! $TXLLIB/txlpf.x $* > /dev/null 2> /tmp/txlp$$
|
||||
+if ! $BUILD_TXLLIB/txlpf.x $* > /dev/null 2> /tmp/txlp$$
|
||||
then
|
||||
echo "txlp: TXL program failed" 2>&1
|
||||
cat /tmp/txlp$$ 2>&1
|
||||
@@ -54,7 +56,7 @@ then
|
||||
fi
|
||||
|
||||
# Analyze the results
|
||||
-$TXLLIB/txlapr.x $PROFOPTIONS
|
||||
+$BUILD_TXLLIB/txlapr.x $PROFOPTIONS
|
||||
|
||||
# Clean up
|
||||
/bin/rm -f /tmp/txlp$$
|
||||
90
pkgs/by-name/op/opentxl-unwrapped/package.nix
Normal file
90
pkgs/by-name/op/opentxl-unwrapped/package.nix
Normal file
@@ -0,0 +1,90 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
callPackage,
|
||||
fetchurl,
|
||||
nix-update-script,
|
||||
runtimeShellPackage,
|
||||
}:
|
||||
let
|
||||
osOption =
|
||||
platform:
|
||||
if platform.isDarwin then
|
||||
"Darwin"
|
||||
else if platform.isCygwin then
|
||||
"CYGWIN"
|
||||
else if platform.isWindows then
|
||||
"MSYS"
|
||||
else
|
||||
"Linux";
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "opentxl";
|
||||
version = "11.3.7";
|
||||
strictDeps = true;
|
||||
|
||||
# The code generation part of the upstream build system relies on an x86-only binary,
|
||||
# so the generated code is fetched from the GitHub release instead
|
||||
src = fetchurl {
|
||||
url = "https://github.com/CordyJ/OpenTxl/releases/download/v${finalAttrs.version}/OpenTxl-${finalAttrs.version}-csrc.tar.gz";
|
||||
hash = "sha256-qIvxQqo1yCVJImjUvNNinzhoywVgaq9s0E+Ab+QStc0=";
|
||||
};
|
||||
|
||||
# Required for patchShebangs to find the right shell for runtime scripts.
|
||||
# Optional check is to make sure that it is not added on platforms
|
||||
# that can't run a POSIX shell (e.g. MinGW)
|
||||
buildInputs = lib.optional (lib.meta.availableOn stdenv.hostPlatform runtimeShellPackage) runtimeShellPackage;
|
||||
|
||||
# Using -std=gnu89 to prevent errors that occur with default args
|
||||
env.NIX_CFLAGS_COMPILE = "-std=gnu89 -Wno-int-conversion";
|
||||
|
||||
patches = [
|
||||
./fix-cross.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Replace hardcoded FHS paths in various files
|
||||
find . -type f -exec sed -i \
|
||||
-e 's#/bin/mv#mv#g' \
|
||||
-e 's#/bin/rm#rm#g' \
|
||||
-e "s#/usr/local/bin#$out/bin#g" \
|
||||
-e "s#/usr/local/lib/txl#$out/lib#g" \
|
||||
{} +
|
||||
'';
|
||||
|
||||
makeFlags = [
|
||||
"CC=${stdenv.cc.targetPrefix}cc"
|
||||
"LD=${stdenv.cc.targetPrefix}cc"
|
||||
"STRIP=${stdenv.cc.targetPrefix}strip"
|
||||
"EXE=${stdenv.hostPlatform.extensions.executable}"
|
||||
"OS=${osOption stdenv.hostPlatform}"
|
||||
];
|
||||
|
||||
checkFlags = [ "-C test" ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/{bin,lib}
|
||||
cp bin/* $out/bin/
|
||||
cp lib/* $out/lib/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
inherit osOption;
|
||||
tests.factorial = callPackage ./factorial-test.nix { opentxl = finalAttrs.finalPackage; };
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Open-source compiler for the Txl language";
|
||||
mainProgram = "txl";
|
||||
homepage = "https://github.com/CordyJ/OpenTxl";
|
||||
downloadPage = "https://github.com/CordyJ/OpenTxl/releases";
|
||||
changelog = "https://github.com/CordyJ/OpenTxl/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ MysteryBlokHed ];
|
||||
};
|
||||
})
|
||||
@@ -1,68 +1,69 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
callPackage,
|
||||
fetchurl,
|
||||
nix-update-script,
|
||||
makeWrapper,
|
||||
opentxl-unwrapped,
|
||||
targetPackages,
|
||||
}:
|
||||
let
|
||||
inherit (targetPackages.stdenv.cc) targetPrefix;
|
||||
|
||||
crossCompiling = stdenv.hostPlatform != stdenv.targetPlatform;
|
||||
targetOpentxl = if !crossCompiling then opentxl-unwrapped else targetPackages.opentxl-unwrapped;
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "opentxl";
|
||||
version = "11.3.7";
|
||||
pname = "${targetPrefix}opentxl-wrapper";
|
||||
inherit (opentxl-unwrapped) version;
|
||||
preferLocalBuild = true;
|
||||
strictDeps = true;
|
||||
|
||||
# The code generation part of the upstream build system relies on an x86-only binary,
|
||||
# so the generated code is fetched from the GitHub release instead
|
||||
src = fetchurl {
|
||||
url = "https://github.com/CordyJ/OpenTxl/releases/download/v${finalAttrs.version}/OpenTxl-${finalAttrs.version}-csrc.tar.gz";
|
||||
hash = "sha256-qIvxQqo1yCVJImjUvNNinzhoywVgaq9s0E+Ab+QStc0=";
|
||||
};
|
||||
dontUnpack = true;
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
|
||||
# Using -std=gnu89 to prevent errors that occur with default args
|
||||
env.NIX_CFLAGS_COMPILE = "-std=gnu89 -Wno-int-conversion";
|
||||
|
||||
postPatch = ''
|
||||
# Replace hardcoded FHS paths in various files
|
||||
find . -type f -exec sed -i \
|
||||
-e 's#/bin/mv#mv#g' \
|
||||
-e 's#/bin/rm#rm#g' \
|
||||
-e "s#/usr/local/bin#$out/bin#g" \
|
||||
-e "s#/usr/local/lib/txl#$out/lib#g" \
|
||||
{} +
|
||||
|
||||
# Replace hardcoded gcc references
|
||||
substituteInPlace scripts/unix/{txlc,txl2c} \
|
||||
--replace-fail gcc '${stdenv.cc}/bin/cc'
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
makeFlagsArray+=(
|
||||
CC="$CC"
|
||||
LD="$CC"
|
||||
)
|
||||
'';
|
||||
|
||||
checkFlags = [ "-C test" ];
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/{bin,lib}
|
||||
cp bin/* $out/bin/
|
||||
cp lib/* $out/lib/
|
||||
mkdir -p $out/bin
|
||||
|
||||
# Wrap compiler
|
||||
makeWrapper ${opentxl-unwrapped}/bin/txlc \
|
||||
$out/bin/${targetPrefix}txlc \
|
||||
--set TXLLIB ${opentxl-unwrapped}/lib \
|
||||
--set BUILD_TXLLIB ${opentxl-unwrapped}/lib \
|
||||
--set TARGET_TXLLIB ${targetOpentxl}/lib \
|
||||
--set CC ${targetPackages.stdenv.cc}/bin/${targetPrefix}cc \
|
||||
--set OS ${opentxl-unwrapped.osOption stdenv.targetPlatform}
|
||||
${
|
||||
# For convenience, if there is a target prefix, create a symlink named txlc
|
||||
lib.optionalString (targetPrefix != "") ''
|
||||
ln -s $out/bin/${targetPrefix}txlc $out/bin/txlc
|
||||
''
|
||||
}
|
||||
|
||||
# Wrap other scripts
|
||||
for name in txl2c txlp; do
|
||||
makeWrapper "${opentxl-unwrapped}/bin/$name" \
|
||||
"$out/bin/$name" \
|
||||
--set-default TXLLIB ${opentxl-unwrapped}/lib
|
||||
done
|
||||
|
||||
# Link to binaries that don't need wrapping
|
||||
for name in txl txldb; do
|
||||
ln -s "${opentxl-unwrapped}/bin/$name" "$out/bin/$name"
|
||||
done
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.tests.factorial = callPackage ./factorial-test.nix { opentxl = finalAttrs.finalPackage; };
|
||||
passthru.updateScript = nix-update-script { };
|
||||
passthru = {
|
||||
unwrapped = opentxl-unwrapped;
|
||||
inherit (opentxl-unwrapped.passthru) tests;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Open-source compiler for the Txl language";
|
||||
mainProgram = "txl";
|
||||
meta = opentxl-unwrapped.meta // {
|
||||
platforms = lib.platforms.unix;
|
||||
homepage = "https://github.com/CordyJ/OpenTxl";
|
||||
downloadPage = "https://github.com/CordyJ/OpenTxl/releases";
|
||||
changelog = "https://github.com/CordyJ/OpenTxl/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ MysteryBlokHed ];
|
||||
};
|
||||
})
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "resterm";
|
||||
version = "0.26.2";
|
||||
version = "0.28.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "unkn0wn-root";
|
||||
repo = "resterm";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Addc59NlrD4GMEuir2BKoURDjMcqZYtAq4UPRCxNmCE=";
|
||||
hash = "sha256-jJGL9oSThbFeO0c89LMFWVEzyrGeIWZDUKYVqOy2hMk=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-AjckKD6NScBa8w9nWMdVExuNadz3vHnK854XXg3nj84=";
|
||||
|
||||
@@ -8,16 +8,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "rgx";
|
||||
version = "0.10.2";
|
||||
version = "0.12.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "brevity1swos";
|
||||
repo = "rgx";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-lZA8Tfyneg8cnBeCf0abgPr9232a1OGBfOJEBnU2l+s=";
|
||||
hash = "sha256-JLFJGMwKQqkrVwck6gd79AzSVL0fRHJ8jo73+EEdYlA=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-DOIQaqoUkR1KpQURC89PRds0wJkroSYufbKz62rjSB4=";
|
||||
cargoHash = "sha256-D609cDiJ+L/iGtC9dKwU5dgz4+X3//6qiFjWixBBqhg=";
|
||||
|
||||
buildInputs = [ pcre2 ];
|
||||
|
||||
|
||||
@@ -11,14 +11,14 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "ruqola";
|
||||
version = "2.6.1";
|
||||
version = "2.7.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "invent.kde.org";
|
||||
owner = "network";
|
||||
repo = "ruqola";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-z/JyIXZKXdOc92Ebq1Jcnhx/6EL7rkcdnxN2BsQn5Cw=";
|
||||
hash = "sha256-ndb20iKNaWwK5yR3mlDoBYEPj2QLHOlQVBejGKs/FMw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -50,6 +50,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
qt6.qtbase
|
||||
qt6.qtmultimedia
|
||||
qt6.qtnetworkauth
|
||||
qt6.qtspeech
|
||||
qt6.qtwebsockets
|
||||
];
|
||||
|
||||
|
||||
@@ -9,20 +9,20 @@
|
||||
}:
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "sampo";
|
||||
version = "0.17.3";
|
||||
version = "0.17.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bruits";
|
||||
repo = "sampo";
|
||||
tag = "sampo-v${finalAttrs.version}";
|
||||
hash = "sha256-g/cl24IUTQ2Tqxfzfsx3yxCgsbiFOUWKy1JisUhQ3wg=";
|
||||
hash = "sha256-P+CekuDM3u+iG2HmCNWxZoTCaKtAUMnrNre4zeGNPrQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
|
||||
cargoHash = "sha256-wd76EJeKrUH/h6Net3vwROw83sXjAPXX0N1ckYDMulc=";
|
||||
cargoHash = "sha256-udMpH0LWNqPTORSb1/c686stgvti5shx/O9rcH7YZNs=";
|
||||
|
||||
cargoBuildFlags = [
|
||||
"-p"
|
||||
|
||||
@@ -10,13 +10,13 @@
|
||||
}:
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "seanime";
|
||||
version = "3.5.2";
|
||||
version = "3.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "5rahim";
|
||||
repo = "seanime";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-ejXWQPUROIzu6RlUJIaKaiJfPb59kupQDhqWU83EqP4=";
|
||||
hash = "sha256-R6WKRuU2kBvw9XD3iAZky1YNKWDv+W7YZAwpprYeWkw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -28,7 +28,7 @@ buildGoModule (finalAttrs: {
|
||||
npmRoot = "seanime-web";
|
||||
npmDeps = fetchNpmDeps {
|
||||
src = "${finalAttrs.src}/seanime-web";
|
||||
hash = "sha256-fWlK2h0RQF9GnEogXW3bwM01RCCDVij/9S2sn2BA3S4=";
|
||||
hash = "sha256-4ItF0+Bmc+75oeNHjQP4RsbcRWgeG9Wq/27wDiQ4KVM=";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -42,7 +42,7 @@ buildGoModule (finalAttrs: {
|
||||
rm -rf .github
|
||||
'';
|
||||
|
||||
vendorHash = "sha256-TN9shH4B7XVDIa541+7MHTNQs1IKPRJW1dn8tmES5jg=";
|
||||
vendorHash = "sha256-9RCVIL+h5L20156BuD8GGbC98QUchB8JCWId8b/Sfy8=";
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
|
||||
@@ -1,32 +1,37 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
openssl,
|
||||
pkg-config,
|
||||
protobuf,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "semtools";
|
||||
version = "1.2.0";
|
||||
version = "3.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "run-llama";
|
||||
repo = "semtools";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-wpOKEESM3uG9m/EqWnF2uXITbrwIhwe2MSA0FN7Fu+w=";
|
||||
hash = "sha256-8vQJd1/EnskcMNN2cfXOQxHeLPh61dypL51KwCLps8Q=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-irLhwlNnB3G63WUGV2wo+LQGQgNHYzu/vb/RM/G6Fdc=";
|
||||
cargoHash = "sha256-spllUpCze3ajNZtWVRr9GZLDj7HMi6UIraeEp9XgfK0=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
protobuf
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ openssl ];
|
||||
|
||||
checkFlags = lib.optionals (stdenv.hostPlatform.system == "x86_64-darwin") [
|
||||
# https://github.com/run-llama/semtools/issues/17
|
||||
"--skip=tests::test_search_result_context_calculation"
|
||||
checkFlags = [
|
||||
# Require network
|
||||
"--skip=search::tests"
|
||||
"--skip=workspace::tests::test_workspace_save_and_open"
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
@@ -36,20 +36,20 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "siyuan";
|
||||
version = "3.6.3";
|
||||
version = "3.6.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "siyuan-note";
|
||||
repo = "siyuan";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-zVBsnVqm38mEROtRChiNh9bJ/e8BP09CSxVS1wHVYZQ=";
|
||||
hash = "sha256-dfM8mlZrfq8tqxwVL+TLGT26wLOzVJmw561eicFx2VY=";
|
||||
};
|
||||
|
||||
kernel = buildGoModule {
|
||||
name = "${finalAttrs.pname}-${finalAttrs.version}-kernel";
|
||||
inherit (finalAttrs) src;
|
||||
sourceRoot = "${finalAttrs.src.name}/kernel";
|
||||
vendorHash = "sha256-nbHBBRSoFOm8/NJ+8ZsOJbHcTZ+Le0RCAbF1AKaPIbs=";
|
||||
vendorHash = "sha256-TixhAJwIHQwCrA2kdpAN2vK6UeSzLMGfX85j2KtlPfQ=";
|
||||
|
||||
patches = [
|
||||
(replaceVars ./set-pandoc-path.patch {
|
||||
@@ -100,7 +100,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
;
|
||||
pnpm = pnpm_9;
|
||||
fetcherVersion = 3;
|
||||
hash = "sha256-TrdP871uy1Ie4MQiqC1/RaseU42FosOO7m4k+UVXGHc=";
|
||||
hash = "sha256-jvTDT0Uze+E3hQ9wU3RqKQ7RI9+OLQlewGd+kSHuZ34=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/app";
|
||||
|
||||
@@ -10,13 +10,13 @@
|
||||
}:
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "sketchybar-app-font";
|
||||
version = "2.0.58";
|
||||
version = "2.0.60";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kvndrsslr";
|
||||
repo = "sketchybar-app-font";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Q140vSaHkyddxUQut/r8LGuBvTel6kpcpZwqWRP0h8s=";
|
||||
hash = "sha256-6fi3v+h3i5J1j4xDP1QUlGfrY8o9kiXtMCWmYZ9zgng=";
|
||||
};
|
||||
|
||||
pnpmDeps = fetchPnpmDeps {
|
||||
|
||||
@@ -2,29 +2,37 @@
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchCrate,
|
||||
qt6,
|
||||
|
||||
fontconfig,
|
||||
libGL,
|
||||
pkg-config,
|
||||
qt6,
|
||||
|
||||
nix-update-script,
|
||||
versionCheckHook,
|
||||
}:
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "slint-viewer";
|
||||
version = "1.14.1";
|
||||
version = "1.16.0";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-7NxpnkMAQTBDfcDhdnneFNjB0oE82dDdpfq4vmMqECg=";
|
||||
hash = "sha256-POkfEU4m54dEgaSSEHLqKozMXqMxqkUoLCevm6SY2IU=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-RNK3dzXdWRpugC7FwenUF/IsKbD3GxFRLqyLzBf2Wuw=";
|
||||
cargoHash = "sha256-zjiII898Zpzdr19UHua3yuhRRHCn5yg/PHYpYODh7Pc=";
|
||||
|
||||
buildInputs = [
|
||||
qt6.qtbase
|
||||
qt6.qtsvg
|
||||
fontconfig
|
||||
libGL
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ qt6.wrapQtAppsHook ];
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
qt6.wrapQtAppsHook
|
||||
];
|
||||
|
||||
# There are no tests
|
||||
doCheck = false;
|
||||
|
||||
@@ -8,61 +8,40 @@
|
||||
|
||||
{
|
||||
lib,
|
||||
clangStdenv,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
|
||||
# nativeBuildInputs
|
||||
pkg-config,
|
||||
|
||||
# buildInputs
|
||||
fontconfig,
|
||||
harfbuzzFull,
|
||||
openssl,
|
||||
pkg-config,
|
||||
icu,
|
||||
fetchpatch2,
|
||||
|
||||
# passthru.tests
|
||||
tectonic,
|
||||
}:
|
||||
|
||||
let
|
||||
|
||||
buildRustPackage = rustPlatform.buildRustPackage.override {
|
||||
# use clang to work around build failure with GCC 14
|
||||
# see: https://github.com/tectonic-typesetting/tectonic/issues/1263
|
||||
stdenv = clangStdenv;
|
||||
};
|
||||
|
||||
in
|
||||
|
||||
buildRustPackage (finalAttrs: {
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "tectonic";
|
||||
version = "0.15.0";
|
||||
version = "0.16.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tectonic-typesetting";
|
||||
repo = "tectonic";
|
||||
rev = "tectonic@${finalAttrs.version}";
|
||||
sha256 = "sha256-dZnUu0g86WJIIvwMgdmwb6oYqItxoYrGQTFNX7I61Bs=";
|
||||
sha256 = "sha256-5yphhmrrfgFwQ952eWpToyGfIJVJfV6y5w0BgznSOe0=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch2 {
|
||||
# https://github.com/tectonic-typesetting/tectonic/pull/1155
|
||||
name = "1155-fix-endless-reruns-when-generating-bbl";
|
||||
url = "https://github.com/tectonic-typesetting/tectonic/commit/fbb145cd079497b8c88197276f92cb89685b4d54.patch";
|
||||
hash = "sha256-6FW5MFkOWnqzYX8Eg5DfmLaEhVWKYVZwodE4SGXHKV0=";
|
||||
})
|
||||
./tectonic-0.15-fix-dangerous_implicit_autorefs.patch
|
||||
cargoHash = "sha256-22Hy51zCzY2DRytcYHgwkI9+e/g52o1jy4eosvEm3KY=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
cargoPatches = [
|
||||
(fetchpatch2 {
|
||||
# cherry-picked from https://github.com/tectonic-typesetting/tectonic/pull/1202
|
||||
name = "1202-fix-build-with-rust-1_80-and-icu-75";
|
||||
url = "https://github.com/tectonic-typesetting/tectonic/compare/19654bf152d602995da970f6164713953cffc2e6...6b49ca8db40aaca29cb375ce75add3e575558375.patch?full_index=1";
|
||||
hash = "sha256-CgQBCFvfYKKXELnR9fMDqmdq97n514CzGJ7EBGpghJc=";
|
||||
})
|
||||
];
|
||||
|
||||
cargoHash = "sha256-OMa89riyopKMQf9E9Fr7Qs4hFfEfjnDFzaSWFtkYUXE=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildFeatures = [ "external-harfbuzz" ];
|
||||
|
||||
buildInputs = [
|
||||
@@ -72,19 +51,68 @@ buildRustPackage (finalAttrs: {
|
||||
openssl
|
||||
];
|
||||
|
||||
# By default, tectonic looks up the latest bundle by opening this URL:
|
||||
#
|
||||
# https://relay.fullyjustified.net/default_bundle_v${FORMAT_VERSION}.tar
|
||||
#
|
||||
# Where FORMAT_VERSION is defined here:
|
||||
#
|
||||
# https://github.com/tectonic-typesetting/tectonic/blob/master/crates/engine_xetex/xetex/xetex_bindings.h
|
||||
#
|
||||
# When we updated the package, this URL redirects to the following:
|
||||
#
|
||||
# https://data1.fullyjustified.net/tlextras-2022.0r0.tar
|
||||
#
|
||||
# The environment variable set below, sets the URL that will be used during
|
||||
# runtime by default. We chose to hard-code a URL to a specific version of
|
||||
# the web bundle, so that upstream won't update the `default_bundle` without
|
||||
# us noticing, and break compatibility with our biber-for-tectonic package.
|
||||
#
|
||||
# This is in principle the right thing to do, ever since the 0.16.0 release.
|
||||
# As opposed to what we had with version 0.15.0, we choose to not hard-code a
|
||||
# --web-bundle (or --bundle) argument in the wrapper of the
|
||||
# `tectonic-wrapped` package, as it is not compatible with nextonic, and
|
||||
# `tectonic -X` commands of versions 0.16.0+ -- These commands require the
|
||||
# `--bundle` argument to appear after the subcommand.
|
||||
#
|
||||
# Lastly, we might in the future need to update the bundle URL below if
|
||||
# upstream will upload a new bundle. However, upstream hasn't updated a new
|
||||
# bundle for a long time, see:
|
||||
#
|
||||
# https://github.com/tectonic-typesetting/tectonic/issues/1269
|
||||
#
|
||||
env.TECTONIC_BUNDLE_LOCKED = "https://data1.fullyjustified.net/tlextras-2022.0r0.tar";
|
||||
|
||||
postInstall = ''
|
||||
# Makes it possible to automatically use the V2 CLI API
|
||||
ln -s $out/bin/tectonic $out/bin/nextonic
|
||||
''
|
||||
+ lib.optionalString clangStdenv.hostPlatform.isLinux ''
|
||||
+ lib.optionalString stdenv.hostPlatform.isLinux ''
|
||||
substituteInPlace dist/appimage/tectonic.desktop \
|
||||
--replace Exec=tectonic Exec=$out/bin/tectonic
|
||||
install -D dist/appimage/tectonic.desktop -t $out/share/applications/
|
||||
install -D dist/appimage/tectonic.svg -t $out/share/icons/hicolor/scalable/apps/
|
||||
--replace-fail Exec=tectonic Exec=$out/bin/tectonic
|
||||
install -Dm644 dist/appimage/tectonic.desktop -t $out/share/applications/
|
||||
install -Dm644 dist/appimage/tectonic.svg -t $out/share/icons/hicolor/scalable/apps/
|
||||
'';
|
||||
|
||||
checkFlags = [
|
||||
# Test fails due to tectonic bundle missing and can't be downloaded in the
|
||||
# sandbox
|
||||
"--skip=tests::no_segfault_after_failed_compilation"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# Test Panics only on Darwin, see:
|
||||
# https://github.com/tectonic-typesetting/tectonic/issues/1352
|
||||
"--skip=v2_watch_succeeds"
|
||||
];
|
||||
doCheck = true;
|
||||
|
||||
passthru = {
|
||||
inherit (tectonic.passthru) tests;
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
meta = {
|
||||
description = "Modernized, complete, self-contained TeX/LaTeX engine, powered by XeTeX and TeXLive";
|
||||
homepage = "https://tectonic-typesetting.github.io/";
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
diff --git a/crates/engine_bibtex/src/xbuf.rs b/crates/engine_bibtex/src/xbuf.rs
|
||||
index 8f3949e7..c216eb4d 100644
|
||||
--- a/crates/engine_bibtex/src/xbuf.rs
|
||||
+++ b/crates/engine_bibtex/src/xbuf.rs
|
||||
@@ -52,7 +52,7 @@ pub unsafe fn xrealloc_zeroed<T: SafelyZero>(
|
||||
old: *mut [T],
|
||||
new_len: usize,
|
||||
) -> Option<&'static mut [T]> {
|
||||
- let old_len = (*old).len();
|
||||
+ let old_len = (&(*old)).len();
|
||||
let new_size = new_len * mem::size_of::<T>();
|
||||
// SAFETY: realloc can be called with any size, even 0, that will just deallocate and return null
|
||||
let ptr = unsafe { xrealloc(old.cast(), new_size) }.cast::<T>();
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
symlinkJoin,
|
||||
tectonic,
|
||||
tectonic-unwrapped,
|
||||
biber-for-tectonic,
|
||||
makeBinaryWrapper,
|
||||
@@ -19,13 +18,6 @@ symlinkJoin {
|
||||
unwrapped = tectonic-unwrapped;
|
||||
biber = biber-for-tectonic;
|
||||
tests = callPackage ./tests.nix { };
|
||||
|
||||
# The version locked tectonic web bundle, redirected from:
|
||||
# https://relay.fullyjustified.net/default_bundle_v33.tar
|
||||
# To check for updates, see:
|
||||
# https://github.com/tectonic-typesetting/tectonic/blob/master/crates/bundles/src/lib.rs
|
||||
# ... and look up `get_fallback_bundle_url`.
|
||||
bundleUrl = "https://data1.fullyjustified.net/tlextras-2022.0r0.tar";
|
||||
};
|
||||
|
||||
# Replace the unwrapped tectonic with the one wrapping it with biber
|
||||
@@ -48,7 +40,6 @@ symlinkJoin {
|
||||
+ ''
|
||||
makeWrapper ${lib.getBin tectonic-unwrapped}/bin/tectonic $out/bin/tectonic \
|
||||
--prefix PATH : "${lib.getBin biber-for-tectonic}/bin" \
|
||||
--add-flags "--web-bundle ${tectonic.passthru.bundleUrl}" \
|
||||
--inherit-argv0 ## make sure binary name e.g. `nextonic` is passed along
|
||||
ln -s $out/bin/tectonic $out/bin/nextonic
|
||||
'';
|
||||
|
||||
@@ -94,7 +94,7 @@ lib.mapAttrs networkRequiringTestPkg {
|
||||
|
||||
workspace = ''
|
||||
tectonic -X new
|
||||
cat Tectonic.toml | grep "${tectonic.bundleUrl}"
|
||||
cat Tectonic.toml | grep "${tectonic.unwrapped.TECTONIC_BUNDLE_LOCKED}"
|
||||
'';
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,83 +1,84 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
|
||||
# nativeBuildInputs
|
||||
makeWrapper,
|
||||
writeScript,
|
||||
pkg-config,
|
||||
writeShellScriptBin,
|
||||
|
||||
# buildInputs
|
||||
fontconfig,
|
||||
freetype,
|
||||
harfbuzz,
|
||||
icu,
|
||||
jbig2dec,
|
||||
libjpeg,
|
||||
mupdf,
|
||||
SDL2,
|
||||
re2c,
|
||||
freetype,
|
||||
jbig2dec,
|
||||
harfbuzz,
|
||||
openjpeg,
|
||||
gumbo,
|
||||
libjpeg,
|
||||
callPackage,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "texpresso";
|
||||
version = "0.1";
|
||||
version = "0.1-unstable-2026-04-02";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "let-def";
|
||||
repo = "texpresso";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-d+wNQIysn3hdTQnHN9MJbFOIhJQ0ml6PoeuwsryntTI=";
|
||||
rev = "96f008c94ece067fac8e896d0ab1808c948a4dd3";
|
||||
hash = "sha256-ew7n3Sp4uYLv5jijRW2rRM9s63TQCeFgKXmmBXdYjx4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace-fail "CC=gcc" "CC=${stdenv.cc.targetPrefix}cc" \
|
||||
--replace-fail "LDCC=g++" "LDCC=${stdenv.cc.targetPrefix}c++"
|
||||
substituteInPlace src/engine/Makefile \
|
||||
--replace-fail "_CC?=gcc" "_CC?=${stdenv.cc.targetPrefix}cc" \
|
||||
--replace-fail "_LD?=g++" "_LD?=${stdenv.cc.targetPrefix}c++" \
|
||||
--replace-fail "_CXX?=g++" "_CXX?=${stdenv.cc.targetPrefix}c++"
|
||||
'';
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
mupdf
|
||||
SDL2
|
||||
re2c
|
||||
freetype
|
||||
jbig2dec
|
||||
harfbuzz
|
||||
openjpeg
|
||||
gumbo
|
||||
libjpeg
|
||||
pkg-config
|
||||
# Especially for Darwin builds, we pretend we are Linux to avoid upstream's
|
||||
# makefiles from using brew.
|
||||
(writeShellScriptBin "uname" "echo Linux")
|
||||
];
|
||||
|
||||
buildFlags = [ "texpresso" ];
|
||||
buildInputs = [
|
||||
fontconfig
|
||||
freetype
|
||||
harfbuzz
|
||||
icu
|
||||
jbig2dec
|
||||
libjpeg
|
||||
mupdf
|
||||
SDL2
|
||||
];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = toString (
|
||||
lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
buildFlags = [
|
||||
"texpresso"
|
||||
"texpresso-xetex"
|
||||
];
|
||||
|
||||
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
|
||||
NIX_CFLAGS_COMPILE = toString [
|
||||
"-Wno-error=implicit-function-declaration"
|
||||
]
|
||||
);
|
||||
];
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -Dm0755 -t "$out/bin/" "build/texpresso"
|
||||
install -D -t "$out/bin/" "build/texpresso"
|
||||
install -D -t "$out/bin/" "build/texpresso-xetex"
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
# needs to have texpresso-tonic on its path
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/texpresso \
|
||||
--prefix PATH : ${lib.makeBinPath [ finalAttrs.finalPackage.passthru.tectonic ]}
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
tectonic = callPackage ./tectonic.nix { };
|
||||
updateScript = writeScript "update-texpresso" ''
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p curl jq nix-update
|
||||
|
||||
tectonic_version="$(curl -s "https://api.github.com/repos/let-def/texpresso/contents/tectonic" | jq -r '.sha')"
|
||||
nix-update texpresso
|
||||
nix-update --version=branch=$tectonic_version texpresso.tectonic
|
||||
'';
|
||||
};
|
||||
|
||||
meta = {
|
||||
inherit (finalAttrs.src.meta) homepage;
|
||||
description = "Live rendering and error reporting for LaTeX";
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
{
|
||||
tectonic-unwrapped,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
}:
|
||||
|
||||
tectonic-unwrapped.overrideAttrs (
|
||||
finalAttrs: prevAttrs: {
|
||||
pname = "texpresso-tonic";
|
||||
version = "0.15.0-unstable-2024-04-19";
|
||||
src = fetchFromGitHub {
|
||||
owner = "let-def";
|
||||
repo = "tectonic";
|
||||
rev = "b38cb3b2529bba947d520ac29fbb7873409bd270";
|
||||
hash = "sha256-ap7fEPHsASAphIQkjcvk1CC7egTdxaUh7IpSS5os4W8=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
cargoHash = "sha256-mqhbIv5r/5EDRDfP2BymXv9se2NCKxzRGqNqwqbD9A0=";
|
||||
# rebuild cargoDeps by hand because `.overrideAttrs cargoHash`
|
||||
# does not reconstruct cargoDeps (a known limitation):
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit (finalAttrs) src;
|
||||
name = "${finalAttrs.pname}-${finalAttrs.version}";
|
||||
hash = finalAttrs.cargoHash;
|
||||
patches = finalAttrs.cargoPatches;
|
||||
};
|
||||
# binary has a different name, bundled tests won't work
|
||||
doCheck = false;
|
||||
postInstall = ''
|
||||
${prevAttrs.postInstall or ""}
|
||||
|
||||
# Remove the broken `nextonic` symlink
|
||||
# It points to `tectonic`, which doesn't exist because the exe is
|
||||
# renamed to texpresso-tonic
|
||||
rm $out/bin/nextonic
|
||||
'';
|
||||
meta = prevAttrs.meta // {
|
||||
mainProgram = "texpresso-tonic";
|
||||
};
|
||||
}
|
||||
)
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
let
|
||||
pname = "typora";
|
||||
version = "1.13.2";
|
||||
version = "1.13.4";
|
||||
|
||||
passthru = {
|
||||
sources = {
|
||||
@@ -29,21 +29,21 @@ let
|
||||
"https://download.typora.io/linux/typora_${version}_amd64.deb"
|
||||
"https://downloads.typoraio.cn/linux/typora_${version}_amd64.deb"
|
||||
];
|
||||
hash = "sha256-oMb57//kg8TldZpWD0kaNYhveDe9MXHu9IMeuIvGcq4=";
|
||||
hash = "sha256-aEgp0j6HGZePKwc21LvMpmXk7S5cgcUttpxl3fQw9ak=";
|
||||
};
|
||||
aarch64-linux = fetchurl {
|
||||
urls = [
|
||||
"https://download.typora.io/linux/typora_${version}_arm64.deb"
|
||||
"https://downloads.typoraio.cn/linux/typora_${version}_arm64.deb"
|
||||
];
|
||||
hash = "sha256-fa/jvmhQ/tx3JWCDwNxRW+WTXnLYD+WrJoGJmes0JKs=";
|
||||
hash = "sha256-hvEsnkjbEhZVOIGKGh9RloUBicKpSMzzBGMFtc+3EAk=";
|
||||
};
|
||||
aarch64-darwin = fetchurl {
|
||||
urls = [
|
||||
"https://download.typora.io/mac/Typora-${version}.dmg"
|
||||
"https://downloads.typoraio.cn/mac/Typora-${version}.dmg"
|
||||
];
|
||||
hash = "sha256-3wPZAuU2EE62M0F3TQw6aX5cHdeUmJuASWnlbMVmgss=";
|
||||
hash = "sha256-3IyOFTLDkd43Tij1B1Tw0epZ8HwMiNMJHQJAGHCcP84=";
|
||||
};
|
||||
};
|
||||
updateScript = ./update.sh;
|
||||
|
||||
@@ -23,13 +23,13 @@
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "ustreamer";
|
||||
version = "6.40";
|
||||
version = "6.55";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pikvm";
|
||||
repo = "ustreamer";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-jKltFQsx8Q9+TMTOg1p6nljII72CLEg6VYe60/KojUY=";
|
||||
hash = "sha256-xL35xlgKEpgiD3m6xoEs+CBmEx0Fpwo43EbzqCqDgvc=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
||||
@@ -6,16 +6,16 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "webdav";
|
||||
version = "5.11.5";
|
||||
version = "5.11.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hacdias";
|
||||
repo = "webdav";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Al1rl6Ez36I3qE++1ZOvTgey9lfHp0SVzK6KJQSPBYc=";
|
||||
hash = "sha256-iTBh6cH7is7UnbbXhn+z/Tnvq5//Jdt1OlPHNfICVUw=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-JctG+gkZtjlSX616Rv3rC7RU9YBNWp9LsD5Ut8qn1tY=";
|
||||
vendorHash = "sha256-L98EShwiysMYXhI6aQut5bfMr76CwY1U06iOgG+jtCY=";
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
|
||||
@@ -31,11 +31,13 @@
|
||||
|
||||
let
|
||||
python = python3.override {
|
||||
self = python;
|
||||
packageOverrides = _final: prev: {
|
||||
django = prev.django_5;
|
||||
django = prev.django_6;
|
||||
pygobject = prev.pygobject3;
|
||||
};
|
||||
};
|
||||
python3Packages = python3.pkgs;
|
||||
python3Packages = python.pkgs;
|
||||
|
||||
GI_TYPELIB_PATH = lib.makeSearchPathOutput "out" "lib/girepository-1.0" [
|
||||
pango
|
||||
@@ -48,7 +50,7 @@ let
|
||||
in
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "weblate";
|
||||
version = "5.16.2";
|
||||
version = "5.17";
|
||||
pyproject = true;
|
||||
|
||||
outputs = [
|
||||
@@ -60,7 +62,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
owner = "WeblateOrg";
|
||||
repo = "weblate";
|
||||
tag = "weblate-${finalAttrs.version}";
|
||||
hash = "sha256-er3KtCAFtHh3UtM58Kni/PTBfXpWW/GOarRGJeAanL8=";
|
||||
hash = "sha256-+czdS1cICvm8esXxJG9BjzPTJExajxvDoRVH7f+t6lY=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -92,15 +94,14 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
'';
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"requests"
|
||||
"pygobject"
|
||||
"certifi"
|
||||
"crispy-bootstrap5"
|
||||
"dateparser"
|
||||
];
|
||||
|
||||
dependencies =
|
||||
with python3Packages;
|
||||
[
|
||||
aeidon
|
||||
ahocorasick-rs
|
||||
altcha
|
||||
(toPythonModule (borgbackup.override { python3 = python; }))
|
||||
@@ -108,7 +109,6 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
certifi
|
||||
charset-normalizer
|
||||
confusable-homoglyphs
|
||||
crispy-bootstrap3
|
||||
crispy-bootstrap5
|
||||
cryptography
|
||||
cssselect
|
||||
@@ -134,23 +134,20 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
drf-standardized-errors
|
||||
fedora-messaging
|
||||
filelock
|
||||
fluent-syntax
|
||||
gitpython
|
||||
hiredis
|
||||
html2text
|
||||
iniparse
|
||||
jsonschema
|
||||
lxml
|
||||
mistletoe
|
||||
nh3
|
||||
openpyxl
|
||||
packaging
|
||||
phply
|
||||
pillow
|
||||
pyaskalono
|
||||
pycairo
|
||||
pygments
|
||||
pygobject3
|
||||
pygobject
|
||||
pyicumessageformat
|
||||
pyparsing
|
||||
python-dateutil
|
||||
@@ -178,7 +175,15 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
++ celery.optional-dependencies.redis
|
||||
++ drf-spectacular.optional-dependencies.sidecar
|
||||
++ drf-standardized-errors.optional-dependencies.openapi
|
||||
++ translate-toolkit.optional-dependencies.chardet
|
||||
++ translate-toolkit.optional-dependencies.fluent
|
||||
++ translate-toolkit.optional-dependencies.ini
|
||||
++ translate-toolkit.optional-dependencies.markdown
|
||||
++ translate-toolkit.optional-dependencies.toml
|
||||
++ translate-toolkit.optional-dependencies.php
|
||||
++ translate-toolkit.optional-dependencies.rc
|
||||
++ translate-toolkit.optional-dependencies.subtitles
|
||||
++ translate-toolkit.optional-dependencies.yaml
|
||||
++ urllib3.optional-dependencies.brotli
|
||||
++ urllib3.optional-dependencies.zstd;
|
||||
|
||||
@@ -197,12 +202,12 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
];
|
||||
ldap = [ django-auth-ldap ];
|
||||
# mercurial = [ mercurial ];
|
||||
mysql = [ mysqlclient ];
|
||||
openai = [ openai ];
|
||||
postgres = [ psycopg ];
|
||||
saml = [ python3-saml ];
|
||||
# saml2idp = [ djangosaml2idp ];
|
||||
# wlhosted = [ wlhosted ];
|
||||
# saml2idp = [ djangosaml2idp2 ];
|
||||
sphinx = [ sphinx ];
|
||||
# wllegal = [ wllegal ];
|
||||
wsgi = [ granian ];
|
||||
# zxcvbn = [ django-zxcvbn-password-validator ];
|
||||
};
|
||||
@@ -243,7 +248,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
openssh
|
||||
]
|
||||
++ social-auth-core.optional-dependencies.saml
|
||||
++ (lib.concatLists (builtins.attrValues finalAttrs.passthru.optional-dependencies));
|
||||
++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies;
|
||||
|
||||
env = {
|
||||
CI_DATABASE = "postgresql";
|
||||
@@ -277,6 +282,38 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
"test_ocr_backend"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Probably network access?
|
||||
"weblate/addons/tests.py::SlackWebhooksAddonsTest::test_component_scopes"
|
||||
"weblate/addons/tests.py::SlackWebhooksAddonsTest::test_connection_error"
|
||||
"weblate/addons/tests.py::SlackWebhooksAddonsTest::test_invalid_response"
|
||||
"weblate/addons/tests.py::SlackWebhooksAddonsTest::test_project_scopes"
|
||||
"weblate/addons/tests.py::SlackWebhooksAddonsTest::test_site_wide_scope"
|
||||
"weblate/addons/tests.py::SlackWebhooksAddonsTest::test_translation_added"
|
||||
"weblate/addons/tests.py::SlackWebhooksAddonsTest::test_announcement"
|
||||
"weblate/addons/tests.py::SlackWebhooksAddonsTest::test_bulk_changes"
|
||||
"weblate/addons/tests.py::WebhooksAddonTest::test_announcement"
|
||||
"weblate/addons/tests.py::WebhooksAddonTest::test_bulk_changes"
|
||||
"weblate/addons/tests.py::WebhooksAddonTest::test_category_in_payload"
|
||||
"weblate/addons/tests.py::WebhooksAddonTest::test_component_scopes"
|
||||
"weblate/addons/tests.py::WebhooksAddonTest::test_connection_error"
|
||||
"weblate/addons/tests.py::WebhooksAddonTest::test_invalid_response"
|
||||
"weblate/addons/tests.py::WebhooksAddonTest::test_project_scopes"
|
||||
"weblate/addons/tests.py::WebhooksAddonTest::test_site_wide_scope"
|
||||
"weblate/addons/tests.py::WebhooksAddonTest::test_translation_added"
|
||||
"weblate/addons/tests.py::WebhooksAddonTest::test_webhook_signature"
|
||||
"weblate/addons/tests.py::WebhooksAddonTest::test_webhook_signature_prefix"
|
||||
|
||||
# Tries to resolve DNS
|
||||
"weblate/api/tests.py::ProjectAPITest::test_install_machinery"
|
||||
|
||||
# djangosaml2idp2 is not packaged yet
|
||||
"weblate/utils/tests/test_djangosaml2idp.py"
|
||||
|
||||
# Don't understand why
|
||||
"weblate/trans/tests/test_alert.py::WebsiteAlertSettingTest::test_website_alerts_enabled"
|
||||
];
|
||||
|
||||
passthru = {
|
||||
inherit python;
|
||||
# We need to expose this so weblate can work outside of calling its bin output
|
||||
|
||||
@@ -12,19 +12,20 @@
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "x2x";
|
||||
version = "unstable-2023-04-30";
|
||||
version = "1.30-unstable-2025-02-17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dottedmag";
|
||||
repo = "x2x";
|
||||
rev = "53692798fa0e991e0dd67cdf8e8126158d543d08";
|
||||
hash = "sha256-FUl2z/Yz9uZlUu79LHdsXZ6hAwSlqwFV35N+GYDNvlQ=";
|
||||
rev = "08842516fa443a2cf799c6372f83466062f612c9";
|
||||
hash = "sha256-0ZVpG4ZrygrFZ0mVmNLWWdyqM43LtQPGwvZZPC92zuY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libx11
|
||||
libxtst
|
||||
|
||||
@@ -4,13 +4,20 @@
|
||||
fetchurl,
|
||||
fetchpatch,
|
||||
pkg-config,
|
||||
SDL,
|
||||
SDL_sixel,
|
||||
SDL_image,
|
||||
libjpeg,
|
||||
libpng,
|
||||
libtiff,
|
||||
}:
|
||||
|
||||
let
|
||||
# Enable terminal display. Note that it requires sixel graphics compatible
|
||||
# terminals like mlterm or xterm -ti 340
|
||||
SDL_image_sixel = SDL_image.override {
|
||||
SDL = SDL_sixel;
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "zgv";
|
||||
version = "5.9";
|
||||
@@ -21,8 +28,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
SDL
|
||||
SDL_image
|
||||
SDL_sixel
|
||||
SDL_image_sixel
|
||||
libjpeg
|
||||
libpng
|
||||
libtiff
|
||||
@@ -30,6 +37,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
# gcc15
|
||||
env.NIX_CFLAGS_COMPILE = "-std=gnu17";
|
||||
|
||||
makeFlags = [
|
||||
"BACKEND=SDL"
|
||||
];
|
||||
@@ -12,19 +12,19 @@ rec {
|
||||
llvm_meta = {
|
||||
license =
|
||||
with lib.licenses;
|
||||
[ ncsa ]
|
||||
++
|
||||
# Contributions after June 1st, 2024 are only licensed under asl20 and
|
||||
# llvm-exception: https://github.com/llvm/llvm-project/pull/92394
|
||||
lib.optionals (lib.versionAtLeast release_version "19") [
|
||||
asl20
|
||||
llvm-exception
|
||||
];
|
||||
# Contributions after June 1st, 2024 are only licensed under asl20 and
|
||||
# llvm-exception: https://github.com/llvm/llvm-project/pull/92394
|
||||
if lib.versionAtLeast release_version "19" then
|
||||
AND [
|
||||
ncsa
|
||||
(WITH asl20 llvm-exception)
|
||||
]
|
||||
else
|
||||
ncsa;
|
||||
teams = [
|
||||
lib.teams.llvm
|
||||
lib.teams.security-review
|
||||
];
|
||||
|
||||
# See llvm/cmake/config-ix.cmake.
|
||||
platforms =
|
||||
lib.platforms.aarch64
|
||||
|
||||
@@ -46,11 +46,11 @@ assert (ch4backend.pname == "ucx" || ch4backend.pname == "libfabric");
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mpich";
|
||||
version = "5.0.0";
|
||||
version = "5.0.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.mpich.org/static/downloads/${version}/mpich-${version}.tar.gz";
|
||||
hash = "sha256-6TUOMiJCg+lTEfIhNPNsmOPNHGZdF/riCmzJLtPP/hE=";
|
||||
hash = "sha256-jBgyoT3azwcWhQafX639Hyh3op4aYoZSiSxlIRsfMyc=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
||||
@@ -12,14 +12,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "actron-neo-api";
|
||||
version = "0.5.1";
|
||||
version = "0.5.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kclif9";
|
||||
repo = "actronneoapi";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-TEKRQQbmcDjHuZOte4fqZqLkw4Eo8FUgoyui3Mg8CqA=";
|
||||
hash = "sha256-XyX9o1fIyY5TZqLzK1a+KLkLDVEorw2illg+lHutLtc=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
||||
@@ -16,14 +16,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioamazondevices";
|
||||
version = "13.4.2";
|
||||
version = "13.4.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "chemelli74";
|
||||
repo = "aioamazondevices";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-df5f6meoMvrvS1d0U9M1XRXYC6t4e0AEmxfHOGD58CM=";
|
||||
hash = "sha256-AH5edWwVEMo/TpnVbcOEC/oYI4DOQ5nqFfoFKeoI3Ok=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
@@ -6,16 +6,16 @@
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "altcha";
|
||||
version = "1.0.0";
|
||||
version = "2.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "altcha-org";
|
||||
repo = "altcha-lib-py";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-N30luHhGFkd+XvVKhVnR6degEf0Nm/K/GEaqoEEuZMU=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-k5vy6lalC3idiquXbDCwF+mObzja/QC3PRBGQJMZ6fA=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -30,4 +30,4 @@ buildPythonPackage rec {
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ erictapen ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -194,6 +194,9 @@ buildPythonPackage (finalAttrs: {
|
||||
"test_regression_worker_startup_info"
|
||||
"test_check_privileges"
|
||||
|
||||
# FileNotFoundError: [Errno 2] No such file or directory: 'test.db'
|
||||
"test_forget"
|
||||
|
||||
# Flaky: Unclosed temporary file handle under heavy load (as in nixpkgs-review)
|
||||
"test_check_privileges_without_c_force_root_and_no_group_entry"
|
||||
]
|
||||
|
||||
@@ -27,11 +27,6 @@ buildPythonPackage (finalAttrs: {
|
||||
hash = "sha256-eUcve2KPcLjKKWU7AxQEZ0mokP185E43Xjm4b+4hQzA=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail "==" ">="
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
buildInputs = [ django ];
|
||||
@@ -49,6 +44,7 @@ buildPythonPackage (finalAttrs: {
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-django
|
||||
djangorestframework-simplejwt
|
||||
pytestCheckHook
|
||||
pytest-django
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
@@ -20,18 +21,54 @@
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "django-celery-beat";
|
||||
version = "2.8.1";
|
||||
version = "2.9.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "celery";
|
||||
repo = "django-celery-beat";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-pakOpch5r2ug0UDSqEU34qr4Tz1/mkuFiHW+IOUuGcc=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-UGKMSXB+Hg865sAk5ePc/noO3eNTr7b3pp7tvNvn1T8=";
|
||||
};
|
||||
|
||||
# https://github.com/celery/django-celery-beat/pull/1009
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/celery/django-celery-beat/commit/dc11bdfa06858409da01f2d407bb68486870a559.patch";
|
||||
hash = "sha256-aK8u2CfmNYFwE9CQvKjnwywVcw8MQfXvev7JYU9kz4E=";
|
||||
})
|
||||
(fetchpatch {
|
||||
url = "https://github.com/celery/django-celery-beat/commit/ddcbe8bf2c970a82e87f50c0e9c232b0ae951a85.patch";
|
||||
hash = "sha256-uw3l6CA0lnbF1HnNeSgZ91l1ujkB4V3831Yj+L4i+L0=";
|
||||
})
|
||||
(fetchpatch {
|
||||
url = "https://github.com/celery/django-celery-beat/commit/088355dc6531bfffc19272c9de55f4d18606634e.patch";
|
||||
hash = "sha256-6pamaLcHbNUGJMw6nCWeY/C1O58choDbJ1j/4SqDPx4=";
|
||||
})
|
||||
(fetchpatch {
|
||||
url = "https://github.com/celery/django-celery-beat/commit/273e2f23edee26404a1691320a69dee280f9639b.patch";
|
||||
hash = "sha256-8wZrDi9GDIF+w5ZZDssJGLG3UyE45xqld95nnG3SV0A=";
|
||||
})
|
||||
(fetchpatch {
|
||||
url = "https://github.com/celery/django-celery-beat/commit/69f4a231f30df9ff028f8fc0f67cb115e5d53246.patch";
|
||||
hash = "sha256-74p2XxB9ssWpVokY8XVUjkyyE4+/2lijDYZcZSu9ms0=";
|
||||
})
|
||||
(fetchpatch {
|
||||
url = "https://github.com/celery/django-celery-beat/commit/4b8246a44a69e79d7648a9f4658abd8b7937b2b8.patch";
|
||||
hash = "sha256-c1ZJHgnxvOoEWAc9oRkcCLRG7sLLsSER/Dq0H8TIOYU=";
|
||||
})
|
||||
(fetchpatch {
|
||||
url = "https://github.com/celery/django-celery-beat/commit/17dd67625f99a0e6dbe7fb779f61f336e7af1730.patch";
|
||||
hash = "sha256-w+MynocR80jUARgvuk5cUIdzmdAYGglvrNXph/8XdBE=";
|
||||
})
|
||||
(fetchpatch {
|
||||
url = "https://github.com/celery/django-celery-beat/commit/03018882f088be83e1c78b4ca657b960b3080081.patch";
|
||||
hash = "sha256-YE121p2aGqoj9mRFSQu+oi+8xaz0QE+CsJHdBB7xwUM=";
|
||||
})
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [ "django" ];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -56,18 +93,13 @@ buildPythonPackage rec {
|
||||
"t/unit/test_schedulers.py"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# AssertionError: 'At 02:00, only on Monday UTC' != 'At 02:00 AM, only on Monday UTC'
|
||||
"test_long_name"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "django_celery_beat" ];
|
||||
|
||||
meta = {
|
||||
description = "Celery Periodic Tasks backed by the Django ORM";
|
||||
homepage = "https://github.com/celery/django-celery-beat";
|
||||
changelog = "https://github.com/celery/django-celery-beat/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/celery/django-celery-beat/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ onny ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "lupa";
|
||||
version = "2.7";
|
||||
version = "2.8";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-c6ZM5dyM2Vt1ozDBUT5G4JjUD87tP+pRbAn2WV6t6Ik=";
|
||||
hash = "sha256-2AImQbnsjs8sXsvp9H5acOC4fEta6SG5LLAqY44KzQg=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
|
||||
# build-system
|
||||
hatchling,
|
||||
@@ -27,18 +26,16 @@
|
||||
virtualenv,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "nox";
|
||||
version = "2026.02.09";
|
||||
version = "2026.04.10";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "wntrblm";
|
||||
repo = "nox";
|
||||
tag = version;
|
||||
hash = "sha256-RaB0q9gCoYqKAI8IzNh5qUd0SrzsPeOa3C6IGxpcbwE=";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-ArSA9I86hTKM+fkTdzOeheYVxpdjweMs2I0mUwR14sQ=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
@@ -65,7 +62,7 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
writableTmpDirAsHomeHook
|
||||
]
|
||||
++ lib.concatAttrValues optional-dependencies;
|
||||
++ lib.flatten (builtins.attrValues finalAttrs.passthru.optional-dependencies);
|
||||
|
||||
pythonImportsCheck = [ "nox" ];
|
||||
|
||||
@@ -86,11 +83,11 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Flexible test automation for Python";
|
||||
homepage = "https://nox.thea.codes/";
|
||||
changelog = "https://github.com/wntrblm/nox/blob/${src.tag}/CHANGELOG.md";
|
||||
changelog = "https://github.com/wntrblm/nox/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [
|
||||
doronbehar
|
||||
fab
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -36,14 +36,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "plopp";
|
||||
version = "26.3.1";
|
||||
version = "26.4.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "scipp";
|
||||
repo = "plopp";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-A8F2Gd0HmHRlusScFoFulsFaqaXA/HxmtT8ODdRLA+U=";
|
||||
hash = "sha256-qjuhM0/qrGIZw00DOnaGODGHqzGn4r3gIAguJS5OPZ8=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
@@ -75,7 +75,7 @@ buildPythonPackage (finalAttrs: {
|
||||
];
|
||||
|
||||
disabledTests = lib.optionals (pythonAtLeast "3.14") [
|
||||
# RuntimeError: There is no current event loop in thread 'MainThread'
|
||||
# https://github.com/scipp/plopp/issues/508
|
||||
"test_move_cut"
|
||||
"test_value_cuts"
|
||||
];
|
||||
|
||||
@@ -2,27 +2,33 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
poetry-core,
|
||||
|
||||
# dependencies
|
||||
azure-core,
|
||||
azure-identity,
|
||||
isodate,
|
||||
msrest,
|
||||
|
||||
# tests
|
||||
aioresponses,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
responses,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "pydo";
|
||||
version = "0.27.0";
|
||||
version = "0.30.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "digitalocean";
|
||||
repo = "pydo";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-2vJ/yOOJuil1oFWIYU2yV29RG/j92kpz0ubmJpyzS4U=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-tLw34aQ9gmKSQ/cy3Rz3eKqaw/Kv4lgS1saMYMCHPxo=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
@@ -52,9 +58,9 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Official DigitalOcean Client based on the DO OpenAPIv3 specification";
|
||||
homepage = "https://github.com/digitalocean/pydo";
|
||||
changelog = "https://github.com/digitalocean/pydo/releases/tag/v${version}";
|
||||
changelog = "https://github.com/digitalocean/pydo/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.asl20;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ ethancedwards8 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -8,14 +8,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "tlds";
|
||||
version = "2026021400";
|
||||
version = "2026041800";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kichik";
|
||||
repo = "tlds";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-IyIZCBlH918let5qa/fi/SYampE3E+yAVMG17nHF7mk=";
|
||||
hash = "sha256-HMfAMYVNz/3lwCv5XTn7jSgFQgGX2uymTGxw8JcHeUU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
@@ -9,25 +9,26 @@
|
||||
# dependencies
|
||||
lxml,
|
||||
unicode-segmentation-rs,
|
||||
urllib3,
|
||||
|
||||
# optional-dependencies
|
||||
tomlkit,
|
||||
|
||||
# tests
|
||||
aeidon,
|
||||
charset-normalizer,
|
||||
cheroot,
|
||||
fluent-syntax,
|
||||
gettext,
|
||||
vobject,
|
||||
iniparse,
|
||||
rapidfuzz,
|
||||
mistletoe,
|
||||
phply,
|
||||
pyparsing,
|
||||
pytestCheckHook,
|
||||
pyenchant,
|
||||
aeidon,
|
||||
tomlkit,
|
||||
ruamel-yaml,
|
||||
syrupy,
|
||||
vobject,
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
addBinToPathHook,
|
||||
pytest-xdist,
|
||||
gettext,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
@@ -47,36 +48,40 @@ buildPythonPackage (finalAttrs: {
|
||||
dependencies = [
|
||||
lxml
|
||||
unicode-segmentation-rs
|
||||
urllib3
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
chardet = [ charset-normalizer ];
|
||||
fluent = [ fluent-syntax ];
|
||||
ical = [ vobject ];
|
||||
ini = [ iniparse ];
|
||||
levenshtein = [ rapidfuzz ];
|
||||
markdown = [ mistletoe ];
|
||||
php = [ phply ];
|
||||
rc = [ pyparsing ];
|
||||
spellcheck = [ pyenchant ];
|
||||
subtitles = [ aeidon ];
|
||||
toml = [ tomlkit ];
|
||||
yaml = [ ruamel-yaml ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
aeidon
|
||||
charset-normalizer
|
||||
cheroot
|
||||
fluent-syntax
|
||||
gettext
|
||||
iniparse
|
||||
mistletoe
|
||||
phply
|
||||
pyparsing
|
||||
pytestCheckHook
|
||||
ruamel-yaml
|
||||
syrupy
|
||||
tomlkit
|
||||
vobject
|
||||
];
|
||||
addBinToPathHook
|
||||
pytest-xdist
|
||||
gettext
|
||||
]
|
||||
++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies;
|
||||
|
||||
disabledTests = [
|
||||
# Probably breaks because of nix sandbox
|
||||
"test_timezones"
|
||||
];
|
||||
|
||||
# Requires network
|
||||
"test_xliff_conformance"
|
||||
disabledTestPaths = [
|
||||
# Require pytest-snapshot but there are no snapshots checked in
|
||||
"tests/translate/tools/test_pocount.py"
|
||||
"tests/translate/tools/test_junitmsgfmt.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "translate" ];
|
||||
|
||||
@@ -12,14 +12,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "utitools";
|
||||
version = "0.4.0";
|
||||
version = "0.5.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "RhetTbull";
|
||||
repo = "utitools";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-oI+a+sc9+qi7aFP0dLINAQekib/9pZm10A5jhVIHWvo=";
|
||||
hash = "sha256-mx9vcMCeDTJyWJKm0Ci9IEAPCNfx9NvPGC8cuNYnH1M=";
|
||||
};
|
||||
|
||||
build-system = [ flit-core ];
|
||||
@@ -34,7 +34,7 @@ buildPythonPackage (finalAttrs: {
|
||||
meta = {
|
||||
description = "Utilities for working with Uniform Type Identifiers";
|
||||
homepage = "https://github.com/RhetTbull/utitools";
|
||||
changelog = "https://github.com/RhetTbull/osxphotos/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
changelog = "https://github.com/RhetTbull/utitools/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ sigmanificient ];
|
||||
};
|
||||
|
||||
@@ -1130,10 +1130,7 @@ in
|
||||
};
|
||||
|
||||
trilogy = attrs: {
|
||||
postInstall = ''
|
||||
installPath=$(cat "$out/nix-support/gem-meta/install-path")
|
||||
ln -s contrib/ruby/trilogy.gemspec "$installPath/trilogy.gemspec"
|
||||
'';
|
||||
buildInputs = [ openssl ];
|
||||
};
|
||||
|
||||
typhoeus = attrs: {
|
||||
|
||||
@@ -90,6 +90,8 @@ let
|
||||
&& (
|
||||
if isList attrs.meta.license then
|
||||
any (l: elem l list) attrs.meta.license
|
||||
else if attrs.meta.license ? "type" then
|
||||
lib.licenses.containsLicenses list attrs.meta.license
|
||||
else
|
||||
elem attrs.meta.license list
|
||||
);
|
||||
@@ -103,7 +105,9 @@ let
|
||||
|
||||
isUnfree =
|
||||
licenses:
|
||||
if isAttrs licenses then
|
||||
if isAttrs licenses && licenses ? "type" then
|
||||
!(lib.licenses.isFree licenses)
|
||||
else if isAttrs licenses then
|
||||
!(licenses.free or true)
|
||||
# TODO: Returning false in the case of a string is a bug that should be fixed.
|
||||
# In a previous implementation of this function the function body
|
||||
|
||||
@@ -110,6 +110,10 @@ let
|
||||
pname = "nvramtool";
|
||||
meta.description = "Read and write coreboot parameters and display information from the coreboot table in CMOS/NVRAM";
|
||||
meta.mainProgram = "nvramtool";
|
||||
meta.platforms = [
|
||||
"x86_64-linux"
|
||||
"i686-linux"
|
||||
];
|
||||
};
|
||||
superiotool = generic {
|
||||
pname = "superiotool";
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
fetchurl,
|
||||
autoreconfHook,
|
||||
zlib,
|
||||
pcre,
|
||||
pcre2,
|
||||
w3m,
|
||||
man,
|
||||
openssl,
|
||||
@@ -16,11 +16,11 @@
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
pname = "privoxy";
|
||||
version = "4.0.0";
|
||||
version = "4.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/ijbswa/Sources/${version}%20%28stable%29/${pname}-${version}-stable-src.tar.gz";
|
||||
sha256 = "sha256-wI4roASTBwF7+dimPdKg37lqoM3rNK4Ad3bmPrpiom8=";
|
||||
sha256 = "sha256-I+RoblhIx0y2gMCcKBHwNXc57P5kH5xAcu5COZCSyXs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
buildInputs = [
|
||||
zlib
|
||||
pcre
|
||||
pcre2
|
||||
openssl
|
||||
brotli
|
||||
];
|
||||
|
||||
@@ -10884,14 +10884,6 @@ with pkgs;
|
||||
|
||||
zed-editor-fhs = zed-editor.fhs;
|
||||
|
||||
zgv = callPackage ../applications/graphics/zgv {
|
||||
# Enable the below line for terminal display. Note
|
||||
# that it requires sixel graphics compatible terminals like mlterm
|
||||
# or xterm -ti 340
|
||||
SDL = SDL_sixel;
|
||||
SDL_image = SDL_image.override { SDL = SDL_sixel; };
|
||||
};
|
||||
|
||||
zynaddsubfx-fltk = zynaddsubfx.override {
|
||||
guiModule = "fltk";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user