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,
python3Packages,
# Extra options
# Default FSIJ IDs
vid ? "234b",
pid ? "0000",
}:
@ -30,6 +30,7 @@ stdenv.mkDerivation (finalAttrs: {
binutils-arm-embedded
makeWrapper
];
buildInputs = with python3Packages; [
python
pyusb
@ -61,10 +62,12 @@ stdenv.mkDerivation (finalAttrs: {
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.
};
})