forked from mirrors/nixpkgs
Merge pull request #186027 from fabaff/aiortm
python310Packages.aiortm: init at 0.3.1
This commit is contained in:
commit
7c6aff9955
55
pkgs/development/python-modules/aiortm/default.nix
Normal file
55
pkgs/development/python-modules/aiortm/default.nix
Normal file
|
@ -0,0 +1,55 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, click
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, yarl
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiortm";
|
||||
version = "0.3.1";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MartinHjelmare";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-DTFynPFf0NUBieXDiMKhCNwBqx3s/xzggNmnz/IKjbU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
click
|
||||
yarl
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace " --cov=aiortm --cov-report=term-missing:skip-covered" ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiortm"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for the Remember the Milk API";
|
||||
homepage = "https://github.com/MartinHjelmare/aiortm";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -403,6 +403,8 @@ in {
|
|||
|
||||
aiorpcx = callPackage ../development/python-modules/aiorpcx { };
|
||||
|
||||
aiortm = callPackage ../development/python-modules/aiortm { };
|
||||
|
||||
aiorun = callPackage ../development/python-modules/aiorun { };
|
||||
|
||||
aiosenseme = callPackage ../development/python-modules/aiosenseme { };
|
||||
|
|
Loading…
Reference in a new issue