about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/nclib/default.nix
blob: f803a2b39980b991714f94d5c72f521c9a369667 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:

buildPythonPackage rec {
  pname = "nclib";
  version = "1.0.5";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-sKbISlL5hOBu1j6zWSib2HjJCvEoMrqdwzgG2keMqDE=";
  };

  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [
    "nclib"
  ];

  meta = with lib; {
    description = "Python module that provides netcat features";
    mainProgram = "serve-stdio";
    homepage = "https://nclib.readthedocs.io/";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}