linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / libraries / zxcvbn-c / default.nix
blobe74bb9ddc32e86fc86f416271fe3e8e4f54fec20
1 { lib, stdenv, fetchFromGitHub }:
2 stdenv.mkDerivation rec {
3   pname = "zxcvbn-c";
4   version = "2.4";
6   src = fetchFromGitHub {
7     owner = "tsyrogit";
8     repo = "zxcvbn-c";
9     rev = "v${version}";
10     sha256 = "12ksdnpxlqlmg9zhyyk3bspcf0sfj5zk735vr4ry635qi7gzcaas";
11   };
13   installPhase = ''
14     install -D -t $out/lib libzxcvbn.so*
15   '';
17   meta = with 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   };