Merge master into haskell-updates

This commit is contained in:
github-actions[bot] 2024-02-21 00:12:23 +00:00 committed by GitHub
commit f694e31ceb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
223 changed files with 28864 additions and 2035 deletions

View file

@ -116,11 +116,11 @@ buildPythonPackage rec {
rm testing/test_argcomplete.py
'';
nativeBuildInputs = [
build-system = [
setuptools-scm
];
propagatedBuildInputs = [
dependencies = [
attrs
py
setuptools
@ -172,7 +172,7 @@ following are specific to `buildPythonPackage`:
variable in wrapped programs.
* `pyproject`: Whether the pyproject format should be used. When set to `true`,
`pypaBuildHook` will be used, and you can add the required build dependencies
from `build-system.requires` to `nativeBuildInputs`. Note that the pyproject
from `build-system.requires` to `build-system`. Note that the pyproject
format falls back to using `setuptools`, so you can use `pyproject = true`
even if the package only has a `setup.py`. When set to `false`, you can
use the existing [hooks](#setup-hooks0 or provide your own logic to build the
@ -206,17 +206,22 @@ build inputs (see "Specifying dependencies"). The following are of special
interest for Python packages, either because these are primarily used, or
because their behaviour is different:
* `nativeBuildInputs ? []`: Build-time only dependencies. Typically executables
as well as the items listed in `setup_requires`.
* `nativeBuildInputs ? []`: Build-time only dependencies. Typically executables.
* `build-system ? []`: Build-time only Python dependencies. Items listed in `build-system.requires`/`setup_requires`.
* `buildInputs ? []`: Build and/or run-time dependencies that need to be
compiled for the host machine. Typically non-Python libraries which are being
linked.
* `nativeCheckInputs ? []`: Dependencies needed for running the [`checkPhase`](#ssec-check-phase). These
are added to [`nativeBuildInputs`](#var-stdenv-nativeBuildInputs) when [`doCheck = true`](#var-stdenv-doCheck). Items listed in
`tests_require` go here.
* `propagatedBuildInputs ? []`: Aside from propagating dependencies,
* `dependencies ? []`: Aside from propagating dependencies,
`buildPythonPackage` also injects code into and wraps executables with the
paths included in this list. Items listed in `install_requires` go here.
* `optional-dependencies ? { }`: Optional feature flagged dependencies. Items listed in `extras_requires` go here.
Aside from propagating dependencies,
`buildPythonPackage` also injects code into and wraps executables with the
paths included in this list. Items listed in `extras_requires` go here.
##### Overriding Python packages {#overriding-python-packages}
@ -299,11 +304,12 @@ python3Packages.buildPythonApplication rec {
hash = "sha256-Pe229rT0aHwA98s+nTHQMEFKZPo/yw6sot8MivFDvAw=";
};
nativeBuildInputs = with python3Packages; [
build-system = with python3Packages; [
setuptools
wheel
];
propagatedBuildInputs = with python3Packages; [
dependencies = with python3Packages; [
tornado
python-daemon
];
@ -462,11 +468,11 @@ are used in [`buildPythonPackage`](#buildpythonpackage-function).
- `eggBuildHook` to skip building for eggs.
- `eggInstallHook` to install eggs.
- `pipBuildHook` to build a wheel using `pip` and PEP 517. Note a build system
(e.g. `setuptools` or `flit`) should still be added as `nativeBuildInput`.
(e.g. `setuptools` or `flit`) should still be added as `build-system`.
- `pypaBuildHook` to build a wheel using
[`pypa/build`](https://pypa-build.readthedocs.io/en/latest/index.html) and
PEP 517/518. Note a build system (e.g. `setuptools` or `flit`) should still
be added as `nativeBuildInput`.
be added as `build-system`.
- `pipInstallHook` to install wheels.
- `pytestCheckHook` to run tests with `pytest`. See [example usage](#using-pytestcheckhook).
- `pythonCatchConflictsHook` to check whether a Python package is not already existing.
@ -881,7 +887,7 @@ buildPythonPackage rec {
hash = "sha256-CP3V73yWSArRHBLUct4hrNMjWZlvaaUlkpm1QP66RWA=";
};
nativeBuildInputs = [
build-system = [
setuptools
wheel
];
@ -941,7 +947,7 @@ with import <nixpkgs> {};
hash = "sha256-CP3V73yWSArRHBLUct4hrNMjWZlvaaUlkpm1QP66RWA=";
};
nativeBuildInputs = [
build-system = [
python311.pkgs.setuptools
python311.pkgs.wheel
];
@ -977,13 +983,15 @@ that we introduced with the `let` expression.
#### Handling dependencies {#handling-dependencies}
Our example, `toolz`, does not have any dependencies on other Python packages or
system libraries. According to the manual, [`buildPythonPackage`](#buildpythonpackage-function) uses the
arguments [`buildInputs`](#var-stdenv-buildInputs) and [`propagatedBuildInputs`](#var-stdenv-propagatedBuildInputs) to specify dependencies. If
something is exclusively a build-time dependency, then the dependency should be
included in [`buildInputs`](#var-stdenv-buildInputs), but if it is (also) a runtime dependency, then it
should be added to [`propagatedBuildInputs`](#var-stdenv-propagatedBuildInputs). Test dependencies are considered
build-time dependencies and passed to [`nativeCheckInputs`](#var-stdenv-nativeCheckInputs).
Our example, `toolz`, does not have any dependencies on other Python packages or system libraries.
[`buildPythonPackage`](#buildpythonpackage-function) uses the the following arguments in the following circumstances:
- `dependencies` - For Python runtime dependencies.
- `build-system` - For Python build-time requirements.
- [`buildInputs`](#var-stdenv-buildInputs) - For non-Python build-time requirements.
- [`nativeCheckInputs`](#var-stdenv-nativeCheckInputs) - For test dependencies
Dependencies can belong to multiple arguments, for example if something is both a build time requirement & a runtime dependency.
The following example shows which arguments are given to [`buildPythonPackage`](#buildpythonpackage-function) in
order to build [`datashape`](https://github.com/blaze/datashape).
@ -1013,12 +1021,12 @@ buildPythonPackage rec {
hash = "sha256-FLLvdm1MllKrgTGC6Gb0k0deZeVYvtCCLji/B7uhong=";
};
nativeBuildInputs = [
build-system = [
setuptools
wheel
];
propagatedBuildInputs = [
dependencies = [
multipledispatch
numpy
python-dateutil
@ -1041,7 +1049,7 @@ buildPythonPackage rec {
We can see several runtime dependencies, `numpy`, `multipledispatch`, and
`python-dateutil`. Furthermore, we have [`nativeCheckInputs`](#var-stdenv-nativeCheckInputs) with `pytest`.
`pytest` is a test runner and is only used during the [`checkPhase`](#ssec-check-phase) and is
therefore not added to [`propagatedBuildInputs`](#var-stdenv-propagatedBuildInputs).
therefore not added to `dependencies`.
In the previous case we had only dependencies on other Python packages to consider.
Occasionally you have also system libraries to consider. E.g., `lxml` provides
@ -1068,7 +1076,7 @@ buildPythonPackage rec {
hash = "sha256-s9NiusRxFydHzaNRMjjxFcvWxfi45jGb9ql6eJJyQJk=";
};
nativeBuildInputs = [
build-system = [
setuptools
wheel
];
@ -1125,7 +1133,7 @@ buildPythonPackage rec {
hash = "sha256-9ru2r6kwhUCaskiFoaPNuJCfCVoUL01J40byvRt4kHQ=";
};
nativeBuildInputs = [
build-system = [
setuptools
wheel
];
@ -1136,7 +1144,7 @@ buildPythonPackage rec {
fftwLongDouble
];
propagatedBuildInputs = [
dependencies = [
numpy
scipy
];
@ -1459,9 +1467,7 @@ mode is activated.
In the following example, we create a simple environment that has a Python 3.11
version of our package in it, as well as its dependencies and other packages we
like to have in the environment, all specified with [`propagatedBuildInputs`](#var-stdenv-propagatedBuildInputs).
Indeed, we can just add any package we like to have in our environment to
[`propagatedBuildInputs`](#var-stdenv-propagatedBuildInputs).
like to have in the environment, all specified with `dependencies`.
```nix
with import <nixpkgs> {};
@ -1470,9 +1476,11 @@ with python311Packages;
buildPythonPackage rec {
name = "mypackage";
src = ./path/to/package/source;
propagatedBuildInputs = [
dependencies = [
pytest
numpy
];
propagatedBuildInputs = [
pkgs.libsndfile
];
}
@ -1519,7 +1527,7 @@ buildPythonPackage rec {
hash = "sha256-CP3V73yWSArRHBLUct4hrNMjWZlvaaUlkpm1QP66RWA=";
};
nativeBuildInputs = [
build-system = [
setuptools
wheel
];
@ -1903,8 +1911,8 @@ configure alternatives](#sec-overlays-alternatives-blas-lapack)".
In a `setup.py` or `setup.cfg` it is common to declare dependencies:
* `setup_requires` corresponds to [`nativeBuildInputs`](#var-stdenv-nativeBuildInputs)
* `install_requires` corresponds to [`propagatedBuildInputs`](#var-stdenv-propagatedBuildInputs)
* `setup_requires` corresponds to `build-system`
* `install_requires` corresponds to `dependencies`
* `tests_require` corresponds to [`nativeCheckInputs`](#var-stdenv-nativeCheckInputs)
### How to enable interpreter optimizations? {#optimizations}
@ -1928,12 +1936,10 @@ in mypython
Some packages define optional dependencies for additional features. With
`setuptools` this is called `extras_require` and `flit` calls it
`extras-require`, while PEP 621 calls these `optional-dependencies`. A
method for supporting this is by declaring the extras of a package in its
`passthru`, e.g. in case of the package `dask`
`extras-require`, while PEP 621 calls these `optional-dependencies`.
```nix
passthru.optional-dependencies = {
optional-dependencies = {
complete = [ distributed ];
};
```
@ -1941,11 +1947,13 @@ passthru.optional-dependencies = {
and letting the package requiring the extra add the list to its dependencies
```nix
propagatedBuildInputs = [
dependencies = [
...
] ++ dask.optional-dependencies.complete;
```
This method is using `passthru`, meaning that changing `optional-dependencies` of a package won't cause it to rebuild.
Note this method is preferred over adding parameters to builders, as that can
result in packages depending on different variants and thereby causing
collisions.

View file

@ -2551,6 +2551,12 @@
githubId = 185443;
name = "Alexey Lebedeff";
};
binarycat = {
email = "binarycat@envs.net";
github = "lolbinarycat";
githubId = 19915050;
name = "binarycat";
};
binsky = {
email = "timo@binsky.org";
github = "binsky08";
@ -16515,6 +16521,12 @@
github = "RossComputerGuy";
githubId = 19699320;
};
rostan-t = {
name = "Rostan Tabet";
email = "rostan.tabet@gmail.com";
github = "rostan-t";
githubId = 30502549;
};
rotaerk = {
name = "Matthew Stewart";
email = "m.scott.stewart@gmail.com";
@ -20839,6 +20851,13 @@
githubId = 31734358;
name = "Xavier Groleau";
};
xgwq = {
name = "XGWQ";
email = "nixos@xnee.de";
matrix = "@xgwq:nerdberg.de";
github = "peterablehmann";
githubId = 36541313;
};
xiorcale = {
email = "quentin.vaucher@pm.me";
github = "xiorcale";

View file

@ -8,6 +8,8 @@ in
services.atuin = {
enable = lib.mkEnableOption (mdDoc "Atuin server for shell history sync");
package = lib.mkPackageOption pkgs "atuin" { };
openRegistration = mkOption {
type = types.bool;
default = false;
@ -85,7 +87,7 @@ in
wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStart = "${pkgs.atuin}/bin/atuin server start";
ExecStart = "${lib.getExe cfg.package} server start";
RuntimeDirectory = "atuin";
RuntimeDirectoryMode = "0700";
DynamicUser = true;

View file

@ -39,6 +39,10 @@ let
'';
destination = "/share/gnome-background-properties/nixos.xml";
};
budgie-control-center = pkgs.budgie.budgie-control-center.override {
enableSshSocket = config.services.openssh.startWhenNeeded;
};
in {
options = {
services.xserver.desktopManager.budgie = {
@ -114,7 +118,7 @@ in {
[
# Budgie Desktop.
budgie.budgie-backgrounds
budgie.budgie-control-center
budgie-control-center
(budgie.budgie-desktop-with-plugins.override { plugins = cfg.extraPlugins; })
budgie.budgie-desktop-view
budgie.budgie-screensaver
@ -233,8 +237,8 @@ in {
services.gvfs.enable = mkDefault true;
# Register packages for DBus.
services.dbus.packages = with pkgs; [
budgie.budgie-control-center
services.dbus.packages = [
budgie-control-center
];
# Register packages for udev.

View file

@ -173,19 +173,20 @@ in
];
optionalPackages = [
onboard # dde-dock plugin
deepin-camera
deepin-calculator
deepin-compressor
deepin-editor
deepin-picker
deepin-draw
deepin-album
deepin-image-viewer
deepin-music
deepin-movie-reborn
deepin-system-monitor
deepin-screen-recorder
deepin-shortcut-viewer
# freeimage has knownVulnerabilties, don't install packages using freeiamge by default
# deepin-album
# deepin-camera
# deepin-image-viewer
# deepin-screen-recorder
];
in
requiredPackages

View file

@ -90,8 +90,6 @@ let
inherit (cfg) packages package;
};
fileSystems = filter utils.fsNeededForBoot config.system.build.fileSystems;
kernel-name = config.boot.kernelPackages.kernel.name or "kernel";
modulesTree = config.system.modulesTree.override { name = kernel-name + "-modules"; };
firmware = config.hardware.firmware;

View file

@ -27,6 +27,20 @@ in
description = lib.mdDoc "Version of the image or generation the UKI belongs to";
};
tries = lib.mkOption {
type = lib.types.nullOr lib.types.ints.unsigned;
default = null;
description = lib.mdDoc ''
Number of boot attempts before this UKI is considered bad.
If no tries are specified (the default) automatic boot assessment remains inactive.
See documentation on [Automatic Boot Assessment](https://systemd.io/AUTOMATIC_BOOT_ASSESSMENT/) and
[boot counting](https://uapi-group.org/specifications/specs/boot_loader_specification/#boot-counting)
for more information.
'';
};
settings = lib.mkOption {
type = format.type;
description = lib.mdDoc ''
@ -69,8 +83,9 @@ in
name = config.boot.uki.name;
version = config.boot.uki.version;
versionInfix = if version != null then "_${version}" else "";
triesInfix = if cfg.tries != null then "+${builtins.toString cfg.tries}" else "";
in
name + versionInfix + ".efi";
name + versionInfix + triesInfix + ".efi";
system.build.uki = pkgs.runCommand config.system.boot.loader.ukiFile { } ''
mkdir -p $out

View file

@ -199,7 +199,8 @@ def main() -> None:
size=os.stat(source).st_size,
filetype=FileType.file,
mode=mode,
payload=target,
# payload needs to be relative path in this case
payload=target.lstrip("/"),
)
paths[target] = composefs_path
add_leading_directories(target, attrs, paths)

View file

@ -1,4 +1,18 @@
{ pkgs, lib, ... }: {
{ pkgs, lib, ... }:
let
geoserver = pkgs.geoserver;
geoserverWithImporterExtension = pkgs.geoserver.withExtensions (ps: with ps; [ importer ]);
# Blacklisted extensions:
# - wps-jdbc needs a running (Postrgres) db server.
blacklist = [ "wps-jdbc" ];
blacklistedToNull = n: v: if ! builtins.elem n blacklist then v else null;
getNonBlackistedExtensionsAsList = ps: builtins.filter (x: x != null) (lib.attrsets.mapAttrsToList blacklistedToNull ps);
geoserverWithAllExtensions = pkgs.geoserver.withExtensions (ps: getNonBlackistedExtensionsAsList ps);
in
{
name = "geoserver";
meta = {
@ -9,16 +23,57 @@
machine = { pkgs, ... }: {
virtualisation.diskSize = 2 * 1024;
environment.systemPackages = [ pkgs.geoserver ];
environment.systemPackages = [
geoserver
geoserverWithImporterExtension
geoserverWithAllExtensions
];
};
};
testScript = ''
from contextlib import contextmanager
curl_cmd = "curl --fail --connect-timeout 2"
curl_cmd_rest = f"{curl_cmd} -u admin:geoserver -X GET"
base_url = "http://localhost:8080/geoserver"
log_file = "./log.txt"
@contextmanager
def running_geoserver(pkg):
try:
print(f"Launching geoserver from {pkg}...")
machine.execute(f"{pkg}/bin/geoserver-startup > {log_file} 2>&1 &")
machine.wait_until_succeeds(f"{curl_cmd} {base_url} 2>&1", timeout=60)
yield
finally:
# We need to wait a little bit to make sure the server is properly
# shutdown before launching a new instance.
machine.execute(f"{pkg}/bin/geoserver-shutdown; sleep 1")
start_all()
machine.execute("${pkgs.geoserver}/bin/geoserver-startup > /dev/null 2>&1 &")
machine.wait_until_succeeds("curl --fail --connect-timeout 2 http://localhost:8080/geoserver", timeout=60)
with running_geoserver("${geoserver}"):
machine.succeed(f"{curl_cmd} {base_url}/ows?service=WMS&version=1.3.0&request=GetCapabilities")
# No extensions yet.
machine.fail(f"{curl_cmd_rest} {base_url}/rest/imports")
machine.fail(f"{curl_cmd_rest} {base_url}/rest/monitor/requests.csv")
with running_geoserver("${geoserverWithImporterExtension}"):
machine.succeed(f"{curl_cmd_rest} {base_url}/rest/imports")
machine.fail(f"{curl_cmd_rest} {base_url}/rest/monitor/requests.csv")
with running_geoserver("${geoserverWithAllExtensions}"):
machine.succeed(f"{curl_cmd_rest} {base_url}/rest/imports")
machine.succeed(f"{curl_cmd_rest} {base_url}/rest/monitor/requests.csv")
_, stdout = machine.execute(f"cat {log_file}")
print(stdout.replace("\\n", "\n"))
assert "GDAL Native Library loaded" in stdout, "gdal"
assert "The turbo jpeg encoder is available for usage" in stdout, "libjpeg-turbo"
assert "org.geotools.imageio.netcdf.utilities.NetCDFUtilities" in stdout, "netcdf"
assert "Unable to load library 'netcdf'" not in stdout, "netcdf"
machine.succeed("curl --fail --connect-timeout 2 http://localhost:8080/geoserver/ows?service=WMS&version=1.3.0&request=GetCapabilities")
'';
}

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "stochas";
version = "1.3.9";
version = "1.3.10";
src = fetchFromGitHub {
owner = "surge-synthesizer";
repo = pname;
rev = "v${version}";
sha256 = "sha256-AnYViWterLBsTtd0wohff1CEwrSYA4CvOLGhJnPFUt8=";
sha256 = "sha256-L7dzUUQNCwcuQavUx9hBH0FX5KSocfeYUv5qBcPD2Vg=";
fetchSubmodules = true;
};

View file

@ -1,6 +1,8 @@
{ lib
, stdenv
, fetchurl
, fetchFromGitHub
, autoconf-archive
, autoreconfHook
, pkg-config
, curlWithGnuTls
, libev
@ -9,14 +11,16 @@
stdenv.mkDerivation rec {
pname = "clboss";
version = "0.12";
version = "0.13";
src = fetchurl {
url = "https://github.com/ZmnSCPxj/clboss/releases/download/${version}/clboss-${version}.tar.gz";
hash = "sha256-UZcSfbpp3vPsD3CDukp+r5Z60h0UEWTduqF4DhJ+H2U=";
src = fetchFromGitHub {
owner = "ZmnSCPxj";
repo = "clboss";
rev = "v${version}";
hash = "sha256-NP9blymdqDXo/OtGLQg/MXK24PpPvCrzqXRdtfCvpfI=";
};
nativeBuildInputs = [ pkg-config libev curlWithGnuTls sqlite ];
nativeBuildInputs = [ autoconf-archive autoreconfHook pkg-config libev curlWithGnuTls sqlite ];
enableParallelBuilding = true;

View file

@ -1,4 +1,6 @@
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, wrapQtAppsHook, boost, libGL
{ lib, stdenv, fetchFromGitHub
, fetchpatch
, cmake, pkg-config, wrapQtAppsHook, boost, libGL
, qtbase, python3 }:
stdenv.mkDerivation rec {
@ -14,6 +16,17 @@ stdenv.mkDerivation rec {
hash = "sha256-YvYEXHC8kxviZLQwINs+pS61wITSfqfrrPmlR+zNRoE=";
};
patches = [
# Fix gcc-13 build failure due to missing <cstdint> includes.
(fetchpatch {
name = "gcc-13.patch";
url = "https://github.com/facebook/rocksdb/commit/88edfbfb5e1cac228f7cc31fbec24bb637fe54b1.patch";
stripLen = 1;
extraPrefix = "submodules/rocksdb/";
hash = "sha256-HhlIYyPzIZFuyzHTUPz3bXgXiaFSQ8pVrLLMzegjTgE=";
})
];
cmakeFlags = let
options = {
PYTHON_EXECUTABLE = "${python3.interpreter}";

View file

@ -29,13 +29,13 @@
stdenv.mkDerivation rec {
pname = "gedit";
version = "46.1";
version = "46.2";
outputs = [ "out" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/gedit/${lib.versions.major version}/gedit-${version}.tar.xz";
sha256 = "oabjfwQXZd/3InofVXi29J+q8Bax4X6GnK9b+5TGqk4=";
sha256 = "wIZkErrRR+us4tKC/8u1oOmjBLIP1VZAvuIcgebVAe8=";
};
patches = [
@ -92,7 +92,7 @@ stdenv.mkDerivation rec {
};
meta = with lib; {
homepage = "https://wiki.gnome.org/Apps/Gedit";
homepage = "https://gedit-technology.github.io/apps/gedit/";
description = "Former GNOME text editor";
maintainers = with maintainers; [ bobby285271 ];
license = licenses.gpl2Plus;

View file

@ -19,6 +19,10 @@ mkDerivation rec {
hash = "sha256-Mpx4fHktxqBAkmdwqg2pXvEgvvGUQPbgqxKwXKjhJuQ=";
};
patches = [
./openbabel.patch
];
# uses C++17 APIs like std::transform_reduce
postPatch = ''
substituteInPlace molsketch/CMakeLists.txt \
@ -34,7 +38,7 @@ mkDerivation rec {
'';
postFixup = ''
mv $out/lib/molsketch/* $out/lib
ln -s $out/lib/molsketch/* $out/lib/.
'';
nativeBuildInputs = [ cmake pkg-config qttools wrapQtAppsHook ];

View file

@ -0,0 +1,12 @@
diff --git a/obabeliface/obabeliface.cpp b/obabeliface/obabeliface.cpp
index 98a9020..a168803 100644
--- a/obabeliface/obabeliface.cpp
+++ b/obabeliface/obabeliface.cpp
@@ -196,6 +196,7 @@ namespace Molsketch
// TODO should be const, but OpenBabel iterator methods do not support const
bool hasCoordinates(OpenBabel::OBMol &molecule) {
+ using namespace OpenBabel;
FOR_ATOMS_OF_MOL(obatom, molecule) {
if (obatom->GetVector() != OpenBabel::VZero)
return true;

View file

@ -5,6 +5,7 @@
, which
, zip
, libicns
, botan2
, capstone
, jansson
, libunistring
@ -19,19 +20,19 @@
stdenv.mkDerivation rec {
pname = "rehex";
version = "0.60.1";
version = "0.61.0";
src = fetchFromGitHub {
owner = "solemnwarning";
repo = pname;
rev = version;
hash = "sha256-oF8XtxKqyo6c2lNH6WDq6aEPeZw8RqBinDVhPpaDAWg=";
hash = "sha256-NBBBeTy15q6G30XR2PVd/xdIg41U2pWSPtqpdQX/+9o=";
};
nativeBuildInputs = [ pkg-config which zip ]
++ lib.optionals stdenv.isDarwin [ libicns ];
buildInputs = [ capstone jansson libunistring wxGTK32 ]
buildInputs = [ botan2 capstone jansson libunistring wxGTK32 ]
++ (with lua53Packages; [ lua busted ])
++ (with perlPackages; [ perl TemplateToolkit ])
++ lib.optionals stdenv.isLinux [ gtk3 ]

View file

@ -677,6 +677,18 @@ final: prev:
meta.homepage = "https://github.com/vim-scripts/argtextobj.vim/";
};
astrotheme = buildVimPlugin {
pname = "astrotheme";
version = "2024-01-27";
src = fetchFromGitHub {
owner = "AstroNvim";
repo = "astrotheme";
rev = "415d0030a86dc52371925483a823eb04d483447b";
sha256 = "16brpfp5kdgdlpij72kl02gzql04cyhswsaw93qm2svfvr9q2v9x";
};
meta.homepage = "https://github.com/AstroNvim/astrotheme/";
};
async-vim = buildVimPlugin {
pname = "async.vim";
version = "2022-04-04";
@ -929,6 +941,18 @@ final: prev:
meta.homepage = "https://github.com/rafi/awesome-vim-colorschemes/";
};
aylin-vim = buildVimPlugin {
pname = "aylin.vim";
version = "2022-08-13";
src = fetchFromGitHub {
owner = "AhmedAbdulrahman";
repo = "aylin.vim";
rev = "d9532f02f5ea8f396fc62c50bb34c348b4a9aa02";
sha256 = "1fqi0y49ac7ix39l8c27j7zysl4g9sm0akkmhpbznccc74kb6r7w";
};
meta.homepage = "https://github.com/AhmedAbdulrahman/aylin.vim/";
};
ayu-vim = buildVimPlugin {
pname = "ayu-vim";
version = "2020-05-29";
@ -965,6 +989,18 @@ final: prev:
meta.homepage = "https://github.com/m00qek/baleia.nvim/";
};
bamboo-nvim = buildVimPlugin {
pname = "bamboo.nvim";
version = "2024-01-30";
src = fetchFromGitHub {
owner = "ribru17";
repo = "bamboo.nvim";
rev = "b79d540b251a2085d439f5a7c0fe12b9ed54bab6";
sha256 = "1qs0fw9f17x7xyqgx0911q3szrnqfrn77q2ja5pcf8vhq1hk4f1y";
};
meta.homepage = "https://github.com/ribru17/bamboo.nvim/";
};
barbar-nvim = buildVimPlugin {
pname = "barbar.nvim";
version = "2024-02-06";
@ -1121,6 +1157,30 @@ final: prev:
meta.homepage = "https://github.com/blueballs-theme/blueballs-neovim/";
};
bluloco-nvim = buildVimPlugin {
pname = "bluloco.nvim";
version = "2024-01-22";
src = fetchFromGitHub {
owner = "uloco";
repo = "bluloco.nvim";
rev = "e97a9d61fad847a8d98c280181dde1c228be422b";
sha256 = "04qbp7chz009kma6lv2zvqkj9z5hv3c45h0zzyc0w145450isqv7";
};
meta.homepage = "https://github.com/uloco/bluloco.nvim/";
};
boo-colorscheme-nvim = buildVimPlugin {
pname = "boo-colorscheme-nvim";
version = "2023-12-26";
src = fetchFromGitHub {
owner = "rockerBOO";
repo = "boo-colorscheme-nvim";
rev = "f329950b54d2a9462dd8169bb9cf0adbddef70b4";
sha256 = "0939nxp2g0d6nzfhk0r5bvn4g3bs5bg8pjnc4z1f1qsnpvk6vyml";
};
meta.homepage = "https://github.com/rockerBOO/boo-colorscheme-nvim/";
};
boole-nvim = buildVimPlugin {
pname = "boole.nvim";
version = "2023-07-08";
@ -1337,6 +1397,18 @@ final: prev:
meta.homepage = "https://github.com/projekt0n/circles.nvim/";
};
citruszest-nvim = buildVimPlugin {
pname = "citruszest.nvim";
version = "2024-01-30";
src = fetchFromGitHub {
owner = "zootedb0t";
repo = "citruszest.nvim";
rev = "6c090d537c4fcc5d187632e7e47943e41a218ba8";
sha256 = "0x09gz17436fmybr40l69ph0r8k6abxi5jaksn058gh0s6wiq8ic";
};
meta.homepage = "https://github.com/zootedb0t/citruszest.nvim/";
};
clang_complete = buildVimPlugin {
pname = "clang_complete";
version = "2023-11-05";
@ -1985,6 +2057,18 @@ final: prev:
meta.homepage = "https://github.com/saadparwaiz1/cmp_luasnip/";
};
cobalt2-nvim = buildVimPlugin {
pname = "cobalt2.nvim";
version = "2024-01-13";
src = fetchFromGitHub {
owner = "lalitmee";
repo = "cobalt2.nvim";
rev = "89c4212da7f2a6ce7570ca1b8ed01a95e30585c2";
sha256 = "00fdqj61av1awq2m3qjkd3znpnc5ywi6abnvyh8xcbs9sbp4iid8";
};
meta.homepage = "https://github.com/lalitmee/cobalt2.nvim/";
};
coc-clap = buildVimPlugin {
pname = "coc-clap";
version = "2021-09-18";
@ -2598,6 +2682,18 @@ final: prev:
meta.homepage = "https://github.com/ctrlpvim/ctrlp.vim/";
};
cyberdream-nvim = buildVimPlugin {
pname = "cyberdream.nvim";
version = "2024-01-16";
src = fetchFromGitHub {
owner = "scottmckendry";
repo = "cyberdream.nvim";
rev = "5eacf2e0a36c6c44645d66ab7950a126af15dfc2";
sha256 = "0a4v1xakcq6sc3kshl45r6iy0y881fv8zc2nyylqgy9xh5p37vzl";
};
meta.homepage = "https://github.com/scottmckendry/cyberdream.nvim/";
};
dart-vim-plugin = buildVimPlugin {
pname = "dart-vim-plugin";
version = "2023-07-18";
@ -2646,6 +2742,18 @@ final: prev:
meta.homepage = "https://github.com/andrewferrier/debugprint.nvim/";
};
deepwhite-nvim = buildVimPlugin {
pname = "deepwhite.nvim";
version = "2024-01-23";
src = fetchFromGitHub {
owner = "Verf";
repo = "deepwhite.nvim";
rev = "7c8d12505dafac651f14d4eaa21623a7658871ab";
sha256 = "1hz07976ka8q45sgk3ggmb0gk9qz463i8narda3hcws302h8nw8k";
};
meta.homepage = "https://github.com/Verf/deepwhite.nvim/";
};
defx-git = buildVimPlugin {
pname = "defx-git";
version = "2021-01-01";
@ -3092,6 +3200,18 @@ final: prev:
meta.homepage = "https://github.com/doki-theme/doki-theme-vim/";
};
doom-one-nvim = buildVimPlugin {
pname = "doom-one.nvim";
version = "2022-12-24";
src = fetchFromGitHub {
owner = "NTBBloodbath";
repo = "doom-one.nvim";
rev = "a43528cbd7908ccec7af4587ec8e18be149095bd";
sha256 = "0zv40jrr9d65kny43bxcfx6hclrsnhirsb9cz87z08qbz9jkbywm";
};
meta.homepage = "https://github.com/NTBBloodbath/doom-one.nvim/";
};
dracula-nvim = buildVimPlugin {
pname = "dracula.nvim";
version = "2024-01-23";
@ -3286,6 +3406,18 @@ final: prev:
meta.homepage = "https://github.com/vim-scripts/errormarker.vim/";
};
eva01-vim = buildVimPlugin {
pname = "eva01.vim";
version = "2024-01-10";
src = fetchFromGitHub {
owner = "hachy";
repo = "eva01.vim";
rev = "8ab19cfc230806a5ce0ed8f3f75c990c78a949bd";
sha256 = "0bh2y5afi875b1p3h6lgz4jiszajv61fi14qns6n86n8zamqc3fl";
};
meta.homepage = "https://github.com/hachy/eva01.vim/";
};
everforest = buildVimPlugin {
pname = "everforest";
version = "2024-02-10";
@ -3503,6 +3635,18 @@ final: prev:
meta.homepage = "https://github.com/willothy/flatten.nvim/";
};
fleet-theme-nvim = buildVimPlugin {
pname = "fleet-theme-nvim";
version = "2024-01-08";
src = fetchFromGitHub {
owner = "felipeagc";
repo = "fleet-theme-nvim";
rev = "df10a0e0021d3267eb7c7104107988e4fb977b32";
sha256 = "0205qig2va639saih817wkan4pmksakdxc3a8k5rr36gwsgyf4gd";
};
meta.homepage = "https://github.com/felipeagc/fleet-theme-nvim/";
};
flit-nvim = buildVimPlugin {
pname = "flit.nvim";
version = "2024-01-13";
@ -4043,6 +4187,18 @@ final: prev:
meta.homepage = "https://github.com/liuchengxu/graphviz.vim/";
};
gruber-darker-nvim = buildVimPlugin {
pname = "gruber-darker.nvim";
version = "2024-01-08";
src = fetchFromGitHub {
owner = "blazkowolf";
repo = "gruber-darker.nvim";
rev = "a2dda61d9c1225e16951a51d6b89795b0ac35cd6";
sha256 = "1sxnprl27svdf4wp38abbywjbipr15mzmx53hg5w0jz1vj0kdjvl";
};
meta.homepage = "https://github.com/blazkowolf/gruber-darker.nvim/";
};
gruvbox = buildVimPlugin {
pname = "gruvbox";
version = "2023-08-14";
@ -5662,6 +5818,30 @@ final: prev:
meta.homepage = "https://github.com/savq/melange-nvim/";
};
miasma-nvim = buildVimPlugin {
pname = "miasma.nvim";
version = "2023-10-24";
src = fetchFromGitHub {
owner = "xero";
repo = "miasma.nvim";
rev = "c672feec07d4e77ac485ee58e3432a96ebe51953";
sha256 = "187d35g6s53rs7zi3p8c4d8sy23qdpzy22i2vmr8apzgc2hirvx7";
};
meta.homepage = "https://github.com/xero/miasma.nvim/";
};
midnight-nvim = buildVimPlugin {
pname = "midnight.nvim";
version = "2024-01-30";
src = fetchFromGitHub {
owner = "dasupradyumna";
repo = "midnight.nvim";
rev = "13d812355db1e535ba5c790186d301e1fe9e7e1b";
sha256 = "1ynwivjw4kn4zz4ahpinvdyd5ndcss308nbqap5pnqzza2k8a7qh";
};
meta.homepage = "https://github.com/dasupradyumna/midnight.nvim/";
};
mind-nvim = buildVimPlugin {
pname = "mind.nvim";
version = "2023-03-22";
@ -6671,6 +6851,18 @@ final: prev:
meta.homepage = "https://github.com/chr4/nginx.vim/";
};
night-owl-nvim = buildVimPlugin {
pname = "night-owl.nvim";
version = "2024-01-30";
src = fetchFromGitHub {
owner = "oxfist";
repo = "night-owl.nvim";
rev = "2b7e78c34e25aea841d10ebc3ee19d6d558e9ec0";
sha256 = "07bnm5z1k384kmsvxwg2vk432gq0dp0rf83b0jf0z9lzh9ghfq6f";
};
meta.homepage = "https://github.com/oxfist/night-owl.nvim/";
};
nightfox-nvim = buildVimPlugin {
pname = "nightfox.nvim";
version = "2024-01-31";
@ -6683,6 +6875,18 @@ final: prev:
meta.homepage = "https://github.com/EdenEast/nightfox.nvim/";
};
nightly-nvim = buildVimPlugin {
pname = "nightly.nvim";
version = "2023-10-20";
src = fetchFromGitHub {
owner = "Alexis12119";
repo = "nightly.nvim";
rev = "825299e1dfafc093918137e752bde2dbaed60503";
sha256 = "1g10pmg0jkj5bfsm1kvws9al2s0b2b15582815nf6mwr9fmhhbzy";
};
meta.homepage = "https://github.com/Alexis12119/nightly.nvim/";
};
nim-vim = buildVimPlugin {
pname = "nim.vim";
version = "2021-11-11";
@ -6731,6 +6935,18 @@ final: prev:
meta.homepage = "https://github.com/mcchrish/nnn.vim/";
};
no-clown-fiesta-nvim = buildVimPlugin {
pname = "no-clown-fiesta.nvim";
version = "2024-01-30";
src = fetchFromGitHub {
owner = "aktersnurra";
repo = "no-clown-fiesta.nvim";
rev = "dae9bbb61223218d0043baffb3ede4cee9568872";
sha256 = "0dg6pk8p7gc18nf17yxbs0c4pv1ng44n41jppi71dgv6xb481mbz";
};
meta.homepage = "https://github.com/aktersnurra/no-clown-fiesta.nvim/";
};
no-neck-pain-nvim = buildVimPlugin {
pname = "no-neck-pain.nvim";
version = "2024-02-05";
@ -6743,6 +6959,18 @@ final: prev:
meta.homepage = "https://github.com/shortcuts/no-neck-pain.nvim/";
};
noctis-nvim = buildVimPlugin {
pname = "noctis.nvim";
version = "2022-09-30";
src = fetchFromGitHub {
owner = "kartikp10";
repo = "noctis.nvim";
rev = "0b9336e39c686a7e58de06e4dd38c2bd862a7b33";
sha256 = "0aw361j28mnggv8769b70rywsx2cvri26kg2n8i470ka1wmzklaf";
};
meta.homepage = "https://github.com/kartikp10/noctis.nvim/";
};
noice-nvim = buildVimPlugin {
pname = "noice.nvim";
version = "2024-01-22";
@ -8039,6 +8267,18 @@ final: prev:
meta.homepage = "https://github.com/nomnivore/ollama.nvim/";
};
omni-vim = buildVimPlugin {
pname = "omni.vim";
version = "2022-06-17";
src = fetchFromGitHub {
owner = "yonlu";
repo = "omni.vim";
rev = "6c0f3015b1d6f2ae59c12cc380c629b965d3dc62";
sha256 = "0mb3qb2yv4y57xp3548wrlnlyrshxjv511lwmzb9k0xnyig6mgmx";
};
meta.homepage = "https://github.com/yonlu/omni.vim/";
};
omnisharp-extended-lsp-nvim = buildVimPlugin {
pname = "omnisharp-extended-lsp.nvim";
version = "2023-12-25";
@ -8087,6 +8327,18 @@ final: prev:
meta.homepage = "https://github.com/joshdick/onedark.vim/";
};
onedarker-nvim = buildVimPlugin {
pname = "onedarker.nvim";
version = "2022-10-10";
src = fetchFromGitHub {
owner = "LunarVim";
repo = "onedarker.nvim";
rev = "b4f92f073ed7cdf0358ad005cee0484411232b1b";
sha256 = "121bympiikzwgbklpbzvp9f0izm3bz9mqndv3wj796qb853ap48c";
};
meta.homepage = "https://github.com/LunarVim/onedarker.nvim/";
};
onedarkpro-nvim = buildVimPlugin {
pname = "onedarkpro.nvim";
version = "2024-02-13";
@ -8268,6 +8520,18 @@ final: prev:
meta.homepage = "https://github.com/drewtempelmeyer/palenight.vim/";
};
palenightfall-nvim = buildVimPlugin {
pname = "palenightfall.nvim";
version = "2023-10-05";
src = fetchFromGitHub {
owner = "JoosepAlviste";
repo = "palenightfall.nvim";
rev = "25a1e7d43256834a671174e5d83edb57f7bec1e0";
sha256 = "1svfibhrlwxsh4nzyb8hjdfgdakh176pg47vzvkrywafr8mw6ak5";
};
meta.homepage = "https://github.com/JoosepAlviste/palenightfall.nvim/";
};
palette-nvim = buildVimPlugin {
pname = "palette.nvim";
version = "2023-10-02";
@ -9555,6 +9819,18 @@ final: prev:
meta.homepage = "https://github.com/luukvbaal/statuscol.nvim/";
};
styler-nvim = buildVimPlugin {
pname = "styler.nvim";
version = "2024-01-19";
src = fetchFromGitHub {
owner = "folke";
repo = "styler.nvim";
rev = "2cd29996d08cec8b31270c6de64465f716ef9d71";
sha256 = "0lml1hizypx26n80ghaibh3wkazd21phak0af5936y46c54xi2dk";
};
meta.homepage = "https://github.com/folke/styler.nvim/";
};
stylish-nvim = buildVimPlugin {
pname = "stylish.nvim";
version = "2022-02-01";
@ -12802,6 +13078,18 @@ final: prev:
meta.homepage = "https://github.com/jonsmithers/vim-html-template-literals/";
};
vim-humanoid-colorscheme = buildVimPlugin {
pname = "vim-humanoid-colorscheme";
version = "2021-11-21";
src = fetchFromGitHub {
owner = "humanoid-colors";
repo = "vim-humanoid-colorscheme";
rev = "ce4fa890a2b8a32f4747eb951e93050100548fba";
sha256 = "1650ymvma30zyq2hl9x5z7ql11wakjgq6jarc6vxbrpgvbz0f9c8";
};
meta.homepage = "https://github.com/humanoid-colors/vim-humanoid-colorscheme/";
};
vim-husk = buildVimPlugin {
pname = "vim-husk";
version = "2015-11-29";
@ -16359,6 +16647,18 @@ final: prev:
meta.homepage = "https://github.com/embark-theme/vim/";
};
gbprod-nord = buildVimPlugin {
pname = "gbprod-nord";
version = "2024-01-28";
src = fetchFromGitHub {
owner = "gbprod";
repo = "nord.nvim";
rev = "fb40d5b19205bc821964f795637250911a9fde0a";
sha256 = "10sswfgcl05wpj98m9qlqdbx16ypvmszpipkqhm1n59j43441m0v";
};
meta.homepage = "https://github.com/gbprod/nord.nvim/";
};
gruvbox-community = buildVimPlugin {
pname = "gruvbox-community";
version = "2024-01-21";
@ -16431,6 +16731,18 @@ final: prev:
meta.homepage = "https://github.com/nvchad/ui/";
};
phha-zenburn = buildVimPlugin {
pname = "phha-zenburn";
version = "2024-01-07";
src = fetchFromGitHub {
owner = "phha";
repo = "zenburn.nvim";
rev = "512d5192214000a1ddb430d31df2e2a80c88fa8a";
sha256 = "1bx0c1xssmvr4ly01gs67241f9wb30k9z8ykwyqicbid2abx2jga";
};
meta.homepage = "https://github.com/phha/zenburn.nvim/";
};
pure-lua = buildVimPlugin {
pname = "pure-lua";
version = "2021-05-16";

View file

@ -955,6 +955,10 @@
dependencies = with self; [ nui-nvim ];
};
none-ls-nvim = super.none-ls-nvim.overrideAttrs {
dependencies = [ self.plenary-nvim ];
};
null-ls-nvim = super.null-ls-nvim.overrideAttrs {
dependencies = with self; [ plenary-nvim ];
};

View file

@ -55,6 +55,7 @@ https://github.com/pearofducks/ansible-vim/,,
https://github.com/ckarnell/antonys-macro-repeater/,,
https://github.com/solarnz/arcanist.vim/,,
https://github.com/vim-scripts/argtextobj.vim/,,
https://github.com/AstroNvim/astrotheme/,,
https://github.com/prabirshrestha/async.vim/,,
https://github.com/prabirshrestha/asyncomplete-buffer.vim/,HEAD,
https://github.com/prabirshrestha/asyncomplete-file.vim/,HEAD,
@ -76,9 +77,11 @@ https://github.com/m4xshen/autoclose.nvim/,HEAD,
https://github.com/vim-scripts/autoload_cscope.vim/,,
https://github.com/nullishamy/autosave.nvim/,HEAD,
https://github.com/rafi/awesome-vim-colorschemes/,,
https://github.com/AhmedAbdulrahman/aylin.vim/,,
https://github.com/ayu-theme/ayu-vim/,,
https://github.com/taybart/b64.nvim/,HEAD,
https://github.com/m00qek/baleia.nvim/,HEAD,
https://github.com/ribru17/bamboo.nvim/,,
https://github.com/romgrk/barbar.nvim/,,
https://github.com/utilyre/barbecue.nvim/,,
https://github.com/RRethy/base16-nvim/,,
@ -92,6 +95,8 @@ https://github.com/LunarVim/bigfile.nvim/,,
https://github.com/APZelos/blamer.nvim/,HEAD,
https://github.com/HampusHauffman/block.nvim/,HEAD,
https://github.com/blueballs-theme/blueballs-neovim/,,
https://github.com/uloco/bluloco.nvim/,,
https://github.com/rockerBOO/boo-colorscheme-nvim/,,
https://github.com/nat-418/boole.nvim/,HEAD,
https://github.com/turbio/bracey.vim/,,
https://github.com/fruit-in/brainfuck-vim/,,
@ -111,6 +116,7 @@ https://github.com/vim-scripts/changeColorScheme.vim/,,
https://github.com/sudormrfbin/cheatsheet.nvim/,,
https://github.com/yunlingz/ci_dark/,,
https://github.com/projekt0n/circles.nvim/,,
https://github.com/zootedb0t/citruszest.nvim/,,
https://github.com/xavierd/clang_complete/,,
https://github.com/p00f/clangd_extensions.nvim/,HEAD,
https://github.com/rhysd/clever-f.vim/,,
@ -165,6 +171,7 @@ https://github.com/pontusk/cmp-vimwiki-tags/,HEAD,
https://github.com/hrsh7th/cmp-vsnip/,,
https://github.com/tamago324/cmp-zsh/,HEAD,
https://github.com/saadparwaiz1/cmp_luasnip/,,
https://github.com/lalitmee/cobalt2.nvim/,,
https://github.com/vn-ki/coc-clap/,,
https://github.com/neoclide/coc-denite/,,
https://github.com/antoinemadec/coc-fzf/,,
@ -216,10 +223,12 @@ https://github.com/JazzCore/ctrlp-cmatcher/,,
https://github.com/FelikZ/ctrlp-py-matcher/,,
https://github.com/amiorin/ctrlp-z/,,
https://github.com/ctrlpvim/ctrlp.vim/,,
https://github.com/scottmckendry/cyberdream.nvim/,,
https://github.com/dart-lang/dart-vim-plugin/,,
https://github.com/rizzatti/dash.vim/,HEAD,
https://github.com/glepnir/dashboard-nvim/,,
https://github.com/andrewferrier/debugprint.nvim/,HEAD,
https://github.com/Verf/deepwhite.nvim/,,
https://github.com/kristijanhusak/defx-git/,,
https://github.com/kristijanhusak/defx-icons/,,
https://github.com/Shougo/defx.nvim/,,
@ -257,6 +266,7 @@ https://github.com/elihunter173/dirbuf.nvim/,HEAD,
https://github.com/direnv/direnv.vim/,,
https://github.com/chipsenkbeil/distant.nvim/,HEAD,
https://github.com/doki-theme/doki-theme-vim/,,
https://github.com/NTBBloodbath/doom-one.nvim/,,
https://github.com/Mofiqul/dracula.nvim/,HEAD,
https://github.com/stevearc/dressing.nvim/,,
https://github.com/Bekaboo/dropbar.nvim/,HEAD,
@ -273,6 +283,7 @@ https://github.com/dmix/elvish.vim/,,
https://github.com/mattn/emmet-vim/,,
https://github.com/vim-scripts/emodeline/,,
https://github.com/vim-scripts/errormarker.vim/,,
https://github.com/hachy/eva01.vim/,,
https://github.com/sainnhe/everforest/,,
https://github.com/google/executor.nvim/,HEAD,
https://github.com/jinh0/eyeliner.nvim/,HEAD,
@ -291,6 +302,7 @@ https://github.com/glacambre/firenvim/,HEAD,
https://github.com/andviro/flake8-vim/,,
https://github.com/folke/flash.nvim/,HEAD,
https://github.com/willothy/flatten.nvim/,HEAD,
https://github.com/felipeagc/fleet-theme-nvim/,,
https://github.com/ggandor/flit.nvim/,HEAD,
https://github.com/ncm2/float-preview.nvim/,,
https://github.com/liangxianzhe/floating-input.nvim/,HEAD,
@ -336,6 +348,7 @@ https://github.com/rmagatti/goto-preview/,,
https://github.com/junegunn/goyo.vim/,,
https://github.com/brymer-meneses/grammar-guard.nvim/,HEAD,
https://github.com/liuchengxu/graphviz.vim/,,
https://github.com/blazkowolf/gruber-darker.nvim/,,
https://github.com/gruvbox-community/gruvbox/,,gruvbox-community
https://github.com/morhetz/gruvbox/,,
https://github.com/eddyekofo94/gruvbox-flat.nvim/,,
@ -474,6 +487,8 @@ https://github.com/kaicataldo/material.vim/,HEAD,
https://github.com/vim-scripts/mayansmoke/,,
https://github.com/chikamichi/mediawiki.vim/,HEAD,
https://github.com/savq/melange-nvim/,,
https://github.com/xero/miasma.nvim/,,
https://github.com/dasupradyumna/midnight.nvim/,,
https://github.com/phaazon/mind.nvim/,HEAD,
https://github.com/echasnovski/mini.nvim/,,
https://github.com/wfxr/minimap.vim/,,
@ -560,14 +575,19 @@ https://github.com/oberblastmeister/neuron.nvim/,,
https://github.com/fiatjaf/neuron.vim/,,
https://github.com/Olical/nfnl/,main,
https://github.com/chr4/nginx.vim/,,
https://github.com/oxfist/night-owl.nvim/,,
https://github.com/EdenEast/nightfox.nvim/,,
https://github.com/Alexis12119/nightly.nvim/,,
https://github.com/zah/nim.vim/,,
https://github.com/figsoda/nix-develop.nvim/,HEAD,
https://github.com/tamago324/nlsp-settings.nvim/,main,
https://github.com/mcchrish/nnn.vim/,,
https://github.com/aktersnurra/no-clown-fiesta.nvim/,,
https://github.com/shortcuts/no-neck-pain.nvim/,HEAD,
https://github.com/kartikp10/noctis.nvim/,,
https://github.com/folke/noice.nvim/,HEAD,
https://github.com/nvimtools/none-ls.nvim/,HEAD,
https://github.com/gbprod/nord.nvim/,,gbprod-nord
https://github.com/shaunsingh/nord.nvim/,,
https://github.com/andersevenrud/nordic.nvim/,,
https://github.com/vigoux/notifier.nvim/,HEAD,
@ -675,10 +695,12 @@ https://github.com/mhartington/oceanic-next/,,
https://github.com/pwntester/octo.nvim/,,
https://github.com/stevearc/oil.nvim/,HEAD,
https://github.com/nomnivore/ollama.nvim/,HEAD,
https://github.com/yonlu/omni.vim/,,
https://github.com/Hoffs/omnisharp-extended-lsp.nvim/,HEAD,
https://github.com/Th3Whit3Wolf/one-nvim/,,
https://github.com/navarasu/onedark.nvim/,,
https://github.com/joshdick/onedark.vim/,,
https://github.com/LunarVim/onedarker.nvim/,,
https://github.com/olimorris/onedarkpro.nvim/,,
https://github.com/sonph/onehalf/,,
https://github.com/rmehri01/onenord.nvim/,main,
@ -694,6 +716,7 @@ https://github.com/nyoom-engineering/oxocarbon.nvim/,HEAD,
https://github.com/vuki656/package-info.nvim/,,
https://github.com/wbthomason/packer.nvim/,,
https://github.com/drewtempelmeyer/palenight.vim/,,
https://github.com/JoosepAlviste/palenightfall.nvim/,,
https://github.com/roobert/palette.nvim/,HEAD,
https://github.com/NLKNguyen/papercolor-theme/,,
https://github.com/tmsvg/pear-tree/,,
@ -802,6 +825,7 @@ https://github.com/josegamez82/starrynight/,HEAD,
https://github.com/darfink/starsearch.vim/,,
https://github.com/startup-nvim/startup.nvim/,HEAD,
https://github.com/luukvbaal/statuscol.nvim/,,
https://github.com/folke/styler.nvim/,,
https://github.com/teto/stylish.nvim/,HEAD,
https://github.com/gbprod/substitute.nvim/,HEAD,
https://github.com/kvrohit/substrata.nvim/,HEAD,
@ -1079,6 +1103,7 @@ https://github.com/GEverding/vim-hocon/,,
https://github.com/Twinside/vim-hoogle/,,
https://github.com/ntk148v/vim-horizon/,,
https://github.com/jonsmithers/vim-html-template-literals/,,
https://github.com/humanoid-colors/vim-humanoid-colorscheme/,,
https://github.com/vim-utils/vim-husk/,,
https://github.com/w0ng/vim-hybrid/,,
https://github.com/kristijanhusak/vim-hybrid-material/,,
@ -1368,6 +1393,7 @@ https://github.com/KabbAmine/zeavim.vim/,,
https://github.com/folke/zen-mode.nvim/,,
https://github.com/mcchrish/zenbones.nvim/,HEAD,
https://github.com/jnurmine/zenburn/,,
https://github.com/phha/zenburn.nvim/,,phha-zenburn
https://github.com/glepnir/zephyr-nvim/,,
https://github.com/ziglang/zig.vim/,,
https://github.com/mickael-menu/zk-nvim/,HEAD,

View file

@ -7,10 +7,14 @@
, cmake
, curl
, fetchFromGitHub
, fetchpatch
, ffmpeg
, ffmpeg_4
, fluidsynth
, fmt
, freetype
, gettext
, harfbuzz
, hexdump
, hidapi
, icu
@ -19,21 +23,28 @@
, libGL
, libGLU
, libjpeg
, liblcf
, libpcap
, libpng
, libsndfile
, libvorbis
, libxml2
, libxmp
, libzip
, makeWrapper
, mpg123
, nasm
, openssl
, opusfile
, pcre
, pixman
, pkg-config
, portaudio
, python3
, retroarch
, sfml
, snappy
, speexdsp
, udev
, which
, xorg
@ -400,6 +411,32 @@ in
};
};
easyrpg = mkLibretroCore {
core = "easyrpg";
extraNativeBuildInputs = [ cmake pkg-config ];
extraBuildInputs = [ fmt freetype harfbuzz liblcf libpng libsndfile libvorbis libxmp mpg123 opusfile pcre pixman speexdsp ];
patches = [
# The following patch is shared with easyrpg-player.
# Update when new versions of liblcf and easyrpg-player are released.
# See pkgs/games/easyrpg-player/default.nix for details.
(fetchpatch {
name = "0001-Fix-building-with-fmtlib-10.patch";
url = "https://github.com/EasyRPG/Player/commit/ab6286f6d01bada649ea52d1f0881dde7db7e0cf.patch";
hash = "sha256-GdSdVFEG1OJCdf2ZIzTP+hSrz+ddhTMBvOPjvYQHy54=";
})
];
cmakeFlags = [
"-DBUILD_SHARED_LIBS=ON"
"-DPLAYER_TARGET_PLATFORM=libretro"
"-DCMAKE_INSTALL_DATADIR=${placeholder "out"}/share"
];
makefile = "Makefile";
meta = {
description = "EasyRPG Player libretro port";
license = lib.licenses.gpl3Only;
};
};
eightyone = mkLibretroCore {
core = "81";
repo = "eightyone";

View file

@ -251,6 +251,17 @@
},
"version": "unstable-2023-12-29"
},
"easyrpg": {
"fetcher": "fetchFromGitHub",
"src": {
"owner": "EasyRPG",
"repo": "Player",
"rev": "f8e41f43b619413f95847536412b56f85307d378",
"hash": "sha256-nvWM4czTv/GxY9raomBEn7dmKBeLtSA9nvjMJxc3Q8s=",
"fetchSubmodules": true
},
"version": "unstable-2023-04-29"
},
"eightyone": {
"fetcher": "fetchFromGitHub",
"src": {
@ -276,10 +287,10 @@
"src": {
"owner": "libretro",
"repo": "fbneo",
"rev": "2adfb2723b5d7abcf33633fd30a794dce4263a5b",
"hash": "sha256-AZzMGbCZJZ/BJ7A9CybwRPxfi7P7TBU7nRPzn/6kwrc="
"rev": "484962863ab84189dca218b02197575cd266a537",
"hash": "sha256-e1JAEiPISc4Q06HHPox6AVbK/Frrbc7pLNvNmuWojVw="
},
"version": "unstable-2024-02-16"
"version": "unstable-2024-02-18"
},
"fceumm": {
"fetcher": "fetchFromGitHub",
@ -517,11 +528,11 @@
"src": {
"owner": "Javanaise",
"repo": "mrboom-libretro",
"rev": "f688664f024723e00c0d2926e51b45754a25e2da",
"hash": "sha256-t6ArMkyGvHJ9hLc+FFoH2wTk0wRFn5etzdLipTQnGyc=",
"rev": "1c07bbec56b6bf5eb04c70e183804ab8d5e3520c",
"hash": "sha256-1gJK/Q2CZkDgMXrvJ5pxw1nvgH8Sk/UByWQKfJ6Pwfg=",
"fetchSubmodules": true
},
"version": "unstable-2024-02-09"
"version": "unstable-2024-02-17"
},
"mupen64plus": {
"fetcher": "fetchFromGitHub",
@ -548,10 +559,10 @@
"src": {
"owner": "libretro",
"repo": "nestopia",
"rev": "407df997b65cddbff9b25abae0510e6645205677",
"hash": "sha256-Vlz69ZpXwawdE+bfjlKNrQNmFHhB53FOKhfMgq4viE0="
"rev": "2cef539e0df9ae5c8e6adf830a37f5d122bf5f05",
"hash": "sha256-OKqD99kqpIoqRUOByQ4qwAczYlIGeAn0xfTZVC5jptc="
},
"version": "unstable-2024-02-13"
"version": "unstable-2024-02-18"
},
"np2kai": {
"fetcher": "fetchFromGitHub",
@ -640,11 +651,11 @@
"src": {
"owner": "jpd002",
"repo": "Play-",
"rev": "2462fe76ebf86fe1dd4da8d79b99872f14e987bf",
"hash": "sha256-08srcJwhvOw6AER36+ar2SXjKR1jO568lRl63B7zRio=",
"rev": "1c42b05083a5c9254a8479ea78cc04369beaaa00",
"hash": "sha256-GM4VymoZpJvQTHmJvzSTxl6ALLeGdP5OtQE+efPvYpw=",
"fetchSubmodules": true
},
"version": "unstable-2024-02-14"
"version": "unstable-2024-02-19"
},
"ppsspp": {
"fetcher": "fetchFromGitHub",
@ -682,10 +693,10 @@
"src": {
"owner": "libretro",
"repo": "libretro-uae",
"rev": "2cad13f98aa4df272decf2ab99d95aa582cd4cfb",
"hash": "sha256-8iGsQJcImL7hUK14X+u2BSq4W9BkosiLImCmzf63o4Q="
"rev": "4e8b54dd574eff239b5f4b4e3bc35c40b3a7cdd4",
"hash": "sha256-pBpzzCgZYaA7/+UvwTsKCRseroe98AwRovjIk4Z0fhI="
},
"version": "unstable-2024-02-03"
"version": "unstable-2024-02-20"
},
"quicknes": {
"fetcher": "fetchFromGitHub",

View file

@ -50,6 +50,11 @@ CORES = {
"dolphin": {"repo": "dolphin"},
"dosbox": {"repo": "dosbox-libretro"},
"dosbox-pure": {"repo": "dosbox-pure", "owner": "schellingb"},
# The EasyRPG core is pinned to 0.8 since it depends on version 0.8 of liblcf, which
# was released in April 2023.
# Update the version when a compatible liblcf is available.
# See pkgs/games/easyrpg-player/default.nix for details.
"easyrpg": {"repo": "Player", "owner": "EasyRPG", "fetch_submodules": True, "rev": "0.8"},
"eightyone": {"repo": "81-libretro"},
"fbalpha2012": {"repo": "fbalpha2012"},
"fbneo": {"repo": "fbneo"},

View file

@ -19,13 +19,13 @@ assert withOpenCL -> ocl-icd != null;
mkDerivation rec {
pname = "mandelbulber";
version = "2.31";
version = "2.31-1";
src = fetchFromGitHub {
owner = "buddhi1980";
repo = "mandelbulber2";
rev = version;
sha256 = "sha256-r3IuOdtBSrTK/pDChgq/M3yQkSz2R+FG6kvwjYPjR4A=";
sha256 = "sha256-nyIFvFe86C2ciBDSNWn1yrBYTCm1dR7sZ5RFGoTPqvQ=";
};
nativeBuildInputs = [

View file

@ -22,16 +22,16 @@
rustPlatform.buildRustPackage rec {
pname = "oculante";
version = "0.8.7";
version = "0.8.8";
src = fetchFromGitHub {
owner = "woelper";
repo = "oculante";
rev = version;
hash = "sha256-49reMm9woxekJUqHq7biHvlYii9BmLvq6u9RFkASpUw=";
hash = "sha256-LfMun9eG/76wqm2SADYIjWXOHbCl5yikkdK2FoavSWY=";
};
cargoHash = "sha256-93J0/INcQEvu14pPZeLRfwKECeEGcsch9hUZ0IjYivM=";
cargoHash = "sha256-UALmfUD0+n4d/oYDgeX5mStOYw7QRftfCIE3AKezrQQ=";
nativeBuildInputs = [
cmake

View file

@ -11,7 +11,6 @@
, libxml2
, vala
, sqlite
, webkitgtk_4_1
, pkg-config
, gnome
, gst_all_1
@ -40,11 +39,11 @@
stdenv.mkDerivation (finalAttrs: {
pname = "shotwell";
version = "0.32.4";
version = "0.32.6";
src = fetchurl {
url = "mirror://gnome/sources/shotwell/${lib.versions.majorMinor finalAttrs.version}/shotwell-${finalAttrs.version}.tar.xz";
sha256 = "sha256-3iqUUIRtHOwUxqEDA3X9SeGvJNySCtZIA0QST5zLhW8=";
sha256 = "sha256-dZek/6yR4YzYFEsS8tCDE6P0Bbs2gkOnMmgm99kqcLY=";
};
nativeBuildInputs = [
@ -67,7 +66,6 @@ stdenv.mkDerivation (finalAttrs: {
libsoup_3
libxml2
sqlite
webkitgtk_4_1
gst_all_1.gstreamer
gst_all_1.gst-libav
gst_all_1.gst-plugins-base

View file

@ -9,7 +9,7 @@
let
pname = "1password";
version = if channel == "stable" then "8.10.24" else "8.10.26-1.BETA";
version = if channel == "stable" then "8.10.24" else "8.10.26-38.BETA";
sources = {
stable = {
@ -33,19 +33,19 @@ let
beta = {
x86_64-linux = {
url = "https://downloads.1password.com/linux/tar/beta/x86_64/1password-${version}.x64.tar.gz";
hash = "sha256-dAasy1D5HXQ8Eu5cx0u9exobNMf2TIV4iCTcys/uCtQ=";
hash = "sha256-7+rwEX/BP5KD77djrJXCl41zviwHfiEi+WZfQeOQksc=";
};
aarch64-linux = {
url = "https://downloads.1password.com/linux/tar/beta/aarch64/1password-${version}.arm64.tar.gz";
hash = "sha256-sIPNv4HiU/6CLaER6deMG88zOOFwu6cm5XoB2Cr4qLQ=";
hash = "sha256-ELnO6cRgyZQHWTdB0143Z37Tdkc2iZUauFWTf3eL8AE=";
};
x86_64-darwin = {
url = "https://downloads.1password.com/mac/1Password-${version}-x86_64.zip";
hash = "sha256-Va4WgbPKrI7u+GYzVmA8Gp6NRY4EdJuoz00Pc5HsMIg=";
hash = "sha256-fTpz1POmnqWcMtKCfkwyEFoyrZcpV5y7UP4DamsKbzU=";
};
aarch64-darwin = {
url = "https://downloads.1password.com/mac/1Password-${version}-aarch64.zip";
hash = "sha256-Dj96QoEcmJxV7qBkb68ovonr+XYqQdScb9GMeL8OCJo=";
hash = "sha256-vAWPcOrjrcY8rC0N9PuNe+vivOkWvB6etW2QQWJJz1k=";
};
};
};

View file

@ -15,13 +15,13 @@
stdenv.mkDerivation rec {
pname = "asn";
version = "0.75.2";
version = "0.75.3";
src = fetchFromGitHub {
owner = "nitefood";
repo = "asn";
rev = "refs/tags/v${version}";
hash = "sha256-G8TDl9R5nbUzmjcr1m+eNNybSDqb64c7ZOO/viL5/Q4=";
hash = "sha256-KOwXOGw6gv8YFTrFFkD6BNKChTIbD2Soy3gvvSzNQgM=";
};
nativeBuildInputs = [

View file

@ -108,7 +108,7 @@ stdenv.mkDerivation {
updateScript = import ./update.nix {
inherit pname channel lib writeScript xidel coreutils gnused gnugrep gnupg curl runtimeShell;
baseUrl =
if channel == "devedition"
if channel == "developer-edition"
then "https://archive.mozilla.org/pub/devedition/releases/"
else "https://archive.mozilla.org/pub/firefox/releases/";
};

File diff suppressed because it is too large Load diff

View file

@ -33,11 +33,11 @@
firefox-beta = buildMozillaMach rec {
pname = "firefox-beta";
version = "121.0b9";
version = "123.0b9";
applicationName = "Mozilla Firefox Beta";
src = fetchurl {
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
sha512 = "a107ba7127f40763325335136c5aeaf6d873dd9ca1c8ca95d93e96b377b41a0974056c84e8323c51ed57e01a2e4ef9996ef2ee2d804053aa2226bd837026523a";
sha512 = "87c564bf30e93a544fe65cf5eb0d46e2e992558df36d2808eee990772648c193ab051120a3400dacd6973dde8afbec9bea0f3b0b4adc923a5fea6f4005b46210";
};
meta = {
@ -62,13 +62,13 @@
firefox-devedition = buildMozillaMach rec {
pname = "firefox-devedition";
version = "121.0b9";
version = "123.0b9";
applicationName = "Mozilla Firefox Developer Edition";
requireSigning = false;
branding = "browser/branding/aurora";
src = fetchurl {
url = "mirror://mozilla/devedition/releases/${version}/source/firefox-${version}.source.tar.xz";
sha512 = "732c2b3f1e47512bee9af696e8763ce13b39497a6ec9af0de9904ce4f55b03bc799e628e17e84ce7062ebd5a7dc50290fbbfa17b0f41622ce5088f1d548897b5";
sha512 = "63b3e99fab51a219c537baef4f613c1efd174d8c567d7e77007b901d0800b88cfe872b56293473e5406aef15a5c6ab35b9ddf9966a447c001ca16e92469d984f";
};
meta = {

View file

@ -5,13 +5,13 @@
buildGoModule rec {
pname = "terragrunt";
version = "0.55.2";
version = "0.55.3";
src = fetchFromGitHub {
owner = "gruntwork-io";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-6lUBtTG05Bz+M9Jj5HaOqG2yelwbC1trCM33NzUP1U4=";
hash = "sha256-FwLL2/V8LIihsr3/JBIuzUH37sRX2xw7nk+KlIIhzxs=";
};
vendorHash = "sha256-uFSkolmQV11cY+3ZWrlByHDFolpr2E+9/R95bhBn6zo=";

View file

@ -2,7 +2,7 @@
callPackage ./generic.nix { } rec {
pname = "signal-desktop";
dir = "Signal";
version = "6.44.0";
version = "6.46.0";
url = "https://github.com/0mniteck/Signal-Desktop-Mobian/raw/${version}/builds/release/signal-desktop_${version}_arm64.deb";
hash = "sha256-M4Xiy8cDQciMzgGl1/eeKZjEaelVtkk6JXJYBP4ua2s=";
hash = "sha256-rHmG2brzlQtYd3l5EFhjndPF5T7nQWzUhEe7LsEFVpc=";
}

View file

@ -2,7 +2,7 @@
callPackage ./generic.nix {} rec {
pname = "signal-desktop";
dir = "Signal";
version = "6.46.0";
version = "6.47.1";
url = "https://updates.signal.org/desktop/apt/pool/s/signal-desktop/signal-desktop_${version}_amd64.deb";
hash = "sha256-6s6wFg2mJRaxEyWkZrCefspAdlcDwbjxXpx5CMNGW94=";
hash = "sha256-WRdn3T18xhWvlELtwlOs/ZoPuEt/yQgs7JP/1MGN5Ps=";
}

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "signalbackup-tools";
version = "20240210-1";
version = "20240219-1";
src = fetchFromGitHub {
owner = "bepaald";
repo = pname;
rev = version;
hash = "sha256-3HBycPKj3dosI6vPhIMM5CZQ9r/ndoQrW5FT3eEuHF0=";
hash = "sha256-gzc72y9AL/JUNp8YJkRKq9rq1NenX+4aOxb5HODy8v4=";
};
postPatch = ''

View file

@ -19,13 +19,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "teams-for-linux";
version = "1.4.11";
version = "1.4.12";
src = fetchFromGitHub {
owner = "IsmaelMartinez";
repo = "teams-for-linux";
rev = "v${finalAttrs.version}";
hash = "sha256-vjxbWOaUanYXalGVDgX+sjsrz5Cn1yGBkBs9B8VGrDQ=";
hash = "sha256-LrFF61D2b9+FWnVkb9MYxBJQxMtejuOmGTEtfSj1No4=";
};
offlineCache = fetchYarnDeps {

View file

@ -19,14 +19,14 @@
let
pname = "qownnotes";
appname = "QOwnNotes";
version = "24.2.3";
version = "24.2.5";
in
stdenv.mkDerivation {
inherit pname version;
src = fetchurl {
url = "https://github.com/pbek/QOwnNotes/releases/download/v${version}/qownnotes-${version}.tar.xz";
hash = "sha256-US+RyjKpzIPpqvc19nInUW5/x/osLbc6xk4yKEdQYic=";
hash = "sha256-xLrt9ng2Le3eEPHyXuoqTUwSH5h6J+93bKFxIAaEduA=";
};
nativeBuildInputs = [

View file

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "super-productivity";
version = "7.17.2";
version = "8.0.0";
src = fetchurl {
url = "https://github.com/johannesjo/super-productivity/releases/download/v${version}/superProductivity-${version}.AppImage";
sha256 = "sha256-CcgjfA0BRfCrRb8N+KIgheUAF+JJK3yIv9Trp+gg+s0=";
sha256 = "sha256-VYyJ3tsCyabwNSxLXQsc3GBAmDmdgl50T8ZP2qkXTeM=";
name = "${pname}-${version}.AppImage";
};

View file

@ -12,13 +12,13 @@ let
in stdenv.mkDerivation rec {
pname = "avogadro2";
version = "1.98.1";
version = "1.99.0";
src = fetchFromGitHub {
owner = "OpenChemistry";
repo = "avogadroapp";
rev = version;
hash = "sha256-N35WGYZbgfjKnorzGKCnbBvlrlt9Vr04YIG2R3k+b8A=";
hash = "sha256-m8kX4WzOmPE/BZQRePOoUAdMPdWb6pmcqtPvDdEIIao=";
};
postUnpack = ''
@ -37,7 +37,7 @@ in stdenv.mkDerivation rec {
propagatedBuildInputs = [ openbabel ];
qtWrapperArgs = [ "--prefix PATH : ${openbabel}/bin" ];
qtWrapperArgs = [ "--prefix PATH : ${lib.getBin openbabel}/bin" ];
meta = with lib; {
description = "Molecule editor and visualizer";

View file

@ -41,16 +41,15 @@ let
};
in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
pname = "openmolcas";
version = "23.10";
version = "24.02";
src = fetchFromGitLab {
owner = "Molcas";
repo = "OpenMolcas";
# The tag keeps moving, fix a hash instead
rev = "c74317e68572d1da82fdce4210b005c2c1b1de53"; # 2023-09-25
hash = "sha256-wBrASZ6YFsWsu/TreEZ6Q+VxNQwCwMpyPC8AOqmNxos=";
rev = "v${version}";
hash = "sha256-4Ek0cnaRfLEbj1Nj31rRp9b2sois4rIFTcpOUq9h2mw=";
};
patches = [
@ -59,9 +58,6 @@ stdenv.mkDerivation {
# Required for a local QCMaquis build
./qcmaquis.patch
# PyParsing >= 3.11 compatibility, can be removed on next release
./pyparsing.patch
];
postPatch = ''

View file

@ -1,37 +0,0 @@
diff --git a/Tools/pymolcas/emil_grammar.py b/Tools/pymolcas/emil_grammar.py
index acbbae8..509c56f 100644
--- a/Tools/pymolcas/emil_grammar.py
+++ b/Tools/pymolcas/emil_grammar.py
@@ -15,6 +15,14 @@
from __future__ import (unicode_literals, division, absolute_import, print_function)
+try:
+ u = unicode
+ del u
+ py2 = True
+except NameError:
+ pass
+
+
from re import sub
from pyparsing import *
@@ -24,6 +32,8 @@ def chomp(s):
def chompAction(s, l, t):
try:
+ if (py2):
+ pass
return list(map(lambda s: chomp(unicode(s)), t))
except NameError:
return list(map(chomp, t))
@@ -33,6 +43,8 @@ def removeEMILEnd(s):
def removeEMILEndAction(s, l, t):
try:
+ if (py2):
+ pass
return list(map(lambda s: removeEMILEnd(unicode(s)), t))
except NameError:
return list(map(removeEMILEnd, t))

View file

@ -1,16 +1,15 @@
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "gnucap";
version = "20210107";
src = fetchurl {
url = "https://git.savannah.gnu.org/cgit/gnucap.git/snapshot/${pname}-${version}.tar.gz";
sha256 = "12rlwd4mfc54qq1wrx5k8qk578xls5z4isf94ybkf2z6qxk4mhnj";
};
doCheck = true;
{ lib
, stdenv
, fetchurl
, readline
, termcap
, gnucap
, callPackage
, writeScript
}:
let
version = "20240130-dev";
meta = with lib; {
description = "Gnu Circuit Analysis Package";
longDescription = ''
@ -23,5 +22,52 @@ It performs nonlinear dc and transient analyses, fourier analysis, and ac analys
platforms = platforms.all;
broken = stdenv.isDarwin; # Relies on LD_LIBRARY_PATH
maintainers = [ maintainers.raboof ];
mainProgram = "gnucap";
};
in
stdenv.mkDerivation rec {
pname = "gnucap";
inherit version;
src = fetchurl {
url = "https://git.savannah.gnu.org/cgit/gnucap.git/snapshot/${pname}-${version}.tar.gz";
hash = "sha256-MUCtGw3BxGWgXgUwzklq5T1y9kjBTnFBa0/GK0hhl0E=";
};
buildInputs = [
readline
termcap
];
doCheck = true;
inherit meta;
} // {
plugins = callPackage ./plugins.nix {};
withPlugins = p:
let
selectedPlugins = p gnucap.plugins;
wrapper = writeScript "gnucap" ''
export GNUCAP_PLUGPATH=${gnucap}/lib/gnucap
for plugin in ${builtins.concatStringsSep " " selectedPlugins}; do
export GNUCAP_PLUGPATH=$plugin/lib/gnucap:$GNUCAP_PLUGPATH
done
${lib.getExe gnucap}
'';
in
stdenv.mkDerivation {
pname = "gnucap-with-plugins";
inherit version;
propagatedBuildInputs = selectedPlugins;
phases = [ "installPhase" "fixupPhase" ];
installPhase = ''
mkdir -p $out/bin
cp ${wrapper} $out/bin/gnucap
'';
inherit meta;
};
}

View file

@ -0,0 +1,37 @@
{ lib
, stdenv
, fetchurl
, gnucap
}:
stdenv.mkDerivation rec {
pname = "gnucap-modelgen-verilog";
version = "20240130-dev";
src = fetchurl {
url = "https://git.savannah.gnu.org/cgit/gnucap/gnucap-modelgen-verilog.git/snapshot/${pname}-${version}.tar.gz";
hash = "sha256-7w0eWUJKVRYFicQgDvKrJTkZ6fzgwxvcCKj78KrHj8E=";
};
propagatedBuildInputs = [ gnucap ];
doCheck = true;
preInstall = ''
export GNUCAP_EXEC_PREFIX=$out
export GNUCAP_DATA=$out/share/gnucap
mkdir -p $out/include/gnucap
export GNUCAP_INCLUDEDIR=$out/include/gnucap
export GNUCAP_PKGLIBDIR=$out/lib/gnucap
'';
meta = with lib; {
description = "gnucap modelgen to preprocess, parse and dump vams files.";
homepage = "http://www.gnucap.org/";
changelog = "https://git.savannah.gnu.org/cgit/gnucap.git/plain/NEWS?h=v${version}";
mainProgram = "gnucap-mg-vams";
license = licenses.gpl3Plus;
platforms = platforms.all;
maintainers = [ maintainers.raboof ];
};
}

View file

@ -0,0 +1,6 @@
{ callPackage
}:
{
verilog = callPackage ./modelgen-verilog.nix {};
}

View file

@ -8,16 +8,16 @@
rustPlatform.buildRustPackage rec {
pname = "git-ignore";
version = "1.2.2";
version = "1.3.1";
src = fetchFromGitHub {
owner = "sondr3";
repo = pname;
rev = "v${version}";
hash = "sha256-kIRuoY0dM2t+aY4iYdik9gUpG+81sDiJLD11Bmx68FI=";
hash = "sha256-kfc4LIFjLMltCn3BPaEfxc/yOZxFjYioyobTQZN/RmY=";
};
cargoHash = "sha256-6sb+OW5VtA6vY6fDtsaZePZD53ehH7QawxJJlUNsrnM=";
cargoHash = "sha256-HoW10XzWIjxsqoKVKQkMf5in7pOODGnUM0cRZP1OJpg=";
nativeBuildInputs = [
installShellFiles

View file

@ -9,14 +9,14 @@
}:
let
version = "0.13.1";
version = "0.13.2";
src = fetchFromGitHub {
#name = "frigate-${version}-source";
owner = "blakeblackshear";
repo = "frigate";
rev = "refs/tags/v${version}";
hash = "sha256-2J7DhnYDX9ubbsk0qhji/vIKDouy9IqQztzbdPj2kxo=";
hash = "sha256-NVT7yaJkVA7b7GL0S0fHjNneBzhjCru56qY1Q4sTVcE=";
};
frigate-web = callPackage ./web.nix {

View file

@ -227,6 +227,10 @@ in stdenv'.mkDerivation (finalAttrs: {
cp mpv_identify.sh umpv $out/bin/
popd
pushd $out/share/applications
# patch out smb protocol reference, since our ffmpeg can't handle it
substituteInPlace mpv.desktop --replace-fail "smb," ""
sed -e '/Icon=/ ! s|mpv|umpv|g; s|^Exec=.*|Exec=umpv %U|' \
mpv.desktop > umpv.desktop
printf "NoDisplay=true\n" >> umpv.desktop

View file

@ -7,13 +7,13 @@
stdenv.mkDerivation rec {
pname = "obs-move-transition";
version = "2.9.8";
version = "2.10.0";
src = fetchFromGitHub {
owner = "exeldro";
repo = "obs-move-transition";
rev = version;
sha256 = "sha256-GOLmwXAK2g8IyI+DFH2sBOR2iknYdgYevytZpt3Cc7Q=";
sha256 = "sha256-HMhIGOslAtk5npunRZkOcFQZDSIB7c8qcFW3l9kgkzo=";
};
nativeBuildInputs = [ cmake ];

View file

@ -39,13 +39,13 @@ let
in
stdenv.mkDerivation rec {
pname = "crun";
version = "1.14.2";
version = "1.14.3";
src = fetchFromGitHub {
owner = "containers";
repo = pname;
rev = version;
hash = "sha256-D2OuTbWAISEtrKy7LFVJz8FZWdXSn1ZiKYak9cJVceU=";
hash = "sha256-BsDkPwHi8nUcxw6KSrsMvVCdD6/BxVDuiBkAdv8H2xc=";
fetchSubmodules = true;
};

View file

@ -8,14 +8,14 @@
buildPythonPackage rec {
pname = "hyprshade";
version = "0.12.1";
version = "3.0.2";
format = "pyproject";
src = fetchFromGitHub {
owner = "loqusion";
repo = "hyprshade";
rev = "refs/tags/${version}";
hash = "sha256-xcFX1YApwEN40jPgRT0H/7SiODxXGYVTPUkSZ8OFIWs=";
hash = "sha256-E5FNVzmzxzqhIZ4i8PwiKB8q4LwpsV961Bc77kSym8A=";
};
nativeBuildInputs = [

View file

@ -0,0 +1,59 @@
{ lib
, stdenv
, fetchFromGitHub
, appstream-glib
, desktop-file-utils
, gobject-introspection
, libadwaita
, meson
, ninja
, pkg-config
, python3
, wrapGAppsHook4
, apx
, gnome-console
}:
stdenv.mkDerivation (finalAttrs: {
pname = "apx-gui";
version = "0.1.1";
src = fetchFromGitHub {
owner = "Vanilla-OS";
repo = "apx-gui";
rev = "v${finalAttrs.version}";
hash = "sha256-orP5kAsoXX0zyDskeIPKKHNt5c757eUm9un4Ws6uFYA=";
};
strictDeps = true;
nativeBuildInputs = [
appstream-glib
desktop-file-utils
gobject-introspection
meson
ninja
pkg-config
(python3.withPackages (ps: [ ps.pygobject3 ]))
wrapGAppsHook4
];
buildInputs = [
libadwaita
];
preFixup = ''
gappsWrapperArgs+=(
--prefix PATH : "${lib.makeBinPath [ apx gnome-console ]}"
)
'';
meta = {
description = "A GUI frontend for Apx in GTK 4 and Libadwaita";
homepage = "https://github.com/Vanilla-OS/apx-gui";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ chewblacka ];
mainProgram = "apx-gui";
};
})

View file

@ -6,16 +6,16 @@
rustPlatform.buildRustPackage rec {
pname = "ast-grep";
version = "0.19.0";
version = "0.19.1";
src = fetchFromGitHub {
owner = "ast-grep";
repo = "ast-grep";
rev = version;
hash = "sha256-ho4o7Ryp6IwBZ66Sag9IC67EfC/opfkicksouHKPURc=";
hash = "sha256-uRAWcEG4+8tkfHe9bmVSWsRp3A35+5PRPdGuXuDm210=";
};
cargoHash = "sha256-EDgtXZhAOd8I9TwzpXsVpUpi8uoxyBBIxWyF7wSazwo=";
cargoHash = "sha256-U7W3Ila75XQDwtcVDEzooLxdbcGZCrUU/Ijcx/xhRaM=";
# Work around https://github.com/NixOS/nixpkgs/issues/166205.
env = lib.optionalAttrs stdenv.cc.isClang {

View file

@ -118,6 +118,8 @@ let
substituteInPlace pyproject.toml \
--replace-fail 'dumb-init = "*"' "" \
--replace-fail 'djangorestframework-guardian' 'djangorestframework-guardian2'
substituteInPlace authentik/stages/email/utils.py \
--replace-fail 'web/' '${webui}/'
'';
nativeBuildInputs = [ prev.poetry-core ];

View file

@ -51,11 +51,10 @@ rustPlatform.buildRustPackage rec {
"--set"
"prefix"
(placeholder "out")
"--set"
"xdp_cosmic"
xdg-desktop-portal-cosmic
];
env.XDP_COSMIC = lib.getExe xdg-desktop-portal-cosmic;
passthru.providedSessions = [ "cosmic" ];
meta = with lib; {

4179
pkgs/by-name/di/dim/Cargo.lock generated Normal file

File diff suppressed because it is too large Load diff

19412
pkgs/by-name/di/dim/package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,100 @@
{
lib,
stdenv,
rustPlatform,
fetchFromGitHub,
buildNpmPackage,
makeWrapper,
ffmpeg_5,
git,
pkg-config,
sqlite,
libvaSupport ? stdenv.hostPlatform.isLinux,
libva,
}:
rustPlatform.buildRustPackage rec {
pname = "dim";
version = "0-unstable-2023-12-29";
src = fetchFromGitHub {
owner = "Dusk-Labs";
repo = "dim";
rev = "3ccb4ab05fc1d7dbd4ebbba9ff2de0ecc9139b27";
hash = "sha256-1mgbrDnIkIdWy78uj4EjjgwBQxw/rIS1LCFNscXXPbk=";
};
frontend = buildNpmPackage {
pname = "dim-ui";
inherit version;
src = "${src}/ui";
postPatch = ''
ln -s ${./package-lock.json} package-lock.json
'';
npmDepsHash = "sha256-6oSm3H6RItHOrBIvP6uvR7sBboBRWFuP3VwU38GMfgQ=";
installPhase = ''
runHook preInstall
cp -r build $out
runHook postInstall
'';
};
patches = [
# Upstream uses a 'ffpath' function to look for config directory and
# (ffmpeg) binaries in the same directory as the binary. Patch it to use
# the working dir and PATH instead.
./relative-paths.diff
];
postConfigure = ''
ln -ns $frontend ui/build
'';
nativeBuildInputs = [
makeWrapper
pkg-config
git
];
buildInputs = [
sqlite
] ++ lib.optional libvaSupport libva;
buildFeatures = lib.optional libvaSupport "vaapi";
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"mp4-0.8.2" = "sha256-OtVRtOTU/yoxxoRukpUghpfiEgkKoJZNflMQ3L26Cno=";
"nightfall-0.3.12-rc4" = "sha256-DtSXdIDg7XBgzEYzHdzjrHdM1ESKTQdgByeerH5TWwU=";
};
};
checkFlags = [
# Requires network
"--skip=tmdb::tests::johhny_test_seasons"
"--skip=tmdb::tests::once_upon_get_year"
"--skip=tmdb::tests::tmdb_get_cast"
"--skip=tmdb::tests::tmdb_get_details"
"--skip=tmdb::tests::tmdb_get_episodes"
"--skip=tmdb::tests::tmdb_get_seasons"
"--skip=tmdb::tests::tmdb_search"
# Broken doctest
"--skip=dim-utils/src/lib.rs"
];
postInstall = ''
wrapProgram $out/bin/dim \
--prefix PATH : ${lib.makeBinPath [ffmpeg_5]}
'';
meta = {
homepage = "https://github.com/Dusk-Labs/dim";
description = "Self-hosted media manager";
license = lib.licenses.agpl3Only;
mainProgram = "dim";
maintainers = [ lib.maintainers.misterio77 ];
platforms = lib.platforms.unix;
};
}

View file

@ -0,0 +1,173 @@
diff --git a/dim-core/src/routes/settings.rs b/dim-core/src/routes/settings.rs
index f577eaf6..67da9448 100644
--- a/dim-core/src/routes/settings.rs
+++ b/dim-core/src/routes/settings.rs
@@ -1,5 +1,3 @@
-use crate::utils::ffpath;
-
use std::error::Error;
use std::fs::File;
use std::fs::OpenOptions;
@@ -49,7 +47,7 @@ impl Default for GlobalSettings {
}
}
},
- metadata_dir: ffpath("config/metadata"),
+ metadata_dir: "config/metadata".into(),
quiet_boot: false,
disable_auth: false,
verbose: false,
@@ -69,7 +67,7 @@ pub fn get_global_settings() -> GlobalSettings {
}
pub fn init_global_settings(path: Option<String>) -> Result<(), Box<dyn Error>> {
- let path = path.unwrap_or(ffpath("config/config.toml"));
+ let path = path.unwrap_or("config/config.toml".into());
let _ = SETTINGS_PATH.set(path.clone());
let mut content = String::new();
@@ -94,7 +92,7 @@ pub fn set_global_settings(settings: GlobalSettings) -> Result<(), Box<dyn Error
let path = SETTINGS_PATH
.get()
.cloned()
- .unwrap_or(ffpath("config/config.toml"));
+ .unwrap_or("config/config.toml".into());
{
let mut lock = GLOBAL_SETTINGS.lock().unwrap();
@@ -107,4 +105,4 @@ pub fn set_global_settings(settings: GlobalSettings) -> Result<(), Box<dyn Error
.unwrap();
Ok(())
-}
\ No newline at end of file
+}
diff --git a/dim-core/src/streaming/mod.rs b/dim-core/src/streaming/mod.rs
index a9312041..8ad12fe4 100644
--- a/dim-core/src/streaming/mod.rs
+++ b/dim-core/src/streaming/mod.rs
@@ -1,27 +1,13 @@
pub mod ffprobe;
-use cfg_if::cfg_if;
-
use std::collections::HashMap;
use std::sync::Arc;
use std::sync::RwLock;
-use crate::utils::ffpath;
-
lazy_static::lazy_static! {
pub static ref STREAMING_SESSION: Arc<RwLock<HashMap<String, HashMap<String, String>>>> = Arc::new(RwLock::new(HashMap::new()));
- pub static ref FFMPEG_BIN: &'static str = Box::leak(ffpath("utils/ffmpeg").into_boxed_str());
- pub static ref FFPROBE_BIN: &'static str = {
- cfg_if! {
- if #[cfg(test)] {
- "/usr/bin/ffprobe"
- } else if #[cfg(bench)] {
- "/usr/bin/ffprobe"
- } else {
- Box::leak(ffpath("utils/ffprobe").into_boxed_str())
- }
- }
- };
+ pub static ref FFMPEG_BIN: &'static str = "ffmpeg";
+ pub static ref FFPROBE_BIN: &'static str = "ffprobe";
}
use std::process::Command;
diff --git a/dim-database/src/lib.rs b/dim-database/src/lib.rs
index de99a5e4..ac9731be 100644
--- a/dim-database/src/lib.rs
+++ b/dim-database/src/lib.rs
@@ -1,8 +1,6 @@
// FIXME: We have a shim in dim/utils but we cant depend on dim because itd be a circular dep.
#![deny(warnings)]
-use crate::utils::ffpath;
-
use std::str::FromStr;
use std::sync::atomic::AtomicBool;
use std::sync::atomic::Ordering;
@@ -157,13 +155,13 @@ pub async fn get_conn_logged() -> sqlx::Result<DbConnection> {
async fn internal_get_conn() -> sqlx::Result<DbConnection> {
let rw_only = sqlx::sqlite::SqliteConnectOptions::new()
.create_if_missing(true)
- .filename(ffpath("config/dim.db"))
+ .filename("config/dim.db")
.connect()
.await?;
let rd_only = sqlx::pool::PoolOptions::new()
.connect_with(
- sqlx::sqlite::SqliteConnectOptions::from_str(ffpath("config/dim.db"))?
+ sqlx::sqlite::SqliteConnectOptions::from_str("config/dim.db")?
.read_only(true)
.synchronous(sqlx::sqlite::SqliteSynchronous::Normal)
.create_if_missing(true),
diff --git a/dim-database/src/utils.rs b/dim-database/src/utils.rs
index 35e25c6c..e1e56e01 100644
--- a/dim-database/src/utils.rs
+++ b/dim-database/src/utils.rs
@@ -16,17 +16,3 @@ macro_rules! opt_update {
}
}
}
-
-#[cfg(not(debug_assertions))]
-pub fn ffpath(bin: impl AsRef<str>) -> &'static str {
- let mut path = std::env::current_exe().expect("Failed to grab path to the `dim` binary.");
- path.pop(); // remove the dim bin to get the dir of `dim`
- path.push(bin.as_ref());
-
- Box::leak(path.to_string_lossy().to_string().into_boxed_str())
-}
-
-#[cfg(debug_assertions)]
-pub fn ffpath(bin: impl AsRef<str>) -> &'static str {
- Box::leak(bin.as_ref().to_string().into_boxed_str())
-}
diff --git a/dim-utils/src/lib.rs b/dim-utils/src/lib.rs
index 816bfe82..6dddc9aa 100644
--- a/dim-utils/src/lib.rs
+++ b/dim-utils/src/lib.rs
@@ -400,20 +400,6 @@ pub fn secs_to_pretty(t: u64) -> String {
tag
}
-#[cfg(not(debug_assertions))]
-pub fn ffpath(bin: impl AsRef<str>) -> String {
- let mut path = std::env::current_exe().expect("Failed to grab path to the `dim` binary.");
- path.pop(); // remove the dim bin to get the dir of `dim`
- path.push(bin.as_ref());
-
- path.to_string_lossy().to_string()
-}
-
-#[cfg(debug_assertions)]
-pub fn ffpath(bin: impl AsRef<str>) -> String {
- bin.as_ref().to_string()
-}
-
pub fn codec_pretty(codec: &str) -> String {
match codec {
"h264" => "H.264".into(),
diff --git a/dim/src/main.rs b/dim/src/main.rs
index 867d64de..e683b441 100644
--- a/dim/src/main.rs
+++ b/dim/src/main.rs
@@ -18,12 +18,12 @@ struct Args {
fn main() {
let args = Args::parse();
- let _ = std::fs::create_dir_all(dim::utils::ffpath("config"));
+ let _ = std::fs::create_dir_all("config");
let config_path = args
.config
.map(|x| x.to_string_lossy().to_string())
- .unwrap_or(dim::utils::ffpath("config/config.toml"));
+ .unwrap_or("config/config.toml".into());
// initialize global settings.
dim::init_global_settings(Some(config_path)).expect("Failed to initialize global settings.");

View file

@ -0,0 +1,40 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
}:
stdenv.mkDerivation (finalAttrs: {
pname = "dns2tcp";
version = "0.5.2";
src = fetchFromGitHub {
owner = "alex-sector";
repo = "dns2tcp";
rev = "v${finalAttrs.version}";
hash = "sha256-oBKkuQGVQNVzx8pds3qkZkZpwg8b44g1ovonrq2nqKw=";
};
patches = [
# fixes gcc-10 build issues.
(fetchpatch {
url = "https://salsa.debian.org/debian/dns2tcp/-/raw/86b518ce169e88488d71c6b0270d4fc814dc1fbc/debian/patches/01_fix_gcc10_issues.patch.";
hash = "sha256-IGpUIajkhruou7meZZJEJ5nnsQ/hVflyPfAuh3J0otI=";
})
# fixes some spelling errors.
(fetchpatch {
url = "https://salsa.debian.org/debian/dns2tcp/-/raw/13481f37b7184e52b83cc0c41edfc6b20a5debed/debian/patches/fix_spelling_errors.patch";
hash = "sha256-b65olctlwLOY2GnVb7i7axGFiR0iLoTYstXdtVkU3vQ=";
})
];
meta = with lib; {
description = "A tool for relaying TCP connections over DNS";
homepage = "https://github.com/alex-sector/dns2tcp";
license = licenses.gpl2Plus;
mainProgram = "dns2tcpc";
maintainers = with maintainers; [ d3vil0p3r ];
platforms = platforms.unix;
};
})

View file

@ -6,15 +6,15 @@
, testers, dunst
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "dunst";
version = "1.9.2";
version = "1.10.0";
src = fetchFromGitHub {
owner = "dunst-project";
repo = "dunst";
rev = "v${version}";
sha256 = "sha256-8IH0WTPSaAundhYh4l7gQR66nyT38H4DstRTm+Xh+Z8=";
rev = "v${finalAttrs.version}";
hash = "sha256-6smFUdWqOuYB0btsDgHtIpDBfHhkpIQfjyZ8wtRg1bQ=";
};
nativeBuildInputs = [ perl pkg-config which systemd makeWrapper ];
@ -59,4 +59,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ domenkozar ];
mainProgram = "dunst";
};
}
})

View file

@ -0,0 +1,34 @@
{ lib
, fetchFromGitHub
, buildGoModule
, gnumake
}:
buildGoModule {
pname = "emacsclient-commands";
version = "unstable-2023-09-22";
src = fetchFromGitHub {
owner = "szermatt";
repo = "emacsclient-commands";
rev = "8f5c8a877794ed51f8225036e36fd5ce272b17f3";
hash = "sha256-OlcB5VqWYdl0wz1y8nmG6Xgdf5IPOUQ31UG1TDxQAis=";
};
vendorHash = "sha256-8oREed2Igz5UvUTDdOFwW5wQQy3H8Xj8epxo6gqnZFA=";
buildInputs = [ gnumake ];
buildPhase = ''
runHook preBuild
DESTDIR=$out/ make install
runHook postBuild
'';
meta = with lib; {
description = "A collection of small shell utilities that connect to a local Emacs server";
homepage = "https://github.com/szermatt/emacsclient-commands";
license = licenses.gpl2Only;
maintainers = with maintainers; [ binarycat ];
};
}

View file

@ -0,0 +1,67 @@
{ lib
, fetchFromGitHub
, python3Packages
, gobject-introspection
, libadwaita
, wrapGAppsHook
, meson
, ninja
, desktop-file-utils
, pkg-config
, appstream
, libsecret
, gtk4
, gtksourceview5
}:
python3Packages.buildPythonApplication rec {
pname = "errands";
version = "45.1.9";
pyproject = false;
src = fetchFromGitHub {
owner = "mrvladus";
repo = "Errands";
rev = "refs/tags/${version}";
hash = "sha256-q8vmT7XUx3XJjPfbEd/c3HrTENfopl1MqwT0x5OuG0c=";
};
nativeBuildInputs = [
gobject-introspection
wrapGAppsHook
desktop-file-utils
meson
ninja
pkg-config
appstream
gtk4
];
buildInputs = [
libadwaita
libsecret
gtksourceview5
];
propagatedBuildInputs = with python3Packages; [
pygobject3
lxml
caldav
pycryptodomex
];
dontWrapGApps = true;
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
meta = with lib; {
description = "Manage your tasks";
homepage = "https://github.com/mrvladus/Errands";
license = licenses.mit;
mainProgram = "errands";
maintainers = with maintainers; [ sund3RRR ];
};
}

View file

@ -7,16 +7,16 @@
buildGoModule rec {
pname = "files-cli";
version = "2.12.36";
version = "2.12.37";
src = fetchFromGitHub {
repo = "files-cli";
owner = "files-com";
rev = "v${version}";
hash = "sha256-tWOC2QDu72dETTFXG9JmOlm/xBWehTH2FUStegyYu2g=";
hash = "sha256-2vXztx294fOAZ1Vp0z4sGfoUYZch9aZffyz/Z9vzEnQ=";
};
vendorHash = "sha256-rNftWnIbUruUOPrfCso8uu2Z4CAL43RxjoTVMpNkD3U=";
vendorHash = "sha256-AEBpt8qg6UvHlx4iS8fXCdzQ0GgEf2ALKR00ThqXctc=";
ldflags = [
"-s"

View file

@ -10,16 +10,16 @@
buildGoModule rec {
pname = "goldwarden";
version = "0.2.10";
version = "0.2.12";
src = fetchFromGitHub {
owner = "quexten";
repo = "goldwarden";
rev = "v${version}";
hash = "sha256-NYK9H9BCjUweip8HjxHqN2wjUGmg0zicJSC/S1hpvx8=";
hash = "sha256-W6dqxHGZGHuVOUNYWMpfswzG2bSCRyY58ya/ZqAMxyY=";
};
vendorHash = "sha256-AiYgI2dBhVYxGNU7t4dywi8KWiffO6V05KFYoGzA0t4=";
vendorHash = "sha256-IH0p7t1qInA9rNYv6ekxDN/BT5Kguhh4cZfmL+iqwVU=";
ldflags = [ "-s" "-w" ];

View file

@ -0,0 +1,37 @@
{
lib,
buildGo122Module,
fetchFromGitHub,
}:
buildGo122Module rec {
pname = "gptscript";
version = "0.1.1";
src = fetchFromGitHub {
owner = "gptscript-ai";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-zG75L10WvfkmjwW3ifBHaTkHNXqXvNO0PaXejCc2tls=";
};
vendorHash = "sha256-LV9uLLwdtLJTIxaBB1Jew92S0QjQsceyLEfSrDeDnR4=";
ldflags = [
"-s"
"-w"
"-X main.Version=${version}"
"-X main.Commit=${version}"
];
# Requires network access
doCheck = false;
meta = with lib; {
homepage = "https://gptscript.ai";
changelog = "https://github.com/gptscript-ai/gptscript/releases/tag/v{version}";
description = "Natural Language Programming";
license = with licenses; [asl20];
maintainers = with maintainers; [jamiemagee];
mainProgram = "gptscript";
};
}

View file

@ -10,16 +10,16 @@
buildGoModule rec {
pname = "hugo";
version = "0.122.0";
version = "0.123.0";
src = fetchFromGitHub {
owner = "gohugoio";
repo = "hugo";
rev = "refs/tags/v${version}";
hash = "sha256-pnsQo+nSuIlQ6KKTP1z/BZ74zEu9HjYP66hGStPc0pc=";
hash = "sha256-VGp+B+a4nX5oIc+YjslQHzXgC76MvMObKS6EXll1C3E=";
};
vendorHash = "sha256-aYy0TOfNIqx44UBXJhewvxi+oSAWjmi/32WvI3HJ3MM=";
vendorHash = "sha256-1cd0w9eIPSlhznOQaIiaPoIBnQ4DycVUbZwLOlJ+t8o=";
doCheck = false;

View file

@ -0,0 +1,38 @@
{ lib
, buildGoModule
, fetchFromGitHub
, installShellFiles
}:
buildGoModule rec {
pname = "keepassxc-go";
version = "1.5.1";
src = fetchFromGitHub {
owner = "MarkusFreitag";
repo = "keepassxc-go";
rev = "v${version}";
hash = "sha256-seCeHNEj5GxAI7BVMPzh+YuoxivmTwvhVCqY5LKHpQk=";
};
nativeBuildInputs = [ installShellFiles ];
vendorHash = "sha256-jscyNyVr+RDN1EaxIOc3aYCAVT+1eO/c+dxEsIorDIs=";
postInstall = ''
local INSTALL="$out/bin/keepassxc-go"
installShellCompletion --cmd keepassxc-go \
--bash <($out/bin/keepassxc-go completion bash) \
--fish <($out/bin/keepassxc-go completion fish) \
--zsh <($out/bin/keepassxc-go completion zsh)
'';
meta = with lib; {
description = "Library and basic CLI tool to interact with KeepassXC via unix socket";
homepage = "https://github.com/MarkusFreitag/keepassxc-go";
changelog = "https://github.com/MarkusFreitag/keepassxc-go/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ xgwq ];
mainProgram = "keepassxc-go";
};
}

View file

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "kor";
version = "0.3.4";
version = "0.3.5";
src = fetchFromGitHub {
owner = "yonahd";
repo = pname;
rev = "v${version}";
hash = "sha256-GeGttcvAhCRLbScxgcV9DrNZbvlsVRyOcA4xFUlHCyI=";
hash = "sha256-Y8k7tpKqs/X5ePa2kFkKxrYb1E4Z5h8+o229eD6YQ/M=";
};
vendorHash = "sha256-x3XlqyaNPafBbCOq6leUHmBzz2poxgT0mVJ8UM0aRzg=";
vendorHash = "sha256-DRbwM6fKTIlefD0rUmNLlUXrK+t3vNCl4rxHF7m8W10=";
preCheck = ''
HOME=$(mktemp -d)

View file

@ -6,11 +6,11 @@
appimageTools.wrapType2 rec {
pname = "lunar-client";
version = "3.2.1";
version = "3.2.3";
src = fetchurl {
url = "https://launcherupdates.lunarclientcdn.com/Lunar%20Client-${version}.AppImage";
hash = "sha512-ZW+SFIZ5+xxgesaZ7ZQbUnv7H5U92SZdfAU7GhJR1H0mhkrIb5Go6GWrIXaWYZLrmOlD98LSLihYi7SemJp+Yg==";
hash = "sha512-2zuVURKDw+Z/8I1AO8G5KPVOlPIZC/Mbt9jK5gn9CV1zmRiWKL+m1/Bw9/h7fanBdm0fhfLklplmlTTabPm7dg==";
};
extraInstallCommands =

View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "c3efe6b6543d5e592e77a809fb1bb84e",
"content-hash": "11632300688e9bcc111cc0e38617b43f",
"packages": [
{
"name": "fidry/cpu-core-counter",
@ -2628,16 +2628,16 @@
},
{
"name": "phpstan/phpstan",
"version": "1.10.57",
"version": "1.10.59",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan.git",
"reference": "1627b1d03446904aaa77593f370c5201d2ecc34e"
"reference": "e607609388d3a6d418a50a49f7940e8086798281"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/1627b1d03446904aaa77593f370c5201d2ecc34e",
"reference": "1627b1d03446904aaa77593f370c5201d2ecc34e",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/e607609388d3a6d418a50a49f7940e8086798281",
"reference": "e607609388d3a6d418a50a49f7940e8086798281",
"shasum": ""
},
"require": {
@ -2686,7 +2686,7 @@
"type": "tidelift"
}
],
"time": "2024-01-24T11:51:34+00:00"
"time": "2024-02-20T13:59:13+00:00"
},
{
"name": "phpstan/phpstan-deprecation-rules",
@ -2904,16 +2904,16 @@
},
{
"name": "squizlabs/php_codesniffer",
"version": "3.8.1",
"version": "3.9.0",
"source": {
"type": "git",
"url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git",
"reference": "14f5fff1e64118595db5408e946f3a22c75807f7"
"reference": "d63cee4890a8afaf86a22e51ad4d97c91dd4579b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/14f5fff1e64118595db5408e946f3a22c75807f7",
"reference": "14f5fff1e64118595db5408e946f3a22c75807f7",
"url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/d63cee4890a8afaf86a22e51ad4d97c91dd4579b",
"reference": "d63cee4890a8afaf86a22e51ad4d97c91dd4579b",
"shasum": ""
},
"require": {
@ -2980,7 +2980,7 @@
"type": "open_collective"
}
],
"time": "2024-01-11T20:47:48+00:00"
"time": "2024-02-16T15:06:51+00:00"
},
{
"name": "symfony/filesystem",

View file

@ -5,17 +5,17 @@
(php.withExtensions ({ enabled, all }: enabled ++ [ all.pcov ])).buildComposerProject (finalAttrs: {
pname = "paratest";
version = "7.4.1";
version = "7.4.3";
src = fetchFromGitHub {
owner = "paratestphp";
repo = "paratest";
rev = "v${finalAttrs.version}";
hash = "sha256-0cyv2WSiGjyp9vv2J8hxFnuvxAwrig1DmSxKSdBzNGI=";
hash = "sha256-Shf/fsGhDmupFn/qERzXGg3ko7mBgUqYzafO/VPqmoU=";
};
composerLock = ./composer.lock;
vendorHash = "sha256-vYcfmVEMGhAvPYTsVAJl7njxgVkL1b8QBr/3/DCxmCE=";
vendorHash = "sha256-9KFh6Vwzt17v6WlEutRpwCauLOcj05hR4JGDcPbYL1U=";
meta = {
changelog = "https://github.com/paratestphp/paratest/releases/tag/v${finalAttrs.version}";

View file

@ -18,6 +18,8 @@ buildGoModule rec {
export HOME="$(mktemp -d)"
'';
subPackages = [ "." ];
ldflags = [
"-s"
"-w"

1
pkgs/by-name/pu/purescm/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
node_modules/

View file

@ -0,0 +1,19 @@
========================================================================
purescm
========================================================================
Suggested additional ``buildInputs``
====================================
``chez-racket``
Upstream is using the Racket fork of Chez Scheme to execute the
generated Scheme output.
To update this package
======================
#. Bump the ``./package.json`` version pin
#. Run ``nix-shell -p nodejs --command "npm i --package-lock-only"``
#. Update ``npmDeps.hash`` in the ``package.nix``

View file

@ -0,0 +1,20 @@
{
"name": "purescm",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"dependencies": {
"purescm": "1.8.2"
}
},
"node_modules/purescm": {
"version": "1.8.2",
"resolved": "https://registry.npmjs.org/purescm/-/purescm-1.8.2.tgz",
"integrity": "sha512-r+iaiRagOO2rHxGIke391l+pMlpE85vOVpQA32pdftJTdKeUVGIYy0UAs1nOkQSNxdHMXsNIkrskAwOSiyX3PA==",
"bin": {
"purescm": "index.js"
}
}
}
}

View file

@ -0,0 +1,5 @@
{
"dependencies": {
"purescm": "1.8.2"
}
}

View file

@ -0,0 +1,45 @@
{ lib
, buildNpmPackage
, fetchNpmDeps
, testers
}:
let
inherit (lib) fileset;
packageLock = builtins.fromJSON (builtins.readFile ./package-lock.json);
pname = "purescm";
version = packageLock.packages."node_modules/${pname}".version;
package = buildNpmPackage {
inherit pname version;
src = ./.;
dontNpmBuild = true;
npmDeps = fetchNpmDeps {
src = ./.;
hash = "sha256-ljeFcLvIET77Q0OR6O5Ok1fGnaxaKaoywpcy2aHq/6o=";
};
installPhase = ''
mkdir -p $out/share/${pname}
cp -r node_modules/ $out/share/${pname}
ln -s $out/share/${pname}/node_modules/.bin $out/bin
'';
passthru.tests = {
version = testers.testVersion { inherit package; };
};
meta = {
description = "Chez Scheme back-end for PureScript";
homepage = "https://github.com/purescm/purescm";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ toastal ];
mainProgram = "purescm";
};
};
in
package

View file

@ -0,0 +1,121 @@
From 9b46e151b9fdaf5684618482e69ef4a307c0d47c Mon Sep 17 00:00:00 2001
From: annalee <150648636+a-n-n-a-l-e-e@users.noreply.github.com>
Date: Sun, 18 Feb 2024 19:54:21 +0000
Subject: [PATCH] darwin build fixes
---
compat.h | 14 ++++++++++++++
dev.c | 1 +
error.c | 1 +
io.c | 1 +
mergebad.c | 1 +
recoverdm.c | 1 +
utils.c | 1 +
utils.h | 1 +
8 files changed, 21 insertions(+)
create mode 100644 src/compat.h
diff --git a/compat.h b/compat.h
new file mode 100644
index 0000000..181c8ea
--- /dev/null
+++ b/compat.h
@@ -0,0 +1,14 @@
+#pragma once
+#ifdef __APPLE__
+#include <unistd.h>
+_Static_assert(sizeof(off_t) == 8, "off_t must be 8 bytes");
+typedef off_t off64_t;
+#define stat64 stat
+#define lseek64 lseek
+#define open64 open
+#define POSIX_FADV_SEQUENTIAL 1
+static inline int posix_fadvise(int fd, off_t offset, off_t len, int advice)
+{
+ return 0;
+}
+#endif
diff --git a/dev.c b/dev.c
index c1ce748..ae3ce2c 100644
--- a/dev.c
+++ b/dev.c
@@ -18,6 +18,7 @@
#include <scsi/scsi_ioctl.h>
#include <linux/cdrom.h>
#endif
+#include "compat.h"
#include "dev.h"
diff --git a/error.c b/error.c
index d2f8acf..550e1af 100644
--- a/error.c
+++ b/error.c
@@ -4,6 +4,7 @@
#include <stdlib.h>
#include <sys/types.h>
#include <signal.h>
+#include "compat.h"
void error_exit(char *format, ...)
{
diff --git a/io.c b/io.c
index 9d66534..e784d75 100644
--- a/io.c
+++ b/io.c
@@ -7,6 +7,7 @@
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include "compat.h"
#include "io.h"
#include "error.h"
diff --git a/mergebad.c b/mergebad.c
index 34a6ef7..580c3bc 100644
--- a/mergebad.c
+++ b/mergebad.c
@@ -7,6 +7,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
+#include "compat.h"
#include "io.h"
#include "dev.h"
diff --git a/recoverdm.c b/recoverdm.c
index 8b71ae1..5dddeb3 100644
--- a/recoverdm.c
+++ b/recoverdm.c
@@ -7,6 +7,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
+#include "compat.h"
#include "io.h"
#include "dev.h"
diff --git a/utils.c b/utils.c
index 5791404..ee42a0a 100644
--- a/utils.c
+++ b/utils.c
@@ -7,6 +7,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
+#include "compat.h"
#include "io.h"
#include "dev.h"
diff --git a/utils.h b/utils.h
index c749c2e..acb0888 100644
--- a/utils.h
+++ b/utils.h
@@ -1,3 +1,4 @@
+#include "compat.h"
void * mymalloc(size_t size, char *what);
void * myrealloc(void *oldp, size_t newsize, char *what);
off64_t get_filesize(char *filename);
--
2.43.0

View file

@ -0,0 +1,53 @@
{ lib
, stdenv
, fetchFromGitLab
, fetchpatch
, installShellFiles
}:
stdenv.mkDerivation (finalAttrs: {
pname = "recoverdm";
version = "0.20-8";
src = fetchFromGitLab {
domain = "salsa.debian.org";
owner = "pkg-security-team";
repo = "recoverdm";
rev = "debian/${finalAttrs.version}";
hash = "sha256-1iW3Ug85ZLGpvG29N5zJt8oooSQGnLsr+8XIcp4aSSM=";
};
patches = let patch = name: "./debian/patches/${name}"; in [
(patch "10_fix-makefile.patch")
(patch "20_fix-typo-binary.patch")
(patch "30-fix-BTS-mergebad-crash.patch")
(patch "40_dev-c.patch")
./0001-darwin-build-fixes.patch
];
postPatch = ''
substituteInPlace Makefile \
--replace-fail '$(DESTDIR)/usr/bin' $out/bin
'';
nativeBuildInputs = [
installShellFiles
];
preInstall = ''
mkdir -p $out/bin
'';
postInstall = ''
installManPage recoverdm.1
'';
meta = with lib; {
description = "Recover damaged CD DVD and disks with bad sectors";
mainProgram = "recoverdm";
homepage = "https://salsa.debian.org/pkg-security-team/recoverdm";
maintainers = with maintainers; [ d3vil0p3r ];
platforms = platforms.unix;
license = licenses.gpl1Only;
};
})

View file

@ -7,10 +7,10 @@
inherit buildUnstable;
}).overrideAttrs (finalAttrs: _: {
pname = "renode-unstable";
version = "1.14.0+20240215git10667c665";
version = "1.14.0+20240219gitea2784757";
src = fetchurl {
url = "https://builds.renode.io/renode-${finalAttrs.version}.linux-portable.tar.gz";
hash = "sha256-4u2mAW93ivXteVBimjbjDhYHzHHIQCdrINEFzapCd3c=";
hash = "sha256-ODf2vWQ0ZeYYmia5BgQvLm+BFCX/GjVvRqVAPPW/sq8=";
};
})

View file

@ -6,16 +6,16 @@
rustPlatform.buildRustPackage rec {
pname = "steamguard-cli";
version = "0.12.5";
version = "0.12.6";
src = fetchFromGitHub {
owner = "dyc3";
repo = pname;
rev = "v${version}";
hash = "sha256-YjJhCEg87xuUFjHD6cBN4dhQhx/c4F/XewyMYeA06+U=";
hash = "sha256-LKzN4bNhouwOiTx3pEOLw3bDqRAhKkPi25i0yP/n0PI=";
};
cargoHash = "sha256-Z1KWU7Z9iGs5yjuWilMSYhfIilSW8ng+pq5ENfunINo=";
cargoHash = "sha256-SLbT2538maN2gQAf8BdRHpDRcYjA9lkMgCpiEYOas28=";
nativeBuildInputs = [ installShellFiles ];
postInstall = ''

View file

@ -5,12 +5,12 @@
let
pname = "wtfis";
version = "0.7.1";
version = "0.8.0";
src = fetchFromGitHub {
owner = "pirxthepilot";
repo = "wtfis";
rev = "refs/tags/v${version}";
hash = "sha256-X3e0icyhNPg8P6+N9k6a9WwBJ8bXRPdo3fj4cj+yY6w=";
hash = "sha256-eSmvyDr8PbB15UWIl67Qp2qHeOq+dmnP8eMsvcGypVw=";
};
in python3.pkgs.buildPythonApplication {
inherit pname version src;

View file

@ -56,6 +56,7 @@ rustPlatform.buildRustPackage rec {
description = "XDG Desktop Portal for the COSMIC Desktop Environment";
license = licenses.gpl3Only;
maintainers = with maintainers; [ nyanbinary ];
mainProgram = "xdg-desktop-portal-cosmic";
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,60 @@
{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonPackage rec {
pname = "zigpy-cli";
version = "1.0.4";
pyproject = true;
src = fetchFromGitHub {
owner = "zigpy";
repo = "zigpy-cli";
rev = "refs/tags/v${version}";
hash = "sha256-OxVSEBo+wFEBZnWpmQ4aUZWppCh0oavxlQvwDXiWiG8=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail '"setuptools-git-versioning<2"' "" \
--replace-fail 'dynamic = ["version"]' 'version = "${version}"'
'';
nativeBuildInputs = with python3.pkgs; [
setuptools
];
propagatedBuildInputs = with python3.pkgs; [
bellows
click
coloredlogs
scapy
zigpy
zigpy-deconz
zigpy-xbee
# zigpy-zboss # not packaged
zigpy-zigate
zigpy-znp
];
nativeCheckInputs = with python3.pkgs; [
freezegun
pytest-asyncio
pytest-timeout
pytestCheckHook
];
pythonImportsCheck = [
"zigpy_cli"
];
meta = with lib; {
description = "Command line interface for zigpy";
homepage = "https://github.com/zigpy/zigpy-cli";
changelog = "https://github.com/zigpy/zigpy/releases/tag/v${version}";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ SuperSandro2000 ];
platforms = platforms.linux;
};
}

View file

@ -2,11 +2,11 @@
stdenvNoCC.mkDerivation rec {
pname = "sudo-font";
version = "0.81";
version = "1.0";
src = fetchzip {
url = "https://github.com/jenskutilek/sudo-font/releases/download/v${version}/sudo.zip";
hash = "sha256-qc26xHM9P9+lsPE9j5UY4f0hIb5PjlCSy+jm0zEFj2g=";
hash = "sha256-XD+oLfPE8DD5DG5j/VN6nTVn+mhFE5qqyvjwDk2Dr/I=";
};
installPhase = ''

View file

@ -19,7 +19,6 @@
, glibc
, gnome
, gnome-desktop
, gnome-online-accounts
, gsettings-desktop-schemas
, gsound
, gtk3
@ -54,18 +53,19 @@
, upower
, webp-pixbuf-loader
, wrapGAppsHook
, enableSshSocket ? false
}:
stdenv.mkDerivation rec {
pname = "budgie-control-center";
version = "1.3.0";
version = "1.4.0";
src = fetchFromGitHub {
owner = "BuddiesOfBudgie";
repo = pname;
rev = "v${version}";
fetchSubmodules = true;
sha256 = "sha256-7E23cgX7TkBJT/yansBfvMx0ddfAwrF7mGfqzbyLY4Q=";
sha256 = "sha256-W5PF7BPdQdg/7xJ4J+fEnuDdpoG/lyhX56RDnX2DXoY=";
};
patches = [
@ -101,7 +101,6 @@ stdenv.mkDerivation rec {
glib
glib-networking
gnome-desktop
gnome-online-accounts
gnome.adwaita-icon-theme
gnome.cheese
gnome.gnome-bluetooth_1_0
@ -134,6 +133,10 @@ stdenv.mkDerivation rec {
upower
];
mesonFlags = [
(lib.mesonBool "ssh" enableSshSocket)
];
preConfigure = ''
# For ITS rules
addToSearchPath "XDG_DATA_DIRS" "${polkit.out}/share"

View file

@ -3,6 +3,7 @@
, fetchFromGitHub
, pkg-config
, glib
, glib-networking
, gettext
, cinnamon-desktop
, gtk3
@ -47,6 +48,7 @@ stdenv.mkDerivation rec {
buildInputs = [
gtk3
glib
glib-networking
cinnamon-desktop
libnotify
cinnamon-menus

View file

@ -9,7 +9,6 @@
, dde-file-manager
, deepin-desktop-schemas
, deepin-movie-reborn
, deepin-screen-recorder
, deepin-system-monitor
, gsettings-desktop-schemas
, extraGSettingsOverrides ? ""
@ -24,7 +23,6 @@ let
dde-file-manager
deepin-desktop-schemas
deepin-movie-reborn
deepin-screen-recorder
deepin-system-monitor
gsettings-desktop-schemas # dde-appearance need org.gnome.desktop.background
] ++ extraGSettingsOverridePackages;

View file

@ -12,8 +12,6 @@
, qtimageformats
, lxqt
, librsvg
, freeimage
, libraw
}:
stdenv.mkDerivation rec {
@ -50,8 +48,6 @@ stdenv.mkDerivation rec {
qtbase
lxqt.libqtxdg
librsvg
freeimage
libraw
];
propagatedBuildInputs = [

View file

@ -17,12 +17,12 @@ let
in
stdenv.mkDerivation rec {
pname = "circt";
version = "1.65.0";
version = "1.66.0";
src = fetchFromGitHub {
owner = "llvm";
repo = "circt";
rev = "firtool-${version}";
sha256 = "sha256-RYQAnvU+yoHGrU9zVvrD1/O80ioHEq2Cvo/MIjI6uTo=";
sha256 = "sha256-7O2YUZq0GBS2xvsXg0v55XZXAzqsbHjeKNgqMbNRT8E=";
fetchSubmodules = true;
};

View file

@ -1,15 +1,15 @@
{ lib, stdenv
{ lib
, stdenv
, fetchzip
, callPackage
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "qbe";
version = "1.1";
version = "1.2";
src = fetchzip {
url = "https://c9x.me/compile/release/qbe-${version}.tar.xz";
sha256 = "sha256-yFZ3cpp7eLjf7ythKFTY1YEJYyfeg2en4/D8+9oM1B4=";
url = "https://c9x.me/compile/release/qbe-${finalAttrs.version}.tar.xz";
hash = "sha256-UgtJnZF/YtD54OBy9HzGRAEHx5tC9Wo2YcUidGwrv+s=";
};
makeFlags = [ "PREFIX=$(out)" ];
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
doCheck = true;
passthru = {
tests.can-run-hello-world = callPackage ./test-can-run-hello-world.nix {};
tests.can-run-hello-world = callPackage ./test-can-run-hello-world.nix { };
};
meta = with lib; {
@ -26,5 +26,6 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ fgaz ];
license = licenses.mit;
platforms = platforms.all;
mainProgram = "qbe";
};
}
})

View file

@ -45,6 +45,14 @@
# C can import package A propagated by B
, propagatedBuildInputs ? []
# Python module dependencies.
# These are named after PEP-621.
, dependencies ? []
, optional-dependencies ? {}
# Python PEP-517 build systems.
, build-system ? []
# DEPRECATED: use propagatedBuildInputs
, pythonPath ? []
@ -97,8 +105,6 @@
, meta ? {}
, passthru ? {}
, doCheck ? config.doCheckByDefault or false
, disabledTestPaths ? []
@ -193,10 +199,28 @@ let
"setuptools" "wheel"
];
passthru =
attrs.passthru or { }
// {
updateScript = let
filename = builtins.head (lib.splitString ":" self.meta.position);
in attrs.passthru.updateScript or [ update-python-libraries filename ];
}
// lib.optionalAttrs (dependencies != []) {
inherit dependencies;
}
// lib.optionalAttrs (optional-dependencies != {}) {
inherit optional-dependencies;
}
// lib.optionalAttrs (build-system != []) {
inherit build-system;
};
# Keep extra attributes from `attrs`, e.g., `patchPhase', etc.
self = toPythonModule (stdenv.mkDerivation ((builtins.removeAttrs attrs [
"disabled" "checkPhase" "checkInputs" "nativeCheckInputs" "doCheck" "doInstallCheck" "dontWrapPythonPrograms" "catchConflicts" "pyproject" "format"
"disabledTestPaths" "outputs" "stdenv"
"dependencies" "optional-dependencies" "build-system"
]) // {
name = namePrefix + name_;
@ -256,11 +280,11 @@ let
pythonNamespacesHook
] ++ lib.optionals withDistOutput [
pythonOutputDistHook
] ++ nativeBuildInputs;
] ++ nativeBuildInputs ++ build-system;
buildInputs = validatePythonMatches "buildInputs" (buildInputs ++ pythonPath);
propagatedBuildInputs = validatePythonMatches "propagatedBuildInputs" (propagatedBuildInputs ++ [
propagatedBuildInputs = validatePythonMatches "propagatedBuildInputs" (propagatedBuildInputs ++ dependencies ++ [
# we propagate python even for packages transformed with 'toPythonApplication'
# this pollutes the PATH but avoids rebuilds
# see https://github.com/NixOS/nixpkgs/issues/170887 for more context
@ -292,6 +316,8 @@ let
outputs = outputs ++ lib.optional withDistOutput "dist";
inherit passthru;
meta = {
# default to python's platforms
platforms = python.meta.platforms;
@ -305,13 +331,7 @@ let
disabledTestPaths = lib.escapeShellArgs disabledTestPaths;
}));
passthru.updateScript = let
filename = builtins.head (lib.splitString ":" self.meta.position);
in attrs.passthru.updateScript or [ update-python-libraries filename ];
in
if disabled then
throw "${name} not supported for interpreter ${python.executable}"
else
self.overrideAttrs (attrs: {
passthru = lib.recursiveUpdate passthru attrs.passthru;
})
in lib.extendDerivation
(disabled -> throw "${name} not supported for interpreter ${python.executable}")
passthru
self

View file

@ -10,17 +10,17 @@
# reference: https://boringssl.googlesource.com/boringssl/+/2661/BUILDING.md
buildGoModule {
pname = "boringssl";
version = "unstable-2023-09-27";
version = "unstable-2024-02-15";
src = fetchgit {
url = "https://boringssl.googlesource.com/boringssl";
rev = "d24a38200fef19150eef00cad35b138936c08767";
hash = "sha256-FBQ7y4N2rCM/Cyd6LBnDUXpSa2O3osUXukECTBjZL6s=";
rev = "5a1a5fbdb865fa58f1da0fd8bf6426f801ea37ac";
hash = "sha256-nu+5TeWEAVLGhTE15kxmTWZxo0V2elNUy67gdaU3Y+I=";
};
nativeBuildInputs = [ cmake ninja perl ];
vendorHash = "sha256-EJPcx07WuvHPAgiS1ASU6WHlHkxjUOO72if4TkmrqwY=";
vendorHash = "sha256-McSmG+fMO8/T/bJR6YAJDYw9pxsWJoj1hcSTPv/wMsI=";
proxyVendor = true;
# hack to get both go and cmake configure phase

View file

@ -9,13 +9,13 @@
stdenv.mkDerivation rec {
pname = "cxxopts";
version = "3.2.0";
version = "3.2.1";
src = fetchFromGitHub {
owner = "jarro2783";
repo = "cxxopts";
rev = "v${version}";
sha256 = "sha256-tOO0YCIG3MxSJZhurNcDR1pWIUEO/Har9mrCrZs3iVk=";
sha256 = "sha256-aOF3owz7SIV4trJY0PnMtIcwqoUpDbB3tNxZcsl9dzM=";
};
buildInputs = lib.optionals enableUnicodeHelp [ icu.dev ];

View file

@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
description = "Binary-decimal and decimal-binary routines for IEEE doubles";
homepage = "https://github.com/google/double-conversion";
license = licenses.bsd3;
platforms = platforms.unix;
platforms = platforms.unix ++ platforms.windows;
maintainers = with maintainers; [ abbradar ];
};
}

View file

@ -72,6 +72,20 @@ stdenv.mkDerivation (finalAttrs: {
description = "Open Source library for accessing popular graphics image file formats";
homepage = "http://freeimage.sourceforge.net/";
license = "GPL";
knownVulnerabilities = [
"CVE-2021-33367"
"CVE-2021-40262"
"CVE-2021-40263"
"CVE-2021-40264"
"CVE-2021-40265"
"CVE-2021-40266"
"CVE-2023-47992"
"CVE-2023-47993"
"CVE-2023-47994"
"CVE-2023-47995"
"CVE-2023-47996"
];
maintainers = with lib.maintainers; [viric l-as];
platforms = with lib.platforms; unix;
};

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "jffi";
version = "1.3.12";
version = "1.3.13";
src = fetchFromGitHub {
owner = "jnr";
repo = "jffi";
rev = "jffi-${version}";
sha256 = "sha256-U0pBoKewZEen7aH3rIvZ8dKKeXKE1+Z5WtfM0HK6/LQ=";
sha256 = "sha256-aBQkkZyXZkaJc4sr/jHnIRaJYP116u4Jqsr9XXzfOBA=";
};
nativeBuildInputs = [ jdk ant texinfo pkg-config ];

View file

@ -78,7 +78,7 @@ stdenv.mkDerivation rec {
license = licenses.mit;
maintainers = [ maintainers.c0bw3b ];
mainProgram = "psl";
platforms = platforms.unix;
platforms = platforms.unix ++ platforms.windows;
pkgConfigModules = [ "libpsl" ];
};
}

View file

@ -16,17 +16,17 @@ stdenv.mkDerivation rec {
hash = "sha256-3ql3jWLccgnQHKf23B1en+nJ9rxqmHcWd7aBr93YER0=";
};
postPatch = ''
# Disable -Werror to avoid biuld failure on fresh toolchains like
# gcc-13.
substituteInPlace code/gc.gmk --replace-fail '-Werror ' ' '
substituteInPlace code/gp.gmk --replace-fail '-Werror ' ' '
substituteInPlace code/ll.gmk --replace-fail '-Werror ' ' '
'';
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ sqlite ];
# needed for 1.116.0 to build with gcc7
env.NIX_CFLAGS_COMPILE = toString [
"-Wno-implicit-fallthrough"
"-Wno-error=clobbered"
"-Wno-error=cast-function-type"
];
meta = {
description = "A flexible memory management and garbage collection library";
homepage = "https://www.ravenbrook.com/project/mps";

Some files were not shown because too many files have changed in this diff Show more