2018-07-21 00:44:44 +00:00
|
|
|
{ stdenv, fetchurl, python27Packages
|
2016-04-16 11:24:53 +00:00
|
|
|
, libykneomgr, yubikey-personalization, libu2f-host }:
|
|
|
|
|
|
|
|
python27Packages.buildPythonPackage rec {
|
|
|
|
namePrefix = "";
|
|
|
|
name = "yubikey-neo-manager-${version}";
|
|
|
|
version = "1.4.0";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://developers.yubico.com/yubikey-neo-manager/Releases/${name}.tar.gz";
|
|
|
|
sha256 = "1isxvx27hk0avxwgwcwys2z8ickfs816ii1aklvmi09ak1rgrf1g";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python27Packages; [ pyside pycrypto ];
|
|
|
|
patches = [ ./fix-pyside-requirement.diff ];
|
|
|
|
|
|
|
|
# aid ctypes load_libary()
|
|
|
|
makeWrapperArgs = [
|
|
|
|
"--set LD_PRELOAD '${libykneomgr}/lib/libykneomgr.so ${yubikey-personalization}/lib/libykpers-1.so ${libu2f-host}/lib/libu2f-host.so'"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://developers.yubico.com/yubikey-neo-manager";
|
2016-04-16 11:24:53 +00:00
|
|
|
description = "Cross platform personalization tool for the YubiKey NEO";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ mbakke ];
|
|
|
|
};
|
|
|
|
}
|