python310Packages.aioshutil: init at 1.1
This commit is contained in:
parent
0e6a453841
commit
46a5513ab8
50
pkgs/development/python-modules/aioshutil/default.nix
Normal file
50
pkgs/development/python-modules/aioshutil/default.nix
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytest-asyncio
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, setuptools-scm
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "aioshutil";
|
||||||
|
version = "1.1";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "kumaraditya303";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-CQIzNu1NrGDOh2uVif/EzB5C5t/Y/h9oT56Gp6jrOPQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
setuptools-scm
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytest-asyncio
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.cfg \
|
||||||
|
--replace " --cov aioshutil --cov-report xml" ""
|
||||||
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"aioshutil"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Asynchronous version of function of shutil module";
|
||||||
|
homepage = "https://github.com/kumaraditya303/aioshutil";
|
||||||
|
license = with licenses; [ bsd3 ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -403,6 +403,8 @@ in {
|
||||||
|
|
||||||
aioshelly = callPackage ../development/python-modules/aioshelly { };
|
aioshelly = callPackage ../development/python-modules/aioshelly { };
|
||||||
|
|
||||||
|
aioshutil = callPackage ../development/python-modules/aioshutil { };
|
||||||
|
|
||||||
aiosignal = callPackage ../development/python-modules/aiosignal { };
|
aiosignal = callPackage ../development/python-modules/aiosignal { };
|
||||||
|
|
||||||
aioslimproto = callPackage ../development/python-modules/aioslimproto { };
|
aioslimproto = callPackage ../development/python-modules/aioslimproto { };
|
||||||
|
|
Loading…
Reference in New Issue
Block a user