File tree Expand file tree Collapse file tree 3 files changed +47
-5
lines changed
development/python-modules/hatch-babel Expand file tree Collapse file tree 3 files changed +47
-5
lines changed Original file line number Diff line number Diff line change 88
99python3Packages . buildPythonApplication rec {
1010 pname = "pytr" ;
11- version = "0.3 .1" ;
11+ version = "0.4 .1" ;
1212 pyproject = true ;
1313
1414 src = fetchFromGitHub {
1515 owner = "pytr-org" ;
1616 repo = "pytr" ;
1717 tag = "v${ version } " ;
18- hash = "sha256-OFONjJXKkfb6+bQx5fhsadjm9WG62FISznnWL9IEY7I =" ;
18+ hash = "sha256-uWG8q6H6q54v3Iq5LOkr7zi5rds+y13O0ai9R9QySdI =" ;
1919 } ;
2020
2121 build-system = with python3Packages ; [
22- babel
23- setuptools
22+ hatchling
23+ hatch-babel
2424 ] ;
2525
2626 dependencies = with python3Packages ; [
@@ -46,10 +46,12 @@ python3Packages.buildPythonApplication rec {
4646
4747 nativeCheckInputs = [ versionCheckHook ] ;
4848
49+ versionCheckProgramArg = "--version" ;
50+
4951 pythonImportsCheck = [ "pytr" ] ;
5052
5153 meta = {
52- changelog = "https://github.com/pytr-org/pytr/releases/tag/v ${ version } " ;
54+ changelog = "https://github.com/pytr-org/pytr/releases/tag/${ src . tag } " ;
5355 description = "Use TradeRepublic in terminal and mass download all documents" ;
5456 homepage = "https://github.com/pytr-org/pytr" ;
5557 license = lib . licenses . mit ;
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 @@ -5900,6 +5900,8 @@ self: super: with self; {
59005900
59015901 hatchling = callPackage ../development/python-modules/hatchling { };
59025902
5903+ hatch-babel = callPackage ../development/python-modules/hatch-babel { };
5904+
59035905 hatch-fancy-pypi-readme = callPackage ../development/python-modules/hatch-fancy-pypi-readme { };
59045906
59055907 hatch-jupyter-builder = callPackage ../development/python-modules/hatch-jupyter-builder { };
You can’t perform that action at this time.
0 commit comments