Merge staging-next into staging
This commit is contained in:
@@ -217,6 +217,38 @@ Not everything has been migrated to this format yet.
|
||||
Please always use it for new content.
|
||||
When changing existing content, update formatting if possible, but avoid excessive diffs.
|
||||
|
||||
### Examples first
|
||||
|
||||
Readers look at examples first: an example communicates what something does faster than a description.
|
||||
Put examples before detailed explanations.
|
||||
|
||||
Prefer this structure for each documented item:
|
||||
|
||||
1. Title
|
||||
2. Abstract (optional, one sentence max, the example often speaks for itself)
|
||||
3. Example
|
||||
4. Explanation (details, edge cases, types, defaults)
|
||||
|
||||
For instance:
|
||||
|
||||
````markdown
|
||||
## `lib.toUpper`
|
||||
|
||||
Converts all characters in a string to uppercase.
|
||||
|
||||
:::{.example #ex-lib-toUpper}
|
||||
# Converting a string to uppercase
|
||||
```nix
|
||||
lib.toUpper "hello"
|
||||
=> "HELLO"
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
Only acts on ASCII characters.
|
||||
Unicode characters are passed through unchanged.
|
||||
````
|
||||
|
||||
### Writing Function Documentation
|
||||
|
||||
Function documentation is *reference documentation*, for which
|
||||
|
||||
+15
-6
@@ -1433,18 +1433,27 @@ let
|
||||
filterOverrides = defs: (filterOverrides' defs).values;
|
||||
|
||||
filterOverrides' =
|
||||
defs:
|
||||
let
|
||||
getPrio =
|
||||
def: if def.value._type or "" == "override" then def.value.priority else defaultOverridePriority;
|
||||
highestPrio = foldl' (prio: def: min (getPrio def) prio) 9999 defs;
|
||||
strip =
|
||||
def: if def.value._type or "" == "override" then def // { value = def.value.content; } else def;
|
||||
in
|
||||
{
|
||||
values = map strip (filter (def: getPrio def == highestPrio) defs);
|
||||
inherit highestPrio;
|
||||
};
|
||||
defs:
|
||||
# Optimize for the singleton case, equivalent to the `else` clause.
|
||||
if length defs == 1 then
|
||||
{
|
||||
values = map strip defs;
|
||||
highestPrio = getPrio (head defs);
|
||||
}
|
||||
else
|
||||
let
|
||||
highestPrio = foldl' (prio: def: min (getPrio def) prio) 9999 defs;
|
||||
in
|
||||
{
|
||||
values = concatMap (def: if getPrio def == highestPrio then [ (strip def) ] else [ ]) defs;
|
||||
inherit highestPrio;
|
||||
};
|
||||
|
||||
/**
|
||||
Sort a list of properties. The sort priority of a property is
|
||||
|
||||
+41
-41
@@ -4,8 +4,11 @@
|
||||
|
||||
let
|
||||
inherit (lib)
|
||||
all
|
||||
elem
|
||||
flip
|
||||
hasContext
|
||||
functionArgs
|
||||
isAttrs
|
||||
isBool
|
||||
isDerivation
|
||||
@@ -13,8 +16,10 @@ let
|
||||
isFunction
|
||||
isInt
|
||||
isList
|
||||
isString
|
||||
isPath
|
||||
isStorePath
|
||||
isString
|
||||
substring
|
||||
throwIf
|
||||
toDerivation
|
||||
toList
|
||||
@@ -22,7 +27,6 @@ let
|
||||
;
|
||||
inherit (lib.lists)
|
||||
concatLists
|
||||
count
|
||||
elemAt
|
||||
filter
|
||||
foldl'
|
||||
@@ -72,6 +76,7 @@ let
|
||||
unions
|
||||
empty
|
||||
;
|
||||
inherit (lib.path) hasStorePathPrefix;
|
||||
|
||||
inAttrPosSuffix =
|
||||
v: name:
|
||||
@@ -107,10 +112,15 @@ let
|
||||
|
||||
checkDefsForError =
|
||||
check: loc: defs:
|
||||
let
|
||||
invalidDefs = filter (def: !check def.value) defs;
|
||||
in
|
||||
if invalidDefs != [ ] then { message = "Definition values: ${showDefs invalidDefs}"; } else null;
|
||||
if all (def: check def.value) defs then
|
||||
null
|
||||
else
|
||||
let
|
||||
invalidDefs = filter (def: !check def.value) defs;
|
||||
in
|
||||
{
|
||||
message = "Definition values: ${showDefs invalidDefs}";
|
||||
};
|
||||
|
||||
# Check that a type with v2 merge has a coherent check attribute.
|
||||
# Throws an error if the type uses an ad-hoc `type // { check }` override.
|
||||
@@ -653,10 +663,7 @@ rec {
|
||||
let
|
||||
res = mergeOneOption loc defs;
|
||||
in
|
||||
if builtins.isPath res || (builtins.isString res && !builtins.hasContext res) then
|
||||
toDerivation res
|
||||
else
|
||||
res;
|
||||
if isPath res || (isString res && !hasContext res) then toDerivation res else res;
|
||||
};
|
||||
|
||||
shellPackage = package // {
|
||||
@@ -714,15 +721,15 @@ rec {
|
||||
check =
|
||||
x:
|
||||
let
|
||||
isInStore = lib.path.hasStorePathPrefix (
|
||||
if builtins.isPath x then
|
||||
isInStore = hasStorePathPrefix (
|
||||
if isPath x then
|
||||
x
|
||||
# Discarding string context is necessary to convert the value to
|
||||
# a path and safe as the result is never used in any derivation.
|
||||
else
|
||||
/. + builtins.unsafeDiscardStringContext x
|
||||
);
|
||||
isAbsolute = builtins.substring 0 1 (toString x) == "/";
|
||||
isAbsolute = substring 0 1 (toString x) == "/";
|
||||
isExpectedType = (
|
||||
if inStore == null || inStore then isStringLike x else isString x # Do not allow a true path, which could be copied to the store later on.
|
||||
);
|
||||
@@ -1078,14 +1085,14 @@ rec {
|
||||
merge =
|
||||
loc: defs:
|
||||
let
|
||||
nrNulls = count (def: def.value == null) defs;
|
||||
nulls = filter (def: def.value == null) defs;
|
||||
in
|
||||
if nrNulls == length defs then
|
||||
if nulls == [ ] then
|
||||
elemType.merge loc defs
|
||||
else if length nulls == length defs then
|
||||
null
|
||||
else if nrNulls != 0 then
|
||||
throw "The option `${showOption loc}` is defined both null and not null, in ${showFiles (getFiles defs)}."
|
||||
else
|
||||
elemType.merge loc defs;
|
||||
throw "The option `${showOption loc}` is defined both null and not null, in ${showFiles (getFiles defs)}.";
|
||||
emptyValue = {
|
||||
value = null;
|
||||
};
|
||||
@@ -1109,9 +1116,7 @@ rec {
|
||||
check = isFunction;
|
||||
merge = loc: defs: {
|
||||
# An argument attribute has a default when it has a default in all definitions
|
||||
__functionArgs = lib.zipAttrsWith (_: lib.all (x: x)) (
|
||||
lib.map (fn: lib.functionArgs fn.value) defs
|
||||
);
|
||||
__functionArgs = zipAttrsWith (_: all (x: x)) (map (fn: functionArgs fn.value) defs);
|
||||
__functor =
|
||||
_: callerArgs:
|
||||
(mergeDefinitions (loc ++ [ "<function body>" ]) elemType (
|
||||
@@ -1513,11 +1518,11 @@ rec {
|
||||
self: loc: defs:
|
||||
(self.v2 { inherit loc defs; }).value;
|
||||
v2 =
|
||||
{ loc, defs }:
|
||||
{ loc, defs }@args:
|
||||
let
|
||||
t1CheckedAndMerged =
|
||||
if t1.merge ? v2 then
|
||||
checkV2MergeCoherence loc t1 (t1.merge.v2 { inherit loc defs; })
|
||||
checkV2MergeCoherence loc t1 (t1.merge.v2 args)
|
||||
else
|
||||
{
|
||||
value = t1.merge loc defs;
|
||||
@@ -1526,7 +1531,7 @@ rec {
|
||||
};
|
||||
t2CheckedAndMerged =
|
||||
if t2.merge ? v2 then
|
||||
checkV2MergeCoherence loc t2 (t2.merge.v2 { inherit loc defs; })
|
||||
checkV2MergeCoherence loc t2 (t2.merge.v2 args)
|
||||
else
|
||||
{
|
||||
value = t2.merge loc defs;
|
||||
@@ -1560,7 +1565,7 @@ rec {
|
||||
typeMerge =
|
||||
f':
|
||||
let
|
||||
mt1 = t1.typeMerge (elemAt f'.payload.elemType 0).functor;
|
||||
mt1 = t1.typeMerge (head f'.payload.elemType).functor;
|
||||
mt2 = t2.typeMerge (elemAt f'.payload.elemType 1).functor;
|
||||
in
|
||||
if (name == f'.name) && (mt1 != null) && (mt2 != null) then functor.type mt1 mt2 else null;
|
||||
@@ -1580,9 +1585,8 @@ rec {
|
||||
let
|
||||
head' =
|
||||
if ts == [ ] then throw "types.oneOf needs to get at least one type in its argument" else head ts;
|
||||
tail' = tail ts;
|
||||
in
|
||||
foldl' either head' tail';
|
||||
foldl' either head' (tail ts);
|
||||
|
||||
# Either value of type `coercedType` or `finalType`, the former is
|
||||
# converted to `finalType` using `coerceFunc`.
|
||||
@@ -1613,19 +1617,15 @@ rec {
|
||||
def
|
||||
// {
|
||||
value =
|
||||
let
|
||||
merged =
|
||||
if coercedType.merge ? v2 then
|
||||
checkV2MergeCoherence loc coercedType (
|
||||
coercedType.merge.v2 {
|
||||
inherit loc;
|
||||
defs = [ def ];
|
||||
}
|
||||
)
|
||||
else
|
||||
null;
|
||||
in
|
||||
if coercedType.merge ? v2 then
|
||||
let
|
||||
merged = checkV2MergeCoherence loc coercedType (
|
||||
coercedType.merge.v2 {
|
||||
inherit loc;
|
||||
defs = [ def ];
|
||||
}
|
||||
);
|
||||
in
|
||||
if merged.headError == null then coerceFunc def.value else def.value
|
||||
else if coercedType.check def.value then
|
||||
coerceFunc def.value
|
||||
@@ -1683,9 +1683,9 @@ rec {
|
||||
self: loc: defs:
|
||||
(self.v2 { inherit loc defs; }).value;
|
||||
v2 =
|
||||
{ loc, defs }:
|
||||
{ loc, defs }@args:
|
||||
let
|
||||
orig = checkV2MergeCoherence loc elemType (elemType.merge.v2 { inherit loc defs; });
|
||||
orig = checkV2MergeCoherence loc elemType (elemType.merge.v2 args);
|
||||
headError' = if orig.headError != null then orig.headError else checkDefsForError check loc defs;
|
||||
in
|
||||
orig
|
||||
|
||||
@@ -5552,6 +5552,12 @@
|
||||
githubId = 32609395;
|
||||
name = "B YI";
|
||||
};
|
||||
coolcuber = {
|
||||
email = "rpgeorg@clemson.edu";
|
||||
github = "coolcuber";
|
||||
githubId = 35880825;
|
||||
name = "Ross George";
|
||||
};
|
||||
coolGi = {
|
||||
email = "me@coolgi.dev";
|
||||
github = "coolGi69";
|
||||
|
||||
@@ -40,6 +40,17 @@ in
|
||||
|
||||
systemd.packages = [ cfg.package ];
|
||||
|
||||
# Restarting the compositor kills the graphical session; same
|
||||
# treatment as the display-manager modules.
|
||||
systemd.user.services.niri = {
|
||||
restartIfChanged = false;
|
||||
# Defining the unit here generates a drop-in; without this it
|
||||
# would carry the NixOS default Environment="PATH=coreutils:…",
|
||||
# clobbering the PATH that niri-session imported into the user
|
||||
# manager and breaking spawn actions that rely on it.
|
||||
enableDefaultPath = false;
|
||||
};
|
||||
|
||||
xdg.portal = {
|
||||
enable = lib.mkDefault true;
|
||||
|
||||
|
||||
@@ -441,18 +441,6 @@ let
|
||||
chown -R ${user}:${data.group} "$fixpath"
|
||||
fi
|
||||
done
|
||||
|
||||
${lib.optionalString (data.webroot != null) ''
|
||||
# Ensure the webroot exists. Fixing group is required in case configuration was changed between runs.
|
||||
# Lego will fail if the webroot does not exist at all.
|
||||
(
|
||||
mkdir -p '${data.webroot}/.well-known/acme-challenge' \
|
||||
&& chgrp '${data.group}' ${data.webroot}/.well-known/acme-challenge
|
||||
) || (
|
||||
echo 'Please ensure ${data.webroot}/.well-known/acme-challenge exists and is writable by acme:${data.group}' \
|
||||
&& exit 1
|
||||
)
|
||||
''}
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -1277,6 +1265,21 @@ in
|
||||
) (lib.groupBy (conf: conf.accountHash) (lib.attrValues certConfigs));
|
||||
in
|
||||
accountTargets;
|
||||
|
||||
systemd.tmpfiles.settings."10-acme" =
|
||||
lib.genAttrs
|
||||
(lib.concatMap (dir: [
|
||||
dir
|
||||
(dir + "/.well-known")
|
||||
(dir + "/.well-known/acme-challenge")
|
||||
]) webroots)
|
||||
(dir: {
|
||||
"d" = {
|
||||
inherit user;
|
||||
group = "acme";
|
||||
mode = "0755";
|
||||
};
|
||||
});
|
||||
})
|
||||
];
|
||||
|
||||
|
||||
@@ -44,6 +44,10 @@ let
|
||||
defaultSessionName = config.services.displayManager.defaultSession;
|
||||
|
||||
setSessionScript = pkgs.callPackage ../x11/display-managers/account-service-util.nix { };
|
||||
|
||||
greeterEnvFile = pkgs.writeText "gdm-greeter-env" ''
|
||||
DCONF_PROFILE=gdm
|
||||
'';
|
||||
in
|
||||
|
||||
{
|
||||
@@ -452,6 +456,12 @@ in
|
||||
settings.conffile = "/etc/pam/environment";
|
||||
settings.readenv = 0;
|
||||
}
|
||||
{
|
||||
name = "env-greeter";
|
||||
control = "required";
|
||||
modulePath = "${config.security.pam.package}/lib/security/pam_env.so";
|
||||
settings.envfile = greeterEnvFile;
|
||||
}
|
||||
{
|
||||
name = "systemd";
|
||||
control = "optional";
|
||||
|
||||
@@ -21,26 +21,26 @@ vscode-utils.buildVscodeMarketplaceExtension (finalAttrs: {
|
||||
sources = {
|
||||
"x86_64-linux" = {
|
||||
arch = "linux-x64";
|
||||
hash = "sha256-6mLUxHFQOlDRsNrmS8HoczrxhBxKMnku47SZzLCW87k=";
|
||||
hash = "sha256-av844ENiMjenpHu5HOFHotAZ2OcZETpuxhfrKW/GYRk=";
|
||||
};
|
||||
"aarch64-linux" = {
|
||||
arch = "linux-arm64";
|
||||
hash = "sha256-x5HBuPHDH81gXoCAA0UhsyDfKmq37C7FauAMDTXsVv0=";
|
||||
hash = "sha256-LKGZ2TWJWVhn2D6NmQFszB3B/kf3FJd6+PR6ZZ2r1Hc=";
|
||||
};
|
||||
"x86_64-darwin" = {
|
||||
arch = "darwin-x64";
|
||||
hash = "sha256-geBnM2AmZPSmxF6uHGNysRM7ujx3tluda6yYW5nzaXQ=";
|
||||
hash = "sha256-n/wWN6SeRPUTX2X/0eXDRUy4UM0nYT3Yk8gVxy4wyXc=";
|
||||
};
|
||||
"aarch64-darwin" = {
|
||||
arch = "darwin-arm64";
|
||||
hash = "sha256-13LvDqpmzYmRi2EugJH1t7h6azzGcJAusOSMXcnXC40=";
|
||||
hash = "sha256-oW16SY7D7q6/3PyWSBz04/JU1T8x6DnIkTe3+T/RSzY=";
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
name = "claude-code";
|
||||
publisher = "anthropic";
|
||||
version = "2.1.138";
|
||||
version = "2.1.140";
|
||||
}
|
||||
// sources.${stdenvNoCC.hostPlatform.system}
|
||||
or (throw "Unsupported system ${stdenvNoCC.hostPlatform.system}");
|
||||
|
||||
@@ -191,11 +191,11 @@
|
||||
"vendorHash": "sha256-jK7JuARpoxq7hvq5+vTtUwcYot0YqlOZdtDwq4IqKvk="
|
||||
},
|
||||
"cloudamqp_cloudamqp": {
|
||||
"hash": "sha256-AUoXyFw5GL8wSYVfi4GZp/nhJd6VRusyKgw1B3J/LL8=",
|
||||
"hash": "sha256-LAQ5MVZe4OSIJb7X6gdx1lPmgAEKZIm/7lL/93NTP6I=",
|
||||
"homepage": "https://registry.terraform.io/providers/cloudamqp/cloudamqp",
|
||||
"owner": "cloudamqp",
|
||||
"repo": "terraform-provider-cloudamqp",
|
||||
"rev": "v1.45.2",
|
||||
"rev": "v1.45.3",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-59bhibkok4w7dLTf96jZGk2di6TpR6IAqp0i3xmtlyI="
|
||||
},
|
||||
@@ -1310,11 +1310,11 @@
|
||||
"vendorHash": "sha256-omxEb+ntQuHDfS2Rmt0rj0BF0Q2T8DLhobLua2uU/0o="
|
||||
},
|
||||
"tencentcloudstack_tencentcloud": {
|
||||
"hash": "sha256-0P8NdAc4X7fpjHHdB7aGw3syOqdOyM6GVhWRLhFShVs=",
|
||||
"hash": "sha256-to2TJTBboMLMuPLOR6VmeFhRHkIKtcKJThvwhjfcgHM=",
|
||||
"homepage": "https://registry.terraform.io/providers/tencentcloudstack/tencentcloud",
|
||||
"owner": "tencentcloudstack",
|
||||
"repo": "terraform-provider-tencentcloud",
|
||||
"rev": "v1.82.91",
|
||||
"rev": "v1.82.93",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": null
|
||||
},
|
||||
|
||||
@@ -13,13 +13,13 @@ let
|
||||
mkHyprlandPlugin,
|
||||
}:
|
||||
let
|
||||
version = "0.53.0";
|
||||
version = "0.55.0";
|
||||
|
||||
hyprland-plugins-src = fetchFromGitHub {
|
||||
owner = "hyprwm";
|
||||
repo = "hyprland-plugins";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-BSRT1Uu1ot4WfMfZc6KW0nwpmt2xl9wpUqmH/JoMTfk=";
|
||||
hash = "sha256-WMUJ7tyw/9QbKUyRzLndEQSqX05fQLmFlRdMAmPD7tI=";
|
||||
};
|
||||
in
|
||||
mkHyprlandPlugin {
|
||||
@@ -41,12 +41,7 @@ let
|
||||
borders-plus-plus = "multiple borders";
|
||||
csgo-vulkan-fix = "CS:GO/CS2 Vulkan fix";
|
||||
hyprbars = "window title";
|
||||
hyprexpo = "workspaces overview";
|
||||
hyprfocus = "flashfocus";
|
||||
hyprscrolling = "scrolling layout";
|
||||
hyprtrails = "smooth trails behind moving windows";
|
||||
hyprwinwrap = "xwinwrap-like";
|
||||
xtra-dispatchers = "extra dispatchers";
|
||||
};
|
||||
in
|
||||
hyprland-plugins
|
||||
|
||||
@@ -11,13 +11,17 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "android-file-transfer";
|
||||
version = "4.5";
|
||||
version = "4.5-unstable-2026-04-17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "whoozle";
|
||||
repo = "android-file-transfer-linux";
|
||||
tag = "v${finalAttrs.version}";
|
||||
sha256 = "sha256-G+ErwZ/F8Cl8WLSzC+5LrEWWqNZL3xDMBvx/gjkgAXk=";
|
||||
# tag = "v${finalAttrs.version}";
|
||||
# Switch to unreleased version for recent fixes, especially to fix the build on Darwin
|
||||
# https://github.com/whoozle/android-file-transfer-linux/pull/360
|
||||
# TODO: Switch back when the next version releases
|
||||
rev = "88926930db41238c7b4d7237fc5849b9586cc7b8";
|
||||
sha256 = "sha256-rk1QXq8JiLRZu+dz9HvWkOj5JyaLMXzTybByl46obE8=";
|
||||
};
|
||||
|
||||
patches = [ ./darwin-dont-vendor-dependencies.patch ];
|
||||
|
||||
@@ -10,16 +10,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "aube";
|
||||
version = "1.8.0";
|
||||
version = "1.9.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "endevco";
|
||||
repo = "aube";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-GiWg0f1LMGH0yEr97w2+p6CpC9zv4ZmP19gMsBlc+8w=";
|
||||
hash = "sha256-uwOEou6DH+bePNupYKmTc82xQV9T08bDmSPG9RU9yBk=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-0L8bPxICB816zjZ6k98gg9isHocbb2oSAtDi8o7rG3U=";
|
||||
cargoHash = "sha256-CBI44O2iMwdMym+ZOO9MvJQ73n+12J6FjzIXAOQTGT0=";
|
||||
|
||||
nativeBuildInputs = [ cmake ]; # libz-ng-sys
|
||||
|
||||
|
||||
@@ -6,16 +6,16 @@
|
||||
}:
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "batmon";
|
||||
version = "0.0.1";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "6543";
|
||||
repo = "batmon";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-+kjDNQKlaoI5fQ5FqYF6IPCKeE92WKxIhVCKafqfE0o=";
|
||||
hash = "sha256-3k788ckEkHi4jlSzKCebFyLJJ+UtkMERuvHInkXvSyQ=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-0SXb8jBAYKnNFguamSMosPE6gH9aUzydF16w3SLhOU4=";
|
||||
cargoHash = "sha256-F0lC7ELvuRCnvTWrtTEedb9j8SF2Al6XXx0PJqa7E98=";
|
||||
|
||||
meta = {
|
||||
description = "Interactive batteries viewer";
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
cmake,
|
||||
elfutils,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
flex,
|
||||
iperf,
|
||||
lib,
|
||||
@@ -43,6 +44,12 @@ python3Packages.buildPythonApplication rec {
|
||||
(replaceVars ./absolute-ausyscall.patch {
|
||||
ausyscall = lib.getExe' audit "ausyscall";
|
||||
})
|
||||
|
||||
(fetchpatch {
|
||||
# https://github.com/iovisor/bcc/issues/5501
|
||||
url = "https://github.com/iovisor/bcc/commit/c3f35ecca18b1ce926bd272f60f6d4465656a80b.patch";
|
||||
hash = "sha256-Fr5SqDUpQzZj8yPST0V1QExNMCSoRbOXG5ZaChDXTZQ=";
|
||||
})
|
||||
];
|
||||
|
||||
build-system = [ python3Packages.setuptools ];
|
||||
|
||||
@@ -9,10 +9,10 @@
|
||||
}:
|
||||
let
|
||||
pname = "beeper";
|
||||
version = "4.2.785";
|
||||
version = "4.2.808";
|
||||
src = fetchurl {
|
||||
url = "https://beeper-desktop.download.beeper.com/builds/Beeper-${version}-x86_64.AppImage";
|
||||
hash = "sha256-KUFFuiZY2nopzhSendRXAR4O9G71J/WeHkQmuvi+rsE=";
|
||||
hash = "sha256-ql5WkKVgQiKIHkNKd805xFezsvoW+8dqXx6MzfsxceM=";
|
||||
};
|
||||
appimageContents = appimageTools.extract {
|
||||
inherit pname version src;
|
||||
|
||||
@@ -33,13 +33,13 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "chez-scheme";
|
||||
version = "10.4.0";
|
||||
version = "10.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cisco";
|
||||
repo = "ChezScheme";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-eZws5ezk5nCZglVBvdhOGp5CnfwiHTAGPb6+w+BHemk=";
|
||||
hash = "sha256-7b7I+g4h05BRI2lLAlwlIBw5KxKAai1lU8TESACaSYg=";
|
||||
# Vendored nanopass and stex
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
@@ -1,47 +1,47 @@
|
||||
{
|
||||
"version": "2.1.138",
|
||||
"commit": "d6d494651eb469be2ff763ef8d1b882aba8ca635",
|
||||
"buildDate": "2026-05-09T04:12:33Z",
|
||||
"version": "2.1.140",
|
||||
"commit": "89b4b3854fac52fdb8f9970133c4afe00174b6b9",
|
||||
"buildDate": "2026-05-12T18:36:21Z",
|
||||
"platforms": {
|
||||
"darwin-arm64": {
|
||||
"binary": "claude",
|
||||
"checksum": "759d23ce626193c89bc8b35c5c6ca8a9e33b9c2e504ee143e4cd119988774097",
|
||||
"size": 205062416
|
||||
"checksum": "087ce732fb79658cd3e828cc377291dc56835fc5318cd519123b0880a09149c0",
|
||||
"size": 206069664
|
||||
},
|
||||
"darwin-x64": {
|
||||
"binary": "claude",
|
||||
"checksum": "d99d3a7afd63841943906b11ed8791b0ee47fe5cf95601a8b805c20900014f54",
|
||||
"size": 207568336
|
||||
"checksum": "2616b1e775ec0520228cd99135d07ef99e4b93b4532a03ef019e0a8e81cc7729",
|
||||
"size": 208583824
|
||||
},
|
||||
"linux-arm64": {
|
||||
"binary": "claude",
|
||||
"checksum": "693ecca41a62d58fee660884bd982ca5cdeab5b277925fcdfe880cdf02f98671",
|
||||
"size": 230471304
|
||||
"checksum": "0ec6fc062e99aa95a6edbb5308a563262d27a0772b107d01d4fa61110fb44472",
|
||||
"size": 231454344
|
||||
},
|
||||
"linux-x64": {
|
||||
"binary": "claude",
|
||||
"checksum": "c3c56ffbc12cf16e40c33687c9fe6361ed250c35a9e1718d0c38d49049f5f8c3",
|
||||
"size": 230577872
|
||||
"checksum": "807a5d6ca063f5e03e4b7283934036a3122723b28c28e1a6978e98cf2d43d0b5",
|
||||
"size": 231577296
|
||||
},
|
||||
"linux-arm64-musl": {
|
||||
"binary": "claude",
|
||||
"checksum": "55652a05de92d2e374b5252834f013263df92450f0d9d43dbb7594fc33f448d4",
|
||||
"size": 223326040
|
||||
"checksum": "b840a07551c3e1baecff728eb6b9a849483be87bf1fdaed5da22d0b3427a88cf",
|
||||
"size": 224309080
|
||||
},
|
||||
"linux-x64-musl": {
|
||||
"binary": "claude",
|
||||
"checksum": "98c58173ea8237177ba82655c179b5ca9d2b011ecfb42e8fd5f7e1f227dac81b",
|
||||
"size": 224971824
|
||||
"checksum": "7db8946293de9ec11d2b02472f715f18ea9a346238d472605b5d9a4dc7bfd3f1",
|
||||
"size": 225971248
|
||||
},
|
||||
"win32-x64": {
|
||||
"binary": "claude.exe",
|
||||
"checksum": "dc693422b5323196042459ce3eeb6d4b8dcded302ec30f4fad4c10340231f708",
|
||||
"size": 226494624
|
||||
"checksum": "fcfe90297861b1bcfa581d7db645ec8a71984baed3b1c44d28032650baa2617c",
|
||||
"size": 227456160
|
||||
},
|
||||
"win32-arm64": {
|
||||
"binary": "claude.exe",
|
||||
"checksum": "ebf483b9cee98d13f65f9ea16ac5bdeaef3a6dae8f203242cc84379cda3308f0",
|
||||
"size": 222451872
|
||||
"checksum": "3f782467ec6e593a5e23522b678cf4268965e4ec6fe904e41729a12d64232c40",
|
||||
"size": 223420576
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,16 +11,16 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "clouddrive2";
|
||||
version = "1.0.6";
|
||||
version = "1.0.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/cloud-fs/cloud-fs.github.io/releases/download/v${finalAttrs.version}/clouddrive-2-${os}-${arch}-${finalAttrs.version}.tgz";
|
||||
hash =
|
||||
{
|
||||
x86_64-linux = "sha256-MFZIJIcDPnNcgMWqHsnb2fSjfHySvOwq5PNyLcyCeYE=";
|
||||
aarch64-linux = "sha256-Zh1MwZjYTWxGn9qWrDjTPwj+6uQ8m2FkwGlalaarGHg=";
|
||||
x86_64-darwin = "sha256-quwflRL3YYc+gK4I6g7o853tbow/LRwxx0L7IXU3ijM=";
|
||||
aarch64-darwin = "sha256-ebp15M1pWci+tvYtH1lp7syqNrj6ku4558TJSdaLf3I=";
|
||||
x86_64-linux = "sha256-wVbCEluFyanoMy1wir87ahRdop7C4lILIn2jB5B29+M=";
|
||||
aarch64-linux = "sha256-HzFg9LXdYO1bGpah5pg/xmv+/7cuVCnNsrin28Yc/OQ=";
|
||||
x86_64-darwin = "sha256-Uqo6hVan4+F3DPxoHjIg53wDV9naT9h6+EiEkCJBb7o=";
|
||||
aarch64-darwin = "sha256-jzCZeGq0fDnsCTGSNG0nOBGIUDBAn/D/TD2Iz5K8O3w=";
|
||||
}
|
||||
.${stdenv.hostPlatform.system} or (throw "unsupported system ${stdenv.hostPlatform.system}");
|
||||
};
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -5,9 +5,10 @@
|
||||
#########################################################################
|
||||
|
||||
# compilers & flags
|
||||
-CC := g++
|
||||
+CC ?= gcc
|
||||
+CXX ?= g++
|
||||
CFLAGS := -O3
|
||||
-LD := g++
|
||||
+LD := $(CXX)
|
||||
# Note: (1) If you want to enforce 32-bit or 64-bit compilation,
|
||||
# add "-m32" or "-m64" to both CFLAGS and LDFLAGS.
|
||||
# (2) If you want to enforce a static linking of all libraries
|
||||
@@ -35,7 +36,7 @@ vpath %.cpp $(COHOMCALG_SRC_DIR)
|
||||
# macros for .c/.cpp dirs
|
||||
define make-goal-cpp
|
||||
$1/%.o: %.cpp
|
||||
- $(CC) $(INCLUDES) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) -c $$< -o $$@
|
||||
+ $(CXX) $(INCLUDES) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) -c $$< -o $$@
|
||||
endef
|
||||
|
||||
define make-goal-c
|
||||
@@ -0,0 +1,53 @@
|
||||
{
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
lib,
|
||||
stdenv,
|
||||
|
||||
versionCheckHook,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "cohomcalg";
|
||||
version = "0.32";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "BenjaminJurke";
|
||||
repo = "cohomCalg";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-9kKKfb8STiCjaHiWgYEQsERNTnOXlwN8axIBJHg43zk=";
|
||||
};
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/BenjaminJurke/cohomCalg/commit/7aa864b5655c91eb2afc79c419bbf2bf8a4f791b.diff";
|
||||
hash = "sha256-JteQ3m2ELmMHaWCN9Sm954KKDn0ax8TywtbQ3dBWk80=";
|
||||
})
|
||||
./fix-compilers.patch
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -D bin/cohomcalg $out/bin/cohomcalg
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
nativeInstallCheckInputs = [
|
||||
versionCheckHook
|
||||
];
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
meta = {
|
||||
mainProgram = "cohomcalg";
|
||||
description = "Software package for computation of sheaf cohomologies for line bundles on toric varieties";
|
||||
homepage = "https://github.com/BenjaminJurke/cohomCalg";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ coolcuber ];
|
||||
};
|
||||
})
|
||||
@@ -1,57 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
installShellFiles,
|
||||
testers,
|
||||
copilot-cli,
|
||||
}:
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "copilot-cli";
|
||||
version = "1.34.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aws";
|
||||
repo = "copilot-cli";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-Oxt1+0z+woNPsFuCkj4t71/e21mHtoCd281BwbHCGc8=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-ZdYuQAdjzvxxqKHoiHfhfJff3OfEE7ciIGcX1W3jVXY=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
# follow LINKER_FLAGS in Makefile
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/aws/copilot-cli/internal/pkg/version.Version=v${finalAttrs.version}"
|
||||
"-X github.com/aws/copilot-cli/internal/pkg/cli.binaryS3BucketPath=https://ecs-cli-v2-release.s3.amazonaws.com"
|
||||
];
|
||||
|
||||
subPackages = [ "./cmd/copilot" ];
|
||||
|
||||
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||
installShellCompletion --cmd copilot \
|
||||
--bash <($out/bin/copilot completion bash) \
|
||||
--fish <($out/bin/copilot completion fish) \
|
||||
--zsh <($out/bin/copilot completion zsh)
|
||||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = copilot-cli;
|
||||
command = "copilot version";
|
||||
version = "v${finalAttrs.version}";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Build, Release and Operate Containerized Applications on AWS";
|
||||
homepage = "https://github.com/aws/copilot-cli";
|
||||
changelog = "https://github.com/aws/copilot-cli/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ jiegec ];
|
||||
mainProgram = "copilot";
|
||||
};
|
||||
})
|
||||
@@ -23,13 +23,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "createrepo_c";
|
||||
version = "1.2.1";
|
||||
version = "1.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rpm-software-management";
|
||||
repo = "createrepo_c";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-2mvU2F9rvG4FtDgq+M9VXWg+c+AsW/+tDPaEj7zVmQ0=";
|
||||
hash = "sha256-0+TnRLrQM3/rfLTkj5zHlXRXq/4n4OvkZgIRC5+XGS4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -39,7 +39,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
--replace-fail "EXECUTE_PROCESS(COMMAND \''${PYTHON_EXECUTABLE} -c \"from sys import stdout; from sysconfig import get_path; stdout.write(get_path('platlib'))\" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)" "SET(PYTHON_INSTALL_DIR \"$out/${python3.sitePackages}\")"
|
||||
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail "CMAKE_MINIMUM_REQUIRED (VERSION 2.8.12)" "cmake_minimum_required(VERSION 3.10)"
|
||||
--replace-fail "CMAKE_MINIMUM_REQUIRED (VERSION 3.7)" "cmake_minimum_required(VERSION 3.10)"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -48,6 +48,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
pkg-config
|
||||
rpm
|
||||
bash-completion
|
||||
python3.pkgs.setuptools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
||||
@@ -3,35 +3,40 @@
|
||||
fetchurl,
|
||||
stdenv,
|
||||
autoPatchelfHook,
|
||||
zlib,
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (stdenv) hostPlatform;
|
||||
sources = {
|
||||
x86_64-linux = fetchurl {
|
||||
url = "https://downloads.cursor.com/lab/2026.04.08-a41fba1/linux/x64/agent-cli-package.tar.gz";
|
||||
hash = "sha256-zHNiy5I61cN6BpfRv1TozdRk+2R/RNxIanCPkwqdfZE=";
|
||||
url = "https://downloads.cursor.com/lab/2026.05.07-42ddaca/linux/x64/agent-cli-package.tar.gz";
|
||||
hash = "sha256-BTYNvK4UGWL8skJDjFkyBsEjvoUxaxHAlEKtr7gsyhs=";
|
||||
};
|
||||
aarch64-linux = fetchurl {
|
||||
url = "https://downloads.cursor.com/lab/2026.04.08-a41fba1/linux/arm64/agent-cli-package.tar.gz";
|
||||
hash = "sha256-xcbIoTunBlL79SgE8h5PeT4HwguHY0UUQTiYdtppv7c=";
|
||||
url = "https://downloads.cursor.com/lab/2026.05.07-42ddaca/linux/arm64/agent-cli-package.tar.gz";
|
||||
hash = "sha256-C+JfqTdhDGTxz3rUWH0a+TdUvQq26wAPQ1qN/U2C/0o=";
|
||||
};
|
||||
x86_64-darwin = fetchurl {
|
||||
url = "https://downloads.cursor.com/lab/2026.04.08-a41fba1/darwin/x64/agent-cli-package.tar.gz";
|
||||
hash = "sha256-O9OoPaBBHAAazYnEvHSB8okyDHdEqMu1A0CbUwsw93I=";
|
||||
url = "https://downloads.cursor.com/lab/2026.05.07-42ddaca/darwin/x64/agent-cli-package.tar.gz";
|
||||
hash = "sha256-TI74gxQ1VgrSmMvUXXwTQv6ixlALnarYul9DRrU2Arc=";
|
||||
};
|
||||
aarch64-darwin = fetchurl {
|
||||
url = "https://downloads.cursor.com/lab/2026.04.08-a41fba1/darwin/arm64/agent-cli-package.tar.gz";
|
||||
hash = "sha256-TGyQxZbn5yGTjqqfrbKRGXCp9MhuEHSV6oNZOIEoZDA=";
|
||||
url = "https://downloads.cursor.com/lab/2026.05.07-42ddaca/darwin/arm64/agent-cli-package.tar.gz";
|
||||
hash = "sha256-b1WL8URL+xtVjxOtJI1W3gAWh3i3cIN98f3aeDX5JlM=";
|
||||
};
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "cursor-cli";
|
||||
version = "0-unstable-2026-04-08";
|
||||
version = "0-unstable-2026-05-07";
|
||||
|
||||
src = sources.${hostPlatform.system};
|
||||
|
||||
buildInputs = lib.optionals hostPlatform.isLinux [
|
||||
zlib
|
||||
];
|
||||
|
||||
nativeBuildInputs = lib.optionals hostPlatform.isLinux [
|
||||
autoPatchelfHook
|
||||
stdenv.cc.cc.lib
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "2.1.0";
|
||||
version = "2.1.1";
|
||||
devenvNixVersion = "2.34";
|
||||
devenvNixRev = "42d4b7de21c15f28c568410f4383fa06a8458a40";
|
||||
|
||||
@@ -49,11 +49,11 @@ rustPlatform.buildRustPackage {
|
||||
src = fetchFromGitHub {
|
||||
owner = "cachix";
|
||||
repo = "devenv";
|
||||
tag = "v2.1";
|
||||
hash = "sha256-U7rb9FufadyCBLLsxVY6AJfy6TN24+uwaBBh8JVOP8s=";
|
||||
tag = "v2.1.1";
|
||||
hash = "sha256-j+Vh1tQx+JQc6psaykHUX8rFpnHHvJdwHo4bVUswTxg=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-aONHe6r+lvXC45y6QeJ/tnVSHAYhy2IGuGWCrz+KVWc=";
|
||||
cargoHash = "sha256-rfZ4HAEDiEcNceZ0Pge7s7eOMBvqJkc4HB5vzRSCOWU=";
|
||||
|
||||
env = {
|
||||
RUSTFLAGS = "--cfg tracing_unstable";
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
gsasl,
|
||||
guile,
|
||||
python3,
|
||||
pcre,
|
||||
pcre2,
|
||||
libffi,
|
||||
groff,
|
||||
libxcrypt,
|
||||
@@ -36,7 +36,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
gsasl
|
||||
guile
|
||||
python3
|
||||
pcre
|
||||
pcre2
|
||||
libffi
|
||||
libxcrypt
|
||||
];
|
||||
|
||||
@@ -41,6 +41,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
./0002-fix_gcc15.patch
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace po/Makefile.in.in \
|
||||
--replace-fail '$(GMSGFMT) -c --statistics --verbose' '$(GMSGFMT) --statistics --verbose'
|
||||
'';
|
||||
|
||||
# run dopewars with -f so that it finds its scoreboard file in ~/.local/share
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/dopewars \
|
||||
|
||||
@@ -16,17 +16,18 @@
|
||||
libmad,
|
||||
libuuid,
|
||||
minizip,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "endless-sky";
|
||||
version = "0.11.0";
|
||||
version = "0.11.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "endless-sky";
|
||||
repo = "endless-sky";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-zeLM3n6pm5FxT+GO3dtJwDFKHs8boUuQBShU/PDCeFA=";
|
||||
hash = "sha256-QXLIHAAdpK6lvKv0471KsiB+B06RKUfYoUNYKi8NAlg=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -63,6 +64,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
minizip
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Sandbox-style space exploration game similar to Elite, Escape Velocity, or Star Control";
|
||||
mainProgram = "endless-sky";
|
||||
|
||||
@@ -11,16 +11,16 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "entire";
|
||||
version = "0.5.6";
|
||||
version = "0.6.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "entireio";
|
||||
repo = "cli";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-bedr0HldXTQJvyXXIsbJb6hMKzqDTz6dv4x0Lwjk13E=";
|
||||
hash = "sha256-VfuzYSFgH6cW80SYtkhaNeiNYFAOHbcFX9jdr/rDqSw=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-iG8Xc6y9gJ1DawTKYSpVlY7H97lZ9OsmvaOX6r0ATXo=";
|
||||
vendorHash = "sha256-GhFH/y781RIRZ7+r79Wsw8x0/ZmTnv0g9GHtESn5zSA=";
|
||||
|
||||
subPackages = [ "cmd/entire" ];
|
||||
|
||||
|
||||
@@ -10,13 +10,13 @@
|
||||
}:
|
||||
buildNpmPackage rec {
|
||||
pname = "factoriolab";
|
||||
version = "3.19.2";
|
||||
version = "3.20.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "factoriolab";
|
||||
repo = "factoriolab";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-DjNsn3PVGf+36m+k2j9NMQTqhPj8HF6V8wqaQKUB4Ho=";
|
||||
hash = "sha256-GQNDYURKJFeuXM2k99xk/5cRCoQglAUlDBS7V/NkC7s=";
|
||||
fetchLFS = true;
|
||||
};
|
||||
buildInputs = [ vips ];
|
||||
@@ -49,7 +49,7 @@ buildNpmPackage rec {
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/factoriolab/factoriolab";
|
||||
changelog = "https://github.com/factoriolab/factoriolab/releases/tag/${version}";
|
||||
changelog = "https://github.com/factoriolab/factoriolab/releases/tag/v${version}";
|
||||
description = "Angular-based calculator for factory games like Factorio and Dyson Sphere Program";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ patrickdag ];
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
dbus,
|
||||
dconf,
|
||||
ddcutil,
|
||||
enlightenment,
|
||||
glib,
|
||||
hwdata,
|
||||
imagemagick,
|
||||
@@ -47,6 +48,7 @@
|
||||
dbusSupport ? true,
|
||||
flashfetchSupport ? false,
|
||||
terminalSupport ? true,
|
||||
enlightenmentSupport ? true,
|
||||
gnomeSupport ? true,
|
||||
imageSupport ? true,
|
||||
openclSupport ? true,
|
||||
@@ -61,13 +63,13 @@
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "fastfetch";
|
||||
version = "2.62.1";
|
||||
version = "2.63.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fastfetch-cli";
|
||||
repo = "fastfetch";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-lI3p0LPDg5EXQ60NIYkpv0sNeckUdZjJSsmc2XP1l0E=";
|
||||
hash = "sha256-6c3vA8AFSfew1TdSeUmJ4mIbFyDaJPVWUc93iZyqRY0=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
@@ -123,6 +125,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
# Bluetooth, wifi, player & media detection
|
||||
dbus
|
||||
]
|
||||
++ lib.optionals enlightenmentSupport [
|
||||
# Eet support for reading Enlightenment window manager configuration.
|
||||
enlightenment.efl
|
||||
]
|
||||
++ lib.optionals gnomeSupport [
|
||||
# Needed for values that are only stored in DConf + Fallback for GSettings.
|
||||
dconf
|
||||
@@ -215,6 +221,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
(lib.cmakeBool "ENABLE_DBUS" dbusSupport)
|
||||
|
||||
(lib.cmakeBool "ENABLE_EET" enlightenmentSupport)
|
||||
|
||||
(lib.cmakeBool "ENABLE_ELF" terminalSupport)
|
||||
|
||||
(lib.cmakeBool "ENABLE_GIO" gnomeSupport)
|
||||
@@ -282,6 +290,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
* audioSupport: PulseAudio functionality
|
||||
* brightnessSupport: External display brightness detection via DDCUtil
|
||||
* dbusSupport: DBus functionality for Bluetooth, WiFi, player & media detection
|
||||
* enlightenmentSupport: Enlightenment configuration detection via EFL's Eet
|
||||
* flashfetchSupport: Build the flashfetch utility (default: false)
|
||||
* gnomeSupport: GNOME integration (dconf, dbus, gio)
|
||||
* imageSupport: Image rendering (chafa and imagemagick)
|
||||
|
||||
@@ -3,6 +3,7 @@ fastfetch.override {
|
||||
audioSupport = false;
|
||||
brightnessSupport = false;
|
||||
dbusSupport = false;
|
||||
enlightenmentSupport = false;
|
||||
flashfetchSupport = false;
|
||||
gnomeSupport = false;
|
||||
imageSupport = false;
|
||||
|
||||
@@ -20,25 +20,25 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "fedistar";
|
||||
version = "1.11.3";
|
||||
version = "1.13.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "h3poteto";
|
||||
repo = "fedistar";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Q2j6K4ys/z77+n3kdGJ15rWbFlbbIHBWB9hOARsgg2A=";
|
||||
hash = "sha256-Q2IfWeMV6yvmCmKBc/iufO28DyIIlj50wp9A7LbQcIY=";
|
||||
};
|
||||
|
||||
cargoRoot = "src-tauri";
|
||||
buildAndTestSubdir = "src-tauri";
|
||||
|
||||
cargoHash = "sha256-ZJgyrFDtzAH3XqDdnJ27Yn+WsTMrZR2+lnkZ6bw6hzg=";
|
||||
cargoHash = "sha256-eYPvG07V0DKPQfs6g+oayDcF3Xn74Aq52ZA+psyoSnY=";
|
||||
|
||||
pnpmDeps = fetchPnpmDeps {
|
||||
inherit (finalAttrs) pname version src;
|
||||
pnpm = pnpm_10;
|
||||
fetcherVersion = 3;
|
||||
hash = "sha256-IznO8PJZCr6MR3mShD+Uqk2ACx8mrxTVWRTbk81zFEc=";
|
||||
hash = "sha256-GnVBCrBCnS0Tl9jZu3poIZZJO2SRdlS8jOYUE9G+BFM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -62,12 +62,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
|
||||
doCheck = false; # This version's tests do not pass
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
"--subpackage"
|
||||
"fedistar-frontend"
|
||||
];
|
||||
};
|
||||
passthru.updateScript = nix-update-script { extraArgs = [ "--use-github-releases" ]; };
|
||||
|
||||
meta = {
|
||||
description = "Multi-column Fediverse client application for desktop";
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
|
||||
let
|
||||
pname = "fflogs";
|
||||
version = "9.3.6";
|
||||
version = "9.3.17";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/RPGLogs/Uploaders-fflogs/releases/download/v${version}/fflogs-v${version}.AppImage";
|
||||
hash = "sha256-zMnG5lU6+obPfc2l1C6IjQfk703SLlOHOtsAOsSdeas=";
|
||||
hash = "sha256-EYo65CerGE14kQadNIaVyANvyBig/yW1PfulAAE6dxo=";
|
||||
};
|
||||
extracted = appimageTools.extractType2 { inherit pname version src; };
|
||||
in
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
{
|
||||
"version": "12.13.0",
|
||||
"version": "12.14.0",
|
||||
"sources": {
|
||||
"aarch64-linux": {
|
||||
"url": "https://github.com/Floorp-Projects/Floorp/releases/download/v12.13.0/floorp-linux-aarch64.tar.xz",
|
||||
"sha256": "bd5b59386fc3957f065bc13813c1b392055f629012c303c6fbc264e29ffe5b09"
|
||||
"url": "https://github.com/Floorp-Projects/Floorp/releases/download/v12.14.0/floorp-linux-aarch64.tar.xz",
|
||||
"sha256": "741303a83ba272b035ba850f24dcb21e7300ec1a79f03d93523f794187a5a615"
|
||||
},
|
||||
"x86_64-linux": {
|
||||
"url": "https://github.com/Floorp-Projects/Floorp/releases/download/v12.13.0/floorp-linux-x86_64.tar.xz",
|
||||
"sha256": "d6a360d900bcd754e8c14cc382aaa7c00147a2e2692c62e924dcff1d64f20638"
|
||||
"url": "https://github.com/Floorp-Projects/Floorp/releases/download/v12.14.0/floorp-linux-x86_64.tar.xz",
|
||||
"sha256": "0fc3b7f192c9ae1def3a160c68a2dee42c8a0277c1b48deede0bd1f2dc69e317"
|
||||
},
|
||||
"aarch64-darwin": {
|
||||
"url": "https://github.com/Floorp-Projects/Floorp/releases/download/v12.13.0/floorp-macOS-universal.dmg",
|
||||
"sha256": "0c848d1a65fbabf94e226cdfd9fae4915aa6357e9262608b30140ff221d43ad1"
|
||||
"url": "https://github.com/Floorp-Projects/Floorp/releases/download/v12.14.0/floorp-macOS-universal.dmg",
|
||||
"sha256": "494d1a9dcbedd3430290ccb672a174acdafeb056860071fb26ecc9bf45137e3a"
|
||||
},
|
||||
"x86_64-darwin": {
|
||||
"url": "https://github.com/Floorp-Projects/Floorp/releases/download/v12.13.0/floorp-macOS-universal.dmg",
|
||||
"sha256": "0c848d1a65fbabf94e226cdfd9fae4915aa6357e9262608b30140ff221d43ad1"
|
||||
"url": "https://github.com/Floorp-Projects/Floorp/releases/download/v12.14.0/floorp-macOS-universal.dmg",
|
||||
"sha256": "494d1a9dcbedd3430290ccb672a174acdafeb056860071fb26ecc9bf45137e3a"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -93,6 +93,7 @@ flutter341.buildFlutterApplication (
|
||||
"Network"
|
||||
"InstantMessaging"
|
||||
];
|
||||
startupWMClass = "fluffychat";
|
||||
})
|
||||
];
|
||||
|
||||
|
||||
Generated
+610
-598
File diff suppressed because it is too large
Load Diff
@@ -32,13 +32,13 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "freerouting";
|
||||
version = "2.2.2";
|
||||
version = "2.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "freerouting";
|
||||
repo = "freerouting";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-WhEofQs3TwnhB9fSROPQfWd1PHCDoH790lV54ujlmX4=";
|
||||
hash = "sha256-e9aqMYvWp/xfY+g5viH4vyOfl/JhNxMIIUKTy/8aIXs=";
|
||||
};
|
||||
|
||||
gradleBuildTask = "dist";
|
||||
@@ -60,9 +60,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
gradleFlags = [ "--no-configuration-cache" ];
|
||||
|
||||
postPatch = ''
|
||||
# The rewrite-gradle plugin breaks the nixDownloadDeps task injected by fetchDeps
|
||||
substituteInPlace build.gradle \
|
||||
--replace-fail "rewrite 'org.openrewrite.recipe:rewrite-gradle:2.3.0'" ""
|
||||
# Disable telemetry and contact options by default
|
||||
substituteInPlace src/main/java/app/freerouting/settings/UserProfileSettings.java \
|
||||
--replace-fail 'public Boolean isTelemetryAllowed = true;' 'public Boolean isTelemetryAllowed = false;'
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
|
||||
gmp,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "frobby";
|
||||
version = "0.9.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Macaulay2";
|
||||
repo = "frobby";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-LndLfORnypLqFgNMPEJ8jc2Fa2xWWgYS9rZ7gGFbwwo=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
gmp
|
||||
];
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
makeFlags = [
|
||||
"MODE=shared"
|
||||
"PREFIX=${placeholder "out"}"
|
||||
];
|
||||
|
||||
buildFlags = [
|
||||
"all"
|
||||
"library"
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
patchShebangs --build ./test
|
||||
'';
|
||||
|
||||
checkTarget = "test";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
mainProgram = "frobby";
|
||||
description = "Software system and project for computations with monomial ideals";
|
||||
longDescription = ''
|
||||
Current functionality includes Euler characteristic, Hilbert series,
|
||||
maximal standard monomials, combinatorial optimization on monomial
|
||||
ideals, primary decomposition, irreducible decomposition, Alexander dual,
|
||||
associated primes, minimization and intersection of monomial ideals as
|
||||
well as the computation of Frobenius problems (using 4ti2) with very
|
||||
large numbers. Frobby is also able to translate between formats that can
|
||||
be used with several different computer systems, such as Macaulay2,
|
||||
Monos, 4ti2, CoCoA4 and Singular. Thus Frobby can be used with any of
|
||||
those systems.
|
||||
'';
|
||||
homepage = "https://github.com/Macaulay2/frobby";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ coolcuber ];
|
||||
};
|
||||
})
|
||||
@@ -6,13 +6,13 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "fscan";
|
||||
version = "2.1.2";
|
||||
version = "2.1.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "shadow1ng";
|
||||
repo = "fscan";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Xc6SNmVPxBxcY7PH27562soejIrMXQtb09Djd0gONCo=";
|
||||
hash = "sha256-ZfzFBOIsuwcfmmyZMPhgP9Oznec+rJs16IuIG7gwZhA=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-ihaGbm4iLjwvTzM278wuwom8LrmHB3WgmbfcJxtkbYc=";
|
||||
|
||||
@@ -5,16 +5,17 @@
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
enableWayland ? false,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "godsvg";
|
||||
version = "1.0-alpha14";
|
||||
version = "1.0-alpha15";
|
||||
src = fetchFromGitHub {
|
||||
owner = "MewPurPur";
|
||||
repo = "GodSVG";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Bo45Zu13RRPxf5tZhCxAulTe61o9kwqX1nEFJDaeBng=";
|
||||
hash = "sha256-vEwkpYMIqiqCFVNE7UzEts/lSS9zR+AgvvSr+vj0Aas=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -53,11 +54,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
makeWrapper ${godot_4_6}/bin/godot4 $out/bin/godsvg \
|
||||
--add-flag "--main-pack" \
|
||||
--add-flag "$out/share/godsvg/godsvg.pck"
|
||||
--add-flag "$out/share/godsvg/godsvg.pck" \
|
||||
${lib.optionalString enableWayland ''
|
||||
--add-flag "--display-driver" \
|
||||
--add-flag wayland
|
||||
''}
|
||||
|
||||
install -Dm444 ./assets/logos/icon.svg $out/share/icons/hicolor/scalable/apps/godsvg.svg
|
||||
install -Dm444 ./assets/logos/icon.png $out/share/icons/hicolor/256x256/apps/godsvg.png
|
||||
install -Dm444 ./assets/GodSVG.desktop $out/share/applications/GodSVG.desktop
|
||||
install -Dm444 ./no_export/distribution/com.godsvg.GodSVG.desktop $out/share/applications/GodSVG.desktop
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch2,
|
||||
makeWrapper,
|
||||
clang,
|
||||
llvm,
|
||||
@@ -10,27 +9,20 @@
|
||||
libopcodes,
|
||||
libunwind,
|
||||
libblocksruntime,
|
||||
unstableGitUpdater,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "honggfuzz";
|
||||
version = "2.6";
|
||||
version = "2.6-unstable-2026-04-13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "honggfuzz";
|
||||
rev = finalAttrs.version;
|
||||
sha256 = "sha256-/ra6g0qjjC8Lo8/n2XEbwnZ95yDHcGhYd5+TTvQ6FAc=";
|
||||
rev = "48790f7b18f30ba4a95272ea290b720662ed56c9";
|
||||
hash = "sha256-RHNOZF5ttqdh3daGGVRHkvL9g2aZFDGDmmW056ohI6w=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# [PATCH] mangle: support gcc-15 with __attribute__((nonstring))
|
||||
(fetchpatch2 {
|
||||
url = "https://github.com/google/honggfuzz/commit/4cfa62f4fdb56e3027c1cb3aecf04812e786f0fd.patch?full_index=1";
|
||||
hash = "sha256-79/GZfqTH1o/21P7At5ZPmvcCSYWAsVakSv5dNCT+XI=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace hfuzz_cc/hfuzz-cc.c \
|
||||
--replace '"clang' '"${clang}/bin/clang'
|
||||
@@ -66,6 +58,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
cp libhfnetdriver/libhfnetdriver.a $out/lib
|
||||
'';
|
||||
|
||||
passthru.updateScript = unstableGitUpdater {
|
||||
tagFormat = "[0-9]*";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Security oriented, feedback-driven, evolutionary, easy-to-use fuzzer";
|
||||
longDescription = ''
|
||||
|
||||
@@ -6,25 +6,27 @@
|
||||
openssl,
|
||||
pkg-config,
|
||||
rustPlatform,
|
||||
sqlite,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "hullcaster";
|
||||
version = "0.2.0";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gilcu3";
|
||||
repo = "hullcaster";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-BR3klwy6vm6nJ38sgS/PGPQ19n0GJq6eQE97lHmg+kQ=";
|
||||
hash = "sha256-O3MBvadayZ6hryexPX/VN1NUZpHTg/JZATJRIOBgZCg=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-TZmRObtkwrHRy/I6hhacbHUWiajKDLnHafLWIwVM15o=";
|
||||
cargoHash = "sha256-/2prlOy3h+TtACJ9Oa7f9kYiaFGjFhoS8dO26w0fTrk=";
|
||||
|
||||
buildInputs = [
|
||||
alsa-lib
|
||||
dbus
|
||||
openssl
|
||||
sqlite
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -34,6 +36,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
# work around error: Could not create filepath: /homeless-shelter/.local/share
|
||||
checkFlags = [
|
||||
"--skip=gpodder::tests::gpodder"
|
||||
"--skip=config::tests"
|
||||
"--skip=gpodder::tests"
|
||||
];
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -8,6 +8,9 @@
|
||||
cairo,
|
||||
file,
|
||||
hyprutils,
|
||||
lcms2,
|
||||
libGL,
|
||||
libdrm,
|
||||
libjpeg,
|
||||
libjxl,
|
||||
librsvg,
|
||||
@@ -19,13 +22,13 @@
|
||||
|
||||
gcc15Stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "hyprgraphics";
|
||||
version = "0.5.0";
|
||||
version = "0.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hyprwm";
|
||||
repo = "hyprgraphics";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-MRD+Jr2bY11MzNDfenENhiK6pvN+nHygxdHoHbZ1HtE=";
|
||||
hash = "sha256-48DubZbx8PDfuJkksNgi5aWFnX/Rq1OUaLsUvsdf2Bo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -37,6 +40,9 @@ gcc15Stdenv.mkDerivation (finalAttrs: {
|
||||
cairo
|
||||
file
|
||||
hyprutils
|
||||
lcms2
|
||||
libGL
|
||||
libdrm
|
||||
libjpeg
|
||||
libjxl
|
||||
librsvg
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"branch": "v0.54.3-b",
|
||||
"commit_hash": "521ece463c4a9d3d128670688a34756805a4328f",
|
||||
"commit_message": "version: bump to 0.54.3",
|
||||
"date": "2026-03-27",
|
||||
"tag": "v0.54.3"
|
||||
"branch": "main",
|
||||
"commit_hash": "af923e30d1d24f1f4a4f5cb8308065173c1d9539",
|
||||
"commit_message": "version: bump to 0.55.0",
|
||||
"date": "2026-05-09",
|
||||
"tag": "v0.55.0"
|
||||
}
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
cairo,
|
||||
epoll-shim,
|
||||
glaze,
|
||||
glslang,
|
||||
hyprcursor,
|
||||
hyprgraphics,
|
||||
hyprland-qtutils,
|
||||
@@ -18,13 +19,15 @@
|
||||
hyprutils,
|
||||
hyprwire,
|
||||
hyprwayland-scanner,
|
||||
lcms2,
|
||||
libGL,
|
||||
libdrm,
|
||||
libexecinfo,
|
||||
libgbm,
|
||||
libinput,
|
||||
libuuid,
|
||||
libxkbcommon,
|
||||
libgbm,
|
||||
lua5_5,
|
||||
muparser,
|
||||
pango,
|
||||
pciutils,
|
||||
@@ -52,7 +55,6 @@ let
|
||||
inherit (builtins)
|
||||
foldl'
|
||||
;
|
||||
inherit (lib.asserts) assertMsg;
|
||||
inherit (lib.attrsets) mapAttrsToList;
|
||||
inherit (lib.lists)
|
||||
concatLists
|
||||
@@ -81,19 +83,19 @@ let
|
||||
in
|
||||
customStdenv.mkDerivation (finalAttrs: {
|
||||
pname = "hyprland" + optionalString debug "-debug";
|
||||
version = "0.54.3";
|
||||
version = "0.55.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hyprwm";
|
||||
repo = "hyprland";
|
||||
fetchSubmodules = true;
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-e+mVjQL3V+xoaH1c3YqAzRq9wwiuEYQTOgZlK0LwfYA=";
|
||||
hash = "sha256-ZfsIYDDOjeAU8MxMyUitBAZgCgYAm1T8rTGbe8ujC/I=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# Fix hardcoded paths to /usr installation
|
||||
substituteInPlace src/render/OpenGL.cpp \
|
||||
substituteInPlace src/render/types.hpp \
|
||||
--replace-fail /usr $out
|
||||
|
||||
# Remove extra @PREFIX@ to fix pkg-config paths
|
||||
@@ -146,10 +148,12 @@ customStdenv.mkDerivation (finalAttrs: {
|
||||
aquamarine
|
||||
cairo
|
||||
glaze
|
||||
glslang
|
||||
hyprcursor.dev
|
||||
hyprgraphics
|
||||
hyprlang
|
||||
hyprutils
|
||||
lcms2
|
||||
libGL
|
||||
libdrm
|
||||
libgbm
|
||||
@@ -157,6 +161,7 @@ customStdenv.mkDerivation (finalAttrs: {
|
||||
libuuid
|
||||
libxcursor
|
||||
libxkbcommon
|
||||
lua5_5
|
||||
muparser
|
||||
pango
|
||||
pciutils
|
||||
|
||||
@@ -88,13 +88,13 @@ in
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "imagemagick";
|
||||
version = "7.1.2-21";
|
||||
version = "7.1.2-22";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ImageMagick";
|
||||
repo = "ImageMagick";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-eYrAj3kUGXgAdxohzn46MBuIjLAaQ1HGUEky3SSzh1U=";
|
||||
hash = "sha256-ogXN+PrWQHlQF2B+KEWIYrc6DFQ1ZuvhAHEYt90Kw+o=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
|
||||
@@ -12,13 +12,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "intel-compute-runtime";
|
||||
version = "26.14.37833.4";
|
||||
version = "26.18.38308.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "intel";
|
||||
repo = "compute-runtime";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-W8lRvxvmsWQbVj+1a6RPLnjqLY206o1yl7PN5wf5DPw=";
|
||||
hash = "sha256-539TqwzPhclEpyxrwRB0DBLCAgM8JojdshvhNp0jeKU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -14,16 +14,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "jj-starship";
|
||||
version = "0.7.0";
|
||||
version = "0.7.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dmmulroy";
|
||||
repo = "jj-starship";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-YfcFlJsPCRfqhN+3JUWE77c+eHIp5RAu2rq/JhSxCec=";
|
||||
hash = "sha256-NLds7i1ZmscicaNLmkZCWmc7A+367BXxGioRd4yYof8=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-XMz6b63raPkgmUzB6L3tOYPxTenytmGWOQrs+ikcSts=";
|
||||
cargoHash = "sha256-i7x/y+BkKH+Xj1bU4RRe9fcteabB+4uAgJuW3x5/jv4=";
|
||||
|
||||
buildNoDefaultFeatures = !withGit;
|
||||
|
||||
|
||||
@@ -3,23 +3,23 @@
|
||||
{
|
||||
"kicad" = {
|
||||
kicadVersion = {
|
||||
version = "10.0.1";
|
||||
version = "10.0.2";
|
||||
src = {
|
||||
rev = "65c045085a7c2da92e839d00ed14d3f2a447654c";
|
||||
sha256 = "1mnlv8fyz03pfg8pkqwdl5gjz6vsk98c6414lf3wkvrkb85ljaav";
|
||||
rev = "94c02dfc4a778a094cd8ad7b1d2348a96f024123";
|
||||
sha256 = "0bk86javsfm1mwlksnv8p7pws5ii3zag6aah13gn5zlc31z295yh";
|
||||
};
|
||||
};
|
||||
libVersion = {
|
||||
version = "10.0.1";
|
||||
version = "10.0.2";
|
||||
libSources = {
|
||||
symbols.rev = "49f3091e7fea8d9b935635f3328cbf07b7548625";
|
||||
symbols.sha256 = "0iz4lb33wdsw4f82a0ln8ycgaf39gjws03mvl2j1q9npwj6xl1cm";
|
||||
templates.rev = "66727540677590f988f8448fd3b632d3f26cc1b4";
|
||||
symbols.rev = "f31042c9759771f10754f02e54344dee750692b1";
|
||||
symbols.sha256 = "05h8dbygch2kp4s5ikspxngwv999j7jwsiwm4pzwwcrir7dqzdfl";
|
||||
templates.rev = "db5a3e2a99d5200cabfb03199fe28a5f3ba59191";
|
||||
templates.sha256 = "0zs29zn8qjgxv0w1vyr8yxmj02m8752zagn4vcraqgik46dwg2id";
|
||||
footprints.rev = "ab2f97eaa2ab7769ec3ad0487ff9bcafabe8641a";
|
||||
footprints.sha256 = "0jqgyi1yb2zc6w56ba7xama0wnhrqwbbnf2fqvr47xihvdcvs87v";
|
||||
packages3d.rev = "efef8c6631221341db2549c52b921e33dd05bbb4";
|
||||
packages3d.sha256 = "0jr70ry6inzc2fy3s300z0zlmihbq95ba1zckyd1wwbpplaj1gbl";
|
||||
footprints.rev = "c076368c29f8f5c3ad2ee7ed91083815b79ddb72";
|
||||
footprints.sha256 = "1h1v44qc5lvvqvmi1i7b79jhxsfq8snk0mcfl6r73hj6w0b25l84";
|
||||
packages3d.rev = "3720ad929a99187fc55a8d35895672ef9aaf9cb7";
|
||||
packages3d.sha256 = "01nbjcs3890hyfmafc623ldmfi9n8sjr5m0wripz5fq5fjdnzqxl";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -47,23 +47,23 @@
|
||||
};
|
||||
"kicad-unstable" = {
|
||||
kicadVersion = {
|
||||
version = "2025-02-21";
|
||||
version = "2026-05-08";
|
||||
src = {
|
||||
rev = "878cf768d6552131494aa792dc20e6ccf67baf75";
|
||||
sha256 = "0ky0a7y6gf409y8bwpngiirqin4ivbcjnk8gjdj1a6w79x559sr8";
|
||||
rev = "76f8839fd232594f81180f644e3370c390025144";
|
||||
sha256 = "0nbr3cmrz1ca4rcwbfxvlrnwxy091lscgsqd92pqyy9sjcvqdfjg";
|
||||
};
|
||||
};
|
||||
libVersion = {
|
||||
version = "2025-02-21";
|
||||
version = "2026-05-08";
|
||||
libSources = {
|
||||
symbols.rev = "da86acd48809fd61876223c8bf0e4e7793c52e9a";
|
||||
symbols.sha256 = "1sdpg58wbyyrghjd0jqw5iw2094mjy2v9jmwn5zrj4jm6f51g1kd";
|
||||
symbols.rev = "5a41d2112853c72129a9128df01021278c1aec11";
|
||||
symbols.sha256 = "05h8dbygch2kp4s5ikspxngwv999j7jwsiwm4pzwwcrir7dqzdfl";
|
||||
templates.rev = "3ed4538b0f965d821df63a5fffc4441e723cfe7f";
|
||||
templates.sha256 = "0zs29zn8qjgxv0w1vyr8yxmj02m8752zagn4vcraqgik46dwg2id";
|
||||
footprints.rev = "e515f1c3213317d436e492c8c06620ef4caca84e";
|
||||
footprints.sha256 = "16zslgvjg4swgkkvnd9fmiks3wzg63364d03hixiyzcpjlgk2bbk";
|
||||
packages3d.rev = "d5db5cea003fe2b4b1c9b145f5fcbd5fdb48f8ca";
|
||||
packages3d.sha256 = "0bg54lg1iw01gw06ajg34y7x4y36wm6ls3jnpjy13i18d4ik77g4";
|
||||
footprints.rev = "098da23b916d287a0c7913752df53e6bfdf640a2";
|
||||
footprints.sha256 = "1h1v44qc5lvvqvmi1i7b79jhxsfq8snk0mcfl6r73hj6w0b25l84";
|
||||
packages3d.rev = "394aeaa41d7be7f717715d9ba004d7d0d8b74b36";
|
||||
packages3d.sha256 = "01nbjcs3890hyfmafc623ldmfi9n8sjr5m0wripz5fq5fjdnzqxl";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -12,17 +12,18 @@
|
||||
libinput,
|
||||
wayland,
|
||||
libxkbcommon,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "kloak";
|
||||
version = "0.7.8-1";
|
||||
version = "0.8.0-1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Whonix";
|
||||
repo = "kloak";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-V9t7fQ3K5OIWKhvFiX5Hsf0WzAQUWiZojgbjc38Z1Nk=";
|
||||
hash = "sha256-lOJLOkswGW5xvFxb9gKQBV3+UMh9/m1nGvH5oKLBkwE=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
@@ -55,6 +56,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Privacy tool for anonymizing keyboard and mouse use";
|
||||
homepage = "https://github.com/Whonix/kloak";
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "level-zero";
|
||||
version = "1.28.2";
|
||||
version = "1.28.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "oneapi-src";
|
||||
repo = "level-zero";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-I/MdWljshkEh7p/3exkC75x1hGgeFIlNySiIN+n19dA=";
|
||||
hash = "sha256-g97BgCR/ca9Xv2l3Kbyuez8vWY6Jwrwt6Dmw3DGhPaY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -63,6 +63,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"-DENABLE_TEST:BOOL=ON"
|
||||
];
|
||||
|
||||
# Mismatched arg counts in tests break under gcc 15's C23 default.
|
||||
env = lib.optionalAttrs stdenv.cc.isGNU {
|
||||
NIX_CFLAGS_COMPILE = "-std=gnu17";
|
||||
};
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $test/share
|
||||
cp ./uiohook_tests $test/share
|
||||
|
||||
@@ -0,0 +1,272 @@
|
||||
{
|
||||
fetchFromGitHub,
|
||||
fetchurl,
|
||||
lib,
|
||||
makeWrapper,
|
||||
runCommand,
|
||||
stdenv,
|
||||
writableTmpDirAsHomeHook,
|
||||
|
||||
_4ti2,
|
||||
autoreconfHook,
|
||||
bison,
|
||||
blas,
|
||||
boehmgc,
|
||||
boost,
|
||||
cddlib,
|
||||
cohomcalg,
|
||||
csdp,
|
||||
eigen,
|
||||
emacs-nox,
|
||||
fflas-ffpack,
|
||||
flex,
|
||||
flint,
|
||||
frobby,
|
||||
gdbm,
|
||||
gfortran,
|
||||
gfan,
|
||||
givaro,
|
||||
glpk,
|
||||
gtest,
|
||||
icu,
|
||||
jansson,
|
||||
libffi,
|
||||
libxml2,
|
||||
libz,
|
||||
lrs,
|
||||
mathic,
|
||||
mathicgb,
|
||||
memtailor,
|
||||
mpfi,
|
||||
mpfr,
|
||||
msolve,
|
||||
mpsolve,
|
||||
nauty,
|
||||
normaliz,
|
||||
ntl,
|
||||
onetbb,
|
||||
openssl,
|
||||
R,
|
||||
rWrapper,
|
||||
pkg-config,
|
||||
python3,
|
||||
readline,
|
||||
singular,
|
||||
texinfo,
|
||||
time,
|
||||
topcom,
|
||||
which,
|
||||
xz,
|
||||
|
||||
downloadDocs ? true,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "macaulay2";
|
||||
version = "1.26.05";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Macaulay2";
|
||||
repo = "M2";
|
||||
tag = "release-${finalAttrs.version}";
|
||||
hash = "sha256-UiPLownaFtuYFUlZhBl+Nl/sRZRhG9OUwepZtFTkTqc";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
docs = fetchurl {
|
||||
url = "https://macaulay2.com/Downloads/OtherSourceCode/Macaulay2-docs-${finalAttrs.version}.tar.gz";
|
||||
hash = "sha256-rz9b7HvxfxI978yM9wE7XvLu7DO38i/amokXBU0RjSg=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
blas
|
||||
boehmgc
|
||||
boost
|
||||
cddlib
|
||||
eigen
|
||||
fflas-ffpack
|
||||
flint
|
||||
frobby
|
||||
gdbm
|
||||
givaro
|
||||
glpk
|
||||
gtest
|
||||
icu
|
||||
jansson
|
||||
libffi
|
||||
libxml2
|
||||
libz
|
||||
mathic
|
||||
mathicgb
|
||||
memtailor
|
||||
mpfi
|
||||
mpfr
|
||||
mpsolve
|
||||
msolve
|
||||
nauty
|
||||
ntl
|
||||
normaliz
|
||||
onetbb
|
||||
openssl
|
||||
python3
|
||||
readline
|
||||
singular
|
||||
xz
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
bison
|
||||
emacs-nox
|
||||
flex
|
||||
gdbm
|
||||
gfortran
|
||||
makeWrapper
|
||||
pkg-config
|
||||
texinfo
|
||||
which
|
||||
|
||||
# TODO the configure script looks for these in $PATH
|
||||
_4ti2
|
||||
cohomcalg
|
||||
csdp
|
||||
gfan
|
||||
lrs
|
||||
msolve
|
||||
nauty
|
||||
normaliz
|
||||
topcom
|
||||
];
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/M2";
|
||||
|
||||
postPatch = ''
|
||||
sed -i 's/AC_SUBST(REL,.*uname -r.*)/AC_SUBST(REL,"")/' configure.ac
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
cd BUILD/build
|
||||
'';
|
||||
|
||||
configureScript = "../../configure";
|
||||
|
||||
configureFlags = [
|
||||
"--disable-download"
|
||||
"--enable-shared"
|
||||
"--with-issue=nixos"
|
||||
"--with-boost-libdir=${boost}/lib"
|
||||
"--with-system-libs"
|
||||
"CPPFLAGS=-I${lib.getDev cddlib}/include/cddlib"
|
||||
"PYTHON_BIN=${python3.interpreter}"
|
||||
];
|
||||
|
||||
configurePlatforms = [
|
||||
"build"
|
||||
"host"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preBuild = lib.optionalString downloadDocs ''
|
||||
ln -s ${finalAttrs.docs} ../tarfiles/${finalAttrs.docs.name}
|
||||
make -C libraries all-in-Macaulay2-docs
|
||||
'';
|
||||
|
||||
buildFlags = lib.optionals downloadDocs [
|
||||
"MakeDocumentation=false"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram "$out/bin/M2" \
|
||||
--prefix PATH : ${
|
||||
lib.makeBinPath [
|
||||
_4ti2
|
||||
cohomcalg
|
||||
csdp
|
||||
gfan
|
||||
lrs
|
||||
msolve
|
||||
nauty
|
||||
normaliz
|
||||
openssl
|
||||
R
|
||||
topcom
|
||||
]
|
||||
} \
|
||||
--prefix LD_LIBRARY_PATH : ${
|
||||
lib.makeLibraryPath [
|
||||
cddlib
|
||||
flint
|
||||
givaro
|
||||
glpk
|
||||
mpfi
|
||||
mpfr
|
||||
mpsolve
|
||||
normaliz
|
||||
ntl
|
||||
singular
|
||||
]
|
||||
} \
|
||||
--prefix R_LIBS_SITE : ${lib.makeSearchPath "library" rWrapper.recommendedPackages}
|
||||
'';
|
||||
|
||||
installCheckPhase = ''
|
||||
runHook preInstallCheck
|
||||
$out/bin/M2 --check 1
|
||||
runHook postInstallCheck
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
passthru.tests = {
|
||||
core =
|
||||
runCommand "macaulay2-core-tests"
|
||||
{
|
||||
nativeBuildInputs = [
|
||||
finalAttrs.finalPackage
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
}
|
||||
''
|
||||
M2 --check 2 && touch $out
|
||||
'';
|
||||
|
||||
all-packages =
|
||||
runCommand "macaulay2-all-packages-test"
|
||||
{
|
||||
nativeBuildInputs = [
|
||||
finalAttrs.finalPackage
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
}
|
||||
''
|
||||
M2 --check 3 && touch $out
|
||||
'';
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "System for computing in commutative algebra, algebraic geometry and related fields";
|
||||
mainProgram = "M2";
|
||||
longDescription = ''
|
||||
Macaulay2 is a software system devoted to supporting research in
|
||||
algebraic geometry and commutative algebra, whose creation has been
|
||||
funded by the National Science Foundation since 1992.
|
||||
|
||||
Macaulay2 includes core algorithms for computing Gröbner bases and graded
|
||||
or multi-graded free resolutions of modules over quotient rings of graded
|
||||
or multi-graded polynomial rings with a monomial ordering. The core
|
||||
algorithms are accessible through a versatile high level interpreted user
|
||||
language with a powerful debugger supporting the creation of new classes
|
||||
of mathematical objects and the installation of methods for computing
|
||||
specifically with them. Macaulay2 can compute Betti numbers, Ext,
|
||||
cohomology of coherent sheaves on projective varieties, primary
|
||||
decomposition of ideals, integral closure of rings, and more.
|
||||
'';
|
||||
homepage = "https://macaulay2.com/";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ coolcuber ];
|
||||
};
|
||||
})
|
||||
@@ -3,31 +3,39 @@
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
perl,
|
||||
cacert,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "managarr";
|
||||
version = "0.7.1";
|
||||
version = "0.7.2";
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Dark-Alex-17";
|
||||
repo = "managarr";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-bKW67cpLbnBxF5gbpwfCNe2QkxKYvooWEM3yKrbj7Q8=";
|
||||
hash = "sha256-10wM6OI3XqFQKyspJU6fqnE3GyzxNaquQlPjn3nS774=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-CDhFj7lP65wlLkSWGcQ8YBK4umSyQsBGF/Sn85gy5hE=";
|
||||
cargoHash = "sha256-7myysFoBYTosHPZ3gzSzXhN8+wbHHF/73b6wQqdlKe8=";
|
||||
|
||||
nativeBuildInputs = [ perl ];
|
||||
|
||||
env.SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt";
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = {
|
||||
description = "TUI and CLI to manage your Servarrs";
|
||||
homepage = "https://github.com/Dark-Alex-17/managarr";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [
|
||||
lib.maintainers.IncredibleLaser
|
||||
lib.maintainers.darkalex
|
||||
lib.maintainers.nindouja
|
||||
maintainers = with lib.maintainers; [
|
||||
IncredibleLaser
|
||||
darkalex
|
||||
nindouja
|
||||
kybe236
|
||||
];
|
||||
mainProgram = "managarr";
|
||||
};
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
stdenv,
|
||||
|
||||
autoreconfHook,
|
||||
gtest,
|
||||
memtailor,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "mathic";
|
||||
version = "1.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Macaulay2";
|
||||
repo = "mathic";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-6xkNnn/8XugeBi91+9iTWHj8l5M6SH8tjsC8N2sLEnA=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
memtailor
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
gtest
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
(lib.withFeature finalAttrs.doCheck "gtest")
|
||||
];
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "C++ library of fast data structures designed for use in Groebner basis computation";
|
||||
longDescription = ''
|
||||
Mathic is a C++ library of fast data structures designed for use in
|
||||
Groebner basis computation. This includes data structures for ordering
|
||||
S-pairs, performing divisor queries and ordering polynomial terms during
|
||||
polynomial reduction. With Mathic you get to use highly optimized code
|
||||
with little effort so that you can focus more of your time on whatever
|
||||
part of your Groebner basis implementation that you are interested in.
|
||||
The data structures use templates to allow you to use them with whatever
|
||||
representation of monomials/terms and coefficients that your code uses.
|
||||
In fact the only places where Mathic defines its own monomials/terms is
|
||||
in the test code and example code. Currently only dense representations
|
||||
of terms/monomials are suitable since Mathic will frequently ask "what is
|
||||
the exponent of variable number x in this term/monomial?".
|
||||
'';
|
||||
homepage = "https://github.com/Macaulay2/mathic";
|
||||
license = lib.licenses.lgpl2Plus;
|
||||
maintainers = with lib.maintainers; [ coolcuber ];
|
||||
};
|
||||
})
|
||||
@@ -0,0 +1,62 @@
|
||||
{
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
stdenv,
|
||||
|
||||
autoreconfHook,
|
||||
gtest,
|
||||
mathic,
|
||||
memtailor,
|
||||
onetbb,
|
||||
pkg-config,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "mathicgb";
|
||||
version = "1.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Macaulay2";
|
||||
repo = "mathicgb";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-zcHaYzznvbBkfeFXNxIxy9qlyD0esOvwUIOuEli4rwc=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
mathic
|
||||
memtailor
|
||||
onetbb
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config # clears up bad behavior of autoconf
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
gtest
|
||||
];
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
configureFlags = [
|
||||
(lib.withFeature finalAttrs.doCheck "gtest")
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
mainProgram = "mgb";
|
||||
description = "Program for computing Groebner basis and signature Grobner bases";
|
||||
longDescription = ''
|
||||
Mathicgb is a program for computing Groebner basis and signature Grobner
|
||||
bases. Mathicgb is based on the fast data structures from mathic.
|
||||
'';
|
||||
homepage = "https://github.com/Macaulay2/mathicgb";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ coolcuber ];
|
||||
};
|
||||
})
|
||||
@@ -0,0 +1,55 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
stdenv,
|
||||
|
||||
autoreconfHook,
|
||||
gtest,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "memtailor";
|
||||
version = "1.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Macaulay2";
|
||||
repo = "memtailor";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-x6z/BzU78od21l72ZAnX37UHHdyMHfJ6cjwJwNYOIcY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
gtest
|
||||
];
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
configureFlags = [
|
||||
(lib.withFeature finalAttrs.doCheck "gtest")
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "C++ library of special purpose memory allocators";
|
||||
longDescription = ''
|
||||
Memtailor is a C++ library of special purpose memory allocators. It
|
||||
currently offers an arena allocator and a memory pool.
|
||||
|
||||
The main motivation to use a memtailor allocator is better and more
|
||||
predictable performance than you get with new/delete. Sometimes a
|
||||
memtailor allocator can also be more convenient due to the ability to
|
||||
free many allocations at one time.
|
||||
'';
|
||||
homepage = "https://github.com/Macaulay2/memtailor";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ coolcuber ];
|
||||
};
|
||||
})
|
||||
@@ -9,13 +9,13 @@
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "microcode-intel";
|
||||
version = "20260227";
|
||||
version = "20260512";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "intel";
|
||||
repo = "Intel-Linux-Processor-Microcode-Data-Files";
|
||||
tag = "microcode-${finalAttrs.version}";
|
||||
hash = "sha256-xTCSFxhOqHo64GrtZPlUVOd83SwiUUSZQ6JMziTgWcU=";
|
||||
hash = "sha256-hJfuxnHxHAxoTFAdgzontCl2pl5ad222I8BGyHO+MxQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ libarchive ];
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
bzip2,
|
||||
libzip,
|
||||
zstd,
|
||||
szipSupport ? false,
|
||||
szip,
|
||||
szipSupport ? hdf5.szipSupport,
|
||||
libaec,
|
||||
libxml2,
|
||||
m4,
|
||||
curl, # for DAP
|
||||
@@ -54,7 +54,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
libzip
|
||||
zstd
|
||||
]
|
||||
++ lib.optional szipSupport szip
|
||||
++ lib.optional szipSupport libaec
|
||||
++ lib.optional mpiSupport mpi;
|
||||
|
||||
strictDeps = true;
|
||||
@@ -101,5 +101,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
homepage = "https://www.unidata.ucar.edu/software/netcdf/";
|
||||
changelog = "https://docs.unidata.ucar.edu/netcdf-c/${finalAttrs.version}/RELEASE_NOTES.html";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [
|
||||
doronbehar
|
||||
];
|
||||
};
|
||||
})
|
||||
|
||||
@@ -184,11 +184,11 @@
|
||||
},
|
||||
{
|
||||
"method": "fetchzip",
|
||||
"path": "/nix/store/2ksmfd7p93a1a7ibcv3qzsk8h3c3shz7-source",
|
||||
"rev": "845b6af28b9f68f02d320e03ad18eccccea7ddb9",
|
||||
"sha256": "1c55kl05pbavm9v5dv42n43sql9qcrblhh3hnp99p5xmlv20c9vf",
|
||||
"path": "/nix/store/y97vkzpip50iy91xdgv7v7kg04afxn7x-source",
|
||||
"rev": "8b51e99b4a57fcfb31689230e75595f024543024",
|
||||
"sha256": "00bg4chz69hllj9ig3qd38ps9l3hcziwj9kgykhbdcavgw5llzbg",
|
||||
"srcDir": "",
|
||||
"url": "https://github.com/status-im/nim-unittest2/archive/845b6af28b9f68f02d320e03ad18eccccea7ddb9.tar.gz",
|
||||
"url": "https://github.com/status-im/nim-unittest2/archive/8b51e99b4a57fcfb31689230e75595f024543024.tar.gz",
|
||||
"subDir": "",
|
||||
"packages": [
|
||||
"unittest2"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
buildNimPackage (
|
||||
final: prev: rec {
|
||||
pname = "nimlangserver";
|
||||
version = "1.12.0";
|
||||
version = "1.14.0";
|
||||
|
||||
# nix build ".#nimlangserver.src"
|
||||
# nix run "github:daylinmorgan/nnl" -- result/nimble.lock -o:pkgs/by-name/ni/nimlangserver/lock.json --git,=,bearssl,zlib
|
||||
@@ -16,7 +16,7 @@ buildNimPackage (
|
||||
owner = "nim-lang";
|
||||
repo = "langserver";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-yf3oiKwsJoQxRPhbEBMJN+TR7j58t6ggjq51DJ3ypGQ=";
|
||||
hash = "sha256-IJbuM/AhPgyfe/1ONY8Nb46+gqjduVQOvkgGafgkhY4=";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "nono";
|
||||
version = "0.43.1";
|
||||
version = "0.53.0";
|
||||
|
||||
__darwinAllowLocalNetworking = true; # required for tests
|
||||
|
||||
@@ -21,9 +21,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
owner = "always-further";
|
||||
repo = "nono";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-a9RwEbe0x49EyBSGX0mBk2GNeWmc6NhanExqbDyTM40=";
|
||||
hash = "sha256-jK3/NDNQkeeCKP2iMIJMCq9lrDZ9ksiEnHhFmrz+gew=";
|
||||
};
|
||||
cargoHash = "sha256-/+CfiWbg3anUbzgGigFxWs0+KavGEa2odo5kBF9c7Wg=";
|
||||
cargoHash = "sha256-OK2vlXYFdjMHqzVR6ZoRn7WEfAUVATGhk32JLoDED5c=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
@@ -37,48 +37,70 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
|
||||
checkFlags = [
|
||||
# fails to initialize the sandbox under '/build'
|
||||
"--skip=test_all_profiles_signal_mode_resolves"
|
||||
# panic
|
||||
"--skip=build_run_profile_patch_adds_override_deny_for_sensitive_file"
|
||||
"--skip=build_run_profile_patch_merges_read_and_write_to_allow_file"
|
||||
"--skip=prepare_profile_save_from_patch_updates_existing_user_profile"
|
||||
"--skip=would_shadow_builtin_allows_update_of_existing_user_override"
|
||||
"--skip=would_shadow_builtin_flags_known_builtin_names"
|
||||
"--skip=create_audit_state_creates_session_when_enabled"
|
||||
checkFlags = map (t: "--skip=${t}") (
|
||||
[
|
||||
# fails to initialize the sandbox under '/build'
|
||||
"test_all_profiles_signal_mode_resolves"
|
||||
# panic
|
||||
"build_run_profile_patch_adds_override_deny_for_sensitive_file"
|
||||
"build_run_profile_patch_merges_read_and_write_to_allow_file"
|
||||
"prepare_profile_save_from_patch_updates_existing_user_profile"
|
||||
"would_shadow_builtin_allows_update_of_existing_user_override"
|
||||
"would_shadow_builtin_flags_known_builtin_names"
|
||||
"create_audit_state_creates_session_when_enabled"
|
||||
|
||||
# audit_attestation
|
||||
# needs /bin/pwd
|
||||
"--skip=audit_verify_reports_signed_attestation_with_pinned_public_key"
|
||||
"--skip=rollback_signed_session_verifies_from_audit_dir_bundle"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# panics with "Deny-within-allow overlap on Linux ... Landlock cannot enforce this. ..."
|
||||
# landlock is linux only
|
||||
"--skip=policy::tests::test_all_groups_no_deny_within_allow_overlap"
|
||||
# panics with "exact-path fallback must not recursively cover descendants"
|
||||
"--skip=capability_ext::tests::test_from_profile_allow_file_falls_back_to_exact_directory_when_present"
|
||||
# audit_attestation
|
||||
# needs /bin/pwd
|
||||
"audit_verify_reports_signed_attestation_with_pinned_public_key"
|
||||
"rollback_signed_session_verifies_from_audit_dir_bundle"
|
||||
|
||||
# env_vars
|
||||
# don't work inside of the /nix dir
|
||||
# unsure why home is still under /nix with writableTmpDirAsHomeHook
|
||||
# Sandbox initialization failed: Refusing to grant '/nix' (source: group:system_read_macos) because it overlaps protected nono state root '/nix/build/nix-<ID>/.home/.nono'.
|
||||
"--skip=allow_net_overrides_profile_external_proxy"
|
||||
"--skip=cli_flag_overrides_env_var"
|
||||
"--skip=env_nono_allow_comma_separated"
|
||||
"--skip=env_nono_block_net"
|
||||
"--skip=env_nono_block_net_accepts_true"
|
||||
"--skip=env_nono_network_profile"
|
||||
"--skip=env_nono_profile"
|
||||
"--skip=env_nono_upstream_bypass_comma_separated"
|
||||
"--skip=env_nono_upstream_proxy"
|
||||
"--skip=legacy_env_nono_net_block_still_works"
|
||||
"--skip=environment_allow_vars_bare_star"
|
||||
"--skip=environment_allow_vars_default_allows_all"
|
||||
"--skip=environment_allow_vars_prefix_patterns"
|
||||
"--skip=environment_allow_vars_with_profile"
|
||||
];
|
||||
# nono-cli
|
||||
# wants a script `cripts/test-list-aliases.sh`, `git`, and `.git` history
|
||||
"alias_inventory_script_passes"
|
||||
# fails to initialize the sandbox under '/build'
|
||||
# has also failed due to running on darwin despite testing the linux only
|
||||
# landlock sandboxing
|
||||
"policy::tests::test_all_groups_no_deny_within_allow_overlap"
|
||||
# not relevant for us, requires `git`
|
||||
"lint_docs_script_passes"
|
||||
# want to run `git`
|
||||
"alias_inventory_rejects_marker_missing_field"
|
||||
"alias_inventory_rejects_naked_serde_alias"
|
||||
"alias_inventory_rejects_unapproved_deprecated_module_reach_in"
|
||||
"lint_docs_accepts_clean_tree"
|
||||
"lint_docs_rejects_quoted_override_deny_outside_allowlist"
|
||||
|
||||
# nono-proxy
|
||||
# fails to prepare TLS bundle inside build sandbox
|
||||
"server::tests::test_intercept_lifecycle_end_to_end"
|
||||
"server::tests::test_route_diagnostics_summarises_each_route"
|
||||
"tls_intercept::bundle::tests::bundle_contains_ephemeral_and_system_roots"
|
||||
"tls_intercept::bundle::tests::bundle_file_has_restrictive_permissions"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# panics with "exact-path fallback must not recursively cover descendants"
|
||||
"capability_ext::tests::test_from_profile_allow_file_falls_back_to_exact_directory_when_present"
|
||||
|
||||
# env_vars
|
||||
# don't work inside of the /nix dir
|
||||
# unsure why home is still under /nix with writableTmpDirAsHomeHook
|
||||
# Sandbox initialization failed: Refusing to grant '/nix' (source: group:system_read_macos) because it overlaps protected nono state root '/nix/build/nix-<ID>/.home/.nono'.
|
||||
"allow_net_overrides_profile_external_proxy"
|
||||
"cli_flag_overrides_env_var"
|
||||
"env_nono_allow_comma_separated"
|
||||
"env_nono_block_net"
|
||||
"env_nono_block_net_accepts_true"
|
||||
"env_nono_network_profile"
|
||||
"env_nono_profile"
|
||||
"env_nono_upstream_bypass_comma_separated"
|
||||
"env_nono_upstream_proxy"
|
||||
"legacy_env_nono_net_block_still_works"
|
||||
"environment_allow_vars_bare_star"
|
||||
"environment_allow_vars_default_allows_all"
|
||||
"environment_allow_vars_prefix_patterns"
|
||||
"environment_allow_vars_with_profile"
|
||||
]
|
||||
);
|
||||
|
||||
meta = {
|
||||
description = "Secure, kernel-enforced sandbox for AI agents, MCP and LLM workloads";
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
numactl,
|
||||
ncurses,
|
||||
check,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -34,12 +35,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
doCheck = true;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Tool for runtime memory locality characterization and analysis of processes and threads on a NUMA system";
|
||||
mainProgram = "numatop";
|
||||
homepage = "https://01.org/numatop";
|
||||
homepage = "https://www.intel.com/content/www/us/en/developer/topic-technology/open/numatop/overview.html";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = [ ];
|
||||
maintainers = with lib.maintainers; [ VZstless ];
|
||||
platforms = [
|
||||
"i686-linux"
|
||||
"x86_64-linux"
|
||||
|
||||
@@ -14,16 +14,16 @@ assert
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "opa-envoy-plugin";
|
||||
version = "1.16.1-envoy";
|
||||
version = "1.16.2-envoy";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-policy-agent";
|
||||
repo = "opa-envoy-plugin";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-1IDKnELsrv2lUueOCbeNrJXpqq9+rKAOjJP+AWgN+s4=";
|
||||
hash = "sha256-XVdPC2kjdqXgpWfA4ysPoM6xJYuz+Dlf2IpbBDv87EQ=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-+ljGcRy9jDL/GJbhFnXEaMGCWQ0AmkUOJUIni1oW0Es=";
|
||||
vendorHash = "sha256-7AIrQmqWRprBU/wJPW+Nhz+mzWKcxMJNuvtLSMMHauc=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
|
||||
@@ -33,9 +33,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
nativeBuildInputs = [ pkg-config ] ++ lib.optional enableGui libsForQt5.wrapQtAppsHook;
|
||||
buildInputs = [
|
||||
openssl
|
||||
expat
|
||||
]
|
||||
++ (if enableGui then [ libsForQt5.qtcharts ] else [ expat ])
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin expat;
|
||||
++ lib.optional enableGui libsForQt5.qtcharts;
|
||||
|
||||
configureFlags = [
|
||||
"--with-libssl"
|
||||
@@ -50,9 +50,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
[ "--disable-gui" ]
|
||||
);
|
||||
|
||||
installPhase = lib.optional stdenv.hostPlatform.isDarwin ''
|
||||
mkdir -p $out/bin
|
||||
cp -R src/ophcrack $out/bin
|
||||
installPhase = lib.optional (stdenv.hostPlatform.isDarwin && enableGui) ''
|
||||
mkdir -p $out/Applications
|
||||
cp -R src/ophcrack.app $out/Applications/ophcrack.app
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
diff --git a/Cells/Point.h b/Cells/Point.h
|
||||
index b03113c..472372e 100644
|
||||
--- a/Cells/Point.h
|
||||
+++ b/Cells/Point.h
|
||||
@@ -91,7 +91,7 @@ public:
|
||||
template <typename PS>
|
||||
struct ptcomp
|
||||
{
|
||||
- bool operator ()(Point<PS>* p, Point<PS>* q)
|
||||
+ bool operator ()(Point<PS>* p, Point<PS>* q) const
|
||||
{
|
||||
if (p == q) return false;
|
||||
if (p == NULL && q != NULL) return true;
|
||||
@@ -106,7 +106,7 @@ struct ptcomp
|
||||
template <typename PS>
|
||||
struct ptcomplex
|
||||
{
|
||||
- bool operator ()(Point<PS>* p, Point<PS>* q)
|
||||
+ bool operator ()(Point<PS>* p, Point<PS>* q) const
|
||||
{
|
||||
if (p == q) return false;
|
||||
if (p == NULL && q != NULL) return true;
|
||||
diff --git a/Complexes/CToplex.h b/Complexes/CToplex.h
|
||||
index bdd026f..732701e 100644
|
||||
--- a/Complexes/CToplex.h
|
||||
+++ b/Complexes/CToplex.h
|
||||
@@ -24,7 +24,7 @@
|
||||
// vector lexico comparison for map-making
|
||||
struct addcomp
|
||||
{
|
||||
- bool operator () (vector<num>* v1, vector<num>* v2)
|
||||
+ bool operator () (vector<num>* v1, vector<num>* v2) const
|
||||
{
|
||||
//cout<<" here "; cin.get();
|
||||
if (v1 == v2) return false;
|
||||
diff --git a/Global/Combinatorics.h b/Global/Combinatorics.h
|
||||
index d751a04..d8cf6b2 100644
|
||||
--- a/Global/Combinatorics.h
|
||||
+++ b/Global/Combinatorics.h
|
||||
@@ -18,7 +18,7 @@
|
||||
// order nums increasingly
|
||||
struct incnum
|
||||
{
|
||||
- bool operator() (num n1, num n2)
|
||||
+ bool operator() (num n1, num n2) const
|
||||
{
|
||||
return (n1 < n2);
|
||||
}
|
||||
@@ -28,7 +28,7 @@ struct incnum
|
||||
// order nums decreasingly
|
||||
struct decnum
|
||||
{
|
||||
- bool operator() (num n1, num n2)
|
||||
+ bool operator() (num n1, num n2) const
|
||||
{
|
||||
return (n1 > n2);
|
||||
}
|
||||
@@ -18,6 +18,11 @@ stdenv.mkDerivation {
|
||||
};
|
||||
|
||||
sourceRoot = ".";
|
||||
|
||||
patches = [
|
||||
./fix-gcc15.patch
|
||||
];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = toString [ "-std=c++14" ];
|
||||
buildPhase = ''
|
||||
g++ Pers.cpp -O3 -fpermissive -o perseus
|
||||
|
||||
@@ -8,15 +8,18 @@
|
||||
|
||||
perlPackages.buildPerlPackage rec {
|
||||
pname = "pgformatter";
|
||||
version = "5.9";
|
||||
version = "5.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "darold";
|
||||
repo = "pgFormatter";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-G4Bbg8tNlwV8VCVKCamhlQ/pGf8hWCkABm6f8i5doos=";
|
||||
hash = "sha256-OWw47okAs8x4Ri8+IJHPhy6YSkSN2sBlJ0v8h6GlhfU=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
outputs = [ "out" ];
|
||||
|
||||
makeMakerFlags = [ "INSTALLDIRS=vendor" ];
|
||||
@@ -54,10 +57,12 @@ perlPackages.buildPerlPackage rec {
|
||||
thunze
|
||||
mfairley
|
||||
];
|
||||
license = [
|
||||
lib.licenses.postgresql
|
||||
lib.licenses.artistic2
|
||||
];
|
||||
license =
|
||||
with lib.licenses;
|
||||
AND [
|
||||
postgresql
|
||||
artistic2
|
||||
];
|
||||
mainProgram = "pg_format";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -11,8 +11,11 @@
|
||||
libev,
|
||||
libgccjit,
|
||||
libssh,
|
||||
libyaml,
|
||||
lz4,
|
||||
ncurses,
|
||||
openssl,
|
||||
pkg-config,
|
||||
systemd,
|
||||
zlib,
|
||||
zstd,
|
||||
@@ -20,18 +23,19 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "pgmoneta";
|
||||
version = "0.19.1";
|
||||
version = "0.21.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pgmoneta";
|
||||
repo = "pgmoneta";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-qsKjUFCuxKSc7klB/S2N3TG+jqnS4NW0RZC6e9JQXtA=";
|
||||
hash = "sha256-55oXnyNLwhtT3s4qTEh24N08vf0zhNUDVoxrUiYkVZc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
docutils # for rst2man
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
@@ -42,7 +46,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
libev
|
||||
libgccjit
|
||||
libssh
|
||||
libyaml
|
||||
lz4
|
||||
ncurses
|
||||
openssl
|
||||
systemd
|
||||
zlib
|
||||
|
||||
@@ -8,19 +8,20 @@
|
||||
libjack2,
|
||||
libogg,
|
||||
libvorbis,
|
||||
libsndfile,
|
||||
rtmidi,
|
||||
kdePackages,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
version = "2.4.1";
|
||||
version = "2.5.1";
|
||||
pname = "polyphone";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "davy7125";
|
||||
repo = "polyphone";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-43EswCgNJv11Ov+4vmj2vS/yJ2atyzkRmk/SoCKYD/0=";
|
||||
hash = "sha256-zs8fdHC1/bR2m05+SEmsMPyxATE/KHcAj57DNYt63rQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -37,6 +38,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
libjack2
|
||||
libogg
|
||||
libvorbis
|
||||
libsndfile
|
||||
kdePackages.qtsvg
|
||||
kdePackages.qtwayland
|
||||
rtmidi
|
||||
|
||||
@@ -22,16 +22,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "qbz";
|
||||
version = "1.2.10";
|
||||
version = "1.2.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vicrodh";
|
||||
repo = "qbz";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-cPe7J0KtcTQFfjhNL9giRPLx2VwHsUYRDV/ZM/2dFas=";
|
||||
hash = "sha256-SuEmBxwwEkINmH/cswV9Ed6FtBKP6IRrjQ7sIYMPOTg=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-tmXcLNu8ejYTP13b+Ir1ExtRrsEXsUcULUgIX9gzltU=";
|
||||
cargoHash = "sha256-bOm2W7lQag87dDRqcCCFPp2c+qVuOAoLpPH7Pihz1BU=";
|
||||
cargoRoot = "src-tauri";
|
||||
buildAndTestSubdir = finalAttrs.cargoRoot;
|
||||
|
||||
@@ -40,7 +40,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
npmDeps = fetchNpmDeps {
|
||||
name = "qbz-${finalAttrs.version}-npm-deps";
|
||||
inherit (finalAttrs) src;
|
||||
hash = "sha256-MYBxnLGSz4MyrpdNKUIBtnA6HFimPwrcEOYOGSbS5AY=";
|
||||
hash = "sha256-WjZg3xaJFOdCA0XaIFwWhd4kglUjkWei6Cw3+NiP6zs=";
|
||||
};
|
||||
|
||||
env.LIBCLANG_PATH = "${lib.getLib llvmPackages.libclang}/lib";
|
||||
|
||||
@@ -23,13 +23,13 @@
|
||||
}:
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "readest";
|
||||
version = "0.10.6";
|
||||
version = "0.11.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "readest";
|
||||
repo = "readest";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-48POUgO6torvLJLXpVzDQLF5sZ2Ws+vhiI1x84+exAw=";
|
||||
hash = "sha256-VS1YpSy9dw0Z6hOZRKhq/3Yl2+x+jxQf7VWXeDs2HIg=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
@@ -46,11 +46,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
inherit (finalAttrs) pname version src;
|
||||
pnpm = pnpm_10;
|
||||
fetcherVersion = 3;
|
||||
hash = "sha256-4CO0ouas6TAZDaL2J8zr9wR28QB/DVN4y1Cqe8m1FEg=";
|
||||
hash = "sha256-AnCxGeYaA5pY3tXA8e03fAXvU/mj4mBP0ZA3MUkodNo=";
|
||||
};
|
||||
|
||||
cargoRoot = "../..";
|
||||
cargoHash = "sha256-7wmqDGhtBHU9iOvLrsqGifCEuVdymdljlETkW7dThHA=";
|
||||
cargoHash = "sha256-BGI1C8SSDjkqhkBhos1GVXMaIUpYmSmPgb6lTuZJSQs=";
|
||||
|
||||
buildAndTestSubdir = "src-tauri";
|
||||
|
||||
|
||||
@@ -7,16 +7,20 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "repak";
|
||||
version = "0.2.2";
|
||||
version = "0.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "trumank";
|
||||
repo = "repak";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-nl05EsR52YFSR9Id3zFynhrBIvaqVwUOdjPlSp19Gcc=";
|
||||
hash = "sha256-fvB8Loukfy35+hqt3fhAubHhSCAd1TFE6TuBZ0xUkxE=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-i0pBd0ZiMIEFGZgvBgVNCfqPHE6E3Rt5pAHHVj1epLs=";
|
||||
cargoHash = "sha256-1jpjVQ+EiDUnGaTwDHMpLwLA/CkVGdZ+iLiWEkEpAwg=";
|
||||
|
||||
checkFlags = [
|
||||
"--skip=test::test_oodle"
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
|
||||
@@ -12,16 +12,16 @@
|
||||
android-tools,
|
||||
ffmpeg,
|
||||
libusb1,
|
||||
SDL2,
|
||||
sdl3,
|
||||
}:
|
||||
|
||||
let
|
||||
version = "3.3.4";
|
||||
version = "4.0";
|
||||
prebuilt_server = fetchurl {
|
||||
name = "scrcpy-server";
|
||||
inherit version;
|
||||
url = "https://github.com/Genymobile/scrcpy/releases/download/v${version}/scrcpy-server-v${version}";
|
||||
hash = "sha256-hYgjjJpaAKpUKQa27H5tVUHZ/7m10PbhvA42XiMDB54=";
|
||||
hash = "sha256-hJJL1WSh62CJyHLHUh+WgFiXf5H1/wJRSox0r/MhDzo=";
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
||||
owner = "Genymobile";
|
||||
repo = "scrcpy";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-5yd4YHVJH5+iBN5z0SYdTB0ay6vY4XwM/CCDjbEux74=";
|
||||
hash = "sha256-o8jZXVwNub8KU7k2BjC9jvpX4Y7bKFySBUYw/dVHck0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [
|
||||
ffmpeg
|
||||
SDL2
|
||||
sdl3
|
||||
libusb1
|
||||
];
|
||||
|
||||
|
||||
@@ -10,13 +10,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "sentry-native";
|
||||
version = "0.13.7";
|
||||
version = "0.14.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "getsentry";
|
||||
repo = "sentry-native";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-TrczlrPn9b0i5uJmt0bd0XOuH+R8WXIV2WQxLRnFYgA=";
|
||||
hash = "sha256-TIKYmHSoKd3aJ3lXigcUsFLcps51Y0h7coBCa+drE1U=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
enableVST2 ? false,
|
||||
}:
|
||||
let
|
||||
version = "1.1.1";
|
||||
version = "1.1.5";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "socalabs-sn76489";
|
||||
@@ -39,7 +39,7 @@ stdenv.mkDerivation {
|
||||
owner = "FigBug";
|
||||
repo = "SN76489";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-Dzv9qtUtuiQa2pc1TN9qyQWHP2pBU7bGXHZgALjKr3U=";
|
||||
hash = "sha256-dQ697B0mhdIC0ltdY2EnErLNAGRKA6ARONX/kR3OLyI=";
|
||||
fetchSubmodules = true;
|
||||
preFetch = ''
|
||||
# can't clone using ssh
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "spruce";
|
||||
version = "1.35.1";
|
||||
version = "1.35.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "geofffranks";
|
||||
repo = "spruce";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-vfgbmQ5cR1825r0uPQlpeOyhJjWwsTPsO6bFIcPwisc=";
|
||||
hash = "sha256-lMKMq3zOgyYKmaHPLsdhY56HRtPlBlNcaZUPZeCuDI4=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
}:
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "stevenblack-blocklist";
|
||||
version = "3.16.78";
|
||||
version = "3.16.80";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "StevenBlack";
|
||||
repo = "hosts";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-8lfsRiiacHumCkJ+AgQh2AVeI2K5BJVL3Zr+N/ycKs4=";
|
||||
hash = "sha256-wTiDXFiBKV4M4jv1JrVLL/kkIyE1FK4qino07BYU5fc=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
|
||||
@@ -43,29 +43,20 @@ stdenv.mkDerivation (
|
||||
dontConfigure = true;
|
||||
dontFixup = true;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace package.json \
|
||||
--replace-fail '"prepare": "effect-language-service patch",' '"prepare": "true",'
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
# Use hoisted linker: Bun's default/isolated layout can race and omit
|
||||
# cyclic peer dependency bin links (e.g. update-browserslist-db →
|
||||
# browserslist). A manual .bin/browserslist symlink under .bun did not
|
||||
# reliably fix builds; see https://github.com/oven-sh/bun/pull/29014.
|
||||
bun install \
|
||||
--linker=hoisted \
|
||||
--cpu="*" \
|
||||
--ignore-scripts \
|
||||
--no-progress \
|
||||
--frozen-lockfile \
|
||||
--os="linux" \
|
||||
--os="darwin"
|
||||
|
||||
# Work around to prevent a Bun race that can omit this cyclic peer dependency bin link.
|
||||
# See https://github.com/oven-sh/bun/pull/29014.
|
||||
for updateBrowserslistDbBinDir in node_modules/.bun/update-browserslist-db@*/node_modules/.bin; do
|
||||
if [ -d "$updateBrowserslistDbBinDir" ] && [ ! -e "$updateBrowserslistDbBinDir/browserslist" ]; then
|
||||
ln -s ../browserslist/cli.js "$updateBrowserslistDbBinDir/browserslist"
|
||||
fi
|
||||
done
|
||||
--os="*"
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
@@ -75,18 +66,17 @@ stdenv.mkDerivation (
|
||||
|
||||
mkdir --parents $out
|
||||
cp --recursive node_modules $out
|
||||
find apps packages -type d -name node_modules -exec cp --recursive --parents {} $out \;
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
outputHash = "sha256-zO4LNUxU0q/+kKBtRQKNTzWHnmGT4ONMRkyJem3ei/o=";
|
||||
outputHash = "sha256-63Vx05VLHiZpY1K8ZS1GyoupU4i3sEPEAnWMWyMelbg=";
|
||||
outputHashMode = "recursive";
|
||||
};
|
||||
in
|
||||
{
|
||||
pname = "t3code";
|
||||
version = "0.0.22";
|
||||
version = "0.0.23";
|
||||
strictDeps = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
@@ -94,7 +84,7 @@ stdenv.mkDerivation (
|
||||
owner = "pingdotgg";
|
||||
repo = "t3code";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-ZSUmu3FT+wpCLwpUv3yrFWC4EzcVvev9cZQ/FyeLjqI=";
|
||||
hash = "sha256-gsDHogGnzKVwypGwK1PzYBXpBYBFQHIbXMpWVUGzKU8=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -128,9 +118,9 @@ stdenv.mkDerivation (
|
||||
chmod --recursive u+rwX node_modules
|
||||
patchShebangs node_modules
|
||||
|
||||
# Compile node-pty's native addon from the vendored bun store.
|
||||
# Compile node-pty's native addon (hoisted into node_modules).
|
||||
export npm_config_nodedir=${nodejs}
|
||||
cd node_modules/.bun/node-pty@*/node_modules/node-pty
|
||||
cd node_modules/node-pty
|
||||
node-gyp rebuild
|
||||
node scripts/post-install.js
|
||||
cd -
|
||||
@@ -162,8 +152,8 @@ stdenv.mkDerivation (
|
||||
|
||||
mkdir --parents "$out"/libexec/t3code/apps/desktop "$out"/libexec/t3code/apps/server
|
||||
cp --recursive --no-preserve=mode node_modules "$out"/libexec/t3code
|
||||
cp --recursive --no-preserve=mode apps/server/{node_modules,dist} "$out"/libexec/t3code/apps/server
|
||||
cp --recursive --no-preserve=mode apps/desktop/{node_modules,dist-electron} "$out"/libexec/t3code/apps/desktop
|
||||
cp --recursive --no-preserve=mode apps/server/dist "$out"/libexec/t3code/apps/server
|
||||
cp --recursive --no-preserve=mode apps/desktop/dist-electron "$out"/libexec/t3code/apps/desktop
|
||||
|
||||
mkdir --parents "$out"/libexec/t3code/apps/desktop/prod-resources
|
||||
install --mode=444 ${desktopIcon} \
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "Tautulli";
|
||||
version = "2.17.0";
|
||||
pname = "tautulli";
|
||||
version = "2.17.1";
|
||||
pyproject = false;
|
||||
|
||||
pythonPath = [ python3Packages.setuptools ];
|
||||
@@ -20,7 +20,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
owner = "Tautulli";
|
||||
repo = "Tautulli";
|
||||
tag = "v${finalAttrs.version}";
|
||||
sha256 = "sha256-1NslfaQLQvYM0WeAxzAmZVHTgVbFB2XK/8T+EoCMK1k=";
|
||||
sha256 = "sha256-aD8kolDD1CpGiPmTzEA8Ft0PEdkhzDuR1z5LFHeXIZs=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
|
||||
@@ -77,7 +77,7 @@ stdenvNoCC.mkDerivation {
|
||||
dontInstall = true;
|
||||
|
||||
outputHashAlgo = "sha256";
|
||||
outputHash = "sha256-78RL0hYnnlWFxBZO4pvR9eSVR4hRD2FK+C0Th2QPYlc=";
|
||||
outputHash = "sha256-3P42xJ1tBVRpe1hNDy4ax9bUmiaPnSZolTGmsKpzYUA=";
|
||||
outputHashMode = "recursive";
|
||||
};
|
||||
|
||||
|
||||
@@ -9,13 +9,13 @@ let
|
||||
running in development environment and try to serve assets from the
|
||||
source tree, which is not there once build completes.
|
||||
*/
|
||||
version = "0.37.0";
|
||||
version = "0.37.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tilt-dev";
|
||||
repo = "tilt";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-NxxQP53vN+1hJUBZyk0bJFlOcUFxU2bfFzwTGkTKuFo=";
|
||||
hash = "sha256-gJQ9ECGsJ4VBASxmNewOhA3zLl7YjMm5GRDuAefmFYE=";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -8,21 +8,26 @@
|
||||
}:
|
||||
rustPlatform.buildRustPackage (final: {
|
||||
pname = "tirith";
|
||||
version = "0.2.12";
|
||||
version = "0.3.1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "sheeki03";
|
||||
repo = "tirith";
|
||||
tag = "v${final.version}";
|
||||
hash = "sha256-O0IRWiNib7sc6y17NdHcFfxKW5M37l/87kBEAJiTMWs=";
|
||||
hash = "sha256-RdStW5ubqypdmFqNk9DHtUp5jHnZdXiWW/lAlSaBb3c=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-mIQ1zvAh+a7EyyNoYEZFdYUaQ9drIE2WfHmFHvgFUFM=";
|
||||
cargoHash = "sha256-/V2vv02x0zSsJCcJMSttG9eekRZMK7KTk6m2VYePFa8=";
|
||||
|
||||
cargoBuildFlags = [
|
||||
"-p"
|
||||
"tirith"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# The bash_preexec_enforce tests require a shell with job control
|
||||
rm crates/tirith/tests/bash_preexec_enforce.rs
|
||||
'';
|
||||
|
||||
checkFlags = [
|
||||
# requires a fully functional shell environment, generating init scripts needs a patch under nix to work at build time
|
||||
"--skip=init_bash_output"
|
||||
@@ -34,6 +39,7 @@ rustPlatform.buildRustPackage (final: {
|
||||
];
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
doInstallCheck = true;
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||
installShellCompletion --cmd tirith \
|
||||
|
||||
@@ -9,16 +9,16 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "tmuxai";
|
||||
version = "2.1.1";
|
||||
version = "2.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alvinunreal";
|
||||
repo = "tmuxai";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-eAauLivhbqi5kwsugEPu4pWS81Dtt9oz5Bg98EqFPbI=";
|
||||
hash = "sha256-i0SML6CpFim+jMy6uOqZg1uhuy3ngYFscg2if8/3fOI=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-rXvsEbSOi8kXgP5oL3FxyFSXpyIYMLuQTaRLkEmscqk=";
|
||||
vendorHash = "sha256-TlP5DlsPL46ityGhje/b8OHDHeWWCxu5K5iu3pyVxog=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
|
||||
@@ -0,0 +1,83 @@
|
||||
{
|
||||
fetchpatch,
|
||||
fetchzip,
|
||||
lib,
|
||||
stdenv,
|
||||
|
||||
autoreconfHook,
|
||||
cddlib,
|
||||
gmpxx,
|
||||
|
||||
programPrefix ? "topcom-",
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "topcom";
|
||||
version = "1.1.2";
|
||||
|
||||
versionUrl = builtins.replaceStrings [ "." ] [ "_" ] finalAttrs.version;
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://www.wm.uni-bayreuth.de/de/team/rambau_joerg/TOPCOM-Downloads/TOPCOM-${finalAttrs.versionUrl}.tgz";
|
||||
hash = "sha256-r6dA2rQzxMu0Xxq5yl9rBZ5MJTRnmWVLav/F/QpkZ1A=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
cddlib
|
||||
gmpxx
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
];
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://gitlab.archlinux.org/archlinux/packaging/packages/topcom/-/raw/67c9a20c8e1597898f3950b486b4287641823363/system-libs.patch";
|
||||
hash = "sha256-F+1ZtluGL3i+LKWp0poQnx2ZlV5TSp6WSK5yl2FmOP4";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace lib-src/Makefile.am lib-src-reg/Makefile.am src/Makefile.am src-reg/Makefile.am \
|
||||
--replace-fail '$(includedir)/cddlib' '${lib.getDev cddlib}/include/cddlib'
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--program-prefix=${programPrefix}"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
installCheckPhase = ''
|
||||
runHook preInstallCheck
|
||||
for prog in $(find "$out/bin" -type f); do
|
||||
echo "Checking $prog"
|
||||
grep -q '^usage: ' <(echo "" | "$prog" 2>&1) && continue
|
||||
"$prog" --help &>/dev/null && continue
|
||||
echo "$prog doesn't seem to be working" >&2
|
||||
exit 1
|
||||
done
|
||||
runHook postInstallCheck
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "Package for computing Triangulations Of Point Configurations and Oriented Matroid";
|
||||
longDescription = ''
|
||||
TOPCOM is a package for computing Triangulations Of Point Configurations
|
||||
and Oriented Matroids. It was very much inspired by the maple program
|
||||
PUNTOS, which was written by Jesus de Loera. TOPCOM is entirely written
|
||||
in C++, so there is a significant speed up compared to PUNTOS.
|
||||
'';
|
||||
homepage = "https://www.wm.uni-bayreuth.de/de/team/rambau_joerg/TOPCOM/index.html";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = with lib.maintainers; [ coolcuber ];
|
||||
};
|
||||
})
|
||||
@@ -3,37 +3,36 @@
|
||||
rustPlatform,
|
||||
fetchFromGitLab,
|
||||
python3,
|
||||
unstableGitUpdater,
|
||||
rustfmt,
|
||||
nix-update-script,
|
||||
}:
|
||||
rustPlatform.buildRustPackage {
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "windowtolayer";
|
||||
version = "0-unstable-2025-01-26";
|
||||
version = "0.3.1";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.freedesktop.org";
|
||||
owner = "mstoeckl";
|
||||
repo = "windowtolayer";
|
||||
rev = "5ddb3a2834c834af4ec412bb2ba2c77431953d51";
|
||||
hash = "sha256-PzKx8lkWDJGVj1Azc/vfbSPYV7x5+ZnCGMAAK4o207Y=";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-TUet9DqLMsY34Mb9t4IKr3Z/JxrPgvufzanHI4D9dZg=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-XuSlbBLWUkPsA0DYC4qemvAGyynkkuznA5FGBKRmNso=";
|
||||
cargoHash = "sha256-MqcutNzorDeYoGKWFbCzIrNuo1w2vwnGEFOuooZwPgk=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
python3
|
||||
rustfmt
|
||||
];
|
||||
|
||||
passthru.updateScript = unstableGitUpdater {
|
||||
url = "https://gitlab.freedesktop.org/mstoeckl/windowtolayer.git";
|
||||
};
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Display existing Wayland applications as a wallpaper instead";
|
||||
homepage = "https://gitlab.freedesktop.org/mstoeckl/windowtolayer";
|
||||
mainProgram = "windowtolayer";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
platforms = with lib.platforms; linux ++ freebsd;
|
||||
maintainers = with lib.maintainers; [ anomalocaris ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,43 +0,0 @@
|
||||
{
|
||||
"release_date": "2025-08-12",
|
||||
"release_label": "0.7.0",
|
||||
"release_product": "cusolvermp",
|
||||
"libcusolvermp": {
|
||||
"name": "NVIDIA libcusolvermp library",
|
||||
"license": "libcusolvermp library",
|
||||
"license_path": "libcusolvermp/LICENSE.txt",
|
||||
"version": "0.7.0.833",
|
||||
"linux-x86_64": {
|
||||
"cuda12": {
|
||||
"relative_path": "libcusolvermp/linux-x86_64/libcusolvermp-linux-x86_64-0.7.0.833_cuda12-archive.tar.xz",
|
||||
"sha256": "5383f35eefd45cc0a5cbd173a4a353941f02b912eb2f8d3a85c30345054df5e9",
|
||||
"md5": "f9cf72595e8ff6d72a68b4a23ccc9973",
|
||||
"size": "9293812"
|
||||
},
|
||||
"cuda13": {
|
||||
"relative_path": "libcusolvermp/linux-x86_64/libcusolvermp-linux-x86_64-0.7.0.833_cuda13-archive.tar.xz",
|
||||
"sha256": "4a4bf2d08dad3a276b33f9356f8cd8b5b2a70201257a277c83bb3cfdb7a7107a",
|
||||
"md5": "a95c2c6a6f8d9c07ee99ca1545a71967",
|
||||
"size": "8014464"
|
||||
}
|
||||
},
|
||||
"cuda_variant": [
|
||||
"12",
|
||||
"13"
|
||||
],
|
||||
"linux-sbsa": {
|
||||
"cuda12": {
|
||||
"relative_path": "libcusolvermp/linux-sbsa/libcusolvermp-linux-sbsa-0.7.0.833_cuda12-archive.tar.xz",
|
||||
"sha256": "a0012c5be7ac742a26cf8894bed3c703edea84eddf0d5dca42d35582622ffb9b",
|
||||
"md5": "626c1e35145fa495a7708c5fff007866",
|
||||
"size": "9214676"
|
||||
},
|
||||
"cuda13": {
|
||||
"relative_path": "libcusolvermp/linux-sbsa/libcusolvermp-linux-sbsa-0.7.0.833_cuda13-archive.tar.xz",
|
||||
"sha256": "51b80fc5cdeb197b3e9b1de393a8413943ccb2d0e7509c6a183816be83123260",
|
||||
"md5": "6338b4e581a076214581ec650f9eb92e",
|
||||
"size": "7605548"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"release_date": "2026-04-13",
|
||||
"release_label": "0.8.0",
|
||||
"release_product": "cusolvermp",
|
||||
"libcusolvermp": {
|
||||
"name": "NVIDIA libcusolvermp library",
|
||||
"license": "libcusolvermp library",
|
||||
"license_path": "libcusolvermp/LICENSE.txt",
|
||||
"version": "0.8.0.3126",
|
||||
"linux-x86_64": {
|
||||
"cuda12": {
|
||||
"relative_path": "libcusolvermp/linux-x86_64/libcusolvermp-linux-x86_64-0.8.0.3126_cuda12-archive.tar.xz",
|
||||
"sha256": "3215039d5e5ab2a2c47b53e15f0dbc2341bd757a747e5400a049008a3dd65883",
|
||||
"md5": "abb3954160ce2318afbd7dc2fb4fd6fb",
|
||||
"size": "10575328"
|
||||
},
|
||||
"cuda13": {
|
||||
"relative_path": "libcusolvermp/linux-x86_64/libcusolvermp-linux-x86_64-0.8.0.3126_cuda13-archive.tar.xz",
|
||||
"sha256": "9cc471e19cd1593bc5dd95dca3cd0b444c1bb206293550f15e3b3a202d3441f5",
|
||||
"md5": "d9935bc5ad617078a57f80aadd30215b",
|
||||
"size": "10829960"
|
||||
}
|
||||
},
|
||||
"cuda_variant": [
|
||||
"12",
|
||||
"13"
|
||||
],
|
||||
"linux-sbsa": {
|
||||
"cuda12": {
|
||||
"relative_path": "libcusolvermp/linux-sbsa/libcusolvermp-linux-sbsa-0.8.0.3126_cuda12-archive.tar.xz",
|
||||
"sha256": "e84a24fd6448e97a1d8574bda190aa623c24bddb088f5aab1ab7aecda6297e3f",
|
||||
"md5": "09659b0cac2a50e5cdf541563da65ace",
|
||||
"size": "9736672"
|
||||
},
|
||||
"cuda13": {
|
||||
"relative_path": "libcusolvermp/linux-sbsa/libcusolvermp-linux-sbsa-0.8.0.3126_cuda13-archive.tar.xz",
|
||||
"sha256": "100fa8918b609bf1beb194526a45994b56dde662659dfbc98e183df97be1217f",
|
||||
"md5": "625bc54b050c68c02dd28bff68bfb252",
|
||||
"size": "10690004"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -24,6 +24,11 @@ buildRedist {
|
||||
nccl
|
||||
];
|
||||
|
||||
autoPatchelfIgnoreMissingDeps = [
|
||||
# Needs to be dynamically loaded as it depends on the hardware
|
||||
"libcuda.so.1"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "High-performance, distributed-memory, GPU-accelerated library that provides tools for solving dense linear systems and eigenvalue problems";
|
||||
longDescription = ''
|
||||
|
||||
@@ -1008,15 +1008,15 @@ final: prev: {
|
||||
}:
|
||||
buildLuarocksPackage {
|
||||
pname = "fzf-lua";
|
||||
version = "0.0.2638-1";
|
||||
version = "0.0.2646-1";
|
||||
knownRockspec =
|
||||
(fetchurl {
|
||||
url = "mirror://luarocks/fzf-lua-0.0.2638-1.rockspec";
|
||||
sha256 = "1nlfqaii5sz6dq9hrw0yszb5q03kw03q8kxkpp76if5sqiq9ggys";
|
||||
url = "mirror://luarocks/fzf-lua-0.0.2646-1.rockspec";
|
||||
sha256 = "1mpvbkkj7lbmvcihz0f0sbh81g2y0kans1hj336298yc7mygj4b1";
|
||||
}).outPath;
|
||||
src = fetchzip {
|
||||
url = "https://github.com/ibhagwan/fzf-lua/archive/10c19a5f08bfeed34b930a1efddda3a9a983e6e2.zip";
|
||||
sha256 = "150srd6vb49m9xklkhdhssx96kbj05qis96nv53dnkw66mvapgsh";
|
||||
url = "https://github.com/ibhagwan/fzf-lua/archive/97376e364f51f1b5ae3efaa3eb2e929430ca8419.zip";
|
||||
sha256 = "029md3l7xccsnm3wwpdyi1mmxz7ha92c9qgx1qwqpnlc2p7cpdbm";
|
||||
};
|
||||
|
||||
disabled = luaOlder "5.1";
|
||||
@@ -1136,15 +1136,15 @@ final: prev: {
|
||||
}:
|
||||
buildLuarocksPackage {
|
||||
pname = "haskell-tools.nvim";
|
||||
version = "9.0.1-1";
|
||||
version = "9.0.2-1";
|
||||
knownRockspec =
|
||||
(fetchurl {
|
||||
url = "mirror://luarocks/haskell-tools.nvim-9.0.1-1.rockspec";
|
||||
sha256 = "0gjwv0hijxzb8hmdv6ana77adyvwszx4j4lr8dddikpggd3i6iw0";
|
||||
url = "mirror://luarocks/haskell-tools.nvim-9.0.2-1.rockspec";
|
||||
sha256 = "1k4p153lvl7y5a301q45072ldxkic18d6ymfz814qc5vxbk6xalg";
|
||||
}).outPath;
|
||||
src = fetchzip {
|
||||
url = "https://github.com/mrcjkb/haskell-tools.nvim/archive/v9.0.1.zip";
|
||||
sha256 = "1sfwm86zz9pdk9w937knlm9dj4ai29rx0zx0r59accgl0rzaav7j";
|
||||
url = "https://github.com/mrcjkb/haskell-tools.nvim/archive/v9.0.2.zip";
|
||||
sha256 = "1vl9z9snw8wzgnib7244z9gld61f2y4kp66540ia2yi8gp214n7l";
|
||||
};
|
||||
|
||||
disabled = luaOlder "5.1";
|
||||
@@ -5044,15 +5044,15 @@ final: prev: {
|
||||
}:
|
||||
buildLuarocksPackage {
|
||||
pname = "orgmode";
|
||||
version = "0.7.2-1";
|
||||
version = "0.7.3-1";
|
||||
knownRockspec =
|
||||
(fetchurl {
|
||||
url = "mirror://luarocks/orgmode-0.7.2-1.rockspec";
|
||||
sha256 = "1n9kcx261lj6296g60m53frvcykaa22m0qfwvz4zh6cb012n60fg";
|
||||
url = "mirror://luarocks/orgmode-0.7.3-1.rockspec";
|
||||
sha256 = "1zvyidy23am6qkya8yc6pxxhc5nf42y8c9djfmlx67z89gxfxm9n";
|
||||
}).outPath;
|
||||
src = fetchzip {
|
||||
url = "https://github.com/nvim-orgmode/orgmode/archive/0.7.2.zip";
|
||||
sha256 = "156yhi54gqabcbcmbripwdqa6nnaf2lxirn3fy35mxnyn2mfx77j";
|
||||
url = "https://github.com/nvim-orgmode/orgmode/archive/0.7.3.zip";
|
||||
sha256 = "16glwzys6pcq8pi96jkdc93fasqgf0d8yqncxaw3741906mni9ym";
|
||||
};
|
||||
|
||||
disabled = luaOlder "5.1";
|
||||
@@ -5552,21 +5552,21 @@ final: prev: {
|
||||
}:
|
||||
buildLuarocksPackage {
|
||||
pname = "rustaceanvim";
|
||||
version = "9.0.3-2";
|
||||
version = "9.0.4-2";
|
||||
knownRockspec =
|
||||
(fetchurl {
|
||||
url = "mirror://luarocks/rustaceanvim-9.0.3-2.rockspec";
|
||||
sha256 = "1afjl8f0qgqlingk8schjnpqi1ihh35s33pf57xpn6chx281zb7d";
|
||||
url = "mirror://luarocks/rustaceanvim-9.0.4-2.rockspec";
|
||||
sha256 = "1l5jnk665cig8hgcfby4g2w8ffi5lsndx6nvc1pjjjhqz3m69c3w";
|
||||
}).outPath;
|
||||
src = fetchzip {
|
||||
url = "https://github.com/mrcjkb/rustaceanvim/archive/refs/tags/v9.0.3.zip";
|
||||
sha256 = "14573r04zqn72a6qjhnjii0n6n2s8smdg5rsccr1svy2aplvwxrj";
|
||||
url = "https://github.com/mrcjkb/rustaceanvim/archive/refs/tags/v9.0.4.zip";
|
||||
sha256 = "1m9ryz4ivrvjmz6zmffj01xc13kral6zvkwqaivhi6gx4553ya09";
|
||||
};
|
||||
|
||||
disabled = lua.luaversion != "5.1";
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/mrcjkb/rustaceanvim/archive/refs/tags/v9.0.3.zip";
|
||||
homepage = "https://github.com/mrcjkb/rustaceanvim/archive/refs/tags/v9.0.4.zip";
|
||||
maintainers = with lib.maintainers; [ mrcjkb ];
|
||||
license.fullName = "GPL-2.0-only";
|
||||
description = "🦀 Supercharge your Rust experience in Neovim! A heavily modified fork of rust-tools.nvim";
|
||||
@@ -5837,7 +5837,7 @@ final: prev: {
|
||||
fetchFromGitHub,
|
||||
fetchurl,
|
||||
inspect,
|
||||
ltreesitter-ts,
|
||||
ltreesitter,
|
||||
lua-cjson,
|
||||
luafilesystem,
|
||||
luarocks-build-treesitter-parser,
|
||||
@@ -5849,24 +5849,24 @@ final: prev: {
|
||||
}:
|
||||
buildLuarocksPackage {
|
||||
pname = "teal-language-server";
|
||||
version = "0.1.1-1";
|
||||
version = "0.1.2-1";
|
||||
knownRockspec =
|
||||
(fetchurl {
|
||||
url = "mirror://luarocks/teal-language-server-0.1.1-1.rockspec";
|
||||
sha256 = "1dhhqm2dwl1i27dni8yd6l7qjd1xhz16b772jp96aj66rizhkvcr";
|
||||
url = "mirror://luarocks/teal-language-server-0.1.2-1.rockspec";
|
||||
sha256 = "1z7nbzhdqh2w7k635hbbfba2s37rxbcphaxq7dfsjfj3sgkj9snf";
|
||||
}).outPath;
|
||||
src = fetchFromGitHub {
|
||||
owner = "teal-language";
|
||||
repo = "teal-language-server";
|
||||
tag = "0.1.1";
|
||||
hash = "sha256-UgN3BOdsxUIsn1HAXEmAzHns1ZKylxUo7owI2uYsNlA=";
|
||||
tag = "0.1.2";
|
||||
hash = "sha256-1ssgt+/e28TJ+1G1TWAPbZe5DiUYOafsSbc9exttesk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ luarocks-build-treesitter-parser ];
|
||||
propagatedBuildInputs = [
|
||||
argparse
|
||||
inspect
|
||||
ltreesitter-ts
|
||||
ltreesitter
|
||||
lua-cjson
|
||||
luafilesystem
|
||||
lusc_luv
|
||||
@@ -5939,8 +5939,8 @@ final: prev: {
|
||||
src = fetchFromGitHub {
|
||||
owner = "nvim-telescope";
|
||||
repo = "telescope.nvim";
|
||||
rev = "ec009610d5d259ec59a6edf0219ef3f7ee4732e5";
|
||||
hash = "sha256-JPwaWFjW4W5ZKAnKEkMnK41JS4omsKYxmRerGMGALDc=";
|
||||
rev = "f04ab730b8f9c6bf3f54a206d0dcddfd70c52d59";
|
||||
hash = "sha256-M5cAQe0VxKwiOsLqXmlxNzd8xvLW+J1+Hd31PFmK+S8=";
|
||||
};
|
||||
|
||||
disabled = lua.luaversion != "5.1";
|
||||
@@ -6123,8 +6123,8 @@ final: prev: {
|
||||
src = fetchFromGitHub {
|
||||
owner = "FourierTransformer";
|
||||
repo = "tree-sitter-cli";
|
||||
rev = "2627479cfc38bd0a91ccca02f7e45b8438e8f3bf";
|
||||
hash = "sha256-QNVZWxd0Lf1N5ahqOvhP9RzvNxC4gGLznbdUK4zzDqM=";
|
||||
rev = "20947767690a1e81141c8ae4618cee80280861de";
|
||||
hash = "sha256-Dqhf7qfDyddaxuenPDpZsAuY3e5X9eXNISUslI5KDs4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ luarocks-build-tree-sitter-cli ];
|
||||
@@ -6240,15 +6240,15 @@ final: prev: {
|
||||
}:
|
||||
buildLuarocksPackage {
|
||||
pname = "tree-sitter-orgmode";
|
||||
version = "2.0.3-1";
|
||||
version = "2.0.4-1";
|
||||
knownRockspec =
|
||||
(fetchurl {
|
||||
url = "mirror://luarocks/tree-sitter-orgmode-2.0.3-1.rockspec";
|
||||
sha256 = "0kqsyrmx9qg80c0czpjqjyf3arccd6gpfy5fz5lgnzwd0n2jmbfp";
|
||||
url = "mirror://luarocks/tree-sitter-orgmode-2.0.4-1.rockspec";
|
||||
sha256 = "0f8h1f5r7n32qplkk6w48ngj700105wn9xm7jqlvm26d6qpiihg9";
|
||||
}).outPath;
|
||||
src = fetchzip {
|
||||
url = "https://github.com/nvim-orgmode/tree-sitter-org/archive/2.0.3.zip";
|
||||
sha256 = "0f531vg0zsc5yr39wp5sm6ra9kf731l3ssl7qhqj0h919fa02kis";
|
||||
url = "https://github.com/nvim-orgmode/tree-sitter-org/archive/2.0.4.zip";
|
||||
sha256 = "1c0j9h1nxgh0r8h9l9xd75hqqbsjy9x01gkg520fqnwcq45jd8pg";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ luarocks-build-treesitter-parser ];
|
||||
|
||||
@@ -1161,21 +1161,6 @@ in
|
||||
};
|
||||
|
||||
teal-language-server = prev.teal-language-server.overrideAttrs (old: {
|
||||
# TODO: Remove this prerelease override once upstream publishes a release
|
||||
# or rockspec that the luarocks updater can consume directly.
|
||||
version = "0.1.2-pre-1";
|
||||
knownRockspec =
|
||||
(fetchurl {
|
||||
url = "https://raw.githubusercontent.com/teal-language/teal-language-server/0.1.2-pre-1/teal-language-server-0.1.2-1.rockspec";
|
||||
sha256 = "1z7nbzhdqh2w7k635hbbfba2s37rxbcphaxq7dfsjfj3sgkj9snf";
|
||||
}).outPath;
|
||||
src = fetchFromGitHub {
|
||||
owner = "teal-language";
|
||||
repo = "teal-language-server";
|
||||
tag = "0.1.2-pre-1";
|
||||
hash = "sha256-1ssgt+/e28TJ+1G1TWAPbZe5DiUYOafsSbc9exttesk=";
|
||||
};
|
||||
strictDeps = false;
|
||||
# Relax lockfile-pinned deps (e.g. luafilesystem 1.8.0-1) so nixpkgs
|
||||
# packaged versions can satisfy dependencies.
|
||||
preConfigure = (old.preConfigure or "") + ''
|
||||
@@ -1183,23 +1168,12 @@ in
|
||||
'';
|
||||
postConfigure = (old.postConfigure or "") + ''
|
||||
substituteInPlace ''${rockspecFilename} \
|
||||
--replace-fail 'tag = "0.1.2"' 'tag = "0.1.2-pre-1"' \
|
||||
--replace-fail '"ltreesitter == 0.1.0",' '"ltreesitter >= 0.2.0",' \
|
||||
--replace-fail '"luv == 1.51.0",' '"luv >= 1.51.0",' \
|
||||
--replace-fail '"tree-sitter-cli == 0.24.7",' "" \
|
||||
--replace-fail '"tl == 0.24.5",' '"tl >= 0.24.5",' \
|
||||
--replace-fail '"tree-sitter-teal == 0.0.34",' '"tree-sitter-teal >= 0.0.34",'
|
||||
'';
|
||||
propagatedBuildInputs =
|
||||
(lib.filter (
|
||||
drv:
|
||||
!(lib.elem (lib.getName drv) [
|
||||
"ltreesitter-ts"
|
||||
])
|
||||
) (old.propagatedBuildInputs or [ ]))
|
||||
++ [
|
||||
final.ltreesitter
|
||||
];
|
||||
});
|
||||
|
||||
tiktoken_core = prev.tiktoken_core.overrideAttrs (old: {
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
versionCheckHook,
|
||||
pytestCheckHook,
|
||||
pytest-asyncio,
|
||||
python-dotenv,
|
||||
websockets,
|
||||
httpx,
|
||||
sniffio,
|
||||
@@ -19,14 +20,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "granian";
|
||||
version = "2.7.2";
|
||||
version = "2.7.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "emmett-framework";
|
||||
repo = "granian";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-6CtmoY3BHO2t+ZjMzZPKUufOkaal0K+MTYhC1eiVXWQ=";
|
||||
hash = "sha256-KId5e1ITRCkLNmvY5q/ZT18INzS8Uh9HFCzfKEablOY=";
|
||||
};
|
||||
|
||||
# Granian forces a custom allocator for all the things it runs,
|
||||
@@ -34,12 +35,12 @@ buildPythonPackage rec {
|
||||
# and allow the final application to make the allocator decision
|
||||
# via LD_PRELOAD or similar.
|
||||
patches = [
|
||||
./no-alloc.patch
|
||||
./no-alloc.patch # with --unified=1 context
|
||||
];
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit pname version src;
|
||||
hash = "sha256-7KeidUDMH79b8qgAR5bvY8tAmW5OHmVtLIdb9LlP9w0=";
|
||||
hash = "sha256-rR65e05uWmag+21n1YA1TILYU6ArajW2+QVOfGn4zGo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with rustPlatform; [
|
||||
@@ -52,6 +53,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
dotenv = [ python-dotenv ];
|
||||
pname = [ setproctitle ];
|
||||
reload = [ watchfiles ];
|
||||
# rloop = [ rloop ]; # not packaged
|
||||
|
||||
@@ -1,39 +1,27 @@
|
||||
diff --git a/Cargo.toml b/Cargo.toml
|
||||
index c7d1647..d5710bd 100644
|
||||
index e1b6a3d..8fe77cf 100644
|
||||
--- a/Cargo.toml
|
||||
+++ b/Cargo.toml
|
||||
@@ -41,7 +41,6 @@ hyper = { version = "=1.8", features = ["http1", "http2", "server"] }
|
||||
hyper-util = { version = "=0.1", features = ["server-auto", "tokio"] }
|
||||
itertools = "0.14"
|
||||
@@ -46,3 +46,2 @@ itertools = "0.14"
|
||||
log = "0.4"
|
||||
-mimalloc = { version = "0.1.43", default-features = false, features = ["local_dynamic_tls", "v3"], optional = true }
|
||||
-mimalloc = { version = "0.1.49", default-features = false, features = ["local_dynamic_tls"], optional = true }
|
||||
mime_guess = "=2.0"
|
||||
pem = "=3.0"
|
||||
percent-encoding = "=2.3"
|
||||
@@ -52,7 +51,6 @@ pyo3-log = { version = "=0.13", git = "https://github.com/gi0baro/pyo3-log.git",
|
||||
rustls-pemfile = "2.2"
|
||||
socket2 = { version = "=0.6", features = ["all"] }
|
||||
sysinfo = "=0.37"
|
||||
@@ -58,3 +57,2 @@ socket2 = { version = "=0.6", features = ["all"] }
|
||||
sysinfo = "=0.38"
|
||||
-tikv-jemallocator = { version = "0.6.0", default-features = false, features = ["disable_initial_exec_tls"], optional = true }
|
||||
tls-listener = { version = "=0.11", git = "https://github.com/gi0baro/tls-listener.git", branch = "0.11.x", features = ["rustls-ring", "rustls-tls12"] }
|
||||
tokio = { version = "1.45", features = ["full"] }
|
||||
tokio-stream = "0.1"
|
||||
@@ -62,10 +60,6 @@ tokio-util = { version = "0.7", features = ["codec", "rt"] }
|
||||
[build-dependencies]
|
||||
pyo3-build-config = "=0.27"
|
||||
@@ -68,6 +66,2 @@ pyo3-build-config = "=0.27"
|
||||
|
||||
-[features]
|
||||
-jemalloc = ["dep:tikv-jemallocator"]
|
||||
-mimalloc = ["dep:mimalloc"]
|
||||
-
|
||||
[profile.release]
|
||||
codegen-units = 1
|
||||
debug = false
|
||||
diff --git a/src/lib.rs b/src/lib.rs
|
||||
index a17a7e5..8ea1a4d 100644
|
||||
index f3a8218..805b725 100644
|
||||
--- a/src/lib.rs
|
||||
+++ b/src/lib.rs
|
||||
@@ -1,11 +1,3 @@
|
||||
@@ -1,9 +1 @@
|
||||
-#[cfg(all(feature = "jemalloc", not(feature = "mimalloc")))]
|
||||
-#[global_allocator]
|
||||
-static GLOBAL: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;
|
||||
@@ -43,5 +31,3 @@ index a17a7e5..8ea1a4d 100644
|
||||
-static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
|
||||
-
|
||||
use pyo3::prelude::*;
|
||||
use std::sync::OnceLock;
|
||||
|
||||
|
||||
@@ -44,6 +44,12 @@ buildPythonPackage rec {
|
||||
pytest-mock
|
||||
];
|
||||
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin { MPLBACKEND = "Agg"; };
|
||||
|
||||
disabledTests = [
|
||||
# exec()'d class no longer leaks into locals() under PEP 667
|
||||
"test_exec_codegen"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "hebg" ];
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch2,
|
||||
pytestCheckHook,
|
||||
numpy,
|
||||
pillow,
|
||||
@@ -26,6 +27,14 @@ buildPythonPackage rec {
|
||||
hash = "sha256-Tfy7u5MVapRE24CZLFzTnYChnH9JJ9V7FuUhDoktBFc=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix time-of-day-dependent failure in series_time validation.
|
||||
(fetchpatch2 {
|
||||
url = "https://github.com/ImagingDataCommons/highdicom/commit/e9e3f2514a74b0d4be736cff222c934ef66d67ff.patch";
|
||||
hash = "sha256-48dJAimxXYG0FQouquY5TLXi+3HarS8yx9HoLXiFymM=";
|
||||
})
|
||||
];
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
@@ -132,6 +132,9 @@ buildPythonPackage (finalAttrs: {
|
||||
disabledTestPaths = [
|
||||
# Their configuration tests don't place nicely with nixpkgs
|
||||
"tests/unit_tests/test_pytest_config.py"
|
||||
|
||||
# Timing sensitive tests
|
||||
"tests/unit_tests/agents/middleware/implementations/test_model_retry.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "langchain" ];
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pillow,
|
||||
pythonAtLeast,
|
||||
scipy,
|
||||
numpy,
|
||||
pytestCheckHook,
|
||||
@@ -45,6 +46,11 @@ buildPythonPackage rec {
|
||||
"test_ellipse_axes"
|
||||
"test_normalize"
|
||||
"test_haralick3d"
|
||||
]
|
||||
++ lib.optionals (pythonAtLeast "3.14") [
|
||||
# sys.getrefcount semantics changed in 3.14
|
||||
"test_close_holes_simple"
|
||||
"test_watershed"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "mahotas" ];
|
||||
|
||||
@@ -47,6 +47,11 @@ buildPythonPackage rec {
|
||||
# Fix random seed during tests
|
||||
pytestFlags = [ "--randomly-seed=0" ];
|
||||
|
||||
disabledTests = [
|
||||
# mimic optimizer fails to converge under current numpy
|
||||
"test_mimic_discrete_max_fast"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Machine Learning, Randomized Optimization and SEarch";
|
||||
homepage = "https://github.com/gkhayes/mlrose";
|
||||
|
||||
@@ -40,13 +40,13 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "39.3.1";
|
||||
version = "39.4.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rucio";
|
||||
repo = "rucio";
|
||||
tag = version;
|
||||
hash = "sha256-MRMMPITyjpEvWuzbeM1wTsmuHIbDDbczbFulKmOeNcU=";
|
||||
hash = "sha256-xLOSdpkBjku3AehH6n9+hT1HM5QCwr1Sh7KEQRHr7jg=";
|
||||
};
|
||||
in
|
||||
buildPythonPackage {
|
||||
@@ -57,27 +57,7 @@ buildPythonPackage {
|
||||
# future-1.0.0 not supported for interpreter python3.13
|
||||
disabled = pythonAtLeast "3.13";
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"alembic"
|
||||
"argcomplete"
|
||||
"dogpile.cache"
|
||||
"flask"
|
||||
"geoip2"
|
||||
"google-auth"
|
||||
"jsonschema"
|
||||
"oic"
|
||||
"packaging"
|
||||
"paramiko"
|
||||
"prometheus_client"
|
||||
"python-dateutil"
|
||||
"redis"
|
||||
"requests"
|
||||
"rich"
|
||||
"sqlalchemy"
|
||||
"stomp.py"
|
||||
"typing_extensions"
|
||||
"urllib3"
|
||||
];
|
||||
pythonRelaxDeps = true;
|
||||
|
||||
pythonRemoveDeps = [ "boto" ];
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "uv_build>=0.9.0,<0.10.0" "uv_build"
|
||||
--replace-fail "uv_build>=0.9.25,<0.10.0" "uv_build"
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user