electron_32: fix log spam when building on aarch64-linux (#378988)
[NixPkgs.git] / pkgs / by-name / zx / zxcvbn-c / package.nix
blob3fc9d2ae509051d8d7038933d687fabb2adb9441
2   lib,
3   stdenv,
4   fetchFromGitHub,
5 }:
6 stdenv.mkDerivation rec {
7   pname = "zxcvbn-c";
8   version = "2.5";
10   src = fetchFromGitHub {
11     owner = "tsyrogit";
12     repo = "zxcvbn-c";
13     rev = "v${version}";
14     sha256 = "sha256-RKqbv0iGkjS7Y7KikqglZ+AK1oiw4G1mB2Zg87tOlbI=";
15   };
17   installPhase = ''
18     install -D -t $out/lib libzxcvbn.so*
19   '';
21   meta = with lib; {
22     homepage = "https://github.com/tsyrogit/zxcvbn-c";
23     description = "C/C++ implementation of the zxcvbn password strength estimation";
24     license = licenses.mit;
25     platforms = platforms.linux;
26     maintainers = with maintainers; [ xurei ];
27   };