Merge branch 'master' into staging-next
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
/ci/OWNERS @infinisil @philiptaron
|
||||
|
||||
# Development support
|
||||
/.editorconfig @Mic92 @zowoq
|
||||
/.editorconfig @Mic92
|
||||
/shell.nix @infinisil @NixOS/Security
|
||||
|
||||
# Libraries
|
||||
@@ -219,10 +219,10 @@ nixos/modules/installer/tools/nix-fallback-paths.nix @Artturin @Ericson2314 @lo
|
||||
/pkgs/development/r-modules @jbedo
|
||||
|
||||
# Rust
|
||||
/pkgs/development/compilers/rust @alyssais @Mic92 @zowoq @winterqt
|
||||
/pkgs/build-support/rust @zowoq @winterqt
|
||||
/pkgs/development/compilers/rust @alyssais @Mic92 @winterqt
|
||||
/pkgs/build-support/rust @winterqt
|
||||
/pkgs/build-support/rust/fetch-cargo-vendor* @TomaSajt
|
||||
/doc/languages-frameworks/rust.section.md @zowoq @winterqt
|
||||
/doc/languages-frameworks/rust.section.md @winterqt
|
||||
|
||||
# Tcl
|
||||
/pkgs/development/interpreters/tcl @fgaz
|
||||
|
||||
@@ -412,6 +412,8 @@ gnuradioMinimal.override {
|
||||
|
||||
- `fetchFromSavannah` is now deprecated and is expected to be fully removed in a future release. From now on, use `fetchgit` or a Savannah releases mirror when applicable.
|
||||
|
||||
- Using nested lists in build/runtime inputs in `mkDerivation` is now deprecated.
|
||||
|
||||
### Additions and Improvements {#sec-nixpkgs-release-26.05-lib-additions-improvements}
|
||||
|
||||
- The builder `php.buildComposerProject2` for PHP applications has been improved for better reliability and stability.
|
||||
|
||||
@@ -306,8 +306,8 @@ in
|
||||
client.succeed("curl --fail -s http://[64:ff9b::203.0.113.16] | grep -q IPv4!")
|
||||
|
||||
with subtest("Router BIB entries are correctly populated"):
|
||||
router.succeed("jool bib display | grep -q 'Dynamic TCP.*2001:db8::8'")
|
||||
router.succeed("jool bib display | grep -q 'Static TCP.*2001:db8::9'")
|
||||
router.succeed("jool bib display --numeric | grep -q 'Dynamic TCP.*2001:db8::8'")
|
||||
router.succeed("jool bib display --numeric | grep -q 'Static TCP.*2001:db8::9'")
|
||||
|
||||
with subtest("WAN server can reach the LAN server"):
|
||||
homeserver.wait_for_open_port(80)
|
||||
|
||||
@@ -17,7 +17,7 @@ in
|
||||
maintainers = [ hexa ];
|
||||
};
|
||||
|
||||
nodes = {
|
||||
containers = {
|
||||
server = {
|
||||
services.snapserver = {
|
||||
enable = true;
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
{
|
||||
lib,
|
||||
pythonPackages,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
fetchNpmDeps,
|
||||
mopidy,
|
||||
nodejs,
|
||||
npmHooks,
|
||||
}:
|
||||
|
||||
pythonPackages.buildPythonApplication (finalAttrs: {
|
||||
@@ -10,12 +13,33 @@ pythonPackages.buildPythonApplication (finalAttrs: {
|
||||
version = "3.70.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "mopidy_iris";
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-md/1blTTtjiAAb/jiLE2EfiSlIUwEga8U7OiuKa466k=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "jaedb";
|
||||
repo = "Iris";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-Fc0LktN8pCRnrvk9uudXu10J3XfrRbdGlcDKXFNQzmQ=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# turn off Google Analytics per default
|
||||
substituteInPlace src/js/store/index.js \
|
||||
--replace-fail 'allow_reporting: true' 'allow_reporting: false'
|
||||
'';
|
||||
|
||||
npmDeps = fetchNpmDeps {
|
||||
inherit (finalAttrs) src;
|
||||
hash = "sha256-aQHq80SLaOPOANYV+aDTWC/bxfc1it5iDeRJ8L5iuEU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
nodejs
|
||||
npmHooks.npmConfigHook
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
npm run prod
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
pythonPackages.setuptools
|
||||
];
|
||||
|
||||
@@ -55,9 +55,7 @@ stdenv.mkDerivation rec {
|
||||
qtbase
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pydeps
|
||||
];
|
||||
propagatedBuildInputs = pydeps;
|
||||
|
||||
finalSource = "${pname}-final";
|
||||
|
||||
|
||||
@@ -73,13 +73,13 @@
|
||||
"vendorHash": "sha256-FHBpTYSmVivoqz+Eaa/r5y1f/saIx4l6mjOtZhxZVRw="
|
||||
},
|
||||
"auth0_auth0": {
|
||||
"hash": "sha256-4TNKFlWt6Hda/N/H50Aq2IEMGYsLs9R+GG9e9uLQqG4=",
|
||||
"hash": "sha256-9Kar2oz09oqucIz6x1ZEEbXFAuE/8OH6DTDz4Jk1lpo=",
|
||||
"homepage": "https://registry.terraform.io/providers/auth0/auth0",
|
||||
"owner": "auth0",
|
||||
"repo": "terraform-provider-auth0",
|
||||
"rev": "v1.45.0",
|
||||
"rev": "v1.46.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-EyKOxwayr10RbOBDu+8Yp4FILPwCN6yu+VJq6jgeQCo="
|
||||
"vendorHash": "sha256-9Imtc2/rxcJBMch/i7iRyjYFlNeHaCL+KyJr3WzINHs="
|
||||
},
|
||||
"aviatrixsystems_aviatrix": {
|
||||
"hash": "sha256-46djOfAj/5kfeoKLQHbeKefzdGbmlBATR+uN/IaAn8I=",
|
||||
@@ -190,6 +190,15 @@
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-jK7JuARpoxq7hvq5+vTtUwcYot0YqlOZdtDwq4IqKvk="
|
||||
},
|
||||
"clevercloud_clevercloud": {
|
||||
"hash": "sha256-rCeKsS60qvckrgGX2B2OkkZHy6vDXd9ChmKgP2JextE=",
|
||||
"homepage": "https://registry.terraform.io/providers/clevercloud/clevercloud",
|
||||
"owner": "CleverCloud",
|
||||
"repo": "terraform-provider-clevercloud",
|
||||
"rev": "v2.0.1",
|
||||
"spdx": "Apache-2.0",
|
||||
"vendorHash": "sha256-b27UcoNuaX3PxNlJLdU9njCl5JymBQhxD6rq8yT3gi4="
|
||||
},
|
||||
"cloudamqp_cloudamqp": {
|
||||
"hash": "sha256-LAQ5MVZe4OSIJb7X6gdx1lPmgAEKZIm/7lL/93NTP6I=",
|
||||
"homepage": "https://registry.terraform.io/providers/cloudamqp/cloudamqp",
|
||||
@@ -310,11 +319,11 @@
|
||||
"vendorHash": null
|
||||
},
|
||||
"digitalocean_digitalocean": {
|
||||
"hash": "sha256-LmG3NpDkGgaQRworjC+CEhXxMO1lPbgOVhFTiObNkCA=",
|
||||
"hash": "sha256-HGPoP6vJ7fVgFrqL92ZeO8Kno6bSGhcsHjqZipo0XoY=",
|
||||
"homepage": "https://registry.terraform.io/providers/digitalocean/digitalocean",
|
||||
"owner": "digitalocean",
|
||||
"repo": "terraform-provider-digitalocean",
|
||||
"rev": "v2.85.1",
|
||||
"rev": "v2.86.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": null
|
||||
},
|
||||
@@ -472,11 +481,11 @@
|
||||
"vendorHash": "sha256-874QpqIFFhzIGJZ8nKGcUe9qEpR9jQkx4nl75Cpqpww="
|
||||
},
|
||||
"grafana_grafana": {
|
||||
"hash": "sha256-M29iRplTonmxOXeQYAdij+ttfGYiOCLN/v6YvYN9k7w=",
|
||||
"hash": "sha256-/Qad6cDOL+XdhCWOWFdjwbzEa8VQoFTjILjvcuoT7Ow=",
|
||||
"homepage": "https://registry.terraform.io/providers/grafana/grafana",
|
||||
"owner": "grafana",
|
||||
"repo": "terraform-provider-grafana",
|
||||
"rev": "v4.35.0",
|
||||
"rev": "v4.36.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-VEAtUCVZ3nJ1jfDYkkek+VQ1LjNQgRstRNtsM05ebZo="
|
||||
},
|
||||
@@ -508,13 +517,13 @@
|
||||
"vendorHash": "sha256-fsGCKGgH2XM3Eq3rluKs3bODhmXUYEHLWskn+P58emA="
|
||||
},
|
||||
"hashicorp_awscc": {
|
||||
"hash": "sha256-x1IcDODMayfVCZYz4kVf809Up0ictjJ0AzM0rA2z3Ks=",
|
||||
"hash": "sha256-OC57nzpz8l+26/oBXVCFUMNK+gMlgpEK35uIyG1sFOo=",
|
||||
"homepage": "https://registry.terraform.io/providers/hashicorp/awscc",
|
||||
"owner": "hashicorp",
|
||||
"repo": "terraform-provider-awscc",
|
||||
"rev": "v1.83.0",
|
||||
"rev": "v1.84.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-jLJECrwL9JoWz2FSfTM/yQGzBg3gsrGtGpiZFRYwbII="
|
||||
"vendorHash": "sha256-ryLMz2eh5LO0e6OLJJUoMbM+U53uDTq9sHNcnSuuWt4="
|
||||
},
|
||||
"hashicorp_azuread": {
|
||||
"hash": "sha256-BkQwLkGu8Xmb4laoXOLDbSPyya5v8HBBNIya5hUBlV8=",
|
||||
@@ -634,13 +643,13 @@
|
||||
"vendorHash": "sha256-xjOOvg1gUxQHUuIHGR0ltsvIpRAPq4PW0XPYUjIGvpE="
|
||||
},
|
||||
"hashicorp_null": {
|
||||
"hash": "sha256-hPAcFWkeK1vjl1Cg/d7FaZpPhyU3pkU6VBIwxX2gEvA=",
|
||||
"hash": "sha256-4fykdwledpBBrvfXtHlX1Nvd9L2LwHSYReFTAejqp84=",
|
||||
"homepage": "https://registry.terraform.io/providers/hashicorp/null",
|
||||
"owner": "hashicorp",
|
||||
"repo": "terraform-provider-null",
|
||||
"rev": "v3.2.4",
|
||||
"rev": "v3.3.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-ssmAveYUVI8z/1UWNeaMX0qdUewowCHNufJIFMirdVg="
|
||||
"vendorHash": "sha256-eomOKb1chviENE53S3L+MOGqqWg0ByTei5Q2xqn8Nko="
|
||||
},
|
||||
"hashicorp_random": {
|
||||
"hash": "sha256-Y5p9/H3g85AYr/FVWO6zLaeHIGo7iGvMV6eHTGO0ehI=",
|
||||
@@ -842,13 +851,13 @@
|
||||
"vendorHash": "sha256-OgKOjLwDQxJiv+VWdOzjMcUDPu9LOuhyTRyLyM39vLM="
|
||||
},
|
||||
"linode_linode": {
|
||||
"hash": "sha256-prYSxbzRCrB3IDpctEUBLIHpV2iwHHILDlCceRVdIvw=",
|
||||
"hash": "sha256-FUOVV0gyUMb7VnZkK0ua92IHOUJ4wmnkbjh0fSQ9vGc=",
|
||||
"homepage": "https://registry.terraform.io/providers/linode/linode",
|
||||
"owner": "linode",
|
||||
"repo": "terraform-provider-linode",
|
||||
"rev": "v3.12.0",
|
||||
"rev": "v3.13.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-4PQGnRL+z3EgVsTbKLXCBYwbzhd57tPije8RMJNrkKs="
|
||||
"vendorHash": "sha256-6wWNt0TDqqwtRFMCLH81WQ55XLEn4dHx+prM0DA+e4U="
|
||||
},
|
||||
"loafoe_htpasswd": {
|
||||
"hash": "sha256-1HCvAGWsYlcYCA8iOmBb/AawxHPLuoxxQWLzNy0x79M=",
|
||||
|
||||
@@ -113,10 +113,10 @@ python3.pkgs.buildPythonApplication rec {
|
||||
sqlalchemy
|
||||
emoji
|
||||
httpx
|
||||
httpx.optional-dependencies.socks
|
||||
h2
|
||||
truststore
|
||||
]
|
||||
++ httpx.optional-dependencies.socks
|
||||
++ lib.optionals enableE2E [
|
||||
pycrypto
|
||||
python-gnupg
|
||||
|
||||
@@ -51,7 +51,7 @@ stdenv.mkDerivation {
|
||||
versionCheckHook
|
||||
]
|
||||
++ lib.optional stdenv.hostPlatform.isLinux autoPatchelfHook
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin [
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
xar
|
||||
cpio
|
||||
];
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "amneziawg-go";
|
||||
version = "0.2.17";
|
||||
version = "0.2.18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "amnezia-vpn";
|
||||
repo = "amneziawg-go";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-3I0rtTgW4rVjdSLEjdpv0+7k9imSAF56d5ZksJBxRLs=";
|
||||
hash = "sha256-zuP8j3Khw8RbpBlJxoKmTAm3V8Y+c2aL4dNuRIrxWjU=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
}:
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "annotation-mono";
|
||||
version = "0.2";
|
||||
version = "0.4";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/qwerasd205/AnnotationMono/releases/download/v${finalAttrs.version}/AnnotationMono_v${finalAttrs.version}.zip";
|
||||
hash = "sha256-81BcPYE4C9kuetiCzgGPl59WO4QkBML7dwAkD1DCCZo=";
|
||||
hash = "sha256-6DEYTYAENNY/5oD9us9f7VtPae/it7qrFC3/UT1J+Qg=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
|
||||
@@ -9,13 +9,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "ant";
|
||||
version = "1.10.15";
|
||||
version = "1.10.17";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://apache/ant/binaries/apache-ant-${finalAttrs.version}-bin.tar.bz2";
|
||||
hash = "sha256-h/SNGLoRwRVojDfvl1g+xv+J6mAz+J2BimckjaRxDEs=";
|
||||
hash = "sha256-UhD8nXfpa/X0Y5KH8pgm2oXlSlQuCkCUY7FkK8PKruc=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
|
||||
@@ -67,22 +67,25 @@ python3.pkgs.buildPythonApplication rec {
|
||||
tzlocal
|
||||
watchdog
|
||||
]
|
||||
++ (with python3.pkgs.boto3-stubs.optional-dependencies; [
|
||||
apigateway
|
||||
cloudformation
|
||||
ecr
|
||||
iam
|
||||
kinesis
|
||||
lambda
|
||||
s3
|
||||
schemas
|
||||
secretsmanager
|
||||
signer
|
||||
sqs
|
||||
stepfunctions
|
||||
sts
|
||||
xray
|
||||
]);
|
||||
++ (
|
||||
with python3.pkgs.boto3-stubs.optional-dependencies;
|
||||
lib.concatLists [
|
||||
apigateway
|
||||
cloudformation
|
||||
ecr
|
||||
iam
|
||||
kinesis
|
||||
lambda
|
||||
s3
|
||||
schemas
|
||||
secretsmanager
|
||||
signer
|
||||
sqs
|
||||
stepfunctions
|
||||
sts
|
||||
xray
|
||||
]
|
||||
);
|
||||
|
||||
patches = [
|
||||
# Remove after aws-sam-cli > 1.154.0
|
||||
|
||||
@@ -40,7 +40,7 @@ buildNpmPackage rec {
|
||||
docify
|
||||
pkg-config
|
||||
]
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin [ clang_20 ]; # clang_21 breaks keytar
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin clang_20; # clang_21 breaks keytar
|
||||
|
||||
buildInputs = [ libsecret ];
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
textual
|
||||
textual-universal-directorytree
|
||||
]
|
||||
++ lib.attrVals extras finalAttrs.passthru.optional-dependencies;
|
||||
++ lib.flatten (lib.attrVals extras finalAttrs.passthru.optional-dependencies);
|
||||
|
||||
optional-dependencies = with python3Packages; {
|
||||
all = [
|
||||
|
||||
@@ -26,7 +26,7 @@ stdenv.mkDerivation {
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
lib.forEach selectedExtensions (x: x.buildInputs)
|
||||
lib.concatMap (x: x.buildInputs) selectedExtensions
|
||||
++ selectedExtensions
|
||||
++ [ caja ]
|
||||
++ caja.buildInputs;
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "cdncheck";
|
||||
version = "1.2.34";
|
||||
version = "1.2.36";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "projectdiscovery";
|
||||
repo = "cdncheck";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-iCv9v8ItMbozaJpNPW7zunjeszZbQxyjUvB7Kx1Dj1E=";
|
||||
hash = "sha256-hDcGf7orlVsIOd0iROikrlXcBVsU5n9IHzfkWejXUGg=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-aolS1mhIM8/fOeHeLQgiS8z/zO++U+36Th7wNpKlkFU=";
|
||||
|
||||
@@ -30,9 +30,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
pnpm_10
|
||||
python3 # required for sqlite3 bindings
|
||||
]
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin [
|
||||
cctools.libtool
|
||||
];
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin cctools.libtool;
|
||||
|
||||
pnpmDeps = fetchPnpmDeps {
|
||||
inherit (finalAttrs) pname version src;
|
||||
|
||||
@@ -6,18 +6,18 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "cnspec";
|
||||
version = "13.8.2";
|
||||
version = "13.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mondoohq";
|
||||
repo = "cnspec";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-z7Peg7UQnMhWHazDrHabDQ0Y2QlyTjA7XzuwVA8fdak=";
|
||||
hash = "sha256-pAiHfizC5GZwmGz3vWjYkj7YSimoOaWvmAOL2ERke0Q=";
|
||||
};
|
||||
|
||||
proxyVendor = true;
|
||||
|
||||
vendorHash = "sha256-F6EpksIF8aNcQEchp08DBa5ZwUFU3YusTkNBT1VjfFw=";
|
||||
vendorHash = "sha256-6dNZEf8boh6sRRmVh4UhpwUvcCwUtMDqwmrOs8R+sck=";
|
||||
|
||||
subPackages = [ "apps/cnspec" ];
|
||||
|
||||
|
||||
@@ -27,17 +27,19 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
|
||||
pythonRelaxDeps = [ "radicale" ];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
appdirs
|
||||
etebase
|
||||
etesync
|
||||
flask
|
||||
flask-wtf
|
||||
msgpack
|
||||
(python3Packages.toPythonModule (radicale.override { python3 = python; }))
|
||||
requests
|
||||
requests.optional-dependencies.socks
|
||||
];
|
||||
dependencies =
|
||||
with python3Packages;
|
||||
[
|
||||
appdirs
|
||||
etebase
|
||||
etesync
|
||||
flask
|
||||
flask-wtf
|
||||
msgpack
|
||||
(python3Packages.toPythonModule (radicale.override { python3 = python; }))
|
||||
requests
|
||||
]
|
||||
++ requests.optional-dependencies.socks;
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
||||
@@ -0,0 +1,92 @@
|
||||
{
|
||||
binaryen,
|
||||
fetchFromGitHub,
|
||||
fetchNpmDeps,
|
||||
lib,
|
||||
lld,
|
||||
nodejs,
|
||||
npmHooks,
|
||||
runCommand,
|
||||
rustPlatform,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "extism-js-core";
|
||||
version = "1.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "extism";
|
||||
repo = "js-pdk";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-CLyH0gDtw988cTcw4B86/kejfbYWMXEVG9Y6PKAZazE=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-9lFX+Q4318ClVIRT4/uCesyNYwU9H2vV+fD3553M2Dc=";
|
||||
|
||||
npmDeps = fetchNpmDeps {
|
||||
name = "${finalAttrs.pname}-${finalAttrs.version}-npm-deps";
|
||||
inherit (finalAttrs) src;
|
||||
sourceRoot = "${finalAttrs.src.name}/${finalAttrs.npmRoot}";
|
||||
hash = "sha256-XrydnNXXhy/2sZXUGHuZvy+WF7dYIywrUAj8OHGlVRM=";
|
||||
};
|
||||
npmRoot = "crates/core/src/prelude";
|
||||
|
||||
# https://github.com/extism/js-pdk/pull/154
|
||||
postPatch = ''
|
||||
substituteInPlace Cargo.toml \
|
||||
--replace-fail '1.5.1' '${finalAttrs.version}'
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
pushd ${finalAttrs.npmRoot}
|
||||
npm run build
|
||||
popd
|
||||
'';
|
||||
|
||||
# https://github.com/extism/js-pdk/blob/v1.6.0/Makefile#L25
|
||||
preFixup = ''
|
||||
wasm-opt --enable-reference-types --enable-bulk-memory --strip -O3 $out/bin/js_pdk_core.wasm -o $out/bin/js_pdk_core.wasm
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
binaryen
|
||||
lld
|
||||
nodejs
|
||||
npmHooks.npmConfigHook
|
||||
rustPlatform.bindgenHook
|
||||
];
|
||||
|
||||
# io-extras v0.18.4 uses #![feature]
|
||||
env.RUSTC_BOOTSTRAP = 1;
|
||||
|
||||
env.RUSTFLAGS = "-C linker=wasm-ld";
|
||||
|
||||
# rquickjs-sys expects the dir structure from wasi-sdk
|
||||
# https://github.com/DelSkayn/rquickjs/blob/v0.11.0/sys/build.rs#L216-L230
|
||||
# TODO: revisit when https://github.com/DelSkayn/rquickjs/pull/648 is released and extism updated
|
||||
env.WASI_SDK = runCommand "wasi-sdk" { } ''
|
||||
mkdir -p $out/bin
|
||||
ln -s ${lib.getExe' stdenv.cc "wasm32-unknown-wasi-clang"} $out/bin/clang
|
||||
ln -s ${lib.getExe' stdenv.cc "wasm32-unknown-wasi-ar"} $out/bin/ar
|
||||
ln -s ${stdenv.cc}/nix-support $out/nix-support
|
||||
mkdir -p $out/share
|
||||
ln -s ${stdenv.cc.libc} $out/share/wasi-sysroot
|
||||
'';
|
||||
|
||||
cargoBuildFlags = [ "--package=js-pdk-core" ];
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/extism/js-pdk/releases/tag/${finalAttrs.src.tag}";
|
||||
description = "Write Extism plugins in JavaScript & TypeScript (WASM core)";
|
||||
homepage = "https://github.com/extism/js-pdk";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = [
|
||||
lib.maintainers.diogotcorreia
|
||||
lib.maintainers.dotlambda
|
||||
];
|
||||
platforms = lib.platforms.wasi;
|
||||
};
|
||||
})
|
||||
@@ -1,59 +1,46 @@
|
||||
# Building this from source requires cross-compiling Rust to wasm32-wasip1.
|
||||
# An attempt to do so was made in https://github.com/NixOS/nixpkgs/pull/463349.
|
||||
# FIXME revisit once https://github.com/NixOS/nixpkgs/pull/463720 is merged
|
||||
|
||||
{
|
||||
autoPatchelfHook,
|
||||
fetchurl,
|
||||
binaryen,
|
||||
extism-cli,
|
||||
lib,
|
||||
libgcc,
|
||||
stdenvNoCC,
|
||||
pkg-config,
|
||||
pkgsCross,
|
||||
rustPlatform,
|
||||
testers,
|
||||
versionCheckHook,
|
||||
writableTmpDirAsHomeHook,
|
||||
zstd,
|
||||
}:
|
||||
|
||||
let
|
||||
version = "1.6.0";
|
||||
tag = "v${version}";
|
||||
system = lib.replaceStrings [ "darwin" ] [ "macos" ] stdenvNoCC.hostPlatform.system;
|
||||
hashes = {
|
||||
aarch64-darwin = "sha256-VI4lvaOXGgfDLXiiSRNc+Mt7Pu3hAeh44G5T4BrC4M4=";
|
||||
aarch64-linux = "sha256-FaGGJQ5o1r/07IOf/yddRakOODppIJ3MEjnrnjrubhs=";
|
||||
x86_64-darwin = "sha256-2FqHXCoHHwwp/lcnZMUsOkmfFXq3+e+siTmkNkOQ4ps=";
|
||||
x86_64-linux = "sha256-Te0nHM9GUDHM0Nw156FA4TTX8wchZxzEqOH/gF1KrWg=";
|
||||
};
|
||||
inherit (pkgsCross.wasi32) extism-js-core;
|
||||
in
|
||||
stdenvNoCC.mkDerivation {
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "extism-js";
|
||||
inherit version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/extism/js-pdk/releases/download/${tag}/extism-js-${system}-${tag}.gz";
|
||||
hash = hashes.${stdenvNoCC.hostPlatform.system};
|
||||
};
|
||||
inherit (extism-js-core)
|
||||
version
|
||||
src
|
||||
cargoDeps
|
||||
postPatch
|
||||
;
|
||||
|
||||
unpackPhase = ''
|
||||
runHook preUnpack
|
||||
|
||||
gunzip -cf "$src" > extism-js
|
||||
|
||||
runHook postUnpack
|
||||
'';
|
||||
|
||||
nativeBuildInputs = lib.optionals stdenvNoCC.hostPlatform.isLinux [
|
||||
autoPatchelfHook
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
rustPlatform.bindgenHook
|
||||
];
|
||||
|
||||
buildInputs = lib.optionals stdenvNoCC.hostPlatform.isLinux [
|
||||
libgcc
|
||||
buildInputs = [
|
||||
zstd
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
# fs-set-times v0.20.3 uses #![feature]
|
||||
env.RUSTC_BOOTSTRAP = 1;
|
||||
|
||||
install -Dt $out/bin extism-js
|
||||
env.EXTISM_ENGINE_PATH = "${pkgsCross.wasi32.extism-js-core}/bin/js_pdk_core.wasm";
|
||||
env.ZSTD_SYS_USE_PKG_CONFIG = true;
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
cargoBuildFlags = [ "--package=js-pdk-cli" ];
|
||||
cargoTestFlags = [ "--package=js-pdk-cli" ];
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
@@ -61,19 +48,51 @@ stdenvNoCC.mkDerivation {
|
||||
versionCheckHook
|
||||
];
|
||||
|
||||
# https://github.com/extism/js-pdk/pull/154
|
||||
preInstallCheck = ''
|
||||
version=1.5.1
|
||||
'';
|
||||
passthru = {
|
||||
tests.simple-js = testers.runCommand {
|
||||
# Based on https://github.com/extism/js-pdk/tree/v1.6.0/examples/simple_js
|
||||
name = "${finalAttrs.pname}-simple-js-test";
|
||||
nativeBuildInputs = [
|
||||
finalAttrs.finalPackage
|
||||
|
||||
binaryen
|
||||
extism-cli
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
script = ''
|
||||
cat <<'EOF' > script.js
|
||||
function helloWorld() {
|
||||
Host.outputString(`Hello, ''${Host.inputString()}!`);
|
||||
}
|
||||
|
||||
module.exports = { helloWorld };
|
||||
EOF
|
||||
|
||||
cat <<EOF > script.d.ts
|
||||
declare module "main" {
|
||||
export function helloWorld(): I32;
|
||||
}
|
||||
EOF
|
||||
|
||||
cat <<EOF > expected
|
||||
Hello, nixpkgs!
|
||||
EOF
|
||||
|
||||
extism-js script.js -i script.d.ts -o script.wasm
|
||||
extism call script.wasm helloWorld --wasi --input="nixpkgs" > output
|
||||
|
||||
diff output expected && touch $out
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/extism/js-pdk/releases/tag/${tag}";
|
||||
description = "Write Extism plugins in JavaScript & TypeScript";
|
||||
homepage = "https://github.com/extism/js-pdk";
|
||||
license = lib.licenses.bsd3;
|
||||
changelog = "https://github.com/extism/js-pdk/releases/tag/${finalAttrs.src.tag}";
|
||||
description = "Write Extism plugins in JavaScript & TypeScript (CLI)";
|
||||
mainProgram = "extism-js";
|
||||
maintainers = [ lib.maintainers.dotlambda ];
|
||||
platforms = lib.attrNames hashes;
|
||||
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
|
||||
platforms = lib.platforms.unix;
|
||||
inherit (extism-js-core.meta) homepage license maintainers;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -48,13 +48,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
++ lib.optional withPython python
|
||||
++ lib.optional (withPython && python.isPy3k) ncurses;
|
||||
|
||||
propagatedNativeBuildInputs = lib.optional withPython [ swig ];
|
||||
propagatedNativeBuildInputs = lib.optional withPython swig;
|
||||
propagatedBuildInputs = [
|
||||
zlib
|
||||
]
|
||||
++ lib.optional withPython [
|
||||
python.pkgs.distutils
|
||||
];
|
||||
++ lib.optional withPython python.pkgs.distutils;
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace ./fastnlotoolkit/Makefile.in \
|
||||
|
||||
@@ -7,27 +7,19 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "git-hound";
|
||||
version = "1.7.2";
|
||||
version = "3.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tillson";
|
||||
repo = "git-hound";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-W+rYDyRIw4jWWO4UZkUHFq/D/7ZXM+y5vdbclk6S0ro=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-zd9ttx3U2XtXhsqe3sT8oCUeFmFg5k519TPntCFf+0s=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/tillson/git-hound/pull/66
|
||||
(fetchpatch {
|
||||
url = "https://github.com/tillson/git-hound/commit/cd8aa19401cfdec9e4d76c1f6eb4d85928ec4b03.patch";
|
||||
hash = "sha256-EkdR2KkxxlMLNtKFGpxsQ/msJT5NcMF7irIUcU2WWJY=";
|
||||
})
|
||||
];
|
||||
|
||||
# tests fail outside of nix
|
||||
doCheck = false;
|
||||
|
||||
vendorHash = "sha256-8teIa083oMXm0SjzMP+mGOVAel1Hbsp3TSMhdvqVbQs=";
|
||||
vendorHash = "sha256-AgVNfYLs1myhOjIgylcchWKbFwW9qSsYqzqRxRHvKQ0=";
|
||||
|
||||
meta = {
|
||||
description = "Reconnaissance tool for GitHub code search";
|
||||
@@ -37,7 +29,8 @@ buildGoModule (finalAttrs: {
|
||||
and a unique result scoring system.
|
||||
'';
|
||||
homepage = "https://github.com/tillson/git-hound";
|
||||
license = with lib.licenses; [ mit ];
|
||||
changelog = "https://github.com/tillson/git-hound/releases/tag/v${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
mainProgram = "git-hound";
|
||||
};
|
||||
|
||||
@@ -8,16 +8,16 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "github-mcp-server";
|
||||
version = "0.33.0";
|
||||
version = "1.0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "github";
|
||||
repo = "github-mcp-server";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-FNSwZTz0RDP/BH2k66SBridiAZwAtuKsZaQgb/2jScA=";
|
||||
hash = "sha256-atda50YVT577YabcHRO/xQU68DUFpwPS2GAWScSUaKg=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-q21hnMnWOzfg7BGDl4KM1I3v0wwS5sSxzLA++L6jO4s=";
|
||||
vendorHash = "sha256-fVNMtCpodsr1Z9E21osHb+e63ZQqFKYwi4fz4OsTJe0=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
|
||||
@@ -34,7 +34,7 @@ stdenv.mkDerivation {
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
selectedPanelModulePackages ++ lib.forEach selectedPanelModulePackages (x: x.buildInputs or [ ]);
|
||||
selectedPanelModulePackages ++ lib.concatMap (x: x.buildInputs or [ ]) selectedPanelModulePackages;
|
||||
|
||||
dontUnpack = true;
|
||||
dontConfigure = true;
|
||||
|
||||
@@ -38,9 +38,9 @@ python3Packages.buildPythonApplication rec {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
boost183.all
|
||||
libseccomp
|
||||
];
|
||||
]
|
||||
++ boost183.all;
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
++ lib.optionals lz4Support [
|
||||
lz4
|
||||
]
|
||||
++ lib.optional zlibSupport [
|
||||
++ lib.optionals zlibSupport [
|
||||
zlib
|
||||
]
|
||||
++ lib.optionals suggestSupport [
|
||||
|
||||
@@ -35,9 +35,7 @@ python3Packages.buildPythonApplication {
|
||||
musicbrainzngs
|
||||
discid
|
||||
]
|
||||
++ lib.optional withKeyring [
|
||||
keyring
|
||||
];
|
||||
++ lib.optional withKeyring keyring;
|
||||
|
||||
pythonImportsCheck = [ "isrcsubmit" ];
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
[
|
||||
jinja2
|
||||
]
|
||||
++ lib.attrVals extras optional-dependencies;
|
||||
++ lib.flatten (lib.attrVals extras optional-dependencies);
|
||||
|
||||
pythonImportsCheck = [ "jinja2cli" ];
|
||||
|
||||
|
||||
@@ -32,9 +32,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
qt6.qtsvg
|
||||
qt6.qtwebengine
|
||||
]
|
||||
++ lib.optional stdenv.hostPlatform.isLinux [
|
||||
qt6.qtwayland
|
||||
];
|
||||
++ lib.optional stdenv.hostPlatform.isLinux qt6.qtwayland;
|
||||
|
||||
# We use a separate build-dir as otherwise ld seems to get confused between
|
||||
# directory and executable name on buildPhase.
|
||||
|
||||
@@ -131,7 +131,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
icu78
|
||||
simdjson
|
||||
]
|
||||
++ lib.optional stdenv.hostPlatform.isLinux [
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
libpulseaudio.dev
|
||||
qt6Packages.qtwayland
|
||||
];
|
||||
|
||||
@@ -45,9 +45,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
harfbuzz
|
||||
]
|
||||
++ lib.optional fontconfigSupport fontconfig
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin [
|
||||
libiconv
|
||||
];
|
||||
# TODO: remove dep after branchoff (in darwin stdenv)
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin libiconv.out;
|
||||
|
||||
meta = {
|
||||
description = "Portable ASS/SSA subtitle renderer";
|
||||
|
||||
@@ -16,12 +16,12 @@
|
||||
}:
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "lug-helper";
|
||||
version = "4.9";
|
||||
version = "4.13";
|
||||
src = fetchFromGitHub {
|
||||
owner = "starcitizen-lug";
|
||||
repo = "lug-helper";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-5JkVx8wlErNcdOA0oHnNxtwFyEyuJ1XRS/JeACK7bJg=";
|
||||
hash = "sha256-+hhipbw6tZmjpX+eUFQqRl4WXV4t56yJDrx4HtJ8AXc=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
||||
@@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
|
||||
qt6.qtbase
|
||||
boost
|
||||
]
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin [ makeWrapper ];
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin makeWrapper;
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
|
||||
@@ -8,16 +8,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "mdwatch";
|
||||
version = "0.2.0";
|
||||
version = "0.2.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vimlinuz";
|
||||
repo = "mdwatch";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-snmyfhOkCTnRsBcKcTTij5caA2NmSA1Csp3+D6BJcw4=";
|
||||
hash = "sha256-Oz0vBg+jfB24WT3n5v/7clCk37YaRBPnpfNQth0kxio=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-CAXHIOC0K062zXNnAD1IW2Sb5Mnpc91A1Lamhc3+NLQ=";
|
||||
cargoHash = "sha256-dMZpDuyKtheKRcBvVsHjVpJEnQRf92E2fb6JRH2fXO4=";
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
|
||||
@@ -91,7 +91,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pnpmConfigHook
|
||||
pnpm_10
|
||||
]
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin [
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
makeBinaryWrapper
|
||||
xcbuild
|
||||
];
|
||||
|
||||
@@ -6,14 +6,14 @@
|
||||
|
||||
python3.pkgs.buildPythonApplication (finalAttrs: {
|
||||
pname = "mqtt-exporter";
|
||||
version = "1.11.2";
|
||||
version = "1.12.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kpetremann";
|
||||
repo = "mqtt-exporter";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-pWXdd82K1BhUKHGVGpTRW4f/Xa9nf0Ww/l2pxdw/Jw8=";
|
||||
hash = "sha256-cCVbvO1+69zIxbGGW7p3YTbDQgSU41uVR7M3jOHaqO8=";
|
||||
};
|
||||
|
||||
build-system = with python3.pkgs; [ setuptools ];
|
||||
|
||||
@@ -177,7 +177,7 @@ python.pkgs.buildPythonApplication rec {
|
||||
pytestCheckHook
|
||||
]
|
||||
++ lib.concatAttrValues optional-dependencies
|
||||
++ (map (provider: providerPackages.${provider} python.pkgs) [
|
||||
++ (lib.concatMap (provider: providerPackages.${provider} python.pkgs) [
|
||||
"audible"
|
||||
"dlna"
|
||||
"jellyfin"
|
||||
|
||||
@@ -50,7 +50,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
makeWrapper
|
||||
dart-sass
|
||||
]
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin [
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
cctools
|
||||
xcbuild
|
||||
];
|
||||
|
||||
@@ -48,7 +48,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
# nlohmann_json can be only discovered via cmake files
|
||||
cmake
|
||||
]
|
||||
++ lib.optional stdenv.cc.isClang [ clang-tools ];
|
||||
++ lib.optional stdenv.cc.isClang clang-tools;
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram "$out/bin/nix-unit" --prefix PATH : ${difftastic}/bin
|
||||
|
||||
@@ -25,7 +25,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
buildInputs = [
|
||||
openssl # required for openssl-sys
|
||||
]
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin [
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
libiconv
|
||||
];
|
||||
|
||||
|
||||
@@ -7,16 +7,16 @@
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "npkill";
|
||||
version = "0.12.2";
|
||||
version = "0.12.2-1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "voidcosmos";
|
||||
repo = "npkill";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-0pouc+5kl5bjaNYz81OD5FZppYXKdyMBRvEq/DedEV4=";
|
||||
hash = "sha256-I0qo8sRkG9GVAA4oLDiTDsHtdrmnkdAk7QOXMWWDKmA=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-3ggcr0KxWbO5mHRgtB5rzGYQvpDoiy9EyRS0O+9MJEI=";
|
||||
npmDepsHash = "sha256-scR7LF9UkDvQzAqe5TSKajr6VNrnjM2KZI7k2KLmoCc=";
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
|
||||
@@ -37,17 +37,28 @@ let
|
||||
];
|
||||
};
|
||||
|
||||
filename =
|
||||
if stdenv.hostPlatform.isDarwin then "Obsidian-${version}.dmg" else "obsidian-${version}.tar.gz";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/obsidianmd/obsidian-releases/releases/download/v${version}/${filename}";
|
||||
hash =
|
||||
if stdenv.hostPlatform.isDarwin then
|
||||
"sha256-O4XBO0zlVRLobhcKfNKklOLbaVrIiMBgHhU8uFt3iBs="
|
||||
else
|
||||
"sha256-/L4IsRHZwf2wm5wIlSsG4cgpxiFj66JYTEtOyFm+B50=";
|
||||
srcs = rec {
|
||||
x86_64-linux = fetchurl {
|
||||
url = "https://github.com/obsidianmd/obsidian-releases/releases/download/v${version}/obsidian-${version}.tar.gz";
|
||||
hash = "sha256-/L4IsRHZwf2wm5wIlSsG4cgpxiFj66JYTEtOyFm+B50=";
|
||||
};
|
||||
|
||||
aarch64-linux = fetchurl {
|
||||
url = "https://github.com/obsidianmd/obsidian-releases/releases/download/v${version}/obsidian-${version}-arm64.tar.gz";
|
||||
hash = "sha256-a8hye/27bXMdWvmgb1HW3nBhxoyQjIrotDqe03miAmA=";
|
||||
};
|
||||
|
||||
x86_64-darwin = fetchurl {
|
||||
url = "https://github.com/obsidianmd/obsidian-releases/releases/download/v${version}/Obsidian-${version}.dmg";
|
||||
hash = "sha256-O4XBO0zlVRLobhcKfNKklOLbaVrIiMBgHhU8uFt3iBs=";
|
||||
};
|
||||
|
||||
aarch64-darwin = x86_64-darwin;
|
||||
};
|
||||
|
||||
src =
|
||||
srcs.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
||||
|
||||
icon = fetchurl {
|
||||
url = "https://obsidian.md/images/obsidian-logo-gradient.svg";
|
||||
hash = "sha256-EZsBuWyZ9zYJh0LDKfRAMTtnY70q6iLK/ggXlplDEoA=";
|
||||
@@ -96,13 +107,18 @@ let
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.updateScript = writeScript "updater" ''
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p curl jq common-updater-scripts
|
||||
set -eu -o pipefail
|
||||
latestVersion="$(curl -sS https://raw.githubusercontent.com/obsidianmd/obsidian-releases/master/desktop-releases.json | jq -r '.latestVersion')"
|
||||
update-source-version obsidian "$latestVersion"
|
||||
'';
|
||||
passthru = {
|
||||
inherit srcs;
|
||||
updateScript = writeScript "updater" ''
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p curl jq common-updater-scripts
|
||||
set -eu -o pipefail
|
||||
latestVersion="$(curl -sS https://raw.githubusercontent.com/obsidianmd/obsidian-releases/master/desktop-releases.json | jq -r '.latestVersion')"
|
||||
for platform in ${toString meta.platforms}; do
|
||||
update-source-version obsidian "$latestVersion" --ignore-same-version --source-key=passthru.srcs.$platform
|
||||
done
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
darwin = stdenv.mkDerivation {
|
||||
|
||||
@@ -168,10 +168,12 @@ goBuild (finalAttrs: {
|
||||
cmake
|
||||
gitMinimal
|
||||
]
|
||||
++ lib.optionals enableRocm [
|
||||
rocmPackages.llvm.bintools
|
||||
++ lib.optionals enableRocm (
|
||||
rocmLibs
|
||||
]
|
||||
++ [
|
||||
rocmPackages.llvm.bintools
|
||||
]
|
||||
)
|
||||
++ lib.optionals enableCuda [ cudaPackages.cuda_nvcc ]
|
||||
++ lib.optionals (enableRocm || enableCuda) [
|
||||
makeBinaryWrapper
|
||||
|
||||
@@ -27,7 +27,7 @@ buildGoModule (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
buildInputs = lib.optional stdenv.hostPlatform.isLinux [ libax25 ];
|
||||
buildInputs = lib.optional stdenv.hostPlatform.isLinux libax25;
|
||||
|
||||
# Needed by wl2k-go go module for libax25 to include support for Linux' AX.25 stack by linking against libax25.
|
||||
# ref: https://github.com/la5nta/wl2k-go/blob/abe3ae5bf6a2eec670a21672d461d1c3e1d4c2f3/transport/ax25/ax25.go#L11-L17
|
||||
|
||||
@@ -50,7 +50,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
urllib3
|
||||
ydiff
|
||||
])
|
||||
++ lib.attrVals extras finalAttrs.passthru.optional-dependencies;
|
||||
++ lib.flatten (lib.attrVals extras finalAttrs.passthru.optional-dependencies);
|
||||
|
||||
optional-dependencies = with python3Packages; {
|
||||
aws = [ boto3 ];
|
||||
|
||||
@@ -40,8 +40,9 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
|
||||
"\${qtWrapperArgs[@]}"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
(with python3.pkgs; [
|
||||
propagatedBuildInputs = (
|
||||
with python3.pkgs;
|
||||
[
|
||||
psutil
|
||||
pyside6
|
||||
pysocks
|
||||
@@ -51,8 +52,8 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
|
||||
setproctitle
|
||||
setuptools
|
||||
yt-dlp
|
||||
])
|
||||
];
|
||||
]
|
||||
);
|
||||
|
||||
meta = {
|
||||
description = "Download manager GUI written in Python";
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
writableTmpDirAsHomeHook,
|
||||
ripgrep,
|
||||
makeBinaryWrapper,
|
||||
stdenvNoCC,
|
||||
}:
|
||||
buildNpmPackage (finalAttrs: {
|
||||
pname = "pi-coding-agent";
|
||||
@@ -65,7 +66,17 @@ buildNpmPackage (finalAttrs: {
|
||||
|
||||
# Clean up now-dangling .bin symlinks
|
||||
find "$nm/.bin" -xtype l -delete
|
||||
''
|
||||
+ lib.optionalString stdenvNoCC.hostPlatform.isDarwin ''
|
||||
# Remove foreign Linux binaries that make audit-tmpdir try to inspect ELF
|
||||
# RPATHs with patchelf
|
||||
find "$nm/koffi/build/koffi" -mindepth 1 -maxdepth 1 -type d \
|
||||
! -name 'darwin_*' -exec rm -r {} +
|
||||
rm -rf \
|
||||
"$nm/@anthropic-ai/sandbox-runtime/dist/vendor/seccomp" \
|
||||
"$nm/@anthropic-ai/sandbox-runtime/vendor/seccomp"
|
||||
'';
|
||||
|
||||
postFixup = "wrapProgram $out/bin/pi --prefix PATH : ${lib.makeBinPath [ ripgrep ]}";
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
@@ -34,7 +34,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
makeWrapper
|
||||
imagemagick
|
||||
]
|
||||
++ lib.optional stdenvNoCC.hostPlatform.isDarwin [ desktopToDarwinBundle ];
|
||||
++ lib.optional stdenvNoCC.hostPlatform.isDarwin desktopToDarwinBundle;
|
||||
|
||||
postPatch = ''
|
||||
sed -i "s|<title>.*</title>|<title>PvZ2: Gardendless</title>|" docs/index.html
|
||||
|
||||
@@ -37,9 +37,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pycairo
|
||||
pygobject3
|
||||
]
|
||||
++ lib.optional withVLC [
|
||||
python-vlc
|
||||
];
|
||||
++ lib.optional withVLC python-vlc;
|
||||
|
||||
nativeBuildInputs = [
|
||||
wrapGAppsHook3
|
||||
|
||||
@@ -66,11 +66,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
python3
|
||||
(with python3.pkgs; [
|
||||
beautifulsoup4
|
||||
markdown
|
||||
])
|
||||
which
|
||||
python3.pkgs.beautifulsoup4
|
||||
python3.pkgs.markdown
|
||||
installShellFiles
|
||||
gnumake42 # fails with make 4.4
|
||||
];
|
||||
|
||||
@@ -42,7 +42,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
python3
|
||||
yq-go
|
||||
]
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin [
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
xcbuild
|
||||
cctools # contains libtool, required by better-sqlite3
|
||||
];
|
||||
|
||||
@@ -43,10 +43,8 @@ buildDotnetModule rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs =
|
||||
lib.optional stdenv.hostPlatform.isLinux [
|
||||
wrapGAppsHook3
|
||||
]
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin [
|
||||
lib.optional stdenv.hostPlatform.isLinux wrapGAppsHook3
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
cctools
|
||||
darwin.sigtool
|
||||
];
|
||||
@@ -82,11 +80,11 @@ buildDotnetModule rec {
|
||||
libGL
|
||||
SDL2
|
||||
]
|
||||
++ lib.optional (!stdenv.hostPlatform.isDarwin) [
|
||||
++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
|
||||
udev
|
||||
pulseaudio
|
||||
]
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin [ moltenvk ];
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin moltenvk;
|
||||
|
||||
projectFile = "Ryujinx.sln";
|
||||
testProjectFile = "src/Ryujinx.Tests/Ryujinx.Tests.csproj";
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "1.0.1390";
|
||||
version = "1.0.1409";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lollipopkit";
|
||||
repo = "flutter_server_box";
|
||||
tag = "v${version}";
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-LVGqvCVlPh1F3Lcdfp1BrTtgrAXRMfPeeCRZOpGeskA=";
|
||||
hash = "sha256-+m44q4KhnJCcWG/i1KnNVYes3Uh1ZZwjzyIfnFW1Pm8=";
|
||||
};
|
||||
in
|
||||
flutter341.buildFlutterApplication {
|
||||
|
||||
@@ -94,11 +94,11 @@
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "build",
|
||||
"sha256": "aadd943f4f8cc946882c954c187e6115a84c98c81ad1d9c6cbf0895a8c85da9c",
|
||||
"sha256": "a156715e7cd728130c592f30552575908aae5b100005fbc1f0fb16b3c03a3d10",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "4.0.5"
|
||||
"version": "4.0.6"
|
||||
},
|
||||
"build_config": {
|
||||
"dependency": "transitive",
|
||||
@@ -124,11 +124,11 @@
|
||||
"dependency": "direct dev",
|
||||
"description": {
|
||||
"name": "build_runner",
|
||||
"sha256": "521daf8d189deb79ba474e43a696b41c49fb3987818dbacf3308f1e03673a75e",
|
||||
"sha256": "1523ce62448ebac2c15a8ba5fbad8acac169788658a7dd2a1c2d9c2a9318b9a6",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.13.1"
|
||||
"version": "2.15.0"
|
||||
},
|
||||
"built_collection": {
|
||||
"dependency": "transitive",
|
||||
@@ -144,11 +144,11 @@
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "built_value",
|
||||
"sha256": "0730c18c770d05636a8f945c32a4d7d81cb6e0f0148c8db4ad12e7748f7e49af",
|
||||
"sha256": "34e4067d30ce212937df995f03b69992eea683539ceeac7f679a1f1eba055b56",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "8.12.5"
|
||||
"version": "8.12.6"
|
||||
},
|
||||
"camera": {
|
||||
"dependency": "transitive",
|
||||
@@ -341,7 +341,7 @@
|
||||
"version": "0.3.5+2"
|
||||
},
|
||||
"crypto": {
|
||||
"dependency": "direct main",
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "crypto",
|
||||
"sha256": "c8ea0233063ba03258fbcf2ca4d6dadfefe14f02fab57702265467a19f27fadf",
|
||||
@@ -653,21 +653,21 @@
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "flutter_secure_storage",
|
||||
"sha256": "da922f2aab2d733db7e011a6bcc4a825b844892d4edd6df83ff156b09a9b2e40",
|
||||
"sha256": "6848263f9744072d0977347c383fb8b57d9780319a6bf5238b5a2866a029de62",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "10.0.0"
|
||||
"version": "10.2.0"
|
||||
},
|
||||
"flutter_secure_storage_darwin": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "flutter_secure_storage_darwin",
|
||||
"sha256": "8878c25136a79def1668c75985e8e193d9d7d095453ec28730da0315dc69aee3",
|
||||
"sha256": "67cd1ff671add31dc13e45194398187a04bb63804b37fa47866afae296d73fcb",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "0.2.0"
|
||||
"version": "0.3.1"
|
||||
},
|
||||
"flutter_secure_storage_linux": {
|
||||
"dependency": "transitive",
|
||||
@@ -693,11 +693,11 @@
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "flutter_secure_storage_web",
|
||||
"sha256": "6a1137df62b84b54261dca582c1c09ea72f4f9a4b2fcee21b025964132d5d0c3",
|
||||
"sha256": "073a62b3aeb866ab4ce795f960413948e51e5a42a9b0c8333b6daf5bb3208a1c",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.1.0"
|
||||
"version": "2.1.1"
|
||||
},
|
||||
"flutter_secure_storage_windows": {
|
||||
"dependency": "transitive",
|
||||
@@ -713,11 +713,11 @@
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
"name": "flutter_svg",
|
||||
"sha256": "1ded017b39c8e15c8948ea855070a5ff8ff8b3d5e83f3446e02d6bb12add7ad9",
|
||||
"sha256": "35882981abcbfb8c15b286f0cd690ff25bac12d95eff3e25ee207f37d4c42e7f",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.2.4"
|
||||
"version": "2.3.0"
|
||||
},
|
||||
"flutter_test": {
|
||||
"dependency": "direct dev",
|
||||
@@ -835,11 +835,11 @@
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "hooks",
|
||||
"sha256": "e79ed1e8e1929bc6ecb6ec85f0cb519c887aa5b423705ded0d0f2d9226def388",
|
||||
"sha256": "025f060e86d2d4c3c47b56e33caf7f93bf9283340f26d23424ebcfccf34f621e",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.0.2"
|
||||
"version": "1.0.3"
|
||||
},
|
||||
"html": {
|
||||
"dependency": "transitive",
|
||||
@@ -1530,6 +1530,16 @@
|
||||
"source": "hosted",
|
||||
"version": "0.0.3"
|
||||
},
|
||||
"record_use": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "record_use",
|
||||
"sha256": "2551bd8eecfe95d14ae75f6021ad0248be5c27f138c2ec12fcb52b500b3ba1ed",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "0.6.0"
|
||||
},
|
||||
"responsive_framework": {
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
@@ -1770,21 +1780,21 @@
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "source_gen",
|
||||
"sha256": "732792cfd197d2161a65bb029606a46e0a18ff30ef9e141a7a82172b05ea8ecd",
|
||||
"sha256": "ec37cc0e6694374cbef59ed79685572c870a54ede6fa30a3e420feb3adffea02",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "4.2.2"
|
||||
"version": "4.2.3"
|
||||
},
|
||||
"source_helper": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "source_helper",
|
||||
"sha256": "1d3b229b2934034fb2e691fbb3d53e0f75a4af7b1407f88425ed8f209bcb1b8f",
|
||||
"sha256": "4227d54ceefd0bb8ca4c8fcb96e1719dc53f1ee1b6e2ca9d7a6069da160e4eae",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.3.11"
|
||||
"version": "1.3.12"
|
||||
},
|
||||
"source_map_stack_trace": {
|
||||
"dependency": "transitive",
|
||||
@@ -2000,11 +2010,11 @@
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "url_launcher_web",
|
||||
"sha256": "d0412fcf4c6b31ecfdb7762359b7206ffba3bbffd396c6d9f9c4616ece476c1f",
|
||||
"sha256": "85c81589622fbc87c1c683aaea164d3604a7777495a79d91e39ffcdec39ddb34",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.4.2"
|
||||
"version": "2.4.3"
|
||||
},
|
||||
"url_launcher_windows": {
|
||||
"dependency": "transitive",
|
||||
@@ -2030,11 +2040,11 @@
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "vector_graphics",
|
||||
"sha256": "81da85e9ca8885ade47f9685b953cb098970d11be4821ac765580a6607ea4373",
|
||||
"sha256": "4d35a36400983c3457c289d4d553b5308f506ea84f7e51c7a564651b5525209a",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.1.21"
|
||||
"version": "1.2.1"
|
||||
},
|
||||
"vector_graphics_codec": {
|
||||
"dependency": "transitive",
|
||||
@@ -2050,11 +2060,11 @@
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "vector_graphics_compiler",
|
||||
"sha256": "5a88dd14c0954a5398af544651c7fb51b457a2a556949bfb25369b210ef73a74",
|
||||
"sha256": "98e7e94de127b46a86ef46197fff84ff99f3d3b80a708390d717ad731efef598",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.2.0"
|
||||
"version": "1.2.2"
|
||||
},
|
||||
"vector_math": {
|
||||
"dependency": "transitive",
|
||||
@@ -2070,11 +2080,11 @@
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "vm_service",
|
||||
"sha256": "046d3928e16fa4dc46e8350415661755ab759d9fc97fc21b5ab295f71e4f0499",
|
||||
"sha256": "0016aef94fc66495ac78af5859181e3f3bf2026bd8eecc72b9565601e19ab360",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "15.1.0"
|
||||
"version": "15.2.0"
|
||||
},
|
||||
"wake_on_lan": {
|
||||
"dependency": "direct main",
|
||||
|
||||
@@ -75,7 +75,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
# mkDerivation's splicing logic from kicking in.
|
||||
"${glib.dev}"
|
||||
]
|
||||
++ optional enableAirplay2 [
|
||||
++ optionals enableAirplay2 [
|
||||
libplist.bin
|
||||
unixtools.xxd
|
||||
];
|
||||
|
||||
@@ -23,7 +23,7 @@ clangStdenv.mkDerivation rec {
|
||||
hash = "sha256-0G28qDXygDe/TJ2znNE+NVQry3bkqUO59jqtJm/t2S4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = lib.optional (libpq != null) [ libpq.pg_config ];
|
||||
nativeBuildInputs = lib.optional (libpq != null) libpq.pg_config;
|
||||
buildInputs = [
|
||||
gnustep-base
|
||||
libxml2
|
||||
|
||||
@@ -58,7 +58,7 @@ python3Packages.buildPythonApplication rec {
|
||||
urllib3
|
||||
websocket-client
|
||||
]
|
||||
++ lib.attrVals extras optional-dependencies;
|
||||
++ lib.flatten (lib.attrVals extras optional-dependencies);
|
||||
|
||||
optional-dependencies = with python3Packages; {
|
||||
decompress = urllib3.optional-dependencies.brotli ++ urllib3.optional-dependencies.zstd;
|
||||
|
||||
@@ -105,10 +105,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
(with rustPlatform; [
|
||||
cargoSetupHook
|
||||
bindgenHook # provides libclang
|
||||
])
|
||||
rustPlatform.cargoSetupHook
|
||||
rustPlatform.bindgenHook # provides libclang
|
||||
cargo
|
||||
installShellFiles
|
||||
protobuf
|
||||
|
||||
@@ -209,7 +209,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
]
|
||||
);
|
||||
|
||||
propagatedBuildInputs = lib.optional stdenv.hostPlatform.isLinux xorg-server.propagatedBuildInputs;
|
||||
propagatedBuildInputs = lib.optionals stdenv.hostPlatform.isLinux xorg-server.propagatedBuildInputs;
|
||||
|
||||
passthru.tests.tigervnc = nixosTests.tigervnc;
|
||||
|
||||
|
||||
@@ -2583,9 +2583,9 @@
|
||||
};
|
||||
|
||||
t32 = {
|
||||
version = "7.2.6";
|
||||
version = "9.0.0";
|
||||
url = "github:xasc/tree-sitter-t32";
|
||||
hash = "sha256-r89C29D8N8E+MJi+RUxTE0+Y/e4ykLzIDaw/AQHegLc=";
|
||||
hash = "sha256-IL+wPbopaiX+pG/9yvkXx0VVPVCSgG05uObw/wsQGAw=";
|
||||
meta = {
|
||||
maintainers = with lib.maintainers; [
|
||||
aciceri
|
||||
|
||||
@@ -22,10 +22,12 @@ let
|
||||
tag = "v${version}";
|
||||
hash = "sha256-3BbQeCaAhlz9h5GnhficNubJHu4kTpnCDM4oKzlti0w=";
|
||||
};
|
||||
dependencies = oldAttrs.dependencies ++ [
|
||||
super.six
|
||||
super.requests.optional-dependencies.socks
|
||||
];
|
||||
dependencies =
|
||||
oldAttrs.dependencies
|
||||
++ [
|
||||
super.six
|
||||
]
|
||||
++ super.requests.optional-dependencies.socks;
|
||||
doCheck = false;
|
||||
});
|
||||
};
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "ty";
|
||||
version = "0.0.36";
|
||||
version = "0.0.37";
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
@@ -25,7 +25,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
repo = "ty";
|
||||
tag = finalAttrs.version;
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-lUM2ewf8svvxyq8YNIw0fIseiA7kN7HViwBKDw6LDas=";
|
||||
hash = "sha256-JzoZqZO2kACb8O3KuKsG650oYo6f+wG/PGa8zubaGxE=";
|
||||
};
|
||||
|
||||
# For Darwin platforms, remove the integration test for file notifications,
|
||||
|
||||
@@ -123,7 +123,7 @@ let
|
||||
libjack2
|
||||
libpulseaudio
|
||||
]
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin [ apple-sdk_14 ];
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin apple-sdk_14;
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "RTAUDIO_API_ALSA" stdenv.hostPlatform.isLinux)
|
||||
|
||||
@@ -7,16 +7,16 @@
|
||||
}:
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "vimdoc-language-server";
|
||||
version = "0.1.2";
|
||||
version = "0.2.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "barrettruth";
|
||||
repo = "vimdoc-language-server";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-4Uy9RUauRf9IjfykjrLRviKaMNX2fpmSdA/bvkYqgQY=";
|
||||
hash = "sha256-iLNRJlQbhaz9zm+XWlck1bzkMj/tP7uN2PixNy+wZpo=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-319K2fD8ae+MWgvNhmhgrD6syCDkO2FMgXr8z45CMr4=";
|
||||
cargoHash = "sha256-g0YlVcWOdQvgEKZvfusNn0ZVZYOgKeHp0G8OQ96BDn0=";
|
||||
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
doInstallCheck = true;
|
||||
|
||||
@@ -82,7 +82,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
makeBinaryWrapper
|
||||
pkg-config
|
||||
]
|
||||
++ lib.optional vulkanSupport [
|
||||
++ lib.optionals vulkanSupport [
|
||||
shaderc
|
||||
vulkan-headers
|
||||
vulkan-loader
|
||||
|
||||
@@ -18,44 +18,46 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
|
||||
build-system = with python3Packages; [ setuptools ];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
attrs
|
||||
beautifulsoup4
|
||||
brotli
|
||||
cachetools
|
||||
certifi
|
||||
cffi
|
||||
click
|
||||
cryptography
|
||||
cssutils
|
||||
defusedxml
|
||||
flask
|
||||
h11
|
||||
httpcore
|
||||
httpx
|
||||
httpx.optional-dependencies.http2
|
||||
httpx.optional-dependencies.socks
|
||||
idna
|
||||
itsdangerous
|
||||
jinja2
|
||||
markupsafe
|
||||
more-itertools
|
||||
packaging
|
||||
pluggy
|
||||
pycodestyle
|
||||
pycparser
|
||||
pyopenssl
|
||||
pyparsing
|
||||
pytest
|
||||
python-dateutil
|
||||
python-dotenv
|
||||
soupsieve
|
||||
stem
|
||||
validators
|
||||
waitress
|
||||
wcwidth
|
||||
werkzeug
|
||||
];
|
||||
dependencies =
|
||||
with python3Packages;
|
||||
[
|
||||
attrs
|
||||
beautifulsoup4
|
||||
brotli
|
||||
cachetools
|
||||
certifi
|
||||
cffi
|
||||
click
|
||||
cryptography
|
||||
cssutils
|
||||
defusedxml
|
||||
flask
|
||||
h11
|
||||
httpcore
|
||||
httpx
|
||||
idna
|
||||
itsdangerous
|
||||
jinja2
|
||||
markupsafe
|
||||
more-itertools
|
||||
packaging
|
||||
pluggy
|
||||
pycodestyle
|
||||
pycparser
|
||||
pyopenssl
|
||||
pyparsing
|
||||
pytest
|
||||
python-dateutil
|
||||
python-dotenv
|
||||
soupsieve
|
||||
stem
|
||||
validators
|
||||
waitress
|
||||
wcwidth
|
||||
werkzeug
|
||||
]
|
||||
++ httpx.optional-dependencies.http2
|
||||
++ httpx.optional-dependencies.socks;
|
||||
|
||||
postInstall = ''
|
||||
# This creates renamed versions of the static files for cache busting,
|
||||
|
||||
@@ -47,7 +47,7 @@ buildGoModule (finalAttrs: {
|
||||
|
||||
doInstallCheck = true;
|
||||
# Darwin Error: mkdir /var/empty: file exists
|
||||
nativeInstallCheckInputs = lib.optional (!stdenv.hostPlatform.isDarwin) [ versionCheckHook ];
|
||||
nativeInstallCheckInputs = lib.optional (!stdenv.hostPlatform.isDarwin) versionCheckHook;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
|
||||
@@ -188,7 +188,7 @@ effectiveBuildPythonApplication rec {
|
||||
xxhash
|
||||
systemd
|
||||
]
|
||||
++ lib.optional withNvenc [
|
||||
++ lib.optionals withNvenc [
|
||||
nvencHeaders
|
||||
nvjpegHeaders
|
||||
];
|
||||
|
||||
@@ -43,10 +43,10 @@ stdenv.mkDerivation {
|
||||
[
|
||||
abseil-cpp
|
||||
boost
|
||||
libllvm.all
|
||||
libclang.all
|
||||
legacy-cgi
|
||||
]
|
||||
++ libllvm.all
|
||||
++ libclang.all
|
||||
++ [
|
||||
jedi
|
||||
jedi-language-server
|
||||
|
||||
@@ -40,7 +40,7 @@ stdenv.mkDerivation {
|
||||
wrapGAppsHook4
|
||||
];
|
||||
|
||||
buildInputs = lib.forEach selectedPlugs (x: x.buildInputs) ++ selectedPlugs;
|
||||
buildInputs = lib.concatMap (x: x.buildInputs) selectedPlugs ++ selectedPlugs;
|
||||
|
||||
dontUnpack = true;
|
||||
dontConfigure = true;
|
||||
|
||||
@@ -37,7 +37,7 @@ stdenv.mkDerivation {
|
||||
wrapGAppsHook3
|
||||
];
|
||||
|
||||
buildInputs = lib.forEach selectedIndicators (x: x.buildInputs) ++ selectedIndicators;
|
||||
buildInputs = lib.concatMap (x: x.buildInputs) selectedIndicators ++ selectedIndicators;
|
||||
|
||||
dontUnpack = true;
|
||||
dontConfigure = true;
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "dart";
|
||||
version = "3.11.4";
|
||||
version = "3.11.6";
|
||||
|
||||
src =
|
||||
let
|
||||
@@ -25,10 +25,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
aarch64-darwin = "macos-arm64";
|
||||
};
|
||||
hash = selectSystem {
|
||||
x86_64-linux = "sha256-UtYvBbAHzLcRfPQcGb7aHIfBRLJ+pgCxa0ycjqj8j9Q=";
|
||||
aarch64-linux = "sha256-w1um8N4fXrvyNQZhK//DR8e6lMOkx1EQyrEVeJIWbTw=";
|
||||
x86_64-darwin = "sha256-GHTjTHJmbIPfsAbF4AmxjDETSw9YD04/6lGecoe1xrA=";
|
||||
aarch64-darwin = "sha256-DwyZtAeZLuaX2MFVPzhERiFeX45wI9sTc4Y2SVopRE8=";
|
||||
x86_64-linux = "sha256-6g/yOW6lr0Aro1mKkTmg9LGzRx2dfoNIgtFVliJ2Ct0=";
|
||||
aarch64-linux = "sha256-PBKZ9GjroP13z5uC1+doOCwemAg3tgyndKLOtPnX20s=";
|
||||
x86_64-darwin = "sha256-gccm33wZaltIGlHOwExsECxRyOFMeW+FdZvu7M7Ychw=";
|
||||
aarch64-darwin = "sha256-09iIdY8xOvDLp03MoVfShBdyyW4NR8ZN1SvVTc8Rr3Y=";
|
||||
};
|
||||
in
|
||||
fetchurl {
|
||||
|
||||
@@ -223,7 +223,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
buildInputs = [
|
||||
zlib
|
||||
]
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin [
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
swiftPackages.swift
|
||||
darwin.ICU
|
||||
];
|
||||
|
||||
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"release_date": "2026-05-08",
|
||||
"release_label": "9.22.0",
|
||||
"release_product": "cudnn",
|
||||
"cudnn": {
|
||||
"name": "NVIDIA CUDA Deep Neural Network library",
|
||||
"license": "cudnn",
|
||||
"license_path": "cudnn/LICENSE.txt",
|
||||
"version": "9.22.0.52",
|
||||
"linux-x86_64": {
|
||||
"cuda12": {
|
||||
"relative_path": "cudnn/linux-x86_64/cudnn-linux-x86_64-9.22.0.52_cuda12-archive.tar.xz",
|
||||
"sha256": "3c350637c820f586c292501124fda0d8ae1104f4ccdb688ad06aa929cf23f112",
|
||||
"md5": "ac17703926f0e0e048afc64e838eebc6",
|
||||
"size": "959541460"
|
||||
},
|
||||
"cuda13": {
|
||||
"relative_path": "cudnn/linux-x86_64/cudnn-linux-x86_64-9.22.0.52_cuda13-archive.tar.xz",
|
||||
"sha256": "6853561e3fbb545e2d25ad567876eadbfff4db49e210abd285e82b55bcb982b0",
|
||||
"md5": "4246179d88fc98af8660b31d6eca3f8e",
|
||||
"size": "900775012"
|
||||
}
|
||||
},
|
||||
"cuda_variant": [
|
||||
"12",
|
||||
"13"
|
||||
],
|
||||
"linux-sbsa": {
|
||||
"cuda12": {
|
||||
"relative_path": "cudnn/linux-sbsa/cudnn-linux-sbsa-9.22.0.52_cuda12-archive.tar.xz",
|
||||
"sha256": "262bd96796be659746d1179b0d5954af1deb2968b2eedb1c9575b2c71647fc5c",
|
||||
"md5": "2a34e340717108946bbc58f1c1af3a19",
|
||||
"size": "1008891848"
|
||||
},
|
||||
"cuda13": {
|
||||
"relative_path": "cudnn/linux-sbsa/cudnn-linux-sbsa-9.22.0.52_cuda13-archive.tar.xz",
|
||||
"sha256": "37fb82cc142cc95f9bde1915970cf527edb4949ca99e6f9a337b5ab2e3ec4ecb",
|
||||
"md5": "66dcaa8627fe3442d823a629042b1d14",
|
||||
"size": "1076455496"
|
||||
}
|
||||
},
|
||||
"windows-x86_64": {
|
||||
"cuda12": {
|
||||
"relative_path": "cudnn/windows-x86_64/cudnn-windows-x86_64-9.22.0.52_cuda12-archive.zip",
|
||||
"sha256": "a1515e809b9a269b1e1756923a6d48944393de24d82ddd7e18c85f8440e72a20",
|
||||
"md5": "4b9d29b6c912ad4a0797fbd364e6ee73",
|
||||
"size": "1826587315"
|
||||
},
|
||||
"cuda13": {
|
||||
"relative_path": "cudnn/windows-x86_64/cudnn-windows-x86_64-9.22.0.52_cuda13-archive.zip",
|
||||
"sha256": "11f714ad2699f1d548546fe8797ca563c498d4c66d5a4e9b6c2948325ca8da7d",
|
||||
"md5": "62029f3058dc11c94a9dc040141680b6",
|
||||
"size": "1262900618"
|
||||
}
|
||||
}
|
||||
},
|
||||
"cudnn_jit": {
|
||||
"name": "NVIDIA CUDA Deep Neural Network Graph JIT library",
|
||||
"license": "cudnn",
|
||||
"license_path": "cudnn_jit/LICENSE.txt",
|
||||
"version": "9.22.0.52",
|
||||
"linux-x86_64": {
|
||||
"cuda12": {
|
||||
"relative_path": "cudnn_jit/linux-x86_64/cudnn_jit-linux-x86_64-9.22.0.52_cuda12-archive.tar.xz",
|
||||
"sha256": "46ebd101756c055e8c61b644868813e6d2488c54c4e5e218d5562cc9f8701f1b",
|
||||
"md5": "46953e9ffdbbd778f14566a9bc581ac7",
|
||||
"size": "45201028"
|
||||
},
|
||||
"cuda13": {
|
||||
"relative_path": "cudnn_jit/linux-x86_64/cudnn_jit-linux-x86_64-9.22.0.52_cuda13-archive.tar.xz",
|
||||
"sha256": "8043f5fdc06d603309da29b0c228ec3113c78aaca2914182ed6039c468ff88c9",
|
||||
"md5": "5bbbe893367bf6ca88a91c2584558dac",
|
||||
"size": "47070044"
|
||||
}
|
||||
},
|
||||
"cuda_variant": [
|
||||
"12",
|
||||
"13"
|
||||
],
|
||||
"linux-sbsa": {
|
||||
"cuda12": {
|
||||
"relative_path": "cudnn_jit/linux-sbsa/cudnn_jit-linux-sbsa-9.22.0.52_cuda12-archive.tar.xz",
|
||||
"sha256": "5002f74513a076b5082ada6dcd7e926a1b7063b3ecbc3fee10bb98470de396f5",
|
||||
"md5": "571a7587ba0dc6f61d96364ffd63e397",
|
||||
"size": "43473568"
|
||||
},
|
||||
"cuda13": {
|
||||
"relative_path": "cudnn_jit/linux-sbsa/cudnn_jit-linux-sbsa-9.22.0.52_cuda13-archive.tar.xz",
|
||||
"sha256": "5f536e1d91b6b22c6b21dfc8bc0616a9aca78f64e8d6370d78e1e0975355dbd5",
|
||||
"md5": "62cdc32a21b76d83090437feb0238ca3",
|
||||
"size": "44695488"
|
||||
}
|
||||
}
|
||||
},
|
||||
"cudnn_samples": {
|
||||
"name": "NVIDIA cuDNN samples",
|
||||
"license": "cudnn",
|
||||
"license_path": "cudnn_samples/LICENSE.txt",
|
||||
"version": "9.22.0.52",
|
||||
"source": {
|
||||
"relative_path": "cudnn_samples/source/cudnn_samples-source-9.22.0.52-archive.tar.xz",
|
||||
"sha256": "be8f0b63546d89d46d498bac1f28a5ba487c78c0360ee2957c5b359382274cf6",
|
||||
"md5": "676a9f1ff3d0e9812f38683013f4a83e",
|
||||
"size": "1665684"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1319,7 +1319,7 @@ with haskellLib;
|
||||
# 2025-02-10: Too strict bounds on aeson < 1.5
|
||||
json-alt = doJailbreak super.json-alt;
|
||||
|
||||
gargoyle-postgresql-nix = addBuildTool [ pkgs.postgresql ] super.gargoyle-postgresql-nix;
|
||||
gargoyle-postgresql-nix = addBuildTool pkgs.postgresql super.gargoyle-postgresql-nix;
|
||||
|
||||
# PortMidi needs an environment variable to have ALSA find its plugins:
|
||||
# https://github.com/NixOS/nixpkgs/issues/6860
|
||||
|
||||
@@ -17,7 +17,7 @@ deployAndroidPackage {
|
||||
name = "androidsdk-tools";
|
||||
inherit package os arch;
|
||||
nativeBuildInputs = [ makeWrapper ] ++ lib.optionals (os == "linux") [ autoPatchelfHook ];
|
||||
buildInputs = lib.optional (os == "linux") (
|
||||
buildInputs = lib.optionals (os == "linux") (
|
||||
(with pkgs; [
|
||||
glibc
|
||||
freetype
|
||||
|
||||
@@ -16,9 +16,7 @@ buildOctavePackage rec {
|
||||
sha256 = "sha256-G49gAZ/lzir1YwEAPjBGRjNJ3VMxI+iXnsS0yev8f2s=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
(lib.optional enableJava jdk)
|
||||
];
|
||||
buildInputs = lib.optional enableJava jdk;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
unzip
|
||||
|
||||
@@ -13,16 +13,16 @@
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "aiodiscover";
|
||||
version = "2.7.1";
|
||||
version = "3.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bdraco";
|
||||
repo = "aiodiscover";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-q0HXANSfoDPlGdokfiQcsMHkt9ZmD604JRL/SDQx2hw=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-O5aQ2yCcy6ZtDviH8Jie3BrgS4kPhSDHBVhbXco5oqM=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
@@ -51,8 +51,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Python module to discover hosts via ARP and PTR lookup";
|
||||
homepage = "https://github.com/bdraco/aiodiscover";
|
||||
changelog = "https://github.com/bdraco/aiodiscover/releases/tag/${src.tag}";
|
||||
license = with lib.licenses; [ asl20 ];
|
||||
changelog = "https://github.com/bdraco/aiodiscover/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -19,14 +19,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "bleak-esphome";
|
||||
version = "3.7.4";
|
||||
version = "3.7.5";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bluetooth-devices";
|
||||
repo = "bleak-esphome";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-f26E+/JTas2ugs7HYD9KYKX1qy7nrWd1+Osgz7fhl0c=";
|
||||
hash = "sha256-ZV7C+ohEbRXYpAUmZ4wVbv8Ng4eZcLofc+o9Q5Rqp2E=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -0,0 +1,152 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
arrow,
|
||||
authlib,
|
||||
click,
|
||||
nvidia-ml-py,
|
||||
pandas,
|
||||
prometheus-client,
|
||||
psutil,
|
||||
py-cpuinfo,
|
||||
pycountry,
|
||||
pydantic,
|
||||
questionary,
|
||||
rapidfuzz,
|
||||
requests,
|
||||
rich,
|
||||
typer,
|
||||
|
||||
# optional-dependencies
|
||||
amdsmi,
|
||||
dash,
|
||||
dash-bootstrap-components,
|
||||
fire,
|
||||
|
||||
# tests
|
||||
bcrypt,
|
||||
dependency-injector,
|
||||
email-validator,
|
||||
fastapi,
|
||||
fastapi-pagination,
|
||||
httpx,
|
||||
jwt,
|
||||
logfire,
|
||||
psycopg2,
|
||||
pydantic-settings,
|
||||
pytestCheckHook,
|
||||
requests-mock,
|
||||
responses,
|
||||
sqlalchemy,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "codecarbon";
|
||||
version = "3.2.6";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mlco2";
|
||||
repo = "codecarbon";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Nzt+CKXnv6zvWKsFD7duguVj0AA4eWZgFUlBdIEujD8=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
arrow
|
||||
authlib
|
||||
click
|
||||
nvidia-ml-py
|
||||
pandas
|
||||
prometheus-client
|
||||
psutil
|
||||
py-cpuinfo
|
||||
pycountry
|
||||
pydantic
|
||||
questionary
|
||||
rapidfuzz
|
||||
requests
|
||||
rich
|
||||
typer
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
amdsmi = [
|
||||
amdsmi
|
||||
];
|
||||
carbonboard = [
|
||||
dash
|
||||
dash-bootstrap-components
|
||||
fire
|
||||
];
|
||||
viz-legacy = [
|
||||
dash
|
||||
dash-bootstrap-components
|
||||
fire
|
||||
];
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "codecarbon" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
bcrypt
|
||||
dash
|
||||
dependency-injector
|
||||
email-validator
|
||||
fastapi
|
||||
fastapi-pagination
|
||||
httpx
|
||||
jwt
|
||||
logfire
|
||||
psycopg2
|
||||
pydantic-settings
|
||||
pytestCheckHook
|
||||
requests-mock
|
||||
responses
|
||||
sqlalchemy
|
||||
];
|
||||
|
||||
enabledTestPaths = [
|
||||
"carbonserver/tests/"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Fail in the sandbox:
|
||||
# FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/powercap/intel-rapl/intel-rapl:0/energy_uj'
|
||||
"examples/"
|
||||
|
||||
# _pytest.outcomes.Exit: CODECARBON_API_URL is not defined
|
||||
"carbonserver/tests/api/integration/test_api_black_box.py"
|
||||
|
||||
# Require unpackaged (and unmaintained) fief-client
|
||||
"carbonserver/tests/api/routers/"
|
||||
"carbonserver/tests/api/service/test_auth_provider.py"
|
||||
|
||||
# Require internet access
|
||||
"carbonserver/tests/api/integration/test_project_cascade_delete.py"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# AttributeError: <module 'jwt' from ...> does not have the attribute 'decode'
|
||||
"test_check_user_from_jwt"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Track emissions from Compute and recommend ways to reduce their impact on the environment";
|
||||
homepage = "https://github.com/mlco2/codecarbon";
|
||||
changelog = "https://github.com/mlco2/codecarbon/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
};
|
||||
})
|
||||
@@ -6,20 +6,21 @@
|
||||
mock,
|
||||
pytestCheckHook,
|
||||
requests,
|
||||
setuptools,
|
||||
tldextract,
|
||||
urllib3,
|
||||
validators,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "corsair-scan";
|
||||
version = "0.2.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Santandersecurityresearch";
|
||||
repo = "corsair_scan";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-s94ZiTL7tBrhUaeB/O3Eh8o8zqtfdt0z8LKep1bZWiY=";
|
||||
};
|
||||
|
||||
@@ -28,7 +29,9 @@ buildPythonPackage rec {
|
||||
--replace "'pytest-runner'," ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
validators
|
||||
requests
|
||||
urllib3
|
||||
@@ -53,8 +56,8 @@ buildPythonPackage rec {
|
||||
description = "Python module to check for Cross-Origin Resource Sharing (CORS) misconfigurations";
|
||||
mainProgram = "corsair";
|
||||
homepage = "https://github.com/Santandersecurityresearch/corsair_scan";
|
||||
changelog = "https://github.com/Santandersecurityresearch/corsair_scan/releases/tag/v${version}";
|
||||
changelog = "https://github.com/Santandersecurityresearch/corsair_scan/releases/tag/v${finalAttrs.version}";
|
||||
license = with lib.licenses; [ mit ];
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -1,34 +1,45 @@
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
buildPythonPackage,
|
||||
fastapi,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
cython,
|
||||
setuptools,
|
||||
|
||||
# optional-dependencies
|
||||
aiohttp,
|
||||
pydantic,
|
||||
flask,
|
||||
pyyaml,
|
||||
|
||||
# tests
|
||||
fastapi,
|
||||
httpx,
|
||||
mypy-boto3-s3,
|
||||
numpy,
|
||||
pydantic,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pyyaml,
|
||||
scipy,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "dependency-injector";
|
||||
version = "4.48.3";
|
||||
version = "4.49.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ets-labs";
|
||||
repo = "python-dependency-injector";
|
||||
tag = version;
|
||||
hash = "sha256-J4M4SM256vZa2JUhagcbKu+DAUk1Op9HN+WpLL6ScBc=";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-oL+Vgz2EOD/w385MJy+hLfkSctLEKRrzbx5RP9N8AmY=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
build-system = [
|
||||
cython
|
||||
setuptools
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
aiohttp = [ aiohttp ];
|
||||
@@ -46,7 +57,7 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
scipy
|
||||
]
|
||||
++ lib.concatAttrValues optional-dependencies;
|
||||
++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies;
|
||||
|
||||
pythonImportsCheck = [ "dependency_injector" ];
|
||||
|
||||
@@ -56,15 +67,16 @@ buildPythonPackage rec {
|
||||
"tests/unit/wiring/test_*_py36.py"
|
||||
"tests/unit/providers/configuration/test_from_pydantic_py36.py"
|
||||
"tests/unit/providers/configuration/test_pydantic_settings_in_init_py36.py"
|
||||
|
||||
# Requires unpackaged fast-depends
|
||||
"tests/unit/wiring/test_fastdepends.py"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Dependency injection microframework for Python";
|
||||
homepage = "https://github.com/ets-labs/python-dependency-injector";
|
||||
changelog = "https://github.com/ets-labs/python-dependency-injector/blob/${src.tag}/docs/main/changelog.rst";
|
||||
changelog = "https://github.com/ets-labs/python-dependency-injector/blob/${finalAttrs.src.tag}/docs/main/changelog.rst";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ gerschtli ];
|
||||
# https://github.com/ets-labs/python-dependency-injector/issues/726
|
||||
broken = lib.versionAtLeast pydantic.version "2";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -35,8 +35,8 @@ buildPythonPackage rec {
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-cov-stub
|
||||
pydantic.optional-dependencies.email
|
||||
];
|
||||
]
|
||||
++ pydantic.optional-dependencies.email;
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/georgebv/drf-pydantic/releases/tag/${src.tag}";
|
||||
|
||||
@@ -47,7 +47,7 @@ buildPythonPackage rec {
|
||||
stevedore
|
||||
tqdm
|
||||
]
|
||||
++ lib.optional stdenv.hostPlatform.isLinux [
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
# See https://github.com/AdaCore/e3-core/blob/v22.6.0/pyproject.toml#L37-L42
|
||||
# These are required only on Linux. Darwin has its own set of requirements
|
||||
psutil
|
||||
|
||||
@@ -46,8 +46,8 @@ buildPythonPackage rec {
|
||||
pydantic
|
||||
]
|
||||
++ optional-dependencies.coincurve
|
||||
++ lib.optional (!isPyPy) eth-hash.optional-dependencies.pysha3
|
||||
++ lib.optional isPyPy eth-hash.optional-dependencies.pycryptodome;
|
||||
++ lib.optionals (!isPyPy) eth-hash.optional-dependencies.pysha3
|
||||
++ lib.optionals isPyPy eth-hash.optional-dependencies.pycryptodome;
|
||||
|
||||
pythonImportsCheck = [ "eth_keys" ];
|
||||
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
hatchling,
|
||||
|
||||
# dependencies
|
||||
fastapi,
|
||||
pydantic,
|
||||
typing-extensions,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "fastapi-pagination";
|
||||
version = "0.15.12";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "uriyyo";
|
||||
repo = "fastapi-pagination";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-AzpNyTzlzPHkrx8BghZFHer3w+GpNIUYRo15rRRO0UY=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
fastapi
|
||||
pydantic
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "fastapi_pagination" ];
|
||||
|
||||
# Tests require network access
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "FastAPI pagination";
|
||||
homepage = "https://github.com/uriyyo/fastapi-pagination";
|
||||
changelog = "https://github.com/uriyyo/fastapi-pagination/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
};
|
||||
})
|
||||
@@ -12,14 +12,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "frigidaire";
|
||||
version = "0.18.43";
|
||||
version = "0.18.44";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bm1549";
|
||||
repo = "frigidaire";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-ZlfzJVWxIEJ1NgVQwB74fZgW0RJ5lHEO3aavNNs3jLE=";
|
||||
hash = "sha256-Laq5I0KmsJKXAg2aZn0INGF1coaGf5GLEfYOop6YR4I=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -1,27 +1,34 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonAtLeast,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
click,
|
||||
cloudevents,
|
||||
deprecation,
|
||||
docker,
|
||||
fetchFromGitHub,
|
||||
flask,
|
||||
gunicorn,
|
||||
httpx,
|
||||
pretend,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
requests,
|
||||
setuptools,
|
||||
starlette,
|
||||
uvicorn,
|
||||
uvicorn-worker,
|
||||
watchdog,
|
||||
werkzeug,
|
||||
|
||||
# tests
|
||||
docker,
|
||||
httpx,
|
||||
pretend,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
requests,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "functions-framework";
|
||||
version = "3.10.1";
|
||||
pyproject = true;
|
||||
@@ -29,7 +36,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "GoogleCloudPlatform";
|
||||
repo = "functions-framework-python";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-CEH0PokH3lhyJl7OPIpJkaKZxAUp1fYVia89DtGoJ7k=";
|
||||
};
|
||||
|
||||
@@ -62,6 +69,11 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "functions_framework" ];
|
||||
|
||||
disabledTestPaths = lib.optionals (pythonAtLeast "3.14") [
|
||||
# _pickle.PicklingError: Can't pickle local object <function Flask.__init__.<locals>.<lambda> at 0x7ffff47e54e0>
|
||||
"tests/test_timeouts.py"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Test requires a running Docker instance
|
||||
"test_cloud_run_http"
|
||||
@@ -70,8 +82,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "FaaS (Function as a service) framework for writing portable Python functions";
|
||||
homepage = "https://github.com/GoogleCloudPlatform/functions-framework-python";
|
||||
changelog = "https://github.com/GoogleCloudPlatform/functions-framework-python/blob/${src.tag}/CHANGELOG.md";
|
||||
changelog = "https://github.com/GoogleCloudPlatform/functions-framework-python/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -8,14 +8,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "iamdata";
|
||||
version = "0.1.202605151";
|
||||
version = "0.1.202605171";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cloud-copilot";
|
||||
repo = "iam-data-python";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-kfdMiKFSnsuD5A8VBjH7ZCQB1SqoorV0feOPHVYWivE=";
|
||||
hash = "sha256-GOo1K3nDzF3S3sUp6kvzYWdoAoO94ttKOtNLiPliMY4=";
|
||||
};
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
@@ -62,8 +62,7 @@ buildPythonPackage (finalAttrs: {
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
anthropic = [
|
||||
anthropic.optional-dependencies.bedrock
|
||||
anthropic = anthropic.optional-dependencies.bedrock ++ [
|
||||
langchain-anthropic
|
||||
];
|
||||
};
|
||||
|
||||
@@ -6,16 +6,16 @@
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "life360";
|
||||
version = "7.0.1";
|
||||
version = "7.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pnbruckner";
|
||||
repo = "life360";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-GkCs479lXcnCvb5guxyc+ZuZdiH4n8uD2VbkC+yijgg=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-D7ZtC9WrGTuU7cOs37P+y9zqOrOlfa919FVicejy6n4=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -30,8 +30,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Module to interact with Life360";
|
||||
homepage = "https://github.com/pnbruckner/life360";
|
||||
changelog = "https://github.com/pnbruckner/life360/releases/tag/v${version}";
|
||||
changelog = "https://github.com/pnbruckner/life360/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -44,11 +44,14 @@ buildPythonPackage rec {
|
||||
pytest-asyncio
|
||||
pytest-cov-stub
|
||||
]
|
||||
++ (with optional-dependencies; [
|
||||
postgres
|
||||
mysql
|
||||
sqlite
|
||||
]);
|
||||
++ (
|
||||
with optional-dependencies;
|
||||
lib.concatLists [
|
||||
postgres
|
||||
mysql
|
||||
sqlite
|
||||
]
|
||||
);
|
||||
|
||||
pythonImportsCheck = [ "mayim" ];
|
||||
|
||||
|
||||
@@ -5,16 +5,16 @@
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "pynobo";
|
||||
version = "1.8.1";
|
||||
version = "1.9.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "echoromeo";
|
||||
repo = "pynobo";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-OSgpT9CLkfnv1BLAJApZUs3vMc1WE2eG7ZrinCLy/0U=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-7saIhGkcRkT+HATpnL+DcIWarZue7UCp1lTyfgzLfl8=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -27,8 +27,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Python TCP/IP interface for Nobo Hub/Nobo Energy Control devices";
|
||||
homepage = "https://github.com/echoromeo/pynobo";
|
||||
changelog = "https://github.com/echoromeo/pynobo/releases/tag/v${version}";
|
||||
license = with lib.licenses; [ gpl3Plus ];
|
||||
changelog = "https://github.com/echoromeo/pynobo/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -18,14 +18,15 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "python-discovery";
|
||||
version = "1.3.0";
|
||||
version = "1.3.1";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tox-dev";
|
||||
repo = "python-discovery";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-PCqE/WwhH+kzWw6Q4L/ZBwgDqHI1G1P8KsMMANO4BIQ=";
|
||||
hash = "sha256-n1clHxiQIEhtT4Zwn+sziFqyc828kf5Box3lIAqbddU=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "python-openevse-http";
|
||||
version = "0.3.0";
|
||||
version = "0.3.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "firstof9";
|
||||
repo = "python-openevse-http";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-+FD3WEHcons11Ui8j9euvm0/mB4nFPL7LIaDsHAuzQw=";
|
||||
hash = "sha256-U6v2YcPOllJwmlhQ+ilexj5u1Lom3zwXeQUyKan4j2I=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -2,43 +2,61 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
codecarbon,
|
||||
colorama,
|
||||
matplotlib,
|
||||
numpy,
|
||||
pynvml,
|
||||
nvidia-ml-py,
|
||||
torch,
|
||||
torchprofile,
|
||||
tqdm,
|
||||
|
||||
# passthru
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "pytorch-bench";
|
||||
version = "unstable-2024-07-18";
|
||||
version = "0-unstable-2025-05-05";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MaximeGloesener";
|
||||
repo = "torch-benchmark";
|
||||
rev = "405a3fc2d147b43b4c1f7edb7aca0a60ba343ac5";
|
||||
hash = "sha256-KU3dAf97A6lkMNTKRay23BMFQfn1ReAFNaJ0kG2RfnA=";
|
||||
rev = "f22db3b2e5920cf084e088e7748e3ffd32343853";
|
||||
hash = "sha256-+jd+H5hL+DotlLaBiaixb//hxyvEF6aAJYSHX1hfsP8=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
pythonRemoveDeps = [
|
||||
# pynvml is deprecated and replaced by nvidia-ml-py which provides the same API
|
||||
"pynvml"
|
||||
];
|
||||
dependencies = [
|
||||
codecarbon
|
||||
colorama
|
||||
matplotlib
|
||||
numpy
|
||||
pynvml
|
||||
nvidia-ml-py
|
||||
torch
|
||||
torchprofile
|
||||
tqdm
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pytorch_bench"
|
||||
];
|
||||
pythonImportsCheck = [ "pytorch_bench" ];
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [ "--version=branch" ];
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Benchmarking tool for torch";
|
||||
|
||||
@@ -30,14 +30,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "requests-cache";
|
||||
version = "1.3.1";
|
||||
version = "1.3.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "requests-cache";
|
||||
repo = "requests-cache";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-t9SJ+enZHHYPRXaSrPop2hVOagE4oMnuXExO2DeNttc=";
|
||||
hash = "sha256-qil5z54kkxu8QlPQ2P/7jo+VyfC+KhhiSUyAVmuLG/o=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
@@ -34,9 +34,7 @@ stdenv'.mkDerivation (finalAttrs: {
|
||||
buildInputs = [
|
||||
python.pkgs.qt6.qtbase
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
python.pkgs.qt6.darwinVersionInputs
|
||||
];
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin python.pkgs.qt6.darwinVersionInputs;
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_TESTS=OFF"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user