libyubikey: Reformat derivation

This commit is contained in:
William A. Kennington III 2014-10-24 16:33:36 -07:00
parent f75e5330f3
commit 5204bdaf6b
2 changed files with 10 additions and 13 deletions

View File

@ -1,21 +1,18 @@
{stdenv, fetchurl}:
{ stdenv, fetchurl }:
stdenv.mkDerivation rec
{
version = "1.12";
name = "libyubikey-${version}";
stdenv.mkDerivation rec {
name = "libyubikey-1.12";
src = fetchurl
{
url = "http://opensource.yubico.com/yubico-c/releases/${name}.tar.gz";
src = fetchurl {
url = "https://developers.yubico.com/yubico-c/Releases/${name}.tar.gz";
sha256 = "1f0plzmr1gwry4rfgq9q70v6qwqny009hac289ad5m6sj7vqflxr";
};
meta =
{
meta = with stdenv.lib; {
homepage = "http://opensource.yubico.com/yubico-c/";
description = "C library for manipulating Yubico YubiKey One-Time Passwords (OTPs)";
license = "bsd";
maintainers = [ stdenv.lib.maintainers.calrama ];
license = licenses.bsd2;
maintainers = with maintainers; [ calrama wkennington ];
platforms = platforms.unix;
};
}

View File

@ -6082,7 +6082,7 @@ let
libyamlcpp = callPackage ../development/libraries/libyaml-cpp { };
libyubikey = callPackage ../development/libraries/libyubikey {};
libyubikey = callPackage ../development/libraries/libyubikey { };
libzip = callPackage ../development/libraries/libzip { };