| 3 Jul 2023 |
| Andrew Morgan (anoa) {he/him} [away; back Mar 10] changed their profile picture. | 08:09:42 |
| 6 Jul 2023 |
figsoda | v0.2.4 is here
https://discourse.nixos.org/t/25035/17 | 22:13:52 |
| 7 Jul 2023 |
@kranzes:matrix.org | figsoda: I just tried using the Go dependency inference feature on unpackerr and it created this expression:
{ lib
, buildGoModule
, fetchFromGitHub
, pkg-config
, stdenv
, darwin
, libayatana-appindicator
, xorg
}:
buildGoModule rec {
pname = "unpackerr";
version = "0.11.2";
src = fetchFromGitHub {
owner = "Unpackerr";
repo = "unpackerr";
rev = "v${version}";
hash = "sha256-Jxg1gaMTJ/BbL8TQfPcyt1hYnT/LcL4j+m+jSeh5QyA=";
};
vendorHash = "sha256-yXFIBWOF72nXmT8+OSvF1aKBhCMBloLmGTfvNbV9ir4=";
nativeBuildInputs = [
pkg-config
];
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Cocoa
darwin.apple_sdk.frameworks.Kernel
darwin.apple_sdk.frameworks.WebKit
] ++ lib.optionals stdenv.isLinux [
libayatana-appindicator
xorg.libX11
xorg.libXcursor
xorg.libXi
xorg.libXinerama
xorg.libXrandr
];
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Extracts downloads for Radarr, Sonarr, Lidarr, Readarr, and/or a Watch folder - Deletes extracted files after import";
homepage = "https://github.com/Unpackerr/unpackerr";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}
| 22:04:31 |
@kranzes:matrix.org | while the one in nixpkgs is this ``` { lib, stdenv, fetchFromGitHub, buildGoModule, Cocoa, WebKit }:
buildGoModule rec { pname = "unpackerr"; version = "0.11.2";
src = fetchFromGitHub { owner = "davidnewhall"; repo = "unpackerr"; rev = "v${version}"; sha256 = "sha256-Jxg1gaMTJ/BbL8TQfPcyt1hYnT/LcL4j+m+jSeh5QyA="; };
vendorHash = "sha256-yXFIBWOF72nXmT8+OSvF1aKBhCMBloLmGTfvNbV9ir4=";
buildInputs = lib.optionals stdenv.isDarwin [ Cocoa WebKit ];
ldflags = [ "-s" "-w" "-X golift.io/version.Version=${version}" ];
meta = with lib; { description = "Extracts downloads for Radarr, Sonarr, Lidarr - Deletes extracted files after import"; homepage = "https://github.com/davidnewhall/unpackerr"; maintainers = with maintainers; [ nullx76 ]; license = licenses.mit; }; }
| 22:04:47 |
@kranzes:matrix.org | * while the one in nixpkgs is this
{ lib, stdenv, fetchFromGitHub, buildGoModule, Cocoa, WebKit }:
buildGoModule rec {
pname = "unpackerr";
version = "0.11.2";
src = fetchFromGitHub {
owner = "davidnewhall";
repo = "unpackerr";
rev = "v${version}";
sha256 = "sha256-Jxg1gaMTJ/BbL8TQfPcyt1hYnT/LcL4j+m+jSeh5QyA=";
};
vendorHash = "sha256-yXFIBWOF72nXmT8+OSvF1aKBhCMBloLmGTfvNbV9ir4=";
buildInputs = lib.optionals stdenv.isDarwin \[ Cocoa WebKit \];
ldflags = \[ "-s" "-w" "-X golift.io/version.Version=${version}" \];
meta = with lib; {
description = "Extracts downloads for Radarr, Sonarr, Lidarr - Deletes extracted files after import";
homepage = "https://github.com/davidnewhall/unpackerr";
maintainers = with maintainers; \[ nullx76 \];
license = licenses.mit;
};
}
| 22:04:58 |
@kranzes:matrix.org | * while the one in nixpkgs is this
{ lib, stdenv, fetchFromGitHub, buildGoModule, Cocoa, WebKit }:
buildGoModule rec {
pname = "unpackerr";
version = "0.11.2";
src = fetchFromGitHub {
owner = "davidnewhall";
repo = "unpackerr";
rev = "v${version}";
sha256 = "sha256-Jxg1gaMTJ/BbL8TQfPcyt1hYnT/LcL4j+m+jSeh5QyA=";
};
vendorHash = "sha256-yXFIBWOF72nXmT8+OSvF1aKBhCMBloLmGTfvNbV9ir4=";
buildInputs = lib.optionals stdenv.isDarwin [ Cocoa WebKit ];
ldflags = [ "-s" "-w" "-X golift.io/version.Version=${version}" ];
meta = with lib; {
description = "Extracts downloads for Radarr, Sonarr, Lidarr - Deletes extracted files after import";
homepage = "https://github.com/davidnewhall/unpackerr";
maintainers = with maintainers; [ nullx76 ];
license = licenses.mit;
};
}
| 22:05:21 |
@kranzes:matrix.org | it seems like nix-init added dependencies that aren't actually needed | 22:05:35 |
@kranzes:matrix.org | [kranzes@pongo ~]$ ldd result/bin/unpackerr
linux-vdso.so.1 (0x00007ffdc5c5e000)
libresolv.so.2 => /nix/store/wpgrc564ys39vbyv0m50qxmq8dvhi7cc-glibc-2.37-8/lib/libresolv.so.2 (0x00007f2a5a14d000)
libpthread.so.0 => /nix/store/wpgrc564ys39vbyv0m50qxmq8dvhi7cc-glibc-2.37-8/lib/libpthread.so.0 (0x00007f2a5a148000)
libc.so.6 => /nix/store/wpgrc564ys39vbyv0m50qxmq8dvhi7cc-glibc-2.37-8/lib/libc.so.6 (0x00007f2a59f62000)
/nix/store/wpgrc564ys39vbyv0m50qxmq8dvhi7cc-glibc-2.37-8/lib/ld-linux-x86-64.so.2 => /nix/store/wpgrc564ys39vbyv0m50qxmq8dvhi7cc-glibc-2.37-8/lib64/ld-linux-x86-64.so.2 (0x00007f2a5a162000)
| 22:05:44 |
figsoda | hmm that looks like glfw | 22:05:55 |
figsoda | I think I will disable the glfw stuff for now | 22:06:05 |
figsoda | I saw another package recently that had false positives | 22:07:08 |
figsoda | Ilan Joselevich (Kranzes) could you take a look at https://github.com/nix-community/nix-init/pull/186? | 22:07:35 |
@kranzes:matrix.org | still compiling 😠| 22:19:22 |
@kranzes:matrix.org | figsodaI think the glfw stuff is actually for this subPackage which isn't installed by default https://github.com/Unpackerr/unpackerr/tree/main/pkg/ui | 22:20:53 |
figsoda | ah that makes sense | 22:21:08 |
@kranzes:matrix.org | It generated this
{ lib
, buildGoModule
, fetchFromGitHub
, pkg-config
, stdenv
, darwin
, libayatana-appindicator
}:
buildGoModule rec {
pname = "unpackerr";
version = "0.11.2";
src = fetchFromGitHub {
owner = "Unpackerr";
repo = "unpackerr";
rev = "v${version}";
hash = "sha256-Jxg1gaMTJ/BbL8TQfPcyt1hYnT/LcL4j+m+jSeh5QyA=";
};
vendorHash = "sha256-yXFIBWOF72nXmT8+OSvF1aKBhCMBloLmGTfvNbV9ir4=";
nativeBuildInputs = [
pkg-config
];
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Cocoa
darwin.apple_sdk.frameworks.WebKit
] ++ lib.optionals stdenv.isLinux [
libayatana-appindicator
];
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Extracts downloads for Radarr, Sonarr, Lidarr, Readarr, and/or a Watch folder - Deletes extracted files after import";
homepage = "https://github.com/Unpackerr/unpackerr";
license = licenses.mit;
};
}
| 22:22:10 |
figsoda | thats probably also from the ui | 22:22:37 |
@kranzes:matrix.org | not sure about libayatana-appindicator | 22:22:40 |
@kranzes:matrix.org | yeah | 22:22:41 |
figsoda | hmm the two darwin dependencies comes from the same go package | 22:23:32 |
figsoda | github.com/getlantern/systray | 22:23:36 |
figsoda | oh | 22:27:13 |
figsoda | so it seems like this dependency is only for windows and darwin | 22:27:22 |
figsoda | https://github.com/Unpackerr/unpackerr/blob/5e783174c381caa94132cf71b8669416481808c9/pkg/unpackerr/tray.go#L1 | 22:27:22 |
figsoda | idk what I can do with that, I would have to parse go files | 22:27:34 |
@kranzes:matrix.org | Cringe | 22:49:10 |
@kranzes:matrix.org | Go once again proving that it has one of the worst packaging ecosystem out of any other modern language | 22:49:59 |
| 9 Jul 2023 |
| @kokern:matrix.org changed their profile picture. | 22:28:39 |
| 10 Jul 2023 |
@blaggacao:matrix.org | Is there a mapper for nixpkgs moves like this?
error: poetry was promoted to a top-level attribute, use poetry-core to build Python packages
| 01:21:56 |
@blaggacao:matrix.org | Not sure if this should be a nix-init concern, though. | 01:22:07 |