File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed
development/python-modules/hatch-babel Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildPythonPackage ,
4+ fetchFromGitHub ,
5+ hatchling ,
6+ babel ,
7+ typing-extensions ,
8+ } :
9+
10+ buildPythonPackage rec {
11+ pname = "hatch-babel" ;
12+ version = "0.1.2" ;
13+ pyproject = true ;
14+
15+ src = fetchFromGitHub {
16+ owner = "NiklasRosenstein" ;
17+ repo = "hatch-babel" ;
18+ tag = version ;
19+ hash = "sha256-qAVuT3NuHAh1ELWzBT3/kvrDdSHqdy/YINCfKgpSk8g=" ;
20+ } ;
21+
22+ build-system = [ hatchling ] ;
23+
24+ dependencies = [
25+ babel
26+ typing-extensions
27+ ] ;
28+
29+ pythonImportsCheck = [ "hatch_babel" ] ;
30+
31+ meta = {
32+ description = "Hatch build-hook to compile Babel *.po files to *.mo files at build time" ;
33+ homepage = "https://github.com/NiklasRosenstein/hatch-babel" ;
34+ changelog = "https://github.com/NiklasRosenstein/hatch-babel/blob/${ src . tag } /.changelog/${ src . tag } .toml" ;
35+ license = lib . licenses . mit ;
36+ maintainers = with lib . maintainers ; [ dotlambda ] ;
37+ } ;
38+ }
Original file line number Diff line number Diff line change @@ -5868,6 +5868,8 @@ self: super: with self; {
58685868
58695869 hatchling = callPackage ../development/python-modules/hatchling { };
58705870
5871+ hatch-babel = callPackage ../development/python-modules/hatch-babel { };
5872+
58715873 hatch-fancy-pypi-readme = callPackage ../development/python-modules/hatch-fancy-pypi-readme { };
58725874
58735875 hatch-jupyter-builder = callPackage ../development/python-modules/hatch-jupyter-builder { };
You can’t perform that action at this time.
0 commit comments