mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-20 23:51:03 +00:00
Merge staging-next-23.11 into staging-23.11
This commit is contained in:
@@ -604,6 +604,7 @@ in {
|
||||
({
|
||||
name :: String,
|
||||
type :: String,
|
||||
hasExt :: String -> Bool,
|
||||
...
|
||||
} -> Bool)
|
||||
-> Path
|
||||
@@ -614,7 +615,7 @@ in {
|
||||
fileFilter (file: file.name == "default.nix") ./.
|
||||
|
||||
# Include all non-Nix files from the current directory
|
||||
fileFilter (file: ! hasSuffix ".nix" file.name) ./.
|
||||
fileFilter (file: ! file.hasExt "nix") ./.
|
||||
|
||||
# Include all files that start with a "." in the current directory
|
||||
fileFilter (file: hasPrefix "." file.name) ./.
|
||||
@@ -634,6 +635,12 @@ in {
|
||||
- `type` (String, one of `"regular"`, `"symlink"` or `"unknown"`): The type of the file.
|
||||
This matches result of calling [`builtins.readFileType`](https://nixos.org/manual/nix/stable/language/builtins.html#builtins-readFileType) on the file's path.
|
||||
|
||||
- `hasExt` (String -> Bool): Whether the file has a certain file extension.
|
||||
`hasExt ext` is true only if `hasSuffix ".${ext}" name`.
|
||||
|
||||
This also means that e.g. for a file with name `.gitignore`,
|
||||
`hasExt "gitignore"` is true.
|
||||
|
||||
Other attributes may be added in the future.
|
||||
*/
|
||||
predicate:
|
||||
|
||||
@@ -52,6 +52,7 @@ let
|
||||
concatStringsSep
|
||||
substring
|
||||
stringLength
|
||||
hasSuffix
|
||||
;
|
||||
|
||||
in
|
||||
@@ -797,9 +798,11 @@ rec {
|
||||
if
|
||||
predicate {
|
||||
inherit name type;
|
||||
hasExt = ext: hasSuffix ".${ext}" name;
|
||||
|
||||
# To ensure forwards compatibility with more arguments being added in the future,
|
||||
# adding an attribute which can't be deconstructed :)
|
||||
"lib.fileset.fileFilter: The predicate function passed as the first argument must be able to handle extra attributes for future compatibility. If you're using `{ name, file }:`, use `{ name, file, ... }:` instead." = null;
|
||||
"lib.fileset.fileFilter: The predicate function passed as the first argument must be able to handle extra attributes for future compatibility. If you're using `{ name, file, hasExt }:`, use `{ name, file, hasExt, ... }:` instead." = null;
|
||||
}
|
||||
then
|
||||
type
|
||||
|
||||
@@ -847,7 +847,7 @@ checkFileset 'fileFilter (file: abort "this is not needed") ./.'
|
||||
|
||||
# The predicate must be able to handle extra attributes
|
||||
touch a
|
||||
expectFailure 'toSource { root = ./.; fileset = fileFilter ({ name, type }: true) ./.; }' 'called with unexpected argument '\''"lib.fileset.fileFilter: The predicate function passed as the first argument must be able to handle extra attributes for future compatibility. If you'\''re using `\{ name, file \}:`, use `\{ name, file, ... \}:` instead."'\'
|
||||
expectFailure 'toSource { root = ./.; fileset = fileFilter ({ name, type, hasExt }: true) ./.; }' 'called with unexpected argument '\''"lib.fileset.fileFilter: The predicate function passed as the first argument must be able to handle extra attributes for future compatibility. If you'\''re using `\{ name, file, hasExt \}:`, use `\{ name, file, hasExt, ... \}:` instead."'\'
|
||||
rm -rf -- *
|
||||
|
||||
# .name is the name, and it works correctly, even recursively
|
||||
@@ -895,6 +895,39 @@ expectEqual \
|
||||
'toSource { root = ./.; fileset = union ./d/a ./d/b; }'
|
||||
rm -rf -- *
|
||||
|
||||
# Check that .hasExt checks for the file extension
|
||||
# The empty extension is the same as a file ending with a .
|
||||
tree=(
|
||||
[a]=0
|
||||
[a.]=1
|
||||
[a.b]=0
|
||||
[a.b.]=1
|
||||
[a.b.c]=0
|
||||
)
|
||||
checkFileset 'fileFilter (file: file.hasExt "") ./.'
|
||||
|
||||
# It can check for the last extension
|
||||
tree=(
|
||||
[a]=0
|
||||
[.a]=1
|
||||
[.a.]=0
|
||||
[.b.a]=1
|
||||
[.b.a.]=0
|
||||
)
|
||||
checkFileset 'fileFilter (file: file.hasExt "a") ./.'
|
||||
|
||||
# It can check for any extension
|
||||
tree=(
|
||||
[a.b.c.d]=1
|
||||
)
|
||||
checkFileset 'fileFilter (file:
|
||||
all file.hasExt [
|
||||
"b.c.d"
|
||||
"c.d"
|
||||
"d"
|
||||
]
|
||||
) ./.'
|
||||
|
||||
# It's lazy
|
||||
tree=(
|
||||
[b]=1
|
||||
|
||||
@@ -364,11 +364,6 @@
|
||||
|
||||
- `networking.networkmanager.firewallBackend` was removed as NixOS is now using iptables-nftables-compat even when using iptables, therefore Networkmanager now uses the nftables backend unconditionally.
|
||||
|
||||
- [`lib.lists.foldl'`](https://nixos.org/manual/nixpkgs/stable#function-library-lib.lists.foldl-prime) now always evaluates the initial accumulator argument first.
|
||||
If you depend on the lazier behavior, consider using [`lib.lists.foldl`](https://nixos.org/manual/nixpkgs/stable#function-library-lib.lists.foldl) or [`builtins.foldl'`](https://nixos.org/manual/nix/stable/language/builtins.html#builtins-foldl') instead.
|
||||
|
||||
- [`lib.attrsets.foldlAttrs`](https://nixos.org/manual/nixpkgs/stable#function-library-lib.attrsets.foldlAttrs) now always evaluates the initial accumulator argument first.
|
||||
|
||||
- `rome` was removed because it is no longer maintained and is succeeded by `biome`.
|
||||
|
||||
- The `prometheus-knot-exporter` was migrated to a version maintained by CZ.NIC. Various metric names have changed, so checking existing rules is recommended.
|
||||
@@ -612,3 +607,101 @@ The module update takes care of the new config syntax and the data itself (user
|
||||
- Docker now defaults to 24, as 20.10 is stopping to receive security updates and bug fixes after [December 10, 2023](https://github.com/moby/moby/discussions/45104).
|
||||
|
||||
- There is a new NixOS option when writing NixOS tests `testing.initrdBackdoor`, that enables `backdoor.service` in initrd. Requires `boot.initrd.systemd.enable` to be enabled. Boot will pause in stage 1 at `initrd.target`, and will listen for commands from the `Machine` python interface, just like stage 2 normally does. This enables commands to be sent to test and debug stage 1. Use `machine.switch_root()` to leave stage 1 and proceed to stage 2.
|
||||
|
||||
## Nixpkgs library changes {#sec-release-23.11-lib}
|
||||
|
||||
### Breaking changes {#sec-release-23.11-lib-breaking}
|
||||
|
||||
- [`lib.lists.foldl'`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.lists.foldl-prime)
|
||||
now always evaluates the initial accumulator argument first.
|
||||
If you depend on the lazier behavior, consider using [`lib.lists.foldl`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.lists.foldl)
|
||||
or [`builtins.foldl'`](https://nixos.org/manual/nix/stable/language/builtins.html#builtins-foldl') instead.
|
||||
- [`lib.attrsets.foldlAttrs`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.attrsets.foldlAttrs)
|
||||
now always evaluates the initial accumulator argument first.
|
||||
- Now that the internal NixOS transition to Markdown documentation is complete,
|
||||
`lib.options.literalDocBook` has been removed after deprecation in 22.11.
|
||||
- `lib.types.string` is now fully deprecated and gives a warning when used.
|
||||
|
||||
### Additions and improvements {#sec-release-23.11-lib-additions-improvements}
|
||||
|
||||
- [`lib.fileset`](https://nixos.org/manual/nixpkgs/unstable#sec-functions-library-fileset):
|
||||
A new sub-library to select local files to use for sources,
|
||||
designed to be easy and safe to use.
|
||||
|
||||
This aims to be a replacement for `lib.sources`-based filtering.
|
||||
To learn more about it, see [the tutorial](https://nix.dev/tutorials/file-sets).
|
||||
|
||||
- [`lib.gvariant`](https://nixos.org/manual/nixpkgs/unstable#sec-functions-library-gvariant):
|
||||
A partial and basic implementation of GVariant formatted strings.
|
||||
See [GVariant Format Strings](https://docs.gtk.org/glib/gvariant-format-strings.html) for details.
|
||||
|
||||
:::{.warning}
|
||||
This API is not considered fully stable and it might therefore
|
||||
change in backwards incompatible ways without prior notice.
|
||||
:::
|
||||
|
||||
- [`lib.asserts`](https://nixos.org/manual/nixpkgs/unstable#sec-functions-library-asserts): New function:
|
||||
[`assertEachOneOf`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.asserts.assertEachOneOf).
|
||||
- [`lib.attrsets`](https://nixos.org/manual/nixpkgs/unstable#sec-functions-library-attrsets): New function:
|
||||
[`attrsToList`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.attrsets.attrsToList).
|
||||
- [`lib.customisation`](https://nixos.org/manual/nixpkgs/unstable#sec-functions-library-customisation): New function:
|
||||
[`makeScopeWithSplicing'`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.customisation.makeScopeWithSplicing-prime).
|
||||
- [`lib.fixedPoints`](https://nixos.org/manual/nixpkgs/unstable#sec-functions-library-fixedPoints): Documentation improvements for
|
||||
[`lib.fixedPoints.fix`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.fixedPoints.fix).
|
||||
- `lib.generators`: New functions:
|
||||
[`mkDconfKeyValue`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.generators.mkDconfKeyValue),
|
||||
[`toDconfINI`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.generators.toDconfINI).
|
||||
|
||||
`lib.generators.toKeyValue` now supports the `indent` attribute in its first argument.
|
||||
- [`lib.lists`](https://nixos.org/manual/nixpkgs/unstable#sec-functions-library-lists): New functions:
|
||||
[`findFirstIndex`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.lists.findFirstIndex),
|
||||
[`hasPrefix`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.lists.hasPrefix),
|
||||
[`removePrefix`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.lists.removePrefix),
|
||||
[`commonPrefix`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.lists.commonPrefix),
|
||||
[`allUnique`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.lists.allUnique).
|
||||
|
||||
Documentation improvements for
|
||||
[`lib.lists.foldl'`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.lists.foldl-prime).
|
||||
- [`lib.meta`](https://nixos.org/manual/nixpkgs/unstable#sec-functions-library-meta): Documentation of functions now gets rendered
|
||||
- [`lib.path`](https://nixos.org/manual/nixpkgs/unstable#sec-functions-library-path): New functions:
|
||||
[`hasPrefix`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.path.hasPrefix),
|
||||
[`removePrefix`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.path.removePrefix),
|
||||
[`splitRoot`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.path.splitRoot),
|
||||
[`subpath.components`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.path.subpath.components).
|
||||
- [`lib.strings`](https://nixos.org/manual/nixpkgs/unstable#sec-functions-library-strings): New functions:
|
||||
[`replicate`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.strings.replicate),
|
||||
[`cmakeOptionType`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.strings.cmakeOptionType),
|
||||
[`cmakeBool`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.strings.cmakeBool),
|
||||
[`cmakeFeature`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.strings.cmakeFeature).
|
||||
- [`lib.trivial`](https://nixos.org/manual/nixpkgs/unstable#sec-functions-library-trivial): New function:
|
||||
[`mirrorFunctionArgs`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.trivial.mirrorFunctionArgs).
|
||||
- `lib.systems`: New function:
|
||||
[`equals`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.systems.equals).
|
||||
- [`lib.options`](https://nixos.org/manual/nixpkgs/unstable#sec-functions-library-options): Improved documentation for
|
||||
[`mkPackageOption`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.options.mkPackageOption).
|
||||
|
||||
[`mkPackageOption`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.options.mkPackageOption).
|
||||
now also supports the `pkgsText` attribute.
|
||||
|
||||
Module system:
|
||||
- Options in the `options` module argument now have the `declarationPositions` attribute
|
||||
containing the position where the option was declared:
|
||||
```
|
||||
$ nix repl -f '<nixpkgs/nixos>'
|
||||
[...]
|
||||
nix-repl> :p options.environment.systemPackages.declarationPositions
|
||||
[ {
|
||||
column = 7;
|
||||
file = "/nix/store/vm9zf9wvfd628cchj0hdij1g4hzjrcz9-source/nixos/modules/config/system-path.nix";
|
||||
line = 62;
|
||||
} ]
|
||||
```
|
||||
Not to be confused with `definitionsWithLocations`, which is the same but for option _definitions_.
|
||||
- Improved error message for option declarations missing `mkOption`
|
||||
|
||||
### Deprecations {#sec-release-23.11-lib-deprecations}
|
||||
|
||||
- `lib.meta.getExe pkg` (also available as `lib.getExe`) now gives a warning if `pkg.meta.mainProgram` is not set,
|
||||
but it continues to default to the derivation name.
|
||||
Nixpkgs accepts PRs that set `meta.mainProgram` on packages where it makes sense.
|
||||
Use `lib.getExe' pkg "some-command"` to avoid the warning and/or select a different executable.
|
||||
|
||||
@@ -261,7 +261,16 @@ in {
|
||||
];
|
||||
boot = {
|
||||
blacklistedKernelModules = ["nouveau" "nvidiafb"];
|
||||
kernelModules = [ "nvidia-uvm" ];
|
||||
|
||||
# Don't add `nvidia-uvm` to `kernelModules`, because we want
|
||||
# `nvidia-uvm` be loaded only after `udev` rules for `nvidia` kernel
|
||||
# module are applied.
|
||||
#
|
||||
# Instead, we use `softdep` to lazily load `nvidia-uvm` kernel module
|
||||
# after `nvidia` kernel module is loaded and `udev` rules are applied.
|
||||
extraModprobeConfig = ''
|
||||
softdep nvidia post: nvidia-uvm
|
||||
'';
|
||||
};
|
||||
systemd.tmpfiles.rules =
|
||||
lib.optional config.virtualisation.docker.enableNvidia
|
||||
|
||||
@@ -20,6 +20,7 @@ let
|
||||
printf "waiting for device to appear $path"
|
||||
for try in $(seq 10); do
|
||||
if [ -e $path ]; then
|
||||
target=$(readlink -f $path)
|
||||
success=true
|
||||
break
|
||||
else
|
||||
|
||||
@@ -23,19 +23,19 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mousai";
|
||||
version = "0.7.5";
|
||||
version = "0.7.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SeaDve";
|
||||
repo = "Mousai";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-4olJGpS5QfPyt6/ZmigoojP7kGjx6LExW3LKrL4nxTE=";
|
||||
hash = "sha256-QInnKjGYaWlIj+F3upQ8CJ6RqCM72Y+BGrrezndqfOg=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit src;
|
||||
name = "${pname}-${version}";
|
||||
hash = "sha256-SeKcguCB+f2ocKKf7Moc74O2sGK2EXgEEkTiN82dSps=";
|
||||
hash = "sha256-/AwTNuDdhAhj/kbc6EdC3FKGO1LfZIY68utPjcrw0S0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -47,7 +47,6 @@
|
||||
, glibc # gconv + locale
|
||||
# postFixup:
|
||||
, vulkan-loader
|
||||
, libglvnd
|
||||
|
||||
# Package customization:
|
||||
, cupsSupport ? true, cups ? null
|
||||
@@ -490,11 +489,11 @@ let
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
# Make sure that libGLESv2 and libvulkan are found by dlopen.
|
||||
# Make sure that libGLESv2 and libvulkan are found by dlopen in both chromium binary and ANGLE libGLESv2.so.
|
||||
# libpci (from pciutils) is needed by dlopen in angle/src/gpu_info_util/SystemInfo_libpci.cpp
|
||||
chromiumBinary="$libExecPath/$packageName"
|
||||
origRpath="$(patchelf --print-rpath "$chromiumBinary")"
|
||||
patchelf --set-rpath "${lib.makeLibraryPath [ libGL libglvnd vulkan-loader pciutils ]}:$origRpath" "$chromiumBinary"
|
||||
for chromiumBinary in "$libExecPath/$packageName" "$libExecPath/libGLESv2.so"; do
|
||||
patchelf --set-rpath "${lib.makeLibraryPath [ libGL vulkan-loader pciutils ]}:$(patchelf --print-rpath "$chromiumBinary")" "$chromiumBinary"
|
||||
done
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
|
||||
@@ -19,18 +19,18 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "teams-for-linux";
|
||||
version = "1.3.19";
|
||||
version = "1.3.22";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "IsmaelMartinez";
|
||||
repo = "teams-for-linux";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-+n26VTNRymPdzMbSz8AZsQ73xOHizOFAstw6toKfZQM=";
|
||||
hash = "sha256-nyhAq06k0nNrGSbD0N1RNwcplYf5vO1BvnvEfNYGG0A=";
|
||||
};
|
||||
|
||||
offlineCache = fetchYarnDeps {
|
||||
yarnLock = "${finalAttrs.src}/yarn.lock";
|
||||
hash = "sha256-SxUdTzk8WngkKwT05U8HJsK8+8ezcJWdiT/ettxpeEE=";
|
||||
hash = "sha256-ydhJXAvz3k6GwpnSL6brl9xFpb+ooi8Am89TkcE00hc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ yarn fixup_yarn_lock nodejs copyDesktopItems makeWrapper ];
|
||||
|
||||
@@ -20,7 +20,7 @@ in lib.recurseIntoAttrs
|
||||
quality-menu = callPackage ./quality-menu.nix { inherit buildLua; };
|
||||
simple-mpv-webui = callPackage ./simple-mpv-webui.nix { };
|
||||
sponsorblock = callPackage ./sponsorblock.nix { };
|
||||
thumbfast = callPackage ./thumbfast.nix { };
|
||||
thumbfast = callPackage ./thumbfast.nix { inherit buildLua; };
|
||||
thumbnail = callPackage ./thumbnail.nix { inherit buildLua; };
|
||||
uosc = callPackage ./uosc.nix { };
|
||||
visualizer = callPackage ./visualizer.nix { };
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
{ lib, stdenvNoCC, fetchFromGitHub, mpv-unwrapped }:
|
||||
{ lib, fetchFromGitHub, buildLua, mpv-unwrapped }:
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
name = "mpv-thumbfast";
|
||||
buildLua {
|
||||
pname = "mpv-thumbfast";
|
||||
version = "unstable-2023-06-04";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "po5";
|
||||
repo = "thumbfast";
|
||||
rev = "6f1d92da25a7b807427f55f085e7ad4d60c4e0d7";
|
||||
hash = "sha256-7CCxMPmZZRDIcWn+YbV4xzZFL80qZS5UFA25E+Y2P2Q=";
|
||||
rev = "4241c7daa444d3859b51b65a39d30e922adb87e9";
|
||||
hash = "sha256-7EnFJVjEzqhWXAvhzURoOp/kad6WzwyidWxug6u8lVw=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -16,18 +16,7 @@ stdenvNoCC.mkDerivation {
|
||||
--replace 'mpv_path = "mpv"' 'mpv_path = "${lib.getExe mpv-unwrapped}"'
|
||||
'';
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/mpv/scripts
|
||||
cp -r thumbfast.lua $out/share/mpv/scripts/thumbfast.lua
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.scriptName = "thumbfast.lua";
|
||||
scriptPath = "thumbfast.lua";
|
||||
|
||||
meta = {
|
||||
description = "High-performance on-the-fly thumbnailer for mpv";
|
||||
|
||||
@@ -21,6 +21,9 @@
|
||||
# Whether to force the usage of Git dependencies that have install scripts, but not a lockfile.
|
||||
# Use with care.
|
||||
, forceGitDeps ? false
|
||||
# Whether to force allow an empty dependency cache.
|
||||
# This can be enabled if there are truly no remote dependencies, but generally an empty cache indicates something is wrong.
|
||||
, forceEmptyCache ? false
|
||||
# Whether to make the cache writable prior to installing dependencies.
|
||||
# Don't set this unless npm tries to write to the cache directory, as it can slow down the build.
|
||||
, makeCacheWritable ? false
|
||||
@@ -42,7 +45,7 @@
|
||||
, npmWorkspace ? null
|
||||
, nodejs ? topLevelArgs.nodejs
|
||||
, npmDeps ? fetchNpmDeps {
|
||||
inherit forceGitDeps src srcs sourceRoot prePatch patches postPatch;
|
||||
inherit forceGitDeps forceEmptyCache src srcs sourceRoot prePatch patches postPatch;
|
||||
name = "${name}-npm-deps";
|
||||
hash = npmDepsHash;
|
||||
}
|
||||
|
||||
@@ -36,8 +36,8 @@
|
||||
'';
|
||||
};
|
||||
|
||||
makeTest = { name, src, hash, forceGitDeps ? false }: testers.invalidateFetcherByDrvHash fetchNpmDeps {
|
||||
inherit name hash forceGitDeps;
|
||||
makeTest = { name, src, hash, forceGitDeps ? false, forceEmptyCache ? false }: testers.invalidateFetcherByDrvHash fetchNpmDeps {
|
||||
inherit name hash forceGitDeps forceEmptyCache;
|
||||
|
||||
src = makeTestSrc { inherit name src; };
|
||||
};
|
||||
@@ -98,6 +98,20 @@
|
||||
hash = "sha256-VzQhArHoznYSXUT7l9HkJV4yoSOmoP8eYTLel1QwmB4=";
|
||||
};
|
||||
|
||||
# This package has no resolved deps whatsoever, which will not actually work but does test the forceEmptyCache option.
|
||||
emptyCache = makeTest {
|
||||
name = "empty-cache";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/bufbuild/protobuf-es/v1.2.1/package-lock.json";
|
||||
hash = "sha256-UdBUEb4YRHsbvyjymIyjemJEiaI9KQRirqt+SFSK0wA=";
|
||||
};
|
||||
|
||||
hash = "sha256-Cdv40lQjRszzJtJydZt25uYfcJVeJGwH54A+agdH9wI=";
|
||||
|
||||
forceEmptyCache = true;
|
||||
};
|
||||
|
||||
# This package contains both hosted Git shorthand, and a bundled dependency that happens to override an existing one.
|
||||
etherpadLite1818 = makeTest {
|
||||
name = "etherpad-lite-1.8.18";
|
||||
@@ -124,6 +138,7 @@
|
||||
{ name ? "npm-deps"
|
||||
, hash ? ""
|
||||
, forceGitDeps ? false
|
||||
, forceEmptyCache ? false
|
||||
, ...
|
||||
} @ args:
|
||||
let
|
||||
@@ -136,6 +151,7 @@
|
||||
};
|
||||
|
||||
forceGitDeps_ = lib.optionalAttrs forceGitDeps { FORCE_GIT_DEPS = true; };
|
||||
forceEmptyCache_ = lib.optionalAttrs forceEmptyCache { FORCE_EMPTY_CACHE = true; };
|
||||
in
|
||||
stdenvNoCC.mkDerivation (args // {
|
||||
inherit name;
|
||||
@@ -174,5 +190,5 @@
|
||||
else "/no-cert-file.crt";
|
||||
|
||||
outputHashMode = "recursive";
|
||||
} // hash_ // forceGitDeps_);
|
||||
} // hash_ // forceGitDeps_ // forceEmptyCache_);
|
||||
}
|
||||
|
||||
@@ -43,6 +43,13 @@ impl Cache {
|
||||
Cache(path)
|
||||
}
|
||||
|
||||
pub fn init(&self) -> anyhow::Result<()> {
|
||||
fs::create_dir_all(self.0.join("content-v2"))?;
|
||||
fs::create_dir_all(self.0.join("index-v5"))?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn put(
|
||||
&self,
|
||||
key: String,
|
||||
|
||||
@@ -234,9 +234,14 @@ fn main() -> anyhow::Result<()> {
|
||||
(out_tempdir.path(), true)
|
||||
};
|
||||
|
||||
let packages = parse::lockfile(&lock_content, env::var("FORCE_GIT_DEPS").is_ok())?;
|
||||
let packages = parse::lockfile(
|
||||
&lock_content,
|
||||
env::var("FORCE_GIT_DEPS").is_ok(),
|
||||
env::var("FORCE_EMPTY_CACHE").is_ok(),
|
||||
)?;
|
||||
|
||||
let cache = Cache::new(out.join("_cacache"));
|
||||
cache.init()?;
|
||||
|
||||
packages.into_par_iter().try_for_each(|package| {
|
||||
eprintln!("{}", package.name);
|
||||
|
||||
@@ -14,7 +14,11 @@ use crate::util;
|
||||
|
||||
pub mod lock;
|
||||
|
||||
pub fn lockfile(content: &str, force_git_deps: bool) -> anyhow::Result<Vec<Package>> {
|
||||
pub fn lockfile(
|
||||
content: &str,
|
||||
force_git_deps: bool,
|
||||
force_empty_cache: bool,
|
||||
) -> anyhow::Result<Vec<Package>> {
|
||||
let mut packages = lock::packages(content)
|
||||
.context("failed to extract packages from lockfile")?
|
||||
.into_par_iter()
|
||||
@@ -25,6 +29,10 @@ pub fn lockfile(content: &str, force_git_deps: bool) -> anyhow::Result<Vec<Packa
|
||||
})
|
||||
.collect::<anyhow::Result<Vec<_>>>()?;
|
||||
|
||||
if packages.is_empty() && !force_empty_cache {
|
||||
bail!("No cacheable dependencies were found. Please inspect the upstream `package-lock.json` file and ensure that remote dependencies have `resolved` URLs and `integrity` hashes. If the lockfile is missing this data, attempt to get upstream to fix it via a tool like <https://github.com/jeslie0/npm-lockfile-fix>. If generating an empty cache is intentional and you would like to do it anyways, set `forceEmptyCache = true`.");
|
||||
}
|
||||
|
||||
let mut new = Vec::new();
|
||||
|
||||
for pkg in packages
|
||||
@@ -64,7 +72,13 @@ pub fn lockfile(content: &str, force_git_deps: bool) -> anyhow::Result<Vec<Packa
|
||||
}
|
||||
|
||||
if let Ok(lockfile_contents) = lockfile_contents {
|
||||
new.append(&mut lockfile(&lockfile_contents, force_git_deps)?);
|
||||
new.append(&mut lockfile(
|
||||
&lockfile_contents,
|
||||
force_git_deps,
|
||||
// force_empty_cache is turned on here since recursively parsed lockfiles should be
|
||||
// allowed to have an empty cache without erroring by default
|
||||
true,
|
||||
)?);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
let
|
||||
base = callPackage ./generic.nix (_args // {
|
||||
version = "8.1.25";
|
||||
hash = "sha256-qGqIwYQMG8gyvP0vvsO4oZQsgxTaXf9T8J+cmNDBLoo=";
|
||||
version = "8.1.26";
|
||||
hash = "sha256-g73iSchKoaBDqMjQ7qCTRcLK5puXhM3wIin8kW+7nqA=";
|
||||
});
|
||||
|
||||
in
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
let
|
||||
base = callPackage ./generic.nix (_args // {
|
||||
version = "8.2.12";
|
||||
hash = "sha256-cEMl9WsbTBf5+VHh/+9cZOFIiWBT804mJhUsuqLwWJM=";
|
||||
version = "8.2.13";
|
||||
hash = "sha256-ZlKfQ7ITEx5rJTxWAr7wXwSUWNISknMPzNY7SKBtZ7o=";
|
||||
});
|
||||
|
||||
in
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
{ callPackage, fetchurl, ... }@_args:
|
||||
|
||||
let
|
||||
base = (callPackage ./generic.nix (_args // {
|
||||
version = "8.3.0RC6";
|
||||
phpSrc = fetchurl {
|
||||
url = "https://downloads.php.net/~eric/php-8.3.0RC6.tar.xz";
|
||||
hash = "sha256-Hntdz+vEkh7EQgnB4IrnG2sQ5bG2uJW7T3a0RIbHBe0=";
|
||||
};
|
||||
}));
|
||||
base = callPackage ./generic.nix (_args // {
|
||||
version = "8.3.0";
|
||||
hash = "sha256-3mfQgz1CsZblpm+hozL0Xilsvo6UcuklayoHHDTcXtY=";
|
||||
});
|
||||
in
|
||||
base.withExtensions ({ all, ... }: with all; ([
|
||||
bcmath
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "wireplumber";
|
||||
version = "0.4.15";
|
||||
version = "0.4.16";
|
||||
|
||||
outputs = [ "out" "dev" ] ++ lib.optional enableDocs "doc";
|
||||
|
||||
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||
owner = "pipewire";
|
||||
repo = "wireplumber";
|
||||
rev = version;
|
||||
hash = "sha256-VwzpPAVfoaV47O7OjXtPQj5s8zfH5rkB22Pdlg7u5Fg=";
|
||||
hash = "sha256-BJ4Q34wLGQNxoihH+M8NBY5ZDw/D9RMda9GvFw7BemY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
, hatchling
|
||||
, hatch-jupyter-builder
|
||||
, jupyterlab
|
||||
, jupyter-packaging
|
||||
, ipywidgets
|
||||
, numpy
|
||||
, traitlets
|
||||
@@ -15,7 +14,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "bqscales";
|
||||
version = "0.3.3";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
@@ -23,24 +22,10 @@ buildPythonPackage rec {
|
||||
hash = "sha256-SlnNw4dWOzRedwIN3kCyl95qVqkY92QGOMS3Eyoqk0I=";
|
||||
};
|
||||
|
||||
# We relax dependencies here instead of pulling in a patch because upstream
|
||||
# has released a new version using hatch-jupyter-builder, but it is not yet
|
||||
# trivial to upgrade to that.
|
||||
#
|
||||
# Per https://github.com/bqplot/bqscales/issues/76, jupyterlab is not needed
|
||||
# as a build dependency right now.
|
||||
#
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace '"jupyterlab==3.*",' "" \
|
||||
--replace 'jupyter_packaging~=' 'jupyter_packaging>='
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatch-jupyter-builder
|
||||
hatchling
|
||||
jupyterlab
|
||||
jupyter-packaging
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -50,6 +35,8 @@ buildPythonPackage rec {
|
||||
traittypes
|
||||
];
|
||||
|
||||
env.SKIP_JUPYTER_BUILDER = 1;
|
||||
|
||||
# no tests in PyPI dist
|
||||
doCheck = false;
|
||||
|
||||
|
||||
@@ -34,14 +34,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jupyter-server";
|
||||
version = "2.7.3";
|
||||
version = "2.10.1";
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "jupyter_server";
|
||||
inherit version;
|
||||
hash = "sha256-1JFshYHE67xTTOvaqOyiR42fO/3Yjq4p/KsBIOrFdkk=";
|
||||
hash = "sha256-5tomV6lUp4ee7SjMCOCBewH/2B1+q4Y0ZgOXtV+SZHI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -90,9 +90,9 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
"test_server_extension_list"
|
||||
"test_cull_idle"
|
||||
"test_server_extension_list"
|
||||
"test_subscribe_websocket"
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
# attempts to use trashcan, build env doesn't allow this
|
||||
"test_delete"
|
||||
|
||||
@@ -38,6 +38,12 @@ buildPythonPackage rec {
|
||||
"tests"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# tests enum.IntFlag behaviour which has been disallowed in python 3.11.6
|
||||
# https://gitlab.com/dangass/plum/-/issues/150
|
||||
"tests/flag/test_flag_invalid.py"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Classes and utilities for packing/unpacking bytes";
|
||||
homepage = "https://plum-py.readthedocs.io/";
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
diff --git a/crates/polars-lazy/src/frame/mod.rs b/crates/polars-lazy/src/frame/mod.rs
|
||||
index 2d2ede651..be24b8809 100644
|
||||
--- a/crates/polars-lazy/src/frame/mod.rs
|
||||
+++ b/crates/polars-lazy/src/frame/mod.rs
|
||||
@@ -25,7 +25,7 @@ pub use parquet::*;
|
||||
use polars_core::frame::explode::MeltArgs;
|
||||
use polars_core::prelude::*;
|
||||
use polars_io::RowCount;
|
||||
-use polars_plan::dsl::all_horizontal;
|
||||
+use polars_plan::dsl::functions::all_horizontal;
|
||||
pub use polars_plan::frame::{AllowedOptimizations, OptState};
|
||||
use polars_plan::global::FETCH_ROWS;
|
||||
#[cfg(any(feature = "ipc", feature = "parquet", feature = "csv"))]
|
||||
@@ -32,13 +32,6 @@ buildPythonPackage {
|
||||
disabled = pythonOlder "3.6";
|
||||
src = rootSource;
|
||||
|
||||
patches = [
|
||||
# workaround for apparent rustc bug
|
||||
# remove when we're at Rust 1.73
|
||||
# https://github.com/pola-rs/polars/issues/12050
|
||||
./all_horizontal.patch
|
||||
];
|
||||
|
||||
# Cargo.lock file is sometimes behind actual release which throws an error,
|
||||
# thus the `sed` command
|
||||
# Make sure to check that the right substitutions are made when updating the package
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, appdirs
|
||||
, dungeon-eos
|
||||
, explorerscript
|
||||
@@ -38,6 +39,20 @@ buildPythonPackage rec {
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Necessary for skytemple-files to work with Pillow 10.1.0.
|
||||
# https://github.com/SkyTemple/skytemple-files/issues/449
|
||||
(fetchpatch {
|
||||
url = "https://github.com/SkyTemple/skytemple-files/commit/5dc6477d5411b43b80ba79cdaf3521d75d924233.patch";
|
||||
hash = "sha256-0511IRjOcQikhnbu3FkXn92mLAkO+kV9J94Z3f7EBcU=";
|
||||
includes = ["skytemple_files/graphics/kao/_model.py"];
|
||||
})
|
||||
(fetchpatch {
|
||||
url = "https://github.com/SkyTemple/skytemple-files/commit/9548f7cf3b1d834555b41497cfc0bddab10fd3f6.patch";
|
||||
hash = "sha256-a3GeR5IxXRIKY7I6rhKbOcQnoKxtH7Xf3Wx/BRFQHSc=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace skytemple_files/patch/arm_patcher.py skytemple_files/data/data_cd/armips_importer.py \
|
||||
--replace "exec_name = os.getenv(\"SKYTEMPLE_ARMIPS_EXEC\", f\"{prefix}armips\")" "exec_name = \"${armips}/bin/armips\""
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
, buildPythonPackage
|
||||
, cargo
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, libiconv
|
||||
, Foundation
|
||||
, rustPlatform
|
||||
@@ -28,13 +29,23 @@ buildPythonPackage rec {
|
||||
hash = "sha256-KQA8dfHnuysx9EUySJXZ/52Hfq6AbALwkBp3B1WJJuc=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Necessary for python3Packages.skytemple-files tests to pass.
|
||||
# https://github.com/SkyTemple/skytemple-files/issues/449
|
||||
(fetchpatch {
|
||||
url = "https://github.com/SkyTemple/skytemple-rust/commit/eeeac215c58eda2375dc499aaa1950df0e859802.patch";
|
||||
hash = "sha256-9oUrwI+ZMI0Pg8F/nzLkf0YNkO9WSMkUAqDk4GuGfQo=";
|
||||
includes = [ "src/st_kao.rs" ];
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Foundation ];
|
||||
nativeBuildInputs = [ setuptools-rust rustPlatform.cargoSetupHook cargo rustc ];
|
||||
propagatedBuildInputs = [ range-typed-integers ];
|
||||
|
||||
GETTEXT_SYSTEM = true;
|
||||
|
||||
doCheck = false; # there are no tests
|
||||
doCheck = false; # tests for this package are in skytemple-files package
|
||||
pythonImportsCheck = [ "skytemple_rust" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -14,7 +14,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = {
|
||||
description = "This is a PEP 561 type stub package for the appdirs package. It can be used by type-checking tools like mypy, pyright, pytype, PyCharm, etc. to check code that uses appdirs. ";
|
||||
homepage = "https://pypi.org/project/types-appdirss";
|
||||
homepage = "https://pypi.org/project/types-appdirs";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
};
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, meson
|
||||
, ninja
|
||||
, buildPythonPackage
|
||||
@@ -22,6 +23,13 @@ buildPythonPackage rec {
|
||||
sha256 = "142145a2whvlk92jijrbf3i2bqrzmspwpysj0bfypw0krzi0aa6j";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/pygobject/pycairo/commit/678edd94d8a6dfb5d51f9c3549e6ee8c90a73744.patch";
|
||||
sha256 = "sha256-HmP69tUGYxZvJ/M9FJHwHTCjb9Kf4aWRyMT4wSymrT0=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
|
||||
@@ -21,6 +21,15 @@ let
|
||||
"test/ext/mypy"
|
||||
];
|
||||
});
|
||||
flask-sqlalchemy = super.flask-sqlalchemy.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "3.0.5";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "flask_sqlalchemy";
|
||||
inherit version;
|
||||
hash = "sha256-xXZeWMoUVAG1IQbA9GF4VpJDxdolVWviwjHsxghnxbE=";
|
||||
};
|
||||
});
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "homeassistant-stubs";
|
||||
version = "2023.11.2";
|
||||
version = "2023.11.3";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = python.version != home-assistant.python.version;
|
||||
@@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
owner = "KapJI";
|
||||
repo = "homeassistant-stubs";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-stVfFXb5QfC+wZUSk53+jt/hb8kO1gCcgeOnHHpNlWE=";
|
||||
hash = "sha256-x3FcUmbUYAUKGAPb85SqJk1kTWFKxpJSX2J+rTRj1KY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -44,5 +44,6 @@ rustPlatform.buildRustPackage rec {
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = platforms.unix;
|
||||
badPlatforms = platforms.darwin;
|
||||
mainProgram = "xidlehook";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -19,10 +19,14 @@ let
|
||||
hash = "sha256-i3zml6LyEnUqNcGsQURx3BbEJMlXO+SSa1b/P10jt68=";
|
||||
};
|
||||
});
|
||||
urllib3 = prev.urllib3.overridePythonAttrs (prev: {
|
||||
format = "setuptools";
|
||||
urllib3 = prev.urllib3.overridePythonAttrs (prev: rec {
|
||||
pyproject = true;
|
||||
version = "1.26.18";
|
||||
nativeBuildInputs = with final; [
|
||||
setuptools
|
||||
];
|
||||
src = prev.src.override {
|
||||
version = "1.26.18";
|
||||
inherit version;
|
||||
hash = "sha256-+OzBu6VmdBNFfFKauVW/jGe0XbeZ0VkGYmFxnjKFgKA=";
|
||||
};
|
||||
});
|
||||
|
||||
@@ -30,5 +30,6 @@ rustPlatform.buildRustPackage rec {
|
||||
homepage = "https://github.com/beeb/awsbck";
|
||||
license = with licenses; [ mit asl20 ];
|
||||
maintainers = with maintainers; [ beeb ];
|
||||
mainProgram = "awsbck";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -36,5 +36,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ jluttine ];
|
||||
mainProgram = "bdsync";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -21,5 +21,6 @@ rustPlatform.buildRustPackage rec {
|
||||
homepage = "https://github.com/sourcefrog/conserve";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ happysalada ];
|
||||
mainProgram = "conserve";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -21,5 +21,6 @@ stdenv.mkDerivation rec {
|
||||
description = "A program that converts CD images in BIN/CUE format into a set of ISO and CDR tracks";
|
||||
platforms = platforms.unix;
|
||||
license = licenses.gpl2;
|
||||
mainProgram = "bchunk";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -56,5 +56,6 @@ stdenvNoCC.mkDerivation rec {
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ muscaln ];
|
||||
platforms = platforms.all;
|
||||
mainProgram = "bootiso";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -45,5 +45,6 @@ in stdenv.mkDerivation rec {
|
||||
maintainers = [ maintainers.bdimcheff ];
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "brasero";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -15,5 +15,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ yana ];
|
||||
platforms = platforms.unix;
|
||||
mainProgram = "ccd2iso";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -24,5 +24,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ hrdinka ];
|
||||
platforms = platforms.all;
|
||||
mainProgram = "cdi2iso";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -28,5 +28,6 @@ stdenv.mkDerivation {
|
||||
homepage = "https://github.com/makefu/cue2pops-linux";
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
platforms = platforms.all;
|
||||
mainProgram = "cue2pops";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -15,6 +15,7 @@ stdenv.mkDerivation rec {
|
||||
description = "A utility to identify and optionally copy recordings from a DVD-VR format disc";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ fgaz ];
|
||||
mainProgram = "dvd-vr";
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -93,5 +93,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ ];
|
||||
mainProgram = "dvdisaster";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -18,5 +18,6 @@ stdenv.mkDerivation (finalAttr: {
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ hughobrien ];
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "iat";
|
||||
};
|
||||
})
|
||||
|
||||
@@ -21,5 +21,6 @@ python3.pkgs.buildPythonApplication rec {
|
||||
description = "Verify size of ISO 9660 image against Volume Descriptor fields";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ mkg20001 ];
|
||||
mainProgram = "isolyzer";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -16,5 +16,6 @@ stdenv.mkDerivation rec {
|
||||
description = "Display information about audio, video, and subtitle tracks on a DVD";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "lsdvd";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -16,5 +16,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.unix;
|
||||
maintainers = [ maintainers.oxij ];
|
||||
mainProgram = "mdf2iso";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -17,5 +17,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.lgpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ pSub ];
|
||||
mainProgram = "mkcue";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -21,5 +21,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = "http://gregory.kokanosky.free.fr/v4/linux/nrg2iso.en.html";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.all;
|
||||
mainProgram = "nrg2iso";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,5 +39,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.doronbehar ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
mainProgram = "sacd";
|
||||
};
|
||||
})
|
||||
|
||||
@@ -27,5 +27,6 @@ stdenv.mkDerivation rec {
|
||||
maintainers = with maintainers; [ ericdallo ];
|
||||
homepage = "https://github.com/nwoltman/srt-to-vtt-cl";
|
||||
platforms = platforms.unix;
|
||||
mainProgram = "srt-vtt";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -21,5 +21,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = "http://aluigi.org/mytoolz.htm#uif2iso";
|
||||
license = lib.licenses.gpl1Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
mainProgram = "uif2iso";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -80,5 +80,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ ebzzry ];
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "unetbootin";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -19,5 +19,6 @@ stdenv.mkDerivation rec {
|
||||
|
||||
maintainers = [ lib.maintainers.bluescreen303 ];
|
||||
platforms = lib.platforms.all;
|
||||
mainProgram = "vobcopy";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -23,5 +23,6 @@ stdenv.mkDerivation rec {
|
||||
license = lib.licenses.gpl3Plus;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
mainProgram = "vobsub2srt";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -73,5 +73,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"libbrotlienc"
|
||||
];
|
||||
platforms = platforms.all;
|
||||
mainProgram = "brotli";
|
||||
};
|
||||
})
|
||||
|
||||
@@ -29,5 +29,6 @@ stdenv.mkDerivation rec {
|
||||
# Later commits changed the licence to Apache2 (no release yet, though)
|
||||
license = with licenses; [ lgpl3Plus ];
|
||||
platforms = platforms.unix;
|
||||
mainProgram = "bsc";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -25,5 +25,6 @@ rustPlatform.buildRustPackage rec {
|
||||
changelog = "https://github.com/sstadick/crabz/blob/v${version}/CHANGELOG.md";
|
||||
license = with licenses; [ unlicense /* or */ mit ];
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
mainProgram = "crabz";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -26,5 +26,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ mt-caret ];
|
||||
platforms = platforms.all;
|
||||
mainProgram = "dejsonlz4";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -51,5 +51,6 @@ python3Packages.buildPythonApplication rec {
|
||||
homepage = "https://github.com/dtrx-py/dtrx";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = [ ];
|
||||
mainProgram = "dtrx";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,5 +35,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.lunik1 ];
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "ect";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -27,5 +27,6 @@ stdenv.mkDerivation {
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = [ maintainers.xfix ];
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "flips";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -29,5 +29,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = [ maintainers.ivar ];
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "hacpack";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -31,5 +31,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.isc;
|
||||
maintainers = with maintainers; [ ivar ];
|
||||
platforms = platforms.unix;
|
||||
mainProgram = "hactool";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,5 +39,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.isc;
|
||||
maintainers = with maintainers; [ fgaz ];
|
||||
platforms = platforms.all;
|
||||
mainProgram = "heatshrink";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -54,5 +54,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.ivar ];
|
||||
platforms = platforms.unix;
|
||||
mainProgram = "ImageLOL";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -23,5 +23,6 @@ stdenv.mkDerivation rec {
|
||||
description = "In-memory benchmark of open-source LZ77/LZSS/LZMA compressors";
|
||||
license = licenses.free;
|
||||
platforms = platforms.all;
|
||||
mainProgram = "lzbench";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -24,5 +24,6 @@ stdenv.mkDerivation rec {
|
||||
platforms = platforms.unix;
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ ];
|
||||
mainProgram = "lzfse";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -33,5 +33,6 @@ stdenv.mkDerivation rec {
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ vlaci ];
|
||||
platforms = lib.platforms.all;
|
||||
mainProgram = "lzip";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -27,5 +27,6 @@ stdenv.mkDerivation rec {
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ vlaci ];
|
||||
platforms = lib.platforms.all;
|
||||
mainProgram = "lziprecover";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -17,5 +17,6 @@ stdenv.mkDerivation rec {
|
||||
maintainers = with maintainers; [ ];
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.unix;
|
||||
mainProgram = "lzop";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -34,5 +34,6 @@ stdenv.mkDerivation rec {
|
||||
maintainers = with maintainers; [ kira-bruneau pshirshov raskin ];
|
||||
platforms = python3.meta.platforms;
|
||||
homepage = "https://gist.github.com/Tblue/62ff47bef7f894e92ed5";
|
||||
mainProgram = "mozlz4a";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -29,5 +29,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.unfree; # No license specified upstream
|
||||
platforms = [ "x86_64-linux" ]; # Should work on Darwin as well, but this is untested. aarch64-linux fails.
|
||||
maintainers = [ maintainers.ivar ];
|
||||
mainProgram = "nx2elf";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -28,5 +28,6 @@ stdenv.mkDerivation rec {
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ r-burns ];
|
||||
platforms = platforms.unix;
|
||||
mainProgram = "offzip";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,5 +35,6 @@ rustPlatform.buildRustPackage rec {
|
||||
homepage = "https://github.com/richox/orz";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
mainProgram = "orz";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -41,5 +41,6 @@ rustPlatform.buildRustPackage rec {
|
||||
changelog = "https://github.com/ouch-org/ouch/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ figsoda psibi ];
|
||||
mainProgram = "ouch";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -22,5 +22,6 @@ stdenv.mkDerivation rec {
|
||||
platforms = platforms.unix;
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.matthewbauer ];
|
||||
mainProgram = "pbzx";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -47,5 +47,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.bsd2;
|
||||
maintainers = [ maintainers.raskin ];
|
||||
platforms = platforms.unix;
|
||||
mainProgram = "pixz";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -21,5 +21,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ _360ied ];
|
||||
mainProgram = "plzip";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -24,5 +24,6 @@ stdenv.mkDerivation rec {
|
||||
maintainers = with maintainers; [ ];
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.unix;
|
||||
mainProgram = "rzip";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -31,5 +31,6 @@ rustPlatform.buildRustPackage rec {
|
||||
homepage = "https://github.com/quininer/unzrip";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
mainProgram = "unzrip";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -18,5 +18,6 @@ stdenv.mkDerivation rec {
|
||||
description = "The Ultimate Packer for eXecutables";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.unix;
|
||||
mainProgram = "upx";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -42,5 +42,6 @@ stdenv.mkDerivation rec {
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ copumpkin ];
|
||||
platforms = lib.platforms.all;
|
||||
mainProgram = "xar";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -52,5 +52,6 @@ stdenv.mkDerivation rec {
|
||||
maintainers = [ maintainers.spease ];
|
||||
# 64-bit only
|
||||
platforms = platforms.aarch64 ++ platforms.x86_64;
|
||||
mainProgram = "zfp";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -48,5 +48,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
platforms = platforms.unix;
|
||||
mainProgram = "aaphoto";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -45,5 +45,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ muscaln ];
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "adriconf";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -26,5 +26,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.infinisil ];
|
||||
platforms = platforms.unix;
|
||||
mainProgram = "blockhash";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -29,5 +29,6 @@ stdenv.mkDerivation rec {
|
||||
platforms = platforms.unix;
|
||||
broken = stdenv.hostPlatform.isDarwin; # packages 'libdrm' and 'gbm' not found
|
||||
maintainers = with maintainers; [ romildo ];
|
||||
mainProgram = "blur_image";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -25,5 +25,6 @@ stdenv.mkDerivation rec {
|
||||
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
|
||||
license = lib.licenses.gpl3;
|
||||
platforms = lib.platforms.unix;
|
||||
mainProgram = "briss";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -36,5 +36,6 @@ stdenv.mkDerivation rec {
|
||||
platforms = platforms.linux;
|
||||
homepage = "https://contextfreeart.org/";
|
||||
license = licenses.gpl2Only;
|
||||
mainProgram = "cfdg";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -40,5 +40,6 @@ stdenv.mkDerivation {
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.raskin ];
|
||||
mainProgram = "cuneiform";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -29,5 +29,6 @@ buildGoModule rec {
|
||||
"An extensive, fast, and accurate command-line image dithering tool";
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = with lib.maintainers; [ ehmry ];
|
||||
mainProgram = "didder";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -31,5 +31,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.lgpl3;
|
||||
platforms = platforms.unix;
|
||||
maintainers = [ maintainers.bjornfor ];
|
||||
mainProgram = "ditaa";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -24,5 +24,6 @@ rustPlatform.buildRustPackage rec {
|
||||
homepage = "https://github.com/dnglab/dnglab";
|
||||
license = licenses.lgpl21Only;
|
||||
maintainers = with maintainers; [ dit7ya ];
|
||||
mainProgram = "dnglab";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -18,6 +18,7 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ aespinosa ];
|
||||
platforms = platforms.all;
|
||||
mainProgram = "dpic";
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -21,5 +21,6 @@ stdenv.mkDerivation rec {
|
||||
description = "A dynamic resource editor for X Toolkit applications";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "editres";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -25,5 +25,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.asppsa ];
|
||||
platforms = platforms.all;
|
||||
mainProgram = "epstool";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -47,5 +47,6 @@ with python3Packages; buildPythonApplication {
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ rasendubi ];
|
||||
license = licenses.gpl3;
|
||||
mainProgram = "escrotum";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -36,5 +36,6 @@ stdenv.mkDerivation {
|
||||
platforms = lib.platforms.unix;
|
||||
# never built on aarch64-darwin, x86_64-darwin since first introduction in nixpkgs
|
||||
broken = stdenv.isDarwin;
|
||||
mainProgram = "esshader";
|
||||
};
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user