python310Packages.stubserver: init at 1.1

This commit is contained in:
Fabian Affolter 2022-11-07 17:55:36 +01:00
parent d284ffaa15
commit 41b1a58f40
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "stubserver";
version = "1.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-j9R7wpvb07FuN5EhIpE7xTSf26AniQZN4iLpxMjNYKA=";
};
# Tests are not shipped and the source not tagged
doCheck = false;
pythonImportsCheck = [
"stubserver"
];
meta = with lib; {
description = "Web and FTP server for use in unit and7or acceptance tests";
homepage = "https://github.com/tarttelin/Python-Stub-Server";
license = licenses.bsd2;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -10720,6 +10720,8 @@ self: super: with self; {
structlog = callPackage ../development/python-modules/structlog { };
stubserver = callPackage ../development/python-modules/stubserver { };
stumpy = callPackage ../development/python-modules/stumpy { };
stups-cli-support = callPackage ../development/python-modules/stups-cli-support { };