Skip to content

Commit 9eb3816

Browse files
author
emaryn
committed
pytr: 0.3.1 -> 0.4.1
1 parent 1fcc0d9 commit 9eb3816

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

pkgs/by-name/py/pytr/package.nix

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@
88

99
python3Packages.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;

0 commit comments

Comments
 (0)