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