1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6}:
7
8buildPythonPackage rec {
9 pname = "nclib";
10 version = "1.0.5";
11 format = "setuptools";
12
13 disabled = pythonOlder "3.7";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-sKbISlL5hOBu1j6zWSib2HjJCvEoMrqdwzgG2keMqDE=";
18 };
19
20 # Project has no tests
21 doCheck = false;
22
23 pythonImportsCheck = [ "nclib" ];
24
25 meta = with lib; {
26 description = "Python module that provides netcat features";
27 mainProgram = "serve-stdio";
28 homepage = "https://nclib.readthedocs.io/";
29 license = with licenses; [ mit ];
30 maintainers = with maintainers; [ fab ];
31 };
32}