mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
Merge pull request #23765 from benley/ykpers-duplicate
ykpers: consolidate into yubikey-personalization
This commit is contained in:
commit
9e6fe2e4f2
@ -434,8 +434,8 @@ in
|
||||
chmod +x $out/bin/cryptsetup-askpass
|
||||
|
||||
${optionalString luks.yubikeySupport ''
|
||||
copy_bin_and_libs ${pkgs.ykpers}/bin/ykchalresp
|
||||
copy_bin_and_libs ${pkgs.ykpers}/bin/ykinfo
|
||||
copy_bin_and_libs ${pkgs.yubikey-personalization}/bin/ykchalresp
|
||||
copy_bin_and_libs ${pkgs.yubikey-personalization}/bin/ykinfo
|
||||
copy_bin_and_libs ${pkgs.openssl.bin}/bin/openssl
|
||||
|
||||
cc -O3 -I${pkgs.openssl.dev}/include -L${pkgs.openssl.out}/lib ${./pbkdf2-sha512.c} -o pbkdf2-sha512 -lcrypto
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchFromGitHub, wxGTK, libuuid, xercesc, zip , libXt, libXtst
|
||||
, libXi, xextproto, gettext, perl, pkgconfig, libyubikey, ykpers
|
||||
, libXi, xextproto, gettext, perl, pkgconfig, libyubikey, yubikey-personalization
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -14,12 +14,12 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
makefile = "Makefile.linux";
|
||||
makeFlags = "YBPERS_LIBPATH=${ykpers}/lib";
|
||||
makeFlags = "YBPERS_LIBPATH=${yubikey-personalization}/lib";
|
||||
|
||||
buildFlags = "unicoderelease";
|
||||
buildInputs = [ wxGTK libuuid gettext perl zip
|
||||
xercesc libXt libXtst libXi xextproto
|
||||
pkgconfig libyubikey ykpers ];
|
||||
pkgconfig libyubikey yubikey-personalization ];
|
||||
|
||||
postPatch = ''
|
||||
# Fix perl scripts used during the build.
|
||||
|
@ -1,24 +0,0 @@
|
||||
{stdenv, fetchurl, pkgconfig, libusb1, libyubikey}:
|
||||
|
||||
stdenv.mkDerivation rec
|
||||
{
|
||||
version = "1.17.2";
|
||||
name = "ykpers-${version}";
|
||||
|
||||
src = fetchurl
|
||||
{
|
||||
url = "http://opensource.yubico.com/yubikey-personalization/releases/${name}.tar.gz";
|
||||
sha256 = "1z6ybpdhl74phwzg2lhxhipqf7xnfhg52dykkzb3fbx21m0i4jkh";
|
||||
};
|
||||
|
||||
buildInputs = [pkgconfig libusb1 libyubikey];
|
||||
|
||||
meta =
|
||||
{
|
||||
homepage = "http://opensource.yubico.com/yubikey-personalization/";
|
||||
description = "YubiKey Personalization cross-platform library and tool";
|
||||
license = "bsd";
|
||||
maintainers = [ stdenv.lib.maintainers.calrama ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -28,6 +28,6 @@ stdenv.mkDerivation rec {
|
||||
description = "A library and command line tool to personalize YubiKeys";
|
||||
license = licenses.bsd2;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ wkennington ];
|
||||
maintainers = with maintainers; [ wkennington calrama ];
|
||||
};
|
||||
}
|
||||
|
@ -16185,8 +16185,6 @@ with pkgs;
|
||||
|
||||
inherit (gnome3) yelp;
|
||||
|
||||
ykpers = callPackage ../applications/misc/ykpers {};
|
||||
|
||||
yoshimi = callPackage ../applications/audio/yoshimi { };
|
||||
|
||||
inherit (python3Packages) you-get;
|
||||
|
Loading…
Reference in New Issue
Block a user