libyubikey: Reformat derivation
This commit is contained in:
parent
f75e5330f3
commit
5204bdaf6b
@ -1,21 +1,18 @@
|
|||||||
{stdenv, fetchurl}:
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec
|
stdenv.mkDerivation rec {
|
||||||
{
|
name = "libyubikey-1.12";
|
||||||
version = "1.12";
|
|
||||||
name = "libyubikey-${version}";
|
|
||||||
|
|
||||||
src = fetchurl
|
src = fetchurl {
|
||||||
{
|
url = "https://developers.yubico.com/yubico-c/Releases/${name}.tar.gz";
|
||||||
url = "http://opensource.yubico.com/yubico-c/releases/${name}.tar.gz";
|
|
||||||
sha256 = "1f0plzmr1gwry4rfgq9q70v6qwqny009hac289ad5m6sj7vqflxr";
|
sha256 = "1f0plzmr1gwry4rfgq9q70v6qwqny009hac289ad5m6sj7vqflxr";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta =
|
meta = with stdenv.lib; {
|
||||||
{
|
|
||||||
homepage = "http://opensource.yubico.com/yubico-c/";
|
homepage = "http://opensource.yubico.com/yubico-c/";
|
||||||
description = "C library for manipulating Yubico YubiKey One-Time Passwords (OTPs)";
|
description = "C library for manipulating Yubico YubiKey One-Time Passwords (OTPs)";
|
||||||
license = "bsd";
|
license = licenses.bsd2;
|
||||||
maintainers = [ stdenv.lib.maintainers.calrama ];
|
maintainers = with maintainers; [ calrama wkennington ];
|
||||||
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -6082,7 +6082,7 @@ let
|
|||||||
|
|
||||||
libyamlcpp = callPackage ../development/libraries/libyaml-cpp { };
|
libyamlcpp = callPackage ../development/libraries/libyaml-cpp { };
|
||||||
|
|
||||||
libyubikey = callPackage ../development/libraries/libyubikey {};
|
libyubikey = callPackage ../development/libraries/libyubikey { };
|
||||||
|
|
||||||
libzip = callPackage ../development/libraries/libzip { };
|
libzip = callPackage ../development/libraries/libzip { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user