Merge pull request #228295 from Cynerd/asyncinotify
python3Packages.asyncinotify: init at 4.0.1
This commit is contained in:
commit
21616423fd
2 changed files with 33 additions and 0 deletions
31
pkgs/development/python-modules/asyncinotify/default.nix
Normal file
31
pkgs/development/python-modules/asyncinotify/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitLab
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "asyncinotify";
|
||||
version = "4.0.1";
|
||||
format = "flit";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "Taywee";
|
||||
repo = "asyncinotify";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-DMRuj16KjO+0uAB33UCVPdUiQGzri1b/z9KVqQYp2Po=";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
${python.pythonForBuild.interpreter} ${src}/test.py
|
||||
'';
|
||||
pythonImportsCheck = ["asyncinotify"];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple optionally-async python inotify library, focused on simplicity of use and operation, and leveraging modern Python features";
|
||||
homepage = "https://pypi.org/project/asyncinotify/";
|
||||
changelog = "https://gitlab.com/Taywee/asyncinotify/-/blob/master/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ cynerd ];
|
||||
};
|
||||
}
|
|
@ -734,6 +734,8 @@ self: super: with self; {
|
|||
|
||||
asynccmd = callPackage ../development/python-modules/asynccmd { };
|
||||
|
||||
asyncinotify = callPackage ../development/python-modules/asyncinotify { };
|
||||
|
||||
asyncio-dgram = callPackage ../development/python-modules/asyncio-dgram { };
|
||||
|
||||
asyncio-mqtt = callPackage ../development/python-modules/asyncio_mqtt { };
|
||||
|
|
Loading…
Reference in a new issue