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