python3Packages.seventeentrack: init at 2022.04.4

This commit is contained in:
Fabian Affolter 2022-04-20 22:00:45 +02:00
parent bb59626b47
commit 49974bd397
2 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1,61 @@
{ lib
, aiohttp
, aresponses
, async-timeout
, attrs
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, pytz
}:
buildPythonPackage rec {
pname = "seventeentrack";
version = "2022.04.4";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "McSwindler";
repo = pname;
rev = version;
hash = "sha256-r77UA9NDQ1EQIVXZK6povmp/jIIX/f+NbpH0qmYiHZs=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
aiohttp
async-timeout
attrs
pytz
];
checkInputs = [
aresponses
pytest-asyncio
pytestCheckHook
];
disabledTestPaths = [
# Ignore the examples directory as the files are prefixed with test_
"examples/"
];
pythonImportsCheck = [
"seventeentrack"
];
meta = with lib; {
description = "Python library to track package info from 17track.com";
homepage = "https://github.com/McSwindler/seventeentrack";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -9266,6 +9266,8 @@ in {
setuptoolsTrial = callPackage ../development/python-modules/setuptoolstrial { };
seventeentrack = callPackage ../development/python-modules/seventeentrack { };
sexpdata = callPackage ../development/python-modules/sexpdata { };
sfepy = callPackage ../development/python-modules/sfepy { };