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