mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 21:57:02 +03:00
00a919bb7d
The version bump was required to work with my yubikey 4 nano.
24 lines
611 B
Nix
24 lines
611 B
Nix
{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 ];
|
|
};
|
|
}
|