python310Packages.django-storages: add changelog to meta

This commit is contained in:
Fabian Affolter 2022-12-27 10:09:15 +01:00 committed by GitHub
parent 6ef390adbf
commit 581f375935
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
{ lib, buildPythonPackage, fetchPypi
{ lib
, buildPythonPackage
, fetchPypi
, django
, azure-storage-blob
, boto3
, dropbox
@ -15,10 +16,12 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "sha256-y63RXJCc63JH1P/FA/Eqm+w2mZ340L73wx5XF31RJog=";
hash = "sha256-y63RXJCc63JH1P/FA/Eqm+w2mZ340L73wx5XF31RJog=";
};
propagatedBuildInputs = [ django ];
propagatedBuildInputs = [
django
];
preCheck = ''
export DJANGO_SETTINGS_MODULE=tests.settings
@ -27,6 +30,7 @@ buildPythonPackage rec {
--replace 'test_accessed_time' 'dont_test_accessed_time' \
--replace 'test_modified_time' 'dont_test_modified_time'
'';
checkInputs = [
azure-storage-blob
boto3
@ -36,11 +40,14 @@ buildPythonPackage rec {
paramiko
];
pythonImportsCheck = [ "storages" ];
pythonImportsCheck = [
"storages"
];
meta = with lib; {
description = "Collection of custom storage backends for Django";
homepage = "https://django-storages.readthedocs.io";
changelog = "https://github.com/jschneier/django-storages/blob/${version}/CHANGELOG.rst";
license = licenses.bsd3;
maintainers = with maintainers; [ mmai ];
};