libzxcvbn: init at 2.3 (#33822)

* Add package libzxcvbn

* zxcvbn-c: name after the project not the library

authored by xurei and committed by Jörg Thalheim b9ae8efc a896574a

+27
+1
lib/maintainers.nix
··· 732 732 wyvie = "Elijah Rum <elijahrum@gmail.com>"; 733 733 xaverdh = "Dominik Xaver Hörl <hoe.dom@gmx.de>"; 734 734 xnwdd = "Guillermo NWDD <nwdd+nixos@no.team>"; 735 + xurei = "Olivier Bourdoux <olivier.bourdoux@gmail.com>"; 735 736 xvapx = "Marti Serra <marti.serra.coscollano@gmail.com>"; 736 737 xwvvvvwx = "David Terry <davidterry@posteo.de>"; 737 738 xzfc = "Albert Safin <xzfcpw@gmail.com>";
+24
pkgs/development/libraries/zxcvbn-c/default.nix
··· 1 + { stdenv, fetchFromGitHub }: 2 + stdenv.mkDerivation rec { 3 + name = "zxcvbn-c-${version}"; 4 + version = "2.3"; 5 + 6 + src = fetchFromGitHub { 7 + owner = "tsyrogit"; 8 + repo = "zxcvbn-c"; 9 + rev = "v${version}"; 10 + sha256 = "1m097b4qq1r3kk4b236pc3mpaj22il9fh43ifagad5wy54x8zf7b"; 11 + }; 12 + 13 + installPhase = '' 14 + install -D -t $out/lib libzxcvbn.so* 15 + ''; 16 + 17 + meta = with stdenv.lib; { 18 + homepage = https://github.com/tsyrogit/zxcvbn-c; 19 + description = "A C/C++ implementation of the zxcvbn password strength estimation"; 20 + license = licenses.mit; 21 + platforms = platforms.linux; 22 + maintainers = with maintainers; [ xurei ]; 23 + }; 24 + }
+2
pkgs/top-level/all-packages.nix
··· 20126 20126 20127 20127 zsnes = callPackage_i686 ../misc/emulators/zsnes { }; 20128 20128 20129 + zxcvbn-c = callPackage ../development/libraries/zxcvbn-c { }; 20130 + 20129 20131 snes9x-gtk = callPackage ../misc/emulators/snes9x-gtk { }; 20130 20132 20131 20133 openmsx = callPackage ../misc/emulators/openmsx {