Merge pull request #187995 from Yureien/update/python3-application

This commit is contained in:
Sandro 2022-10-11 23:19:00 +02:00 committed by GitHub
commit bfb44da6a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,27 +1,18 @@
{ stdenv, lib, isPy3k, buildPythonPackage, fetchFromGitHub, fetchpatch, zope_interface, twisted }:
{ stdenv, lib, isPy3k, buildPythonPackage, fetchFromGitHub, zope_interface, twisted }:
buildPythonPackage rec {
pname = "python3-application";
version = "3.0.3";
version = "3.0.4";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "AGProjects";
repo = pname;
rev = version;
sha256 = "sha256-oscUI/Ag/UXmAi/LN1pPTdyqQe9aAfeQzhKFxaTmW3A=";
rev = "release-${version}";
sha256 = "sha256-XXAKp/RlBVs3KmcnuiexdYfxf0zt2A/DrsJzdC9I4vA=";
};
patches = [
# Apply bugfix commit that is not yet part of a release
(fetchpatch {
name = "fix-time-import.patch";
url = "https://github.com/AGProjects/python3-application/commit/695f7d769e69c84e065872ffb403157d0af282fd.patch";
sha256 = "sha256-MGs8uUIFXkPXStOn5oCNNEMVmcKrq8YPl8Xvl3OTOUM=";
})
];
propagatedBuildInputs = [ zope_interface twisted ];
pythonImportsCheck = [ "application" ];
@ -31,7 +22,7 @@ buildPythonPackage rec {
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 ];
maintainers = with maintainers; [ chanley yureien ];
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: