libzxcvbn: init at 2.3 (#33822)

* Add package libzxcvbn

* zxcvbn-c: name after the project not the library
This commit is contained in:
xurei 2018-01-13 11:40:45 +01:00 committed by Jörg Thalheim
parent a896574a0b
commit b9ae8efca5
3 changed files with 27 additions and 0 deletions

View File

@ -732,6 +732,7 @@
wyvie = "Elijah Rum <elijahrum@gmail.com>";
xaverdh = "Dominik Xaver Hörl <hoe.dom@gmx.de>";
xnwdd = "Guillermo NWDD <nwdd+nixos@no.team>";
xurei = "Olivier Bourdoux <olivier.bourdoux@gmail.com>";
xvapx = "Marti Serra <marti.serra.coscollano@gmail.com>";
xwvvvvwx = "David Terry <davidterry@posteo.de>";
xzfc = "Albert Safin <xzfcpw@gmail.com>";

View File

@ -0,0 +1,24 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "zxcvbn-c-${version}";
version = "2.3";
src = fetchFromGitHub {
owner = "tsyrogit";
repo = "zxcvbn-c";
rev = "v${version}";
sha256 = "1m097b4qq1r3kk4b236pc3mpaj22il9fh43ifagad5wy54x8zf7b";
};
installPhase = ''
install -D -t $out/lib libzxcvbn.so*
'';
meta = with stdenv.lib; {
homepage = https://github.com/tsyrogit/zxcvbn-c;
description = "A C/C++ implementation of the zxcvbn password strength estimation";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ xurei ];
};
}

View File

@ -20126,6 +20126,8 @@ with pkgs;
zsnes = callPackage_i686 ../misc/emulators/zsnes { };
zxcvbn-c = callPackage ../development/libraries/zxcvbn-c { };
snes9x-gtk = callPackage ../misc/emulators/snes9x-gtk { };
openmsx = callPackage ../misc/emulators/openmsx {