1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 requests, 6 unittestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "serverfiles"; 11 version = "0.3.1"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-XhD8MudYeR43NbwIvOLtRwKoOx5Fq5bF1ZzIruz76+E="; 17 }; 18 19 propagatedBuildInputs = [ requests ]; 20 21 pythonImportsCheck = [ "serverfiles" ]; 22 nativeCheckInputs = [ unittestCheckHook ]; 23 24 meta = { 25 description = "Utility that accesses files on a HTTP server and stores them locally for reuse"; 26 homepage = "https://github.com/biolab/serverfiles"; 27 license = [ lib.licenses.gpl3Plus ]; 28 maintainers = [ lib.maintainers.lucasew ]; 29 }; 30}