mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
Merge staging-next-24.11 into staging-24.11
This commit is contained in:
commit
7ebb7f2193
@ -42,7 +42,7 @@ $ dotnet --info
|
|||||||
Version: 7.0.202
|
Version: 7.0.202
|
||||||
Commit: 6c74320bc3
|
Commit: 6c74320bc3
|
||||||
|
|
||||||
Środowisko uruchomieniowe:
|
Runtime Environment:
|
||||||
OS Name: nixos
|
OS Name: nixos
|
||||||
OS Version: 23.05
|
OS Version: 23.05
|
||||||
OS Platform: Linux
|
OS Platform: Linux
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# TeX Live {#sec-language-texlive}
|
# TeX Live {#sec-language-texlive}
|
||||||
|
|
||||||
Since release 15.09 there is a new TeX Live packaging that lives entirely under attribute `texlive`.
|
There is a TeX Live packaging that lives entirely under attribute `texlive`.
|
||||||
|
|
||||||
## User's guide (experimental new interface) {#sec-language-texlive-user-guide-experimental}
|
## User's guide (experimental new interface) {#sec-language-texlive-user-guide-experimental}
|
||||||
|
|
||||||
|
@ -8,4 +8,4 @@ HTTP has a couple of different mechanisms for caching to prevent clients from ha
|
|||||||
|
|
||||||
Fortunately, HTTP supports an alternative (and more effective) caching mechanism: the [`ETag`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag) response header. The value of the `ETag` header specifies some identifier for the particular content that the server is sending (e.g., a hash). When a client makes a second request for the same resource, it sends that value back in an `If-None-Match` header. If the ETag value is unchanged, then the server does not need to resend the content.
|
Fortunately, HTTP supports an alternative (and more effective) caching mechanism: the [`ETag`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag) response header. The value of the `ETag` header specifies some identifier for the particular content that the server is sending (e.g., a hash). When a client makes a second request for the same resource, it sends that value back in an `If-None-Match` header. If the ETag value is unchanged, then the server does not need to resend the content.
|
||||||
|
|
||||||
As of NixOS 19.09, the nginx package in Nixpkgs is patched such that when nginx serves a file out of `/nix/store`, the hash in the store path is used as the `ETag` header in the HTTP response, thus providing proper caching functionality. With NixOS 24.05 and later, the `ETag` additionally includes the response content length, to ensure files served with static compression do not share `ETag`s with their uncompressed version. This `ETag` functionality is enabled automatically; you do not need to do modify any configuration to get this behavior.
|
The nginx package in Nixpkgs is patched such that when nginx serves a file out of `/nix/store`, the hash in the store path is used as the `ETag` header in the HTTP response, thus providing proper caching functionality. With NixOS 24.05 and later, the `ETag` additionally includes the response content length, to ensure files served with static compression do not share `ETag`s with their uncompressed version. This `ETag` functionality is enabled automatically; you do not need to do modify any configuration to get this behavior.
|
||||||
|
@ -31,7 +31,6 @@ Use `programs.steam.enable = true;` if you want to add steam to `systemPackages`
|
|||||||
|
|
||||||
- **Using the FOSS Radeon or nouveau (nvidia) drivers**
|
- **Using the FOSS Radeon or nouveau (nvidia) drivers**
|
||||||
|
|
||||||
- The `newStdcpp` parameter was removed since NixOS 17.09 and should not be needed anymore.
|
|
||||||
- Steam ships statically linked with a version of `libcrypto` that conflicts with the one dynamically loaded by radeonsi_dri.so. If you get the error:
|
- Steam ships statically linked with a version of `libcrypto` that conflicts with the one dynamically loaded by radeonsi_dri.so. If you get the error:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -52,7 +52,7 @@ and [](#opt-services.kubernetes.easyCerts)
|
|||||||
to true. This sets up flannel as CNI and activates automatic PKI bootstrapping.
|
to true. This sets up flannel as CNI and activates automatic PKI bootstrapping.
|
||||||
|
|
||||||
::: {.note}
|
::: {.note}
|
||||||
As of NixOS 19.03, it is mandatory to configure:
|
It is mandatory to configure:
|
||||||
[](#opt-services.kubernetes.masterAddress).
|
[](#opt-services.kubernetes.masterAddress).
|
||||||
The masterAddress must be resolveable and routeable by all cluster nodes.
|
The masterAddress must be resolveable and routeable by all cluster nodes.
|
||||||
In single node clusters, this can be set to `localhost`.
|
In single node clusters, this can be set to `localhost`.
|
||||||
|
@ -206,8 +206,7 @@ The first steps to all these are the same:
|
|||||||
line)
|
line)
|
||||||
|
|
||||||
::: {.note}
|
::: {.note}
|
||||||
Support for `NIXOS_LUSTRATE` was added in NixOS 16.09. The act of
|
The act of "lustrating" refers to the wiping of the existing distribution.
|
||||||
"lustrating" refers to the wiping of the existing distribution.
|
|
||||||
Creating `/etc/NIXOS_LUSTRATE` can also be used on NixOS to remove
|
Creating `/etc/NIXOS_LUSTRATE` can also be used on NixOS to remove
|
||||||
all mutable files from your root partition (anything that's not in
|
all mutable files from your root partition (anything that's not in
|
||||||
`/nix` or `/boot` gets "lustrated" on the next boot.
|
`/nix` or `/boot` gets "lustrated" on the next boot.
|
||||||
|
@ -218,8 +218,9 @@
|
|||||||
|
|
||||||
- The NVIDIA driver no longer defaults to the proprietary kernel module with versions >= 560. You will need to manually set `hardware.nvidia.open` to select the proprietary or open modules.
|
- The NVIDIA driver no longer defaults to the proprietary kernel module with versions >= 560. You will need to manually set `hardware.nvidia.open` to select the proprietary or open modules.
|
||||||
|
|
||||||
- The `(buildPythonPackage { ... }).override` attribute is now deprecated and removed in favour of `overridePythonAttrs`.
|
- The `(buildPythonPackage { ... }).override` and `(buildPythonPackage { ... }).overrideDerivation` attributes is now deprecated and removed in favour of `overridePythonAttrs` and `lib.overrideDerivation`.
|
||||||
This change does not affect the override interface of most Python packages, as [`<pkg>.override`](https://nixos.org/manual/nixpkgs/unstable/#sec-pkg-override) provided by `callPackage` shadows such a locally-defined `override` attribute.
|
This change does not affect the override interface of most Python packages, as [`<pkg>.override`](https://nixos.org/manual/nixpkgs/unstable/#sec-pkg-override) provided by `callPackage` shadows such a locally-defined `override` attribute.
|
||||||
|
The `<pkg>.overrideDerivation` attribute of Python packages called with `callPackage` will also remain available after this change.
|
||||||
|
|
||||||
- All Cinnamon and XApp packages have been moved to top-level (i.e., `cinnamon.nemo` is now `nemo`).
|
- All Cinnamon and XApp packages have been moved to top-level (i.e., `cinnamon.nemo` is now `nemo`).
|
||||||
|
|
||||||
|
@ -263,6 +263,7 @@
|
|||||||
./programs/openvpn3.nix
|
./programs/openvpn3.nix
|
||||||
./programs/obs-studio.nix
|
./programs/obs-studio.nix
|
||||||
./programs/partition-manager.nix
|
./programs/partition-manager.nix
|
||||||
|
./programs/pay-respects.nix
|
||||||
./programs/plotinus.nix
|
./programs/plotinus.nix
|
||||||
./programs/pqos-wrapper.nix
|
./programs/pqos-wrapper.nix
|
||||||
./programs/projecteur.nix
|
./programs/projecteur.nix
|
||||||
|
@ -11,6 +11,7 @@ let
|
|||||||
mkEnableOption
|
mkEnableOption
|
||||||
mkIf
|
mkIf
|
||||||
mkOption
|
mkOption
|
||||||
|
optionalString
|
||||||
types
|
types
|
||||||
;
|
;
|
||||||
inherit (types) str;
|
inherit (types) str;
|
||||||
@ -48,8 +49,8 @@ in
|
|||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
bash.interactiveShellInit = initScript "bash";
|
bash.interactiveShellInit = initScript "bash";
|
||||||
fish.interactiveShellInit = mkIf config.programs.fish.enable initScript "fish";
|
fish.interactiveShellInit = optionalString config.programs.fish.enable (initScript "fish");
|
||||||
zsh.interactiveShellInit = mkIf config.programs.zsh.enable initScript "zsh";
|
zsh.interactiveShellInit = optionalString config.programs.zsh.enable (initScript "zsh");
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
meta.maintainers = with maintainers; [ sigmasquadron ];
|
meta.maintainers = with maintainers; [ sigmasquadron ];
|
||||||
|
@ -64,8 +64,8 @@ in
|
|||||||
description = ''
|
description = ''
|
||||||
The package which contains the `yabar` binary.
|
The package which contains the `yabar` binary.
|
||||||
|
|
||||||
Nixpkgs provides the `yabar` and `yabar-unstable`
|
Nixpkgs provides the `yabar` and `yabar-unstable`,
|
||||||
derivations since 18.03, so it's possible to choose.
|
so it's possible to choose.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -79,7 +79,6 @@ in
|
|||||||
])
|
])
|
||||||
++ (with pkgs.lomiri; [
|
++ (with pkgs.lomiri; [
|
||||||
hfd-service
|
hfd-service
|
||||||
history-service
|
|
||||||
libusermetrics
|
libusermetrics
|
||||||
lomiri
|
lomiri
|
||||||
lomiri-calculator-app
|
lomiri-calculator-app
|
||||||
@ -90,6 +89,7 @@ in
|
|||||||
lomiri-download-manager
|
lomiri-download-manager
|
||||||
lomiri-filemanager-app
|
lomiri-filemanager-app
|
||||||
lomiri-gallery-app
|
lomiri-gallery-app
|
||||||
|
lomiri-history-service
|
||||||
lomiri-polkit-agent
|
lomiri-polkit-agent
|
||||||
lomiri-schemas # exposes some required dbus interfaces
|
lomiri-schemas # exposes some required dbus interfaces
|
||||||
lomiri-session # wrappers to properly launch the session
|
lomiri-session # wrappers to properly launch the session
|
||||||
|
@ -9,7 +9,7 @@ let
|
|||||||
cfg = config.services.magic-wormhole-mailbox-server;
|
cfg = config.services.magic-wormhole-mailbox-server;
|
||||||
# keep semicolon in dataDir for backward compatibility
|
# keep semicolon in dataDir for backward compatibility
|
||||||
dataDir = "/var/lib/magic-wormhole-mailbox-server;";
|
dataDir = "/var/lib/magic-wormhole-mailbox-server;";
|
||||||
python = pkgs.python311.withPackages (
|
python = pkgs.python3.withPackages (
|
||||||
py: with py; [
|
py: with py; [
|
||||||
magic-wormhole-mailbox-server
|
magic-wormhole-mailbox-server
|
||||||
twisted
|
twisted
|
||||||
|
@ -74,7 +74,7 @@ this could be most useful for testing a particular plug-in in isolation.
|
|||||||
: This is a known [issue](https://github.com/NixOS/nixpkgs/issues/64611) and there is no known workaround.
|
: This is a known [issue](https://github.com/NixOS/nixpkgs/issues/64611) and there is no known workaround.
|
||||||
|
|
||||||
[Does AppCenter work, or is it available?]{#sec-pantheon-faq-appcenter}
|
[Does AppCenter work, or is it available?]{#sec-pantheon-faq-appcenter}
|
||||||
: AppCenter has been available since 20.03. Starting from 21.11, the Flatpak backend should work so you can install some Flatpak applications using it. However, due to missing appstream metadata, the Packagekit backend does not function currently. See this [issue](https://github.com/NixOS/nixpkgs/issues/15932).
|
: AppCenter is available and the Flatpak backend should work so you can install some Flatpak applications using it. However, due to missing appstream metadata, the Packagekit backend does not function currently. See this [issue](https://github.com/NixOS/nixpkgs/issues/15932).
|
||||||
|
|
||||||
If you are using Pantheon, AppCenter should be installed by default if you have [Flatpak support](#module-services-flatpak) enabled. If you also wish to add the `appcenter` Flatpak remote:
|
If you are using Pantheon, AppCenter should be installed by default if you have [Flatpak support](#module-services-flatpak) enabled. If you also wish to add the `appcenter` Flatpak remote:
|
||||||
|
|
||||||
|
@ -35,13 +35,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "vengi-tools";
|
pname = "vengi-tools";
|
||||||
version = "0.0.33";
|
version = "0.0.34";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mgerhardy";
|
owner = "mgerhardy";
|
||||||
repo = "vengi";
|
repo = "vengi";
|
||||||
rev = "v${finalAttrs.version}";
|
rev = "v${finalAttrs.version}";
|
||||||
hash = "sha256-ljB36A5b8K1KBBuQVISb1fkWxb/tTTwojE31KPMg1xQ=";
|
hash = "sha256-a78Oiwln3vyzCyjNewbK1/05bnGcSixxzKIgz4oiDmA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
callPackage ./generic.nix { } rec {
|
callPackage ./generic.nix { } rec {
|
||||||
pname = "signal-desktop";
|
pname = "signal-desktop";
|
||||||
dir = "Signal";
|
dir = "Signal";
|
||||||
version = "7.23.0";
|
version = "7.33.0";
|
||||||
url = "https://github.com/0mniteck/Signal-Desktop-Mobian/raw/${version}/builds/release/signal-desktop_${version}_arm64.deb";
|
url = "https://github.com/0mniteck/Signal-Desktop-Mobian/raw/${version}/builds/release/signal-desktop_${version}_arm64.deb";
|
||||||
hash = "sha256-fQb2nYE1+q6DNcMF0z5NadGlffYaCFNgcu8IIGVUtf8=";
|
hash = "sha256-2PwEPwQkoNrnSI00CVeTjF7QvxQb9NxQqrcOVisWwFU=";
|
||||||
}
|
}
|
||||||
|
@ -6,11 +6,11 @@
|
|||||||
}:
|
}:
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "signal-desktop";
|
pname = "signal-desktop";
|
||||||
version = "7.29.0";
|
version = "7.33.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://updates.signal.org/desktop/signal-desktop-mac-universal-${finalAttrs.version}.dmg";
|
url = "https://updates.signal.org/desktop/signal-desktop-mac-universal-${finalAttrs.version}.dmg";
|
||||||
hash = "sha256-R/NYPb7bvLbyDYntw2K75SC1/sqNO7HAJ3QUwGThvUg=";
|
hash = "sha256-kq4HkLlTWTE8CLPnZ0o4XYDUC0n5LmgJiGdiIDTtdTI=";
|
||||||
};
|
};
|
||||||
sourceRoot = ".";
|
sourceRoot = ".";
|
||||||
|
|
||||||
|
@ -3,24 +3,24 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
pname = "brave";
|
pname = "brave";
|
||||||
version = "1.71.123";
|
version = "1.73.89";
|
||||||
|
|
||||||
allArchives = {
|
allArchives = {
|
||||||
aarch64-linux = {
|
aarch64-linux = {
|
||||||
url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_arm64.deb";
|
url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_arm64.deb";
|
||||||
hash = "sha256-u3fme771Q5F00fYiLez9mhGQR2mORYdSabXovr0+OYE=";
|
hash = "sha256-qpWKu0hmFs8LXkSrrcSOpS9BsgkO1WPOItpPc/InBLY=";
|
||||||
};
|
};
|
||||||
x86_64-linux = {
|
x86_64-linux = {
|
||||||
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";
|
||||||
hash = "sha256-fJczTAra+j8+veicz4lIyKSNJyxJK4q9gpZoAyQwkxQ=";
|
hash = "sha256-9e0zMS5kcTMdxkvvq248kZDQpBz/Hf4OMUdZ4lgmDV8=";
|
||||||
};
|
};
|
||||||
aarch64-darwin = {
|
aarch64-darwin = {
|
||||||
url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-v${version}-darwin-arm64.zip";
|
url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-v${version}-darwin-arm64.zip";
|
||||||
hash = "sha256-kDiZ6NKQ+v1jBEUexItKTCKFsbnOtSzPmGEVWI5JoXI=";
|
hash = "sha256-LOSm4IbdmrpxzDf9yzbKhkBlp8452R9tInYOP4dMfzo=";
|
||||||
};
|
};
|
||||||
x86_64-darwin = {
|
x86_64-darwin = {
|
||||||
url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-v${version}-darwin-x64.zip";
|
url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-v${version}-darwin-x64.zip";
|
||||||
hash = "sha256-/yl4k/XvmL7oBW1XU4wVNHfa07Z+XMHYTkkufhDCXUc=";
|
hash = "sha256-VWobettpSvMCCENg/b9VkH+cwNOrYF/n6d3Ebdq00Lc=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -48,7 +48,6 @@ callPackage ./make-brave.nix (removeAttrs args [ "callPackage" ]) (
|
|||||||
archive
|
archive
|
||||||
// {
|
// {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
platform = stdenv.system;
|
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
EOF
|
EOF
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
{
|
{
|
||||||
buildGoModule,
|
buildGoModule,
|
||||||
cbconvert,
|
cbconvert,
|
||||||
|
cbconvert-gui,
|
||||||
gtk3,
|
gtk3,
|
||||||
|
pkg-config,
|
||||||
|
testers,
|
||||||
wrapGAppsHook3,
|
wrapGAppsHook3,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -10,18 +13,18 @@ buildGoModule rec {
|
|||||||
|
|
||||||
inherit (cbconvert)
|
inherit (cbconvert)
|
||||||
patches
|
patches
|
||||||
proxyVendor
|
|
||||||
src
|
src
|
||||||
tags
|
tags
|
||||||
version
|
version
|
||||||
;
|
;
|
||||||
|
|
||||||
nativeBuildInputs = cbconvert.nativeBuildInputs ++ [
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
wrapGAppsHook3
|
wrapGAppsHook3
|
||||||
];
|
];
|
||||||
buildInputs = cbconvert.buildInputs ++ [ gtk3 ];
|
buildInputs = cbconvert.buildInputs ++ [ gtk3 ];
|
||||||
|
|
||||||
vendorHash = "sha256-vvCvKecPszhNCQdgm3mQMb5+486BGZ9sz3R0b70eLeQ=";
|
vendorHash = "sha256-oMW5zfAw2VQSVaB+Z1pE51OtNIFr+PnRMM+oBYNLWxk=";
|
||||||
modRoot = "cmd/cbconvert-gui";
|
modRoot = "cmd/cbconvert-gui";
|
||||||
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
@ -31,16 +34,18 @@ buildGoModule rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
install -D --mode=0644 --target-directory=$out/share/applications/ dist/linux/cbconvert.desktop
|
install -D --mode=0644 --target-directory=$out/icons/hicolor/256x256/apps dist/linux/io.github.gen2brain.cbconvert.png
|
||||||
install -D --mode=0644 --target-directory=$out/icons/hicolor/256x256/apps dist/linux/cbconvert.png
|
install -D --mode=0644 --target-directory=$out/share/applications/ dist/linux/io.github.gen2brain.cbconvert.desktop
|
||||||
install -D --mode=0644 --target-directory=$out/share/thumbnailers dist/linux/cbconvert.thumbnailer
|
install -D --mode=0644 --target-directory=$out/share/metainfo dist/linux/io.github.gen2brain.cbconvert.metainfo.xml
|
||||||
install -D --mode=0644 dist/linux/flatpak/io.github.gen2brain.cbconvert.metainfo.xml $out/share/metainfo/cbconvert.metainfo.xml
|
install -D --mode=0644 --target-directory=$out/share/thumbnailers dist/linux/io.github.gen2brain.cbconvert.thumbnailer
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postFixup = ''
|
passthru = {
|
||||||
substituteInPlace $out/share/metainfo/cbconvert.metainfo.xml \
|
tests.version = testers.testVersion {
|
||||||
--replace-fail "io.github.gen2brain.cbconvert" "cbconvert"
|
package = cbconvert-gui;
|
||||||
'';
|
command = "cbconvert-gui version";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = cbconvert.meta // {
|
meta = cbconvert.meta // {
|
||||||
mainProgram = "cbconvert-gui";
|
mainProgram = "cbconvert-gui";
|
||||||
|
@ -4,47 +4,28 @@
|
|||||||
callPackage,
|
callPackage,
|
||||||
cbconvert,
|
cbconvert,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
fetchpatch2,
|
|
||||||
imagemagick,
|
|
||||||
lib,
|
lib,
|
||||||
libunarr,
|
libunarr,
|
||||||
mupdf-headless,
|
mupdf-headless,
|
||||||
nix-update-script,
|
nix-update-script,
|
||||||
pkg-config,
|
|
||||||
testers,
|
testers,
|
||||||
zlib,
|
zlib,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "cbconvert";
|
pname = "cbconvert";
|
||||||
version = "1.0.4";
|
version = "1.1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "gen2brain";
|
owner = "gen2brain";
|
||||||
repo = "cbconvert";
|
repo = "cbconvert";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-9x7RXyiQoV2nIVFnG1XHcYfTQiMZ88Ck7uuY7NLK8CA=";
|
hash = "sha256-C2Eox6fpKS0fPB7KFgBn62HKbWYacSVMJK0CkT6+FBU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Update dependencies in order to use the extlib tag.
|
vendorHash = "sha256-uV8aIUKy9HQdZvR3k8CTTrHsh9TyBw21gFTdjR1XJlg=";
|
||||||
patches = [
|
|
||||||
(fetchpatch2 {
|
|
||||||
name = "update-dependencies-1.patch";
|
|
||||||
url = "https://github.com/gen2brain/cbconvert/commit/1a36ec17b2c012f278492d60d469b8e8457a6110.patch";
|
|
||||||
hash = "sha256-E+HWYPz9FtU3JAktzIRflF/pHdLfoaciBmjb7UOQYLo=";
|
|
||||||
})
|
|
||||||
(fetchpatch2 {
|
|
||||||
name = "update-dependencies-2.patch";
|
|
||||||
url = "https://github.com/gen2brain/cbconvert/commit/74c5de699413e95133f97666b64a1866f88fedd5.patch";
|
|
||||||
hash = "sha256-rrJsYJHcfNWF90vwUAT3J/gqg22e1gk6I48LsTrYbmU=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
vendorHash = "sha256-aVInsWvygNH+/h7uQs4hAPOO2gsSkBx+tI+TK77M/hg=";
|
|
||||||
modRoot = "cmd/cbconvert";
|
modRoot = "cmd/cbconvert";
|
||||||
|
|
||||||
proxyVendor = true;
|
|
||||||
|
|
||||||
# The extlib tag forces the github.com/gen2brain/go-unarr module to use external libraries instead of bundled ones.
|
# The extlib tag forces the github.com/gen2brain/go-unarr module to use external libraries instead of bundled ones.
|
||||||
tags = [ "extlib" ];
|
tags = [ "extlib" ];
|
||||||
|
|
||||||
@ -54,13 +35,8 @@ buildGoModule rec {
|
|||||||
"-X main.appVersion=${version}"
|
"-X main.appVersion=${version}"
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
pkg-config
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
bzip2
|
bzip2
|
||||||
imagemagick
|
|
||||||
libunarr
|
libunarr
|
||||||
mupdf-headless
|
mupdf-headless
|
||||||
zlib
|
zlib
|
||||||
|
@ -0,0 +1,229 @@
|
|||||||
|
From a2f524ffe163e1a15dc8a4b6f21964092ec8e0a7 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Sofi <sofi+git@mailbox.org>
|
||||||
|
Date: Sat, 28 Sep 2024 00:31:11 +0200
|
||||||
|
Subject: [PATCH] Revert "Merge pull request #3340 from
|
||||||
|
violetmage/violetmage-spectrum-avsync"
|
||||||
|
|
||||||
|
This reverts commit d40ff638e2f0db00579e1f30a9880b7d35f137fd, reversing
|
||||||
|
changes made to ee0fe4a8da57ef84a39600ad02280ddc98d9de31.
|
||||||
|
---
|
||||||
|
...thub.wwmm.easyeffects.spectrum.gschema.xml | 5 --
|
||||||
|
data/ui/preferences_spectrum.ui | 21 -----
|
||||||
|
include/spectrum.hpp | 5 --
|
||||||
|
src/preferences_spectrum.cpp | 7 +-
|
||||||
|
src/spectrum.cpp | 86 +++----------------
|
||||||
|
5 files changed, 14 insertions(+), 110 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/data/schemas/com.github.wwmm.easyeffects.spectrum.gschema.xml b/data/schemas/com.github.wwmm.easyeffects.spectrum.gschema.xml
|
||||||
|
index 340da382e..1260810f3 100644
|
||||||
|
--- a/data/schemas/com.github.wwmm.easyeffects.spectrum.gschema.xml
|
||||||
|
+++ b/data/schemas/com.github.wwmm.easyeffects.spectrum.gschema.xml
|
||||||
|
@@ -49,10 +49,5 @@
|
||||||
|
<range min="120" max="22000" />
|
||||||
|
<default>20000</default>
|
||||||
|
</key>
|
||||||
|
-
|
||||||
|
- <key name="avsync-delay" type="i">
|
||||||
|
- <range min="0" max="1000" />
|
||||||
|
- <default>0</default>
|
||||||
|
- </key>
|
||||||
|
</schema>
|
||||||
|
</schemalist>
|
||||||
|
\ No newline at end of file
|
||||||
|
diff --git a/data/ui/preferences_spectrum.ui b/data/ui/preferences_spectrum.ui
|
||||||
|
index 2eae7b8ab..97535d518 100644
|
||||||
|
--- a/data/ui/preferences_spectrum.ui
|
||||||
|
+++ b/data/ui/preferences_spectrum.ui
|
||||||
|
@@ -18,27 +18,6 @@
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
-
|
||||||
|
- <child>
|
||||||
|
- <object class="AdwActionRow">
|
||||||
|
- <property name="title" translatable="yes">Compensating Delay (ms)</property>
|
||||||
|
-
|
||||||
|
- <child>
|
||||||
|
- <object class="GtkSpinButton" id="avsync_delay">
|
||||||
|
- <property name="valign">center</property>
|
||||||
|
- <property name="digits">0</property>
|
||||||
|
- <property name="adjustment">
|
||||||
|
- <object class="GtkAdjustment">
|
||||||
|
- <property name="lower">0</property>
|
||||||
|
- <property name="upper">1000</property>
|
||||||
|
- <property name="step-increment">1</property>
|
||||||
|
- <property name="page-increment">10</property>
|
||||||
|
- </object>
|
||||||
|
- </property>
|
||||||
|
- </object>
|
||||||
|
- </child>
|
||||||
|
- </object>
|
||||||
|
- </child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
diff --git a/include/spectrum.hpp b/include/spectrum.hpp
|
||||||
|
index 546ceec59..af49dd9e5 100644
|
||||||
|
--- a/include/spectrum.hpp
|
||||||
|
+++ b/include/spectrum.hpp
|
||||||
|
@@ -65,11 +65,6 @@ class Spectrum : public PluginBase {
|
||||||
|
|
||||||
|
std::array<float, n_bands> real_input;
|
||||||
|
std::array<double, n_bands / 2U + 1U> output;
|
||||||
|
-
|
||||||
|
- std::vector<float> left_delayed_vector;
|
||||||
|
- std::vector<float> right_delayed_vector;
|
||||||
|
- std::span<float> left_delayed;
|
||||||
|
- std::span<float> right_delayed;
|
||||||
|
|
||||||
|
std::array<float, n_bands> latest_samples_mono;
|
||||||
|
|
||||||
|
diff --git a/src/preferences_spectrum.cpp b/src/preferences_spectrum.cpp
|
||||||
|
index 2902a8ee4..151960bef 100644
|
||||||
|
--- a/src/preferences_spectrum.cpp
|
||||||
|
+++ b/src/preferences_spectrum.cpp
|
||||||
|
@@ -49,7 +49,7 @@ struct _PreferencesSpectrum {
|
||||||
|
|
||||||
|
GtkDropDown* type;
|
||||||
|
|
||||||
|
- GtkSpinButton *n_points, *height, *line_width, *minimum_frequency, *maximum_frequency, *avsync_delay;
|
||||||
|
+ GtkSpinButton *n_points, *height, *line_width, *minimum_frequency, *maximum_frequency;
|
||||||
|
|
||||||
|
GSettings* settings;
|
||||||
|
|
||||||
|
@@ -119,7 +119,6 @@ void preferences_spectrum_class_init(PreferencesSpectrumClass* klass) {
|
||||||
|
gtk_widget_class_bind_template_child(widget_class, PreferencesSpectrum, axis_color_button);
|
||||||
|
gtk_widget_class_bind_template_child(widget_class, PreferencesSpectrum, minimum_frequency);
|
||||||
|
gtk_widget_class_bind_template_child(widget_class, PreferencesSpectrum, maximum_frequency);
|
||||||
|
- gtk_widget_class_bind_template_child(widget_class, PreferencesSpectrum, avsync_delay);
|
||||||
|
|
||||||
|
gtk_widget_class_bind_template_callback(widget_class, on_spectrum_color_set);
|
||||||
|
gtk_widget_class_bind_template_callback(widget_class, on_spectrum_axis_color_set);
|
||||||
|
@@ -193,9 +192,9 @@ void preferences_spectrum_init(PreferencesSpectrum* self) {
|
||||||
|
// spectrum section gsettings bindings
|
||||||
|
|
||||||
|
gsettings_bind_widgets<"show", "fill", "rounded-corners", "show-bar-border", "dynamic-y-scale", "n-points", "height",
|
||||||
|
- "line-width", "minimum-frequency", "maximum-frequency", "avsync-delay">(
|
||||||
|
+ "line-width", "minimum-frequency", "maximum-frequency">(
|
||||||
|
self->settings, self->show, self->fill, self->rounded_corners, self->show_bar_border, self->dynamic_y_scale,
|
||||||
|
- self->n_points, self->height, self->line_width, self->minimum_frequency, self->maximum_frequency, self->avsync_delay);
|
||||||
|
+ self->n_points, self->height, self->line_width, self->minimum_frequency, self->maximum_frequency);
|
||||||
|
|
||||||
|
ui::gsettings_bind_enum_to_combo_widget(self->settings, "type", self->type);
|
||||||
|
|
||||||
|
diff --git a/src/spectrum.cpp b/src/spectrum.cpp
|
||||||
|
index 28f7ff4da..1075a358f 100644
|
||||||
|
--- a/src/spectrum.cpp
|
||||||
|
+++ b/src/spectrum.cpp
|
||||||
|
@@ -55,30 +55,6 @@ Spectrum::Spectrum(const std::string& tag,
|
||||||
|
|
||||||
|
plan = fftwf_plan_dft_r2c_1d(static_cast<int>(n_bands), real_input.data(), complex_output, FFTW_ESTIMATE);
|
||||||
|
|
||||||
|
-
|
||||||
|
-
|
||||||
|
- lv2_wrapper = std::make_unique<lv2::Lv2Wrapper>("http://lsp-plug.in/plugins/lv2/comp_delay_x2_stereo");
|
||||||
|
-
|
||||||
|
- package_installed = lv2_wrapper->found_plugin;
|
||||||
|
-
|
||||||
|
- if (!package_installed) {
|
||||||
|
- util::debug(log_tag + "http://lsp-plug.in/plugins/lv2/comp_delay_x2_stereo is not installed, spectrum will not have A/V sync compensation");
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
- lv2_wrapper->set_control_port_value("mode_l", 2);
|
||||||
|
- lv2_wrapper->set_control_port_value("mode_r", 2);
|
||||||
|
-
|
||||||
|
- lv2_wrapper->set_control_port_value("dry_l", 0.0F);
|
||||||
|
- lv2_wrapper->set_control_port_value("dry_r", 0.0F);
|
||||||
|
-
|
||||||
|
- lv2_wrapper->set_control_port_value("wet_l", static_cast<float>(util::db_to_linear(0.0F)));
|
||||||
|
- lv2_wrapper->set_control_port_value("wet_r", static_cast<float>(util::db_to_linear(0.0F)));
|
||||||
|
-
|
||||||
|
- lv2_wrapper->bind_key_int<"time_l", "avsync-delay">(settings);
|
||||||
|
- lv2_wrapper->bind_key_int<"time_r", "avsync-delay">(settings);
|
||||||
|
-
|
||||||
|
-
|
||||||
|
-
|
||||||
|
g_signal_connect(settings, "changed::show", G_CALLBACK(+[](GSettings* settings, char* key, gpointer user_data) {
|
||||||
|
auto* self = static_cast<Spectrum*>(user_data);
|
||||||
|
|
||||||
|
@@ -106,19 +82,6 @@ Spectrum::~Spectrum() {
|
||||||
|
void Spectrum::setup() {
|
||||||
|
std::ranges::fill(real_input, 0.0F);
|
||||||
|
std::ranges::fill(latest_samples_mono, 0.0F);
|
||||||
|
-
|
||||||
|
- left_delayed_vector.resize(n_samples, 0.0F);
|
||||||
|
- right_delayed_vector.resize(n_samples, 0.0F);
|
||||||
|
-
|
||||||
|
- left_delayed = std::span<float>(left_delayed_vector);
|
||||||
|
- right_delayed = std::span<float>(right_delayed_vector);
|
||||||
|
-
|
||||||
|
- lv2_wrapper->set_n_samples(n_samples);
|
||||||
|
-
|
||||||
|
- if (lv2_wrapper->get_rate() != rate) {
|
||||||
|
- util::debug(log_tag + " creating instance of comp delay x2 stereo for spectrum A/V sync");
|
||||||
|
- lv2_wrapper->create_instance(rate);
|
||||||
|
- }
|
||||||
|
}
|
||||||
|
|
||||||
|
void Spectrum::process(std::span<float>& left_in,
|
||||||
|
@@ -132,46 +95,19 @@ void Spectrum::process(std::span<float>& left_in,
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
- // delay the visualization of the spectrum by the reported latency
|
||||||
|
- // of the output device, so that the spectrum is visually in sync
|
||||||
|
- // with the audio as experienced by the user. (A/V sync)
|
||||||
|
- if ( lv2_wrapper->found_plugin && lv2_wrapper->has_instance() ) {
|
||||||
|
- lv2_wrapper->connect_data_ports(left_in, right_in, left_delayed, right_delayed);
|
||||||
|
- lv2_wrapper->run();
|
||||||
|
+ if (n_samples < n_bands) {
|
||||||
|
+ // Drop the oldest quantum.
|
||||||
|
+ std::memmove(&latest_samples_mono[0], &latest_samples_mono[n_samples],
|
||||||
|
+ (n_bands - n_samples) * sizeof(float));
|
||||||
|
|
||||||
|
- // Downmix the latest n_bands samples from the delayed signal.
|
||||||
|
- if (n_samples < n_bands) {
|
||||||
|
- // Drop the oldest quantum.
|
||||||
|
- std::memmove(&latest_samples_mono[0], &latest_samples_mono[n_samples],
|
||||||
|
- (n_bands - n_samples) * sizeof(float));
|
||||||
|
-
|
||||||
|
- // Copy the new quantum.
|
||||||
|
- for (size_t n = 0; n < n_samples; n++) {
|
||||||
|
- latest_samples_mono[n_bands - n_samples + n] = 0.5F * (left_delayed[n] + right_delayed[n]);
|
||||||
|
- }
|
||||||
|
- } else {
|
||||||
|
- // Copy the latest n_bands samples.
|
||||||
|
- for (size_t n = 0; n < n_bands; n++)
|
||||||
|
- latest_samples_mono[n] = 0.5F * (left_delayed[n_samples - n_bands + n] +
|
||||||
|
- right_delayed[n_samples - n_bands + n]);
|
||||||
|
- }
|
||||||
|
+ // Copy the new quantum.
|
||||||
|
+ for (size_t n = 0; n < n_samples; n++)
|
||||||
|
+ latest_samples_mono[n_bands - n_samples + n] = 0.5F * (left_in[n] + right_in[n]);
|
||||||
|
} else {
|
||||||
|
- // Downmix the latest n_bands samples from the non-delayed signal.
|
||||||
|
- if (n_samples < n_bands) {
|
||||||
|
- // Drop the oldest quantum.
|
||||||
|
- std::memmove(&latest_samples_mono[0], &latest_samples_mono[n_samples],
|
||||||
|
- (n_bands - n_samples) * sizeof(float));
|
||||||
|
-
|
||||||
|
- // Copy the new quantum.
|
||||||
|
- for (size_t n = 0; n < n_samples; n++) {
|
||||||
|
- latest_samples_mono[n_bands - n_samples + n] = 0.5F * (left_in[n] + right_in[n]);
|
||||||
|
- }
|
||||||
|
- } else {
|
||||||
|
- // Copy the latest n_bands samples.
|
||||||
|
- for (size_t n = 0; n < n_bands; n++)
|
||||||
|
- latest_samples_mono[n] = 0.5F * (left_in[n_samples - n_bands + n] +
|
||||||
|
- right_in[n_samples - n_bands + n]);
|
||||||
|
- }
|
||||||
|
+ // Copy the latest n_bands samples.
|
||||||
|
+ for (size_t n = 0; n < n_bands; n++)
|
||||||
|
+ latest_samples_mono[n] = 0.5F * (left_in[n_samples - n_bands + n] +
|
||||||
|
+ right_in[n_samples - n_bands + n]);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
--
|
||||||
|
2.46.0
|
||||||
|
|
@ -114,6 +114,11 @@ stdenv.mkDerivation rec {
|
|||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Remove when lsp-plugins is >= 1.2.17. (https://github.com/wwmm/easyeffects/issues/3394)
|
||||||
|
./0001-Revert-Merge-pull-request-3340-from-violetmage-viole.patch
|
||||||
|
];
|
||||||
|
|
||||||
separateDebugInfo = true;
|
separateDebugInfo = true;
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
overrideSDK,
|
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
cmake,
|
cmake,
|
||||||
ninja,
|
ninja,
|
||||||
@ -10,6 +9,9 @@
|
|||||||
qt6Packages,
|
qt6Packages,
|
||||||
febio,
|
febio,
|
||||||
glew,
|
glew,
|
||||||
|
apple-sdk_11,
|
||||||
|
darwinMinVersionHook,
|
||||||
|
fetchpatch,
|
||||||
sshSupport ? true,
|
sshSupport ? true,
|
||||||
openssl,
|
openssl,
|
||||||
libssh,
|
libssh,
|
||||||
@ -23,18 +25,7 @@
|
|||||||
withCadFeatures ? false,
|
withCadFeatures ? false,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
stdenv' =
|
|
||||||
if stdenv.hostPlatform.isDarwin then
|
|
||||||
overrideSDK stdenv {
|
|
||||||
darwinSdkVersion = "11.0";
|
|
||||||
darwinMinVersion = "10.15";
|
|
||||||
}
|
|
||||||
else
|
|
||||||
stdenv;
|
|
||||||
in
|
|
||||||
|
|
||||||
stdenv'.mkDerivation (finalAttrs: {
|
|
||||||
pname = "febio-studio";
|
pname = "febio-studio";
|
||||||
version = "2.7";
|
version = "2.7";
|
||||||
|
|
||||||
@ -45,7 +36,14 @@ stdenv'.mkDerivation (finalAttrs: {
|
|||||||
hash = "sha256-ggIzz6bvNjqlI8s31EVnbM0TOspBSc9/myKpWukS3MU=";
|
hash = "sha256-ggIzz6bvNjqlI8s31EVnbM0TOspBSc9/myKpWukS3MU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./cmake-install.patch ];
|
patches = [
|
||||||
|
./cmake-install.patch
|
||||||
|
# Fix qt 6.8 compile, can be removed after next release
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/febiosoftware/FEBioStudio/commit/15524d958a6f5ef81ccee58b4efa1ea25de91543.patch";
|
||||||
|
hash = "sha256-LRToK1/RQC+bLXgroDTQOV6H8pI+IZ38Y0nsl/Fz1WE=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
cmakeFlags =
|
cmakeFlags =
|
||||||
[ (lib.cmakeFeature "Qt_Root" "${qt6Packages.qtbase}") ]
|
[ (lib.cmakeFeature "Qt_Root" "${qt6Packages.qtbase}") ]
|
||||||
@ -76,7 +74,11 @@ stdenv'.mkDerivation (finalAttrs: {
|
|||||||
]
|
]
|
||||||
++ lib.optional tetgenSupport tetgen
|
++ lib.optional tetgenSupport tetgen
|
||||||
++ lib.optional ffmpegSupport ffmpeg
|
++ lib.optional ffmpegSupport ffmpeg
|
||||||
++ lib.optional dicomSupport dcmtk;
|
++ lib.optional dicomSupport dcmtk
|
||||||
|
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||||
|
apple-sdk_11
|
||||||
|
(darwinMinVersionHook "10.15")
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "FEBio Suite Solver";
|
description = "FEBio Suite Solver";
|
||||||
|
@ -1,23 +1,19 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
overrideSDK,
|
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
fetchpatch2,
|
fetchpatch2,
|
||||||
substituteAll,
|
substituteAll,
|
||||||
|
apple-sdk_11,
|
||||||
cmake,
|
cmake,
|
||||||
|
darwinMinVersionHook,
|
||||||
ninja,
|
ninja,
|
||||||
zlib,
|
zlib,
|
||||||
darwin,
|
|
||||||
mklSupport ? true,
|
mklSupport ? true,
|
||||||
mkl,
|
mkl,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
stdenv' = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv;
|
|
||||||
in
|
|
||||||
|
|
||||||
stdenv'.mkDerivation (finalAttrs: {
|
|
||||||
pname = "FEBio";
|
pname = "FEBio";
|
||||||
version = "4.7";
|
version = "4.7";
|
||||||
|
|
||||||
@ -57,9 +53,8 @@ stdenv'.mkDerivation (finalAttrs: {
|
|||||||
[ zlib ]
|
[ zlib ]
|
||||||
++ lib.optionals mklSupport [ mkl ]
|
++ lib.optionals mklSupport [ mkl ]
|
||||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||||
darwin.apple_sdk.frameworks.CoreGraphics
|
apple-sdk_11
|
||||||
darwin.apple_sdk.frameworks.CoreVideo
|
(darwinMinVersionHook "10.15")
|
||||||
darwin.apple_sdk.frameworks.Accelerate
|
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, fetchpatch
|
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, readline
|
, readline
|
||||||
@ -67,20 +66,13 @@ in
|
|||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gap";
|
pname = "gap";
|
||||||
# https://www.gap-system.org/Releases/
|
# https://www.gap-system.org/Releases/
|
||||||
version = "4.12.2";
|
version = "4.13.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/gap-system/gap/releases/download/v${version}/gap-${version}.tar.gz";
|
url = "https://github.com/gap-system/gap/releases/download/v${version}/gap-${version}.tar.gz";
|
||||||
sha256 = "sha256-ZyMIdF63iiIklO6N1nhu3VvDMUVvzGRWrAZL2yjVh6g=";
|
sha256 = "sha256-l5Tb26b7mY4KLQqoziH8iEitPT+cyZk7C44gvn4dvro=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/gap-system/gap/commit/c786e229413a44b7462196716b99ae9bb0071f4c.patch";
|
|
||||||
hash = "sha256-g3jrEMSavHAUKlHoPqWmOw49hWHU+29SA788Klnr0Uw=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
# remove all non-essential packages (which take up a lot of space)
|
# remove all non-essential packages (which take up a lot of space)
|
||||||
preConfigure = lib.optionalString (!keepAll) (removeNonWhitelistedPkgs packagesToKeep) + ''
|
preConfigure = lib.optionalString (!keepAll) (removeNonWhitelistedPkgs packagesToKeep) + ''
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
|
@ -7,13 +7,13 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "gh-dash";
|
pname = "gh-dash";
|
||||||
version = "4.7.1";
|
version = "4.7.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dlvhdr";
|
owner = "dlvhdr";
|
||||||
repo = "gh-dash";
|
repo = "gh-dash";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-q/p7WDbJU27+m/4HVQJ7zRo0r1A0FkV21gJqHJYHHBE=";
|
hash = "sha256-QDqGsVgY3Je1VgQVobDhNkVjrCyvMNEdghXc0ny+yyo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-lqmz+6Cr9U5IBoJ5OeSN6HKY/nKSAmszfvifzbxG7NE=";
|
vendorHash = "sha256-lqmz+6Cr9U5IBoJ5OeSN6HKY/nKSAmszfvifzbxG7NE=";
|
||||||
|
@ -53,13 +53,13 @@ let
|
|||||||
in
|
in
|
||||||
effectiveStdenv.mkDerivation (finalAttrs: {
|
effectiveStdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "koboldcpp";
|
pname = "koboldcpp";
|
||||||
version = "1.77";
|
version = "1.78";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "LostRuins";
|
owner = "LostRuins";
|
||||||
repo = "koboldcpp";
|
repo = "koboldcpp";
|
||||||
rev = "refs/tags/v${finalAttrs.version}";
|
rev = "refs/tags/v${finalAttrs.version}";
|
||||||
hash = "sha256-dyu//4LRjpdxkyA9M5yNDO0DA7inZZjH4pSkj6l2afk=";
|
hash = "sha256-6RvodNWO/IVGlKxC/zt0itYDzymhk+hEBpbmQ1jHigU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
@ -35,9 +35,8 @@
|
|||||||
pango,
|
pango,
|
||||||
sqlite,
|
sqlite,
|
||||||
udev,
|
udev,
|
||||||
wayland,
|
|
||||||
|
|
||||||
vulkan-loader,
|
vulkan-loader,
|
||||||
|
wayland,
|
||||||
|
|
||||||
versionCheckHook,
|
versionCheckHook,
|
||||||
}:
|
}:
|
||||||
@ -111,6 +110,7 @@ stdenv.mkDerivation rec {
|
|||||||
pango
|
pango
|
||||||
sqlite
|
sqlite
|
||||||
udev
|
udev
|
||||||
|
vulkan-loader
|
||||||
wayland
|
wayland
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -118,12 +118,6 @@ stdenv.mkDerivation rec {
|
|||||||
substituteInPlace src/sys_info_v2/gatherer.rs \
|
substituteInPlace src/sys_info_v2/gatherer.rs \
|
||||||
--replace-fail '"missioncenter-gatherer"' '"${placeholder "out"}/bin/missioncenter-gatherer"'
|
--replace-fail '"missioncenter-gatherer"' '"${placeholder "out"}/bin/missioncenter-gatherer"'
|
||||||
|
|
||||||
substituteInPlace $cargoDepsCopy/gl_loader-*/src/glad.c \
|
|
||||||
--replace-fail "libGL.so.1" "${libGL}/lib/libGL.so.1"
|
|
||||||
|
|
||||||
substituteInPlace $cargoDepsCopy/ash-*/src/entry.rs \
|
|
||||||
--replace-fail '"libvulkan.so.1"' '"${vulkan-loader}/lib/libvulkan.so.1"'
|
|
||||||
|
|
||||||
SRC_GATHERER=$NIX_BUILD_TOP/source/src/sys_info_v2/gatherer
|
SRC_GATHERER=$NIX_BUILD_TOP/source/src/sys_info_v2/gatherer
|
||||||
SRC_GATHERER_NVTOP=$SRC_GATHERER/3rdparty/nvtop
|
SRC_GATHERER_NVTOP=$SRC_GATHERER/3rdparty/nvtop
|
||||||
|
|
||||||
@ -151,12 +145,27 @@ stdenv.mkDerivation rec {
|
|||||||
versionCheckProgram = "${builtins.placeholder "out"}/bin/${meta.mainProgram}";
|
versionCheckProgram = "${builtins.placeholder "out"}/bin/${meta.mainProgram}";
|
||||||
doInstallCheck = true;
|
doInstallCheck = true;
|
||||||
|
|
||||||
|
env = {
|
||||||
|
# Make sure libGL and libvulkan can be found by dlopen()
|
||||||
|
RUSTFLAGS = toString (
|
||||||
|
map (flag: "-C link-arg=" + flag) [
|
||||||
|
"-Wl,--push-state,--no-as-needed"
|
||||||
|
"-lGL"
|
||||||
|
"-lvulkan"
|
||||||
|
"-Wl,--pop-state"
|
||||||
|
]
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Monitor your CPU, Memory, Disk, Network and GPU usage";
|
description = "Monitor your CPU, Memory, Disk, Network and GPU usage";
|
||||||
homepage = "https://gitlab.com/mission-center-devs/mission-center";
|
homepage = "https://gitlab.com/mission-center-devs/mission-center";
|
||||||
changelog = "https://gitlab.com/mission-center-devs/mission-center/-/releases/v${version}";
|
changelog = "https://gitlab.com/mission-center-devs/mission-center/-/releases/v${version}";
|
||||||
license = lib.licenses.gpl3Only;
|
license = lib.licenses.gpl3Only;
|
||||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
maintainers = with lib.maintainers; [
|
||||||
|
GaetanLepage
|
||||||
|
getchoo
|
||||||
|
];
|
||||||
platforms = lib.platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
mainProgram = "missioncenter";
|
mainProgram = "missioncenter";
|
||||||
};
|
};
|
||||||
|
47
pkgs/by-name/ni/nihstro/package.nix
Normal file
47
pkgs/by-name/ni/nihstro/package.nix
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenv,
|
||||||
|
boost,
|
||||||
|
cmake,
|
||||||
|
fetchFromGitHub,
|
||||||
|
ninja,
|
||||||
|
unstableGitUpdater,
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "nihstro";
|
||||||
|
version = "0-unstable-2024-05-05";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "neobrain";
|
||||||
|
repo = "nihstro";
|
||||||
|
rev = "f4d8659decbfe5d234f04134b5002b82dc515a44";
|
||||||
|
hash = "sha256-ZHgWyZFW7t2VTibH7WeuU8+I12bb95I9NcHI5s4U3VU=";
|
||||||
|
};
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
ninja
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [ boost ];
|
||||||
|
|
||||||
|
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = unstableGitUpdater {
|
||||||
|
hardcodeZeroVersion = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "3DS shader assembler and disassembler";
|
||||||
|
homepage = "https://github.com/neobrain/nihstro";
|
||||||
|
license = lib.licenses.bsd3;
|
||||||
|
maintainers = with lib.maintainers; [ getchoo ];
|
||||||
|
mainProgram = "nihstro-assemble";
|
||||||
|
platforms = lib.platforms.unix ++ lib.platforms.windows;
|
||||||
|
};
|
||||||
|
})
|
@ -10,13 +10,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "openasar";
|
pname = "openasar";
|
||||||
version = "0-unstable-2024-09-06";
|
version = "0-unstable-2024-11-13";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "GooseMod";
|
owner = "GooseMod";
|
||||||
repo = "OpenAsar";
|
repo = "OpenAsar";
|
||||||
rev = "f92ee8c3dc6b6ff9829f69a1339e0f82a877929c";
|
rev = "ef4470849624032a8eb7265eabd23158aa5a2356";
|
||||||
hash = "sha256-V2oZ0mQbX+DHDZfTj8sV4XS6r9NOmJYHvYOGK6X/+HU=";
|
hash = "sha256-U9wYKen5MfE/WTKL0SICN0v3DPMLqblMYQVAbkZnfjY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -40,11 +40,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "openmpi";
|
pname = "openmpi";
|
||||||
version = "5.0.5";
|
version = "5.0.6";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.open-mpi.org/software/ompi/v${lib.versions.majorMinor finalAttrs.version}/downloads/openmpi-${finalAttrs.version}.tar.bz2";
|
url = "https://www.open-mpi.org/software/ompi/v${lib.versions.majorMinor finalAttrs.version}/downloads/openmpi-${finalAttrs.version}.tar.bz2";
|
||||||
sha256 = "sha256-ZYjVfApL0pmiQQP04ZYFGynotV+9pJ4R1bPTIDCjJ3Y=";
|
sha256 = "sha256-vUGD/LxDR3wlR5m0Kd8abldsBC50otL4s31Tey/5gVc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -1,6 +1,11 @@
|
|||||||
{ lib, buildGoModule, fetchFromGitHub }:
|
{
|
||||||
|
lib,
|
||||||
buildGoModule rec {
|
buildGo122Module,
|
||||||
|
fetchFromGitHub,
|
||||||
|
}:
|
||||||
|
# breaks in go 1.23 with `invalid reference to runtime.aeskeysched`
|
||||||
|
# won't be fixed upstream since the repository is archived.
|
||||||
|
buildGo122Module rec {
|
||||||
pname = "phlare";
|
pname = "phlare";
|
||||||
version = "0.6.1";
|
version = "0.6.1";
|
||||||
|
|
||||||
@ -14,10 +19,13 @@ buildGoModule rec {
|
|||||||
proxyVendor = true;
|
proxyVendor = true;
|
||||||
vendorHash = "sha256-l7+iDT9GAP9BX+xKvnx57iVF8wCM1YyHwq6dD9PbTDI=";
|
vendorHash = "sha256-l7+iDT9GAP9BX+xKvnx57iVF8wCM1YyHwq6dD9PbTDI=";
|
||||||
|
|
||||||
ldflags = let
|
ldflags =
|
||||||
|
let
|
||||||
prefix = "github.com/grafana/phlare/pkg/util/build";
|
prefix = "github.com/grafana/phlare/pkg/util/build";
|
||||||
in [
|
in
|
||||||
"-s" "-w"
|
[
|
||||||
|
"-s"
|
||||||
|
"-w"
|
||||||
# https://github.com/grafana/phlare/blob/v0.6.1/Makefile#L32
|
# https://github.com/grafana/phlare/blob/v0.6.1/Makefile#L32
|
||||||
"-X ${prefix}.Version=${version}"
|
"-X ${prefix}.Version=${version}"
|
||||||
"-X ${prefix}.Branch=v${version}"
|
"-X ${prefix}.Branch=v${version}"
|
||||||
|
@ -18,13 +18,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "prrte";
|
pname = "prrte";
|
||||||
version = "3.0.6";
|
version = "3.0.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "openpmix";
|
owner = "openpmix";
|
||||||
repo = "prrte";
|
repo = "prrte";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-0JHtUpGFdPKmgUk0+MNxTfZIUDz/vY/CV+Mqbmv0JFw=";
|
hash = "sha256-Jw9/M2rpGTA19qssDaZV+9FYlIvz8wgL5oUDdWwidHI=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,28 +1,28 @@
|
|||||||
{ lib
|
{
|
||||||
, stdenv
|
lib,
|
||||||
, fetchFromGitHub
|
stdenv,
|
||||||
, alsa-lib
|
fetchFromGitHub,
|
||||||
, appstream
|
alsa-lib,
|
||||||
, appstream-glib
|
appstream,
|
||||||
, cargo
|
appstream-glib,
|
||||||
, cmake
|
cargo,
|
||||||
, desktop-file-utils
|
cmake,
|
||||||
, dos2unix
|
desktop-file-utils,
|
||||||
, glib
|
dos2unix,
|
||||||
, gst_all_1
|
glib,
|
||||||
, gtk4
|
gst_all_1,
|
||||||
, libadwaita
|
gtk4,
|
||||||
, libxml2
|
libadwaita,
|
||||||
, meson
|
libxml2,
|
||||||
, ninja
|
meson,
|
||||||
, pkg-config
|
ninja,
|
||||||
, poppler
|
pkg-config,
|
||||||
, python3
|
poppler,
|
||||||
, rustPlatform
|
python3,
|
||||||
, rustc
|
rustPlatform,
|
||||||
, shared-mime-info
|
rustc,
|
||||||
, wrapGAppsHook4
|
shared-mime-info,
|
||||||
, darwin
|
wrapGAppsHook4,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -67,7 +67,8 @@ stdenv.mkDerivation rec {
|
|||||||
(lib.mesonBool "cli" true)
|
(lib.mesonBool "cli" true)
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs =
|
||||||
|
[
|
||||||
appstream
|
appstream
|
||||||
glib
|
glib
|
||||||
gst_all_1.gstreamer
|
gst_all_1.gstreamer
|
||||||
@ -75,10 +76,9 @@ stdenv.mkDerivation rec {
|
|||||||
libadwaita
|
libadwaita
|
||||||
libxml2
|
libxml2
|
||||||
poppler
|
poppler
|
||||||
] ++ lib.optionals stdenv.hostPlatform.isLinux [
|
]
|
||||||
|
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||||
alsa-lib
|
alsa-lib
|
||||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
|
||||||
darwin.apple_sdk.frameworks.AudioUnit
|
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -86,14 +86,20 @@ stdenv.mkDerivation rec {
|
|||||||
patchShebangs build-aux
|
patchShebangs build-aux
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
env = lib.optionalAttrs stdenv.cc.isClang {
|
||||||
|
NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-function-pointer-types";
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/flxzt/rnote";
|
homepage = "https://github.com/flxzt/rnote";
|
||||||
changelog = "https://github.com/flxzt/rnote/releases/tag/${src.rev}";
|
changelog = "https://github.com/flxzt/rnote/releases/tag/${src.rev}";
|
||||||
description = "Simple drawing application to create handwritten notes";
|
description = "Simple drawing application to create handwritten notes";
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [ dotlambda gepbird yrd ];
|
maintainers = with maintainers; [
|
||||||
|
dotlambda
|
||||||
|
gepbird
|
||||||
|
yrd
|
||||||
|
];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
# compiler error since 2023-11-17
|
|
||||||
broken = stdenv.hostPlatform.isDarwin;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
diff --git a/src/sage_docbuild/builders.py b/src/sage_docbuild/builders.py
|
diff --git a/src/sage_docbuild/builders.py b/src/sage_docbuild/builders.py
|
||||||
index 871cc4705a2..4b718136b91 100644
|
index ab39d93c280..e6501c083d5 100644
|
||||||
--- a/src/sage_docbuild/builders.py
|
--- a/src/sage_docbuild/builders.py
|
||||||
+++ b/src/sage_docbuild/builders.py
|
+++ b/src/sage_docbuild/builders.py
|
||||||
@@ -106,31 +106,6 @@ def builder_helper(type):
|
@@ -106,31 +106,6 @@ def builder_helper(type):
|
||||||
@ -48,13 +48,13 @@ index 871cc4705a2..4b718136b91 100644
|
|||||||
if build_options.ABORT_ON_ERROR:
|
if build_options.ABORT_ON_ERROR:
|
||||||
raise
|
raise
|
||||||
diff --git a/src/sage_docbuild/sphinxbuild.py b/src/sage_docbuild/sphinxbuild.py
|
diff --git a/src/sage_docbuild/sphinxbuild.py b/src/sage_docbuild/sphinxbuild.py
|
||||||
index 5621fe9e456..b1b91ce7b2c 100644
|
index 62b2d3cb112..aa7dc07741b 100644
|
||||||
--- a/src/sage_docbuild/sphinxbuild.py
|
--- a/src/sage_docbuild/sphinxbuild.py
|
||||||
+++ b/src/sage_docbuild/sphinxbuild.py
|
+++ b/src/sage_docbuild/sphinxbuild.py
|
||||||
@@ -323,3 +323,8 @@ def runsphinx():
|
@@ -331,3 +331,8 @@ def runsphinx():
|
||||||
sys.stderr = saved_stderr
|
|
||||||
sys.stdout.flush()
|
if not sys.warnoptions:
|
||||||
sys.stderr.flush()
|
warnings.filters = original_filters[:]
|
||||||
+
|
+
|
||||||
+if __name__ == '__main__':
|
+if __name__ == '__main__':
|
||||||
+ import sys
|
+ import sys
|
||||||
|
@ -11,14 +11,14 @@
|
|||||||
# all get the same sources with the same patches applied.
|
# all get the same sources with the same patches applied.
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "10.4";
|
version = "10.5.rc0";
|
||||||
pname = "sage-src";
|
pname = "sage-src";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sagemath";
|
owner = "sagemath";
|
||||||
repo = "sage";
|
repo = "sage";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-BDO00ZSm5lnjEuA56VsY/FZyAhoG1hkFxdIlTtBZVBA=";
|
hash = "sha256-qjgEgyPOpT/g7D8YNhkqO1EHGNftZnuR5ucLNZBa9Sg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# contains essential files (e.g., setup.cfg) generated by the bootstrap script.
|
# contains essential files (e.g., setup.cfg) generated by the bootstrap script.
|
||||||
@ -26,8 +26,8 @@ stdenv.mkDerivation rec {
|
|||||||
configure-src = fetchurl {
|
configure-src = fetchurl {
|
||||||
# the hash below is the tagged commit's _parent_. it can also be found by looking for
|
# the hash below is the tagged commit's _parent_. it can also be found by looking for
|
||||||
# the "configure" asset at https://github.com/sagemath/sage/releases/tag/${version}
|
# the "configure" asset at https://github.com/sagemath/sage/releases/tag/${version}
|
||||||
url = "mirror://sageupstream/configure/configure-3c279ec5712e0fa35c5733e03e010970727d7189.tar.gz";
|
url = "mirror://sageupstream/configure/configure-d9c38a7c581e6ed54fbe420122b8bba488b16074.tar.gz";
|
||||||
hash = "sha256-3bRlgIUSIq9tDzvI+ZfEd5LMy1qHXdItEwu1say4cx4=";
|
hash = "sha256-y1EpsuYK9wloptjeiTew+TZaIUZ2K/NKCbSteojFa4s=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Patches needed because of particularities of nix or the way this is packaged.
|
# Patches needed because of particularities of nix or the way this is packaged.
|
||||||
@ -54,20 +54,6 @@ stdenv.mkDerivation rec {
|
|||||||
# fix those bugs themselves. This is for critical bugfixes, where "critical"
|
# fix those bugs themselves. This is for critical bugfixes, where "critical"
|
||||||
# == "causes (transient) doctest failures / somebody complained".
|
# == "causes (transient) doctest failures / somebody complained".
|
||||||
bugfixPatches = [
|
bugfixPatches = [
|
||||||
# https://github.com/sagemath/sage/pull/38628, landed in 10.5.beta4
|
|
||||||
(fetchpatch {
|
|
||||||
name = "pari-stack-cysignals-exception.patch";
|
|
||||||
url = "https://github.com/sagemath/sage/commit/4a9c985b769b1209902c970ade1892f18ab48c10.diff";
|
|
||||||
hash = "sha256-S6NdonB7needJlQdx52Huk34Q8/vG3nyGicA5JpsdWc=";
|
|
||||||
})
|
|
||||||
|
|
||||||
# https://github.com/sagemath/sage/pull/38851, landed in 10.5.beta8
|
|
||||||
(fetchpatch {
|
|
||||||
name = "glpk-aarch64-hang-workaround.patch";
|
|
||||||
url = "https://github.com/sagemath/sage/commit/ce4a78dcb4178f85273619cea076c97345977ee1.diff";
|
|
||||||
hash = "sha256-TibTx5llkXjkEZB/MDy4hfGwKBmwtitEpWP6K/ykke0=";
|
|
||||||
})
|
|
||||||
|
|
||||||
# compile libs/gap/element.pyx with -O1
|
# compile libs/gap/element.pyx with -O1
|
||||||
# a more conservative version of https://github.com/sagemath/sage/pull/37951
|
# a more conservative version of https://github.com/sagemath/sage/pull/37951
|
||||||
./patches/gap-element-crash.patch
|
./patches/gap-element-crash.patch
|
||||||
@ -80,26 +66,6 @@ stdenv.mkDerivation rec {
|
|||||||
# should come from or be proposed to upstream. This list will probably never
|
# should come from or be proposed to upstream. This list will probably never
|
||||||
# be empty since dependencies update all the time.
|
# be empty since dependencies update all the time.
|
||||||
packageUpgradePatches = [
|
packageUpgradePatches = [
|
||||||
# https://github.com/sagemath/sage/pull/38500, landed in 10.5.beta3
|
|
||||||
(fetchpatch {
|
|
||||||
name = "cython-3.0.11-upgrade.patch";
|
|
||||||
url = "https://patch-diff.githubusercontent.com/raw/sagemath/sage/pull/38500.diff";
|
|
||||||
hash = "sha256-ePfH3Gy1T0UfpoVd3EZowCfy88CbE+yE2MV2itWthsA=";
|
|
||||||
})
|
|
||||||
|
|
||||||
# https://github.com/sagemath/sage/pull/36641, landed in 10.5.beta3
|
|
||||||
(fetchpatch {
|
|
||||||
name = "sympy-1.13.2-update.patch";
|
|
||||||
url = "https://github.com/sagemath/sage/commit/100189fa62f9a40e7aa0d856615366ea99b87aff.diff";
|
|
||||||
sha256 = "sha256-uWr3I15WByQYGVxbJFqG4zUJ7c7+4rjkcgwkAT85O7w=";
|
|
||||||
})
|
|
||||||
|
|
||||||
# https://github.com/sagemath/sage/pull/38250, landed in 10.5.beta0
|
|
||||||
(fetchpatch {
|
|
||||||
name = "numpy-2.0-compat.patch";
|
|
||||||
url = "https://github.com/sagemath/sage/commit/0962e0bcb159d342e7c7d83557a71e7b670fff47.diff";
|
|
||||||
sha256 = "sha256-4SBhgPgT9VsBxcBH8+T5uYtWzYP5tZi9+iKOG55hWgI=";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = nixPatches ++ bugfixPatches ++ packageUpgradePatches;
|
patches = nixPatches ++ bugfixPatches ++ packageUpgradePatches;
|
||||||
|
@ -1,39 +1,50 @@
|
|||||||
{ lib
|
{
|
||||||
, rustPlatform
|
lib,
|
||||||
, fetchFromGitHub
|
rustPlatform,
|
||||||
, pkg-config
|
fetchFromGitHub,
|
||||||
, openssl
|
pkg-config,
|
||||||
, cmake
|
openssl,
|
||||||
# deps for audio backends
|
cmake,
|
||||||
, alsa-lib
|
# deps for audio backends
|
||||||
, libpulseaudio
|
alsa-lib,
|
||||||
, portaudio
|
libpulseaudio,
|
||||||
, libjack2
|
portaudio,
|
||||||
, SDL2
|
libjack2,
|
||||||
, gst_all_1
|
SDL2,
|
||||||
, dbus
|
gst_all_1,
|
||||||
, fontconfig
|
dbus,
|
||||||
, libsixel
|
fontconfig,
|
||||||
|
libsixel,
|
||||||
|
apple-sdk_11,
|
||||||
|
|
||||||
# build options
|
# build options
|
||||||
, withStreaming ? true
|
withStreaming ? true,
|
||||||
, withDaemon ? true
|
withDaemon ? true,
|
||||||
, withAudioBackend ? "rodio" # alsa, pulseaudio, rodio, portaudio, jackaudio, rodiojack, sdl
|
withAudioBackend ? "rodio", # alsa, pulseaudio, rodio, portaudio, jackaudio, rodiojack, sdl
|
||||||
, withMediaControl ? true
|
withMediaControl ? true,
|
||||||
, withLyrics ? true
|
withLyrics ? true,
|
||||||
, withImage ? true
|
withImage ? true,
|
||||||
, withNotify ? true
|
withNotify ? true,
|
||||||
, withSixel ? true
|
withSixel ? true,
|
||||||
, withFuzzy ? true
|
withFuzzy ? true,
|
||||||
, stdenv
|
stdenv,
|
||||||
, darwin
|
makeBinaryWrapper,
|
||||||
, makeBinaryWrapper
|
|
||||||
|
|
||||||
# passthru
|
# passthru
|
||||||
, nix-update-script
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert lib.assertOneOf "withAudioBackend" withAudioBackend [ "" "alsa" "pulseaudio" "rodio" "portaudio" "jackaudio" "rodiojack" "sdl" "gstreamer" ];
|
assert lib.assertOneOf "withAudioBackend" withAudioBackend [
|
||||||
|
""
|
||||||
|
"alsa"
|
||||||
|
"pulseaudio"
|
||||||
|
"rodio"
|
||||||
|
"portaudio"
|
||||||
|
"jackaudio"
|
||||||
|
"rodiojack"
|
||||||
|
"sdl"
|
||||||
|
"gstreamer"
|
||||||
|
];
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "spotify-player";
|
pname = "spotify-player";
|
||||||
@ -48,38 +59,47 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
cargoHash = "sha256-VlJ8Bz4EY2rERyOn6ifC7JAL5Mvjt0ZOzlPBOwiH6WA=";
|
cargoHash = "sha256-VlJ8Bz4EY2rERyOn6ifC7JAL5Mvjt0ZOzlPBOwiH6WA=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs =
|
||||||
|
[
|
||||||
pkg-config
|
pkg-config
|
||||||
cmake
|
cmake
|
||||||
rustPlatform.bindgenHook
|
rustPlatform.bindgenHook
|
||||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
]
|
||||||
|
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||||
makeBinaryWrapper
|
makeBinaryWrapper
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs =
|
||||||
|
[
|
||||||
openssl
|
openssl
|
||||||
dbus
|
dbus
|
||||||
fontconfig
|
fontconfig
|
||||||
]
|
]
|
||||||
|
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||||
|
apple-sdk_11 # can be removed once x86_64-darwin defaults to a newer SDK
|
||||||
|
]
|
||||||
++ lib.optionals withSixel [ libsixel ]
|
++ lib.optionals withSixel [ libsixel ]
|
||||||
++ lib.optionals (withAudioBackend == "alsa") [ alsa-lib ]
|
++ lib.optionals (withAudioBackend == "alsa") [ alsa-lib ]
|
||||||
++ lib.optionals (withAudioBackend == "pulseaudio") [ libpulseaudio ]
|
++ lib.optionals (withAudioBackend == "pulseaudio") [ libpulseaudio ]
|
||||||
++ lib.optionals (withAudioBackend == "rodio" && stdenv.hostPlatform.isLinux) [ alsa-lib ]
|
++ lib.optionals (withAudioBackend == "rodio" && stdenv.hostPlatform.isLinux) [ alsa-lib ]
|
||||||
++ lib.optionals (withAudioBackend == "portaudio") [ portaudio ]
|
++ lib.optionals (withAudioBackend == "portaudio") [ portaudio ]
|
||||||
++ lib.optionals (withAudioBackend == "jackaudio") [ libjack2 ]
|
++ lib.optionals (withAudioBackend == "jackaudio") [ libjack2 ]
|
||||||
++ lib.optionals (withAudioBackend == "rodiojack") [ alsa-lib libjack2 ]
|
++ lib.optionals (withAudioBackend == "rodiojack") [
|
||||||
|
alsa-lib
|
||||||
|
libjack2
|
||||||
|
]
|
||||||
++ lib.optionals (withAudioBackend == "sdl") [ SDL2 ]
|
++ lib.optionals (withAudioBackend == "sdl") [ SDL2 ]
|
||||||
++ lib.optionals (withAudioBackend == "gstreamer") [ gst_all_1.gstreamer gst_all_1.gst-devtools gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good ]
|
++ lib.optionals (withAudioBackend == "gstreamer") [
|
||||||
++ lib.optionals (stdenv.hostPlatform.isDarwin && withMediaControl) [ darwin.apple_sdk.frameworks.MediaPlayer ]
|
gst_all_1.gstreamer
|
||||||
++ lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [
|
gst_all_1.gst-devtools
|
||||||
AppKit
|
gst_all_1.gst-plugins-base
|
||||||
AudioUnit
|
gst_all_1.gst-plugins-good
|
||||||
Cocoa
|
];
|
||||||
]);
|
|
||||||
|
|
||||||
buildNoDefaultFeatures = true;
|
buildNoDefaultFeatures = true;
|
||||||
|
|
||||||
buildFeatures = [ ]
|
buildFeatures =
|
||||||
|
[ ]
|
||||||
++ lib.optionals (withAudioBackend != "") [ "${withAudioBackend}-backend" ]
|
++ lib.optionals (withAudioBackend != "") [ "${withAudioBackend}-backend" ]
|
||||||
++ lib.optionals withMediaControl [ "media-control" ]
|
++ lib.optionals withMediaControl [ "media-control" ]
|
||||||
++ lib.optionals withImage [ "image" ]
|
++ lib.optionals withImage [ "image" ]
|
||||||
@ -93,7 +113,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
# sixel-sys is dynamically linked to libsixel
|
# sixel-sys is dynamically linked to libsixel
|
||||||
postInstall = lib.optionals (stdenv.hostPlatform.isDarwin && withSixel) ''
|
postInstall = lib.optionals (stdenv.hostPlatform.isDarwin && withSixel) ''
|
||||||
wrapProgram $out/bin/spotify_player \
|
wrapProgram $out/bin/spotify_player \
|
||||||
--prefix DYLD_LIBRARY_PATH : "${lib.makeLibraryPath [libsixel]}"
|
--prefix DYLD_LIBRARY_PATH : "${lib.makeLibraryPath [ libsixel ]}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
@ -106,6 +126,11 @@ rustPlatform.buildRustPackage rec {
|
|||||||
changelog = "https://github.com/aome510/spotify-player/releases/tag/v${version}";
|
changelog = "https://github.com/aome510/spotify-player/releases/tag/v${version}";
|
||||||
mainProgram = "spotify_player";
|
mainProgram = "spotify_player";
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = with lib.maintainers; [ dit7ya xyven1 _71zenith caperren ];
|
maintainers = with lib.maintainers; [
|
||||||
|
dit7ya
|
||||||
|
xyven1
|
||||||
|
_71zenith
|
||||||
|
caperren
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
withMpris ? stdenv.hostPlatform.isLinux,
|
withMpris ? stdenv.hostPlatform.isLinux,
|
||||||
withKeyring ? true,
|
withKeyring ? true,
|
||||||
dbus,
|
dbus,
|
||||||
|
withPipe ? true,
|
||||||
nix-update-script,
|
nix-update-script,
|
||||||
testers,
|
testers,
|
||||||
spotifyd,
|
spotifyd,
|
||||||
@ -24,16 +25,16 @@
|
|||||||
|
|
||||||
rustPackages.rustPlatform.buildRustPackage rec {
|
rustPackages.rustPlatform.buildRustPackage rec {
|
||||||
pname = "spotifyd";
|
pname = "spotifyd";
|
||||||
version = "0.3.5-unstable-2024-09-05";
|
version = "0.3.5-unstable-2024-10-21";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Spotifyd";
|
owner = "Spotifyd";
|
||||||
repo = "spotifyd";
|
repo = "spotifyd";
|
||||||
rev = "e280d84124d854af3c2f9509ba496b1c2ba6a1ae";
|
rev = "b25538f5c4dfc5b376927e7edf71c7c988492ace";
|
||||||
hash = "sha256-RFfM/5DY7IG0E79zc8IuXpSNAIjloMWI3ZVbyLxh4O8=";
|
hash = "sha256-50eUVax3yqwncQUWgCPc0PHVUuUERQ9iORSSajPHB9c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-z3zcQD2v71FZg6nEvKfaMiQU/aRAPFNt69b9Rm+jpuY=";
|
cargoHash = "sha256-3aEBLPyf72o9gF58j9OANpcqD/IClb2alfAEKRFzatU=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
@ -54,6 +55,7 @@ rustPackages.rustPlatform.buildRustPackage rec {
|
|||||||
++ lib.optional withPulseAudio "pulseaudio_backend"
|
++ lib.optional withPulseAudio "pulseaudio_backend"
|
||||||
++ lib.optional withPortAudio "portaudio_backend"
|
++ lib.optional withPortAudio "portaudio_backend"
|
||||||
++ lib.optional withMpris "dbus_mpris"
|
++ lib.optional withMpris "dbus_mpris"
|
||||||
|
++ lib.optional withPipe "pipe_backend"
|
||||||
++ lib.optional withKeyring "dbus_keyring";
|
++ lib.optional withKeyring "dbus_keyring";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
@ -11,13 +11,13 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "trivy";
|
pname = "trivy";
|
||||||
version = "0.57.0";
|
version = "0.57.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "aquasecurity";
|
owner = "aquasecurity";
|
||||||
repo = "trivy";
|
repo = "trivy";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-al8hxVNyDoGQaoqa0fmA7Bn7M1twwlS4I5+XZnETXyc=";
|
hash = "sha256-ivxMH/oyLBGIDNraSAPFcD78S1AJ5O8OvLb2UYwZnAc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Hash mismatch on across Linux and Darwin
|
# Hash mismatch on across Linux and Darwin
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "vvenc";
|
pname = "vvenc";
|
||||||
version = "1.12.0";
|
version = "1.12.1";
|
||||||
|
|
||||||
outputs = [
|
outputs = [
|
||||||
"out"
|
"out"
|
||||||
@ -21,9 +21,16 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
owner = "fraunhoferhhi";
|
owner = "fraunhoferhhi";
|
||||||
repo = "vvenc";
|
repo = "vvenc";
|
||||||
rev = "v${finalAttrs.version}";
|
rev = "v${finalAttrs.version}";
|
||||||
hash = "sha256-C7ApayhubunkXBqJ/EqntaFPn6zk8rZ9fUqg7kbhvAk=";
|
hash = "sha256-Et/JmF/2hh6A1EsOzvgzruMN47rd5cPgRke3uPvz298=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
env.NIX_CFLAGS_COMPILE = toString (
|
||||||
|
lib.optionals stdenv.cc.isGNU [
|
||||||
|
"-Wno-maybe-uninitialized"
|
||||||
|
"-Wno-uninitialized"
|
||||||
|
]
|
||||||
|
);
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
stdenv,
|
stdenv,
|
||||||
lib,
|
lib,
|
||||||
fetchFromGitLab,
|
fetchFromGitLab,
|
||||||
fetchpatch,
|
|
||||||
gitUpdater,
|
gitUpdater,
|
||||||
nixosTests,
|
nixosTests,
|
||||||
cmake,
|
cmake,
|
||||||
@ -27,72 +26,15 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "lomiri-clock-app";
|
pname = "lomiri-clock-app";
|
||||||
version = "4.0.4";
|
version = "4.1.0";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
owner = "ubports";
|
owner = "ubports";
|
||||||
repo = "development/apps/lomiri-clock-app";
|
repo = "development/apps/lomiri-clock-app";
|
||||||
rev = "v${finalAttrs.version}";
|
rev = "v${finalAttrs.version}";
|
||||||
hash = "sha256-IWNLMYrebYQe5otNwZtRUs4YGPo/5OFic3Nh2pWxROs=";
|
hash = "sha256-bYnAdlpY2Ka08hrJOyqW8+VbCTOi0NNrW+8MHLF7+2E=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Fix GNUInstallDirs variables usage
|
|
||||||
# Remove when version > 4.0.4
|
|
||||||
(fetchpatch {
|
|
||||||
name = "0002-lomiri-clock-app-Fix-GNUInstallDirs-variable-concatenations-in-CMake.patch";
|
|
||||||
url = "https://gitlab.com/ubports/development/apps/lomiri-clock-app/-/commit/33c62d0382f69462de0567628d7a6ef162944e12.patch";
|
|
||||||
hash = "sha256-JEoRjc6RugtznNtgJsXz9wnAL/7fkoog40EVl7uu2pc=";
|
|
||||||
})
|
|
||||||
|
|
||||||
# Fix installation of splash icon
|
|
||||||
# Remove when version > 4.0.4
|
|
||||||
(fetchpatch {
|
|
||||||
name = "0003-lomiri-clock-app-Fix-splash-file-installation-in-non-clock-mode.patch";
|
|
||||||
url = "https://gitlab.com/ubports/development/apps/lomiri-clock-app/-/commit/97fd6fd91ee787dfe107bd36bc895f2ff234b5e3.patch";
|
|
||||||
hash = "sha256-g9eR6yYgKFDohuZMs1Ub0TwPM2AWbwWLDvZMrT4gMls=";
|
|
||||||
})
|
|
||||||
|
|
||||||
# Port from qmlscene to dedicated C++ entry, and apply abunch of fixes that this move enables
|
|
||||||
# Remove when https://gitlab.com/ubports/development/apps/lomiri-clock-app/-/merge_requests/217 merged & in release
|
|
||||||
(fetchpatch {
|
|
||||||
name = "0004-lomiri-clock-app-Migrate-to-C++-app.patch";
|
|
||||||
url = "https://gitlab.com/ubports/development/apps/lomiri-clock-app/-/commit/c690d65baf2d28f99364dec2244f8d4ebdb09178.patch";
|
|
||||||
hash = "sha256-JCQFlHFAXbgiSGNtEsq/khblhAD/3BdE68Qctn7j5T0=";
|
|
||||||
})
|
|
||||||
(fetchpatch {
|
|
||||||
name = "0005-lomiri-clock-app-Call-i18n.bindtextdomain-and-fix-app-icon-load.patch";
|
|
||||||
url = "https://gitlab.com/ubports/development/apps/lomiri-clock-app/-/commit/0619730ca639228b1c0a3403082a6a13e2fe3ff3.patch";
|
|
||||||
hash = "sha256-NQQYvJ141fU2iQ+xzYoNkuuzvqQg1BGZNGq24u8i1is=";
|
|
||||||
})
|
|
||||||
(fetchpatch {
|
|
||||||
name = "0006-lomiri-clock-app-Pass-through-project-version.patch";
|
|
||||||
url = "https://gitlab.com/ubports/development/apps/lomiri-clock-app/-/commit/ae1467fe44813eef2fc6cc4b9d6ddc02edee7640.patch";
|
|
||||||
hash = "sha256-E6yk5H+YVH4oSg6AIAJ+Rynu0HFkNomX7sTjM/x37PU=";
|
|
||||||
})
|
|
||||||
(fetchpatch {
|
|
||||||
name = "0007-lomiri-clock-app-Fix-tests-after-module-changes.patch";
|
|
||||||
url = "https://gitlab.com/ubports/development/apps/lomiri-clock-app/-/commit/40cbd7847c4a850184e553ac5b8981672b7deed0.patch";
|
|
||||||
hash = "sha256-AA4KRYZNBQ0/Nk65kyzzDFhs/zWO7fb5f2Toy1diPBg=";
|
|
||||||
})
|
|
||||||
|
|
||||||
# Don't ignore PATH when looking for qmltestrunner, saves us a patch for hardcoded fallback
|
|
||||||
# Remove when version > 4.0.4
|
|
||||||
(fetchpatch {
|
|
||||||
name = "0008-lomiri-clock-app-tests-Drop-NO_DEFAULT_PATH.patch";
|
|
||||||
url = "https://gitlab.com/ubports/development/apps/lomiri-clock-app/-/commit/190ef47e2efaaf139920d0556e0522f95479ea95.patch";
|
|
||||||
hash = "sha256-jy4E+VfVyRu99eGqbhlYi/xjDgPajozHPSlqEcGVOA4=";
|
|
||||||
})
|
|
||||||
|
|
||||||
# Make tests honour BUILD_TESTING
|
|
||||||
# Remove when https://gitlab.com/ubports/development/apps/lomiri-clock-app/-/merge_requests/219 merged & in release
|
|
||||||
(fetchpatch {
|
|
||||||
name = "0009-lomiri-clock-app-tests-Honour-BUILD_TESTING.patch";
|
|
||||||
url = "https://gitlab.com/ubports/development/apps/lomiri-clock-app/-/commit/b0ca583238f011e23a99286a1d2b61f2dcd85303.patch";
|
|
||||||
hash = "sha256-TyM5Y8BRAqinvZiZ5TEXd5caVesFluPi6iGmTS1wRlI=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# QT_IMPORTS_DIR returned by qmake -query is broken
|
# QT_IMPORTS_DIR returned by qmake -query is broken
|
||||||
substituteInPlace CMakeLists.txt \
|
substituteInPlace CMakeLists.txt \
|
||||||
|
@ -1,21 +1,22 @@
|
|||||||
{ stdenvNoCC
|
{
|
||||||
, lib
|
stdenvNoCC,
|
||||||
, fetchFromGitLab
|
lib,
|
||||||
, gitUpdater
|
fetchFromGitLab,
|
||||||
, gtk3
|
gitUpdater,
|
||||||
, hicolor-icon-theme
|
gtk3,
|
||||||
, ubuntu-themes
|
hicolor-icon-theme,
|
||||||
|
ubuntu-themes,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
pname = "suru-icon-theme";
|
pname = "suru-icon-theme";
|
||||||
version = "2024.02.1";
|
version = "2024.10.13";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
owner = "ubports";
|
owner = "ubports";
|
||||||
repo = "development/core/suru-icon-theme";
|
repo = "development/core/suru-icon-theme";
|
||||||
rev = finalAttrs.version;
|
rev = finalAttrs.version;
|
||||||
hash = "sha256-7T9FILhZrs5bbdBEV/FszCOwUd/C1Rl9tbDt77SIzRk=";
|
hash = "sha256-rbhfcjca0vMBa0tJWGpXMRGGygZH1hmdQv/nLJWPS7s=";
|
||||||
};
|
};
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
@ -25,9 +26,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
|||||||
hicolor-icon-theme # theme setup hook
|
hicolor-icon-theme # theme setup hook
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [ ubuntu-themes ];
|
||||||
ubuntu-themes
|
|
||||||
];
|
|
||||||
|
|
||||||
dontConfigure = true;
|
dontConfigure = true;
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
@ -47,12 +46,12 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
passthru.updateScript = gitUpdater { };
|
passthru.updateScript = gitUpdater { };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Suru Icon Theme for Lomiri Operating Environment";
|
description = "Suru Icon Theme for Lomiri Operating Environment";
|
||||||
homepage = "https://gitlab.com/ubports/development/core/suru-icon-theme";
|
homepage = "https://gitlab.com/ubports/development/core/suru-icon-theme";
|
||||||
changelog = "https://gitlab.com/ubports/development/core/suru-icon-theme/-/blob/${finalAttrs.version}/ChangeLog";
|
changelog = "https://gitlab.com/ubports/development/core/suru-icon-theme/-/blob/${finalAttrs.version}/ChangeLog";
|
||||||
license = licenses.cc-by-sa-30;
|
license = lib.licenses.cc-by-sa-30;
|
||||||
maintainers = teams.lomiri.members;
|
maintainers = lib.teams.lomiri.members;
|
||||||
platforms = platforms.all;
|
platforms = lib.platforms.all;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
@ -58,8 +58,8 @@ let
|
|||||||
biometryd = callPackage ./services/biometryd { };
|
biometryd = callPackage ./services/biometryd { };
|
||||||
lomiri-content-hub = callPackage ./services/lomiri-content-hub { };
|
lomiri-content-hub = callPackage ./services/lomiri-content-hub { };
|
||||||
hfd-service = callPackage ./services/hfd-service { };
|
hfd-service = callPackage ./services/hfd-service { };
|
||||||
history-service = callPackage ./services/history-service { };
|
|
||||||
lomiri-download-manager = callPackage ./services/lomiri-download-manager { };
|
lomiri-download-manager = callPackage ./services/lomiri-download-manager { };
|
||||||
|
lomiri-history-service = callPackage ./services/lomiri-history-service { };
|
||||||
lomiri-indicator-network = callPackage ./services/lomiri-indicator-network { };
|
lomiri-indicator-network = callPackage ./services/lomiri-indicator-network { };
|
||||||
lomiri-polkit-agent = callPackage ./services/lomiri-polkit-agent { };
|
lomiri-polkit-agent = callPackage ./services/lomiri-polkit-agent { };
|
||||||
lomiri-thumbnailer = callPackage ./services/lomiri-thumbnailer { };
|
lomiri-thumbnailer = callPackage ./services/lomiri-thumbnailer { };
|
||||||
@ -71,5 +71,6 @@ in
|
|||||||
lib.makeScope libsForQt5.newScope packages
|
lib.makeScope libsForQt5.newScope packages
|
||||||
// lib.optionalAttrs config.allowAliases {
|
// lib.optionalAttrs config.allowAliases {
|
||||||
content-hub = lib.warn "`content-hub` was renamed to `lomiri-content-hub`." pkgs.lomiri.lomiri-content-hub; # Added on 2024-09-11
|
content-hub = lib.warn "`content-hub` was renamed to `lomiri-content-hub`." pkgs.lomiri.lomiri-content-hub; # Added on 2024-09-11
|
||||||
|
history-service = lib.warn "`history-service` was renamed to `lomiri-history-service`." pkgs.lomiri.lomiri-history-service; # Added on 2024-11-11
|
||||||
lomiri-system-settings-security-privacy = lib.warn "`lomiri-system-settings-security-privacy` upstream was merged into `lomiri-system-settings`. Please use `pkgs.lomiri.lomiri-system-settings-unwrapped` if you need to directly access the plugins that belonged to this project." pkgs.lomiri.lomiri-system-settings-unwrapped; # Added on 2024-08-08
|
lomiri-system-settings-security-privacy = lib.warn "`lomiri-system-settings-security-privacy` upstream was merged into `lomiri-system-settings`. Please use `pkgs.lomiri.lomiri-system-settings-unwrapped` if you need to directly access the plugins that belonged to this project." pkgs.lomiri.lomiri-system-settings-unwrapped; # Added on 2024-08-08
|
||||||
}
|
}
|
||||||
|
@ -1,199 +0,0 @@
|
|||||||
{ stdenv
|
|
||||||
, lib
|
|
||||||
, fetchFromGitLab
|
|
||||||
, fetchpatch
|
|
||||||
, gitUpdater
|
|
||||||
, testers
|
|
||||||
, cmake
|
|
||||||
, dbus
|
|
||||||
, dbus-test-runner
|
|
||||||
, dconf
|
|
||||||
, gnome-keyring
|
|
||||||
, libphonenumber
|
|
||||||
, libqtdbustest
|
|
||||||
, pkg-config
|
|
||||||
, protobuf
|
|
||||||
, qtbase
|
|
||||||
, qtdeclarative
|
|
||||||
, qtpim
|
|
||||||
, sqlite
|
|
||||||
, telepathy
|
|
||||||
, telepathy-mission-control
|
|
||||||
, validatePkgConfig
|
|
||||||
, wrapQtAppsHook
|
|
||||||
, xvfb-run
|
|
||||||
}:
|
|
||||||
|
|
||||||
let
|
|
||||||
replaceDbusService = pkg: name: "--replace \"\\\${DBUS_SERVICES_DIR}/${name}\" \"${pkg}/share/dbus-1/services/${name}\"";
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
|
||||||
pname = "history-service";
|
|
||||||
version = "0.5";
|
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
|
||||||
owner = "ubports";
|
|
||||||
repo = "development/core/history-service";
|
|
||||||
rev = finalAttrs.version;
|
|
||||||
hash = "sha256-m/ytJoHxW0q1vlVKK6Z9ovHzjoiS1AodCSGHTeKygfQ=";
|
|
||||||
};
|
|
||||||
|
|
||||||
outputs = [
|
|
||||||
"out"
|
|
||||||
"dev"
|
|
||||||
];
|
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Drop deprecated qt5_use_modules usage
|
|
||||||
# Remove when https://gitlab.com/ubports/development/core/history-service/-/merge_requests/36 merged & in release
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://gitlab.com/ubports/development/core/history-service/-/commit/b36ab377aca93555b29d1471d6eaa706b5c843ca.patch";
|
|
||||||
hash = "sha256-mOpXqqd4JI7lHtcWDm9LGCrtB8ERge04jMpHIagDM2k=";
|
|
||||||
})
|
|
||||||
|
|
||||||
# Add more / correct existing GNUInstallDirs usage
|
|
||||||
# Remove when https://gitlab.com/ubports/development/core/history-service/-/merge_requests/37 merged & in release
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://gitlab.com/ubports/development/core/history-service/-/commit/bb4dbdd16e80dcd286d8edfb86b08f0b61bc7fec.patch";
|
|
||||||
hash = "sha256-C/XaygI663yaU06klQD9g0NnbqYxHSmzdbrRxcfiJkk=";
|
|
||||||
})
|
|
||||||
|
|
||||||
# Correct version information
|
|
||||||
# Remove when https://gitlab.com/ubports/development/core/history-service/-/merge_requests/38 merged & in release
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://gitlab.com/ubports/development/core/history-service/-/commit/98458126f9f494b124134fb35c198af0545f6a98.patch";
|
|
||||||
hash = "sha256-4EfLsaueKTCovl8EilN30cmfNfg19wvyCsbKqOrXtuw=";
|
|
||||||
})
|
|
||||||
|
|
||||||
# Make tests optional
|
|
||||||
# Remove when https://gitlab.com/ubports/development/core/history-service/-/merge_requests/39 merged & in release
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://gitlab.com/ubports/development/core/history-service/-/commit/cb5c80cffc35611657244e15a7eb10edcd598ccd.patch";
|
|
||||||
hash = "sha256-MFHGu4OMScdThq9htUgFMpezP7Ym6YTIZUHWol20wqw=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
# Upstream's way of generating their schema doesn't work for us, don't quite understand why.
|
|
||||||
# (gdb) bt
|
|
||||||
# #0 QSQLiteResult::prepare (this=0x4a4650, query=...) at qsql_sqlite.cpp:406
|
|
||||||
# #1 0x00007ffff344bcf4 in QSQLiteResult::reset (this=0x4a4650, query=...) at qsql_sqlite.cpp:378
|
|
||||||
# #2 0x00007ffff7f95f39 in QSqlQuery::exec (this=this@entry=0x7fffffffaad8, query=...) at kernel/qsqlquery.cpp:406
|
|
||||||
# #3 0x00000000004084cb in SQLiteDatabase::dumpSchema (this=<optimized out>) at /build/source/plugins/sqlite/sqlitedatabase.cpp:148
|
|
||||||
# #4 0x0000000000406d70 in main (argc=<optimized out>, argv=<optimized out>)
|
|
||||||
# at /build/source/plugins/sqlite/schema/generate_schema.cpp:56
|
|
||||||
# (gdb) p lastError().driverText().toStdString()
|
|
||||||
# $17 = {_M_dataplus = {<std::allocator<char>> = {<std::__new_allocator<char>> = {<No data fields>}, <No data fields>},
|
|
||||||
# _M_p = 0x4880d0 "Unable to execute statement"}, _M_string_length = 27, {
|
|
||||||
# _M_local_buf = "\033\000\000\000\000\000\000\000+\344\371\367\377\177\000", _M_allocated_capacity = 27}}
|
|
||||||
# (gdb) p lastError().databaseText().toStdString()
|
|
||||||
# $18 = {_M_dataplus = {<std::allocator<char>> = {<std::__new_allocator<char>> = {<No data fields>}, <No data fields>},
|
|
||||||
# _M_p = 0x48c480 "no such column: rowid"}, _M_string_length = 21, {
|
|
||||||
# _M_local_buf = "\025\000\000\000\000\000\000\000A\344\371\367\377\177\000", _M_allocated_capacity = 21}}
|
|
||||||
#
|
|
||||||
# This makes the tests stall indefinitely and breaks history-service usage.
|
|
||||||
# This replacement script should hopefully achieve the same / a similar-enough result with just sqlite
|
|
||||||
cp ${./update_schema.sh.in} plugins/sqlite/schema/update_schema.sh.in
|
|
||||||
|
|
||||||
# libphonenumber -> protobuf -> abseil-cpp demands C++14
|
|
||||||
# But uses std::string_view which is C++17?
|
|
||||||
substituteInPlace CMakeLists.txt \
|
|
||||||
--replace '-std=c++11' '-std=c++17'
|
|
||||||
|
|
||||||
# Uses pkg_get_variable, cannot substitute prefix with that
|
|
||||||
substituteInPlace daemon/CMakeLists.txt \
|
|
||||||
--replace 'pkg_get_variable(SYSTEMD_USER_UNIT_DIR systemd systemduserunitdir)' 'set(SYSTEMD_USER_UNIT_DIR "''${CMAKE_INSTALL_PREFIX}/lib/systemd/user")'
|
|
||||||
|
|
||||||
# Queries qmake for the QML installation path, which returns a reference to Qt5's build directory
|
|
||||||
substituteInPlace CMakeLists.txt \
|
|
||||||
--replace "\''${QMAKE_EXECUTABLE} -query QT_INSTALL_QML" "echo $out/${qtbase.qtQmlPrefix}"
|
|
||||||
'' + lib.optionalString finalAttrs.finalPackage.doCheck ''
|
|
||||||
# Tests launch these DBus services, fix paths related to them
|
|
||||||
substituteInPlace tests/common/dbus-services/CMakeLists.txt \
|
|
||||||
${replaceDbusService telepathy-mission-control "org.freedesktop.Telepathy.MissionControl5.service"} \
|
|
||||||
${replaceDbusService telepathy-mission-control "org.freedesktop.Telepathy.AccountManager.service"} \
|
|
||||||
${replaceDbusService dconf "ca.desrt.dconf.service"}
|
|
||||||
|
|
||||||
substituteInPlace cmake/modules/GenerateTest.cmake \
|
|
||||||
--replace '/usr/lib/dconf' '${lib.getLib dconf}/libexec' \
|
|
||||||
--replace '/usr/lib/telepathy' '${lib.getLib telepathy-mission-control}/libexec'
|
|
||||||
'';
|
|
||||||
|
|
||||||
strictDeps = true;
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
cmake
|
|
||||||
pkg-config
|
|
||||||
sqlite
|
|
||||||
validatePkgConfig
|
|
||||||
wrapQtAppsHook
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [
|
|
||||||
libphonenumber
|
|
||||||
protobuf
|
|
||||||
qtbase
|
|
||||||
qtdeclarative
|
|
||||||
qtpim
|
|
||||||
telepathy
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeCheckInputs = [
|
|
||||||
dbus
|
|
||||||
dbus-test-runner
|
|
||||||
dconf
|
|
||||||
gnome-keyring
|
|
||||||
telepathy-mission-control
|
|
||||||
xvfb-run
|
|
||||||
];
|
|
||||||
|
|
||||||
cmakeFlags = [
|
|
||||||
# Many deprecation warnings with Qt 5.15
|
|
||||||
(lib.cmakeBool "ENABLE_WERROR" false)
|
|
||||||
(lib.cmakeFeature "CMAKE_CTEST_ARGUMENTS" (lib.concatStringsSep ";" [
|
|
||||||
# DaemonTest is flaky
|
|
||||||
# https://gitlab.com/ubports/development/core/history-service/-/issues/13
|
|
||||||
"-E" "^DaemonTest"
|
|
||||||
]))
|
|
||||||
];
|
|
||||||
|
|
||||||
preBuild = ''
|
|
||||||
# SQLiteDatabase is used on host to generate SQL schemas
|
|
||||||
# Tests also need this to use SQLiteDatabase for verifying correct behaviour
|
|
||||||
export QT_PLUGIN_PATH=${lib.getBin qtbase}/${qtbase.qtPluginPrefix}
|
|
||||||
'';
|
|
||||||
|
|
||||||
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
|
||||||
|
|
||||||
# Starts & talks to D-Bus services, breaks with parallelism
|
|
||||||
enableParallelChecking = false;
|
|
||||||
|
|
||||||
preCheck = ''
|
|
||||||
export QT_PLUGIN_PATH=${lib.getBin qtpim}/${qtbase.qtPluginPrefix}:$QT_PLUGIN_PATH
|
|
||||||
export HOME=$PWD
|
|
||||||
'';
|
|
||||||
|
|
||||||
passthru = {
|
|
||||||
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
|
||||||
updateScript = gitUpdater { };
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "Service that provides call log and conversation history";
|
|
||||||
longDescription = ''
|
|
||||||
History service provides the database and an API to store/retrieve the call log (used by dialer-app) and the sms/mms history (used by messaging-app).
|
|
||||||
|
|
||||||
See as well telepathy-ofono for incoming message events.
|
|
||||||
|
|
||||||
Database location: ~/.local/share/history-service/history.sqlite
|
|
||||||
'';
|
|
||||||
homepage = "https://gitlab.com/ubports/development/core/history-service";
|
|
||||||
changelog = "https://gitlab.com/ubports/development/core/history-service/-/blob/${finalAttrs.version}/ChangeLog";
|
|
||||||
license = licenses.gpl3Only;
|
|
||||||
maintainers = teams.lomiri.members;
|
|
||||||
platforms = platforms.linux;
|
|
||||||
pkgConfigModules = [
|
|
||||||
"history-service"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
})
|
|
169
pkgs/desktops/lomiri/services/lomiri-history-service/default.nix
Normal file
169
pkgs/desktops/lomiri/services/lomiri-history-service/default.nix
Normal file
@ -0,0 +1,169 @@
|
|||||||
|
{
|
||||||
|
stdenv,
|
||||||
|
lib,
|
||||||
|
fetchFromGitLab,
|
||||||
|
gitUpdater,
|
||||||
|
testers,
|
||||||
|
cmake,
|
||||||
|
dbus,
|
||||||
|
dbus-test-runner,
|
||||||
|
dconf,
|
||||||
|
gnome-keyring,
|
||||||
|
libphonenumber,
|
||||||
|
libqtdbustest,
|
||||||
|
pkg-config,
|
||||||
|
protobuf,
|
||||||
|
qtbase,
|
||||||
|
qtdeclarative,
|
||||||
|
qtpim,
|
||||||
|
sqlite,
|
||||||
|
telepathy,
|
||||||
|
telepathy-mission-control,
|
||||||
|
validatePkgConfig,
|
||||||
|
wrapQtAppsHook,
|
||||||
|
xvfb-run,
|
||||||
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
replaceDbusService =
|
||||||
|
pkg: name:
|
||||||
|
"--replace-fail \"\\\${DBUS_SERVICES_DIR}/${name}\" \"${pkg}/share/dbus-1/services/${name}\"";
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "lomiri-history-service";
|
||||||
|
version = "0.6";
|
||||||
|
|
||||||
|
src = fetchFromGitLab {
|
||||||
|
owner = "ubports";
|
||||||
|
repo = "development/core/history-service";
|
||||||
|
rev = finalAttrs.version;
|
||||||
|
hash = "sha256-pcTYuumywTarW+ZciwwvmmBQQH6aq4+FdVjV62VzSZU=";
|
||||||
|
};
|
||||||
|
|
||||||
|
outputs = [
|
||||||
|
"out"
|
||||||
|
"dev"
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch =
|
||||||
|
''
|
||||||
|
# Upstream's way of generating their schema doesn't work for us, don't quite understand why.
|
||||||
|
# (gdb) bt
|
||||||
|
# #0 QSQLiteResult::prepare (this=0x4a4650, query=...) at qsql_sqlite.cpp:406
|
||||||
|
# #1 0x00007ffff344bcf4 in QSQLiteResult::reset (this=0x4a4650, query=...) at qsql_sqlite.cpp:378
|
||||||
|
# #2 0x00007ffff7f95f39 in QSqlQuery::exec (this=this@entry=0x7fffffffaad8, query=...) at kernel/qsqlquery.cpp:406
|
||||||
|
# #3 0x00000000004084cb in SQLiteDatabase::dumpSchema (this=<optimized out>) at /build/source/plugins/sqlite/sqlitedatabase.cpp:148
|
||||||
|
# #4 0x0000000000406d70 in main (argc=<optimized out>, argv=<optimized out>)
|
||||||
|
# at /build/source/plugins/sqlite/schema/generate_schema.cpp:56
|
||||||
|
# (gdb) p lastError().driverText().toStdString()
|
||||||
|
# $17 = {_M_dataplus = {<std::allocator<char>> = {<std::__new_allocator<char>> = {<No data fields>}, <No data fields>},
|
||||||
|
# _M_p = 0x4880d0 "Unable to execute statement"}, _M_string_length = 27, {
|
||||||
|
# _M_local_buf = "\033\000\000\000\000\000\000\000+\344\371\367\377\177\000", _M_allocated_capacity = 27}}
|
||||||
|
# (gdb) p lastError().databaseText().toStdString()
|
||||||
|
# $18 = {_M_dataplus = {<std::allocator<char>> = {<std::__new_allocator<char>> = {<No data fields>}, <No data fields>},
|
||||||
|
# _M_p = 0x48c480 "no such column: rowid"}, _M_string_length = 21, {
|
||||||
|
# _M_local_buf = "\025\000\000\000\000\000\000\000A\344\371\367\377\177\000", _M_allocated_capacity = 21}}
|
||||||
|
#
|
||||||
|
# This makes the tests stall indefinitely and breaks history-service usage.
|
||||||
|
# This replacement script should hopefully achieve the same / a similar-enough result with just sqlite
|
||||||
|
cp ${./update_schema.sh.in} plugins/sqlite/schema/update_schema.sh.in
|
||||||
|
|
||||||
|
# Uses pkg_get_variable, cannot substitute prefix with that
|
||||||
|
substituteInPlace daemon/CMakeLists.txt \
|
||||||
|
--replace-fail 'pkg_get_variable(SYSTEMD_USER_UNIT_DIR systemd systemduserunitdir)' 'set(SYSTEMD_USER_UNIT_DIR "''${CMAKE_INSTALL_PREFIX}/lib/systemd/user")'
|
||||||
|
|
||||||
|
# Queries qmake for the QML installation path, which returns a reference to Qt5's build directory
|
||||||
|
substituteInPlace CMakeLists.txt \
|
||||||
|
--replace-fail "\''${QMAKE_EXECUTABLE} -query QT_INSTALL_QML" "echo $out/${qtbase.qtQmlPrefix}"
|
||||||
|
''
|
||||||
|
+ lib.optionalString finalAttrs.finalPackage.doCheck ''
|
||||||
|
# Tests launch these DBus services, fix paths related to them
|
||||||
|
substituteInPlace tests/common/dbus-services/CMakeLists.txt \
|
||||||
|
${replaceDbusService telepathy-mission-control "org.freedesktop.Telepathy.MissionControl5.service"} \
|
||||||
|
${replaceDbusService telepathy-mission-control "org.freedesktop.Telepathy.AccountManager.service"} \
|
||||||
|
${replaceDbusService dconf "ca.desrt.dconf.service"}
|
||||||
|
|
||||||
|
substituteInPlace cmake/modules/GenerateTest.cmake \
|
||||||
|
--replace-fail '/usr/lib/dconf' '${lib.getLib dconf}/libexec' \
|
||||||
|
--replace-fail '/usr/lib/telepathy' '${lib.getLib telepathy-mission-control}/libexec'
|
||||||
|
'';
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
pkg-config
|
||||||
|
sqlite
|
||||||
|
validatePkgConfig
|
||||||
|
wrapQtAppsHook
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
libphonenumber
|
||||||
|
protobuf
|
||||||
|
qtbase
|
||||||
|
qtdeclarative
|
||||||
|
qtpim
|
||||||
|
telepathy
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
dbus
|
||||||
|
dbus-test-runner
|
||||||
|
dconf
|
||||||
|
gnome-keyring
|
||||||
|
telepathy-mission-control
|
||||||
|
xvfb-run
|
||||||
|
];
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
# Many deprecation warnings with Qt 5.15
|
||||||
|
(lib.cmakeBool "ENABLE_WERROR" false)
|
||||||
|
(lib.cmakeFeature "CMAKE_CTEST_ARGUMENTS" (
|
||||||
|
lib.concatStringsSep ";" [
|
||||||
|
# DaemonTest is flaky
|
||||||
|
# https://gitlab.com/ubports/development/core/history-service/-/issues/13
|
||||||
|
"-E"
|
||||||
|
"^DaemonTest"
|
||||||
|
]
|
||||||
|
))
|
||||||
|
];
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
# SQLiteDatabase is used on host to generate SQL schemas
|
||||||
|
# Tests also need this to use SQLiteDatabase for verifying correct behaviour
|
||||||
|
export QT_PLUGIN_PATH=${lib.getBin qtbase}/${qtbase.qtPluginPrefix}
|
||||||
|
'';
|
||||||
|
|
||||||
|
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
||||||
|
|
||||||
|
# Starts & talks to D-Bus services, breaks with parallelism
|
||||||
|
enableParallelChecking = false;
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
export QT_PLUGIN_PATH=${lib.getBin qtpim}/${qtbase.qtPluginPrefix}:$QT_PLUGIN_PATH
|
||||||
|
export HOME=$PWD
|
||||||
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||||
|
updateScript = gitUpdater { };
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Service that provides call log and conversation history";
|
||||||
|
longDescription = ''
|
||||||
|
History service provides the database and an API to store/retrieve the call log (used by dialer-app) and the sms/mms history (used by messaging-app).
|
||||||
|
|
||||||
|
See as well telepathy-ofono for incoming message events.
|
||||||
|
|
||||||
|
Database location: ~/.local/share/history-service/history.sqlite
|
||||||
|
'';
|
||||||
|
homepage = "https://gitlab.com/ubports/development/core/lomiri-history-service";
|
||||||
|
changelog = "https://gitlab.com/ubports/development/core/lomiri-history-service/-/blob/${finalAttrs.version}/ChangeLog";
|
||||||
|
license = lib.licenses.gpl3Only;
|
||||||
|
maintainers = lib.teams.lomiri.members;
|
||||||
|
platforms = lib.platforms.linux;
|
||||||
|
pkgConfigModules = [ "lomiri-history-service" ];
|
||||||
|
};
|
||||||
|
})
|
@ -25,7 +25,7 @@ done
|
|||||||
# To output the schema
|
# To output the schema
|
||||||
echo ".fullschema" >> $MERGED_COMMANDS
|
echo ".fullschema" >> $MERGED_COMMANDS
|
||||||
|
|
||||||
# The schemas may use functions that history-service defines in C which don't affect the generated schema in a meaningful way.
|
# The schemas may use functions that lomiri-history-service defines in C which don't affect the generated schema in a meaningful way.
|
||||||
# sqlite will return an error after processing queries with such function calls, so remove them.
|
# sqlite will return an error after processing queries with such function calls, so remove them.
|
||||||
sed -i -e '/normalizeId(/d' $MERGED_COMMANDS
|
sed -i -e '/normalizeId(/d' $MERGED_COMMANDS
|
||||||
|
|
@ -15,11 +15,11 @@
|
|||||||
gettext,
|
gettext,
|
||||||
glib,
|
glib,
|
||||||
gnome-keyring,
|
gnome-keyring,
|
||||||
history-service,
|
|
||||||
libnotify,
|
libnotify,
|
||||||
libphonenumber,
|
libphonenumber,
|
||||||
libpulseaudio,
|
libpulseaudio,
|
||||||
libusermetrics,
|
libusermetrics,
|
||||||
|
lomiri-history-service,
|
||||||
lomiri-url-dispatcher,
|
lomiri-url-dispatcher,
|
||||||
makeWrapper,
|
makeWrapper,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
@ -66,6 +66,13 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
url = "https://gitlab.com/ubports/development/core/lomiri-telephony-service/-/commit/18e0ba8e025b097eef1217d97d98ef4a4940fe84.patch";
|
url = "https://gitlab.com/ubports/development/core/lomiri-telephony-service/-/commit/18e0ba8e025b097eef1217d97d98ef4a4940fe84.patch";
|
||||||
hash = "sha256-vOIy+B/OQeccsVn4pXsnr8LYyEapqbebW1I6dBg5u2c=";
|
hash = "sha256-vOIy+B/OQeccsVn4pXsnr8LYyEapqbebW1I6dBg5u2c=";
|
||||||
})
|
})
|
||||||
|
|
||||||
|
# Remove when version > 0.5.3
|
||||||
|
(fetchpatch {
|
||||||
|
name = "0003-lomiri-telephony-service-Handle-renamed-history-service.patch";
|
||||||
|
url = "https://gitlab.com/ubports/development/core/lomiri-telephony-service/-/commit/3a387670ed13041db069068292b1f41229e79583.patch";
|
||||||
|
hash = "sha256-b7gxzr6Mmtogclq3hR7a/zl+816H2wmJqv3oHjUJggw=";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch =
|
postPatch =
|
||||||
@ -104,11 +111,11 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
dconf
|
dconf
|
||||||
gettext
|
gettext
|
||||||
glib
|
glib
|
||||||
history-service
|
|
||||||
libnotify
|
libnotify
|
||||||
libphonenumber
|
libphonenumber
|
||||||
libpulseaudio
|
libpulseaudio
|
||||||
libusermetrics
|
libusermetrics
|
||||||
|
lomiri-history-service
|
||||||
lomiri-url-dispatcher
|
lomiri-url-dispatcher
|
||||||
protobuf
|
protobuf
|
||||||
(python3.withPackages (
|
(python3.withPackages (
|
||||||
|
@ -18,13 +18,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "switchboard-plug-sound";
|
pname = "switchboard-plug-sound";
|
||||||
version = "8.0.0";
|
version = "8.0.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "elementary";
|
owner = "elementary";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-e7XjiqOxa0UtqUOfbsUiF497sOPgQd+lc93ARearXTw=";
|
sha256 = "sha256-GLeQxdrrjz4MurN8Ia5Q68y6gHuyxiMVNneft1AXKvs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -29,7 +29,7 @@ let
|
|||||||
"16.0.6".officialRelease.sha256 = "sha256-fspqSReX+VD+Nl/Cfq+tDcdPtnQPV1IRopNDfd5VtUs=";
|
"16.0.6".officialRelease.sha256 = "sha256-fspqSReX+VD+Nl/Cfq+tDcdPtnQPV1IRopNDfd5VtUs=";
|
||||||
"17.0.6".officialRelease.sha256 = "sha256-8MEDLLhocshmxoEBRSKlJ/GzJ8nfuzQ8qn0X/vLA+ag=";
|
"17.0.6".officialRelease.sha256 = "sha256-8MEDLLhocshmxoEBRSKlJ/GzJ8nfuzQ8qn0X/vLA+ag=";
|
||||||
"18.1.8".officialRelease.sha256 = "sha256-iiZKMRo/WxJaBXct9GdAcAT3cz9d9pnAcO1mmR6oPNE=";
|
"18.1.8".officialRelease.sha256 = "sha256-iiZKMRo/WxJaBXct9GdAcAT3cz9d9pnAcO1mmR6oPNE=";
|
||||||
"19.1.3".officialRelease.sha256 = "sha256-NUx01eJNsYMlk+8mtlf10isIqhK8zBmqaOTjuFqMNRQ=";
|
"19.1.4".officialRelease.sha256 = "sha256-qi1a/AWxF5j+4O38VQ2R/tvnToVAlMjgv9SP0PNWs3g=";
|
||||||
"20.0.0-git".gitRelease = {
|
"20.0.0-git".gitRelease = {
|
||||||
rev = "0e8555d4dbfdfeddc01dc2ecf9a9b6e804f7b645";
|
rev = "0e8555d4dbfdfeddc01dc2ecf9a9b6e804f7b645";
|
||||||
rev-version = "20.0.0-unstable-2024-10-07";
|
rev-version = "20.0.0-unstable-2024-10-07";
|
||||||
|
@ -8,6 +8,7 @@ mkCoqDerivation {
|
|||||||
repo = "coq-dpdgraph";
|
repo = "coq-dpdgraph";
|
||||||
inherit version;
|
inherit version;
|
||||||
defaultVersion = lib.switch coq.coq-version [
|
defaultVersion = lib.switch coq.coq-version [
|
||||||
|
{ case = "8.20"; out = "1.0+8.20"; }
|
||||||
{ case = "8.19"; out = "1.0+8.19"; }
|
{ case = "8.19"; out = "1.0+8.19"; }
|
||||||
{ case = "8.18"; out = "1.0+8.18"; }
|
{ case = "8.18"; out = "1.0+8.18"; }
|
||||||
{ case = "8.17"; out = "1.0+8.17"; }
|
{ case = "8.17"; out = "1.0+8.17"; }
|
||||||
@ -23,6 +24,7 @@ mkCoqDerivation {
|
|||||||
{ case = "8.7"; out = "0.6.2"; }
|
{ case = "8.7"; out = "0.6.2"; }
|
||||||
] null;
|
] null;
|
||||||
|
|
||||||
|
release."1.0+8.20".sha256 = "sha256-szfH/OksCH3SCbcFjwEvLwHE5avmHp1vYiJM6KAXFqs=";
|
||||||
release."1.0+8.19".sha256 = "sha256-L1vjEydYiwDFTXES3sgfdaO/D50AbTJKBXUKUCgbpto=";
|
release."1.0+8.19".sha256 = "sha256-L1vjEydYiwDFTXES3sgfdaO/D50AbTJKBXUKUCgbpto=";
|
||||||
release."1.0+8.18".sha256 = "sha256-z14MI1VSYzPqmF1PqDXzymXWRMYoTlQAfR/P3Pdf7fI=";
|
release."1.0+8.18".sha256 = "sha256-z14MI1VSYzPqmF1PqDXzymXWRMYoTlQAfR/P3Pdf7fI=";
|
||||||
release."1.0+8.17".sha256 = "sha256-gcvL3vseLKEF9xinT0579jXBBaA5E3rJ5KaU8RfKtm4=";
|
release."1.0+8.17".sha256 = "sha256-gcvL3vseLKEF9xinT0579jXBBaA5E3rJ5KaU8RfKtm4=";
|
||||||
|
@ -122,6 +122,7 @@ in {
|
|||||||
};
|
};
|
||||||
passthru.tests = import ./python-catch-conflicts-hook-tests.nix {
|
passthru.tests = import ./python-catch-conflicts-hook-tests.nix {
|
||||||
inherit pythonOnBuildForHost runCommand;
|
inherit pythonOnBuildForHost runCommand;
|
||||||
|
inherit lib;
|
||||||
inherit (pkgs) coreutils gnugrep writeShellScript;
|
inherit (pkgs) coreutils gnugrep writeShellScript;
|
||||||
};
|
};
|
||||||
} ./python-catch-conflicts-hook.sh) {};
|
} ./python-catch-conflicts-hook.sh) {};
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ pythonOnBuildForHost, runCommand, writeShellScript, coreutils, gnugrep }: let
|
{ lib, pythonOnBuildForHost, runCommand, writeShellScript, coreutils, gnugrep }: let
|
||||||
|
|
||||||
pythonPkgs = pythonOnBuildForHost.pkgs;
|
pythonPkgs = pythonOnBuildForHost.pkgs;
|
||||||
|
|
||||||
@ -38,7 +38,7 @@
|
|||||||
);
|
);
|
||||||
|
|
||||||
# in order to test for a failing build, wrap it in a shell script
|
# in order to test for a failing build, wrap it in a shell script
|
||||||
expectFailure = build: errorMsg: build.overrideDerivation (old: {
|
expectFailure = build: errorMsg: lib.overrideDerivation build (old: {
|
||||||
builder = writeShellScript "test-for-failure" ''
|
builder = writeShellScript "test-for-failure" ''
|
||||||
export PATH=${coreutils}/bin:${gnugrep}/bin:$PATH
|
export PATH=${coreutils}/bin:${gnugrep}/bin:$PATH
|
||||||
${old.builder} "$@" > ./log 2>&1
|
${old.builder} "$@" > ./log 2>&1
|
||||||
|
@ -9,7 +9,7 @@ stdenv.mkDerivation rec
|
|||||||
owner = "alembic";
|
owner = "alembic";
|
||||||
repo = "alembic";
|
repo = "alembic";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-PuVN5Ytls58G2BmwCHUHiMQ0rolH98Hlw/pp7cvpiAg=";
|
hash = "sha256-EJZvbaGP9aea/UvcXmFbI3Y2/xTkdqORdzyz5ch931A=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# note: out is unused (but required for outputDoc anyway)
|
# note: out is unused (but required for outputDoc anyway)
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
pythonOlder,
|
pythonOlder,
|
||||||
installShellFiles,
|
installShellFiles,
|
||||||
docutils,
|
docutils,
|
||||||
|
setuptools,
|
||||||
ansible,
|
ansible,
|
||||||
cryptography,
|
cryptography,
|
||||||
importlib-resources,
|
importlib-resources,
|
||||||
@ -30,12 +31,13 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "ansible-core";
|
pname = "ansible-core";
|
||||||
version = "2.17.5";
|
version = "2.17.6";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "ansible_core";
|
pname = "ansible_core";
|
||||||
inherit version;
|
inherit version;
|
||||||
hash = "sha256-rn9R/RPcnVfJvNQ+8j+cJVyo8Y9LXAARpPm3JNksWo4=";
|
hash = "sha256-PlOXC3zr/irbObcRweL4u/y+2sgo2lHcA1ehkHBjjpU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# ansible_connection is already wrapped, so don't pass it through
|
# ansible_connection is already wrapped, so don't pass it through
|
||||||
@ -53,7 +55,9 @@ buildPythonPackage rec {
|
|||||||
docutils
|
docutils
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs =
|
build-system = [ setuptools ];
|
||||||
|
|
||||||
|
dependencies =
|
||||||
[
|
[
|
||||||
# depend on ansible instead of the other way around
|
# depend on ansible instead of the other way around
|
||||||
ansible
|
ansible
|
||||||
|
@ -1,26 +0,0 @@
|
|||||||
From 94c4768cd69b026e498d92133dd6c7d8589cf911 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jiajie Chen <c@jia.je>
|
|
||||||
Date: Sat, 25 Jun 2022 10:19:44 +0800
|
|
||||||
Subject: [PATCH] Patch LDCXXSHARED for macOS along with LDSHARED
|
|
||||||
|
|
||||||
In Nixpkgs, we patched distutils to respect LDCXXSHARED environment, so
|
|
||||||
the replacement should be taken on LDCXXSHARED as well.
|
|
||||||
---
|
|
||||||
cocotb_build_libs.py | 1 +
|
|
||||||
1 file changed, 1 insertion(+)
|
|
||||||
|
|
||||||
diff --git a/cocotb_build_libs.py b/cocotb_build_libs.py
|
|
||||||
index 66097ec2..d5555b36 100755
|
|
||||||
--- a/cocotb_build_libs.py
|
|
||||||
+++ b/cocotb_build_libs.py
|
|
||||||
@@ -583,6 +583,7 @@ def get_ext():
|
|
||||||
|
|
||||||
if sys.platform == "darwin":
|
|
||||||
cfg_vars["LDSHARED"] = cfg_vars["LDSHARED"].replace("-bundle", "-dynamiclib")
|
|
||||||
+ cfg_vars["LDCXXSHARED"] = cfg_vars["LDCXXSHARED"].replace("-bundle", "-dynamiclib")
|
|
||||||
|
|
||||||
share_lib_dir = os.path.relpath(os.path.join(cocotb_share_dir, "lib"))
|
|
||||||
include_dir = os.path.relpath(os.path.join(cocotb_share_dir, "include"))
|
|
||||||
--
|
|
||||||
2.36.1
|
|
||||||
|
|
@ -1,25 +0,0 @@
|
|||||||
diff --git a/tests/test_cases/test_cocotb/test_deprecated.py b/tests/test_cases/test_cocotb/test_deprecated.py
|
|
||||||
index 523b93ba..b4f1701e 100644
|
|
||||||
--- a/tests/test_cases/test_cocotb/test_deprecated.py
|
|
||||||
+++ b/tests/test_cases/test_cocotb/test_deprecated.py
|
|
||||||
@@ -26,20 +26,6 @@ async def test_returnvalue_deprecated(dut):
|
|
||||||
assert val == 42
|
|
||||||
|
|
||||||
|
|
||||||
-# strings are not supported on Icarus (gh-2585) or GHDL (gh-2584)
|
|
||||||
-@cocotb.test(
|
|
||||||
- expect_error=AttributeError
|
|
||||||
- if cocotb.SIM_NAME.lower().startswith("icarus")
|
|
||||||
- else TypeError
|
|
||||||
- if cocotb.SIM_NAME.lower().startswith("ghdl")
|
|
||||||
- else ()
|
|
||||||
-)
|
|
||||||
-async def test_unicode_handle_assignment_deprecated(dut):
|
|
||||||
- with pytest.warns(DeprecationWarning, match=".*bytes.*"):
|
|
||||||
- dut.stream_in_string.value = "Bad idea"
|
|
||||||
- await cocotb.triggers.ReadWrite()
|
|
||||||
-
|
|
||||||
-
|
|
||||||
@cocotb.test()
|
|
||||||
async def test_convert_handle_to_string_deprecated(dut):
|
|
||||||
dut.stream_in_data.value = 0
|
|
@ -10,11 +10,13 @@
|
|||||||
swig,
|
swig,
|
||||||
iverilog,
|
iverilog,
|
||||||
ghdl,
|
ghdl,
|
||||||
|
stdenv,
|
||||||
|
fetchpatch,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "cocotb";
|
pname = "cocotb";
|
||||||
version = "1.9.1";
|
version = "1.9.2";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
# pypi source doesn't include tests
|
# pypi source doesn't include tests
|
||||||
@ -22,7 +24,7 @@ buildPythonPackage rec {
|
|||||||
owner = "cocotb";
|
owner = "cocotb";
|
||||||
repo = "cocotb";
|
repo = "cocotb";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-+pS+y9rmyJ4laDK5evAtoqr5D0GuHGaX6DpK1qtumnA=";
|
hash = "sha256-7KCo7g2I1rfm8QDHRm3ZKloHwjDIICnJCF8KhaFdvqY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools-scm ];
|
nativeBuildInputs = [ setuptools-scm ];
|
||||||
@ -30,8 +32,7 @@ buildPythonPackage rec {
|
|||||||
buildInputs = [ setuptools ];
|
buildInputs = [ setuptools ];
|
||||||
propagatedBuildInputs = [ find-libpython ];
|
propagatedBuildInputs = [ find-libpython ];
|
||||||
|
|
||||||
postPatch =
|
postPatch = ''
|
||||||
''
|
|
||||||
patchShebangs bin/*.py
|
patchShebangs bin/*.py
|
||||||
|
|
||||||
# POSIX portability (TODO: upstream this)
|
# POSIX portability (TODO: upstream this)
|
||||||
@ -46,13 +47,10 @@ buildPythonPackage rec {
|
|||||||
substituteInPlace setup.py --replace "'cocotb-bus<1.0'" ""
|
substituteInPlace setup.py --replace "'cocotb-bus<1.0'" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
patches = [
|
disabledTests = [
|
||||||
# Fix "can't link with bundle (MH_BUNDLE) only dylibs (MH_DYLIB) file" error
|
# https://github.com/cocotb/cocotb/commit/425e1edb8e7133f4a891f2f87552aa2748cd8d2c#diff-4df986cbc2b1a3f22172caea94f959d8fcb4a128105979e6e99c68139469960cL33
|
||||||
./0001-Patch-LDCXXSHARED-for-macOS-along-with-LDSHARED.patch
|
"test_cocotb"
|
||||||
|
"test_cocotb_parallel"
|
||||||
# For the 1.8.1 release only: remove the test_unicode_handle_assignment_deprecated test
|
|
||||||
# It's more thoroughly removed upstream master with 425e1edb8e7133f4a891f2f87552aa2748cd8d2c
|
|
||||||
./0002-Patch-remove-test_unicode_handle_assignment_deprecated-test.patch
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
@ -62,6 +60,7 @@ buildPythonPackage rec {
|
|||||||
iverilog
|
iverilog
|
||||||
ghdl
|
ghdl
|
||||||
];
|
];
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
export PATH=$out/bin:$PATH
|
export PATH=$out/bin:$PATH
|
||||||
mv cocotb cocotb.hidden
|
mv cocotb cocotb.hidden
|
||||||
@ -69,13 +68,14 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
pythonImportsCheck = [ "cocotb" ];
|
pythonImportsCheck = [ "cocotb" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
changelog = "https://github.com/cocotb/cocotb/releases/tag/v${version}";
|
changelog = "https://github.com/cocotb/cocotb/releases/tag/v${version}";
|
||||||
description = "Coroutine based cosimulation library for writing VHDL and Verilog testbenches in Python";
|
description = "Coroutine based cosimulation library for writing VHDL and Verilog testbenches in Python";
|
||||||
mainProgram = "cocotb-config";
|
mainProgram = "cocotb-config";
|
||||||
homepage = "https://github.com/cocotb/cocotb";
|
homepage = "https://github.com/cocotb/cocotb";
|
||||||
license = licenses.bsd3;
|
license = lib.licenses.bsd3;
|
||||||
maintainers = with maintainers; [
|
broken = stdenv.hostPlatform.isDarwin;
|
||||||
|
maintainers = with lib.maintainers; [
|
||||||
matthuszagh
|
matthuszagh
|
||||||
jleightcap
|
jleightcap
|
||||||
];
|
];
|
||||||
|
@ -3,46 +3,31 @@
|
|||||||
stdenv,
|
stdenv,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchPypi,
|
fetchPypi,
|
||||||
fetchpatch,
|
|
||||||
setuptools,
|
setuptools,
|
||||||
six,
|
|
||||||
attrs,
|
attrs,
|
||||||
twisted,
|
twisted,
|
||||||
autobahn,
|
autobahn,
|
||||||
treq,
|
treq,
|
||||||
mock,
|
|
||||||
nixosTests,
|
nixosTests,
|
||||||
pythonOlder,
|
|
||||||
pythonAtLeast,
|
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "magic-wormhole-mailbox-server";
|
pname = "magic-wormhole-mailbox-server";
|
||||||
version = "0.4.1";
|
version = "0.5.1";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-GvEFkpCcqvUZwA5wbqyELF53+NQ1YhX+nGHHsiWKiPs=";
|
hash = "sha256-oAegNnIpMgRldoHb9QIEXW1YF8V/mq4vIibm6hoAjKE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
# Remove the 'U' open mode removed, https://github.com/magic-wormhole/magic-wormhole-mailbox-server/pull/34
|
|
||||||
name = "fix-for-python-3.11.patch";
|
|
||||||
url = "https://github.com/magic-wormhole/magic-wormhole-mailbox-server/commit/4b358859ba80de37c3dc0a5f67ec36909fd48234.patch";
|
|
||||||
hash = "sha256-RzZ5kD+xhmFYusVzAbGE+CODXtJVR1zN2rZ+VGApXiQ=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
build-system = [ setuptools ];
|
build-system = [ setuptools ];
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
attrs
|
attrs
|
||||||
autobahn
|
autobahn
|
||||||
setuptools # pkg_resources is referenced at runtime
|
setuptools # pkg_resources is referenced at runtime
|
||||||
six
|
|
||||||
twisted
|
twisted
|
||||||
] ++ autobahn.optional-dependencies.twisted ++ twisted.optional-dependencies.tls;
|
] ++ autobahn.optional-dependencies.twisted ++ twisted.optional-dependencies.tls;
|
||||||
|
|
||||||
@ -51,7 +36,6 @@ buildPythonPackage rec {
|
|||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
treq
|
treq
|
||||||
mock
|
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [
|
disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||||
@ -69,7 +53,5 @@ buildPythonPackage rec {
|
|||||||
changelog = "https://github.com/magic-wormhole/magic-wormhole-mailbox-server/blob/${version}/NEWS.md";
|
changelog = "https://github.com/magic-wormhole/magic-wormhole-mailbox-server/blob/${version}/NEWS.md";
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = [ lib.maintainers.mjoerg ];
|
maintainers = [ lib.maintainers.mjoerg ];
|
||||||
# Python 3.12 support: https://github.com/magic-wormhole/magic-wormhole-mailbox-server/issues/41
|
|
||||||
broken = pythonOlder "3.7" || pythonAtLeast "3.12";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,6 @@
|
|||||||
# tests
|
# tests
|
||||||
nettools,
|
nettools,
|
||||||
unixtools,
|
unixtools,
|
||||||
mock,
|
|
||||||
magic-wormhole-transit-relay,
|
magic-wormhole-transit-relay,
|
||||||
magic-wormhole-mailbox-server,
|
magic-wormhole-mailbox-server,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
@ -81,16 +80,9 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeCheckInputs =
|
nativeCheckInputs =
|
||||||
# For Python 3.12, remove magic-wormhole-mailbox-server and magic-wormhole-transit-relay from test dependencies,
|
|
||||||
# which are not yet supported with this version.
|
|
||||||
lib.optionals
|
|
||||||
(!magic-wormhole-mailbox-server.meta.broken && !magic-wormhole-transit-relay.meta.broken)
|
|
||||||
[
|
[
|
||||||
magic-wormhole-mailbox-server
|
magic-wormhole-mailbox-server
|
||||||
magic-wormhole-transit-relay
|
magic-wormhole-transit-relay
|
||||||
]
|
|
||||||
++ [
|
|
||||||
mock
|
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
]
|
]
|
||||||
++ optional-dependencies.dilation
|
++ optional-dependencies.dilation
|
||||||
@ -98,20 +90,6 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
__darwinAllowLocalNetworking = true;
|
__darwinAllowLocalNetworking = true;
|
||||||
|
|
||||||
disabledTestPaths =
|
|
||||||
# For Python 3.12, remove the tests depending on magic-wormhole-mailbox-server and magic-wormhole-transit-relay,
|
|
||||||
# which are not yet supported with this version.
|
|
||||||
lib.optionals
|
|
||||||
(magic-wormhole-mailbox-server.meta.broken || magic-wormhole-transit-relay.meta.broken)
|
|
||||||
[
|
|
||||||
"src/wormhole/test/dilate/test_full.py"
|
|
||||||
"src/wormhole/test/test_args.py"
|
|
||||||
"src/wormhole/test/test_cli.py"
|
|
||||||
"src/wormhole/test/test_transit.py"
|
|
||||||
"src/wormhole/test/test_wormhole.py"
|
|
||||||
"src/wormhole/test/test_xfer_util.py"
|
|
||||||
];
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
install -Dm644 docs/wormhole.1 $out/share/man/man1/wormhole.1
|
install -Dm644 docs/wormhole.1 $out/share/man/man1/wormhole.1
|
||||||
'';
|
'';
|
||||||
|
@ -157,7 +157,7 @@ let
|
|||||||
];
|
];
|
||||||
|
|
||||||
passthru.tests = {
|
passthru.tests = {
|
||||||
all-tests = self.override { doCheck = true; };
|
all-tests = self.overridePythonAttrs { doCheck = true; };
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -24,24 +24,29 @@ buildPythonPackage rec {
|
|||||||
hash = "sha256-xGLvc154xnje45Akf7H1qqQRUc03gGVt8AhGlkcP3kY=";
|
hash = "sha256-xGLvc154xnje45Akf7H1qqQRUc03gGVt8AhGlkcP3kY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ poetry-core ];
|
build-system = [ poetry-core ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
dependencies = [
|
||||||
dbus-python
|
dbus-python
|
||||||
flask
|
flask
|
||||||
flask-cors
|
flask-cors
|
||||||
requests
|
requests
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pythonRelaxDeps = [
|
||||||
|
"flask-cors"
|
||||||
|
"flask"
|
||||||
|
];
|
||||||
|
|
||||||
# Tests want to use Dbus
|
# Tests want to use Dbus
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
pythonImportsCheck = [ "SwSpotify" ];
|
pythonImportsCheck = [ "SwSpotify" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Library to get the currently playing song and artist from Spotify";
|
description = "Library to get the currently playing song and artist from Spotify";
|
||||||
homepage = "https://github.com/SwagLyrics/SwSpotify";
|
homepage = "https://github.com/SwagLyrics/SwSpotify";
|
||||||
license = licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = with maintainers; [ siraben ];
|
maintainers = with lib.maintainers; [ siraben ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
1139
pkgs/development/tools/database/replibyte/Cargo.lock
generated
1139
pkgs/development/tools/database/replibyte/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -53,5 +53,15 @@ buildNodejs {
|
|||||||
hash = "sha256-gmIyiSyNzC3pClL1SM2YicckWM+/2tsbV1xv2S3d5G0=";
|
hash = "sha256-gmIyiSyNzC3pClL1SM2YicckWM+/2tsbV1xv2S3d5G0=";
|
||||||
revert = true;
|
revert = true;
|
||||||
})
|
})
|
||||||
|
# Fix for https://github.com/NixOS/nixpkgs/issues/355919
|
||||||
|
# FIXME: remove after a minor point release
|
||||||
|
(fetchpatch2 {
|
||||||
|
url = "https://github.com/nodejs/node/commit/a094a8166cd772f89e92b5deef168e5e599fa815.patch?full_index=1";
|
||||||
|
hash = "sha256-5FZfozYWRa1ZI/f+e+xpdn974Jg2DbiHbua13XUQP5E=";
|
||||||
|
})
|
||||||
|
(fetchpatch2 {
|
||||||
|
url = "https://github.com/nodejs/node/commit/f270462c09ddfd770291a7c8a2cd204b2c63d730.patch?full_index=1";
|
||||||
|
hash = "sha256-Err0i5g7WtXcnhykKgrS3ocX7/3oV9UrT0SNeRtMZNU=";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -13,13 +13,13 @@ let
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "evdi";
|
pname = "evdi";
|
||||||
version = "1.14.6";
|
version = "1.14.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "DisplayLink";
|
owner = "DisplayLink";
|
||||||
repo = "evdi";
|
repo = "evdi";
|
||||||
rev = "refs/tags/v${finalAttrs.version}";
|
rev = "refs/tags/v${finalAttrs.version}";
|
||||||
hash = "sha256-/XIWacrsB7qBqlLUwIGuDdahvt2dAwiK7dauFaYh7lU=";
|
hash = "sha256-z3GawjaokbmmUC1LihwGSnF3tUp9n/FO+kDiWvBq+mY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
env.NIX_CFLAGS_COMPILE = toString [
|
env.NIX_CFLAGS_COMPILE = toString [
|
||||||
|
@ -21,15 +21,15 @@ let
|
|||||||
}.${stdenv.hostPlatform.system} or unsupported;
|
}.${stdenv.hostPlatform.system} or unsupported;
|
||||||
|
|
||||||
hash = {
|
hash = {
|
||||||
aarch64-darwin = "sha256-n9WGbxxackZ2FRexvy7lFVUTjcydhSzSkXO78wsywi8=";
|
aarch64-darwin = "sha256-Ht8M0gHO6a+JVUGEZXdU2LFiNCx2jrGmErXT6kVTje0=";
|
||||||
aarch64-linux = "sha256-CS3T9beQZo/WllZo2mRMUMYvgM0x6H//tTqByx3ikQw=";
|
aarch64-linux = "sha256-d3/6NxctWbMBSR7CPF2N46g1TJc63KnKKqZcu2p0A80=";
|
||||||
x86_64-darwin = "sha256-p3sPwSKE0761R7DlmO55FhmjGDWbGl8X9UcQBjaUXQs=";
|
x86_64-darwin = "sha256-diShDytcYY+9/gNDAQM+xZ/79o40Qs+62dtxpW0EfaQ=";
|
||||||
x86_64-linux = "sha256-wfucjWxTpYsrRRLoQDgy66HZHdRILCKrFEnZyaoQ560=";
|
x86_64-linux = "sha256-bb3UzRr0Df4QejSsFzL7x9PnyULL3ML8CL6EGmsqelM=";
|
||||||
}.${stdenv.hostPlatform.system} or unsupported;
|
}.${stdenv.hostPlatform.system} or unsupported;
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
inherit pname;
|
inherit pname;
|
||||||
version = "1.24.3.4754";
|
version = "1.26.1.4844";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/Prowlarr/Prowlarr/releases/download/v${version}/Prowlarr.master.${version}.${os}-core-${arch}.tar.gz";
|
url = "https://github.com/Prowlarr/Prowlarr/releases/download/v${version}/Prowlarr.master.${version}.${os}-core-${arch}.tar.gz";
|
||||||
|
@ -3,8 +3,7 @@
|
|||||||
lib,
|
lib,
|
||||||
rustPlatform,
|
rustPlatform,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
Security,
|
apple-sdk_11,
|
||||||
SystemConfiguration,
|
|
||||||
nixosTests,
|
nixosTests,
|
||||||
nix-update-script,
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
@ -39,10 +38,7 @@ rustPlatform.buildRustPackage {
|
|||||||
|
|
||||||
nativeBuildInputs = [ rustPlatform.bindgenHook ];
|
nativeBuildInputs = [ rustPlatform.bindgenHook ];
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
|
buildInputs = lib.optional stdenv.hostPlatform.isDarwin apple-sdk_11;
|
||||||
Security
|
|
||||||
SystemConfiguration
|
|
||||||
];
|
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = nix-update-script { };
|
updateScript = nix-update-script { };
|
||||||
|
@ -60,12 +60,30 @@
|
|||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
postgresql,
|
postgresql,
|
||||||
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
args:
|
args:
|
||||||
|
|
||||||
let
|
let
|
||||||
buildPostgresqlExtension = finalAttrs: prevAttrs: {
|
buildPostgresqlExtension =
|
||||||
|
finalAttrs:
|
||||||
|
{
|
||||||
|
enableUpdateScript ? true,
|
||||||
|
...
|
||||||
|
}@prevAttrs:
|
||||||
|
{
|
||||||
|
passthru =
|
||||||
|
prevAttrs.passthru or { }
|
||||||
|
// lib.optionalAttrs enableUpdateScript {
|
||||||
|
updateScript =
|
||||||
|
prevAttrs.passthru.updateScript or (nix-update-script (
|
||||||
|
lib.optionalAttrs (lib.hasInfix "unstable" prevAttrs.version) {
|
||||||
|
extraArgs = [ "--version=branch" ];
|
||||||
|
}
|
||||||
|
));
|
||||||
|
};
|
||||||
|
|
||||||
buildInputs = [ postgresql ] ++ prevAttrs.buildInputs or [ ];
|
buildInputs = [ postgresql ] ++ prevAttrs.buildInputs or [ ];
|
||||||
|
|
||||||
installFlags = [
|
installFlags = [
|
||||||
|
@ -28,6 +28,7 @@ buildPostgresqlExtension rec {
|
|||||||
"PERL=${perl}/bin/perl"
|
"PERL=${perl}/bin/perl"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
enableUpdateScript = false;
|
||||||
passthru.tests = stdenv.mkDerivation {
|
passthru.tests = stdenv.mkDerivation {
|
||||||
inherit version src;
|
inherit version src;
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@ buildPostgresqlExtension (finalAttrs: {
|
|||||||
runHook postPatch
|
runHook postPatch
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
enableUpdateScript = false;
|
||||||
passthru.tests.extension = postgresqlTestExtension {
|
passthru.tests.extension = postgresqlTestExtension {
|
||||||
inherit (finalAttrs) finalPackage;
|
inherit (finalAttrs) finalPackage;
|
||||||
sql = ''
|
sql = ''
|
||||||
|
@ -9,13 +9,13 @@
|
|||||||
|
|
||||||
buildPostgresqlExtension rec {
|
buildPostgresqlExtension rec {
|
||||||
pname = "citus";
|
pname = "citus";
|
||||||
version = "12.1.2";
|
version = "12.1.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "citusdata";
|
owner = "citusdata";
|
||||||
repo = "citus";
|
repo = "citus";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-0uYNMLAYigtGlDRvOEkQeC5i58QfXcdSVjTQwWVFX+8=";
|
hash = "sha256-PYABH4e5Wp5hMvEQMRHjPL7gDVu8Wud6d+BzrBBMjIQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@ -30,7 +30,7 @@ buildPostgresqlExtension rec {
|
|||||||
broken = versionOlder postgresql.version "14" ||
|
broken = versionOlder postgresql.version "14" ||
|
||||||
# PostgreSQL 17 support issue upstream: https://github.com/citusdata/citus/issues/7708
|
# PostgreSQL 17 support issue upstream: https://github.com/citusdata/citus/issues/7708
|
||||||
# Check after next package update.
|
# Check after next package update.
|
||||||
(versionAtLeast postgresql.version "17" && version == "12.1.2");
|
(versionAtLeast postgresql.version "17" && version == "12.1.6");
|
||||||
description = "Distributed PostgreSQL as an extension";
|
description = "Distributed PostgreSQL as an extension";
|
||||||
homepage = "https://www.citusdata.com/";
|
homepage = "https://www.citusdata.com/";
|
||||||
changelog = "https://github.com/citusdata/citus/blob/${src.rev}/CHANGELOG.md";
|
changelog = "https://github.com/citusdata/citus/blob/${src.rev}/CHANGELOG.md";
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
buildPostgresqlExtension rec {
|
buildPostgresqlExtension rec {
|
||||||
pname = "cstore_fdw";
|
pname = "cstore_fdw";
|
||||||
version = "unstable-2022-03-08";
|
version = "1.7.0-unstable-2021-03-08";
|
||||||
|
|
||||||
nativeBuildInputs = [ protobufc ];
|
nativeBuildInputs = [ protobufc ];
|
||||||
|
|
||||||
|
@ -10,21 +10,24 @@
|
|||||||
|
|
||||||
buildPostgresqlExtension (finalAttrs: {
|
buildPostgresqlExtension (finalAttrs: {
|
||||||
pname = "h3-pg";
|
pname = "h3-pg";
|
||||||
version = "4.1.3";
|
version = "4.1.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "zachasme";
|
owner = "zachasme";
|
||||||
repo = "h3-pg";
|
repo = "h3-pg";
|
||||||
rev = "v${finalAttrs.version}";
|
rev = "v${finalAttrs.version}";
|
||||||
hash = "sha256-nkaDZ+JuMtsGUJVx70DD2coLrmc/T8/cNov7pfNF1Eg=";
|
hash = "sha256-uZ4XI/VXRr636CI1r24D6ykPQqO5qZNxNQLUQKmoPtg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace CMakeLists.txt \
|
substituteInPlace CMakeLists.txt \
|
||||||
--replace "add_subdirectory(cmake/h3)" "include_directories(${lib.getDev h3_4}/include/h3)"
|
--replace-fail "add_subdirectory(cmake/h3)" "include_directories(${lib.getDev h3_4}/include/h3)"
|
||||||
'' + lib.optionalString stdenv.hostPlatform.isDarwin ''
|
'' + lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||||
substituteInPlace cmake/AddPostgreSQLExtension.cmake \
|
substituteInPlace cmake/AddPostgreSQLExtension.cmake \
|
||||||
--replace "INTERPROCEDURAL_OPTIMIZATION TRUE" ""
|
--replace-fail "INTERPROCEDURAL_OPTIMIZATION TRUE" ""
|
||||||
|
# Commented upstream: https://github.com/zachasme/h3-pg/pull/141/files#r1844970927
|
||||||
|
substituteInPlace cmake/FindPostgreSQL.cmake \
|
||||||
|
--replace-fail 'list(APPEND PostgreSQL_INCLUDE_DIRS "/usr/local/include")' ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
buildPostgresqlExtension rec {
|
buildPostgresqlExtension rec {
|
||||||
pname = "jsonb_deep_sum";
|
pname = "jsonb_deep_sum";
|
||||||
version = "unstable-2021-12-24";
|
version = "0-unstable-2021-12-24";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "furstenheim";
|
owner = "furstenheim";
|
||||||
|
@ -10,13 +10,13 @@
|
|||||||
|
|
||||||
buildPostgresqlExtension (finalAttrs: {
|
buildPostgresqlExtension (finalAttrs: {
|
||||||
pname = "postgresql-lantern";
|
pname = "postgresql-lantern";
|
||||||
version = "0.4.1";
|
version = "0.5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "lanterndata";
|
owner = "lanterndata";
|
||||||
repo = "lantern";
|
repo = "lantern";
|
||||||
rev = "v${finalAttrs.version}";
|
rev = "v${finalAttrs.version}";
|
||||||
hash = "sha256-V8W61hELXeaVvNZgRUcckFlCMWis7NENlRKySxsK/L8=";
|
hash = "sha256-IsDD/um5pVvbzin8onf45DQVszl+Id/pJSQ2iijgHmg=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
buildPostgresqlExtension rec {
|
buildPostgresqlExtension rec {
|
||||||
pname = "periods";
|
pname = "periods";
|
||||||
version = "1.2.2";
|
version = "1.2.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "xocolatl";
|
owner = "xocolatl";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-ezt+MtDqPM8OmJCD6oQTS644l+XHZoxuivq0PUIXOY8=";
|
sha256 = "sha256-97v6+WNDcYb/KivlE/JBlRIZ3gYHj68AlK0fylp1cPo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -2,23 +2,15 @@
|
|||||||
|
|
||||||
buildPostgresqlExtension rec {
|
buildPostgresqlExtension rec {
|
||||||
pname = "pg_bigm";
|
pname = "pg_bigm";
|
||||||
version = "1.2-20200228";
|
version = "1.2-20240606";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pgbigm";
|
owner = "pgbigm";
|
||||||
repo = "pg_bigm";
|
repo = "pg_bigm";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-3lspEglVWzEUTiRIWqW0DpQe8gDn9R/RxsWuI9znYc8=";
|
hash = "sha256-5Uy1DmGZR4WdtRUvNdZ5b9zBHJUb9idcEzW20rkreBs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Fix compatibility with PostgreSQL 16. Remove with the next release.
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/pgbigm/pg_bigm/commit/2a9d783c52a1d7a2eb414da6f091f6035da76edf.patch";
|
|
||||||
hash = "sha256-LuMpSUPnT8cPChQfA9sJEKP4aGpsbN5crfTKLnDzMN8=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
makeFlags = [ "USE_PGXS=1" ];
|
makeFlags = [ "USE_PGXS=1" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -44,6 +44,8 @@ buildPostgresqlExtension {
|
|||||||
substituteInPlace Makefile --replace "LDFLAGS+=-Wl,--build-id" ""
|
substituteInPlace Makefile --replace "LDFLAGS+=-Wl,--build-id" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
enableUpdateScript = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Extension to tweak PostgreSQL execution plans using so-called 'hints' in SQL comments";
|
description = "Extension to tweak PostgreSQL execution plans using so-called 'hints' in SQL comments";
|
||||||
homepage = "https://github.com/ossc-db/pg_hint_plan";
|
homepage = "https://github.com/ossc-db/pg_hint_plan";
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
buildPostgresqlExtension rec {
|
buildPostgresqlExtension rec {
|
||||||
pname = "pg_net";
|
pname = "pg_net";
|
||||||
version = "0.8.0";
|
version = "0.13.0";
|
||||||
|
|
||||||
buildInputs = [ curl ];
|
buildInputs = [ curl ];
|
||||||
|
|
||||||
@ -10,7 +10,7 @@ buildPostgresqlExtension rec {
|
|||||||
owner = "supabase";
|
owner = "supabase";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-ZPsRPWV1G3lMM2mT+H139Wvgoy8QnmeUbzEnGeDJmZA=";
|
hash = "sha256-FRaTZPCJQPYAFmsJg22hYJJ0+gH1tMdDQoCQgiqEnaA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
env.NIX_CFLAGS_COMPILE = "-Wno-error";
|
env.NIX_CFLAGS_COMPILE = "-Wno-error";
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
buildPostgresqlExtension (finalAttrs: {
|
buildPostgresqlExtension (finalAttrs: {
|
||||||
pname = "pg_repack";
|
pname = "pg_repack";
|
||||||
version = "1.5.0";
|
version = "1.5.1";
|
||||||
|
|
||||||
buildInputs = postgresql.buildInputs;
|
buildInputs = postgresql.buildInputs;
|
||||||
|
|
||||||
@ -17,7 +17,7 @@ buildPostgresqlExtension (finalAttrs: {
|
|||||||
owner = "reorg";
|
owner = "reorg";
|
||||||
repo = "pg_repack";
|
repo = "pg_repack";
|
||||||
rev = "ver_${finalAttrs.version}";
|
rev = "ver_${finalAttrs.version}";
|
||||||
sha256 = "sha256-do80phyMxwcRIkYyUt9z02z7byNQhK+pbSaCUmzG+4c=";
|
sha256 = "sha256-wJwy4qIt6/kgWqT6HbckUVqDayDkixqHpYiC1liLERw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru.tests = {
|
passthru.tests = {
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, fetchpatch, postgresql, unstableGitUpdater, buildPostgresqlExtension }:
|
{ stdenv, lib, fetchFromGitHub, fetchpatch, postgresql, buildPostgresqlExtension }:
|
||||||
|
|
||||||
buildPostgresqlExtension {
|
buildPostgresqlExtension {
|
||||||
pname = "pg_similarity";
|
pname = "pg_similarity";
|
||||||
version = "1.0-unstable-2021-01-12";
|
version = "pg_similarity_1_0-unstable-2021-01-12";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "eulerto";
|
owner = "eulerto";
|
||||||
@ -23,8 +23,6 @@ buildPostgresqlExtension {
|
|||||||
|
|
||||||
makeFlags = [ "USE_PGXS=1" ];
|
makeFlags = [ "USE_PGXS=1" ];
|
||||||
|
|
||||||
passthru.updateScript = unstableGitUpdater {};
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Extension to support similarity queries on PostgreSQL";
|
description = "Extension to support similarity queries on PostgreSQL";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
@ -1,16 +1,17 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, postgresql, postgresqlTestExtension, buildPostgresqlExtension }:
|
{ lib, stdenv, fetchFromGitHub, postgresql, postgresqlTestExtension, buildPostgresqlExtension, nix-update-script }:
|
||||||
|
|
||||||
buildPostgresqlExtension (finalAttrs: {
|
buildPostgresqlExtension (finalAttrs: {
|
||||||
pname = "pg_squeeze";
|
pname = "pg_squeeze";
|
||||||
version = "1.7.0";
|
version = "${builtins.replaceStrings ["_"] ["."] (lib.strings.removePrefix "REL" finalAttrs.src.rev)}";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "cybertec-postgresql";
|
owner = "cybertec-postgresql";
|
||||||
repo = "pg_squeeze";
|
repo = "pg_squeeze";
|
||||||
rev = "REL${builtins.replaceStrings ["."] ["_"] finalAttrs.version}";
|
rev = "REL1_7_0";
|
||||||
hash = "sha256-Kh1wSOvV5Rd1CG/na3yzbWzvaR8SJ6wmTZOnM+lbgik=";
|
hash = "sha256-Kh1wSOvV5Rd1CG/na3yzbWzvaR8SJ6wmTZOnM+lbgik=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
passthru.updateScript = nix-update-script { extraArgs = [ "--version-regex=REL(.*)" ]; };
|
||||||
passthru.tests.extension = postgresqlTestExtension {
|
passthru.tests.extension = postgresqlTestExtension {
|
||||||
inherit (finalAttrs) finalPackage;
|
inherit (finalAttrs) finalPackage;
|
||||||
postgresqlExtraSettings = ''
|
postgresqlExtraSettings = ''
|
||||||
|
@ -7,13 +7,13 @@
|
|||||||
|
|
||||||
buildPostgresqlExtension rec {
|
buildPostgresqlExtension rec {
|
||||||
pname = "pg_uuidv7";
|
pname = "pg_uuidv7";
|
||||||
version = "1.5.0";
|
version = "1.6.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "fboulnois";
|
owner = "fboulnois";
|
||||||
repo = "pg_uuidv7";
|
repo = "pg_uuidv7";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-oVyRtjl3KsD3j96qvQb8bFLMhoWO81OudOL4wVXrjzI=";
|
hash = "sha256-lG6dCnbLALnfQc4uclqXXXfYjK/WXLV0lo5I8l1E5p4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -43,6 +43,8 @@ buildPostgresqlExtension {
|
|||||||
|
|
||||||
makeFlags = [ "USE_PGXS=1" ];
|
makeFlags = [ "USE_PGXS=1" ];
|
||||||
|
|
||||||
|
enableUpdateScript = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Open Source PostgreSQL Audit Logging";
|
description = "Open Source PostgreSQL Audit Logging";
|
||||||
homepage = "https://github.com/pgaudit/pgaudit";
|
homepage = "https://github.com/pgaudit/pgaudit";
|
||||||
|
@ -8,13 +8,13 @@
|
|||||||
|
|
||||||
buildPostgresqlExtension rec {
|
buildPostgresqlExtension rec {
|
||||||
pname = "pgmq";
|
pname = "pgmq";
|
||||||
version = "1.4.4";
|
version = "1.4.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tembo-io";
|
owner = "tembo-io";
|
||||||
repo = "pgmq";
|
repo = "pgmq";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-z+8/BqIlHwlMnuIzMz6eylmYbSmhtsNt7TJf/CxbdVw=";
|
hash = "sha256-ynco5t/z7+IPEynuY1wtSaoVloMr6z7UYn4byZecOhg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "${src.name}/pgmq-extension";
|
sourceRoot = "${src.name}/pgmq-extension";
|
||||||
|
@ -1,18 +1,21 @@
|
|||||||
{ lib, stdenv, fetchurl, pkg-config, postgresql, msgpack-c, groonga, buildPostgresqlExtension }:
|
{ lib, stdenv, fetchFromGitHub, pkg-config, postgresql, msgpack-c, groonga, buildPostgresqlExtension, xxHash }:
|
||||||
|
|
||||||
buildPostgresqlExtension rec {
|
buildPostgresqlExtension rec {
|
||||||
pname = "pgroonga";
|
pname = "pgroonga";
|
||||||
version = "3.2.3";
|
version = "3.2.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://packages.groonga.org/source/${pname}/${pname}-${version}.tar.gz";
|
owner = "pgroonga";
|
||||||
hash = "sha256-k9+DgiLzU2cA3jvw3pMF7/FmDGxsCYtAOaUtf2LMTnw=";
|
repo = "pgroonga";
|
||||||
|
rev = "${version}";
|
||||||
|
hash = "sha256-ZHACMsQ+hneU68Y2jOpz16Mo0jzgXKaVSCZ/qAqCDdI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ msgpack-c groonga ];
|
buildInputs = [ msgpack-c groonga xxHash ];
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
|
"HAVE_XXHASH=1"
|
||||||
"HAVE_MSGPACK=1"
|
"HAVE_MSGPACK=1"
|
||||||
"MSGPACK_PACKAGE_NAME=msgpack-c"
|
"MSGPACK_PACKAGE_NAME=msgpack-c"
|
||||||
];
|
];
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
buildPostgresqlExtension rec {
|
buildPostgresqlExtension rec {
|
||||||
pname = "pgrouting";
|
pname = "pgrouting";
|
||||||
version = "3.6.3";
|
version = "3.7.0";
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake perl ];
|
nativeBuildInputs = [ cmake perl ];
|
||||||
buildInputs = [ boost ];
|
buildInputs = [ boost ];
|
||||||
@ -11,7 +11,7 @@ buildPostgresqlExtension rec {
|
|||||||
owner = "pgRouting";
|
owner = "pgRouting";
|
||||||
repo = "pgrouting";
|
repo = "pgrouting";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-VCoapUM7Vh4W1DUE/gWQ9YIRLbw63XlOWsgajJW+XNU=";
|
hash = "sha256-IwH8bEdyJyPMFYtCfWLRr+jVmS5sOr5QFOhGykGPYh4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
buildPostgresqlExtension rec {
|
buildPostgresqlExtension rec {
|
||||||
pname = "pgsql-http";
|
pname = "pgsql-http";
|
||||||
version = "1.6.0";
|
version = "1.6.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pramsey";
|
owner = "pramsey";
|
||||||
repo = "pgsql-http";
|
repo = "pgsql-http";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-CPHfx7vhWfxkXsoKTzyFuTt47BPMvzi/pi1leGcuD60=";
|
hash = "sha256-C8eqi0q1dnshUAZjIsZFwa5FTYc7vmATF3vv2CReWPM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ curl ];
|
buildInputs = [ curl ];
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
buildPostgresqlExtension rec {
|
buildPostgresqlExtension rec {
|
||||||
pname = "pgvector";
|
pname = "pgvector";
|
||||||
version = "0.6.2";
|
version = "0.8.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pgvector";
|
owner = "pgvector";
|
||||||
repo = "pgvector";
|
repo = "pgvector";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-r+TpFJg6WrMn0L2B7RpmSRvw3XxpHzMRtpFWDCzLvgs=";
|
hash = "sha256-JsZV+I4eRMypXTjGmjCtMBXDVpqTIPHQa28ogXncE/Q=";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
buildPostgresqlExtension (finalAttrs: {
|
buildPostgresqlExtension (finalAttrs: {
|
||||||
pname = "plpgsql-check";
|
pname = "plpgsql-check";
|
||||||
version = "2.7.5";
|
version = "2.7.12";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "okbob";
|
owner = "okbob";
|
||||||
repo = "plpgsql_check";
|
repo = "plpgsql_check";
|
||||||
rev = "v${finalAttrs.version}";
|
rev = "v${finalAttrs.version}";
|
||||||
hash = "sha256-CD/G/wX6o+mC6gowlpFe1DdJWyh3cB9wxSsW2GXrENE=";
|
hash = "sha256-sLakN4595z+Smt7oaK7IPIJZp/JIGwL5UB4OXQek7JU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru.tests.extension = postgresqlTestExtension {
|
passthru.tests.extension = postgresqlTestExtension {
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
buildPostgresqlExtension rec {
|
buildPostgresqlExtension rec {
|
||||||
pname = "plr";
|
pname = "plr";
|
||||||
version = "8.4.7";
|
version = "${builtins.replaceStrings ["_"] ["."] (lib.strings.removePrefix "REL" src.rev)}";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "postgres-plr";
|
owner = "postgres-plr";
|
||||||
repo = "plr";
|
repo = "plr";
|
||||||
rev = "REL${builtins.replaceStrings ["."] ["_"] version}";
|
rev = "REL8_4_7";
|
||||||
sha256 = "sha256-PdvFEmtKfLT/xfaf6obomPR5hKC9F+wqpfi1heBphRk=";
|
sha256 = "sha256-PdvFEmtKfLT/xfaf6obomPR5hKC9F+wqpfi1heBphRk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
fetchurl,
|
fetchFromGitHub,
|
||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
perl,
|
perl,
|
||||||
@ -22,6 +22,10 @@
|
|||||||
jitSupport,
|
jitSupport,
|
||||||
llvm,
|
llvm,
|
||||||
buildPostgresqlExtension,
|
buildPostgresqlExtension,
|
||||||
|
autoconf,
|
||||||
|
automake,
|
||||||
|
libtool,
|
||||||
|
which,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -36,9 +40,11 @@ buildPostgresqlExtension (finalAttrs: {
|
|||||||
"doc"
|
"doc"
|
||||||
];
|
];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://download.osgeo.org/postgis/source/postgis-${finalAttrs.version}.tar.gz";
|
owner = "postgis";
|
||||||
hash = "sha256-ymmKIswrKzRnrE4GO0OihBPzAE3dUFvczddMVqZH9RA=";
|
repo = "postgis";
|
||||||
|
rev = "${finalAttrs.version}";
|
||||||
|
hash = "sha256-wh7Lav2vnKzGWuSvvMFvAaGV7ynD+KgPsFUgujdtzlA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@ -51,8 +57,12 @@ buildPostgresqlExtension (finalAttrs: {
|
|||||||
pcre2.dev
|
pcre2.dev
|
||||||
] ++ lib.optional stdenv.hostPlatform.isDarwin libiconv;
|
] ++ lib.optional stdenv.hostPlatform.isDarwin libiconv;
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
autoconf
|
||||||
|
automake
|
||||||
|
libtool
|
||||||
perl
|
perl
|
||||||
pkg-config
|
pkg-config
|
||||||
|
which
|
||||||
] ++ lib.optional jitSupport llvm;
|
] ++ lib.optional jitSupport llvm;
|
||||||
dontDisableStatic = true;
|
dontDisableStatic = true;
|
||||||
|
|
||||||
@ -70,7 +80,7 @@ buildPostgresqlExtension (finalAttrs: {
|
|||||||
|
|
||||||
setOutputFlags = false;
|
setOutputFlags = false;
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
sed -i 's@/usr/bin/file@${file}/bin/file@' configure
|
./autogen.sh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
|
@ -10,13 +10,13 @@
|
|||||||
|
|
||||||
buildPostgresqlExtension rec {
|
buildPostgresqlExtension rec {
|
||||||
pname = "repmgr";
|
pname = "repmgr";
|
||||||
version = "5.4.1";
|
version = "5.5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "EnterpriseDB";
|
owner = "EnterpriseDB";
|
||||||
repo = "repmgr";
|
repo = "repmgr";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-OaEoP1BajVW9dt8On9Ppf8IXmAk47HHv8zKw3WlsLHw=";
|
sha256 = "sha256-8G2CzzkWTKEglpUt1Gr7d/DuHJvCIEjsbYDMl3Zt3cs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ flex ];
|
nativeBuildInputs = [ flex ];
|
||||||
@ -29,9 +29,6 @@ buildPostgresqlExtension rec {
|
|||||||
license = licenses.postgresql;
|
license = licenses.postgresql;
|
||||||
platforms = postgresql.meta.platforms;
|
platforms = postgresql.meta.platforms;
|
||||||
maintainers = with maintainers; [ zimbatm ];
|
maintainers = with maintainers; [ zimbatm ];
|
||||||
# PostgreSQL 17 support issue upstream: https://github.com/EnterpriseDB/repmgr/issues/856
|
|
||||||
# Check after next package update.
|
|
||||||
broken = versionAtLeast postgresql.version "17" && version == "5.4.1";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -8,12 +8,14 @@
|
|||||||
|
|
||||||
buildPostgresqlExtension rec {
|
buildPostgresqlExtension rec {
|
||||||
pname = "wal2json";
|
pname = "wal2json";
|
||||||
version = "2.6";
|
version = "${builtins.replaceStrings [ "_" ] [ "." ] (
|
||||||
|
lib.strings.removePrefix "wal2json_" src.rev
|
||||||
|
)}";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "eulerto";
|
owner = "eulerto";
|
||||||
repo = "wal2json";
|
repo = "wal2json";
|
||||||
rev = "wal2json_${builtins.replaceStrings [ "." ] [ "_" ] version}";
|
rev = "wal2json_2_6";
|
||||||
sha256 = "sha256-+QoACPCKiFfuT2lJfSUmgfzC5MXf75KpSoc2PzPxKyM=";
|
sha256 = "sha256-+QoACPCKiFfuT2lJfSUmgfzC5MXf75KpSoc2PzPxKyM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -24,7 +26,7 @@ buildPostgresqlExtension rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "PostgreSQL JSON output plugin for changeset extraction";
|
description = "PostgreSQL JSON output plugin for changeset extraction";
|
||||||
homepage = "https://github.com/eulerto/wal2json";
|
homepage = "https://github.com/eulerto/wal2json";
|
||||||
changelog = "https://github.com/eulerto/wal2json/releases/tag/wal2json_${version}";
|
changelog = "https://github.com/eulerto/wal2json/releases/tag/${src.rev}";
|
||||||
maintainers = with maintainers; [ euank ];
|
maintainers = with maintainers; [ euank ];
|
||||||
platforms = postgresql.meta.platforms;
|
platforms = postgresql.meta.platforms;
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
|
@ -104,6 +104,7 @@ mapAliases {
|
|||||||
alsaUtils = throw "'alsaUtils' has been renamed to/replaced by 'alsa-utils'"; # Converted to throw 2024-10-17
|
alsaUtils = throw "'alsaUtils' has been renamed to/replaced by 'alsa-utils'"; # Converted to throw 2024-10-17
|
||||||
angelfish = throw "'angelfish' has been renamed to/replaced by 'libsForQt5.kdeGear.angelfish'"; # Converted to throw 2024-10-17
|
angelfish = throw "'angelfish' has been renamed to/replaced by 'libsForQt5.kdeGear.angelfish'"; # Converted to throw 2024-10-17
|
||||||
ansible_2_14 = throw "Ansible 2.14 goes end of life in 2024/05 and can't be supported throughout the 24.05 release cycle"; # Added 2024-04-11
|
ansible_2_14 = throw "Ansible 2.14 goes end of life in 2024/05 and can't be supported throughout the 24.05 release cycle"; # Added 2024-04-11
|
||||||
|
ansible_2_15 = throw "Ansible 2.15 goes end of life in 2024/11 and can't be supported throughout the 24.11 release cycle"; # Added 2024-11-08
|
||||||
antennas = throw "antennas has been removed as it only works with tvheadend, which nobody was willing to maintain and was stuck on an unmaintained version that required FFmpeg 4; please see https://github.com/NixOS/nixpkgs/pull/332259 if you are interested in maintaining a newer version"; # Added 2024-08-21
|
antennas = throw "antennas has been removed as it only works with tvheadend, which nobody was willing to maintain and was stuck on an unmaintained version that required FFmpeg 4; please see https://github.com/NixOS/nixpkgs/pull/332259 if you are interested in maintaining a newer version"; # Added 2024-08-21
|
||||||
androidndkPkgs_23b = lib.warn "The package set `androidndkPkgs_23b` has been renamed to `androidndkPkgs_23`." androidndkPkgs_23; # Added 2024-07-21
|
androidndkPkgs_23b = lib.warn "The package set `androidndkPkgs_23b` has been renamed to `androidndkPkgs_23`." androidndkPkgs_23; # Added 2024-07-21
|
||||||
ankisyncd = throw "ankisyncd is dead, use anki-sync-server instead"; # Added 2024-08-10
|
ankisyncd = throw "ankisyncd is dead, use anki-sync-server instead"; # Added 2024-08-10
|
||||||
|
@ -4250,9 +4250,7 @@ with pkgs;
|
|||||||
hdf5 = hdf5.override { usev110Api = true; };
|
hdf5 = hdf5.override { usev110Api = true; };
|
||||||
};
|
};
|
||||||
|
|
||||||
meilisearch = callPackage ../servers/search/meilisearch {
|
meilisearch = callPackage ../servers/search/meilisearch { };
|
||||||
inherit (darwin.apple_sdk_11_0.frameworks) Security SystemConfiguration;
|
|
||||||
};
|
|
||||||
|
|
||||||
mhonarc = perlPackages.MHonArc;
|
mhonarc = perlPackages.MHonArc;
|
||||||
|
|
||||||
@ -7848,14 +7846,6 @@ with pkgs;
|
|||||||
hash = "sha256-WeSqQO1azbTvm789BYkY//k/ZqFJNz2BWciilgRBC9o=";
|
hash = "sha256-WeSqQO1azbTvm789BYkY//k/ZqFJNz2BWciilgRBC9o=";
|
||||||
};
|
};
|
||||||
}));
|
}));
|
||||||
ansible_2_15 = python3Packages.toPythonApplication (python3Packages.ansible-core.overridePythonAttrs (oldAttrs: rec {
|
|
||||||
version = "2.15.9";
|
|
||||||
src = oldAttrs.src.override {
|
|
||||||
inherit version;
|
|
||||||
pname = "ansible-core";
|
|
||||||
hash = "sha256-JfmxtaWvPAmGvTko7QhurduGdSf7XIOv7xoDz60080U=";
|
|
||||||
};
|
|
||||||
}));
|
|
||||||
|
|
||||||
ansible-builder = with python3Packages; toPythonApplication ansible-builder;
|
ansible-builder = with python3Packages; toPythonApplication ansible-builder;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user