Skip to content

Commit

Permalink
Merge pull request NixOS#268968 from fabaff/aioopenexchangerates-bump
Browse files Browse the repository at this point in the history
python311Packages.aioopenexchangerates: 0.4.3 -> 0.4.4
  • Loading branch information
fabaff authored Nov 21, 2023
2 parents 2d17793 + 2125339 commit 64d24d4
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions pkgs/development/python-modules/aioopenexchangerates/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
Expand All @@ -39,19 +44,14 @@ buildPythonPackage rec {
pytestCheckHook
];

postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=aioopenexchangerates --cov-report=term-missing:skip-covered" ""
'';

pythonImportsCheck = [
"aioopenexchangerates"
];

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 ];
};
Expand Down

0 comments on commit 64d24d4

Please sign in to comment.