Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / flask-bcrypt / default.nix
blobfd0e63d26f301f555fc9b7038aacc6a43cda9501
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , flask
5 , bcrypt
6 , python
7 }:
9 buildPythonPackage rec {
10   pname = "flask-bcrypt";
11   version = "0.7.1";
13   src = fetchFromGitHub {
14     owner = "maxcountryman";
15     repo = pname;
16     rev = version;
17     sha256 = "0036gag3nj7fzib23lbbpwhlrn1s0kkrfwk5pd90y4cjcfqh8z9x";
18   };
20   propagatedBuildInputs = [
21     flask
22     bcrypt
23   ];
25   checkPhase = ''
26     ${python.interpreter} test_bcrypt.py
27   '';
29   meta = with lib; {
30     description = "Brcrypt hashing for Flask";
31     homepage = "https://github.com/maxcountryman/flask-bcrypt";
32     license = licenses.bsd3;
33     maintainers = [ maintainers.costrouc ];
34   };