Skip to content

Commit

Permalink
Merge pull request #137535 from SuperSandro2000/gnuk
Browse files Browse the repository at this point in the history
gnuk: switch to python3
  • Loading branch information
SuperSandro2000 authored Sep 12, 2021
2 parents 364b555 + e3cf7c1 commit b170143
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgs/misc/gnuk/generic.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, stdenv, gcc-arm-embedded, binutils-arm-embedded, makeWrapper
, python2Packages
, python3Packages

# Extra options
, device ? "fsij", vid ? "234b", pid ? "0000"
Expand All @@ -15,7 +15,7 @@ stdenv.mkDerivation {
inherit src;

nativeBuildInputs = [ gcc-arm-embedded binutils-arm-embedded makeWrapper ];
buildInputs = with python2Packages; [ python pyusb colorama ];
buildInputs = with python3Packages; [ python pyusb colorama ];

configurePhase = ''
cd src
Expand Down Expand Up @@ -44,7 +44,7 @@ stdenv.mkDerivation {
'';

meta = with lib; {
homepage = "http://www.fsij.org/pages/gnuk";
homepage = "https://www.fsij.org/doc-gnuk/";
description = "An implementation of USB cryptographic token for gpg";
license = licenses.gpl3;
platforms = with platforms; linux;
Expand Down

0 comments on commit b170143

Please sign in to comment.