Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2023-06-02 00:03:07 +00:00 committed by GitHub
commit 8b93c4f667
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
66 changed files with 423 additions and 204 deletions

View file

@ -12,11 +12,11 @@ To upgrade to the latest release, follow the [upgrade chapter](https://nixos.org
In addition to numerous new and updated packages, this release has the following highlights: In addition to numerous new and updated packages, this release has the following highlights:
- The default [Nix](https://github.com/NixOS/nix) version was updated from 2.11 to 2.13. In particular, this includes a [small language alteration](https://github.com/NixOS/nix/issues/8259) in the way floats are represented in `builtins.toJSON`. See the release notes for [2.13](https://nixos.org/manual/nix/stable/release-notes/rl-2.13.html) and [2.14](https://nixos.org/manual/nix/unstable/release-notes/rl-2.14.html) for more information. - The default [Nix](https://github.com/NixOS/nix) version was updated from 2.11 to 2.13. In particular, this includes a [small language alteration](https://github.com/NixOS/nix/issues/8259) in the way floats are represented in `builtins.toJSON`. See the release notes for [2.12](https://nixos.org/manual/nix/stable/release-notes/rl-2.12.html) and [2.13](https://nixos.org/manual/nix/unstable/release-notes/rl-2.13.html) for more information.
- The default [Linux Kernel](https://kernel.org/) was updated from version 5.15 to 6.1, see [Kernelnewbies](https://kernelnewbies.org/Linux_6.1) for what has changed. All currently shown Kernels shown on [kernel.org](https://kernel.org/) are available. - The default [Linux Kernel](https://kernel.org/) was updated from version 5.15 to 6.1, see [Kernelnewbies](https://kernelnewbies.org/Linux_6.1) for what has changed. All Kernels currently shown on [kernel.org](https://kernel.org/) are available.
- [systemd](https://systemd.io) has been updated from v252 to v253, see [the release notes](https://github.com/systemd/systemd/blob/main/NEWS#L21-L677) for more information on the changes. - [systemd](https://systemd.io) has been updated from v252 to v253, see [the release notes](https://github.com/systemd/systemd/blob/v253/NEWS#L3-L659) for more information on the changes.
- Updating with `nixos-rebuild boot` and rebooting is recommended, since in some rare cases the `nixos-rebuild switch` into the new generation on a live system might fail due to missing mount units. - Updating with `nixos-rebuild boot` and rebooting is recommended, since in some rare cases the `nixos-rebuild switch` into the new generation on a live system might fail due to missing mount units.
- [glibc](https://www.gnu.org/software/libc/) has been updated from version 2.35 to 2.37, see [the release notes](https://sourceware.org/glibc/wiki/Release/2.37) for what was changed. - [glibc](https://www.gnu.org/software/libc/) has been updated from version 2.35 to 2.37, see [the release notes](https://sourceware.org/glibc/wiki/Release/2.37) for what was changed.
@ -200,9 +200,6 @@ In addition to numerous new and updated packages, this release has the following
- `graylog` has been updated to version 5, which can not be updated directly from the previously packaged version 3.3. If you had installed the previously packaged version 3.3, please follow the [upgrade path](https://go2docs.graylog.org/5-0/upgrading_graylog/upgrade_path.htm) from 3.3 to 4.0 to 4.3 to 5.0. - `graylog` has been updated to version 5, which can not be updated directly from the previously packaged version 3.3. If you had installed the previously packaged version 3.3, please follow the [upgrade path](https://go2docs.graylog.org/5-0/upgrading_graylog/upgrade_path.htm) from 3.3 to 4.0 to 4.3 to 5.0.
- `buildFHSUserEnv` is now called `buildFHSEnv` and uses FlatPak's Bubblewrap sandboxing tool rather than Nixpkgs' own chrootenv. The old chrootenv-based implemenation is still available via `buildFHSEnvChrootenv` but is considered deprecated and will be removed when the remaining uses inside Nixpkgs have been migrated. If your FHSEnv-wrapped application misbehaves when using the new bubblewrap implementation, please create an issue in Nixpkgs.
- `buildFHSUserEnv` is now called `buildFHSEnv` and uses FlatPak's Bubblewrap sandboxing tool rather than Nixpkgs' own chrootenv. The old chrootenv-based implemenation is still available via `buildFHSEnvChrootenv` but is considered deprecated and will be removed when the remaining uses inside Nixpkgs have been migrated. If your FHSEnv-wrapped application misbehaves when using the new bubblewrap implementation, please create an issue in Nixpkgs. - `buildFHSUserEnv` is now called `buildFHSEnv` and uses FlatPak's Bubblewrap sandboxing tool rather than Nixpkgs' own chrootenv. The old chrootenv-based implemenation is still available via `buildFHSEnvChrootenv` but is considered deprecated and will be removed when the remaining uses inside Nixpkgs have been migrated. If your FHSEnv-wrapped application misbehaves when using the new bubblewrap implementation, please create an issue in Nixpkgs.
- `nushell` has been updated to at least version 0.77.0, which includes potential breaking changes in aliases. The old aliases are now available as `old-alias` but it is recommended you migrate to the new format. See [Reworked aliases](https://www.nushell.sh/blog/2023-03-14-nushell_0_77.html#reworked-aliases-breaking-changes-kubouch). - `nushell` has been updated to at least version 0.77.0, which includes potential breaking changes in aliases. The old aliases are now available as `old-alias` but it is recommended you migrate to the new format. See [Reworked aliases](https://www.nushell.sh/blog/2023-03-14-nushell_0_77.html#reworked-aliases-breaking-changes-kubouch).
@ -549,8 +546,6 @@ In addition to numerous new and updated packages, this release has the following
- Booting from a volume managed by the Stratis storage management daemon is now supported. Use `fileSystems.<name>.stratis.poolUuid` to configure the pool containing the fs. - Booting from a volume managed by the Stratis storage management daemon is now supported. Use `fileSystems.<name>.stratis.poolUuid` to configure the pool containing the fs.
- Only `k3s` version 1.26 is included. Users of the `k3s_1_24` or `k3s_1_25` packages should upgrade to use the version 1.26 of the package.
## Nixpkgs internals {#sec-release-23.05-nixpkgs-internals} ## Nixpkgs internals {#sec-release-23.05-nixpkgs-internals}
- `buildDunePackage` now defaults to `strictDeps = true` which means that any library should go into `buildInputs` or `checkInputs`. Any executable that is run on the building machine should go into `nativeBuildInputs` or `nativeCheckInputs` respectively. Example of executables are `ocaml`, `findlib` and `menhir`. PPXs are libraries which are built by dune and should therefore not go into `nativeBuildInputs`. - `buildDunePackage` now defaults to `strictDeps = true` which means that any library should go into `buildInputs` or `checkInputs`. Any executable that is run on the building machine should go into `nativeBuildInputs` or `nativeCheckInputs` respectively. Example of executables are `ocaml`, `findlib` and `menhir`. PPXs are libraries which are built by dune and should therefore not go into `nativeBuildInputs`.

View file

@ -22,6 +22,8 @@
- `etcd` has been updated to 3.5, you will want to read the [3.3 to 3.4](https://etcd.io/docs/v3.5/upgrades/upgrade_3_4/) and [3.4 to 3.5](https://etcd.io/docs/v3.5/upgrades/upgrade_3_5/) upgrade guides - `etcd` has been updated to 3.5, you will want to read the [3.3 to 3.4](https://etcd.io/docs/v3.5/upgrades/upgrade_3_4/) and [3.4 to 3.5](https://etcd.io/docs/v3.5/upgrades/upgrade_3_5/) upgrade guides
- `util-linux` is now supported on Darwin and is no longer an alias to `unixtools`. Use the `unixtools.util-linux` package for access to the Apple variants of the utilities.
## Other Notable Changes {#sec-release-23.11-notable-changes} ## Other Notable Changes {#sec-release-23.11-notable-changes}
- The Cinnamon module now enables XDG desktop integration by default. If you are experiencing collisions related to xdg-desktop-portal-gtk you can safely remove `xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];` from your NixOS configuration. - The Cinnamon module now enables XDG desktop integration by default. If you are experiencing collisions related to xdg-desktop-portal-gtk you can safely remove `xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];` from your NixOS configuration.

View file

@ -49,7 +49,7 @@ in {
description = lib.mdDoc '' description = lib.mdDoc ''
Sway package to use. Will override the options Sway package to use. Will override the options
'wrapperFeatures', 'extraSessionCommands', and 'extraOptions'. 'wrapperFeatures', 'extraSessionCommands', and 'extraOptions'.
Set to <code>null</code> to not add any Sway package to your Set to `null` to not add any Sway package to your
path. This should be done if you want to use the Home Manager Sway path. This should be done if you want to use the Home Manager Sway
module to install Sway. module to install Sway.
''; '';

View file

@ -0,0 +1,35 @@
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
buildGoModule rec {
pname = "Subtitlr";
version = "0.1.0";
src = fetchFromGitHub {
owner = "yoanbernabeu";
repo = pname;
rev = version;
hash = "sha256-fwDIE8DFVd7NRhi8bBmFxrmGdT2ZtSFWBaynV+xz3ms=";
};
vendorHash = "sha256-t92nz42sv8bE0JIkSFB2+WBz1Um8kcRSotpXcPIy3eQ=";
ldflags = [ "-s" "-w" ];
nativeBuildInputs = [
installShellFiles
];
postInstall = ''
installShellCompletion --cmd Subtitlr \
--bash <($out/bin/Subtitlr completion bash) \
--fish <($out/bin/Subtitlr completion fish) \
--zsh <($out/bin/Subtitlr completion zsh)
'';
meta = with lib; {
description = "This application, a subtitle generator for YouTube, utilizes OpenAI's Whisper API.";
homepage = "https://github.com/yoanbernabeu/Subtitlr/";
license = licenses.mit;
maintainers = with maintainers; [ qjoly ];
};
}

View file

@ -6,13 +6,13 @@
buildDotnetModule rec { buildDotnetModule rec {
pname = "btcpayserver"; pname = "btcpayserver";
version = "1.9.3"; version = "1.10.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-XcpPdlDpY/RXOK8ykZ/UUVOok2Pz3vObdp4zhy9tt7w="; sha256 = "sha256-UJvpEWR49m1B21eMrh0LiJ2bguM7hNux0ywDj6oJbDU=";
}; };
projectFile = "BTCPayServer/BTCPayServer.csproj"; projectFile = "BTCPayServer/BTCPayServer.csproj";

View file

@ -8,14 +8,14 @@
(fetchNuGet { pname = "AWSSDK.S3"; version = "3.3.110.10"; sha256 = "1lf1hfbx792dpa1hxgn0a0jrrvldd16hgbxx229dk2qcz5qlnc38"; }) (fetchNuGet { pname = "AWSSDK.S3"; version = "3.3.110.10"; sha256 = "1lf1hfbx792dpa1hxgn0a0jrrvldd16hgbxx229dk2qcz5qlnc38"; })
(fetchNuGet { pname = "BIP78.Sender"; version = "0.2.2"; sha256 = "12pm2s35c0qzc06099q2z1pxwq94rq85n74yz8fs8gwvm2ksgp4p"; }) (fetchNuGet { pname = "BIP78.Sender"; version = "0.2.2"; sha256 = "12pm2s35c0qzc06099q2z1pxwq94rq85n74yz8fs8gwvm2ksgp4p"; })
(fetchNuGet { pname = "BTCPayServer.Hwi"; version = "2.0.2"; sha256 = "0lh3n1qncqs4kbrmx65xs271f0d9c7irrs9qnsa9q51cbbqbljh9"; }) (fetchNuGet { pname = "BTCPayServer.Hwi"; version = "2.0.2"; sha256 = "0lh3n1qncqs4kbrmx65xs271f0d9c7irrs9qnsa9q51cbbqbljh9"; })
(fetchNuGet { pname = "BTCPayServer.Lightning.All"; version = "1.4.23"; sha256 = "11nb7ba93g51n5f5aa6sd6s3f9x82g1vbi8rcj04x5anbh2g451n"; }) (fetchNuGet { pname = "BTCPayServer.Lightning.All"; version = "1.4.26"; sha256 = "1mssifz3jhvk3cqpb3kiqzlsyirlxzj90mlkigdnqqxfk7fyv6wv"; })
(fetchNuGet { pname = "BTCPayServer.Lightning.Charge"; version = "1.3.20"; sha256 = "0nk82hkgs67mxfxkgbav8yxxd79m0xyqaan7vay00gg33pjqdjvj"; }) (fetchNuGet { pname = "BTCPayServer.Lightning.Charge"; version = "1.3.20"; sha256 = "0nk82hkgs67mxfxkgbav8yxxd79m0xyqaan7vay00gg33pjqdjvj"; })
(fetchNuGet { pname = "BTCPayServer.Lightning.CLightning"; version = "1.3.26"; sha256 = "0sbcl1jdpjgjpa4cagcrppk124nkk2hxsvlj8nr6zf3fcdwllagj"; }) (fetchNuGet { pname = "BTCPayServer.Lightning.CLightning"; version = "1.3.27"; sha256 = "14bgi3p31v8ypf1lqnc5xkpzfd2cj5a23v2wv1m38jl6ng2v6vqp"; })
(fetchNuGet { pname = "BTCPayServer.Lightning.Common"; version = "1.3.16"; sha256 = "1g37736b4k0ncpyy2qycbk4l85fqvgwac3k98nbdj0dvhfghp1dn"; }) (fetchNuGet { pname = "BTCPayServer.Lightning.Common"; version = "1.3.16"; sha256 = "1g37736b4k0ncpyy2qycbk4l85fqvgwac3k98nbdj0dvhfghp1dn"; })
(fetchNuGet { pname = "BTCPayServer.Lightning.Common"; version = "1.3.21"; sha256 = "042xwfsxd30zgwiz0w14ynb755w5sldkplxgw1fkw68lrz66x5s4"; }) (fetchNuGet { pname = "BTCPayServer.Lightning.Common"; version = "1.3.21"; sha256 = "042xwfsxd30zgwiz0w14ynb755w5sldkplxgw1fkw68lrz66x5s4"; })
(fetchNuGet { pname = "BTCPayServer.Lightning.Eclair"; version = "1.3.20"; sha256 = "093w82mcxxxbvx66j0sp3lsfm2bkbi3igm80iz9zdghy85845kc9"; }) (fetchNuGet { pname = "BTCPayServer.Lightning.Eclair"; version = "1.3.20"; sha256 = "093w82mcxxxbvx66j0sp3lsfm2bkbi3igm80iz9zdghy85845kc9"; })
(fetchNuGet { pname = "BTCPayServer.Lightning.LNBank"; version = "1.3.24"; sha256 = "0dah7q90x29rqhngxd9226pfn1k4bbhhfgnkpjpw64529m29cdks"; }) (fetchNuGet { pname = "BTCPayServer.Lightning.LNBank"; version = "1.3.26"; sha256 = "1kfl88psjbsh88l98kc6dyxqjghnzyffi070v2ifkdjcdgdbawfs"; })
(fetchNuGet { pname = "BTCPayServer.Lightning.LND"; version = "1.4.15"; sha256 = "18qnpdxbz359ygygllsrf95fbalsfyjrf6j9wi7c8qd39jwcignx"; }) (fetchNuGet { pname = "BTCPayServer.Lightning.LND"; version = "1.4.16"; sha256 = "1m3nb23f6c6ms2mm07sii4hkrv7illzfg32cjy2j3h6myynw1ik5"; })
(fetchNuGet { pname = "BTCPayServer.Lightning.LNDhub"; version = "1.0.19"; sha256 = "164c5nmsqzgz9v6fw0ml0d9m5hcp449468giakv3cihq25cd6giz"; }) (fetchNuGet { pname = "BTCPayServer.Lightning.LNDhub"; version = "1.0.19"; sha256 = "164c5nmsqzgz9v6fw0ml0d9m5hcp449468giakv3cihq25cd6giz"; })
(fetchNuGet { pname = "BTCPayServer.NETCore.Plugins"; version = "1.4.4"; sha256 = "0rk0prmb0539ji5fd33cqy3yvw51i5i8m5hb43admr5z8960dd6l"; }) (fetchNuGet { pname = "BTCPayServer.NETCore.Plugins"; version = "1.4.4"; sha256 = "0rk0prmb0539ji5fd33cqy3yvw51i5i8m5hb43admr5z8960dd6l"; })
(fetchNuGet { pname = "BTCPayServer.NETCore.Plugins.Mvc"; version = "1.4.4"; sha256 = "1kmmj5m7s41wc1akpqw1b1j7pp4c0vn6sqxb487980ibpj6hyisl"; }) (fetchNuGet { pname = "BTCPayServer.NETCore.Plugins.Mvc"; version = "1.4.4"; sha256 = "1kmmj5m7s41wc1akpqw1b1j7pp4c0vn6sqxb487980ibpj6hyisl"; })
@ -158,9 +158,10 @@
(fetchNuGet { pname = "NBitcoin"; version = "6.0.8"; sha256 = "1f90zyrd35fzx0vgvd83jhd6hczd4037h2k198xiyxj04l4m3wm5"; }) (fetchNuGet { pname = "NBitcoin"; version = "6.0.8"; sha256 = "1f90zyrd35fzx0vgvd83jhd6hczd4037h2k198xiyxj04l4m3wm5"; })
(fetchNuGet { pname = "NBitcoin"; version = "7.0.1"; sha256 = "05kqpjyp3ckb2183g9vfsdv362y5xg5j21p36zls0x3b0jgrwxw7"; }) (fetchNuGet { pname = "NBitcoin"; version = "7.0.1"; sha256 = "05kqpjyp3ckb2183g9vfsdv362y5xg5j21p36zls0x3b0jgrwxw7"; })
(fetchNuGet { pname = "NBitcoin"; version = "7.0.24"; sha256 = "0yc6cgwp2xr2dzjsrkawyh43whixv66nvvq6rh1pi6gi14iaqmfa"; }) (fetchNuGet { pname = "NBitcoin"; version = "7.0.24"; sha256 = "0yc6cgwp2xr2dzjsrkawyh43whixv66nvvq6rh1pi6gi14iaqmfa"; })
(fetchNuGet { pname = "NBitcoin.Altcoins"; version = "3.0.18"; sha256 = "054i15qan5154iy8m13jmhnz1w5rs208i1xhlfnivwiq2v1c2qby"; }) (fetchNuGet { pname = "NBitcoin"; version = "7.0.26"; sha256 = "0m50dmx7hhbxxgwpl9cxrbihpg9l10pga58b41vb0fima2y137zs"; })
(fetchNuGet { pname = "NBitcoin.Altcoins"; version = "3.0.19"; sha256 = "16bv3314flq6ildsjzxzw4ih2wbryvkjpkcwkvf2lh2smqhnvr11"; })
(fetchNuGet { pname = "NBitpayClient"; version = "1.0.0.39"; sha256 = "1sgwradg7jnb4n3chwqfkximj1qhgl3r23p0sifmaa0kql2hlira"; }) (fetchNuGet { pname = "NBitpayClient"; version = "1.0.0.39"; sha256 = "1sgwradg7jnb4n3chwqfkximj1qhgl3r23p0sifmaa0kql2hlira"; })
(fetchNuGet { pname = "NBXplorer.Client"; version = "4.2.3"; sha256 = "0lf5qsf5yr5m1fx826mn47l237x5y2wkimv6klc3rvwwc7f10dmm"; }) (fetchNuGet { pname = "NBXplorer.Client"; version = "4.2.5"; sha256 = "0kycvnxgqrkxig8k6mp1897sqbq2xarc8429vnjh79644nakdas4"; })
(fetchNuGet { pname = "NETStandard.Library"; version = "1.6.1"; sha256 = "1z70wvsx2d847a2cjfii7b83pjfs34q05gb037fdjikv5kbagml8"; }) (fetchNuGet { pname = "NETStandard.Library"; version = "1.6.1"; sha256 = "1z70wvsx2d847a2cjfii7b83pjfs34q05gb037fdjikv5kbagml8"; })
(fetchNuGet { pname = "Newtonsoft.Json"; version = "13.0.1"; sha256 = "0fijg0w6iwap8gvzyjnndds0q4b8anwxxvik7y8vgq97dram4srb"; }) (fetchNuGet { pname = "Newtonsoft.Json"; version = "13.0.1"; sha256 = "0fijg0w6iwap8gvzyjnndds0q4b8anwxxvik7y8vgq97dram4srb"; })
(fetchNuGet { pname = "Newtonsoft.Json.Bson"; version = "1.0.1"; sha256 = "1r1hvj5gjl466bya2bfl5aaj8rbwyf5x1msg710wf3k2llbci1xa"; }) (fetchNuGet { pname = "Newtonsoft.Json.Bson"; version = "1.0.1"; sha256 = "1r1hvj5gjl466bya2bfl5aaj8rbwyf5x1msg710wf3k2llbci1xa"; })

View file

@ -6,13 +6,13 @@
buildDotnetModule rec { buildDotnetModule rec {
pname = "nbxplorer"; pname = "nbxplorer";
version = "2.3.63"; version = "2.3.65";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dgarage"; owner = "dgarage";
repo = "NBXplorer"; repo = "NBXplorer";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-K3dlXwzKNzwJstp1DW5T5s5Gs0ebPNWXtzqr3rw5294="; sha256 = "sha256-7m9gf+enOtE5VWuBNLFf11ofLGBRAYWvmkrekUVQQaQ=";
}; };
projectFile = "NBXplorer/NBXplorer.csproj"; projectFile = "NBXplorer/NBXplorer.csproj";

View file

@ -3049,6 +3049,22 @@ let
}; };
}; };
techtheawesome.rust-yew = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "rust-yew";
publisher = "techtheawesome";
version = "0.2.2";
sha256 = "sha256-t9DYY1fqW7M5F1pbIUtnnodxMzIzURew4RXT78djWMI=";
};
meta = {
description = "A VSCode extension that provides some language features for Yew's html macro syntax";
downloadPage = "https://marketplace.visualstudio.com/items?itemName=TechTheAwesome.rust-yew";
homepage = "https://github.com/TechTheAwesome/code-yew-server";
license = lib.licenses.gpl3Only;
maintainers = [ lib.maintainers.CardboardTurkey ];
};
};
theangryepicbanana.language-pascal = buildVscodeMarketplaceExtension { theangryepicbanana.language-pascal = buildVscodeMarketplaceExtension {
mktplcRef = { mktplcRef = {
name = "language-pascal"; name = "language-pascal";

View file

@ -5,16 +5,16 @@
buildGoModule rec { buildGoModule rec {
pname = "dasel"; pname = "dasel";
version = "2.2.0"; version = "2.3.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "TomWright"; owner = "TomWright";
repo = "dasel"; repo = "dasel";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-DPfahZIb6Cp+E5GxIqNW+IruDZWBvJTRc7gxQOfeJqA="; sha256 = "sha256-RP5088h+KDKENaSf/I8pzFBrHx1cxPKtQRqyNm0CjuQ=";
}; };
vendorHash = "sha256-+3RcjOZjmYu4eNpgczwY4Uyz1+poYA/TXc2Mb+VwRKc="; vendorHash = "sha256-cLf0MzEAykmtnPjT2vGOSPwIXJP6BhxheUaicT7o/X4=";
ldflags = [ ldflags = [
"-s" "-w" "-X github.com/tomwright/dasel/v2/internal.Version=${version}" "-s" "-w" "-X github.com/tomwright/dasel/v2/internal.Version=${version}"

View file

@ -4,7 +4,7 @@
, makeWrapper , makeWrapper
, electron , electron
, makeDesktopItem , makeDesktopItem
, graphicsmagick , imagemagick
, writeScript , writeScript
, undmg , undmg
, unzip , unzip
@ -12,7 +12,7 @@
let let
inherit (stdenv.hostPlatform) system; inherit (stdenv.hostPlatform) system;
pname = "obsidian"; pname = "obsidian";
version = "1.3.4"; version = "1.3.5";
appname = "Obsidian"; appname = "Obsidian";
meta = with lib; { meta = with lib; {
description = "A powerful knowledge base that works on top of a local folder of plain text Markdown files"; description = "A powerful knowledge base that works on top of a local folder of plain text Markdown files";
@ -25,12 +25,12 @@ let
filename = if stdenv.isDarwin then "Obsidian-${version}-universal.dmg" else "obsidian-${version}.tar.gz"; filename = if stdenv.isDarwin then "Obsidian-${version}-universal.dmg" else "obsidian-${version}.tar.gz";
src = fetchurl { src = fetchurl {
url = "https://github.com/obsidianmd/obsidian-releases/releases/download/v${version}/${filename}"; url = "https://github.com/obsidianmd/obsidian-releases/releases/download/v${version}/${filename}";
sha256 = if stdenv.isDarwin then "sha256-LP13smLy/cr0hiLl5cdRxTbDfRFojb+HJBx/MFeJ13Y=" else "sha256-8M9HU20IxTvPaa6x1X41Ldq2usK2TPU71VvprerivZg="; sha256 = if stdenv.isDarwin then "sha256-bTIJwQqufzxq1/ZxR8rVYER82tl0pPMpKwDPr9Gz1Q4=" else "sha256-jhm6ziFaJnv4prPSfOnJ/EbIRTf9rnvzAJVxnVqmWE4=";
}; };
icon = fetchurl { icon = fetchurl {
url = "https://forum.obsidian.md/uploads/default/original/1X/bf119bd48f748f4fd2d65f2d1bb05d3c806883b5.png"; url = "https://obsidian.md/images/obsidian-logo-gradient.svg";
sha256 = "18ylnbvxr6k4x44c4i1d55wxy2dq4fdppp43a4wl6h6zar0sc9s2"; sha256 = "100j8fcrc5q8zv525siapminffri83s2khs2hw4kdxwrdjwh36qi";
}; };
desktopItem = makeDesktopItem { desktopItem = makeDesktopItem {
@ -46,7 +46,7 @@ let
linux = stdenv.mkDerivation { linux = stdenv.mkDerivation {
inherit pname version src desktopItem icon; inherit pname version src desktopItem icon;
meta = meta // { platforms = [ "x86_64-linux" "aarch64-linux" ]; }; meta = meta // { platforms = [ "x86_64-linux" "aarch64-linux" ]; };
nativeBuildInputs = [ makeWrapper graphicsmagick ]; nativeBuildInputs = [ makeWrapper imagemagick ];
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
mkdir -p $out/bin mkdir -p $out/bin
@ -59,7 +59,7 @@ let
-t $out/share/applications/ -t $out/share/applications/
for size in 16 24 32 48 64 128 256 512; do for size in 16 24 32 48 64 128 256 512; do
mkdir -p $out/share/icons/hicolor/"$size"x"$size"/apps mkdir -p $out/share/icons/hicolor/"$size"x"$size"/apps
gm convert -resize "$size"x"$size" ${icon} $out/share/icons/hicolor/"$size"x"$size"/apps/obsidian.png convert -background none -resize "$size"x"$size" ${icon} $out/share/icons/hicolor/"$size"x"$size"/apps/obsidian.png
done done
runHook postInstall runHook postInstall
''; '';

View file

@ -90,11 +90,11 @@ in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "brave"; pname = "brave";
version = "1.51.118"; version = "1.52.117";
src = fetchurl { src = fetchurl {
url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb"; url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb";
sha256 = "sha256-/OrnB4M6oefZ2aG2rQst8H4UZ/7vAFzyqWsn9kerb9c="; sha256 = "sha256-oI/KRAfPGS5WEjLmTF6CQBjXLxv4vvpFMqPmh+O51QY=";
}; };
dontConfigure = true; dontConfigure = true;

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "roxctl"; pname = "roxctl";
version = "4.0.1"; version = "4.0.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "stackrox"; owner = "stackrox";
repo = "stackrox"; repo = "stackrox";
rev = version; rev = version;
sha256 = "sha256-9nLu7/4UfIQMje1XIfiPaPkGzdQbDhgBKYq/L2TfaS0="; sha256 = "sha256-yMAQEgQPySz5xvbnzO3omiqEajDjSqFt/UroJ04tUY8=";
}; };
vendorHash = "sha256-kv5kNFFw57ZuNgwNMucmCPIwaAhpzT0hs2K1B65WxpU="; vendorHash = "sha256-kv5kNFFw57ZuNgwNMucmCPIwaAhpzT0hs2K1B65WxpU=";

View file

@ -269,7 +269,6 @@
"https://versaweb.dl.sourceforge.net/sourceforge/" "https://versaweb.dl.sourceforge.net/sourceforge/"
"https://freefr.dl.sourceforge.net/sourceforge/" "https://freefr.dl.sourceforge.net/sourceforge/"
"https://osdn.dl.sourceforge.net/sourceforge/" "https://osdn.dl.sourceforge.net/sourceforge/"
"https://kent.dl.sourceforge.net/sourceforge/"
]; ];
# Steam Runtime # Steam Runtime

View file

@ -1,11 +1,11 @@
{ stdenv { stdenv
, lib , lib
, fetchurl , fetchurl
, fetchpatch
, pkg-config , pkg-config
, gnome , gnome
, gtk3 , gtk4
, wrapGAppsHook , wrapGAppsHook4
, libadwaita
, librsvg , librsvg
, gettext , gettext
, itstool , itstool
@ -19,40 +19,30 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-mahjongg"; pname = "gnome-mahjongg";
version = "3.38.3"; version = "3.40.0";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/gnome-mahjongg/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/gnome-mahjongg/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "144ia3zn9rhwa1xbdkvsz6m0dsysl6mxvqw9bnrlh845hmyy9cfj"; sha256 = "WorIbXY8VmDdkCX3vAgxC5IjRvp+Lfe2SMmJTa4/GD8=";
}; };
patches = [
# Fix build with meson 0.61
# data/meson.build:24:0: ERROR: Function does not take positional arguments.
# data/meson.build:45:0: ERROR: Function does not take positional arguments.
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-mahjongg/-/commit/a2037b0747163601a5d5b57856d037eecf3a4db7.patch";
sha256 = "Wcder6Y9H6c1f8I+IPDvST3umaCU21HgxfXn809JDz0=";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
meson meson
ninja ninja
vala vala
desktop-file-utils desktop-file-utils
pkg-config pkg-config
gnome.adwaita-icon-theme
libxml2 libxml2
itstool itstool
gettext gettext
wrapGAppsHook wrapGAppsHook4
glib # for glib-compile-schemas glib # for glib-compile-schemas
]; ];
buildInputs = [ buildInputs = [
glib glib
gtk3 gtk4
libadwaita
librsvg librsvg
]; ];

View file

@ -34,15 +34,15 @@ let
inherit wrapFlutter mkCustomFlutter mkFlutter; inherit wrapFlutter mkCustomFlutter mkFlutter;
buildFlutterApplication = callPackage ../../../build-support/flutter { buildFlutterApplication = callPackage ../../../build-support/flutter {
# Package a minimal version of Flutter that only uses Linux desktop release artifacts. # Package a minimal version of Flutter that only uses Linux desktop release artifacts.
flutter = wrapFlutter flutter = (wrapFlutter (mkCustomFlutter args)).override {
(mkCustomFlutter (args // { supportsAndroid = false;
includedEngineArtifacts = { includedEngineArtifacts = {
common = [ "flutter_patched_sdk_product" ]; common = [ "flutter_patched_sdk_product" ];
platform.linux = lib.optionals stdenv.hostPlatform.isLinux platform.linux = lib.optionals stdenv.hostPlatform.isLinux
(lib.genAttrs ((lib.optional stdenv.hostPlatform.isx86_64 "x64") ++ (lib.optional stdenv.hostPlatform.isAarch64 "arm64")) (lib.genAttrs ((lib.optional stdenv.hostPlatform.isx86_64 "x64") ++ (lib.optional stdenv.hostPlatform.isAarch64 "arm64"))
(architecture: [ "release" ])); (architecture: [ "release" ]));
}; };
})); };
}; };
}; };
}); });

View file

@ -8,13 +8,7 @@
"flutter_patched_sdk" "flutter_patched_sdk"
"flutter_patched_sdk_product" "flutter_patched_sdk_product"
]; ];
platform = { platform = { };
android = lib.optionalAttrs stdenv.hostPlatform.isx86_64
((lib.genAttrs [ "arm" "arm64" "x64" ] (architecture: [ "profile" "release" ])) // { x86 = [ "jit-release" ]; });
linux = lib.optionals stdenv.hostPlatform.isLinux
(lib.genAttrs ((lib.optional stdenv.hostPlatform.isx86_64 "x64") ++ (lib.optional stdenv.hostPlatform.isAarch64 "arm64"))
(architecture: [ "debug" "profile" "release" ]));
};
} }
, lib , lib

View file

@ -2,7 +2,9 @@
, stdenv , stdenv
, callPackage , callPackage
, flutter , flutter
, supportsLinuxDesktop ? stdenv.isLinux , supportsLinuxDesktop ? stdenv.hostPlatform.isLinux
, supportsAndroid ? stdenv.hostPlatform.isx86_64
, includedEngineArtifacts ? null
, extraPkgConfigPackages ? [ ] , extraPkgConfigPackages ? [ ]
, extraLibraries ? [ ] , extraLibraries ? [ ]
, extraIncludes ? [ ] , extraIncludes ? [ ]
@ -33,11 +35,27 @@
}: }:
let let
flutterWithArtifacts = flutter.override {
includedEngineArtifacts = if includedEngineArtifacts != null then includedEngineArtifacts else {
common = [
"flutter_patched_sdk"
"flutter_patched_sdk_product"
];
platform = {
android = lib.optionalAttrs supportsAndroid
((lib.genAttrs [ "arm" "arm64" "x64" ] (architecture: [ "profile" "release" ])) // { x86 = [ "jit-release" ]; });
linux = lib.optionalAttrs supportsLinuxDesktop
(lib.genAttrs ((lib.optional stdenv.hostPlatform.isx86_64 "x64") ++ (lib.optional stdenv.hostPlatform.isAarch64 "arm64"))
(architecture: [ "debug" "profile" "release" ]));
};
};
};
# By default, Flutter stores downloaded files (such as the Pub cache) in the SDK directory. # By default, Flutter stores downloaded files (such as the Pub cache) in the SDK directory.
# Wrap it to ensure that it does not do that, preferring home directories instead. # Wrap it to ensure that it does not do that, preferring home directories instead.
immutableFlutter = writeShellScript "flutter_immutable" '' immutableFlutter = writeShellScript "flutter_immutable" ''
export PUB_CACHE=''${PUB_CACHE:-"$HOME/.pub-cache"} export PUB_CACHE=''${PUB_CACHE:-"$HOME/.pub-cache"}
${flutter}/bin/flutter "$@" ${flutterWithArtifacts}/bin/flutter "$@"
''; '';
# Tools that the Flutter tool depends on. # Tools that the Flutter tool depends on.
@ -87,12 +105,12 @@ in
{ {
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
passthru = flutter.passthru // { passthru = flutterWithArtifacts.passthru // {
inherit (flutter) version; inherit (flutterWithArtifacts) version;
unwrapped = flutter; unwrapped = flutterWithArtifacts;
}; };
inherit (flutter) meta; inherit (flutterWithArtifacts) meta;
} '' } ''
for path in ${builtins.concatStringsSep " " (builtins.foldl' (paths: pkg: paths ++ (map (directory: "'${pkg}/${directory}/pkgconfig'") ["lib" "share"])) [ ] pkgConfigPackages)}; do for path in ${builtins.concatStringsSep " " (builtins.foldl' (paths: pkg: paths ++ (map (directory: "'${pkg}/${directory}/pkgconfig'") ["lib" "share"])) [ ] pkgConfigPackages)}; do
addToSearchPath FLUTTER_PKG_CONFIG_PATH "$path" addToSearchPath FLUTTER_PKG_CONFIG_PATH "$path"

View file

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "inform6"; pname = "inform6";
version = "6.41-r4"; version = "6.41-r5";
src = fetchurl { src = fetchurl {
url = "https://ifarchive.org/if-archive/infocom/compilers/inform6/source/inform-${version}.tar.gz"; url = "https://ifarchive.org/if-archive/infocom/compilers/inform6/source/inform-${version}.tar.gz";
sha256 = "sha256-y55F/zV/99fS4ZITtPsSgkpMNfonFztZEP/QZxSQjfc="; sha256 = "sha256-JsLufRmqUmJ4if1XURi9swS0upw+Hj827T27A9qDANg=";
}; };
buildInputs = [ perl ]; buildInputs = [ perl ];

View file

@ -14,25 +14,16 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "hpp-fcl"; pname = "hpp-fcl";
version = "2.3.3"; version = "2.3.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "humanoid-path-planner"; owner = "humanoid-path-planner";
repo = finalAttrs.pname; repo = finalAttrs.pname;
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
fetchSubmodules = true; fetchSubmodules = true;
hash = "sha256-7MXQ5+S/lvaTBVGY2gTJ1nUegtf9cp7p0JLJ4oPJAUY="; hash = "sha256-tX8AvlR/Az8fFs4ylqFijw3hXiNRoEWffmYbTcaqO90=";
}; };
patches = [
# Fix unittest where nix env set `boost::archive::tmpdir()` to `/build` and trigger a path concatenation bug.
(fetchpatch {
name = "tests-use-boost-filesystem.patch";
url = "https://github.com/humanoid-path-planner/hpp-fcl/commit/7e8fde64a5d2c2412325f6cb5d78623bf2409176.patch";
hash = "sha256-YjESkj8SqYiyrJuXIa5mSnHIph/D04J10poTDcYgs2c=";
})
];
strictDeps = true; strictDeps = true;
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-cim"; pname = "dissect-cim";
version = "3.5"; version = "3.6";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.cim"; repo = "dissect.cim";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-VRHnDLyHZEzeEFK+2MNQibekIlb+tsBEjUbT5tI/tIs="; hash = "sha256-/Ze/fuWHa1Jfh63JnyJ4RvAq7HZv9CJyUGlt87YzpEs=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;

View file

@ -10,7 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-clfs"; pname = "dissect-clfs";
version = "1.4"; version = "1.5";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.clfs"; repo = "dissect.clfs";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-/QZuet54ws0IsjHKlv2a3hqoXhY5VaQQ0jU81J46Cyg="; hash = "sha256-utXgMVsNp78bwTBaSv5kglFfHrav5cV/YYzGCogJmtI=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;

View file

@ -0,0 +1,83 @@
{ lib
, buildPythonPackage
, dissect-cstruct
, dissect-util
, fetchFromGitHub
, flow-record
, httpx
, lark
, pycryptodome
, pyshark
, pytest-httpserver
, pytestCheckHook
, pythonOlder
, rich
, setuptools
, setuptools-scm
}:
buildPythonPackage rec {
pname = "dissect-cobaltstrike";
version = "1.0.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.cobaltstrike";
rev = "refs/tags/v${version}";
hash = "sha256-CS50c3r7sdxp3CRS6XJ4QUmUFtmhFg6rSdKfYzJSOV4=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [
setuptools
setuptools-scm
];
propagatedBuildInputs = [
dissect-cstruct
dissect-util
lark
];
passthru.optional-dependencies = {
c2 = [
flow-record
httpx
pycryptodome
];
pcap = [
flow-record
httpx
pycryptodome
pyshark
];
full = [
flow-record
httpx
pycryptodome
pyshark
rich
];
};
nativeCheckInputs = [
pytest-httpserver
pytestCheckHook
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
pythonImportsCheck = [
"dissect.cobaltstrike"
];
meta = with lib; {
description = "Dissect module implementing a parser for Cobalt Strike related data";
homepage = "https://github.com/fox-it/dissect.cobaltstrike";
changelog = "https://github.com/fox-it/dissect.cobaltstrike/releases/tag/${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -9,7 +9,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-cstruct"; pname = "dissect-cstruct";
version = "3.6"; version = "3.7";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.cstruct"; repo = "dissect.cstruct";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-f6cE1x7TsjJsdACLZjsbyfnTDPXcpXqs0qBo4l+fKS4="; hash = "sha256-K+crraBIMCtT5WsGgyxoAZ49ff7ZUHga2qYtih6w0Ug=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;

View file

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-esedb"; pname = "dissect-esedb";
version = "3.6"; version = "3.7";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.esedb"; repo = "dissect.esedb";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-RBU+aQbqPfF7kjt5Nc3+FnrmkTZgGyUv1HFTFP4ZgZ4="; hash = "sha256-FQow4zuN1B6irX3ovz5K4xe6Z3PojtC9N+VLtb+UWzA=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;

View file

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-etl"; pname = "dissect-etl";
version = "3.4"; version = "3.5";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.etl"; repo = "dissect.etl";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-RNm6je3WW6ig+JCU4AlVYpAJZXq/l8U7Pbf/AGeAmXA="; hash = "sha256-zVUe4obNhfUnI/wbxrKago/zgJcv9lzXbj1ogtIq5i4=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;

View file

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-eventlog"; pname = "dissect-eventlog";
version = "3.4"; version = "3.5";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.eventlog"; repo = "dissect.eventlog";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-dU34eEUwRGHm/S0w6rnXJmootv1trkhKlXjWcfCFB3Q="; hash = "sha256-YSJnNT+zzsS7aKT44NFwU3AmvhbTtW6kIgNd/CbSLYY=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;

View file

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-evidence"; pname = "dissect-evidence";
version = "3.4"; version = "3.5";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.evidence"; repo = "dissect.evidence";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-XGS0PevalwaQX5OF/KcDhNSJMPzUOiLO5nwp/K3HHJ8="; hash = "sha256-yJDrI4BgCXgKt4DdMyUE7Y7EzYk5utBVir6Ejm7NCDQ=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;

View file

@ -10,7 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-executable"; pname = "dissect-executable";
version = "1.2"; version = "1.3";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.executable"; repo = "dissect.executable";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-I/LwIGce1bebAvjVuFE0rJAuJ/65xMTIim6M0BJR6TI="; hash = "sha256-YGpClgRVW8l5Ln6e3RrH1RhOSuZ/A6Kfjf1plomWE9U=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;

View file

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-extfs"; pname = "dissect-extfs";
version = "3.4"; version = "3.5";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.extfs"; repo = "dissect.extfs";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-NSDhkkxqQSrfV1uttxUjLmdXlrgfAMrs5vSWgKyjuB4="; hash = "sha256-JLMOW1DkLI/8+1Zx3DL0fwWKaMi8OcQMxUNE9k8zhXA=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;
@ -43,6 +43,9 @@ buildPythonPackage rec {
"dissect.extfs" "dissect.extfs"
]; ];
# Archive files seems to be corrupt
doCheck = false;
meta = with lib; { meta = with lib; {
description = "Dissect module implementing a parser for the ExtFS file system"; description = "Dissect module implementing a parser for the ExtFS file system";
homepage = "https://github.com/fox-it/dissect.extfs"; homepage = "https://github.com/fox-it/dissect.extfs";

View file

@ -10,7 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-fat"; pname = "dissect-fat";
version = "3.4"; version = "3.5";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.fat"; repo = "dissect.fat";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-fnppFbdI+SfGPPcSspIQnI5wH3MerGtlEbm8pe3oSBs="; hash = "sha256-eZtAUgy8WuJXZOMwdJ9fmGA85kBN/zCjRAU+jGP06LE=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;

View file

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-ffs"; pname = "dissect-ffs";
version = "3.4"; version = "3.5";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.ffs"; repo = "dissect.ffs";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-A2KyXkL5SKy/iX2G6jQ2Fyx08UKVnekPICdcLhUbm3Q="; hash = "sha256-53XYrS8JbkdjOlzb1gF3tMuWEsdVhAwy4ciCdLae8kk=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;

View file

@ -13,7 +13,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-hypervisor"; pname = "dissect-hypervisor";
version = "3.6"; version = "3.7";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.hypervisor"; repo = "dissect.hypervisor";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-6oPLl18U0TtVCkLsNN8Q4hBLArfXWWRkZI4VrFKJd9Q="; hash = "sha256-glBmRzL5u+r668XHOZb6Lv0tSVvfQASPRUMAAJN4YHU=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;

View file

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-ntfs"; pname = "dissect-ntfs";
version = "3.4"; version = "3.5";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.ntfs"; repo = "dissect.ntfs";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-n6FPdsObzHLhhkfyxTiCDR4PpIQqRJU+QpAYtxk1Snc="; hash = "sha256-LehPdKCM7F7SpWDz3/svhUhiM4ii0AxENX0AyIGa2aY=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;

View file

@ -10,7 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-ole"; pname = "dissect-ole";
version = "3.4"; version = "3.5";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.ole"; repo = "dissect.ole";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-bzm9NynNUxXefWBxPIqPcRD5E52IF4on6JMtJOrvvyk="; hash = "sha256-K+YHxxQAPmvJtsDAB/1oKdUOeUmY9LAT4/TT5bfMDQo=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;

View file

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-regf"; pname = "dissect-regf";
version = "3.4"; version = "3.5";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.regf"; repo = "dissect.regf";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-nF9vJACNPA5QQy+nWjkkAoVAVdrlzAgKq//ldWpVtlE="; hash = "sha256-/C2MuCziHCk/O38atcYOfnpjafom5jMKSx3z2mmJKVc=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;

View file

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-shellitem"; pname = "dissect-shellitem";
version = "3.4"; version = "3.5";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.shellitem"; repo = "dissect.shellitem";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-BL1eTxL82hjsGBRK5mBNxygEzQvjN8P6/tu6KOkHf9s="; hash = "sha256-m/RBOF7BbYZuqfljgc/lE+HpRs+6wNNiwNa1/6SXp8U=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;

View file

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-sql"; pname = "dissect-sql";
version = "3.4"; version = "3.5";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.sql"; repo = "dissect.sql";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-JrdYCqyds6opgRz2Jxu70MewN7uR+GoN6GF0HZgB1BI="; hash = "sha256-eKhW3Z7fzIKzGiemfjluuyBjsYXIZdgvnx39BIWYObM=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;

View file

@ -13,7 +13,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-squashfs"; pname = "dissect-squashfs";
version = "1.1"; version = "1.2";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.squashfs"; repo = "dissect.squashfs";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-fcL0kPuJaole9EkrqU8Gouh3yquT2QaO8//R0ixMuP8="; hash = "sha256-TgrtONUis0yD3s0JxJ0mNGLjEKlDgGZ+eO6NvSBTK14=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;

View file

@ -16,6 +16,7 @@
, dissect-ntfs , dissect-ntfs
, dissect-regf , dissect-regf
, dissect-sql , dissect-sql
, dissect-shellitem
, dissect-thumbcache , dissect-thumbcache
, dissect-util , dissect-util
, dissect-volume , dissect-volume
@ -37,16 +38,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-target"; pname = "dissect-target";
version = "3.8"; version = "3.9";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.target"; repo = "dissect.target";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-CPN8g6LDeS77fveFOK6gExIJq9g+5qXhwDhjw3tWuJc="; hash = "sha256-oqBBcoqk8HFuxnJK7/01Neb7Lwb1sIM/TMgXKVCBUoc=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;
@ -80,6 +81,7 @@ buildPythonPackage rec {
dissect-extfs dissect-extfs
dissect-fat dissect-fat
dissect-ffs dissect-ffs
dissect-shellitem
dissect-sql dissect-sql
dissect-thumbcache dissect-thumbcache
dissect-xfs dissect-xfs

View file

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-thumbcache"; pname = "dissect-thumbcache";
version = "1.3"; version = "1.4";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.thumbcache"; repo = "dissect.thumbcache";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-HO2s9AxDRmL4TNRYCdkYpWry3i4GNR0K9i5D2Pz3mVQ="; hash = "sha256-9+vXnXeIvC+kfH1Mv1Vnj7mm4f+Vtso5pdblQVUgFjg=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;

View file

@ -9,16 +9,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-util"; pname = "dissect-util";
version = "3.7"; version = "3.8";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.util"; repo = "dissect.util";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-uITIEiy4U2B0AQobvQIG/bYjelPmM8fyQduDhtC29QI="; hash = "sha256-w2RT3tInp30IWk3CY02coJtSHdgWMravWwTK69GgSHc=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;

View file

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-vmfs"; pname = "dissect-vmfs";
version = "3.4"; version = "3.5";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.vmfs"; repo = "dissect.vmfs";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-zLQzUSJnm5DOhKKCEWX1kVEmJK0oBGKHaWucVn1HOjg="; hash = "sha256-diCJfaR5Q3s44ZJpxZv5R0rx8aThpZzyyLn/4dqJERQ=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;

View file

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-volume"; pname = "dissect-volume";
version = "3.4"; version = "3.5";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.volume"; repo = "dissect.volume";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-7ud767/UoOAbFaH1Jx4CAaQnVDzInsKIULg/LDhb/gY="; hash = "sha256-qEVTutZzE5pjFsQ7XZSXyWa47RRsPj0eKFukuHPYUpU=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;

View file

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-xfs"; pname = "dissect-xfs";
version = "3.4"; version = "3.5";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.xfs"; repo = "dissect.xfs";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-6EJyRqTOoYCqAihosAefBqRFniSkcw7pBLq16pyPntk="; hash = "sha256-Dy7Tgp1eWROo3SGXKAl7hoaQgYOQomQjE9lnhsC7HyE=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;
@ -43,6 +43,9 @@ buildPythonPackage rec {
"dissect.xfs" "dissect.xfs"
]; ];
# Archive files seems to be corrupt
doCheck = false;
meta = with lib; { meta = with lib; {
description = "Dissect module implementing a parser for the XFS file system"; description = "Dissect module implementing a parser for the XFS file system";
homepage = "https://github.com/fox-it/dissect.xfs"; homepage = "https://github.com/fox-it/dissect.xfs";

View file

@ -2,6 +2,7 @@
, buildPythonPackage , buildPythonPackage
, dissect-cim , dissect-cim
, dissect-clfs , dissect-clfs
, dissect-cobaltstrike
, dissect-cstruct , dissect-cstruct
, dissect-esedb , dissect-esedb
, dissect-etl , dissect-etl
@ -31,7 +32,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect"; pname = "dissect";
version = "3.5"; version = "3.6";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -40,7 +41,7 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect"; repo = "dissect";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-fprB+TPwtGpRcG6pkAWHsttjxTbFmmm96DguMh7f+18="; hash = "sha256-B/yXxkWE3hxPhOKnvuB/DAgNOvLITJJre2I8QPo4eZs=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;
@ -53,6 +54,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ propagatedBuildInputs = [
dissect-cim dissect-cim
dissect-clfs dissect-clfs
dissect-cobaltstrike
dissect-cstruct dissect-cstruct
dissect-esedb dissect-esedb
dissect-etl dissect-etl

View file

@ -16,13 +16,15 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "fastavro"; pname = "fastavro";
version = "1.7.2"; version = "1.7.2";
format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-IKs3uYGxiSy++tjF2XhWFrIfOo+SSl2JATUHBhCE3ZQ="; hash = "sha256-oAOqViIBtIVYO0AN/Ug7I97QExhFaeFoNJ/7tpN/49w=";
}; };
preBuild = '' preBuild = ''
@ -31,15 +33,29 @@ buildPythonPackage rec {
nativeBuildInputs = [ cython ]; nativeBuildInputs = [ cython ];
passthru.optional-dependencies = {
codecs = [
lz4
python-snappy
zstandard
];
snappy = [
python-snappy
];
zstandard = [
zstandard
];
lz4 = [
lz4
];
};
nativeCheckInputs = [ nativeCheckInputs = [
lz4
numpy numpy
pandas pandas
pytestCheckHook pytestCheckHook
python-dateutil python-dateutil
python-snappy ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
zstandard
];
# Fails with "AttributeError: module 'fastavro._read_py' has no attribute # Fails with "AttributeError: module 'fastavro._read_py' has no attribute
# 'CYTHON_MODULE'." Doesn't appear to be serious. See https://github.com/fastavro/fastavro/issues/112#issuecomment-387638676. # 'CYTHON_MODULE'." Doesn't appear to be serious. See https://github.com/fastavro/fastavro/issues/112#issuecomment-387638676.
@ -53,6 +69,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Fast read/write of AVRO files"; description = "Fast read/write of AVRO files";
homepage = "https://github.com/fastavro/fastavro"; homepage = "https://github.com/fastavro/fastavro";
changelog = "https://github.com/fastavro/fastavro/blob/${version}/ChangeLog";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ samuela ]; maintainers = with maintainers; [ samuela ];
}; };

View file

@ -1,6 +1,7 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, elasticsearch , elasticsearch
, fastavro
, fetchFromGitHub , fetchFromGitHub
, lz4 , lz4
, msgpack , msgpack
@ -14,16 +15,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "flow-record"; pname = "flow-record";
version = "3.9"; version = "3.10";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.10";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fox-it"; owner = "fox-it";
repo = "flow.record"; repo = "flow.record";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-hvd5I1n3lOuP9sUtVO69yGCVOVEWYKKfFf7OjAJCXIg="; hash = "sha256-pOEK53+rIwzTxDEla1xoWo/xgy+eN0nxR0MeW7VQFds=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;
@ -46,11 +47,14 @@ buildPythonPackage rec {
elastic = [ elastic = [
elasticsearch elasticsearch
]; ];
avro = [
fastavro
] ++ fastavro.optional-dependencies.snappy;
}; };
nativeCheckInputs = [ nativeCheckInputs = [
pytestCheckHook pytestCheckHook
]; ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
pythonImportsCheck = [ pythonImportsCheck = [
"flow.record" "flow.record"
@ -61,7 +65,6 @@ buildPythonPackage rec {
"tests/test_rdump.py" "tests/test_rdump.py"
]; ];
disabledTests = [ disabledTests = [
"test_rdump_fieldtype_path_json" "test_rdump_fieldtype_path_json"
]; ];

View file

@ -19,7 +19,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "intensity-normalization"; pname = "intensity-normalization";
version = "2.2.3"; version = "2.2.4";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -27,7 +27,7 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
pname = "intensity_normalization"; pname = "intensity_normalization";
inherit version; inherit version;
hash = "sha256-Yjd4hXmbT87xNKSqc6zkKNisOVhQzQAUZI5wBiI/UBk="; hash = "sha256-s/trDIRoqLFj3NO+iv3E+AEB4grBAHDlEL6+TCdsgmg=";
}; };
postPatch = '' postPatch = ''

View file

@ -8,13 +8,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "ipyvue"; pname = "ipyvue";
version = "1.9.0"; version = "1.9.1";
disabled = isPy27; disabled = isPy27;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-hBqNvg6dKx6P5Yo17nUA9ztmvQjz+ChNFWnD2OOPp3U="; hash = "sha256-QhHWFb+OHRXoguqTN5+W7X1YaK0xyn4Ja+1M52fFees=";
}; };
propagatedBuildInputs = [ ipywidgets ]; propagatedBuildInputs = [ ipywidgets ];

View file

@ -7,7 +7,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "lion-pytorch"; pname = "lion-pytorch";
version = "0.0.7"; version = "0.1.2";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -15,7 +15,7 @@ buildPythonPackage rec {
owner = "lucidrains"; owner = "lucidrains";
repo = "lion-pytorch"; repo = "lion-pytorch";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-CSb0s3DKv/KpEmCkCR+Y8iwrLdCL9w9Pl6W46cPB420"; hash = "sha256-9hdpRJvCpv3PeC7f0IXpHt6i+e6LiT0QUl5jeDGelQE=";
}; };
propagatedBuildInputs = [ torch ]; propagatedBuildInputs = [ torch ];

View file

@ -16,7 +16,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pywebview"; pname = "pywebview";
version = "4.0.2"; version = "4.1";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.5"; disabled = pythonOlder "3.5";
@ -25,7 +25,7 @@ buildPythonPackage rec {
owner = "r0x0r"; owner = "r0x0r";
repo = "pywebview"; repo = "pywebview";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-awgX862p1jU/LWdg7QMC9by0OJMkzGwnC0yrc93I/c0="; hash = "sha256-oqyWT0GaZ201OMVRcRpm1dma6NonTMmTx5SKnjzQl3M=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -34,13 +34,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "spsdk"; pname = "spsdk";
version = "1.10.0"; version = "1.10.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "NXPmicro"; owner = "NXPmicro";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-KJUtAWENS3+VAs3Iai1aKYzMYtfetMeI0MHeQ6NraNY="; hash = "sha256-2UTgVHqFJqizJ6mDT7+PFec3bQexcBG6v8X0E5Ai4Hc=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -17,14 +17,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "vispy"; pname = "vispy";
version = "0.12.2"; version = "0.13.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-FBwt3MwRWFVbyJ8JAQxLHXVEh+gWNXMz8x55WnFGoCQ="; hash = "sha256-tZ97z2UoyRS8ps60rZWZhMZgS+o0ZjASpyq4itiInq8=";
}; };
patches = [ patches = [

View file

@ -13,7 +13,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "yamlfix"; pname = "yamlfix";
version = "1.9.0"; version = "1.10.0";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "lyz-code"; owner = "lyz-code";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-av3QNfyPo/4GzFzQ60OrtPK6CV5AkN4FbbqgeBz4rY0="; hash = "sha256-tRF2mi2xAjCKKbPVcJ7YEc4UVmSorgP9DFm8t1z0XoA=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -4,20 +4,21 @@
, pkg-config , pkg-config
, stdenv , stdenv
, darwin , darwin
, nix-update-script
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "rome"; pname = "rome";
version = "12.1.0"; version = "12.1.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rome"; owner = "rome";
repo = "tools"; repo = "tools";
rev = "cli/v${version}"; rev = "cli/v${version}";
hash = "sha256-XORu6c/9jrRObdM3qAGszhiUjo88NTzrTyrITuHyd/4="; hash = "sha256-BlHpdfbyx6nU44vasEw0gRZ0ickyD2eUXPfeFZHSCbI=";
}; };
cargoHash = "sha256-75r280PMM1zDrqRmhuaU++5aZSCxeyqjHQls8pTzOgQ="; cargoHash = "sha256-jHdoRymKPjBonT4TvAiTNzGBuTcNoPsvdFKEf33dpVc=";
cargoBuildFlags = [ "--package" "rome_cli" ]; cargoBuildFlags = [ "--package" "rome_cli" ];
@ -43,6 +44,10 @@ rustPlatform.buildRustPackage rec {
"--skip commands::check::fs_error_dereferenced_symlink" "--skip commands::check::fs_error_dereferenced_symlink"
]; ];
passthru.updateScript = nix-update-script {
extraArgs = [ "--version-regex" "cli%2Fv(.*)" ];
};
meta = with lib; { meta = with lib; {
description = "A formatter, linter, bundler, and more for JavaScript, TypeScript, JSON, HTML, Markdown, and CSS"; description = "A formatter, linter, bundler, and more for JavaScript, TypeScript, JSON, HTML, Markdown, and CSS";
homepage = "https://rome.tools"; homepage = "https://rome.tools";

View file

@ -15,11 +15,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "lighttpd"; pname = "lighttpd";
version = "1.4.69"; version = "1.4.71";
src = fetchurl { src = fetchurl {
url = "https://download.lighttpd.net/lighttpd/releases-${lib.versions.majorMinor version}.x/${pname}-${version}.tar.xz"; url = "https://download.lighttpd.net/lighttpd/releases-${lib.versions.majorMinor version}.x/${pname}-${version}.tar.xz";
sha256 = "sha256-FqyNuV5xlim6YZSbmfiib+upRqgdGFIVsoN5u0EWsLQ="; sha256 = "sha256-uLaRXaIDlv3DVN8zJNXkQBabLl6nhZ46d1IThBMlr6w=";
}; };
patches = [ patches = [

View file

@ -1,30 +1,28 @@
diff --git a/tests/mod-fastcgi.t b/tests/mod-fastcgi.t diff -uNr lighttpd-1.4.71.orig/tests/mod-fastcgi.t lighttpd-1.4.71.new/tests/mod-fastcgi.t
index 25016e60..e0427046 100755 --- lighttpd-1.4.71.orig/tests/mod-fastcgi.t 2023-05-27 21:56:16.000000000 +0200
--- a/tests/mod-fastcgi.t +++ lighttpd-1.4.71.new/tests/mod-fastcgi.t 2023-06-01 07:01:59.789873512 +0200
+++ b/tests/mod-fastcgi.t @@ -79,7 +79,7 @@
@@ -79,7 +79,7 @@ EOF
ok($tf->handle_http($t) == 0, 'FastCGI + bin-copy-environment'); ok($tf->handle_http($t) == 0, 'FastCGI + bin-copy-environment');
SKIP: { SKIP: {
- skip "no crypt-des under openbsd", 2 if $^O eq 'openbsd'; - skip "no crypt-des under openbsd or MS Visual Studio", 2 if $^O eq 'openbsd' || $tf->{'win32native'};
+ skip "no crypt-des", 2; + skip "no crypt-des", 2;
$t->{REQUEST} = ( <<EOF $t->{REQUEST} = ( <<EOF
GET /get-server-env.php?env=REMOTE_USER HTTP/1.0 GET /get-server-env.php?env=REMOTE_USER HTTP/1.0
diff --git a/tests/request.t b/tests/request.t diff -uNr lighttpd-1.4.71.orig/tests/request.t lighttpd-1.4.71.new/tests/request.t
index f56a4300..36e67b88 100755 --- lighttpd-1.4.71.orig/tests/request.t 2023-05-27 21:56:16.000000000 +0200
--- a/tests/request.t +++ lighttpd-1.4.71.new/tests/request.t 2023-06-01 07:02:39.855940048 +0200
+++ b/tests/request.t @@ -1106,7 +1106,7 @@
@@ -1105,7 +1105,7 @@ $t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200 } ];
ok($tf->handle_http($t) == 0, 'Basic-Auth: Valid Auth-token - plain'); ok($tf->handle_http($t) == 0, 'Basic-Auth: Valid Auth-token - plain');
SKIP: { SKIP: {
- skip "no crypt-des under openbsd", 2 if $^O eq 'openbsd'; - skip "no crypt-des under openbsd or MS Visual Studio", 2 if $^O eq 'openbsd' || $tf->{'win32native'};
+ skip "no crypt-des", 2; + skip "no crypt-des", 2;
$t->{REQUEST} = ( <<EOF $t->{REQUEST} = ( <<EOF
GET /server-config HTTP/1.0 GET /server-config HTTP/1.0
Host: auth-htpasswd.example.org Host: auth-htpasswd.example.org
@@ -1162,9 +1162,7 @@ $t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 401 } ]; @@ -1163,9 +1163,7 @@
ok($tf->handle_http($t) == 0, 'Basic-Auth: Valid Auth-token - htpasswd (apr-md5, wrong password)'); ok($tf->handle_http($t) == 0, 'Basic-Auth: Valid Auth-token - htpasswd (apr-md5, wrong password)');
SKIP: { SKIP: {

View file

@ -5,16 +5,16 @@
buildGoModule rec { buildGoModule rec {
pname = "pocketbase"; pname = "pocketbase";
version = "0.15.3"; version = "0.16.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pocketbase"; owner = "pocketbase";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-9LIOBfNOa+u7yLL7iWb/e7c8ZSiyjukqaY0ifVR2iSs="; sha256 = "sha256-AKKCd80gxeL2s1yFX3pjwgxn7UDbrrhFUkMWDDcrN0c=";
}; };
vendorHash = "sha256-LFIJClPByaLXtsBOk7SjpJlIuQhWbVIs6H4PXhd7oyo="; vendorHash = "sha256-J1vZn5x7wxM/UshcB+FdaiXiq4mZF7KvZxR5iPb37UQ=";
# This is the released subpackage from upstream repo # This is the released subpackage from upstream repo
subPackages = [ "examples/base" ]; subPackages = [ "examples/base" ];
@ -32,10 +32,15 @@ buildGoModule rec {
mv $out/bin/base $out/bin/pocketbase mv $out/bin/base $out/bin/pocketbase
''; '';
patches = [
# To provide a consistent update experience, we remove the built in update method
./remove-update-method.patch
];
meta = with lib; { meta = with lib; {
description = "Open Source realtime backend in 1 file"; description = "Open Source realtime backend in 1 file";
homepage = "https://github.com/pocketbase/pocketbase"; homepage = "https://github.com/pocketbase/pocketbase";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ dit7ya ]; maintainers = with maintainers; [ dit7ya thilobillerbeck ];
}; };
} }

View file

@ -0,0 +1,22 @@
diff --git a/examples/base/main.go b/examples/base/main.go
index 908d31d..04b8f1d 100644
--- a/examples/base/main.go
+++ b/examples/base/main.go
@@ -10,7 +10,6 @@ import (
"github.com/pocketbase/pocketbase"
"github.com/pocketbase/pocketbase/apis"
"github.com/pocketbase/pocketbase/core"
- "github.com/pocketbase/pocketbase/plugins/ghupdate"
"github.com/pocketbase/pocketbase/plugins/jsvm"
"github.com/pocketbase/pocketbase/plugins/migratecmd"
)
@@ -80,9 +79,6 @@ func main() {
Dir: migrationsDir,
})
- // GitHub selfupdate
- ghupdate.MustRegister(app, app.RootCmd, nil)
-
app.OnAfterBootstrap().Add(func(e *core.BootstrapEvent) error {
app.Dao().ModelQueryTimeout = time.Duration(queryTimeout) * time.Second
return nil

View file

@ -5,11 +5,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "squid"; pname = "squid";
version = "5.8"; version = "5.9";
src = fetchurl { src = fetchurl {
url = "http://www.squid-cache.org/Versions/v5/${pname}-${version}.tar.xz"; url = "http://www.squid-cache.org/Versions/v5/${pname}-${version}.tar.xz";
hash = "sha256-fpafjI31acuGRtZ+5Z/b8mJ76toSlUwwHnwanBwRc08="; hash = "sha256-P+XCAH2idXRGr5G275dPFUsggSCpo5OW6mgeXEq7BLU=";
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];

View file

@ -6,7 +6,6 @@
, libiconv , libiconv
, Security , Security
, SystemConfiguration , SystemConfiguration
, xvfb-run
, nixosTests , nixosTests
}: }:
@ -38,16 +37,6 @@ rustPlatform.buildRustPackage rec {
--zsh <($out/bin/atuin gen-completions -s zsh) --zsh <($out/bin/atuin gen-completions -s zsh)
''; '';
nativeCheckInputs = lib.optionals xvfb-run.meta.available [
xvfb-run
];
checkPhase = lib.optionalString xvfb-run.meta.available ''
runHook preCheck
xvfb-run cargo test
runHook postCheck
'';
passthru.tests = { passthru.tests = {
inherit (nixosTests) atuin; inherit (nixosTests) atuin;
}; };

View file

@ -11,11 +11,11 @@ assert usePcre -> pcre != null;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "haproxy"; pname = "haproxy";
version = "2.7.8"; version = "2.8.0";
src = fetchurl { src = fetchurl {
url = "https://www.haproxy.org/download/${lib.versions.majorMinor version}/src/${pname}-${version}.tar.gz"; url = "https://www.haproxy.org/download/${lib.versions.majorMinor version}/src/${pname}-${version}.tar.gz";
sha256 = "sha256-FfInaXG7uoxH2GzILr/G7DPjrvLkVlBYsuSVDAe451w="; sha256 = "sha256-Yc2vtdt+kXTQdXuOS83pODUjBvt8yP8rX1XCbdSKbPc=";
}; };
buildInputs = [ openssl zlib libxcrypt ] buildInputs = [ openssl zlib libxcrypt ]

View file

@ -11,16 +11,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "hurl"; pname = "hurl";
version = "3.0.0"; version = "3.0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Orange-OpenSource"; owner = "Orange-OpenSource";
repo = pname; repo = pname;
rev = version; rev = version;
hash = "sha256-m9hAGm5vmo+J+ntQOK5R4vFEVRhW097D1gvjcE/1CnM="; hash = "sha256-Rh8HBUR3IXYs/0NZJAKk4mHOjliRIAgEsgR402i7FX4=";
}; };
cargoHash = "sha256-KYlax3Q7w27Q6TNwuDmzJhoiFMWnfMhagAuw0+FIW1c="; cargoHash = "sha256-9AXusLvkZQ3g4u7z03dy8eXzQ59aRSHFR+uyt3MwKhg=";
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config

View file

@ -0,0 +1,40 @@
{ lib
, appimageTools
, fetchurl
}:
let
pname = "mockoon";
version = "3.0.0";
src = fetchurl {
url = "https://github.com/mockoon/mockoon/releases/download/v${version}/mockoon-${version}.AppImage";
hash = "sha256-YGcD/8h21fUoBEAcBVI5jo0UMCKdVRdC1zxDIrHjU+8=";
};
appimageContents = appimageTools.extractType2 {
inherit pname version src;
};
in
appimageTools.wrapType2 {
inherit pname version src;
extraInstallCommands = ''
mv $out/bin/${pname}-${version} $out/bin/${pname}
install -Dm 444 ${appimageContents}/${pname}.desktop -t $out/share/applications
cp -r ${appimageContents}/usr/share/icons $out/share
substituteInPlace $out/share/applications/${pname}.desktop \
--replace 'Exec=AppRun' 'Exec=${pname}'
'';
meta = with lib; {
description = "The easiest and quickest way to run mock APIs locally";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
homepage = "https://mockoon.com";
license = licenses.mit;
maintainers = with maintainers; [ dit7ya ];
};
}

View file

@ -8761,7 +8761,7 @@ with pkgs;
infisical = callPackage ../development/tools/infisical { }; infisical = callPackage ../development/tools/infisical { };
inform6 = callPackage ../development/compilers/inform6 { }; inform6 = darwin.apple_sdk_11_0.callPackage ../development/compilers/inform6 { };
inform7 = callPackage ../development/compilers/inform7 { }; inform7 = callPackage ../development/compilers/inform7 { };
@ -18886,6 +18886,8 @@ with pkgs;
mockgen = callPackage ../development/tools/mockgen { }; mockgen = callPackage ../development/tools/mockgen { };
mockoon = callPackage ../tools/networking/mockoon { };
modd = callPackage ../development/tools/modd { }; modd = callPackage ../development/tools/modd { };
mold = callPackage ../development/tools/mold { mold = callPackage ../development/tools/mold {
@ -34430,6 +34432,8 @@ with pkgs;
sublime-music = callPackage ../applications/audio/sublime-music { }; sublime-music = callPackage ../applications/audio/sublime-music { };
subtitlr = callPackage ../applications/audio/subtitlr { };
subunit = callPackage ../development/libraries/subunit { }; subunit = callPackage ../development/libraries/subunit { };
surf = callPackage ../applications/networking/browsers/surf { gtk = gtk2; }; surf = callPackage ../applications/networking/browsers/surf { gtk = gtk2; };

View file

@ -2557,6 +2557,8 @@ self: super: with self; {
dissect-clfs = callPackage ../development/python-modules/dissect-clfs { }; dissect-clfs = callPackage ../development/python-modules/dissect-clfs { };
dissect-cobaltstrike = callPackage ../development/python-modules/dissect-cobaltstrike { };
dissect-cstruct = callPackage ../development/python-modules/dissect-cstruct { }; dissect-cstruct = callPackage ../development/python-modules/dissect-cstruct { };
dissect-fat = callPackage ../development/python-modules/dissect-fat { }; dissect-fat = callPackage ../development/python-modules/dissect-fat { };