python313Packages.nclib: refactor

This commit is contained in:
Fabian Affolter 2025-08-14 08:44:38 +02:00 committed by GitHub
parent b1e2329596
commit d7f5793eca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,21 +2,21 @@
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "nclib";
version = "1.0.7";
format = "setuptools";
disabled = pythonOlder "3.7";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-40Bdkhmd3LiZAR1v36puV9l4tgtDb6T8k9j02JTR4Jo=";
};
build-system = [ setuptools ];
# Project has no tests
doCheck = false;
@ -24,9 +24,9 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python module that provides netcat features";
mainProgram = "serve-stdio";
homepage = "https://nclib.readthedocs.io/";
license = with licenses; [ mit ];
license = licenses.mit;
maintainers = with maintainers; [ fab ];
mainProgram = "serve-stdio";
};
}