| 18 Jun 2023 |
@kranzes:matrix.org | havent thought much about this tbh | 14:43:35 |
@kranzes:matrix.org | just a shower thought i had | 14:43:38 |
raitobezarius | I'd advise against doing speculations | 14:47:10 |
raitobezarius | and use rather file+(git|hg|...):// | 14:47:16 |
| 19 Jun 2023 |
| @charlycoste:matrix.org left the room. | 11:24:50 |
| Andrew Morgan (anoa) {he/him} [off; back Jan 5] changed their display name from Andrew Morgan (anoa) [GMT-6] to Andrew Morgan (anoa) [away; back 26th]. | 23:48:49 |
| 21 Jun 2023 |
figsoda | I think I will cut a release soon | 00:57:36 |
figsoda | mostly for cargo 0.71 sparse by default and https://github.com/nix-community/nix-init/commit/f998c8718044a34af91db6ce1e815490cf66577b | 00:58:08 |
| 22 Jun 2023 |
| @archive:matrix.org set their display name to archive.matrix.org/faq. | 05:27:40 |
| 23 Jun 2023 |
| Timo ⚡️ changed their profile picture. | 18:57:31 |
| 26 Jun 2023 |
| Andrew Morgan (anoa) {he/him} [off; back Jan 5] changed their display name from Andrew Morgan (anoa) [away; back 26th] to Andrew Morgan (anoa) [GMT-6]. | 18:05:46 |
| 1 Jul 2023 |
figsoda | just added dependency inference support for go | 20:57:38 |
figsoda | doesn't do a whole lot at the moment, but works | 20:58:06 |
| 3 Jul 2023 |
| Andrew Morgan (anoa) {he/him} [off; back Jan 5] changed their display name from Andrew Morgan (anoa) [GMT-6] to Andrew Morgan (anoa). | 05:04:17 |
| Andrew Morgan (anoa) {he/him} [off; back Jan 5] 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 |