mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 10:50:15 +00:00
Merge staging-next into staging
This commit is contained in:
@@ -3142,12 +3142,6 @@
|
||||
githubId = 5718007;
|
||||
name = "Bastian Köcher";
|
||||
};
|
||||
blaggacao = {
|
||||
name = "David Arnold";
|
||||
email = "dar@xoe.solutions";
|
||||
github = "blaggacao";
|
||||
githubId = 7548295;
|
||||
};
|
||||
blakesmith = {
|
||||
name = "Blake Smith";
|
||||
email = "blakesmith0@gmail.com";
|
||||
@@ -17047,13 +17041,6 @@
|
||||
githubId = 24574288;
|
||||
name = "Nikodem Rabuliński";
|
||||
};
|
||||
nrdxp = {
|
||||
email = "tim.deh@pm.me";
|
||||
matrix = "@timdeh:matrix.org";
|
||||
github = "nrdxp";
|
||||
githubId = 34083928;
|
||||
name = "Tim DeHerrera";
|
||||
};
|
||||
nrhelmi = {
|
||||
email = "helmiinour@gmail.com";
|
||||
github = "NRHelmi";
|
||||
@@ -19785,13 +19772,6 @@
|
||||
githubId = 44014925;
|
||||
name = "Rexx Larsson";
|
||||
};
|
||||
RGBCube = {
|
||||
name = "RGBCube";
|
||||
email = "nixpkgs@rgbcu.be";
|
||||
github = "RGBCube";
|
||||
githubId = 78925721;
|
||||
keys = [ { fingerprint = "jPaU3Vpm/GN0tUuDg72n2+bd9dDMWe4bnKM325eP7eI"; } ];
|
||||
};
|
||||
rgnns = {
|
||||
email = "jglievano@gmail.com";
|
||||
github = "rgnns";
|
||||
@@ -22219,13 +22199,6 @@
|
||||
githubId = 219362;
|
||||
name = "Sarah Brofeldt";
|
||||
};
|
||||
srid = {
|
||||
email = "srid@srid.ca";
|
||||
matrix = "@srid:matrix.org";
|
||||
github = "srid";
|
||||
githubId = 3998;
|
||||
name = "Sridhar Ratnakumar";
|
||||
};
|
||||
srounce = {
|
||||
name = "Samuel Rounce";
|
||||
email = "me@samuelrounce.co.uk";
|
||||
@@ -23185,12 +23158,6 @@
|
||||
github = "tfmoraes";
|
||||
githubId = 351108;
|
||||
};
|
||||
tgunnoe = {
|
||||
email = "t@gvno.net";
|
||||
github = "tgunnoe";
|
||||
githubId = 7254833;
|
||||
name = "Taylor Gunnoe";
|
||||
};
|
||||
tg-x = {
|
||||
email = "*@tg-x.net";
|
||||
github = "tg-x";
|
||||
|
||||
@@ -546,7 +546,6 @@ with lib.maintainers;
|
||||
cleverca22
|
||||
disassembler
|
||||
manveru
|
||||
nrdxp
|
||||
];
|
||||
scope = "Input-Output Global employees, which maintain critical software";
|
||||
shortName = "Input-Output Global employees";
|
||||
|
||||
@@ -78,5 +78,5 @@ in
|
||||
environment.systemPackages = lib.mkIf (!cfg.capSysNice) [ gamescope ];
|
||||
};
|
||||
|
||||
meta.maintainers = with lib.maintainers; [ nrdxp ];
|
||||
meta.maintainers = with lib.maintainers; [ ];
|
||||
}
|
||||
|
||||
@@ -60,7 +60,10 @@ in
|
||||
'';
|
||||
};
|
||||
intermediatePasswordFile = lib.mkOption {
|
||||
type = lib.types.path;
|
||||
type = lib.types.pathWith {
|
||||
inStore = false;
|
||||
absolute = true;
|
||||
};
|
||||
example = "/run/keys/smallstep-password";
|
||||
description = ''
|
||||
Path to the file containing the password for the intermediate
|
||||
@@ -86,17 +89,6 @@ in
|
||||
);
|
||||
in
|
||||
{
|
||||
assertions = [
|
||||
{
|
||||
assertion = !lib.isStorePath cfg.intermediatePasswordFile;
|
||||
message = ''
|
||||
<option>services.step-ca.intermediatePasswordFile</option> points to
|
||||
a file in the Nix store. You should use a quoted absolute path to
|
||||
prevent this.
|
||||
'';
|
||||
}
|
||||
];
|
||||
|
||||
systemd.packages = [ cfg.package ];
|
||||
|
||||
# configuration file indirection is needed to support reloading
|
||||
|
||||
@@ -16,7 +16,9 @@ let
|
||||
|
||||
nixPackage = cfg.package.out;
|
||||
|
||||
isNixAtLeast = lib.versionAtLeast (lib.getVersion nixPackage);
|
||||
# nixVersion is an attribute which defines the implementation version.
|
||||
# This is useful for Nix implementations which don't follow Nix's versioning.
|
||||
isNixAtLeast = lib.versionAtLeast (nixPackage.nixVersion or (lib.getVersion nixPackage));
|
||||
|
||||
makeNixBuildUser = nr: {
|
||||
name = "nixbld${toString nr}";
|
||||
|
||||
@@ -369,7 +369,7 @@ in {
|
||||
etcd-cluster = handleTestOn [ "aarch64-linux" "x86_64-linux" ] ./etcd/etcd-cluster.nix {};
|
||||
etebase-server = handleTest ./etebase-server.nix {};
|
||||
etesync-dav = handleTest ./etesync-dav.nix {};
|
||||
evcc = handleTest ./evcc.nix {};
|
||||
evcc = runTest ./evcc.nix;
|
||||
fail2ban = handleTest ./fail2ban.nix { };
|
||||
fakeroute = handleTest ./fakeroute.nix {};
|
||||
fancontrol = handleTest ./fancontrol.nix {};
|
||||
|
||||
@@ -1,107 +1,103 @@
|
||||
import ./make-test-python.nix (
|
||||
{ pkgs, lib, ... }:
|
||||
{ pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
name = "evcc";
|
||||
meta.maintainers = with lib.maintainers; [ hexa ];
|
||||
{
|
||||
name = "evcc";
|
||||
meta.maintainers = with lib.maintainers; [ hexa ];
|
||||
|
||||
nodes = {
|
||||
machine =
|
||||
{ config, ... }:
|
||||
{
|
||||
services.evcc = {
|
||||
enable = true;
|
||||
settings = {
|
||||
network = {
|
||||
schema = "http";
|
||||
host = "localhost";
|
||||
port = 7070;
|
||||
};
|
||||
nodes = {
|
||||
machine = {
|
||||
services.evcc = {
|
||||
enable = true;
|
||||
settings = {
|
||||
network = {
|
||||
schema = "http";
|
||||
host = "localhost";
|
||||
port = 7070;
|
||||
};
|
||||
|
||||
log = "info";
|
||||
log = "info";
|
||||
|
||||
site = {
|
||||
title = "NixOS Test";
|
||||
meters = {
|
||||
grid = "grid";
|
||||
pv = "pv";
|
||||
};
|
||||
};
|
||||
|
||||
meters = [
|
||||
{
|
||||
type = "custom";
|
||||
name = "grid";
|
||||
power = {
|
||||
source = "script";
|
||||
cmd = "/bin/sh -c 'echo -4500'";
|
||||
};
|
||||
}
|
||||
{
|
||||
type = "custom";
|
||||
name = "pv";
|
||||
power = {
|
||||
source = "script";
|
||||
cmd = "/bin/sh -c 'echo 7500'";
|
||||
};
|
||||
}
|
||||
];
|
||||
|
||||
chargers = [
|
||||
{
|
||||
name = "dummy-charger";
|
||||
type = "custom";
|
||||
status = {
|
||||
source = "script";
|
||||
cmd = "/bin/sh -c 'echo charger status A'";
|
||||
};
|
||||
enabled = {
|
||||
source = "script";
|
||||
cmd = "/bin/sh -c 'echo charger enabled state false'";
|
||||
};
|
||||
enable = {
|
||||
source = "script";
|
||||
cmd = "/bin/sh -c 'echo set charger enabled state true'";
|
||||
};
|
||||
maxcurrent = {
|
||||
source = "script";
|
||||
cmd = "/bin/sh -c 'echo set charger max current 7200'";
|
||||
};
|
||||
}
|
||||
];
|
||||
|
||||
loadpoints = [
|
||||
{
|
||||
title = "Dummy";
|
||||
charger = "dummy-charger";
|
||||
}
|
||||
];
|
||||
site = {
|
||||
title = "NixOS Test";
|
||||
meters = {
|
||||
grid = "grid";
|
||||
pv = "pv";
|
||||
};
|
||||
};
|
||||
|
||||
meters = [
|
||||
{
|
||||
type = "custom";
|
||||
name = "grid";
|
||||
power = {
|
||||
source = "script";
|
||||
cmd = "/bin/sh -c 'echo -4500'";
|
||||
};
|
||||
}
|
||||
{
|
||||
type = "custom";
|
||||
name = "pv";
|
||||
power = {
|
||||
source = "script";
|
||||
cmd = "/bin/sh -c 'echo 7500'";
|
||||
};
|
||||
}
|
||||
];
|
||||
|
||||
chargers = [
|
||||
{
|
||||
name = "dummy-charger";
|
||||
type = "custom";
|
||||
status = {
|
||||
source = "script";
|
||||
cmd = "/bin/sh -c 'echo charger status A'";
|
||||
};
|
||||
enabled = {
|
||||
source = "script";
|
||||
cmd = "/bin/sh -c 'echo charger enabled state false'";
|
||||
};
|
||||
enable = {
|
||||
source = "script";
|
||||
cmd = "/bin/sh -c 'echo set charger enabled state true'";
|
||||
};
|
||||
maxcurrent = {
|
||||
source = "script";
|
||||
cmd = "/bin/sh -c 'echo set charger max current 7200'";
|
||||
};
|
||||
}
|
||||
];
|
||||
|
||||
loadpoints = [
|
||||
{
|
||||
title = "Dummy";
|
||||
charger = "dummy-charger";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
start_all()
|
||||
testScript = ''
|
||||
start_all()
|
||||
|
||||
machine.wait_for_unit("evcc.service")
|
||||
machine.wait_for_open_port(7070)
|
||||
machine.wait_for_unit("evcc.service")
|
||||
machine.wait_for_open_port(7070)
|
||||
|
||||
with subtest("Check package version propagates into frontend"):
|
||||
machine.fail(
|
||||
"curl --fail http://localhost:7070 | grep '0.0.1-alpha'"
|
||||
)
|
||||
machine.succeed(
|
||||
"curl --fail http://localhost:7070 | grep '${pkgs.evcc.version}'"
|
||||
)
|
||||
with subtest("Check package version propagates into frontend"):
|
||||
machine.fail(
|
||||
"curl --fail http://localhost:7070 | grep '0.0.1-alpha'"
|
||||
)
|
||||
machine.succeed(
|
||||
"curl --fail http://localhost:7070 | grep '${pkgs.evcc.version}'"
|
||||
)
|
||||
|
||||
with subtest("Check journal for errors"):
|
||||
_, output = machine.execute("journalctl -o cat -u evcc.service")
|
||||
assert "FATAL" not in output
|
||||
with subtest("Check journal for errors"):
|
||||
_, output = machine.execute("journalctl -o cat -u evcc.service")
|
||||
assert "FATAL" not in output
|
||||
|
||||
with subtest("Check systemd hardening"):
|
||||
_, output = machine.execute("systemd-analyze security evcc.service | grep -v '✓'")
|
||||
machine.log(output)
|
||||
'';
|
||||
}
|
||||
)
|
||||
with subtest("Check systemd hardening"):
|
||||
_, output = machine.execute("systemd-analyze security evcc.service | grep -v '✓'")
|
||||
machine.log(output)
|
||||
'';
|
||||
}
|
||||
|
||||
@@ -14,12 +14,13 @@ import ./make-test-python.nix ({ pkgs, ... }:
|
||||
{
|
||||
caserver =
|
||||
{ config, pkgs, ... }: {
|
||||
environment.etc.password-file.source = "${test-certificates}/intermediate-password-file";
|
||||
services.step-ca = {
|
||||
enable = true;
|
||||
address = "[::]";
|
||||
port = 8443;
|
||||
openFirewall = true;
|
||||
intermediatePasswordFile = "${test-certificates}/intermediate-password-file";
|
||||
intermediatePasswordFile = "/etc/${config.environment.etc.password-file.target}";
|
||||
settings = {
|
||||
dnsNames = [ "caserver" ];
|
||||
root = "${test-certificates}/root_ca.crt";
|
||||
|
||||
@@ -164,7 +164,6 @@ python3.pkgs.buildPythonApplication {
|
||||
rnhmjoj
|
||||
ebzzry
|
||||
dotlambda
|
||||
nrdxp
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,7 +30,6 @@ rustPlatform.buildRustPackage rec {
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with maintainers; [
|
||||
colemickens
|
||||
nrdxp
|
||||
];
|
||||
platforms = with platforms; linux;
|
||||
};
|
||||
|
||||
@@ -21,7 +21,6 @@ rustPlatform.buildRustPackage rec {
|
||||
homepage = "https://github.com/NerdyPepper/eva";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [
|
||||
nrdxp
|
||||
ma27
|
||||
figsoda
|
||||
];
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildGoModule,
|
||||
buildGo124Module,
|
||||
fetchFromGitHub,
|
||||
fetchNpmDeps,
|
||||
cacert,
|
||||
git,
|
||||
go,
|
||||
go_1_24,
|
||||
gokrazy,
|
||||
enumer,
|
||||
mockgen,
|
||||
nodejs,
|
||||
@@ -16,23 +17,23 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "0.133.0";
|
||||
version = "0.200.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "evcc-io";
|
||||
repo = "evcc";
|
||||
tag = version;
|
||||
hash = "sha256-10xgw6zL49Hk7OH5c6lqeTsIhdkSOyRZCJjSkQox0XI=";
|
||||
hash = "sha256-qSWSZ6luD6Wglmvf9zCoSNs3eVBY6Ket4GFEBKIh99c=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-aBTs6S7b+1JS9MNKWMpuUZ6AXb9ylfXnuAV7q9WnE9w=";
|
||||
vendorHash = "sha256-sx04fyRXX9H2182yz8qvdLv/sSLXTrzhlwpf8lMSVew=";
|
||||
|
||||
commonMeta = with lib; {
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
|
||||
decorate = buildGoModule {
|
||||
decorate = buildGo124Module {
|
||||
pname = "evcc-decorate";
|
||||
inherit version src vendorHash;
|
||||
|
||||
@@ -45,13 +46,13 @@ let
|
||||
};
|
||||
in
|
||||
|
||||
buildGoModule rec {
|
||||
buildGo124Module rec {
|
||||
pname = "evcc";
|
||||
inherit version src vendorHash;
|
||||
|
||||
npmDeps = fetchNpmDeps {
|
||||
inherit src;
|
||||
hash = "sha256-AlwmMipGBnUSaqXxVBlC1c1IZ5utxLYx01T9byXOTrQ=";
|
||||
hash = "sha256-VYAJO2HeswhBlCVKi08frkvhKc/AFepmrSGY4JccBZE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -63,7 +64,8 @@ buildGoModule rec {
|
||||
nativeBuildInputs = [
|
||||
decorate
|
||||
enumer
|
||||
go
|
||||
go_1_24
|
||||
gokrazy
|
||||
git
|
||||
cacert
|
||||
mockgen
|
||||
|
||||
@@ -185,7 +185,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
homepage = "https://github.com/ValveSoftware/gamescope";
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = with lib.maintainers; [
|
||||
nrdxp
|
||||
pedrohlc
|
||||
Scrumplex
|
||||
zhaofengli
|
||||
|
||||
@@ -8,16 +8,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "gh-dash";
|
||||
version = "4.11.0";
|
||||
version = "4.12.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dlvhdr";
|
||||
repo = "gh-dash";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-i7PsOd2avaKY0FvsjBpTQk6rijf9EE6kVRicfe4k8NE=";
|
||||
hash = "sha256-qtSJbp9BGX4669fl/B1Z6rGG3432Nj1IQ+aYfIE9W50=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-lqmz+6Cr9U5IBoJ5OeSN6HKY/nKSAmszfvifzbxG7NE=";
|
||||
vendorHash = "sha256-7s+Lp8CHo1+h2TmbTOcAGZORK+/1wytk4nv9fgD2Mhw=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
|
||||
@@ -82,7 +82,6 @@ buildGoModule rec {
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [
|
||||
allonsy
|
||||
blaggacao
|
||||
gabyx
|
||||
];
|
||||
mainProgram = "git-town";
|
||||
|
||||
@@ -26,7 +26,7 @@ buildGoModule rec {
|
||||
description = "Go package that makes working with resources such as html, js, css, images, templates very easy";
|
||||
homepage = "https://github.com/GeertJohan/go.rice";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ blaggacao ];
|
||||
maintainers = with maintainers; [ ];
|
||||
mainProgram = "rice";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -42,6 +42,6 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
homepage = "https://github.com/SylEleuth/gruvbox-plus-icon-pack";
|
||||
license = licenses.gpl3Only;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ eureka-cpu RGBCube ];
|
||||
maintainers = with maintainers; [ eureka-cpu ];
|
||||
};
|
||||
})
|
||||
|
||||
@@ -42,7 +42,7 @@ buildGoModule rec {
|
||||
'';
|
||||
homepage = "https://guumaster.github.io/hostctl/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ blaggacao ];
|
||||
maintainers = with maintainers; [ ];
|
||||
mainProgram = "hostctl";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -29,7 +29,6 @@ buildGoModule rec {
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [
|
||||
bryanasdev000
|
||||
blaggacao
|
||||
];
|
||||
mainProgram = "jd";
|
||||
};
|
||||
|
||||
@@ -39,6 +39,6 @@ buildGoModule rec {
|
||||
mainProgram = "kubespy";
|
||||
homepage = "https://github.com/pulumi/kubespy";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ blaggacao ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -77,7 +77,7 @@ stdenv.mkDerivation rec {
|
||||
"-DCONFIG_TUNE_VMAF=1"
|
||||
]
|
||||
++ lib.optionals (isCross && !stdenv.hostPlatform.isx86) [
|
||||
"-DCMAKE_ASM_COMPILER=${stdenv.cc.targetPrefix}as"
|
||||
"-DCMAKE_ASM_COMPILER=${lib.getBin stdenv.cc}/bin/${stdenv.cc.targetPrefix}cc"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isAarch32 [
|
||||
# armv7l-hf-multiplatform does not support NEON
|
||||
|
||||
@@ -38,6 +38,6 @@ stdenvNoCC.mkDerivation {
|
||||
homepage = "https://github.com/varlesh/material-cursors";
|
||||
license = lib.licenses.gpl3Only;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ RGBCube ];
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -31,6 +31,6 @@ rustPlatform.buildRustPackage rec {
|
||||
homepage = "https://github.com/danieleades/mdbook-d2";
|
||||
changelog = "https://github.com/danieleades/mdbook-d2/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ blaggacao matthiasbeyer ];
|
||||
maintainers = with maintainers; [ matthiasbeyer ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -31,7 +31,6 @@ rustPlatform.buildRustPackage rec {
|
||||
changelog = "https://github.com/blyxyas/mdbook-emojicodes/releases/tag/${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [
|
||||
blaggacao
|
||||
matthiasbeyer
|
||||
];
|
||||
};
|
||||
|
||||
@@ -41,7 +41,6 @@ rustPlatform.buildRustPackage rec {
|
||||
homepage = "https://github.com/joelcourtney/mdbook-kroki-preprocessor";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [
|
||||
blaggacao
|
||||
matthiasbeyer
|
||||
];
|
||||
};
|
||||
|
||||
@@ -24,7 +24,6 @@ rustPlatform.buildRustPackage rec {
|
||||
homepage = "https://github.com/slowsage/mdbook-pagetoc";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [
|
||||
blaggacao
|
||||
matthiasbeyer
|
||||
];
|
||||
};
|
||||
|
||||
@@ -42,10 +42,7 @@ rustPlatform.buildRustPackage rec {
|
||||
description = "Check the health of your Nix setup";
|
||||
homepage = "https://github.com/juspay/nix-health";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [
|
||||
srid
|
||||
shivaraj-bh
|
||||
];
|
||||
maintainers = with maintainers; [ shivaraj-bh ];
|
||||
mainProgram = "nix-health";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -63,7 +63,6 @@ rustPlatform.buildRustPackage rec {
|
||||
homepage = "https://github.com/srid/nixci";
|
||||
license = lib.licenses.agpl3Only;
|
||||
maintainers = with lib.maintainers; [
|
||||
srid
|
||||
shivaraj-bh
|
||||
rsrohitsingh682
|
||||
];
|
||||
|
||||
@@ -34,7 +34,7 @@ buildGoModule rec {
|
||||
description = "Tool to handle unprivileged networking by using multiple loopback addresses";
|
||||
homepage = "https://github.com/norouter/norouter";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ blaggacao ];
|
||||
maintainers = with maintainers; [ ];
|
||||
mainProgram = "norouter";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -115,6 +115,6 @@ stdenv.mkDerivation {
|
||||
homepage = "https://github.com/JACoders/OpenJK";
|
||||
license = licenses.gpl2Only;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ tgunnoe ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
stdenv,
|
||||
}:
|
||||
let
|
||||
version = "2.0-1496";
|
||||
urlVersion = builtins.replaceStrings [ "." "-" ] [ "00" "0" ] version;
|
||||
version = "2.47.1510";
|
||||
urlVersion = builtins.replaceStrings [ "." ] [ "0" ] version;
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "roon-server";
|
||||
@@ -25,7 +25,7 @@ stdenv.mkDerivation {
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.roonlabs.com/updates/production/RoonServer_linuxx64_${urlVersion}.tar.bz2";
|
||||
hash = "sha256-QglwnTO7dZ/8X8pNj63D6XQdJmGTKPfOG91xgfqWho0=";
|
||||
hash = "sha256-xuXQLniV2PKIeupfCH00j0e9mRxLocEraENqIUkdWNo=";
|
||||
};
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "sydbox";
|
||||
version = "3.32.2";
|
||||
version = "3.32.3";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
@@ -25,11 +25,11 @@ rustPlatform.buildRustPackage rec {
|
||||
owner = "Sydbox";
|
||||
repo = "sydbox";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-afuOpRRjUDYCIERSQzrVykrxc9bxRvUqU62aA/Z83VY=";
|
||||
hash = "sha256-h96D/IeNJ3sTiJNHGUzU5iR1XJCeI83s3EB659MS5ds=";
|
||||
};
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-NasGY1FTdO3EtnIkNcvntnR3aiCe0mUrVCBnwiNy7Bs=";
|
||||
cargoHash = "sha256-AwN3DIVJb3M4nJ+2GWtPTLGKA3zMcxw6Oq19s/JtFGE=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
mandoc
|
||||
|
||||
@@ -41,6 +41,6 @@ buildGoModule rec {
|
||||
homepage = "https://github.com/plumber-cd/terraform-backend-git";
|
||||
changelog = "https://github.com/plumber-cd/terraform-backend-git/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ blaggacao ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
{
|
||||
"darwin": {
|
||||
"hash": "sha256-WOfRQhelQ7q1B2BeJYbCYnvokfw1lmMLUnvUo9bIhIM=",
|
||||
"version": "0.2025.02.19.08.02.stable_04"
|
||||
"hash": "sha256-guzskf6U2kmHTZHTJZuH6v3y43FgbZ5XRbW1JRmk1VU=",
|
||||
"version": "0.2025.02.19.08.02.stable_05"
|
||||
},
|
||||
"linux_x86_64": {
|
||||
"hash": "sha256-IVtM6370gwY8nuT78w2DGIOc7TeZE6dcTpP2wIb98po=",
|
||||
"version": "0.2025.02.19.08.02.stable_04"
|
||||
"hash": "sha256-eR5AC2MhXcfOWBXefn6ipy0JfbnTNImt0ffH2ypDxxw=",
|
||||
"version": "0.2025.02.19.08.02.stable_05"
|
||||
},
|
||||
"linux_aarch64": {
|
||||
"hash": "sha256-2vlzC/Ho5YJPwdeu3MxKVhZnQPKCD3CQegAZsX/A+qM=",
|
||||
"version": "0.2025.02.19.08.02.stable_04"
|
||||
"hash": "sha256-W/6pNDeaq3v5mqoh+urbt0ZVfclTQV5CbBVYZ7ebWGA=",
|
||||
"version": "0.2025.02.19.08.02.stable_05"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildGraalvmNativeImage rec {
|
||||
pname = "yamlscript";
|
||||
version = "0.1.89";
|
||||
version = "0.1.91";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/yaml/yamlscript/releases/download/${version}/yamlscript.cli-${version}-standalone.jar";
|
||||
hash = "sha256-SSgiAjPRow4R1cLl7POUzC+TeQ4Oq+8QeFh410IsgdA=";
|
||||
hash = "sha256-4i7jXz67XvSmrrQQNZ/wDfjwgh+cVc5a8ptOwjbj/Yc=";
|
||||
};
|
||||
|
||||
executable = "ys";
|
||||
|
||||
@@ -445,9 +445,6 @@ package-maintainers:
|
||||
- ttn-client
|
||||
- update-nix-fetchgit
|
||||
- zre
|
||||
srid:
|
||||
- ema
|
||||
- emanote
|
||||
sternenseemann:
|
||||
# also maintain upstream package
|
||||
- cabal2nix
|
||||
|
||||
@@ -100901,7 +100901,6 @@ self: {
|
||||
];
|
||||
description = "Static site generator library with hot reload";
|
||||
license = lib.licenses.agpl3Only;
|
||||
maintainers = [ lib.maintainers.srid ];
|
||||
}) {};
|
||||
|
||||
"ema-extra" = callPackage
|
||||
@@ -101220,7 +101219,6 @@ self: {
|
||||
license = lib.licenses.agpl3Only;
|
||||
badPlatforms = [ "x86_64-darwin" ];
|
||||
mainProgram = "emanote";
|
||||
maintainers = [ lib.maintainers.srid ];
|
||||
}) {};
|
||||
|
||||
"embed-config" = callPackage
|
||||
|
||||
@@ -1,43 +1,50 @@
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
async-timeout,
|
||||
asyncio-dgram,
|
||||
buildPythonPackage,
|
||||
certifi,
|
||||
docutils,
|
||||
fetchFromGitHub,
|
||||
frozenlist,
|
||||
poetry-core,
|
||||
pytest-aiohttp,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
voluptuous,
|
||||
typing-extensions,
|
||||
yarl,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioguardian";
|
||||
version = "2023.12.0";
|
||||
version = "2025.02.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
disabled = pythonOlder "3.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bachya";
|
||||
repo = "aioguardian";
|
||||
tag = version;
|
||||
hash = "sha256-7fY8+aAxlDtOBLu8SadY5qiH6+RvxnFpOw1RXTonP2o=";
|
||||
hash = "sha256-RoVD2O/OAk4l96kYEq7ZM/2QuckcPxDluf1MT4HdKc4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
pythonRelaxDeps = [
|
||||
"asyncio_dgram"
|
||||
"typing-extensions"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
async-timeout
|
||||
asyncio-dgram
|
||||
certifi
|
||||
docutils
|
||||
frozenlist
|
||||
voluptuous
|
||||
typing-extensions
|
||||
yarl
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
||||
@@ -33,6 +33,6 @@ buildPythonPackage rec {
|
||||
homepage = "https://github.com/annotated-types/annotated-types";
|
||||
changelog = "https://github.com/annotated-types/annotated-types/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ blaggacao ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "anthropic";
|
||||
version = "0.45.2";
|
||||
version = "0.46.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -33,7 +33,7 @@ buildPythonPackage rec {
|
||||
owner = "anthropics";
|
||||
repo = "anthropic-sdk-python";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-/QuAUU0/nNhJZouCP0LVkCFMTiNdeze/fF+SZKD1Jis=";
|
||||
hash = "sha256-dmc2RXutp7FHQ+AWSKKFWBclu/Jt5jOUWFrHEz8D38U=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
blackjax,
|
||||
numpyro,
|
||||
pytestCheckHook,
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -58,14 +59,15 @@ buildPythonPackage rec {
|
||||
blackjax
|
||||
numpyro
|
||||
pytestCheckHook
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
disabledTests =
|
||||
[
|
||||
# AssertionError: assert (<xarray.DataArray 'yield' ()> Size: 1B\narray(False) & <xarray.DataArray 'yield' ()> Size: 1B\narray(False))
|
||||
# https://github.com/bambinos/bambi/issues/888
|
||||
"test_beta_regression"
|
||||
|
||||
# Tests require network access
|
||||
"test_alias_equal_to_name"
|
||||
"test_average_by"
|
||||
|
||||
41
pkgs/development/python-modules/colormath2/default.nix
Normal file
41
pkgs/development/python-modules/colormath2/default.nix
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
networkx,
|
||||
numpy,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "colormath2";
|
||||
version = "3.0.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bkmgit";
|
||||
repo = "python-colormath2";
|
||||
tag = version;
|
||||
hash = "sha256-G8b0L8A2RzbVQFPNg2fuBklqTNjo3yqvek/+GnqtsHc=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
networkx
|
||||
numpy
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "colormath2" ];
|
||||
|
||||
meta = {
|
||||
description = "Color math and conversion library (fork)";
|
||||
homepage = "https://github.com/bkmgit/python-colormath2";
|
||||
changelog = "https://github.com/bkmgit/python-colormath2/releases/tag/${version}";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ apraga ];
|
||||
};
|
||||
}
|
||||
@@ -13,14 +13,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cookidoo-api";
|
||||
version = "0.12.2";
|
||||
version = "0.12.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "miaucl";
|
||||
repo = "cookidoo-api";
|
||||
tag = version;
|
||||
hash = "sha256-7FDnaiq/c3ug96usjgPXtrR5oFb10gDaDokYfApktsk=";
|
||||
hash = "sha256-hkKYIfnvDIT+eNEMfPxTzcSEs7VZLkHFoOqWms5Pt6w=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -38,6 +38,6 @@ buildPythonPackage rec {
|
||||
homepage = "https://github.com/coala/git-url-parse";
|
||||
changelog = "https://github.com/coala/git-url-parse/blob/${src.rev}/CHANGELOG.rst";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ blaggacao ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -40,6 +40,6 @@ buildPythonPackage rec {
|
||||
homepage = "https://github.com/gocardless/gocardless-pro-python";
|
||||
changelog = "https://github.com/gocardless/gocardless-pro-python/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ blaggacao ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
@@ -9,9 +8,6 @@
|
||||
cargo,
|
||||
rustc,
|
||||
|
||||
# buildInputs
|
||||
libiconv,
|
||||
|
||||
# dependencies
|
||||
arviz,
|
||||
pandas,
|
||||
@@ -26,24 +22,25 @@
|
||||
pymc,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nutpie";
|
||||
version = "0.13.2";
|
||||
version = "0.13.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pymc-devs";
|
||||
repo = "nutpie";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-XyUMCnHm5V7oFaf3W+nGpcHfq1ZFppeGMIMCU5OB87s=";
|
||||
hash = "sha256-BpKt/EWBefCQUGDxyqF6Xjrj/HUvY4M26gk79R/CyZo=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit src;
|
||||
name = "${pname}-${version}";
|
||||
hash = "sha256-mLoMbIy3Chmby+c6j3dg+bQvIHuhDgt3ZzPIXB3WxuE=";
|
||||
hash = "sha256-d0Qk01YwosHlOy3yb/2PV5Op1Wz+yB5ROVbUWfHooEk=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
@@ -54,8 +51,8 @@ buildPythonPackage rec {
|
||||
rustc
|
||||
];
|
||||
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
libiconv
|
||||
pythonRelaxDeps = [
|
||||
"xarray"
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
@@ -75,23 +72,18 @@ buildPythonPackage rec {
|
||||
pymc
|
||||
pytestCheckHook
|
||||
setuptools
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Require unpackaged bridgestan
|
||||
"tests/test_stan.py"
|
||||
|
||||
# KeyError: "duplicate registration for <class 'numba.core.types.misc.SliceType'>"
|
||||
"tests/test_pymc.py"
|
||||
];
|
||||
|
||||
# Currently, no test are working...
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Python wrapper for nuts-rs";
|
||||
homepage = "https://github.com/pymc-devs/nutpie";
|
||||
changelog = "https://github.com/pymc-devs/nutpie/blob/${src.rev}/CHANGELOG.md";
|
||||
changelog = "https://github.com/pymc-devs/nutpie/blob/v${version}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
};
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchPypi,
|
||||
|
||||
# build-system
|
||||
poetry-core,
|
||||
@@ -18,14 +18,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "oryx";
|
||||
version = "0.2.7";
|
||||
version = "0.2.9";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jax-ml";
|
||||
repo = "oryx";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-1n7ogGuFNAeOyXWe0/pAouhg2+aA3MXxlCcsrfqRTdU=";
|
||||
# No more tags on GitHub. See https://github.com/jax-ml/oryx/issues/95
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-HlKUnguTNfs7gSqIJ0n2EjjLXPUgtI2JsQM70wKMeXs=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
@@ -43,6 +42,72 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# ValueError: Number of devices 1 must equal the product of mesh_shape (1, 2)
|
||||
"test_plant"
|
||||
"test_plant_before_shmap"
|
||||
"test_plant_inside_shmap_fails"
|
||||
"test_reap"
|
||||
"test_reap_before_shmap"
|
||||
"test_reap_inside_shmap_fails"
|
||||
|
||||
# ValueError: Variable has already been reaped
|
||||
"test_call_list"
|
||||
"test_call_tuple"
|
||||
"test_dense_combinator"
|
||||
"test_dense_function"
|
||||
"test_dense_imperative"
|
||||
"test_function_in_combinator_in_function"
|
||||
"test_grad_of_function_with_literal"
|
||||
"test_grad_of_shared_layer"
|
||||
"test_grad_of_stateful_function"
|
||||
"test_kwargs_rng"
|
||||
"test_kwargs_training"
|
||||
"test_kwargs_training_rng"
|
||||
"test_reshape_call"
|
||||
"test_scale_by_adam_should_scale_by_adam"
|
||||
"test_scale_by_schedule_should_update_scale"
|
||||
"test_scale_by_stddev_should_scale_by_stddev"
|
||||
"test_trace_should_keep_track_of_momentum_with_nesterov"
|
||||
|
||||
# NotImplementedError: No registered inverse for `split`
|
||||
"test_inverse_of_split"
|
||||
|
||||
# jax.errors.UnexpectedTracerError: Encountered an unexpected tracer
|
||||
"test_can_plant_into_jvp_of_custom_jvp_function_unimplemented"
|
||||
"test_forward_Scale"
|
||||
|
||||
# ValueError: No variable declared for assign: update_1
|
||||
"test_optimizer_adam"
|
||||
"test_optimizer_noisy_sgd"
|
||||
"test_optimizer_rmsprop"
|
||||
"test_optimizer_sgd"
|
||||
"test_optimizer_sgd_with_momentum"
|
||||
"test_optimizer_sgd_with_nesterov_momentum"
|
||||
|
||||
# AssertionError
|
||||
# ACTUAL: array(-2.337877, dtype=float32)
|
||||
# DESIRED: array(0., dtype=float32)
|
||||
"test_can_map_over_batches_with_vmap_and_reduce_to_scalar_log_prob"
|
||||
"test_vmapping_distribution_reduces_to_scalar_log_prob"
|
||||
|
||||
# TypeError: _dot_general_shape_rule() missing 1 required keyword-only argument: 'out_sharding'
|
||||
"test_can_rewrite_dot_to_einsu"
|
||||
|
||||
# AttributeError: 'float' object has no attribute 'shape'
|
||||
"test_add_noise_should_add_noise"
|
||||
"test_apply_every_should_delay_updates"
|
||||
|
||||
# TypeError: Error interpreting argument to functools.partial(...) as an abstract array
|
||||
"test_can_rewrite_nested_expression_into_single_einsum"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# ValueError: Variable has already been reaped
|
||||
"oryx/experimental/nn/normalization_test.py"
|
||||
"oryx/experimental/nn/pooling_test.py"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Library for probabilistic programming and deep learning built on top of Jax";
|
||||
homepage = "https://github.com/jax-ml/oryx";
|
||||
|
||||
@@ -80,7 +80,7 @@ let
|
||||
description = "Core validation logic for pydantic written in rust";
|
||||
homepage = "https://github.com/pydantic/pydantic-core";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ blaggacao ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
};
|
||||
in
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
pythonOlder,
|
||||
fetchFromGitHub,
|
||||
setuptools-scm,
|
||||
aiohttp,
|
||||
@@ -11,21 +10,19 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pygti";
|
||||
version = "0.9.4";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
version = "0.10.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vigonotion";
|
||||
repo = "pygti";
|
||||
tag = "v${version}";
|
||||
tag = version;
|
||||
hash = "sha256-2T4Yw4XEOkv+IWyB4Xa2dPu929VH0tLeUjQ5S8EVXz0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
build-system = [ setuptools-scm ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
aiohttp
|
||||
pytz
|
||||
voluptuous
|
||||
@@ -40,10 +37,11 @@ buildPythonPackage rec {
|
||||
"pygti.gti"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
changelog = "https://github.com/vigonotion/pygti/releases/tag/${src.tag}";
|
||||
description = "Access public transport information in Hamburg, Germany";
|
||||
homepage = "https://github.com/vigonotion/pygti";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -58,6 +58,6 @@ buildPythonPackage rec {
|
||||
homepage = "https://github.com/pymatting/pymatting";
|
||||
changelog = "https://github.com/pymatting/pymatting/blob/v${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ blaggacao ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -22,14 +22,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymc";
|
||||
version = "5.20.0";
|
||||
version = "5.20.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pymc-devs";
|
||||
repo = "pymc";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-5iHm+q4ykXhCntUpZmEfZc1805+GoCQR3yrkQGJ2qQg=";
|
||||
hash = "sha256-Vc+yjMd5XCM97Y0JIfII+PfNz0rx1hi9N370mgBbO+8=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -42,6 +42,10 @@ buildPythonPackage rec {
|
||||
versioneer
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"pytensor"
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
arviz
|
||||
cachetools
|
||||
@@ -64,7 +68,7 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Bayesian estimation, particularly using Markov chain Monte Carlo (MCMC)";
|
||||
homepage = "https://github.com/pymc-devs/pymc";
|
||||
changelog = "https://github.com/pymc-devs/pymc/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/pymc-devs/pymc/releases/tag/v${version}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [
|
||||
nidabdella
|
||||
|
||||
@@ -28,6 +28,6 @@ buildPythonPackage rec {
|
||||
description = "Python SQL query builder";
|
||||
homepage = "https://github.com/kayak/pypika";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ blaggacao ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -38,6 +38,6 @@ buildPythonPackage rec {
|
||||
description = "PEP 517 compliant build system for PyQt";
|
||||
homepage = "https://github.com/Python-PyQt/PyQt-builder";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ nrdxp ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -96,7 +96,6 @@ buildPythonPackage rec {
|
||||
inherit (mesa.meta) platforms;
|
||||
maintainers = with lib.maintainers; [
|
||||
LunNova
|
||||
nrdxp
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -25,21 +25,21 @@
|
||||
pytest-mock,
|
||||
pytestCheckHook,
|
||||
tensorflow-probability,
|
||||
pythonAtLeast,
|
||||
writableTmpDirAsHomeHook,
|
||||
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytensor";
|
||||
version = "2.26.4";
|
||||
version = "2.28.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pymc-devs";
|
||||
repo = "pytensor";
|
||||
tag = "rel-${version}";
|
||||
hash = "sha256-pREyBedkF9MW7g3Bctnk8C9vVbRTsLLreldxlqDdHVI=";
|
||||
hash = "sha256-jwx7fcMiFNvnwP746nM2rqo2BD6PEbKkfEwIz8MenN4=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
@@ -69,12 +69,9 @@ buildPythonPackage rec {
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
tensorflow-probability
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "pytensor" ];
|
||||
|
||||
# Ensure that the installed package is used instead of the source files from the current workdir
|
||||
@@ -94,6 +91,10 @@ buildPythonPackage rec {
|
||||
|
||||
# Failure reported upstream: https://github.com/pymc-devs/pytensor/issues/980
|
||||
"test_choose_signature"
|
||||
|
||||
# AssertionError: Not equal to tolerance rtol=1e-06, atol=1e-06
|
||||
# Mismatched elements: 9 / 81 (11.1%)
|
||||
"test_jax_pad"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# pytensor.link.c.exceptions.CompileError: Compilation failed (return status=1)
|
||||
@@ -111,6 +112,7 @@ buildPythonPackage rec {
|
||||
"test_NoOutputFromInplace"
|
||||
"test_OpFromGraph"
|
||||
"test_adv_sub1_sparse_grad"
|
||||
"test_alloc"
|
||||
"test_binary"
|
||||
"test_borrow_input"
|
||||
"test_borrow_output"
|
||||
@@ -136,6 +138,7 @@ buildPythonPackage rec {
|
||||
"test_mul_s_v_grad"
|
||||
"test_multiple_outputs"
|
||||
"test_not_inplace"
|
||||
"test_numba_Cholesky_grad"
|
||||
"test_numba_pad"
|
||||
"test_optimizations_preserved"
|
||||
"test_overided_function"
|
||||
@@ -146,6 +149,7 @@ buildPythonPackage rec {
|
||||
"test_scan_err1"
|
||||
"test_scan_err2"
|
||||
"test_shared"
|
||||
"test_solve_triangular_grad"
|
||||
"test_structured_add_s_v_grad"
|
||||
"test_structureddot_csc_grad"
|
||||
"test_structureddot_csr_grad"
|
||||
@@ -157,18 +161,29 @@ buildPythonPackage rec {
|
||||
"test_update_equiv"
|
||||
"test_update_same"
|
||||
]
|
||||
++ lib.optionals (pythonAtLeast "3.12") [
|
||||
# Flaky: TypeError: cannot pickle 'PyCapsule' object
|
||||
++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [
|
||||
# Fatal Python error: Segmentation fault
|
||||
# pytensor/link/basic.py", line 665 in thunk
|
||||
"test_Unique"
|
||||
"test_aligned_RandomVariable"
|
||||
"test_blockwise"
|
||||
"test_blockwise_benchmark"
|
||||
"test_mvnormal_cov_decomposition_method"
|
||||
"test_unnatural_batched_dims"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Don't run the most compute-intense tests
|
||||
"tests/scan/"
|
||||
"tests/tensor/"
|
||||
"tests/sparse/sandbox/"
|
||||
];
|
||||
disabledTestPaths =
|
||||
[
|
||||
# Don't run the most compute-intense tests
|
||||
"tests/scan/"
|
||||
"tests/tensor/"
|
||||
"tests/sparse/sandbox/"
|
||||
]
|
||||
++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [
|
||||
# Fatal Python error: Segmentation fault
|
||||
# pytensor/link/basic.py", line 665 in thunk
|
||||
"tests/link/numba/test_nlinalg.py"
|
||||
"tests/link/numba/test_slinalg.py"
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
@@ -187,8 +202,5 @@ buildPythonPackage rec {
|
||||
bcdarwin
|
||||
ferrine
|
||||
];
|
||||
# Not yet compatible with numpy >= 2.0
|
||||
# https://github.com/pymc-devs/pytensor/issues/688
|
||||
broken = true;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -50,6 +50,6 @@ buildPythonPackage rec {
|
||||
homepage = "https://github.com/sns-sdks/python-youtube";
|
||||
changelog = "https://github.com/sns-sdks/python-youtube/blob/${src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ blaggacao ];
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -48,6 +48,6 @@ buildPythonPackage rec {
|
||||
description = "Creates C++ bindings for Python modules";
|
||||
homepage = "https://riverbankcomputing.com/";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ nrdxp ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,40 +1,29 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
colormath,
|
||||
fetchFromGitHub,
|
||||
fetchpatch2,
|
||||
lib,
|
||||
pytestCheckHook,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
colormath2,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "spectra";
|
||||
version = "0.0.11";
|
||||
version = "0.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jsvine";
|
||||
repo = "spectra";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-4A2TWTxYqckJ3DX5cd2KN3KXcmO/lQdXmOEnGi76RsA=";
|
||||
hash = "sha256-PS5p9IR3v6+Up5Fcq8mhkprVgXigD6PZUF4/6hbv7NI=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/jsvine/spectra/pull/21
|
||||
(fetchpatch2 {
|
||||
name = "nose-to-pytest.patch";
|
||||
url = "https://github.com/jsvine/spectra/commit/50037aba16dac4bf0fb7ffbd787d0e6b906e8a4b.patch";
|
||||
hash = "sha256-cMoIbjRwcZjvhiIOcJR7NmIAOaqpr/e5eh9+sPGKqos=";
|
||||
excludes = [ ".github/*" ];
|
||||
})
|
||||
];
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ colormath ];
|
||||
dependencies = [ colormath2 ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
|
||||
@@ -87,6 +87,6 @@ stdenv.mkDerivation rec {
|
||||
mainProgram = "lzwolf";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ tgunnoe ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -18,11 +18,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sgt-puzzles";
|
||||
version = "20241230.79be403";
|
||||
version = "20250216.b99f107";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-${version}.tar.gz";
|
||||
hash = "sha256-gWt328Ic0+ctcptnhnTprAEmMpcpfAAyTEqRuKF0gVY=";
|
||||
hash = "sha256-TErU482qrpPFWq//5RuCIpl6RpHU+MdckRolSDAS+xk=";
|
||||
};
|
||||
|
||||
sgt-puzzles-menu = fetchurl {
|
||||
|
||||
@@ -54,7 +54,7 @@ rustPlatform.buildRustPackage rec {
|
||||
'';
|
||||
homepage = "https://github.com/araujobsd/ifwifi";
|
||||
license = with licenses; [ bsd2 ];
|
||||
maintainers = with maintainers; [ blaggacao ];
|
||||
maintainers = with maintainers; [ ];
|
||||
# networkmanager doesn't work on darwin
|
||||
# even though the `wifiscanner` crate would work
|
||||
platforms = with platforms; linux; # ++ darwin;
|
||||
|
||||
@@ -2568,6 +2568,8 @@ self: super: with self; {
|
||||
|
||||
colormath = callPackage ../development/python-modules/colormath { };
|
||||
|
||||
colormath2 = callPackage ../development/python-modules/colormath2 { };
|
||||
|
||||
colorspacious = callPackage ../development/python-modules/colorspacious { };
|
||||
|
||||
colorthief = callPackage ../development/python-modules/colorthief { };
|
||||
|
||||
Reference in New Issue
Block a user