1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6}:
7
8buildPythonPackage rec {
9 pname = "stubserver";
10 version = "1.1";
11 format = "setuptools";
12
13 disabled = pythonOlder "3.7";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-j9R7wpvb07FuN5EhIpE7xTSf26AniQZN4iLpxMjNYKA=";
18 };
19
20 # Tests are not shipped and the source not tagged
21 doCheck = false;
22
23 pythonImportsCheck = [ "stubserver" ];
24
25 meta = with lib; {
26 description = "Web and FTP server for use in unit and7or acceptance tests";
27 homepage = "https://github.com/tarttelin/Python-Stub-Server";
28 license = licenses.bsd2;
29 maintainers = with maintainers; [ fab ];
30 };
31}