Merge pull request #137535 from SuperSandro2000/gnuk
gnuk: switch to python3
This commit is contained in:
commit
b170143b4c
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
{ lib, stdenv, gcc-arm-embedded, binutils-arm-embedded, makeWrapper
|
{ lib, stdenv, gcc-arm-embedded, binutils-arm-embedded, makeWrapper
|
||||||
, python2Packages
|
, python3Packages
|
||||||
|
|
||||||
# Extra options
|
# Extra options
|
||||||
, device ? "fsij", vid ? "234b", pid ? "0000"
|
, device ? "fsij", vid ? "234b", pid ? "0000"
|
||||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation {
|
||||||
inherit src;
|
inherit src;
|
||||||
|
|
||||||
nativeBuildInputs = [ gcc-arm-embedded binutils-arm-embedded makeWrapper ];
|
nativeBuildInputs = [ gcc-arm-embedded binutils-arm-embedded makeWrapper ];
|
||||||
buildInputs = with python2Packages; [ python pyusb colorama ];
|
buildInputs = with python3Packages; [ python pyusb colorama ];
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
cd src
|
cd src
|
||||||
|
@ -44,7 +44,7 @@ stdenv.mkDerivation {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
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";
|
description = "An implementation of USB cryptographic token for gpg";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
platforms = with platforms; linux;
|
platforms = with platforms; linux;
|
||||||
|
|
Loading…
Reference in a new issue