summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2023-11-21 19:44:55 +0100
committerGitHub <noreply@github.com>2023-11-21 19:44:55 +0100
commit64d24d4d5275c4be7b18675846e9f7c2cfd125b3 (patch)
treed212b6fe397a0cea1af005bc91cc0edcca2c9e46
parent2d17793c38fde8000c382b6e41084e45e1aa1ea9 (diff)
parent2125339fec061101f220c67bbebe068e0836c36b (diff)
Merge pull request #268968 from fabaff/aioopenexchangerates-bump
python311Packages.aioopenexchangerates: 0.4.3 -> 0.4.4
-rw-r--r--pkgs/development/python-modules/aioopenexchangerates/default.nix20
1 files changed, 10 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/aioopenexchangerates/default.nix b/pkgs/development/python-modules/aioopenexchangerates/default.nix
index fda31f1a40aa6..84019037d5269 100644
--- a/pkgs/development/python-modules/aioopenexchangerates/default.nix
+++ b/pkgs/development/python-modules/aioopenexchangerates/default.nix
@@ -12,18 +12,23 @@
 
 buildPythonPackage rec {
   pname = "aioopenexchangerates";
-  version = "0.4.3";
-  format = "pyproject";
+  version = "0.4.4";
+  pyproject = true;
 
   disabled = pythonOlder "3.9";
 
   src = fetchFromGitHub {
     owner = "MartinHjelmare";
-    repo = pname;
+    repo = "aioopenexchangerates";
     rev = "refs/tags/v${version}";
-    hash = "sha256-C34GjCQdkKOTyHw4XNaXvVqqMfKv9KlZjdKfDFsOSOE=";
+    hash = "sha256-Wts2qVTZFTLR2Ru3bSiobGOyegiNoGl3xOrZdDRh7iU=";
   };
 
+  postPatch = ''
+    substituteInPlace pyproject.toml \
+      --replace " --cov=aioopenexchangerates --cov-report=term-missing:skip-covered" ""
+  '';
+
   nativeBuildInputs = [
     poetry-core
   ];
@@ -39,11 +44,6 @@ buildPythonPackage rec {
     pytestCheckHook
   ];
 
-  postPatch = ''
-    substituteInPlace pyproject.toml \
-      --replace " --cov=aioopenexchangerates --cov-report=term-missing:skip-covered" ""
-  '';
-
   pythonImportsCheck = [
     "aioopenexchangerates"
   ];
@@ -51,7 +51,7 @@ buildPythonPackage rec {
   meta = with lib; {
     description = "Library for the Openexchangerates API";
     homepage = "https://github.com/MartinHjelmare/aioopenexchangerates";
-    changelog = "https://github.com/MartinHjelmare/aioopenexchangerates/blob/vv${version}/CHANGELOG.md";
+    changelog = "https://github.com/MartinHjelmare/aioopenexchangerates/blob/v${version}/CHANGELOG.md";
     license = with licenses; [ asl20 ];
     maintainers = with maintainers; [ fab ];
   };