base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / zx / zxcvbn-c / package.nix
blobedd62ed3340bd30e0dc45f58bce8df80854aac00
1 { lib, stdenv, fetchFromGitHub }:
2 stdenv.mkDerivation rec {
3   pname = "zxcvbn-c";
4   version = "2.5";
6   src = fetchFromGitHub {
7     owner = "tsyrogit";
8     repo = "zxcvbn-c";
9     rev = "v${version}";
10     sha256 = "sha256-RKqbv0iGkjS7Y7KikqglZ+AK1oiw4G1mB2Zg87tOlbI=";
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 = "C/C++ implementation of the zxcvbn password strength estimation";
20     license = licenses.mit;
21     platforms = platforms.linux;
22     maintainers = with maintainers; [ xurei ];
23   };