1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 flask, 6 bcrypt, 7 unittestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "flask-bcrypt"; 12 version = "1.0.1"; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "maxcountryman"; 17 repo = "flask-bcrypt"; 18 rev = version; 19 hash = "sha256-WlIholi/nzq6Ikc0LS6FhG0Q5Kz0kvvAlA2YJ7EksZ4="; 20 }; 21 22 propagatedBuildInputs = [ 23 flask 24 bcrypt 25 ]; 26 27 nativeCheckInputs = [ unittestCheckHook ]; 28 29 pythonImportsCheck = [ "flask_bcrypt" ]; 30 31 meta = with lib; { 32 description = "Brcrypt hashing for Flask"; 33 homepage = "https://github.com/maxcountryman/flask-bcrypt"; 34 license = licenses.bsd3; 35 maintainers = [ ]; 36 }; 37}