Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2023-04-14 00:02:47 +00:00 committed by GitHub
commit 15d0cd57d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
39 changed files with 507 additions and 154 deletions

1
doc/.gitignore vendored
View File

@ -8,3 +8,4 @@ manual-full.xml
out out
result result
result-* result-*
media

View File

@ -9,4 +9,5 @@
<xi:include href="special/makesetuphook.section.xml" /> <xi:include href="special/makesetuphook.section.xml" />
<xi:include href="special/mkshell.section.xml" /> <xi:include href="special/mkshell.section.xml" />
<xi:include href="special/darwin-builder.section.xml" /> <xi:include href="special/darwin-builder.section.xml" />
<xi:include href="special/vm-tools.section.xml" />
</chapter> </chapter>

View File

@ -0,0 +1,148 @@
# vmTools {#sec-vm-tools}
A set of VM related utilities, that help in building some packages in more advanced scenarios.
## `vmTools.createEmptyImage` {#vm-tools-createEmptyImage}
A bash script fragment that produces a disk image at `destination`.
### Attributes
* `size`. The disk size, in MiB.
* `fullName`. Name that will be written to `${destination}/nix-support/full-name`.
* `destination` (optional, default `$out`). Where to write the image files.
## `vmTools.runInLinuxVM` {#vm-tools-runInLinuxVM}
Run a derivation in a Linux virtual machine (using Qemu/KVM).
By default, there is no disk image; the root filesystem is a `tmpfs`, and the Nix store is shared with the host (via the [9P protocol](https://wiki.qemu.org/Documentation/9p#9p_Protocol)).
Thus, any pure Nix derivation should run unmodified.
If the build fails and Nix is run with the `-K/--keep-failed` option, a script `run-vm` will be left behind in the temporary build directory that allows you to boot into the VM and debug it interactively.
### Attributes
* `preVM` (optional). Shell command to be evaluated *before* the VM is started (i.e., on the host).
* `memSize` (optional, default `512`). The memory size of the VM in MiB.
* `diskImage` (optional). A file system image to be attached to `/dev/sda`.
Note that currently we expect the image to contain a filesystem, not a full disk image with a partition table etc.
### Examples
Build the derivation hello inside a VM:
```nix
{ pkgs }: with pkgs; with vmTools;
runInLinuxVM hello
```
Build inside a VM with extra memory:
```nix
{ pkgs }: with pkgs; with vmTools;
runInLinuxVM (hello.overrideAttrs (_: { memSize = 1024; }))
```
Use VM with a disk image (implicitly sets `diskImage`, see [`vmTools.createEmptyImage`](#vm-tools-createEmptyImage)):
```nix
{ pkgs }: with pkgs; with vmTools;
runInLinuxVM (hello.overrideAttrs (_: {
preVM = createEmptyImage {
size = 1024;
fullName = "vm-image";
};
}))
```
## `vmTools.extractFs` {#vm-tools-extractFs}
Takes a file, such as an ISO, and extracts its contents into the store.
### Attributes
* `file`. Path to the file to be extracted.
Note that currently we expect the image to contain a filesystem, not a full disk image with a partition table etc.
* `fs` (optional). Filesystem of the contents of the file.
### Examples
Extract the contents of an ISO file:
```nix
{ pkgs }: with pkgs; with vmTools;
extractFs { file = ./image.iso; }
```
## `vmTools.extractMTDfs` {#vm-tools-extractMTDfs}
Like [](#vm-tools-extractFs), but it makes use of a [Memory Technology Device (MTD)](https://en.wikipedia.org/wiki/Memory_Technology_Device).
## `vmTools.runInLinuxImage` {#vm-tools-runInLinuxImage}
Like [](#vm-tools-runInLinuxVM), but instead of using `stdenv` from the Nix store, run the build using the tools provided by `/bin`, `/usr/bin`, etc. from the specified filesystem image, which typically is a filesystem containing a [FHS](https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard)-based Linux distribution.
## `vmTools.makeImageTestScript` {#vm-tools-makeImageTestScript}
Generate a script that can be used to run an interactive session in the given image.
### Examples
Create a script for running a Fedora 27 VM:
```nix
{ pkgs }: with pkgs; with vmTools;
makeImageTestScript diskImages.fedora27x86_64
```
Create a script for running an Ubuntu 20.04 VM:
```nix
{ pkgs }: with pkgs; with vmTools;
makeImageTestScript diskImages.ubuntu2004x86_64
```
## `vmTools.diskImageFuns` {#vm-tools-diskImageFuns}
A set of functions that build a predefined set of minimal Linux distributions images.
### Images
* Fedora
* `fedora26x86_64`
* `fedora27x86_64`
* CentOS
* `centos6i386`
* `centos6x86_64`
* `centos7x86_64`
* Ubuntu
* `ubuntu1404i386`
* `ubuntu1404x86_64`
* `ubuntu1604i386`
* `ubuntu1604x86_64`
* `ubuntu1804i386`
* `ubuntu1804x86_64`
* `ubuntu2004i386`
* `ubuntu2004x86_64`
* `ubuntu2204i386`
* `ubuntu2204x86_64`
* Debian
* `debian10i386`
* `debian10x86_64`
* `debian11i386`
* `debian11x86_64`
### Attributes
* `size` (optional, defaults to `4096`). The size of the image, in MiB.
* `extraPackages` (optional). A list names of additional packages from the distribution that should be included in the image.
### Examples
8GiB image containing Firefox in addition to the default packages:
```nix
{ pkgs }: with pkgs; with vmTools;
diskImageFuns.ubuntu2004x86_64 { extraPackages = [ "firefox" ]; size = 8192; }
```
## `vmTools.diskImageExtraFuns` {#vm-tools-diskImageExtraFuns}
Shorthand for `vmTools.diskImageFuns.<attr> { extraPackages = ... }`.
## `vmTools.diskImages` {#vm-tools-diskImages}
Shorthand for `vmTools.diskImageFuns.<attr> { }`.

View File

@ -5907,6 +5907,12 @@
fingerprint = "F7D3 7890 228A 9074 40E1 FD48 46B9 228E 814A 2AAC"; fingerprint = "F7D3 7890 228A 9074 40E1 FD48 46B9 228E 814A 2AAC";
}]; }];
}; };
hacker1024 = {
name = "hacker1024";
email = "hacker1024@users.sourceforge.net";
github = "hacker1024";
githubId = 20849728;
};
hagl = { hagl = {
email = "harald@glie.be"; email = "harald@glie.be";
github = "hagl"; github = "hagl";

View File

@ -334,6 +334,8 @@ In addition to numerous new and upgraded packages, this release has the followin
[headscale's example configuration](https://github.com/juanfont/headscale/blob/main/config-example.yaml) [headscale's example configuration](https://github.com/juanfont/headscale/blob/main/config-example.yaml)
can be directly written as attribute-set in Nix within this option. can be directly written as attribute-set in Nix within this option.
- `services.kubo` now unmounts `ipfsMountDir` and `ipnsMountDir` even if it is killed unexpectedly when 'autoMount` is enabled.
- `nixos/lib/make-disk-image.nix` can now mutate EFI variables, run user-provided EFI firmware or variable templates. This is now extensively documented in the NixOS manual. - `nixos/lib/make-disk-image.nix` can now mutate EFI variables, run user-provided EFI firmware or variable templates. This is now extensively documented in the NixOS manual.
- `services.grafana` listens only on localhost by default again. This was changed to upstreams default of `0.0.0.0` by accident in the freeform setting conversion. - `services.grafana` listens only on localhost by default again. This was changed to upstreams default of `0.0.0.0` by accident in the freeform setting conversion.

View File

@ -319,6 +319,10 @@ in
# change when the changes are applied. Whyyyyyy..... # change when the changes are applied. Whyyyyyy.....
ipfs --offline config replace - ipfs --offline config replace -
''; '';
postStop = mkIf cfg.autoMount ''
# After an unclean shutdown the fuse mounts at cfg.ipnsMountDir and cfg.ipfsMountDir are locked
umount --quiet '${cfg.ipnsMountDir}' '${cfg.ipfsMountDir}' || true
'';
serviceConfig = { serviceConfig = {
ExecStart = [ "" "${cfg.package}/bin/ipfs daemon ${kuboFlags}" ]; ExecStart = [ "" "${cfg.package}/bin/ipfs daemon ${kuboFlags}" ];
User = cfg.user; User = cfg.user;

View File

@ -50,12 +50,20 @@ import ./make-test-python.nix ({ pkgs, ...} : {
machine.succeed("test ! -e /var/lib/ipfs/") machine.succeed("test ! -e /var/lib/ipfs/")
# Test FUSE mountpoint # Test FUSE mountpoint
ipfs_hash = fuse.succeed( # The FUSE mount functionality is broken as of v0.13.0 and v0.17.0.
"echo fnord3 | ipfs --api /ip4/127.0.0.1/tcp/2324 add --quieter"
)
# The FUSE mount functionality is broken as of v0.13.0.
# See https://github.com/ipfs/kubo/issues/9044. # See https://github.com/ipfs/kubo/issues/9044.
# fuse.succeed(f"cat /ipfs/{ipfs_hash.strip()} | grep fnord3") # Workaround: using CID Version 1 avoids that.
ipfs_hash = fuse.succeed(
"echo fnord3 | ipfs --api /ip4/127.0.0.1/tcp/2324 add --quieter --cid-version=1"
).strip()
fuse.succeed(f"cat /ipfs/{ipfs_hash} | grep fnord3")
# Force Kubo to crash and wait for it to restart
# Tests the unmounting of /ipns and /ipfs
fuse.systemctl("kill --signal=SIGKILL ipfs.service")
fuse.wait_for_unit("ipfs.service", timeout = 30)
fuse.succeed(f"cat /ipfs/{ipfs_hash} | grep fnord3")
''; '';
}) })

View File

@ -27,6 +27,25 @@ let
}) })
generatedDerivations; generatedDerivations;
grammarToPlugin = grammar:
let
name = lib.pipe grammar [
lib.getName
# added in buildGrammar
(lib.removeSuffix "-grammar")
# grammars from tree-sitter.builtGrammars
(lib.removePrefix "tree-sitter-")
(lib.replaceStrings [ "-" ] [ "_" ])
];
in
runCommand "nvim-treesitter-grammar-${name}" { } ''
mkdir -p $out/parser
ln -s ${grammar}/parser $out/parser/${name}.so
'';
allGrammars = lib.attrValues generatedDerivations; allGrammars = lib.attrValues generatedDerivations;
# Usage: # Usage:
@ -35,26 +54,7 @@ let
# pkgs.vimPlugins.nvim-treesitter.withAllGrammars # pkgs.vimPlugins.nvim-treesitter.withAllGrammars
withPlugins = withPlugins =
f: self.nvim-treesitter.overrideAttrs (_: { f: self.nvim-treesitter.overrideAttrs (_: {
passthru.dependencies = map passthru.dependencies = map grammarToPlugin
(grammar:
let
name = lib.pipe grammar [
lib.getName
# added in buildGrammar
(lib.removeSuffix "-grammar")
# grammars from tree-sitter.builtGrammars
(lib.removePrefix "tree-sitter-")
(lib.replaceStrings [ "-" ] [ "_" ])
];
in
runCommand "nvim-treesitter-${name}-grammar" { } ''
mkdir -p $out/parser
ln -s ${grammar}/parser $out/parser/${name}.so
''
)
(f (tree-sitter.builtGrammars // builtGrammars)); (f (tree-sitter.builtGrammars // builtGrammars));
}); });
@ -67,7 +67,9 @@ in
''; '';
passthru = { passthru = {
inherit builtGrammars allGrammars withPlugins withAllGrammars; inherit builtGrammars allGrammars grammarToPlugin withPlugins withAllGrammars;
grammarPlugins = lib.mapAttrs (_: grammarToPlugin) generatedDerivations;
tests.check-queries = tests.check-queries =
let let

View File

@ -7,13 +7,13 @@
buildGoModule rec { buildGoModule rec {
pname = "cloudflared"; pname = "cloudflared";
version = "2023.3.0"; version = "2023.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cloudflare"; owner = "cloudflare";
repo = "cloudflared"; repo = "cloudflared";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-LEK809MswDVwPJ6CuC13Fxb7fvliugixS/NOKBajqKM="; hash = "sha256-+lmSztMstz8tYFP9rPmh99bkbCVea6wbiCrpbJUI/qc=";
}; };
vendorSha256 = null; vendorSha256 = null;

View File

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "tektoncd-cli"; pname = "tektoncd-cli";
version = "0.28.0"; version = "0.30.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tektoncd"; owner = "tektoncd";
repo = "cli"; repo = "cli";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-8OW0n6aS7bDDbzbrMfJLL8Yvq3vJg47qHQB4zY0xxAw="; sha256 = "sha256-tn7nK5YTdEYJf9UBajOZEc8fQ0cx3qM0X/7UYnDklj8=";
}; };
vendorSha256 = null; vendorSha256 = null;

View File

@ -1,5 +1,5 @@
{ lib, stdenv, rustPlatform, fetchFromGitHub, stfl, sqlite, curl, gettext, pkg-config, libxml2, json_c, ncurses { lib, stdenv, rustPlatform, fetchFromGitHub, stfl, sqlite, curl, gettext, pkg-config, libxml2, json_c, ncurses
, asciidoctor, libiconv, Security, Foundation, makeWrapper }: , asciidoctor, libiconv, Security, Foundation, makeWrapper, nix-update-script }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "newsboat"; pname = "newsboat";
@ -55,6 +55,10 @@ rustPlatform.buildRustPackage rec {
done done
''; '';
passthru = {
updateScript = nix-update-script { };
};
meta = with lib; { meta = with lib; {
homepage = "https://newsboat.org/"; homepage = "https://newsboat.org/";
changelog = "https://github.com/newsboat/newsboat/blob/${src.rev}/CHANGELOG.md"; changelog = "https://github.com/newsboat/newsboat/blob/${src.rev}/CHANGELOG.md";

View File

@ -1,6 +1,6 @@
{ fetchurl, lib, stdenv { fetchurl, lib, stdenv
, pkg-config, gnupg , pkg-config, gnupg
, xapian, gmime, talloc, zlib , xapian, gmime3, talloc, zlib
, doxygen, perl, texinfo , doxygen, perl, texinfo
, notmuch , notmuch
, pythonPackages , pythonPackages
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
gnupg # undefined dependencies gnupg # undefined dependencies
xapian gmime talloc zlib # dependencies described in INSTALL xapian gmime3 talloc zlib # dependencies described in INSTALL
perl perl
pythonPackages.python pythonPackages.python
] ++ lib.optional withRuby ruby; ] ++ lib.optional withRuby ruby;
@ -81,7 +81,7 @@ stdenv.mkDerivation rec {
ln -s ${test-database} test/test-databases/database-v1.tar.xz ln -s ${test-database} test/test-databases/database-v1.tar.xz
''; '';
doCheck = !stdenv.hostPlatform.isDarwin && (lib.versionAtLeast gmime.version "3.0.3"); doCheck = !stdenv.hostPlatform.isDarwin && (lib.versionAtLeast gmime3.version "3.0.3");
checkTarget = "test"; checkTarget = "test";
nativeCheckInputs = [ nativeCheckInputs = [
which dtach openssl bash which dtach openssl bash

View File

@ -14,13 +14,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "remmina"; pname = "remmina";
version = "1.4.29"; version = "1.4.30";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "Remmina"; owner = "Remmina";
repo = "Remmina"; repo = "Remmina";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-8B19rqbOYY+lS3Q/vh3Eu696KW03SOvlP9dgXPYYDiU="; sha256 = "sha256-VYBolB6VJ3lT/rNl87qMW5DU5rdFCNvKezSLzx5y1JI=";
}; };
nativeBuildInputs = [ cmake ninja pkg-config wrapGAppsHook ]; nativeBuildInputs = [ cmake ninja pkg-config wrapGAppsHook ];

View File

@ -50,13 +50,13 @@
mkDerivation rec { mkDerivation rec {
pname = "sdrangel"; pname = "sdrangel";
version = "7.11.0"; version = "7.13.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "f4exb"; owner = "f4exb";
repo = "sdrangel"; repo = "sdrangel";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-zWux84a1MCK0XJXRXcaLHieJ47d4n/wO/xdwTYuuGJw="; hash = "sha256-xG41FNlMfqH5MaGVFFENP0UFEkZYiWhtpNSPh2s4Irk=";
}; };
nativeBuildInputs = [ cmake ninja pkg-config ]; nativeBuildInputs = [ cmake ninja pkg-config ];

View File

@ -0,0 +1,23 @@
From 5c158213fc3afe39ee96be84e255c12d5886ca18 Mon Sep 17 00:00:00 2001
From: Pavel Sobolev <paveloom@riseup.net>
Date: Sat, 1 Apr 2023 17:38:37 +0300
Subject: [PATCH] Add a hash to the `googletest` binary.
---
CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0a06e6f..a614025 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -434,6 +434,7 @@ include(FetchContent)
FetchContent_Declare(
googletest
URL https://github.com/google/googletest/archive/609281088cfefc76f9d0ce82e1ff6c30cc3591e5.zip
+ URL_HASH SHA256=5cf189eb6847b4f8fc603a3ffff3b0771c08eec7dd4bd961bfd45477dd13eb73
)
# For Windows: Prevent overriding the parent project's compiler/linker settings
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
--
2.39.2

View File

@ -0,0 +1,137 @@
{ cacert
, cmake
, fetchFromGitHub
, git
, lib
, lld
, ninja
, nix-update-script
, perl
, python3
, stdenv
}:
let
version = "0.15.5";
src = fetchFromGitHub {
owner = "exaloop";
repo = "codon";
rev = "v${version}";
sha256 = "sha256-/IUGX5iSRvZzwyRdkGe0IVHp44D+GXZtbkdtswekwSU=";
};
depsDir = "deps";
codon-llvm = stdenv.mkDerivation {
pname = "codon-llvm";
version = "unstable-2022-09-23";
src = fetchFromGitHub {
owner = "exaloop";
repo = "llvm-project";
rev = "55b0b8fa1c9f9082b535628fc9fa6313280c0b9a";
sha256 = "sha256-03SPQgNdrpR6/JZ5aR/ntoh/FnZvCjT/6bTAcZaFafw=";
};
nativeBuildInputs = [
cmake
git
lld
ninja
python3
];
cmakeFlags = [
"-DCMAKE_CXX_COMPILER=clang++"
"-DCMAKE_C_COMPILER=clang"
"-DLLVM_ENABLE_RTTI=ON"
"-DLLVM_ENABLE_TERMINFO=OFF"
"-DLLVM_ENABLE_ZLIB=OFF"
"-DLLVM_INCLUDE_TESTS=OFF"
"-DLLVM_TARGETS_TO_BUILD=all"
"-DLLVM_USE_LINKER=lld"
"-S ../llvm"
];
};
codon-deps = stdenv.mkDerivation {
name = "codon-deps-${version}.tar.gz";
inherit src;
nativeBuildInputs = [
cacert
cmake
git
perl
python3
];
dontBuild = true;
cmakeFlags = [
"-DCPM_DOWNLOAD_ALL=ON"
"-DCPM_SOURCE_CACHE=${depsDir}"
"-DLLVM_DIR=${codon-llvm}/lib/cmake/llvm"
];
installPhase = ''
# Prune the `.git` directories
find ${depsDir} -name .git -type d -prune -exec rm -rf {} \;;
# Build a reproducible tar, per instructions at https://reproducible-builds.org/docs/archives/
tar --owner=0 --group=0 --numeric-owner --format=gnu \
--sort=name --mtime="@$SOURCE_DATE_EPOCH" \
-czf $out \
${depsDir} \
cmake \
_deps/googletest-subbuild/googletest-populate-prefix/src/*.zip
'';
outputHash = "sha256-a1zGSpbMjfQBrcgW/aiIdKX8+uI3p/S9pgZjHe2HtWs=";
outputHashAlgo = "sha256";
};
in
stdenv.mkDerivation {
pname = "codon";
inherit src version;
patches = [
# Without the hash, CMake will try to replace the `.zip` file
./Add-a-hash-to-the-googletest-binary.patch
];
nativeBuildInputs = [
cmake
git
lld
ninja
perl
python3
];
postUnpack = ''
mkdir -p $sourceRoot/build
tar -xf ${codon-deps} -C $sourceRoot/build
'';
cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
"-DCMAKE_CXX_COMPILER=clang++"
"-DCMAKE_C_COMPILER=clang"
"-DCPM_SOURCE_CACHE=${depsDir}"
"-DLLVM_DIR=${codon-llvm}/lib/cmake/llvm"
"-DLLVM_USE_LINKER=lld"
];
passthru.updateScript = nix-update-script { };
meta = {
description = "A high-performance, zero-overhead, extensible Python compiler using LLVM";
homepage = "https://docs.exaloop.io/codon";
maintainers = [ lib.maintainers.paveloom ];
license = lib.licenses.bsl11;
platforms = lib.platforms.all;
};
}

View File

@ -91,7 +91,7 @@ let
qt5compat = callPackage ./modules/qt5compat.nix { }; qt5compat = callPackage ./modules/qt5compat.nix { };
qtcharts = callPackage ./modules/qtcharts.nix { }; qtcharts = callPackage ./modules/qtcharts.nix { };
qtconnectivity = callPackage ./modules/qtconnectivity.nix { qtconnectivity = callPackage ./modules/qtconnectivity.nix {
inherit (darwin.apple_sdk_11_0.frameworks) PCSC; inherit (darwin.apple_sdk_11_0.frameworks) IOBluetooth PCSC;
}; };
qtdatavis3d = callPackage ./modules/qtdatavis3d.nix { }; qtdatavis3d = callPackage ./modules/qtdatavis3d.nix { };
qtdeclarative = callPackage ./modules/qtdeclarative.nix { }; qtdeclarative = callPackage ./modules/qtdeclarative.nix { };

View File

@ -5,6 +5,7 @@
, qtdeclarative , qtdeclarative
, bluez , bluez
, pkg-config , pkg-config
, IOBluetooth
, PCSC , PCSC
}: }:
@ -13,5 +14,5 @@ qtModule {
qtInputs = [ qtbase qtdeclarative ]; qtInputs = [ qtbase qtdeclarative ];
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = lib.optionals stdenv.isLinux [ bluez ]; buildInputs = lib.optionals stdenv.isLinux [ bluez ];
propagatedBuildInputs = lib.optionals stdenv.isDarwin [ PCSC ]; propagatedBuildInputs = lib.optionals stdenv.isDarwin [ IOBluetooth PCSC ];
} }

View File

@ -6,14 +6,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "peaqevcore"; pname = "peaqevcore";
version = "15.2.1"; version = "15.2.4";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-71ea8r1g52SyWxG+aTl53WanM5z4XAj9k5E26ivpYoE="; hash = "sha256-+k1G4A4bJJzRfYRISp869NeCBTsVldWb+c6Z1tNZNg0=";
}; };
postPatch = '' postPatch = ''

View File

@ -1,34 +0,0 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, python
, pytest
}:
buildPythonPackage rec {
pname = "pytoml";
version = "0.1.20";
src = fetchFromGitHub {
owner = "avakar";
repo = "pytoml";
rev = "v${version}";
fetchSubmodules = true; # ensure test submodule is available
sha256 = "02hjq44zhh6z0fsbm3hvz34sav6fic90sjrw8g1pkdvskzzl46mz";
};
nativeCheckInputs = [ pytest ];
checkPhase = ''
${python.interpreter} test/test.py
pytest test
'';
meta = with lib; {
description = "A TOML parser/writer for Python";
homepage = "https://github.com/avakar/pytoml";
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
};
}

View File

@ -6,13 +6,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "fheroes2"; pname = "fheroes2";
version = "1.0.2"; version = "1.0.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ihhub"; owner = "ihhub";
repo = "fheroes2"; repo = "fheroes2";
rev = version; rev = version;
sha256 = "sha256-Y1D9oLqO4al+1OXV9QhlzlZxSZtcQJtBQAzXqyhBFKI="; sha256 = "sha256-msFuBKG/uuXxOcPf0KT3TWOiQrQ4rYHFxOcJ56QBkEU=";
}; };
nativeBuildInputs = [ imagemagick ]; nativeBuildInputs = [ imagemagick ];

View File

@ -233,6 +233,19 @@ in rec {
$out/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h $out/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h
''; '';
}); });
System = lib.overrideDerivation super.System (drv: {
installPhase = drv.installPhase + ''
# Contrarily to the other frameworks, System framework's TBD file
# is a symlink pointing to ${MacOSX-SDK}/usr/lib/libSystem.B.tbd.
# This produces an error when installing the framework as:
# 1. The original file is not copied into the output directory
# 2. Even if it was copied, the relative path wouldn't match
# Thus, it is easier to replace the file than to fix the symlink.
cp --remove-destination ${MacOSX-SDK}/usr/lib/libSystem.B.tbd \
$out/Library/Frameworks/System.framework/Versions/B/System.tbd
'';
});
}; };
# Merge extraDeps into generatedDeps. # Merge extraDeps into generatedDeps.

View File

@ -6,7 +6,7 @@
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "raycast"; pname = "raycast";
version = "1.49.2"; version = "1.49.3";
src = fetchurl { src = fetchurl {
# https://github.com/NixOS/nixpkgs/pull/223495 # https://github.com/NixOS/nixpkgs/pull/223495
@ -17,7 +17,7 @@ stdenvNoCC.mkDerivation rec {
# to host GitHub Actions to periodically check for updates # to host GitHub Actions to periodically check for updates
# and re-release the `.dmg` file to Internet Archive (https://archive.org/details/raycast) # and re-release the `.dmg` file to Internet Archive (https://archive.org/details/raycast)
url = "https://archive.org/download/raycast/raycast-${version}.dmg"; url = "https://archive.org/download/raycast/raycast-${version}.dmg";
sha256 = "sha256-3evuSRSCZkhxRy/85ohzIVF1tKRlWy+G5BOmuCWF2hU="; sha256 = "sha256-Irn99/49fRQg73cX8aKZ72D1o+mDPg44Q1pXAMdXrb0=";
}; };
dontPatch = true; dontPatch = true;

View File

@ -1,18 +1,14 @@
{ lib, buildGoModule, fetchFromGitHub, nixosTests }: { lib, buildGoModule, fetchFromGitHub, nixosTests }:
let
baseVersion = "0.4.2";
commit = "722200c4adbd6d1e5d847dfbbd9dec07aa4ca38d";
in
buildGoModule rec { buildGoModule rec {
pname = "smokeping_prober"; pname = "smokeping_prober";
version = "${baseVersion}-g${commit}"; version = "0.4.2";
ldflags = let ldflags = let
setVars = { setVars = rec {
Version = baseVersion; Version = version;
Revision = commit; Revision = "722200c4adbd6d1e5d847dfbbd9dec07aa4ca38d";
Branch = commit; Branch = Revision;
BuildUser = "nix"; BuildUser = "nix";
}; };
varFlags = lib.concatStringsSep " " (lib.mapAttrsToList (name: value: "-X github.com/prometheus/common/version.${name}=${value}") setVars); varFlags = lib.concatStringsSep " " (lib.mapAttrsToList (name: value: "-X github.com/prometheus/common/version.${name}=${value}") setVars);
@ -21,9 +17,9 @@ buildGoModule rec {
]; ];
src = fetchFromGitHub { src = fetchFromGitHub {
rev = commit;
owner = "SuperQ"; owner = "SuperQ";
repo = "smokeping_prober"; repo = "smokeping_prober";
rev = "v${version}";
sha256 = "1lpcjip6qxhalldgm6i2kgbajfqy3vwfyv9jy0jdpii13lv6mzlz"; sha256 = "1lpcjip6qxhalldgm6i2kgbajfqy3vwfyv9jy0jdpii13lv6mzlz";
}; };
vendorSha256 = "0p2jmlxpvpaqc445j39b4z4i3mnjrm25khv3sq6ylldcgfd31vz8"; vendorSha256 = "0p2jmlxpvpaqc445j39b4z4i3mnjrm25khv3sq6ylldcgfd31vz8";

View File

@ -8,13 +8,13 @@
buildGoModule rec { buildGoModule rec {
pname = "qovery-cli"; pname = "qovery-cli";
version = "0.56.3"; version = "0.57.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Qovery"; owner = "Qovery";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-DJkVIZBuKM5magrhW/+9IdvU5IVEFfF293X6vbFCfmI="; hash = "sha256-i60u9U3SLu2EzRlLJliXrRC+SozreAsVI2Vd6gDDVE4=";
}; };
vendorHash = "sha256-1krHpwjs4kGhPMBF5j3iqUBo8TGKs1h+nDCmDmviPu4="; vendorHash = "sha256-1krHpwjs4kGhPMBF5j3iqUBo8TGKs1h+nDCmDmviPu4=";

View File

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "rustic-rs"; pname = "rustic-rs";
version = "0.5.0"; version = "0.5.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rustic-rs"; owner = "rustic-rs";
repo = "rustic"; repo = "rustic";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-r4hOjX/LKv2wX720FMEztUo9rf2hDBLfcHtENSZNA3U="; hash = "sha256-r1h21J+pR8HiFfSxBwTVhuPFtc7HP+XnI3Xtx4oRKzY=";
}; };
cargoHash = "sha256-sNxD8rDkfUw5aVhRYpYftpPMiWhiTYDdShlVZvx2BHk="; cargoHash = "sha256-HiGBp79bxxZaupPo5s6cjXa4Q83O9i8VLzB9psjKSfo=";
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];

View File

@ -0,0 +1,28 @@
{ stdenv
, lib
, fetchzip
, pkg-config
, autoreconfHook
}:
stdenv.mkDerivation rec {
pname = "libpff";
version = "20211114";
src = fetchzip {
url = "https://github.com/libyal/libpff/releases/download/${version}/libpff-alpha-${version}.tar.gz";
sha256 = "sha256-UmGRBgi78nDSuuOXi/WmODojWU5AbQGKNQwLseoh714=";
};
nativeBuildInputs = [ pkg-config autoreconfHook ];
outputs = [ "bin" "dev" "out" ];
meta = {
description = "Library and tools to access the Personal Folder File (PFF) and the Offline Folder File (OFF) format";
homepage = "https://github.com/libyal/libpff";
downloadPage = "https://github.com/libyal/libpff/releases";
changelog = "https://github.com/libyal/libpff/blob/${version}/ChangeLog";
license = lib.licenses.lgpl3Only;
maintainers = with lib.maintainers; [ hacker1024 ];
};
}

View File

@ -1539,7 +1539,7 @@ checksum = "0046fef7e28c3804e5e38bfa31ea2a0f73905319b677e57ebe37e49358989b5d"
[[package]] [[package]]
name = "wasm-compose" name = "wasm-compose"
version = "0.2.10" version = "0.2.12"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap 4.1.8", "clap 4.1.8",
@ -1553,7 +1553,7 @@ dependencies = [
"serde_yaml", "serde_yaml",
"smallvec", "smallvec",
"wasm-encoder", "wasm-encoder",
"wasmparser 0.102.0", "wasmparser 0.103.0",
"wasmprinter", "wasmprinter",
"wat", "wat",
] ]
@ -1565,25 +1565,25 @@ dependencies = [
"anyhow", "anyhow",
"leb128", "leb128",
"tempfile", "tempfile",
"wasmparser 0.102.0", "wasmparser 0.103.0",
] ]
[[package]] [[package]]
name = "wasm-metadata" name = "wasm-metadata"
version = "0.3.1" version = "0.4.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap 4.1.8", "clap 4.1.8",
"indexmap", "indexmap",
"serde", "serde",
"wasm-encoder", "wasm-encoder",
"wasmparser 0.102.0", "wasmparser 0.103.0",
"wat", "wat",
] ]
[[package]] [[package]]
name = "wasm-mutate" name = "wasm-mutate"
version = "0.2.21" version = "0.2.23"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap 4.1.8", "clap 4.1.8",
@ -1593,7 +1593,7 @@ dependencies = [
"rand", "rand",
"thiserror", "thiserror",
"wasm-encoder", "wasm-encoder",
"wasmparser 0.102.0", "wasmparser 0.103.0",
"wasmprinter", "wasmprinter",
"wat", "wat",
] ]
@ -1611,14 +1611,14 @@ dependencies = [
"num_cpus", "num_cpus",
"rand", "rand",
"wasm-mutate", "wasm-mutate",
"wasmparser 0.102.0", "wasmparser 0.103.0",
"wasmprinter", "wasmprinter",
"wasmtime", "wasmtime",
] ]
[[package]] [[package]]
name = "wasm-shrink" name = "wasm-shrink"
version = "0.1.22" version = "0.1.24"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"blake3", "blake3",
@ -1627,14 +1627,14 @@ dependencies = [
"log", "log",
"rand", "rand",
"wasm-mutate", "wasm-mutate",
"wasmparser 0.102.0", "wasmparser 0.103.0",
"wasmprinter", "wasmprinter",
"wat", "wat",
] ]
[[package]] [[package]]
name = "wasm-smith" name = "wasm-smith"
version = "0.12.5" version = "0.12.6"
dependencies = [ dependencies = [
"arbitrary", "arbitrary",
"criterion", "criterion",
@ -1645,14 +1645,14 @@ dependencies = [
"rand", "rand",
"serde", "serde",
"wasm-encoder", "wasm-encoder",
"wasmparser 0.102.0", "wasmparser 0.103.0",
"wasmprinter", "wasmprinter",
"wat", "wat",
] ]
[[package]] [[package]]
name = "wasm-tools" name = "wasm-tools"
version = "1.0.27" version = "1.0.30"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"arbitrary", "arbitrary",
@ -1676,7 +1676,7 @@ dependencies = [
"wasm-mutate", "wasm-mutate",
"wasm-shrink", "wasm-shrink",
"wasm-smith", "wasm-smith",
"wasmparser 0.102.0", "wasmparser 0.103.0",
"wasmprinter", "wasmprinter",
"wast", "wast",
"wat", "wat",
@ -1692,7 +1692,7 @@ dependencies = [
"wasm-mutate", "wasm-mutate",
"wasm-shrink", "wasm-shrink",
"wasm-smith", "wasm-smith",
"wasmparser 0.102.0", "wasmparser 0.103.0",
"wasmprinter", "wasmprinter",
"wast", "wast",
"wat", "wat",
@ -1711,7 +1711,7 @@ dependencies = [
"wasm-encoder", "wasm-encoder",
"wasm-mutate", "wasm-mutate",
"wasm-smith", "wasm-smith",
"wasmparser 0.102.0", "wasmparser 0.103.0",
"wasmprinter", "wasmprinter",
"wasmtime", "wasmtime",
"wast", "wast",
@ -1731,7 +1731,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmparser" name = "wasmparser"
version = "0.102.0" version = "0.103.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"criterion", "criterion",
@ -1746,13 +1746,13 @@ dependencies = [
[[package]] [[package]]
name = "wasmprinter" name = "wasmprinter"
version = "0.2.53" version = "0.2.55"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"diff", "diff",
"rayon", "rayon",
"tempfile", "tempfile",
"wasmparser 0.102.0", "wasmparser 0.103.0",
"wast", "wast",
"wat", "wat",
] ]
@ -1914,7 +1914,7 @@ dependencies = [
[[package]] [[package]]
name = "wast" name = "wast"
version = "55.0.0" version = "56.0.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"leb128", "leb128",
@ -1922,13 +1922,13 @@ dependencies = [
"rayon", "rayon",
"unicode-width", "unicode-width",
"wasm-encoder", "wasm-encoder",
"wasmparser 0.102.0", "wasmparser 0.103.0",
"wat", "wat",
] ]
[[package]] [[package]]
name = "wat" name = "wat"
version = "1.0.61" version = "1.0.62"
dependencies = [ dependencies = [
"wast", "wast",
] ]
@ -2100,7 +2100,7 @@ checksum = "447660ad36a13288b1db4d4248e857b510e8c3a225c822ba4fb748c0aafecffd"
[[package]] [[package]]
name = "wit-component" name = "wit-component"
version = "0.7.3" version = "0.8.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"bitflags", "bitflags",
@ -2112,7 +2112,7 @@ dependencies = [
"url", "url",
"wasm-encoder", "wasm-encoder",
"wasm-metadata", "wasm-metadata",
"wasmparser 0.102.0", "wasmparser 0.103.0",
"wasmprinter", "wasmprinter",
"wat", "wat",
"wit-parser", "wit-parser",
@ -2120,7 +2120,7 @@ dependencies = [
[[package]] [[package]]
name = "wit-parser" name = "wit-parser"
version = "0.6.4" version = "0.7.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"env_logger", "env_logger",

View File

@ -5,13 +5,13 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "wasm-tools"; pname = "wasm-tools";
version = "1.0.27"; version = "1.0.30";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bytecodealliance"; owner = "bytecodealliance";
repo = pname; repo = pname;
rev = "${pname}-${version}"; rev = "${pname}-${version}";
hash = "sha256-kuTcxZLtQyDcj8SFfpJRNwto1e5iuXjxqZ46CnLOVIc="; hash = "sha256-Sd4oYHywXejLPDbNmQ73bWGw48QNQ8M+2l3CjC6D6Iw=";
fetchSubmodules = true; fetchSubmodules = true;
}; };

View File

@ -22,6 +22,8 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" ]; hardeningDisable = [ "format" ];
enableParallelBuilding = true;
# autoreconfHook fails hard if these two files do not exist # autoreconfHook fails hard if these two files do not exist
postPatch = '' postPatch = ''
touch AUTHORS ChangeLog touch AUTHORS ChangeLog

View File

@ -38,6 +38,7 @@ stdenv.mkDerivation rec {
]; ];
configureFlags = [ configureFlags = [
"--disable-more-warnings" # disables -Werror
"--with-charon=${strongswanNM}/libexec/ipsec/charon-nm" "--with-charon=${strongswanNM}/libexec/ipsec/charon-nm"
"--with-nm-libexecdir=${placeholder "out"}/libexec" "--with-nm-libexecdir=${placeholder "out"}/libexec"
"--with-nm-plugindir=${placeholder "out"}/lib/NetworkManager" "--with-nm-plugindir=${placeholder "out"}/lib/NetworkManager"

View File

@ -1,32 +1,29 @@
{ lib, stdenv, fetchurl }: { lib
, stdenv
, fetchurl
, installShellFiles
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "nuttcp"; pname = "nuttcp";
version = "8.1.4"; version = "8.2.2";
src = fetchurl { src = fetchurl {
urls = [ url = "http://nuttcp.net/nuttcp/nuttcp-${version}.tar.bz2";
"http://nuttcp.net/nuttcp/latest/${pname}-${version}.c" sha256 = "sha256-fq16ieeqoFnSDjQELFihmMKYHK1ylVDROI3fyQNtOYM=";
"http://nuttcp.net/nuttcp/${pname}-${version}/${pname}-${version}.c"
"http://nuttcp.net/nuttcp/beta/${pname}-${version}.c"
];
sha256 = "1mygfhwxfi6xg0iycivx98ckak2abc3vwndq74278kpd8g0yyqyh";
}; };
man = fetchurl { nativeBuildInputs = [
url = "http://nuttcp.net/nuttcp/${pname}-${version}/nuttcp.8"; installShellFiles
sha256 = "1yang94mcdqg362qbi85b63746hk6gczxrk619hyj91v5763n4vx"; ];
};
dontUnpack = true;
buildPhase = ''
cc -O2 -o nuttcp $src
'';
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin
cp nuttcp $out/bin cp nuttcp-${version} $out/bin/nuttcp
'';
postInstall = ''
installManPage nuttcp.8
''; '';
meta = with lib; { meta = with lib; {
@ -43,7 +40,7 @@ stdenv.mkDerivation rec {
system, and wall-clock time, transmitter and receiver CPU utilization, system, and wall-clock time, transmitter and receiver CPU utilization,
and loss percentage (for UDP transfers). and loss percentage (for UDP transfers).
''; '';
license = licenses.gpl2; license = licenses.gpl2Only;
homepage = "http://nuttcp.net/"; homepage = "http://nuttcp.net/";
maintainers = with maintainers; [ ]; maintainers = with maintainers; [ ];
platforms = platforms.unix; platforms = platforms.unix;

View File

@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
#!${runtimeShell} #!${runtimeShell}
export PATH="${lib.makeBinPath [ jre ]}:\$PATH" export PATH="${lib.makeBinPath [ jre ]}:\$PATH"
export JAVA_HOME='${jre}' export JAVA_HOME='${jre}'
if ! [ -f "~/.ZAP/config.xml" ];then if ! [ -f "\$HOME/.ZAP/config.xml" ];then
mkdir -p "\$HOME/.ZAP" mkdir -p "\$HOME/.ZAP"
head -n 2 $out/share/${pname}/xml/config.xml > "\$HOME/.ZAP/config.xml" head -n 2 $out/share/${pname}/xml/config.xml > "\$HOME/.ZAP/config.xml"
echo "<version>${version_tag}</version>" >> "\$HOME/.ZAP/config.xml" echo "<version>${version_tag}</version>" >> "\$HOME/.ZAP/config.xml"
@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
homepage = "https://www.owasp.org/index.php/ZAP"; homepage = "https://www.owasp.org/index.php/ZAP";
description = "Java application for web penetration testing"; description = "Java application for web penetration testing";
maintainers = with maintainers; [ mog ]; maintainers = with maintainers; [ mog rafael ];
platforms = platforms.linux; platforms = platforms.linux;
license = licenses.asl20; license = licenses.asl20;
}; };

View File

@ -4,12 +4,12 @@ with python3Packages;
buildPythonApplication rec { buildPythonApplication rec {
pname = "pynitrokey"; pname = "pynitrokey";
version = "0.4.34"; version = "0.4.36";
format = "flit"; format = "flit";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-lMXoDkNiAmGb6e4u/vZMcmXUclwW402YUGihLjWIr+U="; hash = "sha256-Y+6T1iUp9TVYbAjpXVHozC6WT061r0VYv/ifu8lcN6E=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -39,6 +39,7 @@ buildPythonApplication rec {
pythonRelaxDeps = [ pythonRelaxDeps = [
"cryptography" "cryptography"
"protobuf"
"python-dateutil" "python-dateutil"
"spsdk" "spsdk"
"typing_extensions" "typing_extensions"

View File

@ -2,23 +2,26 @@
, buildGoModule , buildGoModule
, fetchFromGitHub , fetchFromGitHub
, installShellFiles , installShellFiles
, git
, testers , testers
, d2 , d2
}: }:
buildGoModule rec { buildGoModule rec {
pname = "d2"; pname = "d2";
version = "0.3.0"; version = "0.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "terrastruct"; owner = "terrastruct";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-ll6kOmHJZRsN6DkQRAUXyxz61tjwwi+p5eOuLfGDpI8="; hash = "sha256-vMgOFZJwlWjNfOp4QsFoq1y9JQm16qDkP7uoOwICuTo=";
}; };
vendorHash = "sha256-jfGolYHWX/9Zr5JHiWl8mCfaaRT2AU8v32PtgM1KI8c="; vendorHash = "sha256-jfGolYHWX/9Zr5JHiWl8mCfaaRT2AU8v32PtgM1KI8c=";
excludedPackages = [ "./e2etests" ];
ldflags = [ ldflags = [
"-s" "-s"
"-w" "-w"
@ -31,7 +34,12 @@ buildGoModule rec {
installManPage ci/release/template/man/d2.1 installManPage ci/release/template/man/d2.1
''; '';
subPackages = [ "." ]; nativeCheckInputs = [ git ];
preCheck = ''
# See https://github.com/terrastruct/d2/blob/master/docs/CONTRIBUTING.md#running-tests.
export TESTDATA_ACCEPT=1
'';
passthru.tests.version = testers.testVersion { package = d2; }; passthru.tests.version = testers.testVersion { package = d2; };

View File

@ -17,7 +17,7 @@ let auctex = stdenv.mkDerivation ( rec {
buildInputs = [ buildInputs = [
emacs emacs
ghostscript ghostscript
texlive.combined.scheme-basic (texlive.combine { inherit (texlive) scheme-basic hypdoc; })
]; ];
preConfigure = '' preConfigure = ''

View File

@ -9077,6 +9077,8 @@ with pkgs;
libgen-cli = callPackage ../tools/misc/libgen-cli { }; libgen-cli = callPackage ../tools/misc/libgen-cli { };
libpff = callPackage ../tools/misc/libpff {};
licensor = callPackage ../tools/misc/licensor { }; licensor = callPackage ../tools/misc/licensor { };
lesspipe = callPackage ../tools/misc/lesspipe { }; lesspipe = callPackage ../tools/misc/lesspipe { };
@ -14362,6 +14364,10 @@ with pkgs;
ciao = callPackage ../development/compilers/ciao { }; ciao = callPackage ../development/compilers/ciao { };
codon = callPackage ../development/compilers/codon {
inherit (llvmPackages_latest) lld stdenv;
};
colm = callPackage ../development/compilers/colm { }; colm = callPackage ../development/compilers/colm { };
colmap = libsForQt5.callPackage ../applications/science/misc/colmap { cudaSupport = config.cudaSupport or false; }; colmap = libsForQt5.callPackage ../applications/science/misc/colmap { cudaSupport = config.cudaSupport or false; };
@ -32615,7 +32621,6 @@ with pkgs;
notepadqq = libsForQt5.callPackage ../applications/editors/notepadqq { }; notepadqq = libsForQt5.callPackage ../applications/editors/notepadqq { };
notmuch = callPackage ../applications/networking/mailreaders/notmuch { notmuch = callPackage ../applications/networking/mailreaders/notmuch {
gmime = gmime3;
pythonPackages = python3Packages; pythonPackages = python3Packages;
}; };

View File

@ -237,6 +237,7 @@ mapAliases ({
python-subunit = subunit; # added 2021-09-10 python-subunit = subunit; # added 2021-09-10
pytest_xdist = pytest-xdist; # added 2021-01-04 pytest_xdist = pytest-xdist; # added 2021-01-04
python_simple_hipchat = python-simple-hipchat; # added 2021-07-21 python_simple_hipchat = python-simple-hipchat; # added 2021-07-21
pytoml = throw "pytoml has been removed because it is unmaintained and is superseded by toml"; # Added 2023-04-11
pytorch = torch; # added 2022-09-30 pytorch = torch; # added 2022-09-30
pytorch-bin = torch-bin; # added 2022-09-30 pytorch-bin = torch-bin; # added 2022-09-30
pytorchWithCuda = torchWithCuda; # added 2022-09-30 pytorchWithCuda = torchWithCuda; # added 2022-09-30

View File

@ -9746,8 +9746,6 @@ self: super: with self; {
pytmx = callPackage ../development/python-modules/pytmx { }; pytmx = callPackage ../development/python-modules/pytmx { };
pytoml = callPackage ../development/python-modules/pytoml { };
pytomlpp = callPackage ../development/python-modules/pytomlpp { }; pytomlpp = callPackage ../development/python-modules/pytomlpp { };
pytoolconfig = callPackage ../development/python-modules/pytoolconfig { }; pytoolconfig = callPackage ../development/python-modules/pytoolconfig { };