generated from nix-community/nur-packages-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flask-babel.nix
39 lines (33 loc) · 877 Bytes
/
flask-babel.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{ lib
, python3
, fetchFromGitHub
}:
python3.pkgs.buildPythonApplication rec {
pname = "flask-babel";
version = "3.1.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "python-babel";
repo = "flask-babel";
rev = "v${version}";
hash = "sha256-KoTHBrGD6M3rkXoxUadRXhroRUbWKaL/rE6Rd2mxw4c=";
fetchSubmodules = true;
};
nativeBuildInputs = [
python3.pkgs.poetry-core
];
propagatedBuildInputs = with python3.pkgs; [
babel
flask
jinja2
pytz
];
pythonImportsCheck = [ "flask_babel" ];
meta = with lib; {
description = "I18n and l10n support for Flask based on Babel and pytz";
homepage = "https://github.com/python-babel/flask-babel";
changelog = "https://github.com/python-babel/flask-babel/blob/${src.rev}/CHANGELOG";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}