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