diff options
author | xurei <dominion1987@gmail.com> | 2018-01-13 11:40:45 +0100 |
---|---|---|
committer | Jörg Thalheim <Mic92@users.noreply.github.com> | 2018-01-13 10:40:45 +0000 |
commit | b9ae8efca53bf90c5dbe18af8fbb2a9b52c0b4e0 (patch) | |
tree | 4afd8ac53388912e7e89c0588d7e95ec4dced0db /pkgs/development/libraries | |
parent | a896574a0b66b75fdd20277da3069b876257d1ca (diff) | |
download | nixlib-b9ae8efca53bf90c5dbe18af8fbb2a9b52c0b4e0.tar nixlib-b9ae8efca53bf90c5dbe18af8fbb2a9b52c0b4e0.tar.gz nixlib-b9ae8efca53bf90c5dbe18af8fbb2a9b52c0b4e0.tar.bz2 nixlib-b9ae8efca53bf90c5dbe18af8fbb2a9b52c0b4e0.tar.lz nixlib-b9ae8efca53bf90c5dbe18af8fbb2a9b52c0b4e0.tar.xz nixlib-b9ae8efca53bf90c5dbe18af8fbb2a9b52c0b4e0.tar.zst nixlib-b9ae8efca53bf90c5dbe18af8fbb2a9b52c0b4e0.zip |
libzxcvbn: init at 2.3 (#33822)
* Add package libzxcvbn * zxcvbn-c: name after the project not the library
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r-- | pkgs/development/libraries/zxcvbn-c/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/libraries/zxcvbn-c/default.nix b/pkgs/development/libraries/zxcvbn-c/default.nix new file mode 100644 index 000000000000..1ba073943483 --- /dev/null +++ b/pkgs/development/libraries/zxcvbn-c/default.nix @@ -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 ]; + }; +} |