gnuk: set as broken, use correct homepage in meta and remove nested with expression

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>

Changed files
+8 -5
pkgs
misc
+8 -5
pkgs/misc/gnuk/default.nix
···
makeWrapper,
python3Packages,
-
# Extra options
+
# Default FSIJ IDs
vid ? "234b",
pid ? "0000",
}:
···
binutils-arm-embedded
makeWrapper
];
+
buildInputs = with python3Packages; [
python
pyusb
···
chmod +x $out/bin/{unlock,flash}
'';
-
meta = with lib; {
-
homepage = "https://www.fsij.org/doc-gnuk/";
+
meta = {
+
homepage = "https://www.fsij.org/category/gnuk.html";
description = "Implementation of USB cryptographic token for gpg";
-
license = licenses.gpl3;
-
platforms = with platforms; linux;
+
license = lib.licenses.gpl3;
+
platforms = lib.platforms.linux;
+
maintainers = [ ];
+
broken = true; # Needs Picolib, which is not packaged in Nixpkgs.
};
})