nixpkgs/pkgs/development/libraries/libyubikey/default.nix

18 lines
488 B
Nix
Raw Normal View History

2014-10-25 00:33:36 +01:00
{ stdenv, fetchurl }:
2014-01-25 02:13:34 +00:00
2014-10-25 00:33:36 +01:00
stdenv.mkDerivation rec {
2015-03-09 23:57:32 +00:00
name = "libyubikey-1.13";
2014-01-25 02:13:34 +00:00
2014-10-25 00:33:36 +01:00
src = fetchurl {
url = "https://developers.yubico.com/yubico-c/Releases/${name}.tar.gz";
2015-03-09 23:57:32 +00:00
sha256 = "009l3k2zyn06dbrlja2d4p2vfnzjhlcqxi88v02mlrnb17mx1v84";
2014-01-25 02:13:34 +00:00
};
2014-10-25 00:33:36 +01:00
meta = with stdenv.lib; {
homepage = http://opensource.yubico.com/yubico-c/;
description = "C library for manipulating Yubico YubiKey One-Time Passwords (OTPs)";
2014-10-25 00:33:36 +01:00
license = licenses.bsd2;
platforms = platforms.unix;
2014-01-25 02:13:34 +00:00
};
}