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

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
This commit is contained in:
Fernando Rodrigues 2024-10-31 15:42:01 +00:00
parent cab0d917f4
commit ec8cc3e717
No known key found for this signature in database
GPG Key ID: CC3AE2EA00000000

View File

@ -7,7 +7,7 @@
makeWrapper, makeWrapper,
python3Packages, python3Packages,
# Extra options # Default FSIJ IDs
vid ? "234b", vid ? "234b",
pid ? "0000", pid ? "0000",
}: }:
@ -30,6 +30,7 @@ stdenv.mkDerivation (finalAttrs: {
binutils-arm-embedded binutils-arm-embedded
makeWrapper makeWrapper
]; ];
buildInputs = with python3Packages; [ buildInputs = with python3Packages; [
python python
pyusb pyusb
@ -61,10 +62,12 @@ stdenv.mkDerivation (finalAttrs: {
chmod +x $out/bin/{unlock,flash} chmod +x $out/bin/{unlock,flash}
''; '';
meta = with lib; { meta = {
homepage = "https://www.fsij.org/doc-gnuk/"; homepage = "https://www.fsij.org/category/gnuk.html";
description = "Implementation of USB cryptographic token for gpg"; description = "Implementation of USB cryptographic token for gpg";
license = licenses.gpl3; license = lib.licenses.gpl3;
platforms = with platforms; linux; platforms = lib.platforms.linux;
maintainers = [ ];
broken = true; # Needs Picolib, which is not packaged in Nixpkgs.
}; };
}) })