Revert "python312Packages.dulwich: forma twith nixfmt"

This reverts commit c220a30c60.
This commit is contained in:
Fabian Affolter 2024-04-28 18:42:22 +02:00
parent 1229c8c087
commit 31721067f4

View File

@ -1,23 +1,22 @@
{ { lib
lib, , stdenv
stdenv, , buildPythonPackage
buildPythonPackage, , certifi
certifi, , fastimport
fastimport, , fetchFromGitHub
fetchFromGitHub, , gevent
gevent, , geventhttpclient
geventhttpclient, , git
git, , glibcLocales
glibcLocales, , gnupg
gnupg, , gpgme
gpgme, , paramiko
paramiko, , pytest-xdist
pytest-xdist, , pytestCheckHook
pytestCheckHook, , pythonOlder
pythonOlder, , setuptools
setuptools, , setuptools-rust
setuptools-rust, , urllib3
urllib3,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -45,12 +44,16 @@ buildPythonPackage rec {
]; ];
passthru.optional-dependencies = { passthru.optional-dependencies = {
fastimport = [ fastimport ]; fastimport = [
fastimport
];
pgp = [ pgp = [
gpgme gpgme
gnupg gnupg
]; ];
paramiko = [ paramiko ]; paramiko = [
paramiko
];
}; };
nativeCheckInputs = [ nativeCheckInputs = [
@ -71,7 +74,9 @@ buildPythonPackage rec {
"tests/test_greenthreads.py" "tests/test_greenthreads.py"
]; ];
pythonImportsCheck = [ "dulwich" ]; pythonImportsCheck = [
"dulwich"
];
meta = with lib; { meta = with lib; {
description = "Implementation of the Git file formats and protocols"; description = "Implementation of the Git file formats and protocols";
@ -81,10 +86,7 @@ buildPythonPackage rec {
''; '';
homepage = "https://www.dulwich.io/"; homepage = "https://www.dulwich.io/";
changelog = "https://github.com/jelmer/dulwich/blob/dulwich-${version}/NEWS"; changelog = "https://github.com/jelmer/dulwich/blob/dulwich-${version}/NEWS";
license = with licenses; [ license = with licenses; [ asl20 gpl2Plus ];
asl20
gpl2Plus
];
maintainers = with maintainers; [ koral ]; maintainers = with maintainers; [ koral ];
}; };
} }