Skip to content

Commit

Permalink
Merge pull request NixOS#260364 from fabaff/pytile-bump
Browse files Browse the repository at this point in the history
python311Packages.pytile: 2023.08.0 -> 2023.10.0
  • Loading branch information
fabaff authored Oct 12, 2023
2 parents 888764e + a3b2f39 commit 5ef1017
Showing 1 changed file with 9 additions and 19 deletions.
28 changes: 9 additions & 19 deletions pkgs/development/python-modules/pytile/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,49 +2,38 @@
, aiohttp
, aresponses
, buildPythonPackage
, certifi
, fetchFromGitHub
, fetchpatch
, poetry-core
, pytest-aiohttp
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, yarl
}:

buildPythonPackage rec {
pname = "pytile";
version = "2023.08.0";
version = "2023.10.0";
format = "pyproject";

disabled = pythonOlder "3.8";
disabled = pythonOlder "3.10";

src = fetchFromGitHub {
owner = "bachya";
repo = pname;
repo = "pytile";
rev = "refs/tags/${version}";
hash = "sha256-wPtGofli3ZKBcAwjwjCbeYnLaSZ5lLshlBSz1/WlAcg=";
hash = "sha256-L1Ovpxn7Y+reK8YcVBPwoRjKxcyByrPGz5i/csGzKfE=";
};

patches = [
# This patch removes references to setuptools and wheel that are no longer
# necessary and changes poetry to poetry-core, so that we don't need to add
# unnecessary nativeBuildInputs.
#
# https://github.com/bachya/pytile/pull/286
#
(fetchpatch {
name = "clean-up-build-dependencies.patch";
url = "https://github.com/bachya/pytile/commit/bdb5d96ba9d640bf85a1ae9c3787704dbc2ced23.patch";
hash = "sha256-RLRbHmaR2A8MNc96WHx0L8ccyygoBUaOulAuRJkFuUM=";
})
];

nativeBuildInputs = [
poetry-core
];

propagatedBuildInputs = [
aiohttp
certifi
yarl
];

nativeCheckInputs = [
Expand Down Expand Up @@ -72,6 +61,7 @@ buildPythonPackage rec {
Bluetooth trackers (including last location and more).
'';
homepage = "https://github.com/bachya/pytile";
changelog = "https://github.com/bachya/pytile/releases/tag/${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
Expand Down

0 comments on commit 5ef1017

Please sign in to comment.