summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/stubserver/default.nix
blob: 1132f2f867d107c678edbce6ccc7b452c0c88d45 (plain)
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
{
  lib,
  buildPythonPackage,
  fetchPypi,
}:

buildPythonPackage rec {
  pname = "stubserver";
  version = "1.1";
  format = "setuptools";

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

  # Tests are not shipped and the source not tagged
  doCheck = false;

  pythonImportsCheck = [ "stubserver" ];

  meta = {
    description = "Web and FTP server for use in unit and7or acceptance tests";
    homepage = "https://github.com/tarttelin/Python-Stub-Server";
    license = lib.licenses.bsd2;
    maintainers = with lib.maintainers; [ fab ];
  };
}