python3Packages.python3-application: init at 3.0.3

This commit is contained in:
Charlie Hanley 2021-09-19 18:10:32 -04:00 committed by Jonathan Ringer
parent 4af93eb0e2
commit 857c478cbd
2 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,47 @@
{ lib, isPy3k, buildPythonPackage, fetchFromGitHub, fetchpatch, zope_interface, twisted }:
buildPythonPackage rec {
pname = "python3-application";
version = "3.0.3";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "AGProjects";
repo = pname;
rev = version;
sha256 = "sha256-oscUI/Ag/UXmAi/LN1pPTdyqQe9aAfeQzhKFxaTmW3A=";
};
patches = [
# Apply bugfix commit that is not yet part of a release
(fetchpatch {
name = "fix-time-import.patch";
url = "https://github.com/AGProjects/${pname}/commit/695f7d769e69c84e065872ffb403157d0af282fd.patch";
sha256 = "sha256-MGs8uUIFXkPXStOn5oCNNEMVmcKrq8YPl8Xvl3OTOUM=";
})
];
propagatedBuildInputs = [ zope_interface twisted ];
pythonImportsCheck = [ "application" ];
meta = with lib; {
description = "A collection of modules that are useful when building python applications";
homepage = "https://github.com/AGProjects/python3-application";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ chanley ];
longDescription = ''
This package is a collection of modules that are useful when building python applications. Their purpose is to eliminate the need to divert resources into implementing the small tasks that every application needs to do in order to run successfully and focus instead on the application logic itself.
The modules that the application package provides are:
1. process - UNIX process and signal management.
2. python - python utility classes and functions.
3. configuration - a simple interface to handle configuration files.
4. log - an extensible system logger for console and syslog.
5. debug - memory troubleshooting and execution timing.
6. system - interaction with the underlying operating system.
7. notification - an application wide notification system.
8. version - manage version numbers for applications and packages.
'';
};
}

View file

@ -7150,6 +7150,8 @@ in {
pytest-xvfb = callPackage ../development/python-modules/pytest-xvfb { };
python3-application = callPackage ../development/python-modules/python3-application { };
python3-eventlib = callPackage ../development/python-modules/python3-eventlib { };
python3-openid = callPackage ../development/python-modules/python3-openid { };