mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
luaPackages.bcrypt: init at 2.3-1
This commit is contained in:
parent
0e6f256297
commit
e148833486
2 changed files with 34 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ alt-getopt,,,,,,arobyn
|
|||
ansicolors,,,,,,Freed-Wu
|
||||
argparse,,,,,,
|
||||
basexx,,,,,,
|
||||
bcrypt,,,,,,ulysseszhan
|
||||
binaryheap,,,,,,vcunat
|
||||
bit32,,,,,5.1,lblasc
|
||||
busted,,,,,,
|
||||
|
|
|
|||
|
|
|
@ -136,6 +136,39 @@ final: prev: {
|
|||
}
|
||||
) { };
|
||||
|
||||
bcrypt = callPackage (
|
||||
{
|
||||
buildLuarocksPackage,
|
||||
fetchFromGitHub,
|
||||
fetchurl,
|
||||
luaOlder,
|
||||
}:
|
||||
buildLuarocksPackage {
|
||||
pname = "bcrypt";
|
||||
version = "2.3-1";
|
||||
knownRockspec =
|
||||
(fetchurl {
|
||||
url = "mirror://luarocks/bcrypt-2.3-1.rockspec";
|
||||
sha256 = "1zjy7sflyd50jvp603hmw0sg3rw5xyray0spzv5x5ky9hxivcdrf";
|
||||
}).outPath;
|
||||
src = fetchFromGitHub {
|
||||
owner = "mikejsavage";
|
||||
repo = "lua-bcrypt";
|
||||
tag = "v2.3-1";
|
||||
hash = "sha256-wd9AbzfD3j9fyTq3toscitPsTEE49YoeSstwfO+3QGo=";
|
||||
};
|
||||
|
||||
disabled = luaOlder "5.1";
|
||||
|
||||
meta = {
|
||||
homepage = "http://github.com/mikejsavage/lua-bcrypt";
|
||||
description = "A Lua wrapper for bcrypt";
|
||||
maintainers = with lib.maintainers; [ ulysseszhan ];
|
||||
license.fullName = "ISC";
|
||||
};
|
||||
}
|
||||
) { };
|
||||
|
||||
binaryheap = callPackage (
|
||||
{
|
||||
buildLuarocksPackage,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue